PageSourceSearch

https://www.ilinkvault.com/assets/index-CqRYehp2.js

js ilinkvault.com collected 2026-10-02 00:50:44 UTC 530,244 bytes, 11 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-B7kFqccr.js","assets/framer-kzo4FOJr.js","assets/router-DsQvRCXj.js","assets/react-vendor-CxsKBvHw.js","assets/supabase-BCOa4F-k.js","assets/analytics-CtI_SLdP.js","assets/icons-ChrXu2ui.js","assets/observers-BFQiMNbv.js","assets/supabaseClient-O-4cldbu.js","assets/AISearchDemoSection-B855eEZS.js","assets/use-reduced-motion-B3J40aJv.js","assets/SaveFromScreenshotSection-CqAdWB0B.js","assets/HowItWorks-DuJ4UM1l.js","assets/WorksEverywhereSection-2Q_e6Wyd.js","assets/CollectionsSection-BNlGFMdK.js","assets/PhoneToChromeSection-YVubLj17.js","assets/UseCasesSection-CeSiSF34.js","assets/EmotionalHookSection-CfkQUPUi.js","assets/FeatureReframingSection-Dy6K1mBb.js","assets/BrowserExtensionCallout-Q_i1Inmi.js","assets/ObjectionHandlingSection-CN8sI6SY.js","assets/TrustSection-BwBMW0UV.js","assets/PricingSnapshotSection-BuXzfxEP.js","assets/FAQLiteSection-DekwjFZg.js","assets/FinalCTA-DsmcotDM.js","assets/PlatformDownloadButtons-ChIkSyOD.js","assets/Footer-BWC1h5MI.js","assets/StickyAppStoreButton-DOAoakZ3.js","assets/CookieConsent-B-j3lybR.js","assets/supabaseAdminClient-Bz8OygQx.js","assets/LinkSanitization-Bph7Y7IN.js","assets/index-CfjmPhmi.js","assets/PageLayout-Hx0QMJwZ.js","assets/Features-BNm2MyCT.js","assets/waitlistService-jpFcyLoZ.js","assets/HowItWorks-B7T_PcY6.js","assets/Pricing-mTcr67TK.js","assets/Download-BMGAq9pQ.js","assets/SendFilesPhoneToComputer-CSxw5VaC.js","assets/About-DvscxYj-.js","assets/Contact-DWRMJLJE.js","assets/CommunityGuidelines-DtiITaSB.js","assets/Promotion-B70Pd5pB.js","assets/ComicPhoneMockup-Csl4-1tN.js","assets/button-CnXbS3PW.js","assets/DownloadBadges-DkBx7mDf.js","assets/PromotionBlue-BFEJL3rx.js","assets/PrivateVault-GzROuieG.js","assets/FeaturePage-CNQF34NM.js","assets/AppLock-DD9uf_Dv.js","assets/BrowserExtension-BkkR-FRp.js","assets/SaveFromScreenshot-BH2Lzoav.js","assets/AskYourVault-CRI905t6.js","assets/WeeklyAIDigest-DnQCXVjy.js","assets/ChromeBookmarkManager-B74HFydl.js","assets/VsRaindrop-BHmhihe3.js","assets/ComparisonPage-ClpjR8kt.js","assets/VsPocket-CFR6Dk65.js","assets/VsSafariBookmarks-BK8bVO97.js","assets/VsNotionBookmarks-CzmrNj52.js","assets/VsInstapaper-BxUgSLBn.js","assets/VsGoodLinks-BhhmRIki.js","assets/BlogPage-Bs9_XJBA.js","assets/blogService-C6J3Sxfi.js","assets/format-CtsEf6Ze.js","assets/BlogPostPage-CLx18uWP.js","assets/NewsletterSignup-DGwkNbFA.js","assets/purify-Bq5dTfCm.js","assets/useBlogEngagementTracking-Cwb5jvJX.js","assets/SimpleBlogPost-DRmcAC8a.js","assets/BlogTest-CpCou9f4.js","assets/BlogPostImportChrome-CGWtWngv.js","assets/BlogPostBestPocketAlternatives-CVzFZsBP.js","assets/BlogPostSaveLinksFromChrome-DPUOZY3N.js","assets/BlogPostAIBookmarkManager-BHejeAL3.js","assets/BlogPostBrowserBookmarksVsApps-B9cdIEDV.js","assets/BlogPostBestBookmarkManagers2026-B0G9s872.js","assets/BlogPostSafariAlternative-Do1LyWo4.js","assets/BlogPostRaindropPocketVault-x0JZkR4b.js","assets/BlogPostPocketShutdown-HnorEh9J.js","assets/BlogPostGoodLinksAndroid-DnanzVLY.js","assets/BlogPostInstapaperChrome-pCpOKFVP.js","assets/BlogPostWebBookmarkManager-Bji9lqkr.js","assets/CollectionInvitePage-hPnYeMPX.js","assets/NotFoundPage-BoZhJszC.js","assets/HelpHub-wj6fNMLb.js","assets/helpContent-yNeDhuZR.js","assets/HelpCategory-YSEC21wk.js","assets/SaveYourFirstLink-DzX5oTgM.js","assets/useHelpArticleTracking-DFhruWQr.js","assets/PlatformTabs-Drf8L2B_.js","assets/StepList-BTUuJcPT.js","assets/ShareSheetDemo-hkLHwth_.js","assets/DemoShell-BpIvQEKW.js","assets/InstallIlinkvault-MPcc9h2e.js","assets/ExtensionDemo-CkOHQN2b.js","assets/ImportChromeBookmarks-QAD-0ird.js","assets/SaveWithShareSheet-DbqWPVP9.js","assets/SaveFromScreenshot-BoxLvEYz.js","assets/AskYourVault-tol7XUzF.js","assets/WhatTheAiCanSee-CIedBcYG.js","assets/CreateACollection-op8NLlnq.js","assets/ShareACollection-DHi3kfjG.js","assets/FreeVsProVsLifetime-Ci9_IgGB.js","assets/TextBridge-BBEfxs8d.js","assets/SendFilesToChrome-D8XywwrG.js","assets/WhyFilesExpire-CkzBuIBm.js","assets/Login-BeobbWpO.js","assets/Account-CwC89Ook.js","assets/ProtectedRoute-dw7Q2WVx.js","assets/PaymentSuccess-BZT9CnOa.js","assets/Affiliates-CWFPl9vO.js","assets/EmailVerification-CMLHQZUB.js","assets/GettingStarted-CHduaU1_.js","assets/SafariShareExtension-jxCL1udj.js","assets/QRCodeGeneration-CH25N3PL.js","assets/QRCodeIntegration-BoyptXRA.js","assets/CollaborativeCollections-Dk5fG18j.js","assets/SmartReminders-BaNn4QSz.js","assets/AdvancedSync-otZvHIYZ.js","assets/AdvancedOrganization-dk11kxfg.js"])))=>i.map(i=>d[i]);
2var e,t,n=Object.defineProperty,r=(e,t,r)=>((e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);import{j as i,A as o,m as a}from"./framer-kzo4FOJr.js";import{r as s,R as l,u,a as c,L as d,B as f,b as p,c as h,N as v}from"./router-DsQvRCXj.js";import{r as g,b as m,g as y}from"./react-vendor-CxsKBvHw.js";import{_ as b}from"./supabase-BCOa4F-k.js";import{onLCP as w,onFCP as k,onINP as S,onCLS as x,onTTFB as _}from"./analytics-CtI_SLdP.js";import{L as E,X as C,M as T,C as P,D as I,a as j,S as A,b as O,c as L,d as R,B as N,e as D,A as z,f as M,E as F,F as U,g as q,G as V}from"./icons-ChrXu2ui.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();
vendor: 6,609 bytes, lines 2-11
2var B,$,W,H,K={exports:{}},Q={},G={exports:{}},Y={};function J(){return $||($=1,G.exports=(B||(B=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,v=!1,g=!1,m="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var i=n(u);null!==i;){if(null===i.callback)r(u);else{if(!(i.startTime<=e))break;r(u),i.sortIndex=i.expirationTime,t(l,i)}i=n(u)}}function k(e){if(v=!1,w(e),!h)if(null!==n(l))h=!0,x||(x=!0,S());else{var t=n(u);null!==t&&A(k,t.startTime-e)}}var S,x=!1,_=-1,E=5,C=-1;function T(){return!(!g&&e.unstable_now()-C<E)}function P(){if(g=!1,x){var t=e.unstable_now();C=t;var i=!0;try{e:{h=!1,v&&(v=!1,y(_),_=-1),p=!0;var o=f;try{t:{for(w(t),d=n(l);null!==d&&!(d.expirationTime>t&&T());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var s=a(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof s){d.callback=s,w(t),i=!0;break t}d===n(l)&&r(l),w(t)}else r(l);d=n(l)}if(null!==d)i=!0;else{var c=n(u);null!==c&&A(k,c.startTime-t),i=!1}}break e}finally{d=null,f=o,p=!1}i=void 0}}finally{i?S():x=!1}}}if("function"==typeof b)S=function(){b(P)};else if("undefined"!=typeof MessageChannel){var I=new MessageChannel,j=I.port2;I.port1.onmessage=P,S=function(){j.postMessage(null)}}else S=function(){m(P,0)};function A(t,n){_=m(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e||(E=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,o){var a=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?a+o:a,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:c++,callback:i,priorityLevel:r,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(r.sortIndex=o,t(u,r),null===n(l)&&r===n(u)&&(v?(y(_),_=-1):v=!0,A(k,o-a))):(r.sortIndex=s,t(l,r),h||p||(h=!0,x||(x=!0,S()))),r},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(Y)),Y)),G.exports}
3/**
4 * @license React
5 * react-dom-client.production.js
6 *
7 * Copyright (c) Meta Platforms, Inc. and affiliates.
8 *
9 * This source code is licensed under the MIT license found in the
10 * LICENSE file in the root directory of this source tree.
11 */function X(){if(W)return Q;W=1;var e=J(),t=g(),n=m();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function a(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function s(e){if(o(e)!==e)throw Error(r(188))}function l(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=l(e)))return t;e=e.sibling}return null}var u=Object.assign,c=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),b=Symbol.for("react.consumer"),w=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),C=Symbol.for("react.activity"),T=Symbol.for("react.memo_cache_sentinel"),P=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var j=Symbol.for("react.client.reference");function A(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===j?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case p:return"Fragment";case v:return"Profiler";case h:return"StrictMode";case S:return"Suspense";case x:return"SuspenseList";case C:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case f:return"Portal";case w:return(e.displayName||"Context")+".Provider";case b:return(e._context.displayName||"Context")+".Consumer";case k:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _:return null!==(t=e.displayName||null)?t:A(e.type)||"Memo";case E:t=e._payload,e=e._init;try{return A(e(t))}catch(Ul){}}return null}var O=Array.isArray,L=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,N={pending:!1,data:null,method:null,action:null},D=[],z=-1;function M(e){return{current:e}}function F(e){0>z||(e.current=D[z],D[z]=null,z--)}function U(e,t){z++,D[z]=e.current,e.current=t}var q=M(null),V=M(null),B=M(null),$=M(null);function H(e,t){switch(U(B,t),U(V,e),U(q,null),t.nodeType){case 9:case 11:e=(e
vendor: 9,752 bytes, line 11
11=t.documentElement)&&(e=e.namespaceURI)?sd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=ld(t=sd(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}F(q),U(q,e)}function K(){F(q),F(V),F(B)}function G(e){null!==e.memoizedState&&U($,e);var t=q.current,n=ld(t,e.type);t!==n&&(U(V,e),U(q,n))}function Y(e){V.current===e&&(F(q),F(V)),$.current===e&&(F($),Jd._currentValue=N)}var X=Object.prototype.hasOwnProperty,Z=e.unstable_scheduleCallback,ee=e.unstable_cancelCallback,te=e.unstable_shouldYield,ne=e.unstable_requestPaint,re=e.unstable_now,ie=e.unstable_getCurrentPriorityLevel,oe=e.unstable_ImmediatePriority,ae=e.unstable_UserBlockingPriority,se=e.unstable_NormalPriority,le=e.unstable_LowPriority,ue=e.unstable_IdlePriority,ce=e.log,de=e.unstable_setDisableYieldValue,fe=null,pe=null;function he(e){if("function"==typeof ce&&de(e),pe&&"function"==typeof pe.setStrictMode)try{pe.setStrictMode(fe,e)}catch(t){}}var ve=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ge(e)/me|0)|0},ge=Math.log,me=Math.LN2;var ye=256,be=4194304;function we(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function ke(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var i=0,o=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~o)?i=we(r):0!==(a&=s)?i=we(a):n||0!==(n=s&~e)&&(i=we(n)):0!==(s=r&~o)?i=we(s):0!==a?i=we(a):n||0!==(n=r&~e)&&(i=we(n)),0===i?0:0!==t&&t!==i&&0===(t&o)&&((o=i&-i)>=(n=t&-t)||32===o&&4194048&n)?t:i}function Se(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function xe(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function _e(){var e=ye;return!(4194048&(ye<<=1))&&(ye=256),e}function Ee(){var e=be;return!(62914560&(be<<=1))&&(be=4194304),e}function Ce(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Te(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Pe(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ve(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function Ie(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ve(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function je(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Ae(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Oe(){var e=R.p;return 0!==e?e:void 0===(e=window.event)?32:pf(e.type)}var Le=Math.random().toString(36).slice(2),Re="__reactFiber$"+Le,Ne="__reactProps$"+Le,De="__reactContainer$"+Le,ze="__reactEvents$"+Le,Me="__reactListeners$"+Le,Fe="__reactHandles$"+Le,Ue="__reactResources$"+Le,qe="__reactMarker$"+Le;function Ve(e){delete e[Re],delete e[Ne],delete e[ze],delete e[Me],delete e[Fe]}function Be(e){var t=e[Re];if(t)return t;for(var n=e.parentNode;n;){if(t=n[De]||n[Re]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sd(e);null!==e;){if(n=e[Re])return n;e=Sd(e)}return t}n=(e=n).parentNode}return null}function $e(e){if(e=e[Re]||e[De]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function We(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function He(e){var t=e[Ue];return t||(t=e[Ue]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ke(e){e[qe]=!0}var Qe=new Set,Ge={};function Ye(e,t){Je(e,t),Je(e+"Capture",t)}function Je(e,t){for(Ge[e]=t,e=0;e<t.length;e++)Qe.add(t[e])}var Xe,Ze,et=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),tt={},nt={};function rt(e,t,n){if(i=t,X.call(nt,i)||!X.call(tt,i)&&(et.test(i)?nt[i]=!0:(tt[i]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var i}function it(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function ot(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function at(e){if(void 0===Xe)try{throw Error()}catch(Ul){var t=Ul.stack.trim().match(/\n( *(at )?)/);Xe=t&&t[1]||"",Ze=-1<Ul.stack.indexOf("\n    at")?" (<anonymous>)":-1<Ul.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Xe+e+Ze}var st=!1;function lt(e,t){if(!e||st)return"";st=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(Ul){var r=Ul}Reflect.construct(e,[],n)}else{try{n.call()}catch(i){r=i}e.call(n.prototype)}}else{try{throw Error()}catch(o){r=o}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(a){if(a&&r&&"string"==typeof a.stack)return[a.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split("\n"),u=s.split("\n");for(i=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;i<u.length&&!u[i].includes("DetermineComponentFrameRoot");)i++;if(r===l.length||i===u.length)for(r=l.length-1,i=u.length-1;1<=r&&0<=i&&l[r]!==u[i];)i--;for(;1<=r&&0<=i;r--,i--)if(l[r]!==u[i]){if(1!==r||1!==i)do{if(r--,0>--i||l[r]!==u[i]){var c="\n"+l[r].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}}while(1<=r&&0<=i);break}}}finally{st=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?at(n):""}function ut(e){switch(e.tag){case 26:case 27:case 5:return at(e.type);case 16:return at("Lazy");case 13:return at("Suspense");case 19:return at("SuspenseList");case 0:case 15:return lt(e.type,!1);case 11:return lt(e.type.render,!1);case 1:return lt(e.type,!0);case 31:return at("Activity");default:return""}}function ct(e){try{var t="";do{t+=ut(e),e=e.return}while(e);return t}catch(Ul){return"\nError generating stack: "+Ul.message+"\n"+Ul.stack}}function dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ft(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function pt(e){e._valueTracker||(e._valueTracker=function(e){var t=ft(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ht(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ft(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function vt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var gt=/[\n"\\]/g;function mt(e){return e.replace(gt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yt(e,t,n,r,i,o,a,s){e.name="",null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a?e.type=a:e.removeAttribute("type"),null!=t?"number"===a?(0===t&&""===e.value||e.value!=t)&&(e.value=""+dt(t)):e.value!==""+dt(t)&&(e.value=""+dt(t)):"submit"!==a&&"reset"!==a||e.removeAttribute("value"),null!=t?wt(e,a,dt(t)):null!=n?wt(e,a,dt(n)):null!=r&&e.removeAttribute("value"),null==i&&null!=o&&(e.defaultChecked=!!o),null!=i&&(e.checked=i&&"function"!=typeof i&&"symbol"!=typeof i),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+dt(s):e.removeAttribute("name")}
vendor: 5,520 bytes, line 11
11function bt(e,t,n,r,i,o,a,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return;n=null!=n?""+dt(n):"",t=null!=t?""+dt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:i)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&"boolean"!=typeof a&&(e.name=a)}function wt(e,t,n){"number"===t&&vt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function kt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+dt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function St(e,t,n){null==t||((t=""+dt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+dt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}function xt(e,t,n,i){if(null==t){if(null!=i){if(null!=n)throw Error(r(92));if(O(i)){if(1<i.length)throw Error(r(93));i=i[0]}n=i}null==n&&(n=""),t=n}n=dt(t),e.defaultValue=n,(i=e.textContent)===n&&""!==i&&null!==i&&(e.value=i)}function _t(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Ct(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||Et.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Tt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var i in n)!n.hasOwnProperty(i)||null!=t&&t.hasOwnProperty(i)||(0===i.indexOf("--")?e.setProperty(i,""):"float"===i?e.cssFloat="":e[i]="");for(var o in t)i=t[o],t.hasOwnProperty(o)&&n[o]!==i&&Ct(e,o,i)}else for(var a in t)t.hasOwnProperty(a)&&Ct(e,a,t[a])}function Pt(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var It=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
11-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),jt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function At(e){return jt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Ot=null;function Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Rt=null,Nt=null;function Dt(e){var t=$e(e);if(t&&(e=t.stateNode)){var n=e[Ne]||null;e:switch(e=t.stateNode,t.type){case"input":if(yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+mt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var o=i[Ne]||null;if(!o)throw Error(r(90));yt(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(i=n[t]).form===e.form&&ht(i)}break e;case"textarea":St(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&kt(e,!!n.multiple,t,!1)}}}var zt=!1;function Mt(e,t,n){if(zt)return e(t,n);zt=!0;try{return e(t)}finally{if(zt=!1,(null!==Rt||null!==Nt)&&($u(),Rt&&(t=Rt,e=Nt,Nt=Rt=null,Dt(t),e)))for(t=0;t<e.length;t++)Dt(e[t])}}function Ft(e,t){var n=e.stateNode;if(null===n)return null;var i=n[Ne]||null;if(null===i)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(i=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!i;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var Ut=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),qt=!1;if(Ut)try{var Vt={};Object.defineProperty(Vt,"passive",{get:function(){qt=!0}}),window.addEventListener("test",Vt,Vt),window.removeEventListener("test",Vt,Vt)}catch(zf){qt=!1}var Bt=null,$t=null,Wt=null;function Ht(){if(Wt)return Wt;var e,t,n=$t,r=n.length,i="value"in Bt?Bt.value:Bt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Wt=i.slice(e,1<t?1-t:void 0)}function Kt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Qt(){return!0}function Gt(){return!1}function Yt(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?Qt:Gt,this.isPropagationStopped=Gt,this}return u(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Qt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Qt)},persist:function(){},isPersistent:Qt}),t}var Jt,Xt,Zt,en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tn=Yt(en),nn=u({},en,{view:0,detail:0}),rn=Yt(nn),on=u({},nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,398 bytes, line 11
11Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Zt&&(Zt&&"mousemove"===e.type?(Jt=e.screenX-Zt.screenX,Xt=e.screenY-Zt.screenY):Xt=Jt=0,Zt=e),Jt)},movementY:function(e){return"movementY"in e?e.movementY:Xt}}),an=Yt(on),sn=Yt(u({},on,{dataTransfer:0})),ln=Yt(u({},nn,{relatedTarget:0})),un=Yt(u({},en,{animationName:0,elapsedTime:0,pseudoElement:0})),cn=Yt(u({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),dn=Yt(u({},en,{data:0})),fn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=hn[e])&&!!t[e]}function gn(){return vn}var mn=Yt(u({},nn,{key:function(e){if(e.key){var t=fn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?pn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gn,charCode:function(e){return"keypress"===e.type?Kt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),yn=Yt(u({},on,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),bn=Yt(u({},nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gn})),wn=Yt(u({},en,{propertyName:0,elapsedTime:0,pseudoElement:0})),kn=Yt(u({},on,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Sn=Yt(u({},en,{newState:0,oldState:0})),xn=[9,13,27,32],_n=Ut&&"CompositionEvent"in window,En=null;Ut&&"documentMode"in document&&(En=document.documentMode);var Cn=Ut&&"TextEvent"in window&&!En,Tn=Ut&&(!_n||En&&8<En&&11>=En),Pn=String.fromCharCode(32),In=!1;function jn(e,t){switch(e){case"keyup":return-1!==xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function An(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1;var Ln={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Rn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ln[e.type]:"textarea"===t}function Nn(e,t,n,r){Rt?Nt?Nt.push(r):Nt=[r]:Rt=r,0<(t=Kc(t,"onChange")).length&&(n=new tn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Dn=null,zn=null;function Mn(e){Fc(e,0)}function Fn(e){if(ht(We(e)))return e}function Un(e,t){if("change"===e)return t}var qn=!1;if(Ut){var Vn;if(Ut){var Bn="oninput"in document;if(!Bn){var $n=document.createElement("div");$n.setAttribute("oninput","return;"),Bn="function"==typeof $n.oninput}Vn=Bn}else Vn=!1;qn=Vn&&(!document.documentMode||9<document.documentMode)}function Wn(){Dn&&(Dn.detachEvent("onpropertychange",Hn),zn=Dn=null)}function Hn(e){if("value"===e.propertyName&&Fn(zn)){var t=[];Nn(t,zn,e,Lt(e)),Mt(Mn,t)}}function Kn(e,t,n){"focusin"===e?(Wn(),zn=n,(Dn=t).attachEvent("onpropertychange",Hn)):"focusout"===e&&Wn()}function Qn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Fn(zn)}function Gn(e,t){if("click"===e)return Fn(t)}function Yn(e,t){if("input"===e||"change"===e)return Fn(t)}var Jn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Xn(e,t){if(Jn(e,t))return!0;
vendor: 4,357 bytes, line 11
11if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!X.call(t,i)||!Jn(e[i],t[i]))return!1}return!0}function Zn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function er(e,t){var n,r=Zn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Zn(r)}}function tr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nr(e){for(var t=vt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=vt((e=t.contentWindow).document)}return t}function rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ir=Ut&&"documentMode"in document&&11>=document.documentMode,or=null,ar=null,sr=null,lr=!1;function ur(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==or||or!==vt(r)||("selectionStart"in(r=or)&&rr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sr&&Xn(sr,r)||(sr=r,0<(r=Kc(ar,"onSelect")).length&&(t=new tn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=or)))}function cr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dr={animationend:cr("Animation","AnimationEnd"),animationiteration:cr("Animation","AnimationIteration"),animationstart:cr("Animation","AnimationStart"),transitionrun:cr("Transition","TransitionRun"),transitionstart:cr("Transition","TransitionStart"),transitioncancel:cr("Transition","TransitionCancel"),transitionend:cr("Transition","TransitionEnd")},fr={},pr={};function hr(e){if(fr[e])return fr[e];if(!dr[e])return e;var t,n=dr[e];for(t in n)if(n.hasOwnProperty(t)&&t in pr)return fr[e]=n[t];return e}Ut&&(pr=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);var vr=hr("animationend"),gr=hr("animationiteration"),mr=hr("animationstart"),yr=hr("transitionrun"),br=hr("transitionstart"),wr=hr("transitioncancel"),kr=hr("transitionend"),Sr=new Map,xr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _r(e,t){Sr.set(e,t),Ye(t,[e])}xr.push("scrollEnd");var Er=new WeakMap;function Cr(e,t){if("object"==typeof e&&null!==e){var n=Er.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ct(t)},Er.set(e,t),t)}return{value:e,source:t,stack:ct(t)}}var Tr=[],Pr=0,Ir=0;function jr(){for(var e=Pr,t=Ir=Pr=0;t<e;){var n=Tr[t];Tr[t++]=null;var r=Tr[t];Tr[t++]=null;var i=Tr[t];Tr[t++]=null;var o=Tr[t];if(Tr[t++]=null,null!==r&&null!==i){var a=r.pending;null===a?i.next=i:(i.next=a.next,a.next=i),r.pending=i}0!==o&&Rr(n,i,o)}}function Ar(e,t,n,r){Tr[Pr++]=e,Tr[Pr++]=t,Tr[Pr++]=n,Tr[Pr++]=r,Ir|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Or(e,t,n,r){return Ar(e,t,n,r),Nr(e)}function Lr(e,t){return Ar(e,null,null,t),Nr(e)}function Rr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var i=!1,o=e.return;null!==o;
vendor: 7,599 bytes, line 11
11)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(i=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,i&&null!==t&&(i=31-ve(n),null===(r=(e=o.hiddenUpdates)[i])?e[i]=[t]:r.push(t),t.lane=536870912|n),o):null}function Nr(e){if(50<Nu)throw Nu=0,Du=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Dr={};function zr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mr(e,t,n,r){return new zr(e,t,n,r)}function Fr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ur(e,t){var n=e.alternate;return null===n?((n=Mr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function qr(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Vr(e,t,n,i,o,a){var s=0;if(i=e,"function"==typeof e)Fr(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,q.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case C:return(e=Mr(31,n,t,o)).elementType=C,e.lanes=a,e;case p:return Br(n.children,o,a,t);case h:s=8,o|=24;break;case v:return(e=Mr(12,n,t,2|o)).elementType=v,e.lanes=a,e;case S:return(e=Mr(13,n,t,o)).elementType=S,e.lanes=a,e;case x:return(e=Mr(19,n,t,o)).elementType=x,e.lanes=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case y:case w:s=10;break e;case b:s=9;break e;case k:s=11;break e;case _:s=14;break e;case E:s=16,i=null;break e}s=29,n=Error(r(130,null===e?"null":typeof e,"")),i=null}return(t=Mr(s,n,t,o)).elementType=e,t.type=i,t.lanes=a,t}function Br(e,t,n,r){return(e=Mr(7,e,r,t)).lanes=n,e}function $r(e,t,n){return(e=Mr(6,e,null,t)).lanes=n,e}function Wr(e,t,n){return(t=Mr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Hr=[],Kr=0,Qr=null,Gr=0,Yr=[],Jr=0,Xr=null,Zr=1,ei="";function ti(e,t){Hr[Kr++]=Gr,Hr[Kr++]=Qr,Qr=e,Gr=t}function ni(e,t,n){Yr[Jr++]=Zr,Yr[Jr++]=ei,Yr[Jr++]=Xr,Xr=e;var r=Zr;e=ei;var i=32-ve(r)-1;r&=~(1<<i),n+=1;var o=32-ve(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Zr=1<<32-ve(t)+i|n<<i|r,ei=o+e}else Zr=1<<o|n<<i|r,ei=e}function ri(e){null!==e.return&&(ti(e,1),ni(e,1,0))}function ii(e){for(;e===Qr;)Qr=Hr[--Kr],Hr[Kr]=null,Gr=Hr[--Kr],Hr[Kr]=null;for(;e===Xr;)Xr=Yr[--Jr],Yr[Jr]=null,ei=Yr[--Jr],Yr[Jr]=null,Zr=Yr[--Jr],Yr[Jr]=null}var oi=null,ai=null,si=!1,li=null,ui=!1,ci=Error(r(519));function di(e){throw mi(Cr(Error(r(418,"")),e)),ci}function fi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Re]=e,t[Ne]=r,n){case"dialog":Uc("cancel",t),Uc("close",t);break;case"iframe":case"object":case"embed":Uc("load",t);break;case"video":case"audio":for(n=0;n<zc.length;n++)Uc(zc[n],t);break;case"source":Uc("error",t);break;case"img":case"image":case"link":Uc("error",t),Uc("load",t);break;case"details":Uc("toggle",t);break;case"input":Uc("invalid",t),bt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),pt(t);break;case"select":Uc("invalid",t);break;case"textarea":Uc("invalid",t),xt(t,r.value,r.defaultValue,r.children),pt(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Zc(t.textContent,n)?(null!=r.popover&&(Uc("beforetoggle",t),Uc("toggle",t)),null!=r.onScroll&&Uc("scroll",t),null!=r.onScrollEnd&&Uc("scrollend",t),null!=r.onClick&&(t.onclick=ed),t=!0):t=!1,t||di(e)}function pi(e){for(oi=e.return;oi;)switch(oi.tag){case 5:case 13:return void(ui=!1);case 27:case 3:return void(ui=!0);default:oi=oi.return}}function hi(e){if(e!==oi)return!1;if(!si)return pi(e),si=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||ud(e.type,e.memoizedProps)),t=!t),t&&ai&&di(e),pi(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){ai=wd(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}ai=null}}else 27===n?(n=ai,gd(e.type)?(e=kd,kd=null,ai=e):ai=n):ai=oi?wd(e.stateNode.nextSibling):null;return!0}function vi(){ai=oi=null,si=!1}function gi(){var e=li;return null!==e&&(null===Su?Su=e:Su.push.apply(Su,e),li=null),e}function mi(e){null===li?li=[e]:li.push(e)}var yi=M(null),bi=null,wi=null;function ki(e,t,n){U(yi,t._currentValue),t._currentValue=n}function Si(e){e._currentValue=yi.current,F(yi)}function xi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _i(e,t,n,i){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){var s=o.child;a=a.firstContext;e:for(;null!==a;){var l=a;a=o;for(var u=0;u<t.length;u++)if(l.context===t[u]){a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),xi(a.return,n,e),i||(s=null);break e}a=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(r(341));s.lanes|=n,null!==(a=s.alternate)&&(a.lanes|=n),xi(s,n,e),s=null}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function Ei(e,t,n,i){e=null;for(var o=t,a=!1;null!==o;){if(!a)if(524288&o.flags)a=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(r(387));if(null!==(s=s.memoizedProps)){var l=o.type;Jn(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===$.current){if(null===(s=o.alternate))throw Error(r(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(Jd):e=[Jd])}o=o.return}null!==e&&_i(t,e,n,i),t.flags|=262144}function Ci(e){for(e=e.firstContext;null!==e;){if(!Jn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
vendor: 5,125 bytes, line 11
11function Ti(e){bi=e,wi=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Pi(e){return ji(bi,e)}function Ii(e,t){return null===bi&&Ti(e),ji(e,t)}function ji(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===wi){if(null===e)throw Error(r(308));wi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else wi=wi.next=t;return n}var Ai="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Oi=e.unstable_scheduleCallback,Li=e.unstable_NormalPriority,Ri={$$typeof:w,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ni(){return{controller:new Ai,data:new Map,refCount:0}}function Di(e){e.refCount--,0===e.refCount&&Oi(Li,function(){e.controller.abort()})}var zi=null,Mi=0,Fi=0,Ui=null;function qi(){if(0===--Mi&&null!==zi){null!==Ui&&(Ui.status="fulfilled");var e=zi;zi=null,Fi=0,Ui=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Vi=L.S;L.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===zi){var n=zi=[];Mi=0,Fi=Oc(),Ui={status:"pending",value:void 0,then:function(e){n.push(e)}}}Mi++,t.then(qi,qi)}(0,t),null!==Vi&&Vi(e,t)};var Bi=M(null);function $i(){var e=Bi.current;return null!==e?e:au.pooledCache}function Wi(e,t){U(Bi,null===t?Bi.current:t.pool)}function Hi(){var e=$i();return null===e?null:{parent:Ri._currentValue,pool:e}}var Ki=Error(r(460)),Qi=Error(r(474)),Gi=Error(r(542)),Yi={then:function(){}};function Ji(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Xi(){}function Zi(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Xi,Xi),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw no(e=t.reason),e;default:if("string"==typeof t.status)t.then(Xi,Xi);else{if(null!==(e=au)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw no(e=t.reason),e}throw eo=t,Ki}}var eo=null;function to(){if(null===eo)throw Error(r(459));var e=eo;return eo=null,e}function no(e){if(e===Ki||e===Gi)throw Error(r(483))}var ro=!1;function io(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ao(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function so(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&ou){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Nr(e),Rr(e,null,n),t}return Ar(e,r,t,n),Nr(e)}function lo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ie(e,n)}}function uo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var co=!1;function fo(){if(co){if(null!==Ui)throw Ui}}function po(e,t,n,r){co=!1;var i=e.updateQueue;ro=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var d=e.alternate;null!==d&&((s=(d=d.updateQueue).lastBaseUpdate)!==a&&(null===s?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(null!==o){var f=i.baseState;for(a=0,d=c=l=null,s=o;;){var p=-536870913&s.lane,h=p!==s.lane;if(h?(lu&p)===p:(r&p)===p){0!==p&&p===Fi&&(co=!0),null!==d&&(d=d.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var v=e,g=s;p=t;var m=n;switch(g.tag){case 1:if("function"==typeof(v=g.payload)){f=v.call(m,f,p);break e}f=v;break e;case 3:v.flags=-65537&v.flags|128;case 0:if(null==(p="function"==typeof(v=g.payload)?v.call(m,f,p):v))break e;f=u({},f,p);break e;case 2:ro=!0}}null!==(p=s.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=i.callbacks)?i.callbacks=[p]:h.push(p))}else h={lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(c=d=h,l=f):d=d.next=h,a|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}null===d&&(l=f),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=d,null===o&&(i.shared.lanes=0),gu|=a,e.lanes=a,e.memoizedState=f}}function ho(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function vo(e,t){var n=e.callbacks;
vendor: 1,272 bytes, line 11
11if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)ho(n[e],t)}var go=M(null),mo=M(0);function yo(e,t){U(mo,e=hu),U(go,t),hu=e|t.baseLanes}function bo(){U(mo,hu),U(go,go.current)}function wo(){hu=mo.current,F(go),F(mo)}var ko=0,So=null,xo=null,_o=null,Eo=!1,Co=!1,To=!1,Po=0,Io=0,jo=null,Ao=0;function Oo(){throw Error(r(321))}function Lo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jn(e[n],t[n]))return!1;return!0}function Ro(e,t,n,r,i,o){return ko=o,So=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=null===e||null===e.memoizedState?Qa:Ga,To=!1,o=n(r,i),To=!1,Co&&(o=Do(t,n,r,i)),No(e),o}function No(e){L.H=Ka;var t=null!==xo&&null!==xo.next;if(ko=0,_o=xo=So=null,Eo=!1,Io=0,jo=null,t)throw Error(r(300));null===e||Is||null!==(e=e.dependencies)&&Ci(e)&&(Is=!0)}function Do(e,t,n,i){So=e;var o=0;do{if(Co&&(jo=null),Io=0,Co=!1,25<=o)throw Error(r(301));if(o+=1,_o=xo=null,null!=e.updateQueue){var a=e.updateQueue;a.lastEffect=null,a.events=null,a.stores=null,null!=a.memoCache&&(a.memoCache.index=0)}L.H=Ya,a=t(n,i)}while(Co);return a}function zo(){var e=L.H,t=e.useState()[0];return t="function"==typeof t.then?Bo(t):t,e=e.useState()[0],(null!==xo?xo.memoizedState:null)!==e&&(So.flags|=1024),t}function Mo(){var e=0!==Po;return Po=0,e}
vendor: 10,728 bytes, line 11
11function Fo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Uo(e){if(Eo){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Eo=!1}ko=0,_o=xo=So=null,Co=!1,Io=Po=0,jo=null}function qo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===_o?So.memoizedState=_o=e:_o=_o.next=e,_o}function Vo(){if(null===xo){var e=So.alternate;e=null!==e?e.memoizedState:null}else e=xo.next;var t=null===_o?So.memoizedState:_o.next;if(null!==t)_o=t,xo=e;else{if(null===e){if(null===So.alternate)throw Error(r(467));throw Error(r(310))}e={memoizedState:(xo=e).memoizedState,baseState:xo.baseState,baseQueue:xo.baseQueue,queue:xo.queue,next:null},null===_o?So.memoizedState=_o=e:_o=_o.next=e}return _o}function Bo(e){var t=Io;return Io+=1,null===jo&&(jo=[]),e=Zi(jo,e,t),t=So,null===(null===_o?t.memoizedState:_o.next)&&(t=t.alternate,L.H=null===t||null===t.memoizedState?Qa:Ga),e}function $o(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Bo(e);if(e.$$typeof===w)return Pi(e)}throw Error(r(438,String(e)))}function Wo(e){var t=null,n=So.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=So.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},So.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=T;return t.index++,n}function Ho(e,t){return"function"==typeof t?t(e):t}function Ko(e){return Qo(Vo(),xo,e)}function Qo(e,t,n){var i=e.queue;if(null===i)throw Error(r(311));i.lastRenderedReducer=n;var o=e.baseQueue,a=i.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}t.baseQueue=o=a,i.pending=null}if(a=e.baseState,null===o)e.memoizedState=a;else{var l=s=null,u=null,c=t=o.next,d=!1;do{var f=-536870913&c.lane;if(f!==c.lane?(lu&f)===f:(ko&f)===f){var p=c.revertLane;if(0===p)null!==u&&(u=u.next={lane:0,revertLane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Fi&&(d=!0);else{if((ko&p)===p){c=c.next,p===Fi&&(d=!0);continue}f={lane:0,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=f,s=a):u=u.next=f,So.lanes|=p,gu|=p}f=c.action,To&&n(a,f),a=c.hasEagerState?c.eagerState:n(a,f)}else p={lane:f,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=p,s=a):u=u.next=p,So.lanes|=f,gu|=f;c=c.next}while(null!==c&&c!==t);if(null===u?s=a:u.next=l,!Jn(a,e.memoizedState)&&(Is=!0,d&&null!==(n=Ui)))throw n;e.memoizedState=a,e.baseState=s,e.baseQueue=u,i.lastRenderedState=a}return null===o&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Go(e){var t=Vo(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);Jn(a,t.memoizedState)||(Is=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,i]}function Yo(e,t,n){var i=So,o=Vo(),a=si;if(a){if(void 0===n)throw Error(r(407));n=n()}else n=t();var s=!Jn((xo||o).memoizedState,n);if(s&&(o.memoizedState=n,Is=!0),o=o.queue,ba(2048,8,Zo.bind(null,i,o,e),[e]),o.getSnapshot!==t||s||null!==_o&&1&_o.memoizedState.tag){if(i.flags|=2048,ga(9,{destroy:void 0,resource:void 0},Xo.bind(null,i,o,n,t),null),null===au)throw Error(r(349));a||124&ko||Jo(i,t,n)}return n}function Jo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=So.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},So.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Xo(e,t,n,r){t.value=n,t.getSnapshot=r,ea(t)&&ta(e)}function Zo(e,t,n){return n(function(){ea(t)&&ta(e)})}function ea(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Jn(e,n)}catch(r){return!0}}function ta(e){var t=Lr(e,2);null!==t&&Fu(t,e,2)}function na(e){var t=qo();if("function"==typeof e){var n=e;if(e=n(),To){he(!0);try{n()}finally{he(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ho,lastRenderedState:e},t}function ra(e,t,n,r){return e.baseState=n,Qo(e,xo,"function"==typeof r?r:Ho)}function ia(e,t,n,i,o){if($a(e))throw Error(r(485));if(null!==(e=t.action)){var a={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){a.listeners.push(e)}};null!==L.T?n(!0):a.isTransition=!1,i(a),null===(n=t.pending)?(a.next=t.pending=a,oa(t,a)):(a.next=n.next,t.pending=n.next=a)}}function oa(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var o=L.T,a={};L.T=a;try{var s=n(i,r),l=L.S;null!==l&&l(a,s),aa(e,t,s)}catch(u){la(e,t,u)}finally{L.T=o}}else try{aa(e,t,o=n(i,r))}catch(c){la(e,t,c)}}function aa(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){sa(e,t,n)},function(n){return la(e,t,n)}):sa(e,t,n)}function sa(e,t,n){t.status="fulfilled",t.value=n,ua(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,oa(e,n)))}function la(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ua(t),t=t.next}while(t!==r)}e.action=null}function ua(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ca(e,t){return t}function da(e,t){if(si){var n=au.formState;if(null!==n){e:{var r=So;if(si){if(ai){t:{for(var i=ai,o=ui;8!==i.nodeType;){if(!o){i=null;break t}if(null===(i=wd(i.nextSibling))){i=null;break t}}i="F!"===(o=i.data)||"F"===o?i:null}if(i){ai=wd(i.nextSibling),r="F!"===i.data;break e}}di(r)}r=!1}r&&(t=n[0])}}return(n=qo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:t},n.queue=r,n=qa.bind(null,So,r),r.dispatch=n,r=na(!1),o=Ba.bind(null,So,!1,r.queue),i={state:t,dispatch:null,action:e,pending:null},(r=qo()).queue=i,n=ia.bind(null,So,i,o,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function fa(e){return pa(Vo(),xo,e)}function pa(e,t,n){if(t=Qo(e,t,ca)[0],e=Ko(Ho)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Bo(t)}catch(Ul){if(Ul===Ki)throw Gi;throw Ul}else r=t;var i=(t=Vo()).queue,o=i.dispatch;return n!==t.memoizedState&&(So.flags|=2048,ga(9,{destroy:void 0,resource:void 0},ha.bind(null,i,n),null)),[r,o,e]}function ha(e,t){e.action=t}function va(e){var t=Vo(),n=xo;if(null!==n)return pa(t,n,e);Vo(),t=t.memoizedState;var r=(n=Vo()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function ga(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=So.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},So.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ma(){return Vo().memoizedState}function ya(e,t,n,r){var i=qo();r=void 0===r?null:r,So.flags|=e,i.memoizedState=ga(1|t,{destroy:void 0,resource:void 0},n,r)}function ba(e,t,n,r){var i=Vo();r=void 0===r?null:r;var o=i.memoizedState.inst;null!==xo&&null!==r&&Lo(r,xo.memoizedState.deps)?i.memoizedState=ga(t,o,n,r):(So.flags|=e,i.memoizedState=ga(1|t,o,n,r))}function wa(e,t){ya(8390656,8,e,t)}function ka(e,t){ba(2048,8,e,t)}function Sa(e,t){return ba(4,2,e,t)}function xa(e,t){return ba(4,4,e,t)}function _a(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Ea(e,t,n){n=null!=n?n.concat([e]):null,ba(4,4,_a.bind(null,t,e),n)}function Ca(){}function Ta(e,t){var n=Vo();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Lo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Pa(e,t){var n=Vo();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Lo(t,r[1]))return r[0];if(r=e(),To){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[r,t],r}function Ia(e,t,n){return void 0===n||1073741824&ko?e.memoizedState=t:(e.memoizedState=n,e=Mu(),So.lanes|=e,gu|=e,n)}function ja(e,t,n,r){return Jn(n,t)?n:null!==go.current?(e=Ia(e,n,r),Jn(e,t)||(Is=!0),e):42&ko?(e=Mu(),So.lanes|=e,gu|=e,t):(Is=!0,e.memoizedState=n)}function Aa(e,t,n,r,i){var o=R.p;R.p=0!==o&&8>o?o:8;var a,s,l,u=L.T,c={};L.T=c,Ba(e,!1,t,n);try{var d=i(),f=L.S;if(null!==f&&f(c,d),null!==d&&"object"==typeof d&&"function"==typeof d.then){var p=(a=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=a;for(var e=0;e<s.length;e++)(0,s[e])(a)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l);Va(e,t,p,zu())}else Va(e,t,r,zu())}catch(h){Va(e,t,{then:function(){},status:"rejected",reason:h},zu())}finally{R.p=o,L.T=u}}function Oa(){}function La(e,t,n,i){if(5!==e.tag)throw Error(r(476));var o=Ra(e).queue;Aa(e,o,t,N,null===n?Oa:function(){return Na(e),n(i)})}function Ra(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:N,baseState:N,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ho,lastRenderedState:N},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ho,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Na(e){Va(e,Ra(e).next.queue,{},zu())}function Da(){return Pi(Jd)}function za(){return Vo().memoizedState}function Ma(){return Vo().memoizedState}function Fa(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=zu(),r=so(t,e=ao(n),n);return null!==r&&(Fu(r,t,n),lo(r,t,n)),t={cache:Ni()},void(e.payload=t)}t=t.return}}function Ua(e,t,n){var r=zu();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},$a(e)?Wa(t,n):null!==(n=Or(e,t,n,r))&&(Fu(n,e,r),Ha(n,t,r))}function qa(e,t,n){Va(e,t,n,zu())}function Va(e,t,n,r){var i={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if($a(e))Wa(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,Jn(s,a))return Ar(e,t,i,0),null===au&&jr(),!1}catch(l){}if(null!==(n=Or(e,t,i,r)))return Fu(n,e,r),Ha(n,t,r),!0}return!1}function Ba(e,t,n,i){if(i={lane:2,revertLane:Oc(),action:i,hasEagerState:!1,eagerState:null,next:null},$a(e)){if(t)throw Error(r(479))}else null!==(t=Or(e,n,i,2))&&Fu(t,e,2)}function $a(e){var t=e.alternate;return e===So||null!==t&&t===So}function Wa(e,t){Co=Eo=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}
vendor: 17,354 bytes, line 11
11function Ha(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ie(e,n)}}var Ka={readContext:Pi,use:$o,useCallback:Oo,useContext:Oo,useEffect:Oo,useImperativeHandle:Oo,useLayoutEffect:Oo,useInsertionEffect:Oo,useMemo:Oo,useReducer:Oo,useRef:Oo,useState:Oo,useDebugValue:Oo,useDeferredValue:Oo,useTransition:Oo,useSyncExternalStore:Oo,useId:Oo,useHostTransitionStatus:Oo,useFormState:Oo,useActionState:Oo,useOptimistic:Oo,useMemoCache:Oo,useCacheRefresh:Oo},Qa={readContext:Pi,use:$o,useCallback:function(e,t){return qo().memoizedState=[e,void 0===t?null:t],e},useContext:Pi,useEffect:wa,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,ya(4194308,4,_a.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ya(4194308,4,e,t)},useInsertionEffect:function(e,t){ya(4,2,e,t)},useMemo:function(e,t){var n=qo();t=void 0===t?null:t;var r=e();if(To){he(!0);try{e()}finally{he(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=qo();if(void 0!==n){var i=n(t);if(To){he(!0);try{n(t)}finally{he(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Ua.bind(null,So,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},qo().memoizedState=e},useState:function(e){var t=(e=na(e)).queue,n=qa.bind(null,So,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ca,useDeferredValue:function(e,t){return Ia(qo(),e,t)},useTransition:function(){var e=na(!1);return e=Aa.bind(null,So,e.queue,!0,!1),qo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=So,o=qo();if(si){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===au)throw Error(r(349));124&lu||Jo(i,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,wa(Zo.bind(null,i,a,e),[e]),i.flags|=2048,ga(9,{destroy:void 0,resource:void 0},Xo.bind(null,i,a,n,t),null),n},useId:function(){var e=qo(),t=au.identifierPrefix;if(si){var n=ei;t="«"+t+"R"+(n=(Zr&~(1<<32-ve(Zr)-1)).toString(32)+n),0<(n=Po++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=Ao++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Da,useFormState:da,useActionState:da,useOptimistic:function(e){var t=qo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Ba.bind(null,So,!0,n),n.dispatch=t,[e,t]},useMemoCache:Wo,useCacheRefresh:function(){return qo().memoizedState=Fa.bind(null,So)}},Ga={readContext:Pi,use:$o,useCallback:Ta,useContext:Pi,useEffect:ka,useImperativeHandle:Ea,useInsertionEffect:Sa,useLayoutEffect:xa,useMemo:Pa,useReducer:Ko,useRef:ma,useState:function(){return Ko(Ho)},useDebugValue:Ca,useDeferredValue:function(e,t){return ja(Vo(),xo.memoizedState,e,t)},useTransition:function(){var e=Ko(Ho)[0],t=Vo().memoizedState;return["boolean"==typeof e?e:Bo(e),t]},useSyncExternalStore:Yo,useId:za,useHostTransitionStatus:Da,useFormState:fa,useActionState:fa,useOptimistic:function(e,t){return ra(Vo(),0,e,t)},useMemoCache:Wo,useCacheRefresh:Ma},Ya={readContext:Pi,use:$o,useCallback:Ta,useContext:Pi,useEffect:ka,useImperativeHandle:Ea,useInsertionEffect:Sa,useLayoutEffect:xa,useMemo:Pa,useReducer:Go,useRef:ma,useState:function(){return Go(Ho)},useDebugValue:Ca,useDeferredValue:function(e,t){var n=Vo();return null===xo?Ia(n,e,t):ja(n,xo.memoizedState,e,t)},useTransition:function(){var e=Go(Ho)[0],t=Vo().memoizedState;return["boolean"==typeof e?e:Bo(e),t]},useSyncExternalStore:Yo,useId:za,useHostTransitionStatus:Da,useFormState:va,useActionState:va,useOptimistic:function(e,t){var n=Vo();return null!==xo?ra(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Wo,useCacheRefresh:Ma},Ja=null,Xa=0;function Za(e){var t=Xa;return Xa+=1,null===Ja&&(Ja=[]),Zi(Ja,e,t)}function es(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function ts(e,t){if(t.$$typeof===c)throw Error(r(525));throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ns(e){return(0,e._init)(e._payload)}function rs(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function i(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=Ur(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$r(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===p?h(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===E&&ns(i)===t.type)?(es(t=o(t,n.props),n),t.return=e,t):(es(t=Vr(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function h(e,t,n,r,i){return null===t||7!==t.tag?((t=Br(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function v(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=$r(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case d:return es(n=Vr(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case f:return(t=Wr(t,e.mode,n)).return=e,t;case E:return v(e,t=(0,t._init)(t._payload),n)}if(O(t)||I(t))return(t=Br(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return v(e,Za(t),n);if(t.$$typeof===w)return v(e,Ii(e,t),n);ts(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case d:return n.key===i?u(e,t,n,r):null;case f:return n.key===i?c(e,t,n,r):null;case E:return g(e,t,n=(i=n._init)(n._payload),r)}if(O(n)||I(n))return null!==i?null:h(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,Za(n),r);if(n.$$typeof===w)return g(e,t,Ii(e,n),r);ts(e,n)}return null}function m(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case d:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case f:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case E:return m(e,t,n,r=(0,r._init)(r._payload),i)}if(O(r)||I(r))return h(t,e=e.get(n)||null,r,i,null);if("function"==typeof r.then)return m(e,t,n,Za(r),i);if(r.$$typeof===w)return m(e,t,n,Ii(t,r),i);ts(t,r)}return null}function y(l,u,c,h){if("object"==typeof c&&null!==c&&c.type===p&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case d:e:{for(var b=c.key;null!==u;){if(u.key===b){if((b=c.type)===p){if(7===u.tag){n(l,u.sibling),(h=o(u,c.props.children)).return=l,l=h;break e}}else if(u.elementType===b||"object"==typeof b&&null!==b&&b.$$typeof===E&&ns(b)===u.type){n(l,u.sibling),es(h=o(u,c.props),c),h.return=l,l=h;break e}n(l,u);break}t(l,u),u=u.sibling}c.type===p?((h=Br(c.props.children,l.mode,h,c.key)).return=l,l=h):(es(h=Vr(c.type,c.key,c.props,null,l.mode,h),c),h.return=l,l=h)}return s(l);case f:e:{for(b=c.key;null!==u;){if(u.key===b){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){n(l,u.sibling),(h=o(u,c.children||[])).return=l,l=h;break e}n(l,u);break}t(l,u),u=u.sibling}(h=Wr(c,l.mode,h)).return=l,l=h}return s(l);case E:return y(l,u,c=(b=c._init)(c._payload),h)}if(O(c))return function(r,o,s,l){for(var u=null,c=null,d=o,f=o=0,p=null;null!==d&&f<s.length;f++){d.index>f?(p=d,d=null):p=d.sibling;var h=g(r,d,s[f],l);if(null===h){null===d&&(d=p);break}e&&d&&null===h.alternate&&t(r,d),o=a(h,o,f),null===c?u=h:c.sibling=h,c=h,d=p}if(f===s.length)return n(r,d),si&&ti(r,f),u;if(null===d){for(;f<s.length;f++)null!==(d=v(r,s[f],l))&&(o=a(d,o,f),null===c?u=d:c.sibling=d,c=d);return si&&ti(r,f),u}for(d=i(d);f<s.length;f++)null!==(p=m(d,r,f,s[f],l))&&(e&&null!==p.alternate&&d.delete(null===p.key?f:p.key),o=a(p,o,f),null===c?u=p:c.sibling=p,c=p);return e&&d.forEach(function(e){return t(r,e)}),si&&ti(r,f),u}(l,u,c,h);if(I(c)){if("function"!=typeof(b=I(c)))throw Error(r(150));return function(o,s,l,u){if(null==l)throw Error(r(151));for(var c=null,d=null,f=s,p=s=0,h=null,y=l.next();null!==f&&!y.done;p++,y=l.next()){f.index>p?(h=f,f=null):h=f.sibling;var b=g(o,f,y.value,u);if(null===b){null===f&&(f=h);break}e&&f&&null===b.alternate&&t(o,f),s=a(b,s,p),null===d?c=b:d.sibling=b,d=b,f=h}if(y.done)return n(o,f),si&&ti(o,p),c;if(null===f){for(;!y.done;p++,y=l.next())null!==(y=v(o,y.value,u))&&(s=a(y,s,p),null===d?c=y:d.sibling=y,d=y);return si&&ti(o,p),c}for(f=i(f);!y.done;p++,y=l.next())null!==(y=m(f,o,p,y.value,u))&&(e&&null!==y.alternate&&f.delete(null===y.key?p:y.key),s=a(y,s,p),null===d?c=y:d.sibling=y,d=y);return e&&f.forEach(function(e){return t(o,e)}),si&&ti(o,p),c}(l,u,c=b.call(c),h)}if("function"==typeof c.then)return y(l,u,Za(c),h);if(c.$$typeof===w)return y(l,u,Ii(l,c),h);ts(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c||"bigint"==typeof c?(c=""+c,null!==u&&6===u.tag?(n(l,u.sibling),(h=o(u,c)).return=l,l=h):(n(l,u),(h=$r(c,l.mode,h)).return=l,l=h),s(l)):n(l,u)}return function(e,t,n,r){try{Xa=0;var i=y(e,t,n,r);return Ja=null,i}catch(Ul){if(Ul===Ki||Ul===Gi)throw Ul;var o=Mr(29,Ul,null,e.mode);return o.lanes=r,o.return=e,o}}}var is=rs(!0),os=rs(!1),as=M(null),ss=null;function ls(e){var t=e.alternate;U(fs,1&fs.current),U(as,e),null===ss&&(null===t||null!==go.current||null!==t.memoizedState)&&(ss=e)}function us(e){if(22===e.tag){if(U(fs,fs.current),U(as,e),null===ss){var t=e.alternate;null!==t&&null!==t.memoizedState&&(ss=e)}}else cs()}function cs(){U(fs,fs.current),U(as,as.current)}function ds(e){F(as),ss===e&&(ss=null),F(fs)}var fs=M(0);function ps(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||bd(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function hs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:u({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=zu(),i=ao(r);i.payload=t,null!=n&&(i.callback=n),null!==(t=so(e,i,r))&&(Fu(t,e,r),lo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=zu(),i=ao(r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=so(e,i,r))&&(Fu(t,e,r),lo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=zu(),r=ao(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=so(e,r,n))&&(Fu(t,e,n),lo(t,e,n))}};function gs(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!Xn(n,r)||!Xn(i,o))}function ms(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&vs.enqueueReplaceState(t,t.state,null)}function ys(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=u({},n)),e)void 0===n[i]&&(n[i]=e[i]);return n}var bs="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function ws(e){bs(e)}function ks(e){}function Ss(e){bs(e)}function xs(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function _s(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Es(e,t,n){return(n=ao(n)).tag=3,n.payload={element:null},n.callback=function(){xs(e,t)},n}function Cs(e){return(e=ao(e)).tag=3,e}function Ts(e,t,n,r){var i=n.type.getDerivedStateFromError;if("function"==typeof i){var o=r.value;e.payload=function(){return i(o)},e.callback=function(){_s(t,n,r)}}var a=n.stateNode;null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){_s(t,n,r),"function"!=typeof i&&(null===Tu?Tu=new Set([this]):Tu.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Ps=Error(r(461)),Is=!1;function js(e,t,n,r){t.child=null===e?os(t,null,n,r):is(t,e.child,n,r)}function As(e,t,n,r,i){n=n.render;var o=t.ref;if("ref"in r){var a={};for(var s in r)"ref"!==s&&(a[s]=r[s])}else a=r;return Ti(t),r=Ro(e,t,n,a,o,i),s=Mo(),null===e||Is?(si&&s&&ri(t),t.flags|=1,js(e,t,r,i),t.child):(Fo(e,t,i),Js(e,t,i))}function Os(e,t,n,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Fr(o)||void 0!==o.defaultProps||null!==n.compare?((e=Vr(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ls(e,t,o,r,i))}if(o=e.child,!Xs(e,i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:Xn)(a,r)&&e.ref===t.ref)return Js(e,t,i)}return t.flags|=1,(e=Ur(o,r)).ref=t.ref,e.return=t,t.child=e}function Ls(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(Xn(o,r)&&e.ref===t.ref){if(Is=!1,t.pendingProps=r=o,!Xs(e,i))return t.lanes=e.lanes,Js(e,t,i);131072&e.flags&&(Is=!0)}}return zs(e,t,n,r,i)}function Rs(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==o?o.baseLanes|n:n,null!==e){for(i=t.child=e.child,o=0;null!==i;)o=o|i.lanes|i.childLanes,i=i.sibling;t.childLanes=o&~r}else t.childLanes=0,t.child=null;return Ns(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Ns(e,t,null!==o?o.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Wi(0,null!==o?o.cachePool:null),null!==o?yo(t,o):bo(),us(t)}else null!==o?(Wi(0,o.cachePool),yo(t,o),cs(),t.memoizedState=null):(null!==e&&Wi(0,null),bo(),cs());return js(e,t,i,n),t.child}function Ns(e,t,n,r){var i=$i();return i=null===i?null:{parent:Ri._currentValue,pool:i},t.memoizedState={baseLanes:n,cachePool:i},null!==e&&Wi(0,null),bo(),us(t),null!==e&&Ei(e,t,r,!0),null}function Ds(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function zs(e,t,n,r,i){return Ti(t),n=Ro(e,t,n,r,void 0,i),r=Mo(),null===e||Is?(si&&r&&ri(t),t.flags|=1,js(e,t,n,i),t.child):(Fo(e,t,i),Js(e,t,i))}function Ms(e,t,n,r,i,o){return Ti(t),t.updateQueue=null,n=Do(t,r,n,i),No(e),r=Mo(),null===e||Is?(si&&r&&ri(t),t.flags|=1,js(e,t,n,o),t.child):(Fo(e,t,o),Js(e,t,o))}function Fs(e,t,n,r,i){if(Ti(t),null===t.stateNode){var o=Dr,a=n.contextType;"object"==typeof a&&null!==a&&(o=Pi(a)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=vs,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},io(t),a=n.contextType,o.context="object"==typeof a&&null!==a?Pi(a):Dr,o.state=t.memoizedState,"function"==typeof(a=n.getDerivedStateFromProps)&&(hs(t,n,a,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(a=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),a!==o.state&&vs.enqueueReplaceState(o,o.state,null),po(t,r,o,i),fo(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=ys(n,s);o.props=l;var u=o.context,c=n.contextType;a=Dr,"object"==typeof c&&null!==c&&(a=Pi(c));var d=n.getDerivedStateFromProps;c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||u!==a)&&ms(t,o,r,a),ro=!1;var f=t.memoizedState;o.state=f,po(t,r,o,i),fo(),u=t.memoizedState,s||f!==u||ro?("function"==typeof d&&(hs(t,n,d,r),u=t.memoizedState),(l=ro||gs(t,n,l,r,f,u,a))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),o.props=r,o.state=u,o.
vendor: 9,601 bytes, line 11
11context=a,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,oo(e,t),c=ys(n,a=t.memoizedProps),o.props=c,d=t.pendingProps,f=o.context,u=n.contextType,l=Dr,"object"==typeof u&&null!==u&&(l=Pi(u)),(u="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==d||f!==l)&&ms(t,o,r,l),ro=!1,f=t.memoizedState,o.state=f,po(t,r,o,i),fo();var p=t.memoizedState;a!==d||f!==p||ro||null!==e&&null!==e.dependencies&&Ci(e.dependencies)?("function"==typeof s&&(hs(t,n,s,r),p=t.memoizedState),(c=ro||gs(t,n,c,r,f,p,l)||null!==e&&null!==e.dependencies&&Ci(e.dependencies))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,Ds(e,t),r=!!(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=is(t,e.child,null,i),t.child=is(t,null,n,i)):js(e,t,n,i),t.memoizedState=o.state,e=t.child):e=Js(e,t,i),e}function Us(e,t,n,r){return vi(),t.flags|=256,js(e,t,n,r),t.child}var qs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vs(e){return{baseLanes:e,cachePool:Hi()}}function Bs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=bu),e}function $s(e,t,n){var i,o=t.pendingProps,a=!1,s=!!(128&t.flags);if((i=s)||(i=(null===e||null!==e.memoizedState)&&!!(2&fs.current)),i&&(a=!0,t.flags&=-129),i=!!(32&t.flags),t.flags&=-33,null===e){if(si){if(a?ls(t):cs(),si){var l,u=ai;if(l=u){e:{for(l=u,u=ui;8!==l.nodeType;){if(!u){u=null;break e}if(null===(l=wd(l.nextSibling))){u=null;break e}}u=l}null!==u?(t.memoizedState={dehydrated:u,treeContext:null!==Xr?{id:Zr,overflow:ei}:null,retryLane:536870912,hydrationErrors:null},(l=Mr(18,null,null,0)).stateNode=u,l.return=t,t.child=l,oi=t,ai=null,l=!0):l=!1}l||di(t)}if(null!==(u=t.memoizedState)&&null!==(u=u.dehydrated))return bd(u)?t.lanes=32:t.lanes=536870912,null;ds(t)}return u=o.children,o=o.fallback,a?(cs(),u=Hs({mode:"hidden",children:u},a=t.mode),o=Br(o,a,n,null),u.return=t,o.return=t,u.sibling=o,t.child=u,(a=t.child).memoizedState=Vs(n),a.childLanes=Bs(e,i,n),t.memoizedState=qs,o):(ls(t),Ws(t,u))}if(null!==(l=e.memoizedState)&&null!==(u=l.dehydrated)){if(s)256&t.flags?(ls(t),t.flags&=-257,t=Ks(e,t,n)):null!==t.memoizedState?(cs(),t.child=e.child,t.flags|=128,t=null):(cs(),a=o.fallback,u=t.mode,o=Hs({mode:"visible",children:o.children},u),(a=Br(a,u,n,null)).flags|=2,o.return=t,a.return=t,o.sibling=a,t.child=o,is(t,e.child,null,n),(o=t.child).memoizedState=Vs(n),o.childLanes=Bs(e,i,n),t.memoizedState=qs,t=a);else if(ls(t),bd(u)){if(i=u.nextSibling&&u.nextSibling.dataset)var c=i.dgst;i=c,(o=Error(r(419))).stack="",o.digest=i,mi({value:o,source:null,stack:null}),t=Ks(e,t,n)}else if(Is||Ei(e,t,n,!1),i=0!==(n&e.childLanes),Is||i){if(null!==(i=au)&&(0!==(o=0!==((o=42&(o=n&-n)?1:je(o))&(i.suspendedLanes|n))?0:o)&&o!==l.retryLane))throw l.retryLane=o,Lr(e,o),Fu(i,e,o),Ps;"$?"===u.data||Yu(),t=Ks(e,t,n)}else"$?"===u.data?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,ai=wd(u.nextSibling),oi=t,si=!0,li=null,ui=!1,null!==e&&(Yr[Jr++]=Zr,Yr[Jr++]=ei,Yr[Jr++]=Xr,Zr=e.id,ei=e.overflow,Xr=t),(t=Ws(t,o.children)).flags|=4096);return t}return a?(cs(),a=o.fallback,u=t.mode,c=(l=e.child).sibling,(o=Ur(l,{mode:"hidden",children:o.children})).subtreeFlags=65011712&l.subtreeFlags,null!==c?a=Ur(c,a):(a=Br(a,u,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,null===(u=e.child.memoizedState)?u=Vs(n):(null!==(l=u.cachePool)?(c=Ri._currentValue,l=l.parent!==c?{parent:c,pool:c}:l):l=Hi(),u={baseLanes:u.baseLanes|n,cachePool:l}),a.memoizedState=u,a.childLanes=Bs(e,i,n),t.memoizedState=qs,o):(ls(t),e=(n=e.child).sibling,(n=Ur(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(i=t.deletions)?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=n,t.memoizedState=null,n)}function Ws(e,t){return(t=Hs({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Hs(e,t){return(e=Mr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Ks(e,t,n){return is(t,e.child,null,n),(e=Ws(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Qs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xi(e.return,t,n)}function Gs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Ys(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(js(e,t,r.children,n),2&(r=fs.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qs(e,n,t);else if(19===e.tag)Qs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(U(fs,r),i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===ps(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Gs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===ps(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Gs(t,!0,n,null,o);break;case"together":Gs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Js(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),gu|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Ei(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=Ur(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ur(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xs(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Ci(e))}function Zs(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Is=!0;else{if(!(Xs(e,n)||128&t.flags))return Is=!1,function(e,t,n){switch(t.tag){case 3:H(t,t.stateNode.containerInfo),ki(0,Ri,e.memoizedState.cache),vi();break;case 27:case 5:G(t);break;case 4:H(t,t.stateNode.containerInfo);break;case 10:ki(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(ls(t),t.flags|=128,null):0!==(n&t.child.childLanes)?$s(e,t,n):(ls(t),null!==(e=Js(e,t,n))?e.sibling:null);ls(t);break;case 19:var i=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(Ei(e,t,n,!1),r=0!==(n&t.childLanes)),i){if(r)return Ys(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),U(fs,fs.current),r)break;return null;case 22:case 23:return t.lanes=0,Rs(e,t,n);case 24:ki(0,Ri,e.memoizedState.cache)}return Js(e,t,n)}(e,t,n);Is=!!(131072&e.flags)}else Is=!1,si&&1048576&t.flags&&ni(t,Gr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var i=t.elementType,o=i._init;if(i=o(i._payload),t.type=i,"function"!=typeof i){if(null!=i){if((o=i.$$typeof)===k){t.tag=11,t=As(null,t,i,e,n);break e}if(o===_){t.tag=14,t=Os(null,t,i,e,n);break e}}throw t=A(i)||i,Error(r(306,t,""))}Fr(i)?(e=ys(i,e),t.tag=1,t=Fs(null,t,i,e,n)):(t.tag=0,t=zs(null,t,i,e,n))}return t;case 0:return zs(e,t,t.type,t.pendingProps,n);case 1:return Fs(e,t,i=t.type,o=ys(i,t.pendingProps),n);case 3:e:{if(H(t,t.stateNode.containerInfo),null===e)throw Error(r(387));i=t.pendingProps;var a=t.memoizedState;o=a.element,oo(e,t),po(t,i,null,n);var s=t.memoizedState;if(i=s.cache,ki(0,Ri,i),i!==a.cache&&_i(t,[Ri],n,!0),fo(),i=s.element,a.isDehydrated){if(a={element:i,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Us(e,t,i,n);break e}if(i!==o){mi(o=Cr(Error(r(424)),t)),t=Us(e,t,i,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(ai=wd(e.firstChild),oi=t,si=!0,li=null,ui=!0,n=os(t,null,i,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(vi(),i===o){t=Js(e,t,n);break e}js(e,t,i,n)}t=t.child}return t;case 26:return Ds(e,t),null===e?(n=Ad(t.type,null,t.pendingProps,null))?t.memoizedState=n:si||(n=t.type,e=t.pendingProps,(i=ad(B.current).createElement(n))[Re]=t,i[Ne]=e,rd(i,n,e),Ke(i),t.stateNode=i):t.memoizedState=Ad(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return G(t),null===e&&si&&(i=t.stateNode=xd(t.type,t.pendingProps,B.current),oi=t,ui=!0,o=ai,gd(t.type)?(kd=o,ai=wd(i.firstChild)):ai=o),js(e,t,t.pendingProps.children,n),Ds(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&si&&((o=i=ai)&&(null!==(i=function(e,t,n,r){for(;1===e.nodeType;){var i=n;
vendor: 10,841 bytes, line 11
11if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[qe])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==i.rel||e.getAttribute("href")!==(null==i.href||""===i.href?null:i.href)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin)||e.getAttribute("title")!==(null==i.title?null:i.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==i.src?null:i.src)||e.getAttribute("type")!==(null==i.type?null:i.type)||e.getAttribute("crossorigin")!==(null==i.crossOrigin?null:i.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==i.name?null:""+i.name;if("hidden"===i.type&&e.getAttribute("name")===o)return e}if(null===(e=wd(e.nextSibling)))break}return null}(i,t.type,t.pendingProps,ui))?(t.stateNode=i,oi=t,ai=wd(i.firstChild),ui=!1,o=!0):o=!1),o||di(t)),G(t),o=t.type,a=t.pendingProps,s=null!==e?e.memoizedProps:null,i=a.children,ud(o,a)?i=null:null!==s&&ud(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=Ro(e,t,zo,null,null,n),Jd._currentValue=o),Ds(e,t),js(e,t,i,n),t.child;case 6:return null===e&&si&&((e=n=ai)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=wd(e.nextSibling)))return null}return e}(n,t.pendingProps,ui))?(t.stateNode=n,oi=t,ai=null,e=!0):e=!1),e||di(t)),null;case 13:return $s(e,t,n);case 4:return H(t,t.stateNode.containerInfo),i=t.pendingProps,null===e?t.child=is(t,null,i,n):js(e,t,i,n),t.child;case 11:return As(e,t,t.type,t.pendingProps,n);case 7:return js(e,t,t.pendingProps,n),t.child;case 8:case 12:return js(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,ki(0,t.type,i.value),js(e,t,i.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,Ti(t),i=i(o=Pi(o)),t.flags|=1,js(e,t,i,n),t.child;case 14:return Os(e,t,t.type,t.pendingProps,n);case 15:return Ls(e,t,t.type,t.pendingProps,n);case 19:return Ys(e,t,n);case 31:return i=t.pendingProps,n=t.mode,i={mode:i.mode,children:i.children},null===e?((n=Hs(i,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Ur(e.child,i)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Rs(e,t,n);case 24:return Ti(t),i=Pi(Ri),null===e?(null===(o=$i())&&(o=au,a=Ni(),o.pooledCache=a,a.refCount++,null!==a&&(o.pooledCacheLanes|=n),o=a),t.memoizedState={parent:i,cache:o},io(t),ki(0,Ri,o)):(0!==(e.lanes&n)&&(oo(e,t),po(t,null,null,n),fo()),o=e.memoizedState,a=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),ki(0,Ri,i)):(i=a.cache,ki(0,Ri,i),i!==o.cache&&_i(t,[Ri],n,!0))),js(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function el(e){e.flags|=4}function tl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!$d(t)){if(null!==(t=as.current)&&((4194048&lu)===lu?null!==ss:(62914560&lu)!==lu&&!(536870912&lu)||t!==ss))throw eo=Yi,Qi;e.flags|=8192}}function nl(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ee():536870912,e.lanes|=t,wu|=t)}function rl(e,t){if(!si)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function il(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=65011712&i.subtreeFlags,r|=65011712&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ol(e,t,n){var i=t.pendingProps;switch(ii(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return il(t),null;case 3:return n=t.stateNode,i=null,null!==e&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Si(Ri),K(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(hi(t)?el(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,gi())),il(t),null;case 26:return n=t.memoizedState,null===e?(el(t),null!==n?(il(t),tl(t,n)):(il(t),t.flags&=-16777217)):n?n!==e.memoizedState?(el(t),il(t),tl(t,n)):(il(t),t.flags&=-16777217):(e.memoizedProps!==i&&el(t),il(t),t.flags&=-16777217),null;case 27:Y(t),n=B.current;var o=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==i&&el(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return il(t),null}e=q.current,hi(t)?fi(t):(e=xd(o,i,n),t.stateNode=e,el(t))}return il(t),null;case 5:if(Y(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==i&&el(t);else{if(!i){if(null===t.stateNode)throw Error(r(166));return il(t),null}if(e=q.current,hi(t))fi(t);else{switch(o=ad(B.current),e){case 1:e=o.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=o.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof i.is?o.createElement("select",{is:i.is}):o.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e="string"==typeof i.is?o.createElement(n,{is:i.is}):o.createElement(n)}}e[Re]=t,e[Ne]=i;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)e.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(rd(e,n,i),n){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&el(t)}}return il(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==i&&el(t);else{if("string"!=typeof i&&null===t.stateNode)throw Error(r(166));if(e=B.current,hi(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,null!==(o=oi))switch(o.tag){case 27:case 5:i=o.memoizedProps}e[Re]=t,(e=!!(e.nodeValue===n||null!==i&&!0===i.suppressHydrationWarning||Zc(e.nodeValue,n)))||di(t)}else(e=ad(e).createTextNode(i))[Re]=t,t.stateNode=e}return il(t),null;case 13:if(i=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=hi(t),null!==i&&null!==i.dehydrated){if(null===e){if(!o)throw Error(r(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(r(317));o[Re]=t}else vi(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;il(t),o=!1}else o=gi(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(ds(t),t):(ds(t),null)}if(ds(t),128&t.flags)return t.lanes=n,t;if(n=null!==i,e=null!==e&&null!==e.memoizedState,n){o=null,null!==(i=t.child).alternate&&null!==i.alternate.memoizedState&&null!==i.alternate.memoizedState.cachePool&&(o=i.alternate.memoizedState.cachePool.pool);var a=null;null!==i.memoizedState&&null!==i.memoizedState.cachePool&&(a=i.memoizedState.cachePool.pool),a!==o&&(i.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),nl(t,t.updateQueue),il(t),null;case 4:return K(),null===e&&Bc(t.stateNode.containerInfo),il(t),null;case 10:return Si(t.type),il(t),null;case 19:if(F(fs),null===(o=t.memoizedState))return il(t),null;if(i=!!(128&t.flags),null===(a=o.rendering))if(i)rl(o,!1);else{if(0!==vu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=ps(e))){for(t.flags|=128,rl(o,!1),e=a.updateQueue,t.updateQueue=e,nl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)qr(n,e),n=n.sibling;return U(fs,1&fs.current|2),t.child}e=e.sibling}null!==o.tail&&re()>Eu&&(t.flags|=128,i=!0,rl(o,!1),t.lanes=4194304)}else{if(!i)if(null!==(e=ps(a))){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,nl(t,e),rl(o,!0),null===o.tail&&"hidden"===o.tailMode&&!a.alternate&&!si)return il(t),null}else 2*re()-o.renderingStartTime>Eu&&536870912!==n&&(t.flags|=128,i=!0,rl(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(null!==(e=o.last)?e.sibling=a:t.child=a,o.last=a)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,e=fs.current,U(fs,i?1&e|2:1&e),t):(il(t),null);case 22:case 23:return ds(t),wo(),i=null!==t.memoizedState,null!==e?null!==e.memoizedState!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?!!(536870912&n)&&!(128&t.flags)&&(il(t),6&t.subtreeFlags&&(t.flags|=8192)):il(t),null!==(n=t.updateQueue)&&nl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),i=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),null!==e&&F(Bi),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Si(Ri),il(t),null;case 25:case 30:return null}throw Error(r(156,t.tag))}function al(e,t){switch(ii(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Si(Ri),K(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Y(t),null;case 13:if(ds(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));vi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return F(fs),null;case 4:return K(),null;case 10:return Si(t.type),null;case 22:case 23:return ds(t),wo(),null!==e&&F(Bi),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Si(Ri),null;default:return null}}function sl(e,t){switch(ii(t),t.tag){case 3:Si(Ri),K();break;case 26:case 27:case 5:Y(t);break;case 4:K();break;case 13:ds(t);break;case 19:F(fs);break;case 10:Si(t.type);break;case 22:case 23:ds(t),wo(),null!==e&&F(Bi);break;case 24:Si(Ri)}}function ll(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;if(null!==r){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var o=n.create,a=n.inst;r=o(),a.destroy=r}n=n.next}while(n!==i)}}catch(s){pc(t,t.return,s)}}function ul(e,t,n){try{var r=t.updateQueue,i=null!==r?r.lastEffect:null;if(null!==i){var o=i.next;r=o;do{if((r.tag&e)===e){var a=r.inst,s=a.destroy;if(void 0!==s){a.destroy=void 0,i=t;var l=n,u=s;try{u()}catch(c){pc(i,l,c)}}}r=r.next}
vendor: 4,333 bytes, line 11
11while(r!==o)}}catch(c){pc(t,t.return,c)}}function cl(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{vo(t,n)}catch(r){pc(e,e.return,r)}}}function dl(e,t,n){n.props=ys(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){pc(e,t,r)}}function fl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(i){pc(e,t,i)}}function pl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(i){pc(e,t,i)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(o){pc(e,t,o)}else n.current=null}function hl(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(i){pc(e,e.return,i)}}function vl(e,t,n){try{var i=e.stateNode;!function(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,a=null,s=null,l=null,u=null,c=null,d=null;for(h in n){var f=n[h];if(n.hasOwnProperty(h)&&null!=f)switch(h){case"checked":case"value":break;case"defaultValue":u=f;default:i.hasOwnProperty(h)||td(e,t,h,null,i,f)}}for(var p in i){var h=i[p];if(f=n[p],i.hasOwnProperty(p)&&(null!=h||null!=f))switch(p){case"type":a=h;break;case"name":o=h;break;case"checked":c=h;break;case"defaultChecked":d=h;break;case"value":s=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(r(137,t));break;default:h!==f&&td(e,t,p,h,i,f)}}return void yt(e,s,l,u,c,d,a,o);case"select":for(a in h=s=l=p=null,n)if(u=n[a],n.hasOwnProperty(a)&&null!=u)switch(a){case"value":break;case"multiple":h=u;default:i.hasOwnProperty(a)||td(e,t,a,null,i,u)}for(o in i)if(a=i[o],u=n[o],i.hasOwnProperty(o)&&(null!=a||null!=u))switch(o){case"value":p=a;break;case"defaultValue":l=a;break;case"multiple":s=a;default:a!==u&&td(e,t,o,a,i,u)}return t=l,n=s,i=h,void(null!=p?kt(e,!!n,p,!1):!!i!=!!n&&(null!=t?kt(e,!!n,t,!0):kt(e,!!n,n?[]:"",!1)));case"textarea":for(l in h=p=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!i.hasOwnProperty(l))switch(l){case"value":case"children":break;default:td(e,t,l,null,i,o)}for(s in i)if(o=i[s],a=n[s],i.hasOwnProperty(s)&&(null!=o||null!=a))switch(s){case"value":p=o;break;case"defaultValue":h=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(r(91));break;default:o!==a&&td(e,t,s,o,i,a)}return void St(e,p,h);case"option":for(var v in n)if(p=n[v],n.hasOwnProperty(v)&&null!=p&&!i.hasOwnProperty(v))if("selected"===v)e.selected=!1;else td(e,t,v,null,i,p);for(u in i)if(p=i[u],h=n[u],i.hasOwnProperty(u)&&p!==h&&(null!=p||null!=h))if("selected"===u)e.selected=p&&"function"!=typeof p&&"symbol"!=typeof p;else td(e,t,u,p,i,h);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)p=n[g],n.hasOwnProperty(g)&&null!=p&&!i.hasOwnProperty(g)&&td(e,t,g,null,i,p);for(c in i)if(p=i[c],h=n[c],i.hasOwnProperty(c)&&p!==h&&(null!=p||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(r(137,t));break;default:td(e,t,c,p,i,h)}return;default:if(Pt(t)){for(var m in n)p=n[m],n.hasOwnProperty(m)&&void 0!==p&&!i.hasOwnProperty(m)&&nd(e,t,m,void 0,i,p);for(d in i)p=i[d],h=n[d],!i.hasOwnProperty(d)||p===h||void 0===p&&void 0===h||nd(e,t,d,p,i,h);return}}for(var y in n)p=n[y],n.hasOwnProperty(y)&&null!=p&&!i.hasOwnProperty(y)&&td(e,t,y,null,i,p);for(f in i)p=i[f],h=n[f],!i.hasOwnProperty(f)||p===h||null==p&&null==h||td(e,t,f,p,i,h)}(i,e.type,n,t),i[Ne]=t}catch(o){pc(e,e.return,o)}}function gl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&gd(e.type)||4===e.tag}function ml(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||gl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&gd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function yl(e,t,n){var r=e.tag;
vendor: 32,784 bytes, line 11
11if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ed));else if(4!==r&&(27===r&&gd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(yl(e,t,n),e=e.sibling;null!==e;)yl(e,t,n),e=e.sibling}function bl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&gd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(bl(e,t,n),e=e.sibling;null!==e;)bl(e,t,n),e=e.sibling}function wl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);rd(t,r,n),t[Re]=e,t[Ne]=n}catch(o){pc(e,e.return,o)}}var kl=!1,Sl=!1,xl=!1,_l="function"==typeof WeakSet?WeakSet:Set,El=null;function Cl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Fl(e,n),4&r&&ll(5,n);break;case 1:if(Fl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(a){pc(n,n.return,a)}else{var i=ys(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){pc(n,n.return,s)}}64&r&&cl(n),512&r&&fl(n,n.return);break;case 3:if(Fl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{vo(e,t)}catch(a){pc(n,n.return,a)}}break;case 27:null===t&&4&r&&wl(n);case 26:case 5:Fl(e,n),null===t&&4&r&&hl(n),512&r&&fl(n,n.return);break;case 12:Fl(e,n);break;case 13:Fl(e,n),4&r&&Ol(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=mc.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||kl)){t=null!==t&&null!==t.memoizedState||Sl,i=kl;var o=Sl;kl=r,(Sl=t)&&!o?Vl(e,n,!!(8772&n.subtreeFlags)):Fl(e,n),kl=i,Sl=o}break;case 30:break;default:Fl(e,n)}}function Tl(e){var t=e.alternate;null!==t&&(e.alternate=null,Tl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&Ve(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Pl=null,Il=!1;function jl(e,t,n){for(n=n.child;null!==n;)Al(e,t,n),n=n.sibling}function Al(e,t,n){if(pe&&"function"==typeof pe.onCommitFiberUnmount)try{pe.onCommitFiberUnmount(fe,n)}catch(o){}switch(n.tag){case 26:Sl||pl(n,t),jl(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Sl||pl(n,t);var r=Pl,i=Il;gd(n.type)&&(Pl=n.stateNode,Il=!1),jl(e,t,n),_d(n.stateNode),Pl=r,Il=i;break;case 5:Sl||pl(n,t);case 6:if(r=Pl,i=Il,Pl=null,jl(e,t,n),Il=i,null!==(Pl=r))if(Il)try{(9===Pl.nodeType?Pl.body:"HTML"===Pl.nodeName?Pl.ownerDocument.body:Pl).removeChild(n.stateNode)}catch(a){pc(n,t,a)}else try{Pl.removeChild(n.stateNode)}catch(a){pc(n,t,a)}break;case 18:null!==Pl&&(Il?(md(9===(e=Pl).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Af(e)):md(Pl,n.stateNode));break;case 4:r=Pl,i=Il,Pl=n.stateNode.containerInfo,Il=!0,jl(e,t,n),Pl=r,Il=i;break;case 0:case 11:case 14:case 15:Sl||ul(2,n,t),Sl||ul(4,n,t),jl(e,t,n);break;case 1:Sl||(pl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&dl(n,t,r)),jl(e,t,n);break;case 21:jl(e,t,n);break;case 22:Sl=(r=Sl)||null!==n.memoizedState,jl(e,t,n),Sl=r;break;default:jl(e,t,n)}}function Ol(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Af(e)}catch(n){pc(t,t.return,n)}}function Ll(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new _l),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new _l),t;default:throw Error(r(435,e.tag))}}(e);t.forEach(function(t){var r=yc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function Rl(e,t){var n=t.deletions;if(null!==n)for(var i=0;i<n.length;i++){var o=n[i],a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(gd(l.type)){Pl=l.stateNode,Il=!1;break e}break;case 5:Pl=l.stateNode,Il=!1;break e;case 3:case 4:Pl=l.stateNode.containerInfo,Il=!0;break e}l=l.return}if(null===Pl)throw Error(r(160));Al(a,s,o),Pl=null,Il=!1,null!==(a=o.alternate)&&(a.return=null),o.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)Dl(t,e),t=t.sibling}var Nl=null;function Dl(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Rl(t,e),zl(e),4&i&&(ul(3,e,e.return),ll(3,e),ul(5,e,e.return));break;case 1:Rl(t,e),zl(e),512&i&&(Sl||null===n||pl(n,n.return)),64&i&&kl&&(null!==(e=e.updateQueue)&&(null!==(i=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?i:n.concat(i))));break;case 26:var o=Nl;if(Rl(t,e),zl(e),512&i&&(Sl||null===n||pl(n,n.return)),4&i){var a=null!==n?n.memoizedState:null;if(i=e.memoizedState,null===n)if(null===i)if(null===e.stateNode){e:{i=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(i){case"title":(!(a=o.getElementsByTagName("title")[0])||a[qe]||a[Re]||"http://www.w3.org/2000/svg"===a.namespaceURI||a.hasAttribute("itemprop"))&&(a=o.createElement(i),o.head.insertBefore(a,o.querySelector("head > title"))),rd(a,i,n),a[Re]=e,Ke(a),i=a;break e;case"link":var s=Vd("link","href",o).get(i+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((a=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&a.getAttribute("rel")===(null==n.rel?null:n.rel)&&a.getAttribute("title")===(null==n.title?null:n.title)&&a.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}rd(a=o.createElement(i),i,n),o.head.appendChild(a);break;case"meta":if(s=Vd("meta","content",o).get(i+(n.content||"")))for(l=0;l<s.length;l++)if((a=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&a.getAttribute("name")===(null==n.name?null:n.name)&&a.getAttribute("property")===(null==n.property?null:n.property)&&a.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&a.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}rd(a=o.createElement(i),i,n),o.head.appendChild(a);break;default:throw Error(r(468,i))}a[Re]=e,Ke(a),i=a}e.stateNode=i}else Bd(o,e.type,e.stateNode);else e.stateNode=zd(o,i,e.memoizedProps);else a!==i?(null===a?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):a.count--,null===i?Bd(o,e.type,e.stateNode):zd(o,i,e.memoizedProps)):null===i&&null!==e.stateNode&&vl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Rl(t,e),zl(e),512&i&&(Sl||null===n||pl(n,n.return)),null!==n&&4&i&&vl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Rl(t,e),zl(e),512&i&&(Sl||null===n||pl(n,n.return)),32&e.flags){o=e.stateNode;try{_t(o,"")}catch(h){pc(e,e.return,h)}}4&i&&null!=e.stateNode&&vl(e,o=e.memoizedProps,null!==n?n.memoizedProps:o),1024&i&&(xl=!0);break;case 6:if(Rl(t,e),zl(e),4&i){if(null===e.stateNode)throw Error(r(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(h){pc(e,e.return,h)}}break;case 3:if(qd=null,o=Nl,Nl=Td(t.containerInfo),Rl(t,e),Nl=o,zl(e),4&i&&null!==n&&n.memoizedState.isDehydrated)try{Af(t.containerInfo)}catch(h){pc(e,e.return,h)}xl&&(xl=!1,Ml(e));break;case 4:i=Nl,Nl=Td(e.stateNode.containerInfo),Rl(t,e),zl(e),Nl=i;break;case 12:default:Rl(t,e),zl(e);break;case 13:Rl(t,e),zl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(_u=re()),4&i&&(null!==(i=e.updateQueue)&&(e.updateQueue=null,Ll(e,i)));break;case 22:o=null!==e.memoizedState;var u=null!==n&&null!==n.memoizedState,c=kl,d=Sl;if(kl=c||o,Sl=d||u,Rl(t,e),Sl=d,kl=c,zl(e),8192&i)e:for(t=e.stateNode,t._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===n||u||kl||Sl||ql(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){u=n=t;try{if(a=u.stateNode,o)"function"==typeof(s=a.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=u.stateNode;var f=u.memoizedProps.style,p=null!=f&&f.hasOwnProperty("display")?f.display:null;l.style.display=null==p||"boolean"==typeof p?"":(""+p).trim()}}catch(h){pc(u,u.return,h)}}}else if(6===t.tag){if(null===n){u=t;try{u.stateNode.nodeValue=o?"":u.memoizedProps}catch(h){pc(u,u.return,h)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&i&&(null!==(i=e.updateQueue)&&(null!==(n=i.retryQueue)&&(i.retryQueue=null,Ll(e,n))));break;case 19:Rl(t,e),zl(e),4&i&&(null!==(i=e.updateQueue)&&(e.updateQueue=null,Ll(e,i)));case 30:case 21:}}function zl(e){var t=e.flags;if(2&t){try{for(var n,i=e.return;null!==i;){if(gl(i)){n=i;break}i=i.return}if(null==n)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode;bl(e,ml(e),o);break;case 5:var a=n.stateNode;32&n.flags&&(_t(a,""),n.flags&=-33),bl(e,ml(e),a);break;case 3:case 4:var s=n.stateNode.containerInfo;yl(e,ml(e),s);break;default:throw Error(r(161))}}catch(l){pc(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Ml(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Ml(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Fl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Cl(e,t.alternate,t),t=t.sibling}function ql(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:ul(4,t,t.return),ql(t);break;case 1:pl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&dl(t,t.return,n),ql(t);break;case 27:_d(t.stateNode);case 26:case 5:pl(t,t.return),ql(t);break;case 22:null===t.memoizedState&&ql(t);break;default:ql(t)}e=e.sibling}}function Vl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,i=e,o=t,a=o.flags;switch(o.tag){case 0:case 11:case 15:Vl(i,o,n),ll(4,o);break;case 1:if(Vl(i,o,n),"function"==typeof(i=(r=o).stateNode).componentDidMount)try{i.componentDidMount()}catch(u){pc(r,r.return,u)}if(null!==(i=(r=o).updateQueue)){var s=r.stateNode;try{var l=i.shared.hiddenCallbacks;if(null!==l)for(i.shared.hiddenCallbacks=null,i=0;i<l.length;i++)ho(l[i],s)}catch(u){pc(r,r.return,u)}}n&&64&a&&cl(o),fl(o,o.return);break;case 27:wl(o);case 26:case 5:Vl(i,o,n),n&&null===r&&4&a&&hl(o),fl(o,o.return);break;case 12:Vl(i,o,n);break;case 13:Vl(i,o,n),n&&4&a&&Ol(i,o);break;case 22:null===o.memoizedState&&Vl(i,o,n),fl(o,o.return);break;case 30:break;default:Vl(i,o,n)}t=t.sibling}}function Bl(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Di(n))}function $l(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e))}function Wl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Hl(e,t,n,r),t=t.sibling}function Hl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Wl(e,t,n,r),2048&i&&ll(9,t);break;case 1:case 13:default:Wl(e,t,n,r);break;case 3:Wl(e,t,n,r),2048&i&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Di(e)));break;case 12:if(2048&i){Wl(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,a=o.id,s=o.onPostCommit;"function"==typeof s&&s(a,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){pc(t,t.return,l)}}else Wl(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,a=t.alternate,null!==t.memoizedState?2&o._visibility?Wl(e,t,n,r):Ql(e,t):2&o._visibility?Wl(e,t,n,r):(o._visibility|=2,Kl(e,t,n,r,!!(10256&t.subtreeFlags))),2048&i&&Bl(a,t);break;case 24:Wl(e,t,n,r),2048&i&&$l(t.alternate,t)}}function Kl(e,t,n,r,i){for(i=i&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var o=e,a=t,s=n,l=r,u=a.flags;switch(a.tag){case 0:case 11:case 15:Kl(o,a,s,l,i),ll(8,a);break;case 23:break;case 22:var c=a.stateNode;null!==a.memoizedState?2&c._visibility?Kl(o,a,s,l,i):Ql(o,a):(c._visibility|=2,Kl(o,a,s,l,i)),i&&2048&u&&Bl(a.alternate,a);break;case 24:Kl(o,a,s,l,i),i&&2048&u&&$l(a.alternate,a);break;default:Kl(o,a,s,l,i)}t=t.sibling}}function Ql(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Ql(n,r),2048&i&&Bl(r.alternate,r);break;case 24:Ql(n,r),2048&i&&$l(r.alternate,r);break;default:Ql(n,r)}t=t.sibling}}var Gl=8192;function Yl(e){if(e.subtreeFlags&Gl)for(e=e.child;null!==e;)Jl(e),e=e.sibling}function Jl(e){switch(e.tag){case 26:Yl(e),e.flags&Gl&&null!==e.memoizedState&&function(e,t,n){if(null===Wd)throw Error(r(475));var i=Wd;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var o=Od(n.href),a=e.querySelector(Ld(o));if(a)return null!==(e=a._p)&&"object"==typeof e&&"function"==typeof e.then&&(i.count++,i=Kd.bind(i),e.then(i,i)),t.state.loading|=4,t.instance=a,void Ke(a);a=e.ownerDocument||e,n=Rd(n),(o=Ed.get(o))&&Fd(n,o),Ke(a=a.createElement("link"));var s=a;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),rd(a,"link",n),t.instance=a}null===i.stylesheets&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(i.count++,t=Kd.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}(Nl,e.memoizedState,e.memoizedProps);break;case 5:default:Yl(e);break;case 3:case 4:var t=Nl;Nl=Td(e.stateNode.containerInfo),Yl(e),Nl=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Gl,Gl=16777216,Yl(e),Gl=t):Yl(e))}}function Xl(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Zl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];El=r,nu(r,e)}Xl(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)eu(e),e=e.sibling}function eu(e){switch(e.tag){case 0:case 11:case 15:Zl(e),2048&e.flags&&ul(9,e,e.return);break;case 3:case 12:default:Zl(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,tu(e)):Zl(e)}}function tu(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];El=r,nu(r,e)}Xl(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:ul(8,t,t.return),tu(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,tu(t));break;default:tu(t)}e=e.sibling}}function nu(e,t){for(;null!==El;){var n=El;switch(n.tag){case 0:case 11:case 15:ul(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Di(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,El=r;else e:for(n=e;null!==El;){var i=(r=El).sibling,o=r.return;if(Tl(r),r===n){El=null;break e}if(null!==i){i.return=o,El=i;break e}El=o}}}var ru={getCacheForType:function(e){var t=Pi(Ri),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},iu="function"==typeof WeakMap?WeakMap:Map,ou=0,au=null,su=null,lu=0,uu=0,cu=null,du=!1,fu=!1,pu=!1,hu=0,vu=0,gu=0,mu=0,yu=0,bu=0,wu=0,ku=null,Su=null,xu=!1,_u=0,Eu=1/0,Cu=null,Tu=null,Pu=0,Iu=null,ju=null,Au=0,Ou=0,Lu=null,Ru=null,Nu=0,Du=null;function zu(){if(2&ou&&0!==lu)return lu&-lu;if(null!==L.T){return 0!==Fi?Fi:Oc()}return Oe()}function Mu(){0===bu&&(bu=536870912&lu&&!si?536870912:_e());var e=as.current;return null!==e&&(e.flags|=32),bu}function Fu(e,t,n){(e!==au||2!==uu&&9!==uu)&&null===e.cancelPendingCommit||(Hu(e,0),Bu(e,lu,bu,!1)),Te(e,n),2&ou&&e===au||(e===au&&(!(2&ou)&&(mu|=n),4===vu&&Bu(e,lu,bu,!1)),Ec(e))}function Uu(e,t,n){if(6&ou)throw Error(r(327));for(var i=!n&&!(124&t)&&0===(t&e.expiredLanes)||Se(e,t),o=i?function(e,t){var n=ou;ou|=2;var i=Qu(),o=Gu();au!==e||lu!==t?(Cu=null,Eu=re()+500,Hu(e,t)):fu=Se(e,t);e:for(;;)try{if(0!==uu&&null!==su){t=su;var a=cu;t:switch(uu){case 1:uu=0,cu=null,nc(e,t,a,1);break;case 2:case 9:if(Ji(a)){uu=0,cu=null,tc(t);break}t=function(){2!==uu&&9!==uu||au!==e||(uu=7),Ec(e)},a.then(t,t);break e;case 3:uu=7;break e;case 4:uu=5;break e;case 7:Ji(a)?(uu=0,cu=null,tc(t)):(uu=0,cu=null,nc(e,t,a,7));break;case 5:var s=null;switch(su.tag){case 26:s=su.memoizedState;case 5:case 27:var l=su;if(!s||$d(s)){uu=0,cu=null;var u=l.sibling;if(null!==u)su=u;else{var c=l.return;null!==c?(su=c,rc(c)):su=null}break t}}uu=0,cu=null,nc(e,t,a,5);break;case 6:uu=0,cu=null,nc(e,t,a,6);break;case 8:Wu(),vu=6;break e;default:throw Error(r(462))}}Zu();break}catch(d){Ku(e,d)}return wi=bi=null,L.H=i,L.A=o,ou=n,null!==su?0:(au=null,lu=0,jr(),vu)}(e,t):Ju(e,t,!0),a=i;;){if(0===o){fu&&!i&&Bu(e,t,0,!1);break}if(n=e.current.alternate,!a||Vu(n)){if(2===o){if(a=t,e.errorRecoveryDisabledLanes&a)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=ku;var u=l.current.memoizedState.isDehydrated;if(u&&(Hu(l,s).flags|=256),2!==(s=Ju(l,s,!1))){if(pu&&!u){l.errorRecoveryDisabledLanes|=a,mu|=a,o=4;break e}a=Su,Su=o,null!==a&&(null===Su?Su=a:Su.push.apply(Su,a))}o=s}if(a=!1,2!==o)continue}}if(1===o){Hu(e,0),Bu(e,t,0,!0);break}e:{switch(i=e,a=o){case 0:case 1:throw Error(r(345));case 4:if((4194048&t)!==t)break;case 6:Bu(i,t,bu,!du);break e;case 2:Su=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&t)===t&&10<(o=_u+300-re())){if(Bu(i,t,bu,!du),0!==ke(i,0,!0))break e;i.timeoutHandle=dd(qu.bind(null,i,n,Su,Cu,xu,t,bu,mu,wu,du,a,2,-0,0),o)}else qu(i,n,Su,Cu,xu,t,bu,mu,wu,du,a,0,-0,0)}break}o=Ju(e,t,!1),a=!1}Ec(e)}function qu(e,t,n,i,o,a,s,l,u,c,d,f,p,h){if(e.timeoutHandle=-1,(8192&(f=t.subtreeFlags)||!(16785408&~f))&&(Wd={stylesheets:null,count:0,unsuspend:Hd},Jl(t),null!==(f=function(){if(null===Wd)throw Error(r(475));var e=Wd;return e.stylesheets&&0===e.count&&Gd(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Gd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=f(oc.bind(null,e,t,a,n,i,o,s,l,u,d,1,p,h)),void Bu(e,a,s,!c);oc(e,t,a,n,i,o,s,l,u)}function Vu(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Jn(o(),i))return!1}catch(a){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Bu(e,t,n,r){t&=~yu,t&=~mu,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var o=31-ve(i),a=1<<o;r[o]=-1,i&=~a}0!==n&&Pe(e,n,t)}function $u(){return!!(6&ou)||(Cc(0),!1)}function Wu(){if(null!==su){if(0===uu)var e=su.return;else wi=bi=null,Uo(e=su),Ja=null,Xa=0,e=su;for(;null!==e;)sl(e.alternate,e),e=e.return;su=null}}function Hu(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,fd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Wu(),au=e,su=n=Ur(e.current,null),lu=t,uu=0,cu=null,du=!1,fu=Se(e,t),pu=!1,wu=bu=yu=mu=gu=vu=0,Su=ku=null,xu=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var i=31-ve(r),o=1<<i;t|=e[i],r&=~o}return hu=t,jr(),n}function Ku(e,t){So=null,L.H=Ka,t===Ki||t===Gi?(t=to(),uu=3):t===Qi?(t=to(),uu=4):uu=t===Ps?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,cu=t,null===su&&(vu=1,xs(e,Cr(t,e.current)))}function Qu(){var e=L.H;return L.H=Ka,null===e?Ka:e}function Gu(){var e=L.A;return L.A=ru,e}function Yu(){vu=4,du||(4194048&lu)!==lu&&null!==as.current||(fu=!0),!(134217727&gu)&&!(134217727&mu)||null===au||Bu(au,lu,bu,!1)}function Ju(e,t,n){var r=ou;ou|=2;var i=Qu(),o=Gu();au===e&&lu===t||(Cu=null,Hu(e,t)),t=!1;var a=vu;e:for(;;)try{if(0!==uu&&null!==su){var s=su,l=cu;switch(uu){case 8:Wu(),a=6;break e;case 3:case 2:case 9:case 6:null===as.current&&(t=!0);var u=uu;if(uu=0,cu=null,nc(e,s,l,u),n&&fu){a=0;break e}break;default:u=uu,uu=0,cu=null,nc(e,s,l,u)}}Xu(),a=vu;break}catch(c){Ku(e,c)}return t&&e.shellSuspendCounter++,wi=bi=null,ou=r,L.H=i,L.A=o,null===su&&(au=null,lu=0,jr()),a}function Xu(){for(;null!==su;)ec(su)}function Zu(){for(;null!==su&&!te();)ec(su)}function ec(e){var t=Zs(e.alternate,e,hu);e.memoizedProps=e.pendingProps,null===t?rc(e):su=t}function tc(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Ms(n,t,t.pendingProps,t.type,void 0,lu);break;case 11:t=Ms(n,t,t.pendingProps,t.type.render,t.ref,lu);break;case 5:Uo(t);default:sl(n,t),t=Zs(n,t=su=qr(t,hu),hu)}e.memoizedProps=e.pendingProps,null===t?rc(e):su=t}function nc(e,t,n,i){wi=bi=null,Uo(t),Ja=null,Xa=0;var o=t.return;try{if(function(e,t,n,i,o){if(n.flags|=32768,null!==i&&"object"==typeof i&&"function"==typeof i.then){if(null!==(t=n.alternate)&&Ei(t,n,o,!0),null!==(n=as.current)){switch(n.tag){case 13:return null===ss?Yu():null===n.alternate&&0===vu&&(vu=3),n.flags&=-257,n.flags|=65536,n.lanes=o,i===Yi?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([i]):t.add(i),hc(e,i,o)),!1;case 22:return n.flags|=65536,i===Yi?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([i]):n.add(i),hc(e,i,o)),!1}throw Error(r(435,n.tag))}return hc(e,i,o),Yu(),!1}if(si)return null!==(t=as.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==ci&&mi(Cr(e=Error(r(422),{cause:i}),n))):(i!==ci&&mi(Cr(t=Error(r(423),{cause:i}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,i=Cr(i,n),uo(e,o=Es(e.stateNode,i,o)),4!==vu&&(vu=2)),!1;var a=Error(r(520),{cause:i});if(a=Cr(a,n),null===ku?ku=[a]:ku.push(a),4!==vu&&(vu=2),null===t)return!0;i=Cr(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,uo(n,e=Es(n.stateNode,i,e)),!1;case 1:if(t=n.type,a=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===a||"function"!=typeof a.componentDidCatch||null!==Tu&&Tu.has(a))))return n.flags|=65536,o&=-o,n.lanes|=o,Ts(o=Cs(o),e,n,i),uo(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,lu))return vu=1,xs(e,Cr(n,e.current)),void(su=null)}catch(a){if(null!==o)throw su=o,a;return vu=1,xs(e,Cr(n,e.current)),void(su=null)}32768&t.flags?(si||1===i?e=!0:fu||536870912&lu?e=!1:(du=e=!0,(2===i||9===i||3===i||6===i)&&(null!==(i=as.current)&&13===i.tag&&(i.flags|=16384))),ic(t,e)):rc(t)}function rc(e){var t=e;do{if(32768&t.flags)return void ic(t,du);e=t.return;var n=ol(t.alternate,t,hu);if(null!==n)return void(su=n);if(null!==(t=t.sibling))return void(su=t);su=t=e}while(null!==t);0===vu&&(vu=5)}function ic(e,t){do{var n=al(e.alternate,e);if(null!==n)return n.flags&=32767,void(su=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(su=e);su=e=n}while(null!==e);vu=6,su=null}function oc(e,t,n,i,o,a,s,l,u){e.cancelPendingCommit=null;do{cc()}while(0!==Pu);if(6&ou)throw Error(r(327));if(null!==t){if(t===e.current)throw Error(r(177));if(a=t.lanes|t.childLanes,function(e,t,n,r,i,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,u=e.hiddenUpdates;for(n=a&~n;0<n;){var c=31-ve(n),d=1<<c;s[c]=0,l[c]=-1;var f=u[c];if(null!==f)for(u[c]=null,c=0;c<f.length;c++){var p=f[c];null!==p&&(p.lane&=-536870913)}n&=~d}0!==r&&Pe(e,r,0),0!==o&&0===i&&0!==e.tag&&(e.suspendedLanes|=o&~(a&~t))}(e,n,a|=Ir,s,l,u),e===au&&(su=au=null,lu=0),ju=t,Iu=e,Au=n,Ou=a,Lu=o,Ru=i,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,Z(se,function(){return dc(),null})):(e.callbackNode=null,e.callbackPriority=0),i=!!(13878&t.flags),13878&t.subtreeFlags||i){i=L.T,L.T=null,o=R.p,R.p=2,s=ou,ou|=4;try{!function(e,t){if(e=e.containerInfo,id=af,rr(e=nr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var i=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(i&&0!==i.rangeCount){n=i.anchorNode;var o=i.anchorOffset,a=i.focusNode;i=i.focusOffset;try{n.nodeType,a.nodeType}catch(g){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==i&&3!==f.nodeType||(u=s+i),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(l=s),p===a&&++d===i&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(od={focusedElem:e,selectionRange:n},af=!1,El=t;null!==El;)if(e=(t=El).child,1024&t.subtreeFlags&&null!==e)e.return=t,El=e;else for(;null!==El;){switch(a=(t=El).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==a){e=void 0,n=t,o=a.memoizedProps,a=a.memoizedState,i=n.stateNode;try{var v=ys(n.type,o,(n.elementType,n.type));e=i.getSnapshotBeforeUpdate(v,a),i.__reactInternalSnapshotBeforeUpdate=e}catch(m){pc(n,n.return,m)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))yd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":yd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,El=e;break}El=t.return}}(e,t)}finally{ou=s,R.p=o,L.T=i}}Pu=1,ac(),sc(),lc()}}function ac(){if(1===Pu){Pu=0;var e=Iu,t=ju,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=L.T,L.T=null;var r=R.p;R.p=2;var i=ou;ou|=4;try{Dl(t,e);var o=od,a=nr(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(a!==s&&s&&s.ownerDocument&&tr(s.ownerDocument.documentElement,s)){if(null!==l&&rr(s)){var u=l.start,c=l.end;if(void 0===c&&(c=u),"selectionStart"in s)s.selectionStart=u,s.selectionEnd=Math.min(c,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),h=s.textContent.length,v=Math.min(l.start,h),g=void 0===l.end?v:Math.min(l.end,h);!p.extend&&v>g&&(a=g,g=v,v=a);var m=er(s,v),y=er(s,g);if(m&&y&&(1!==p.rangeCount||p.anchorNode!==m.node||p.anchorOffset!==m.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var b=d.createRange();b.setStart(m.node,m.offset),p.removeAllRanges(),v>g?(p.addRange(b),p.extend(y.node,y.offset)):(b.setEnd(y.node,y.offset),p.addRange(b))}}}}for(d=[],p=s;p=p.parentNode;)1===p.nodeType&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var w=d[s];w.element.scrollLeft=w.left,w.element.scrollTop=w.top}}af=!!id,od=id=null}finally{ou=i,R.p=r,L.T=n}}e.current=t,Pu=2}}function sc(){if(2===Pu){Pu=0;var e=Iu,t=ju,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=L.T,L.T=null;var r=R.p;R.p=2;var i=ou;ou|=4;try{Cl(e,t.alternate,t)}finally{ou=i,R.p=r,L.T=n}}Pu=3}}function lc(){if(4===Pu||3===Pu){Pu=0,ne();var e=Iu,t=ju,n=Au,r=Ru;10256&t.subtreeFlags||10256&t.flags?Pu=5:(Pu=0,ju=Iu=null,uc(e,e.pendingLanes));var i=e.pendingLanes;if(0===i&&(Tu=null),Ae(n),t=t.stateNode,pe&&"function"==typeof pe.onCommitFiberRoot)try{pe.onCommitFiberRoot(fe,t,void 0,!(128&~t.current.flags))}catch(l){}if(null!==r){t=L.T,i=R.p,R.p=2,L.T=null;try{for(var o=e.onRecoverableError,a=0;a<r.length;a++){var s=r[a];o(s.value,{componentStack:s.stack})}}finally{L.T=t,R.p=i}}3&Au&&cc(),Ec(e),i=e.pendingLanes,4194090&n&&42&i?e===Du?Nu++:(Nu=0,Du=e):Nu=0,Cc(0)}}function uc(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Di(t)))}function cc(e){return ac(),sc(),lc(),dc()}function dc(){if(5!==Pu)return!1;var e=Iu,t=Ou;Ou=0;var n=Ae(Au),i=L.T,o=R.p;try{R.p=32>n?32:n,L.T=null,n=Lu,Lu=null;var a=Iu,s=Au;if(Pu=0,ju=Iu=null,Au=0,6&ou)throw Error(r(331));var l=ou;if(ou|=4,eu(a.current),Hl(a,a.current,s,n),ou=l,Cc(0,!1),pe&&"function"==typeof pe.onPostCommitFiberRoot)try{pe.onPostCommitFiberRoot(fe,a)}catch(u){}return!0}finally{R.p=o,L.T=i,uc(e,t)}}function fc(e,t,n){t=Cr(n,t),null!==(e=so(e,t=Es(e.stateNode,t,2),2))&&(Te(e,2),Ec(e))}function pc(e,t,n){if(3===e.tag)fc(e,e,n);else for(;null!==t;){if(3===t.tag){fc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Tu||!Tu.has(r))){e=Cr(n,e),null!==(r=so(t,n=Cs(2),2))&&(Ts(n,r,t,e),Te(r,2),Ec(r));break}}t=t.return}}function hc(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new iu;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(pu=!0,i.add(n),e=vc.bind(null,e,t,n),t.then(e,e))}function vc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,au===e&&(lu&n)===n&&(4===vu||3===vu&&(62914560&lu)===lu&&300>re()-_u?!(2&ou)&&Hu(e,0):yu|=n,wu===lu&&(wu=0)),Ec(e)}function gc(e,t){0===t&&(t=Ee()),null!==(e=Lr(e,t))&&(Te(e,t),Ec(e))}function mc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),gc(e,n)}function yc(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==i&&i.delete(t),gc(e,n)}var bc=null,wc=null,kc=!1,Sc=!1,xc=!1,_c=0;function Ec(e){e!==wc&&null===e.next&&(null===wc?bc=wc=e:wc=wc.next=e),Sc=!0,kc||(kc=!0,hd(function(){6&ou?Z(oe,Tc):Pc()}))}function Cc(e,t){if(!xc&&Sc){xc=!0;do{for(var n=!1,r=bc;null!==r;){if(0!==e){var i=r.pendingLanes;if(0===i)var o=0;else{var a=r.suspendedLanes,s=r.pingedLanes;o=(1<<31-ve(42|e)+1)-1,o=201326741&(o&=i&~(a&~s))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,Ac(r,o))}else o=lu,!(3&(o=ke(r,r===au?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||Se(r,o)||(n=!0,Ac(r,o));r=r.next}}while(n);xc=!1}}function Tc(){Pc()}function Pc(){Sc=kc=!1;var e=0;0!==_c&&(function(){var e=window.event;if(e&&"popstate"===e.type)return e!==cd&&(cd=e,!0);return cd=null,!1}()&&(e=_c),_c=0);for(var t=re(),n=null,r=bc;null!==r;){var i=r.next,o=Ic(r,t);0===o?(r.next=null,null===n?bc=i:n.next=i,null===i&&(wc=n)):(n=r,(0!==e||3&o)&&(Sc=!0)),r=i}Cc(e)}function Ic(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var a=31-ve(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=xe(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(n=lu,n=ke(e,e===(t=au)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===uu||9===uu)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ee(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Se(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ee(r),Ae(n)){case 2:case 8:n=ae;break;case 32:default:n=se;break;case 268435456:n=ue}return r=jc.bind(null,e),n=Z(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ee(r),e.callbackPriority=2,e.callbackNode=null,2}function jc(e,t){if(0!==Pu&&5!==Pu)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(cc()&&e.callbackNode!==n)return null;var r=lu;return 0===(r=ke(e,e===au?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Uu(e,r,t),Ic(e,re()),null!=e.callbackNode&&e.callbackNode===n?jc.bind(null,e):null)}function Ac(e,t){if(cc())return null;Uu(e,t,!0)}function Oc(){return 0===_c&&(_c=_e()),_c}function Lc(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:At(""+e)}function Rc(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Nc=0;Nc<xr.length;Nc++){var Dc=xr[Nc];_r(Dc.toLowerCase(),"on"+(Dc[0].toUpperCase()+Dc.slice(1)))}_r(vr,"onAnimationEnd"),_r(gr,"onAnimationIteration"),_r(mr,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(yr,"onTransitionRun"),_r(br,"onTransitionStart"),_r(wr,"onTransitionCancel"),_r(kr,"onTransitionEnd"),Je("onMouseEnter",["mouseout","mouseover"]),Je("onMouseLeave",["mouseout","mouseover"]),Je("onPointerEnter",["pointerout","pointerover"]),Je("onPointerLeave",["pointerout","pointerover"]),Ye("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ye("onSelect","focusout contextmenu dragend focu
11sin keydown keyup mousedown mouseup selectionchange".split(" ")),Ye("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ye("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ye("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ye("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mc=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zc));function Fc(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=u;try{o(i)}catch(c){bs(c)}i.currentTarget=null,o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;o=s,i.currentTarget=u;try{o(i)}catch(c){bs(c)}i.currentTarget=null,o=l}}}}function Uc(e,t){var n=t[ze];void 0===n&&(n=t[ze]=new Set);var r=e+"__bubble";n.has(r)||($c(t,e,2,!1),n.add(r))}function qc(e,t,n){var r=0;t&&(r|=4),$c(n,e,r,t)}var Vc="_reactListening"+Math.random().toString(36).slice(2);function Bc(e){if(!e[Vc]){e[Vc]=!0,Qe.forEach(function(t){"selectionchange"!==t&&(Mc.has(t)||qc(t,!1,e),qc(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vc]||(t[Vc]=!0,qc("selectionchange",!1,t))}}function $c(e,t,n,r){switch(pf(t)){case 2:var i=sf;break;case 8:i=lf;break;default:i=uf}n=i.bind(null,t,n,e),i=void 0,!qt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Wc(e,t,n,r,i){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var l=r.stateNode.containerInfo;if(l===i)break;if(4===s)for(s=r.return;null!==s;){var u=s.tag;if((3===u||4===u)&&s.stateNode.containerInfo===i)return;s=s.return}for(;null!==l;){if(null===(s=Be(l)))return;if(5===(u=s.tag)||6===u||26===u||27===u){r=a=s;continue e}l=l.parentNode}}r=r.return}Mt(function(){var r=a,i=Lt(n),s=[];e:{var l=Sr.get(e);if(void 0!==l){var u=tn,c=e;switch(e){case"keypress":if(0===Kt(n))break e;case"keydown":case"keyup":u=mn;break;case"focusin":c="focus",u=ln;break;case"focusout":c="blur",u=ln;break;case"beforeblur":case"afterblur":u=ln;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=an;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=bn;break;case vr:case gr:case mr:u=un;break;case kr:u=wn;break;case"scroll":case"scrollend":u=rn;break;case"wheel":u=kn;break;case"copy":case"cut":case"paste":u=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=yn;break;case"toggle":case"beforetoggle":u=Sn}var d=!!(4&t),f=!d&&("scroll"===e||"scrollend"===e),p=d?null!==l?l+"Capture":null:l;d=[];for(var h,v=r;null!==v;){var g=v;if(h=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===h||null===p||null!=(g=Ft(v,p))&&d.push(Hc(v,g,h)),f)break;v=v.return}0<d.length&&(l=new u(l,c,null,n,i),s.push({event:l,listeners:d}))}}if(!(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Ot||!(c=n.relatedTarget||n.fromElement)||!Be(c)&&!c[De])&&(u||l)&&(l=i.window===i?i:(l=i.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?Be(c):null)&&(f=o(c),d=c.tag,c!==f||5!==d&&27!==d&&6!==d)&&(c=null)):(u=null,c=r),u!==c)){if(d=an,g="onMouseLeave",p="onMouseEnter",v="mouse","pointerout"!==e&&"pointerover"!==e||(d=yn,g="onPointerLeave",p="onPointerEnter",v="pointer"),f=null==u?l:We(u),h=null==c?l:We(c),(l=new d(g,v+"leave",u,n,i)).target=f,l.relatedTarget=h,g=null,Be(i)===r&&((d=new d(p,v+"enter",c,n,i)).target=h,d.relatedTarget=f,g=d),f=g,u&&c)e:{for(p=c,v=0,h=d=u;h;h=Qc(h))v++;for(h=0,g=p;g;g=Qc(g))h++;for(;0<v-h;)d=Qc(d),v--;for(;0<h-v;)p=Qc(p),h--;for(;v--;){if(d===p||null!==p&&d===p.alternate)break e;d=Qc(d),p=Qc(p)}d=null}else d=null;null!==u&&Gc(s,l,u,d,!1),null!==c&&null!==f&&Gc(s,f,c,d,!0)}if("select"===(u=(l=r?We(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var m=Un;else if(Rn(l))if(qn)m=Yn;else{m=Qn;var y=Kn}else!(u=l.nodeName)||"input"!==u.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&Pt(r.elementType)&&(m=Un):m=Gn;switch(m&&(m=m(e,r))?Nn(s,m,n,i):(y&&y(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&wt(l,"number",l.value)),y=r?We(r):window,e){case"focusin":(Rn(y)||"true"===y.contentEditable)&&(or=y,ar=r,sr=null);break;case"focusout":sr=ar=or=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,ur(s,n,i);break;case"selectionchange":if(ir)break;case"keydown":case"keyup":ur(s,n,i)}var b;if(_n)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else On?jn(e,n)&&(w="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(w="onCompositionStart");w&&(Tn&&"ko"!==n.locale&&(On||"onCompositionStart"!==w?"onCompositionEnd"===w&&On&&
vendor: 5,154 bytes, line 11
11(b=Ht()):($t="value"in(Bt=i)?Bt.value:Bt.textContent,On=!0)),0<(y=Kc(r,w)).length&&(w=new dn(w,e,null,n,i),s.push({event:w,listeners:y}),b?w.data=b:null!==(b=An(n))&&(w.data=b))),(b=Cn?function(e,t){switch(e){case"compositionend":return An(t);case"keypress":return 32!==t.which?null:(In=!0,Pn);case"textInput":return(e=t.data)===Pn&&In?null:e;default:return null}}(e,n):function(e,t){if(On)return"compositionend"===e||!_n&&jn(e,t)?(e=Ht(),Wt=$t=Bt=null,On=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Tn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(w=Kc(r,"onBeforeInput")).length&&(y=new dn("onBeforeInput","beforeinput",null,n,i),s.push({event:y,listeners:w}),y.data=b)),function(e,t,n,r,i){if("submit"===t&&n&&n.stateNode===i){var o=Lc((i[Ne]||null).action),a=r.submitter;a&&null!==(t=(t=a[Ne]||null)?Lc(t.formAction):a.getAttribute("formAction"))&&(o=t,a=null);var s=new tn("action","action",null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==_c){var e=a?Rc(i,a):new FormData(i);La(n,{pending:!0,data:e,method:i.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),e=a?Rc(i,a):new FormData(i),La(n,{pending:!0,data:e,method:i.method,action:o},o,e))},currentTarget:i}]})}}(s,e,r,n,i)}Fc(s,t)})}function Hc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kc(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;if(5!==(i=i.tag)&&26!==i&&27!==i||null===o||(null!=(i=Ft(e,n))&&r.unshift(Hc(e,i,o)),null!=(i=Ft(e,t))&&r.push(Hc(e,i,o))),3===e.tag)return r;e=e.return}return[]}function Qc(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Gc(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===u||(l=u,i?null!=(u=Ft(n,o))&&a.unshift(Hc(n,u,l)):i||null!=(u=Ft(n,o))&&a.push(Hc(n,u,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Yc=/\r\n?/g,Jc=/\u0000|\uFFFD/g;function Xc(e){return("string"==typeof e?e:""+e).replace(Yc,"\n").replace(Jc,"")}function Zc(e,t){return t=Xc(t),Xc(e)===t}function ed(){}function td(e,t,n,i,o,a){switch(n){case"children":"string"==typeof i?"body"===t||"textarea"===t&&""===i||_t(e,i):("number"==typeof i||"bigint"==typeof i)&&"body"!==t&&_t(e,""+i);break;case"className":it(e,"class",i);break;case"tabIndex":it(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":it(e,n,i);break;case"style":Tt(e,i,a);break;case"data":if("object"!==t){it(e,"data",i);break}case"src":case"href":if(""===i&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==i||"function"==typeof i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=At(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if("function"==typeof i){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof a&&("formAction"===n?("input"!==t&&td(e,t,"name",o.name,o,null),td(e,t,"formEncType",o.formEncType,o,null),td(e,t,"formMethod",o.formMethod,o,null),td(e,t,"formTarget",o.formTarget,o,null)):(td(e,t,"encType",o.encType,o,null),td(e,t,"method",o.method,o,null),td(e,t,"target",o.target,o,null))),null==i||"symbol"==typeof i||"boolean"==typeof i){e.removeAttribute(n);break}i=At(""+i),e.setAttribute(n,i);break;case"onClick":null!=i&&(e.onclick=ed);break;case"onScroll":null!=i&&Uc("scroll",e);break;case"onScrollEnd":null!=i&&Uc("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"muted":e.muted=i&&"function"!=typeof i&&"symbol"!=typeof i;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==i||"function"==typeof i||"boolean"==typeof i||"symbol"==typeof i){e.removeAttribute("xlink:href");break}n=At(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInl
11ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===i?e.setAttribute(n,""):!1!==i&&null!=i&&"function"!=typeof i&&"symbol"!=typeof i?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":null==i||"function"==typeof i||"symbol"==typeof i||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":Uc("beforetoggle",e),Uc("toggle",e),rt(e,"popover",i);break;case"xlinkActuate":ot(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":ot(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":ot(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":ot(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":ot(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":ot(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":ot(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":ot(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":ot(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":rt(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&rt(e,n=It.get(n)||n,i)}}function nd(e,t,n,i,o,a){switch(n){case"style":Tt(e,i,a);break;case"dangerouslySetInnerHTML":if(null!=i){if("object"!=typeof i||!("__html"in i))throw Error(r(61));if(null!=(n=i.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof i?_t(e,i):("number"==typeof i||"bigint"==typeof i)&&_t(e,""+i);break;case"onScroll":null!=i&&Uc("scroll",e);break;case"onScrollEnd":null!=i&&Uc("scrollend",e);break;case"onClick":null!=i&&(e.onclick=ed);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Ge.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(a=null!=(a=e[Ne]||null)?a[n]:null)&&e.removeEventListener(t,a,o),"function"!=typeof i)?n in e?e[n]=i:!0===i?e.setAttribute(n,""):rt(e,n,i):("function"!=typeof a&&null!==a&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,o)))}}function rd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Uc("error",e),Uc("load",e);var i,o=!1,a=!1;for(i in n)if(n.hasOwnProperty(i)){var s=n[i];if(null!=s)switch(i){case"src":o=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:td(e,t,i,s,n,null)}}return a&&td(e,t,"srcSet",n.srcSet,n,null),void(o&&td(e,t,"src",n.src,n,null));case"input":Uc("invalid",e);var l=i=s=a=null,u=null,c=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":a=d;break;case"type":s=d;break;case"checked":u=d;break;case"defaultChecked":c=d;break;case"value":i=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,t));break;default:td(e,t,o,d,n,null)}}return bt(e,i,l,u,c,s,a,!1),void pt(e);case"select":for(a in Uc("invalid",e),o=s=i=null,n)if(n.hasOwnProperty(a)&&null!=(l=n[a]
vendor: 4,388 bytes, line 11
11))switch(a){case"value":i=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:td(e,t,a,l,n,null)}return t=i,n=s,e.multiple=!!o,void(null!=t?kt(e,!!o,t,!1):null!=n&&kt(e,!!o,n,!0));case"textarea":for(s in Uc("invalid",e),i=a=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":a=l;break;case"children":i=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(r(91));break;default:td(e,t,s,l,n,null)}return xt(e,o,a,i),void pt(e);case"option":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))if("selected"===u)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else td(e,t,u,o,n,null);return;case"dialog":Uc("beforetoggle",e),Uc("toggle",e),Uc("cancel",e),Uc("close",e);break;case"iframe":case"object":Uc("load",e);break;case"video":case"audio":for(o=0;o<zc.length;o++)Uc(zc[o],e);break;case"image":Uc("error",e),Uc("load",e);break;case"details":Uc("toggle",e);break;case"embed":case"source":case"link":Uc("error",e),Uc("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:td(e,t,c,o,n,null)}return;default:if(Pt(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&nd(e,t,d,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&td(e,t,l,o,n,null))}var id=null,od=null;function ad(e){return 9===e.nodeType?e:e.ownerDocument}function sd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ld(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function ud(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var cd=null;var dd="function"==typeof setTimeout?setTimeout:void 0,fd="function"==typeof clearTimeout?clearTimeout:void 0,pd="function"==typeof Promise?Promise:void 0,hd="function"==typeof queueMicrotask?queueMicrotask:void 0!==pd?function(e){return pd.resolve(null).then(e).catch(vd)}:dd;function vd(e){setTimeout(function(){throw e})}function gd(e){return"head"===e}function md(e,t){var n=t,r=0,i=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0<r&&8>r){n=r;var a=e.ownerDocument;if(1&n&&_d(a.documentElement),2&n&&_d(a.body),4&n)for(_d(n=a.head),a=n.firstChild;a;){var s=a.nextSibling,l=a.nodeName;a[qe]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===a.rel.toLowerCase()||n.removeChild(a),a=s}}if(0===i)return e.removeChild(o),void Af(t);i--}else"$"===n||"$?"===n||"$!"===n?i++:r=n.charCodeAt(0)-48;else r=0;n=o}while(n);Af(t)}function yd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":yd(n),Ve(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function bd(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function wd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var kd=null;function Sd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function xd(e,t,n){switch(t=ad(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}function _d(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ve(e)}var Ed=new Map,Cd=new Set;function Td(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Pd=R.d;R.d={f:function(){var e=Pd.f(),t=$u();return e||t},r:function(e){var t=$e(e);null!==t&&5===t.tag&&"form"===t.type?Na(t):Pd.r(e)},D:function(e){Pd.D(e),jd("dns-prefetch",e,null)},C:function(e,t){Pd.C(e,t),jd("preconnect",e,t)}
vendor: 5,255 bytes, line 11
11,L:function(e,t,n){Pd.L(e,t,n);var r=Id;if(r&&e&&t){var i='link[rel="preload"][as="'+mt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(i+='[imagesrcset="'+mt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(i+='[imagesizes="'+mt(n.imageSizes)+'"]')):i+='[href="'+mt(e)+'"]';var o=i;switch(t){case"style":o=Od(e);break;case"script":o=Nd(e)}Ed.has(o)||(e=u({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Ed.set(o,e),null!==r.querySelector(i)||"style"===t&&r.querySelector(Ld(o))||"script"===t&&r.querySelector(Dd(o))||(rd(t=r.createElement("link"),"link",e),Ke(t),r.head.appendChild(t)))}},m:function(e,t){Pd.m(e,t);var n=Id;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",i='link[rel="modulepreload"][as="'+mt(r)+'"][href="'+mt(e)+'"]',o=i;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Nd(e)}if(!Ed.has(o)&&(e=u({rel:"modulepreload",href:e},t),Ed.set(o,e),null===n.querySelector(i))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Dd(o)))return}rd(r=n.createElement("link"),"link",e),Ke(r),n.head.appendChild(r)}}},X:function(e,t){Pd.X(e,t);var n=Id;if(n&&e){var r=He(n).hoistableScripts,i=Nd(e),o=r.get(i);o||((o=n.querySelector(Dd(i)))||(e=u({src:e,async:!0},t),(t=Ed.get(i))&&Ud(e,t),Ke(o=n.createElement("script")),rd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}},S:function(e,t,n){Pd.S(e,t,n);var r=Id;if(r&&e){var i=He(r).hoistableStyles,o=Od(e);t=t||"default";var a=i.get(o);if(!a){var s={loading:0,preload:null};if(a=r.querySelector(Ld(o)))s.loading=5;else{e=u({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Ed.get(o))&&Fd(e,n);var l=a=r.createElement("link");Ke(l),rd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Md(a,t,r)}a={type:"stylesheet",instance:a,count:1,state:s},i.set(o,a)}}},M:function(e,t){Pd.M(e,t);var n=Id;if(n&&e){var r=He(n).hoistableScripts,i=Nd(e),o=r.get(i);o||((o=n.querySelector(Dd(i)))||(e=u({src:e,async:!0,type:"module"},t),(t=Ed.get(i))&&Ud(e,t),Ke(o=n.createElement("script")),rd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(i,o))}}};var Id="undefined"==typeof document?null:document;function jd(e,t,n){var r=Id;if(r&&"string"==typeof t&&t){var i=mt(t);i='link[rel="'+e+'"][href="'+i+'"]',"string"==typeof n&&(i+='[crossorigin="'+n+'"]'),Cd.has(i)||(Cd.add(i),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(i)&&(rd(t=r.createElement("link"),"link",e),Ke(t),r.head.appendChild(t)))}}function Ad(e,t,n,i){var o,a,s,l,u=(u=B.current)?Td(u):null;if(!u)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Od(n.href),(i=(n=He(u).hoistableStyles).get(t))||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Od(n.href);var c=He(u).hoistableStyles,d=c.get(e);if(d||(u=u.ownerDocument||u,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=u.querySelector(Ld(e)))&&!c._p&&(d.instance=c,d.state.loading=5),Ed.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Ed.set(e,n),c||(o=u,a=e,s=n,l=d.state,o.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=o.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),rd(a,"link",s),Ke(a),o.head.appendChild(a))))),t&&null===i)throw Error(r(528,""));return d}if(t&&null!==i)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Nd(n),(i=(n=He(u).hoistableScripts).get(t))||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Od(e){return'href="'+mt(e)+'"'}function Ld(e){return'link[rel="stylesheet"]['+e+"]"}function Rd(e){return u({},e,{"data-precedence":e.precedence,precedence:null})}function Nd(e){return'[src="'+mt(e)+'"]'}function Dd(e){return"script[async]"+e}function zd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+mt(n.href)+'"]');if(i)return t.instance=i,Ke(i),i;var o=u({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Ke(i=(e.ownerDocument||e).createElement("style")),rd(i,"style",o),Md(i,n.precedence,e),t.instance=i;case"stylesheet":o=Od(n.href);var a=e.querySelector(Ld(o));if(a)return t.state.loading|=4,t.instance=a,Ke(a),a;i=Rd(n),(o=Ed.get(o))&&Fd(i,o),Ke(a=(e.ownerDocument||e).createElement("link"));var s=a;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),rd(a,"link",i),t.state.loading|=4,Md(a,n.precedence,e),t.instance=a;
vendor: 7,871 bytes, line 11
11case"script":return a=Nd(n.src),(o=e.querySelector(Dd(a)))?(t.instance=o,Ke(o),o):(i=n,(o=Ed.get(a))&&Ud(i=u({},n),o),Ke(o=(e=e.ownerDocument||e).createElement("script")),rd(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(i=t.instance,t.state.loading|=4,Md(i,n.precedence,e));return t.instance}function Md(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),i=r.length?r[r.length-1]:null,o=i,a=0;a<r.length;a++){var s=r[a];if(s.dataset.precedence===t)o=s;else if(o!==i)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Fd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Ud(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var qd=null;function Vd(e,t,n){if(null===qd){var r=new Map,i=qd=new Map;i.set(n,r)}else(r=(i=qd).get(n))||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var o=n[i];if(!(o[qe]||o[Re]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var a=o.getAttribute(t)||"";a=e+a;var s=r.get(a);s?s.push(o):r.set(a,[o])}}return r}function Bd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function $d(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Wd=null;function Hd(){}function Kd(){if(this.count--,0===this.count)if(this.stylesheets)Gd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Qd=null;function Gd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Qd=new Map,t.forEach(Yd,e),Qd=null,Kd.call(e))}function Yd(e,t){if(!(4&t.state.loading)){var n=Qd.get(e);if(n)var r=n.get(null);else{n=new Map,Qd.set(e,n);for(var i=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<i.length;o++){var a=i[o];"LINK"!==a.nodeName&&"not all"===a.getAttribute("media")||(n.set(a.dataset.precedence,a),r=a)}r&&n.set(null,r)}a=(i=t.instance).getAttribute("data-precedence"),(o=n.get(a)||r)===r&&n.set(null,i),n.set(a,i),this.count++,r=Kd.bind(this),i.addEventListener("load",r),i.addEventListener("error",r),o?o.parentNode.insertBefore(i,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(i,e.firstChild),t.state.loading|=4}}var Jd={$$typeof:w,Provider:null,Consumer:null,_currentValue:N,_currentValue2:N,_threadCount:0};function Xd(e,t,n,r,i,o,a,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ce(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ce(0),this.hiddenUpdates=Ce(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Zd(e,t,n,r,i,o,a,s,l,u,c,d){return e=new Xd(e,t,n,a,s,l,u,d),t=1,!0===o&&(t|=24),o=Mr(3,null,null,t),e.current=o,o.stateNode=e,(t=Ni()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},io(o),e}function ef(e){return e?e=Dr:Dr}function tf(e,t,n,r,i,o){i=ef(i),null===r.context?r.context=i:r.pendingContext=i,(r=ao(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=so(e,r,t))&&(Fu(n,0,t),lo(n,e,t))}function nf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rf(e,t){nf(e,t),(e=e.alternate)&&nf(e,t)}function of(e){if(13===e.tag){var t=Lr(e,67108864);null!==t&&Fu(t,0,67108864),rf(e,67108864)}}var af=!0;function sf(e,t,n,r){var i=L.T;L.T=null;var o=R.p;try{R.p=2,uf(e,t,n,r)}finally{R.p=o,L.T=i}}function lf(e,t,n,r){var i=L.T;L.T=null;var o=R.p;try{R.p=8,uf(e,t,n,r)}finally{R.p=o,L.T=i}}function uf(e,t,n,r){if(af){var i=cf(r);if(null===i)Wc(e,t,r,df,n),Sf(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return vf=xf(vf,e,t,n,r,i),!0;case"dragenter":return gf=xf(gf,e,t,n,r,i),!0;case"mouseover":return mf=xf(mf,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return yf.set(o,xf(yf.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,bf.set(o,xf(bf.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Sf(e,r),4&t&&-1<kf.indexOf(e)){for(;null!==i;){var o=$e(i);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var a=we(o.pendingLanes);if(0!==a){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-ve(a);s.entanglements[1]|=l,a&=~l}Ec(o),!(6&ou)&&(Eu=re()+500,Cc(0))}}break;case 13:null!==(s=Lr(o,2))&&Fu(s,0,2),$u(),rf(o,2)}if(null===(o=cf(r))&&Wc(e,t,r,df,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else Wc(e,t,r,null,n)}}function cf(e){return ff(e=Lt(e))}var df=null;function ff(e){if(df=null,null!==(e=Be(e))){var t=o(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=a(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return df=e,null}function pf(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ie()){case oe:return 2;case ae:return 8;case se:case le:return 32;case ue:return 268435456;default:return 32}default:return 32}}var hf=!1,vf=null,gf=null,mf=null,yf=new Map,bf=new Map,wf=[],kf="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Sf(e,t){switch(e){case"focusin":case"focusout":vf=null;break;case"dragenter":case"dragleave":gf=null;break;case"mouseover":case"mouseout":mf=null;break;case"pointerover":case"pointerout":yf.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bf.delete(t.pointerId)}}function xf(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=$e(t))&&of(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function _f(e){var t=Be(e.target);if(null!==t){var n=o(t);
vendor: 4,851 bytes, line 11
11if(null!==n)if(13===(t=n.tag)){if(null!==(t=a(n)))return e.blockedOn=t,void function(e,t){var n=R.p;try{return R.p=e,t()}finally{R.p=n}}(e.priority,function(){if(13===n.tag){var e=zu();e=je(e);var t=Lr(n,e);null!==t&&Fu(t,0,e),rf(n,e)}})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ef(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=cf(e.nativeEvent);if(null!==n)return null!==(t=$e(n))&&of(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ot=r,n.target.dispatchEvent(r),Ot=null,t.shift()}return!0}function Cf(e,t,n){Ef(e)&&n.delete(t)}function Tf(){hf=!1,null!==vf&&Ef(vf)&&(vf=null),null!==gf&&Ef(gf)&&(gf=null),null!==mf&&Ef(mf)&&(mf=null),yf.forEach(Cf),bf.forEach(Cf)}function Pf(t,n){t.blockedOn===n&&(t.blockedOn=null,hf||(hf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Tf)))}var If=null;function jf(t){If!==t&&(If=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){If===t&&(If=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],i=t[e+2];if("function"!=typeof r){if(null===ff(r||n))continue;break}var o=$e(n);null!==o&&(t.splice(e,3),e-=3,La(o,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Af(e){function t(t){return Pf(t,e)}null!==vf&&Pf(vf,e),null!==gf&&Pf(gf,e),null!==mf&&Pf(mf,e),yf.forEach(t),bf.forEach(t);for(var n=0;n<wf.length;n++){var r=wf[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<wf.length&&null===(n=wf[0]).blockedOn;)_f(n),null===n.blockedOn&&wf.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var i=n[r],o=n[r+1],a=i[Ne]||null;if("function"==typeof o)a||jf(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(i=o,a=o[Ne]||null)s=a.formAction;else if(null!==ff(i))continue}else s=a.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),jf(n)}}}function Of(e){this._internalRoot=e}function Lf(e){this._internalRoot=e}Lf.prototype.render=Of.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));tf(t.current,zu(),e,t,null,null)},Lf.prototype.unmount=Of.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;tf(e.current,2,null,e,null,null),$u(),t[De]=null}},Lf.prototype.unstable_scheduleHydration=function(e){if(e){var t=Oe();e={blockedOn:null,target:e,priority:t};for(var n=0;n<wf.length&&0!==t&&t<wf[n].priority;n++);wf.splice(n,0,e),0===n&&_f(e)}};var Rf=t.version;if("19.1.1"!==Rf)throw Error(r(527,Rf,"19.1.1"));R.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=o(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,i=t;;){var a=n.return;if(null===a)break;var l=a.alternate;if(null===l){if(null!==(i=a.return)){n=i;continue}break}if(a.child===l.child){for(l=a.child;l;){if(l===n)return s(a),e;if(l===i)return s(a),t;l=l.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=l;else{for(var u=!1,c=a.child;c;){if(c===n){u=!0,n=a,i=l;break}if(c===i){u=!0,i=a,n=l;break}c=c.sibling}if(!u){for(c=l.child;c;){if(c===n){u=!0,n=l,i=a;break}if(c===i){u=!0,i=l,n=a;break}c=c.sibling}if(!u)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?l(e):null)?null:e.stateNode};var Nf={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.1"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Df=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Df.isDisabled&&Df.supportsFiber)try{fe=Df.inject(Nf),pe=Df}catch(Mf){}}return Q.createRoot=function(e,t){if(!i(e))throw Error(r(299));var n=!1,o="",a=ws,s=ks,l=Ss;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onUncaughtError&&(a=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Zd(e,1,!1,null,0,n,o,a,s,l,0,null),e[De]=t.current,Bc(e),new Of(t)},Q.hydrateRoot=function(e,t,n){if(!i(e))throw Error(r(299));var o=!1,a="",s=ws,l=ks,u=Ss,c=null;return null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onUncaughtError&&(s=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(u=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(c=n.formState)),(t=Zd(e,1,!0,t,0,o,a,s,l,u,0,c)).context=ef(null),n=t.current,(a=ao(o=je(o=zu(
11)))).callback=null,so(n,a,o),n=o,t.current.lanes=n,Te(t,n),Ec(t),e[De]=t.current,Bc(e),new Lf(t)},Q.version="19.1.1",Q}var Z,ee,te=(H||(H=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}(),K.exports=X()),K.exports);var ne=function(){if(ee)return Z;ee=1;var e="undefined"!=typeof Element,t="function"==typeof Map,n="function"==typeof Set,r="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){if(o.constructor!==a.constructor)return!1;var s,l,u,c;if(Array.isArray(o)){if((s=o.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(o[l],a[l]))return!1;return!0}if(t&&o instanceof Map&&a instanceof Map){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;for(c=o.entries();!(l=c.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(n&&o instanceof Set&&a instanceof Set){if(o.size!==a.size)return!1;for(c=o.entries();!(l=c.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(o)&&ArrayBuffer.isView(a)){if((s=o.length)!=a.length)return!1;for(l=s;0!==l--;)if(o[l]!==a[l])return!1;return!0}if(o.constructor===RegExp)return o.source===a.source&&o.flags===a.flags;if(o.valueOf!==Object.prototype.valueOf&&"function"==typeof o.valueOf&&"function"==typeof a.valueOf)return o.valueOf()===a.valueOf();if(o.toString!==Object.prototype.toString&&"function"==typeof o.toString&&"function"==typeof a.toString)return o.toString()===a.toString();if((s=(u=Object.keys(o)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,u[l]))return!1;if(e&&o instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==u[l]&&"__v"!==u[l]&&"__o"!==u[l]||!o.$$typeof)&&!i(o[u[l]],a[u[l]]))return!1;return!0}return o!=o&&a!=a}return Z=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return!1;throw n}}}();const re=y(ne);var ie,oe;
11const ae=y(oe?ie:(oe=1,ie=function(e,t,n,r,i,o,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],c=0;(l=new Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}));var se,le;const ue=y(le?se:(le=1,se=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var u=o[l];if(!s(u))return!1;var c=e[u],d=t[u];if(!1===(i=n?n.call(r,c,d,u):void 0)||void 0===i&&c!==d)return!1}return!0}));var ce=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(ce||{}),de={rel:["amphtml","canonical","alternate"]},fe={type:["application/ld+json"]},pe={charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},he=Object.values(ce),ve={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},ge=Object.entries(ve).reduce((e,[t,n])=>(e[n]=t,e),{}),me="data-rh",ye="defaultTitle",be="defer",we="encodeSpecialCharacters",ke="onChangeClientState",Se="titleTemplate",xe="prioritizeSeoTags",_e=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},Ee=e=>{let t=_e(e,"title");const n=_e(e,Se);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=_e(e,ye);return t||r||void 0},Ce=e=>_e(e,ke)||(()=>{}),Te=(e,t)=>
11t.filter(t=>void 0!==t[e]).map(t=>t[e]).reduce((e,t)=>({...e,...t}),{}),Pe=(e,t)=>t.filter(e=>void 0!==e.base).map(e=>e.base).reverse().reduce((t,n)=>{if(!t.length){const r=Object.keys(n);for(let i=0;i<r.length;i+=1){const o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}}return t},[]),Ie=(e,t,n)=>{const r={};return n.filter(t=>!!Array.isArray(t[e])||(void 0!==t[e]&&(t[e],console&&console.warn),!1)).map(t=>t[e]).reverse().reduce((e,n)=>{const i={};n.filter(e=>{let n;const o=Object.keys(e);for(let r=0;r<o.length;r+=1){const i=o[r],a=i.toLowerCase();-1===t.indexOf(a)||"rel"===n&&"canonical"===e[n].toLowerCase()||"rel"===a&&"stylesheet"===e[a].toLowerCase()||(n=a),-1===t.indexOf(i)||"innerHTML"!==i&&"cssText"!==i&&"itemprop"!==i||(n=i)}if(!n||!e[n])return!1;const a=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][a]&&(i[n][a]=!0,!0)}).reverse().forEach(t=>e.push(t));const o=Object.keys(i);for(let t=0;t<o.length;t+=1){const e=o[t],n={...r[e],...i[e]};r[e]=n}return e},[]).reverse()},je=(e,t)=>{if(Array.isArray(e)&&e.length)for(let n=0;n<e.length;n+=1){if(e[n][t])return!0}return!1},Ae=e=>Array.isArray(e)?e.join(""):e,Oe=(e,t)=>Array.isArray(e)?e.reduce((e,n)=>(((e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1})(n,t)?e.priority.push(n):e.default.push(n),e),{priority:[],default:[]}):{default:e,priority:[]},Le=(e,t)=>({...e,[t]:void 0}),Re=["noscript","script","style"],Ne=(e,t=!0)=>!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),De=e=>Object.keys(e).reduce((t,n)=>{const r=void 0!==e[n]?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),ze=(e,t={})=>Object.keys(e).reduce((t,n)=>(t[ve[n]||n]=e[n],t),t),Me=(e,t)=>t.map((t,n)=>{const r={key:n,[me]:!0};return Object.keys(t).forEach(e=>{const n=ve[e]||e;if("innerHTML"===n||"cssText"===n){const e=t.innerHTML||t.cssText;r.dangerouslySetInnerHTML={__html:e}}else r[n]=t[e]}),l.createElement(e,r)}),Fe=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>((e,t,n)=>{const r=ze(n,{key:t,[me]:!0});return[l.createElement("title",r,t)]})(0,t.title,t.titleAttributes),toString:()=>((e,t,n,r)=>{const i=De(n),o=Ae(t);return i?`<${e} ${me}="true" ${i}>${Ne(o,r)}</${e}>`:`<${e} ${me}="true">${Ne(o,r)}</${e}>`})(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>ze(t),toString:()=>De(t)};default:return{toComponent:()=>Me(e,t),toString:()=>((e,t,n=!0)=>t.reduce((t,r)=>{const i=r,o=Object.keys(i).filter(e=>!("innerHTML"===e||"cssText"===e)).reduce((e,t)=>{const r=void 0===i[t]?t:`${t}="${Ne(i[t],n)}"`;return e?`${e} ${r}`:r},""),a=i.innerHTML||i.cssText||"",s=-1===Re.indexOf(e);return`${t}<${e} ${me}="true" ${o}${s?"/>":`>${a}</${e}>`}`},""))(e,t,n)}}},Ue=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:a,title:s="",titleAttributes:l,prioritizeSeoTags:u}=e;let{linkTags:c,metaTags:d,scriptTags:f}=e,p={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:p,linkTags:c,metaTags:d,scriptTags:f}=(({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=Oe(e,pe),o=Oe(t,de),a=Oe(n,fe);return{priorityMethods:{toComponent:()=>[...Me("meta",i.priority),...Me("link",o.priority),...Me("script",a.priority)],toString:()=>`${Fe("meta",i.priority,r)} ${Fe("link",o.priority,r)} ${Fe("script",a.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:a.default}})(e)),{priority:p,base:Fe("base",t,r),bodyAttributes:Fe("bodyAttributes",n,r),htmlAttributes:Fe("htmlAttributes",i,r),link:Fe("link",c,r),meta:Fe("meta",d,r),noscript:Fe("noscript",o,r),script:Fe("script",f,r),style:Fe("style",a,r),title:Fe("title",{title:s,titleAttributes:l},r)}},qe=[],Ve=!("undefined"==typeof window||!window.document||!window.document.createElement),Be=class{constructor(e,t){r(this,"instances",[]),r(this,"canUseDOM",Ve),r(this,"context"),r(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?qe:this.instances,add:e=>{(this.canUseDOM?qe:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?qe:this.instances).indexOf(e);(this.canUseDOM?qe:this.instances).splice(t,1)}}}),this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Ue({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},$e=l.createContext({}),We=(e=class extends s.Component{constructor(t){super(t),r(this,"helmetData"),this.helmetData=new Be(this.props.context||{},e.canUseDOM)}render(){return l.createElement($e.Provider,{value:this.helmetData.value},this.props.children)}},r(e,"canUseDOM",Ve),e),He=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${me}]`),i=[].slice.call(r),o=[];let a;return t&&t.length&&t.forEach(t=>{const n=document.createElement(e);for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e))if("innerHTML"===e)n.innerHTML=t.innerHTML;else if("cssText"===e)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{const r=e,i=void 0===t[r]?"":t[r];n.setAttribute(e,i)}n.setAttribute(me,"true"),i.some((e,t)=>(a=t,n.isEqualNode(e)))?i.splice(a,1):o.push(n)}
11),i.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),o.forEach(e=>n.appendChild(e)),{oldTags:i,newTags:o}},Ke=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(me),i=r?r.split(","):[],o=[...i],a=Object.keys(t);for(const s of a){const e=t[s]||"";n.getAttribute(s)!==e&&n.setAttribute(s,e),-1===i.indexOf(s)&&i.push(s);const r=o.indexOf(s);-1!==r&&o.splice(r,1)}for(let s=o.length-1;s>=0;s-=1)n.removeAttribute(o[s]);i.length===o.length?n.removeAttribute(me):n.getAttribute(me)!==a.join(",")&&n.setAttribute(me,a.join(","))},Qe=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:a,noscriptTags:s,onChangeClientState:l,scriptTags:u,styleTags:c,title:d,titleAttributes:f}=e;Ke("body",r),Ke("html",i),((e,t)=>{void 0!==e&&document.title!==e&&(document.title=Ae(e)),Ke("title",t)})(d,f);const p={baseTag:He("base",n),linkTags:He("link",o),metaTags:He("meta",a),noscriptTags:He("noscript",s),scriptTags:He("script",u),styleTags:He("style",c)},h={},v={};Object.keys(p).forEach(e=>{const{newTags:t,oldTags:n}=p[e];t.length&&(h[e]=t),n.length&&(v[e]=p[e].oldTags)}),t&&t(),l(e,h,v)},Ge=null,Ye=e=>{Ge&&cancelAnimationFrame(Ge),e.defer?Ge=requestAnimationFrame(()=>{Qe(e,()=>{Ge=null})}):(Qe(e),Ge=null)},Je=class extends s.Component{constructor(){super(...arguments),r(this,"rendered",!1)}shouldComponentUpdate(e){return!ue(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:t}=this.props.context;let n=null;const r=(i=e.get().map(e=>{const t={...e.props};return delete t.context,t}),{baseTag:Pe(["href"],i),bodyAttributes:Te("bodyAttributes",i),defer:_e(i,be),encode:_e(i,we),htmlAttributes:Te("htmlAttributes",i),linkTags:Ie("link",["rel","href"],i),metaTags:Ie("meta",["name","charset","http-equiv","property","itemprop"],i),noscriptTags:Ie("noscript",["innerHTML"],i),onChangeClientState:Ce(i),scriptTags:Ie("script",["src","innerHTML"],i),styleTags:Ie("style",["cssText"],i),title:Ee(i),titleAttributes:Te("titleAttributes",i),prioritizeSeoTags:je(i,xe)});var i;We.canUseDOM?Ye(r):Ue&&(n=Ue(r)),t(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Xe=(t=class extends s.Component{shouldComponentUpdate(e){return!re(Le(this.props,"helmetData"),Le(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(t=>{n={...n,[t]:e[t]}}),n}warnOnInvalidChildren(e,t){return ae(he.some(t=>e.type===t),"function"==typeof e.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${he.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),ae(!t||"string"==typeof t||Array.isArray(t)&&!t.some(e=>"string"!=typeof e),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return l.Children.forEach(e,e=>{if(!e||!e.props)return;const{children:r,...i}=e.props,o=Object.keys(i).reduce((e,t)=>(e[ge[t]||t]=i[t],e),{});let{type:a}=e;
11switch("symbol"==typeof a?a=a.toString():this.warnOnInvalidChildren(e,r),a){case"Symbol(react.fragment)":t=this.mapChildrenToProps(r,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(e,n,o,r);break;default:t=this.mapObjectTypeChildren(e,t,o,r)}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Be)){r=new Be(r.context,!0),delete n.helmetData}return r?l.createElement(Je,{...n,context:r.value}):l.createElement($e.Consumer,null,e=>l.createElement(Je,{...n,context:e}))}},r(t,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),t);const Ze=new class{constructor(){this.isInitialized=!1,this.measurementId="G-VRL3L4MFJ9",this.measurementId&&"G-XXXXXXXXXX"!==this.measurementId&&this.initialize()}initialize(){try{if(window.gtag)return void(this.isInitialized=!0);const e=document.createElement("script");e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${this.measurementId}`,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},e.onload=()=>{window.gtag("js",new Date),window.gtag("config",this.measurementId,{send_page_view:!0,allow_google_signals:!0,allow_ad_personalization_signals:!1,cookie_flags:"SameSite=None;Secure"}),this.isInitialized=!0},e.onerror=()=>{}}catch(e){}}isReady(){return this.isInitialized&&window.gtag&&"function"==typeof window.gtag}trackPageView(e,t=document.title){if(this.isReady())try{window.gtag("config",this.measurementId,{page_path:e,page_title:t})}catch(n){}}trackEvent(e,t={}){if(this.isReady())try{window.gtag("event",e,{event_category:t.category||"engagement",event_label:t.label,value:t.value,...t})}catch(n){}}trackButtonClick(e,t,n="unknown"){this.trackEvent("click",{category:"button",label:e,button_id:t,section:n})}trackFormInteraction(e,t,n=null){const r={category:"form",label:e,interaction_type:t,form_name:e};null!==n&&(r.success=n),this.trackEvent("form_interaction",r)}trackConversion(e="waitlist_signup",t=null){this.trackEvent("conversion",{category:"conversion",label:e,value:t,conversion_type:e})}trackScrollDepth(e){[25,50,75,100].includes(e)&&this.trackEvent("scroll",{category:"engagement",label:`${e}%`,value:e,scroll_depth:e})}trackOutboundLink(e,t=""){this.trackEvent("click",{category:"outbound_link",label:e,link_url:e,link_text:t})}setEnabled(e){if(this.measurementId)try{window[`ga-disable-${this.measurementId}`]=!e}catch(t){}}},et="necessary",tt="analytics",nt="functional",rt="marketing",it=e=>{const t=(()=>{try{const e=localStorage.getItem("cookie-consent");if(e)return JSON.parse(e)}catch(e){}return null})();return t?!0===t[e]:e===et},ot=()=>it(tt),at=()=>it(nt),st=()=>{(()=>{if("undefined"!=typeof window&&window.gtag){const e=ot();window.gtag("consent","default",{analytics_storage:e?"granted":"denied",ad_storage:it(rt)?"granted":"denied",functionality_storage:at()?"granted":"denied",personalization_storage:at()?"granted":"denied",security_storage:"granted"})}})()};var lt=function(e,t){return(lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ut(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}lt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ct,dt,ft,pt,ht=function(){return ht=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ht.apply(this,arguments)};function vt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}
11function gt(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function mt(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(l){s=[6,l],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function yt(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function bt(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function wt(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function kt(e){return this instanceof kt?(this.v=e,this):new kt(e)}function St(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{(n=i[e](t)).value instanceof kt?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(r){c(o[0][3],r)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function xt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=yt(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){(function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)})(r,i,(t=e[n](t)).done,t.value)})}}}"function"==typeof SuppressedError&&SuppressedError,(dt=ct||(ct={})).SET="$set",dt.SET_ONCE="$setOnce",dt.ADD="$add",dt.APPEND="$append",dt.PREPEND="$prepend",dt.REMOVE="$remove",dt.PREINSERT="$preInsert",dt.POSTINSERT="$postInsert",dt.UNSET="$unset",dt.CLEAR_ALL="$clearAll",(pt=ft||(ft={})).IDENTIFY="$identify",pt.GROUP_IDENTIFY="$groupidentify",pt.REVENUE="revenue_amount";var _t,Et="AMP",Ct="".concat(Et,"_unsent"),Tt="$default_instance",Pt="https://api2.amplitude.com/2/httpapi",It="dclid",jt="fbclid",At="gbraid",Ot="gclid",Lt="ko_click_id",Rt="li_fat_id",Nt="msclkid",Dt="rdt_cid",zt="ttclid",Mt="twclid",Ft="wbraid",Ut={utm_campaign:void 0,utm_c
11ontent:void 0,utm_id:void 0,utm_medium:void 0,utm_source:void 0,utm_term:void 0,referrer:void 0,referring_domain:void 0,dclid:void 0,gbraid:void 0,gclid:void 0,fbclid:void 0,ko_click_id:void 0,li_fat_id:void 0,msclkid:void 0,rdt_cid:void 0,ttclid:void 0,twclid:void 0,wbraid:void 0},qt=["access-control-allow-origin","access-control-allow-credentials","access-control-expose-headers","access-control-max-age","access-control-allow-methods","access-control-allow-headers","accept-patch","accept-ranges","age","allow","alt-svc","cache-control","connection","content-disposition","content-encoding","content-language","content-length","content-location","content-md5","content-range","content-type","date","delta-base","etag","expires","im","last-modified","link","location","permanent","p3p","pragma","proxy-authenticate","public-key-pins","retry-after","server","status","strict-transport-security","trailer","transfer-encoding","tk","upgrade","vary","via","warning","www-authenticate","x-b3-traceid","x-frame-options"],Vt=["authorization","cookie","set-cookie"],Bt=function(e){if(Object.keys(e).length>1e3)return!1;for(var t in e){var n=e[t];if(!$t(t,n))return!1}return!0},$t=function(e,t){var n,r;if("string"!=typeof e)return!1;if(Array.isArray(t)){var i=!0;try{for(var o=yt(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(Array.isArray(s))return!1;if("object"==typeof s)i=i&&Bt(s);else if(!["number","string"].includes(typeof s))return!1;if(!i)return!1}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}else{if(null==t)return!1;if("object"==typeof t)return Bt(t);if(!["number","string","boolean"].includes(typeof t))return!1}return!0},Wt=function(){function e(){this._propertySet=new Set,this._properties={}}return e.prototype.getUserProperties=function(){return ht({},this._properties)},e.prototype.set=function(e,t){return this._safeSet(_t.SET,e,t),this},e.prototype.setOnce=function(e,t){return this._safeSet(_t.SET_ONCE,e,t),this},e.prototype.append=function(e,t){return this._safeSet(_t.APPEND,e,t),this},e.prototype.prepend=function(e,t){return this._safeSet(_t.PREPEND,e,t),this},e.prototype.postInsert=function(e,t){return this._safeSet(_t.POSTINSERT,e,t),this},e.prototype.preInsert=function(e,t){return this._safeSet(_t.PREINSERT,e,t),this},e.prototype.remove=function(e,t){return this._safeSet(_t.REMOVE,e,t),this},e.prototype.add=function(e,t){return this._safeSet(_t.ADD,e,t),this},e.prototype.unset=function(e){return this._safeSet(_t.UNSET,e,"-"),this},e.prototype.clearAll=function(){return this._properties={},this._properties[_t.CLEAR_ALL]="-",this},e.prototype._safeSet=function(e,t,n){if(this._validate(e,t,n)){var r=this._properties[e];return void 0===r&&(r={},this._properties[e]=r),r[t]=n,this._propertySet.add(t),!0}return!1},e.prototype._validate=function(e,t,n){return void 0===this._properties[_t.CLEAR_ALL]&&(!this._propertySet.has(t)&&(e===_t.ADD?"number"==typeof n:e===_t.UNSET||e===_t.REMOVE||$t(t,n)))},e}();!function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"}(_t||(_t={}));var Ht,Kt,Qt=[_t.CLEAR_ALL,_t.UNSET,_t.SET,_t.SET_ONCE,_t.ADD,_t.APPEND,_t.PREPEND,_t.PREINSERT,_t.POSTINSERT,_t.REMOVE];(Kt=Ht||(Ht={})).Unknown="unknown",Kt.Skipped="skipped",Kt.Success="success",Kt.RateLimit="rate_limit",Kt.PayloadTooLarge="payload_too_large",Kt.Invalid="invalid",Kt.Failed="failed",Kt.Timeout="Timeout",Kt.SystemError="SystemError";var Gt,Yt,Jt=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Ht.Unknown),{event:e,code:t,message:n}},Xt=function(){var e="ampIntegrationContext";return"undefined"!=typeof globalThis&&void 0!==globalThis[e]?globalThis[e]:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:void 0},Zt=wt([],bt(Array(256).keys()),!1).map(function(e){return e.toString(16).padStart(2,"0")}),en=function(e){var t,n=Xt();if(!(null===(t=null==n?void 0:n.crypto)||void 0===t?void 0:t.getRandomValues))return function(e){return e?(e^16*Math.random()>>e/4).toString(16):(String(1e7)+String(-1e3)+String(-4e3)+String(-8e3)+String(-1e11)).replace(/[018]/g,en)}(e);var r=n.crypto.getRandomValues(new Uint8Array(16));return r[6]=15&r[6]|64,r[8]=63&r[8]|128,wt([],bt(r.entries()),!1).map(function(e){var t=bt(e,2),n=t[0],r=t[1];return[4,6,8,10].includes(n)?"-".concat(Zt[r]):Zt[r]}).join("")},tn=function(){function e(e){this.client=e,this.queue=[],this.applying=!1,this.plugins=[]}return e.prototype.register=function(e,t){var n,r;return gt(this,void 0,void 0,function(){return mt(this,function(i){switch(i.label){case 0:return this.plugins.some(function(t){return t.name===e.name})?(this.loggerProvider.warn("Plugin with name ".concat(e.name," already exists, skipping registration")),[2]):(void 0===e.name&&(e.name=en(),this.loggerProvider.warn("Plugin name is undefined. \n      Generating a random UUID for plugin name: ".concat(e.name,". \n      Set a name for the plugin to prevent it from being added multiple times."))),e.type=null!==(n=e.type)&&void 0!==n?n:"enrichment",[4,null===(r=e.setup)||void 0===r?void 0:r.call(e,t,this.client)]);case 1:return i.sent(),this.plugins.push(e),[2]}})})},e.prototype.deregister=function(e,t){var n;return gt(this,void 0,void 0,function(){var r,i;return mt(this,function(o){switch(o.label){case 0:return-1===(r=this.plugins.findIndex(function(t){return t.name===e}))?(t.loggerProvider.warn("Plugin with name ".concat(e," does not exist, skipping deregistration")),[2]):(i=this.plugins[r],this.plugins.splice(r,1),[4,null===(n=i.teardown)||void 0===n?void 0:n.call(i)]);case 1:return o.sent(),[2]}})})},e.prototype.reset=function(e){this.applying=!1,this.plugins.map(function(e){var t;return null===(t=e.teardown)||void 0===t?void 0:t.call(e)}),this.plugins=[],this.client=e},e.prototype.push=function(e){var t=this;return new Promise(function(n){t.queue.push([e,n]),t.scheduleApply(0)})},e.prototype.scheduleApply=function(e){var t=this;this.applying||(this.applying=!0,setTimeout(function(){t.apply(t.queue.shift()).then(function(){t.applying=!1,t.queue.length>0&&t.scheduleApply(0)})},e))},e.prototype.apply=function(e){return gt(this,void 0,void 0,function(){var t,n,r,i,o,a,s,l,u,c,d,f,p,h,v,g,m,y,b,w;return mt(this,function(k){switch(k.label){case 0:if(!e)return[2];t=bt(e,1),n=t[0],r=bt(e,2),i=r[1],this.loggerProvider.log("Timeline.apply: Initial event",n),o=this.plugins.filter(function(e){return"before"===e.type}),k.label=1;case 1:k.trys.push([1,6,7,8]),a=yt(o),s=a.next(),k.label=2;case 2:return s.done?[3,5]:(f=s.value).execute?[4,f.execute(ht({},n))]:[3,4];case 3:if(null===(p=k.sent()))return this.loggerProvider.log("Timeline.apply: Event filtered out by before plugin '".concat(String(f.name),"', event: ").concat(JSON.stringify(n))),i({event:n,code:0,message:""}),[2];n=p,this.loggerProvider.log("Timeline.apply: Event after before plugin '".concat(String(f.name),"', event: ").concat(JSON.stringify(n))),k.label=4;case 4:return s=a.next(),[3,2];case 5:return[3,8];case 6:return l=k.sent(),m={error:l},[3,8];case 7:try{s&&!s.done&&(y=a.return)&&y.call(a)}finally{if(m)throw m.error}
11return[7];case 8:u=this.plugins.filter(function(e){return"enrichment"===e.type||void 0===e.type}),k.label=9;case 9:k.trys.push([9,14,15,16]),c=yt(u),d=c.next(),k.label=10;case 10:return d.done?[3,13]:(f=d.value).execute?[4,f.execute(ht({},n))]:[3,12];case 11:if(null===(p=k.sent()))return this.loggerProvider.log("Timeline.apply: Event filtered out by enrichment plugin '".concat(String(f.name),"', event: ").concat(JSON.stringify(n))),i({event:n,code:0,message:""}),[2];n=p,this.loggerProvider.log("Timeline.apply: Event after enrichment plugin '".concat(String(f.name),"', event: ").concat(JSON.stringify(n))),k.label=12;case 12:return d=c.next(),[3,10];case 13:return[3,16];case 14:return h=k.sent(),b={error:h},[3,16];case 15:try{d&&!d.done&&(w=c.return)&&w.call(c)}finally{if(b)throw b.error}return[7];case 16:return v=this.plugins.filter(function(e){return"destination"===e.type}),this.loggerProvider.log("Timeline.apply: Final event before destinations, event: ".concat(JSON.stringify(n))),g=v.map(function(e){var t=ht({},n);return e.execute(t).catch(function(e){return Jt(t,0,String(e))})}),Promise.all(g).then(function(e){var t=bt(e,1)[0]||Jt(n,100,"Event not tracked, no destination plugins on the instance");i(t)}),[2]}})})},e.prototype.flush=function(){return gt(this,void 0,void 0,function(){var e,t,n,r=this;return mt(this,function(i){switch(i.label){case 0:return e=this.queue,this.queue=[],[4,Promise.all(e.map(function(e){return r.apply(e)}))];case 1:return i.sent(),t=this.plugins.filter(function(e){return"destination"===e.type}),n=t.map(function(e){return e.flush&&e.flush()}),[4,Promise.all(n)];case 2:return i.sent(),[2]}})})},e.prototype.onIdentityChanged=function(e){this.plugins.forEach(function(t){var n;null===(n=t.onIdentityChanged)||void 0===n||n.call(t,e)})},e.prototype.onSessionIdChanged=function(e){this.plugins.forEach(function(t){var n;null===(n=t.onSessionIdChanged)||void 0===n||n.call(t,e)})},e.prototype.onOptOutChanged=function(e){this.plugins.forEach(function(t){var n;null===(n=t.onOptOutChanged)||void 0===n||n.call(t,e)})},e}(),nn=function(e,t){return ht(ht({},t),{event_type:ft.IDENTIFY,user_properties:e.getUserProperties()})},rn=function(e){return{promise:e||Promise.resolve()}},on=function(){function e(e){void 0===e&&(e="$default"),this.initializing=!1,this.isReady=!1,this.q=[],this.dispatchQ=[],this.logEvent=this.track.bind(this),this.timeline=new tn(this),this.name=e}return e.prototype._init=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){switch(t.label){case 0:return this.config=e,this.timeline.reset(this),this.timeline.loggerProvider=this.config.loggerProvider,[4,this.runQueuedFunctions("q")];case 1:return t.sent(),this.isReady=!0,[2]}})})},e.prototype.runQueuedFunctions=function(e){return gt(this,void 0,void 0,function(){var t,n,r,i,o,a,s,l;return mt(this,function(u){switch(u.label){case 0:t=this[e],this[e]=[],u.label=1;case 1:u.trys.push([1,8,9,10]),n=yt(t),r=n.next(),u.label=2;case 2:return r.done?[3,7]:(i=r.value,(o=i())&&"promise"in o?[4,o.promise]:[3,4]);case 3:return u.sent(),[3,6];case 4:return[4,o];case 5:u.sent(),u.label=6;case 6:return r=n.next(),[3,2];case 7:return[3,10];case 8:return a=u.sent(),s={error:a},[3,10];case 9:try{r&&!r.done&&(l=n.return)&&l.call(n)}finally{if(s)throw s.error}return[7];case 10:return this[e].length?[4,this.runQueuedFunctions(e)]:[3,12];case 11:u.sent(),u.label=12;case 12:return[2]}})})},e.prototype.track=function(e,t,n){var r=function(e,t,n){return ht(ht(ht({},"string"==typeof e?{event_type:e}:e),n),t&&{event_properties:t})}(e,t,n);return rn(this.dispatch(r))},e.prototype.identify=function(e,t){var n=nn(e,t);return rn(this.dispatch(n))},e.prototype.groupIdentify=function(e,t,n,r){var i=function(e,t,n,r){var i;return ht(ht({},r),{event_type:ft.GROUP_IDENTIFY,group_properties:n.getUserProperties(),groups:(i={},i[e]=t,i)})}(e,t,n,r);return rn(this.dispatch(i))},e.prototype.setGroup=function(e,t,n){var r=function(e,t,n){var r,i=new Wt;return i.set(e,t),ht(ht({},n),{event_type:ft.IDENTIFY,user_properties:i.getUserProperties(),groups:(r={},r[e]=t,r)}
vendor: 5,858 bytes, line 11
11)}(e,t,n);return rn(this.dispatch(r))},e.prototype.revenue=function(e,t){var n=function(e,t){return ht(ht({},t),{event_type:ft.REVENUE,event_properties:e.getEventProperties()})}(e,t);return rn(this.dispatch(n))},e.prototype.add=function(e){return this.isReady?this._addPlugin(e):(this.q.push(this._addPlugin.bind(this,e)),rn())},e.prototype._addPlugin=function(e){return rn(this.timeline.register(e,this.config))},e.prototype.remove=function(e){return this.isReady?this._removePlugin(e):(this.q.push(this._removePlugin.bind(this,e)),rn())},e.prototype._removePlugin=function(e){return rn(this.timeline.deregister(e,this.config))},e.prototype.dispatchWithCallback=function(e,t){if(!this.isReady)return t(Jt(e,0,"Client not initialized"));this.process(e).then(t)},e.prototype.dispatch=function(e){return gt(this,void 0,void 0,function(){var t=this;return mt(this,function(n){return this.isReady?[2,this.process(e)]:[2,new Promise(function(n){t.dispatchQ.push(t.dispatchWithCallback.bind(t,e,n))})]})})},e.prototype.getOperationAppliedUserProperties=function(e){var t={};if(void 0===e)return t;var n={};return Object.keys(e).forEach(function(t){Object.values(ct).includes(t)||(n[t]=e[t])}),Qt.forEach(function(n){if(Object.keys(e).includes(n)){var r=e[n];switch(n){case ct.CLEAR_ALL:Object.keys(t).forEach(function(e){delete t[e]});break;case ct.UNSET:Object.keys(r).forEach(function(e){delete t[e]});break;case ct.SET:Object.assign(t,r)}}}),Object.assign(t,n),t},e.prototype.process=function(e){return gt(this,void 0,void 0,function(){var t,n,r,i;return mt(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),this.config.optOut?[2,Jt(e,0,"Event skipped due to optOut config")]:(e.event_type===ft.IDENTIFY&&(t=this.getOperationAppliedUserProperties(e.user_properties),this.timeline.onIdentityChanged({userProperties:t})),[4,this.timeline.push(e)]);case 1:return 200===(i=o.sent()).code?this.config.loggerProvider.log(i.message):100===i.code?this.config.loggerProvider.warn(i.message):this.config.loggerProvider.error(i.message),[2,i];case 2:return n=o.sent(),r=String(n),this.config.loggerProvider.error(r),[2,i=Jt(e,0,r)];case 3:return[2]}})})},e.prototype.setOptOut=function(e){this.isReady?this._setOptOut(e):this.q.push(this._setOptOut.bind(this,Boolean(e)))},e.prototype._setOptOut=function(e){this.config.optOut!==e&&(this.timeline.onOptOutChanged(e),this.config.optOut=Boolean(e))},e.prototype.flush=function(){return rn(this.timeline.flush())},e.prototype.plugin=function(e){var t=this.timeline.plugins.find(function(t){return t.name===e});if(void 0!==t)return t;this.config.loggerProvider.debug("Cannot find plugin with name ".concat(e))},e.prototype.plugins=function(e){return this.timeline.plugins.filter(function(t){return t instanceof e})},e}(),an=function(){function e(e,t){this.key="AMP_remote_config_".concat(e.substring(0,10)),this.logger=t}return e.prototype.fetchConfig=function(){var e=null,t={remoteConfig:null,lastFetch:new Date};try{e=localStorage.getItem(this.key)}catch(r){return this.logger.debug("Remote config localstorage failed to access: ",r),Promise.resolve(t)}if(null===e)return this.logger.debug("Remote config localstorage gets null because the key does not exist"),Promise.resolve(t);try{var n=JSON.parse(e);return this.logger.debug("Remote config localstorage parsed successfully: ".concat(JSON.stringify(n))),Promise.resolve({remoteConfig:n.remoteConfig,lastFetch:new Date(n.lastFetch)})}catch(r){return this.logger.debug("Remote config localstorage failed to parse: ",r),localStorage.removeItem(this.key),Promise.resolve(t)}},e.prototype.setConfig=function(e){try{return localStorage.setItem(this.key,JSON.stringify(e)),this.logger.debug("Remote config localstorage set successfully."),Promise.resolve(!0)}catch(t){this.logger.debug("Remote config localstorage failed to set: ",t)}return Promise.resolve(!1)},e}(),sn=function(){function e(e,t,n){void 0===n&&(n="US"),this.callbackInfos=[],this.apiKey=e,this.serverUrl="US"===n?"https://sr-client-cfg.amplitude.com/config":"https://sr-client-cfg.eu.amplitude.com/config",this.logger=t,this.storage=new an(e,t)}return e.prototype.subscribe=function(e,t,n){var r=en(),i={id:r,key:e,deliveryMode:t,callback:n};return this.callbackInfos.push(i),"all"===t?this.subscribeAll(i):this.subscribeWaitForRemote(i,t.timeout),r},e.prototype.unsubscribe=function(e){var t=this.callbackInfos.findIndex(function(t){return t.id===e});return-1===t?(this.logger.debug("Remote config client unsubscribe failed because callback with id ".concat(e," doesn't exist.")),!1):(this.callbackInfos.splice(t,1),this.logger.debug("Remote config client unsubscribe succeeded removing callback with id ".concat(e,".")),!0)},e.prototype.updateConfigs=function(){return gt(this,void 0,void 0,function(){var e,t=this;return mt(this,function(n){switch(n.label){case 0:return[4,this.fetch()];case 1:return e=n.sent(),this.storage.setConfig(e),this.callbackInfos.forEach(function(n){t.sendCallback(n,e,"remote")}),[2]}})})},e.prototype.subscribeAll=function(e){return gt(this,void 0,void 0,function(){var t,n,r,i=this;return mt(this,function(o){switch(o.label){case 0:return t=this.fetch().then(function(t){i.logger.debug("Remote config client subscription all mode fetched from remote: ".concat(JSON.stringify(t))),i.sendCallback(e,t,"remote"),i.storage.setConfig(t)}),n=this.storage.fetchConfig().then(function(e){return e}),[4,Promise.race([t,n])];case 1:return void 0!==(r=o.sent())&&(this.logger.debug("Remote config client subscription all mode fetched from cache: ".concat(JSON.stringify(r))),this.sendCallback(e,r,"cache")),[4,t];case 2:return o.sent(),[2]}})})},e.prototype.subscribeWaitForRemote=function(e,t){return gt(this,void 0,void 0,function(){var n,r;return mt(this,function(i){switch(i.label){case 0:n=new Promise(function(e,n){setTimeout(function(){n("Timeout exceeded")},t)}
11),i.label=1;case 1:return i.trys.push([1,3,,5]),[4,Promise.race([this.fetch(),n])];case 2:return r=i.sent(),this.logger.debug("Remote config client subscription wait for remote mode returns from remote."),this.sendCallback(e,r,"remote"),this.storage.setConfig(r),[3,5];case 3:return i.sent(),this.logger.debug("Remote config client subscription wait for remote mode exceeded timeout. Try to fetch from cache."),[4,this.storage.fetchConfig()];case 4:return null!==(r=i.sent()).remoteConfig?(this.logger.debug("Remote config client subscription wait for remote mode returns a cached copy."),this.sendCallback(e,r,"cache")):(this.logger.debug("Remote config client subscription wait for remote mode failed to fetch cache."),this.sendCallback(e,r,"remote")),[3,5];case 5:return[2]}})})},e.prototype.sendCallback=function(e,t,n){var r;e.lastCallback=new Date,r=e.key?e.key.split(".").reduce(function(e,t){return null===e?e:t in e?e[t]:null},t.remoteConfig):t.remoteConfig,e.callback(r,n,t.lastFetch)},e.prototype.fetch=function(e,t){return void 0===e&&(e=3),void 0===t&&(t=1e3),gt(this,void 0,void 0,function(){var n,r,i,o,a,s,l=this;return mt(this,function(u){switch(u.label){case 0:n=t/e,r={remoteConfig:null,lastFetch:new Date},i=function(r){var i,a,s,u,c;return mt(this,function(d){switch(d.label){case 0:i=new AbortController,a=setTimeout(function(){return i.abort()},t),d.label=1;case 1:return d.trys.push([1,7,8,9]),[4,fetch(o.getUrlParams(),{method:"GET",headers:{Accept:"*/*"},signal:i.signal})];case 2:return(s=d.sent()).ok?[3,4]:[4,s.text()];case 3:return u=d.sent(),o.logger.debug("Remote config client fetch with retry time ".concat(e," failed with ").concat(s.status,": ").concat(u)),[3,6];case 4:return[4,s.json()];case 5:return[2,{value:{remoteConfig:d.sent(),lastFetch:new Date}}];case 6:return[3,9];case 7:return(c=d.sent())instanceof Error&&"AbortError"===c.name?o.logger.debug("Remote config client fetch with retry time ".concat(e," timed out after ").concat(t,"ms")):o.logger.debug("Remote config client fetch with retry time ".concat(e," is rejected because: "),c),[3,9];case 8:return clearTimeout(a),[7];case 9:return r<e-1?[4,new Promise(function(e){return setTimeout(e,l.getJitterDelay(n))})]:[3,11];case 10:d.sent(),d.label=11;case 11:return[2]}})},o=this,a=0,u.label=1;case 1:return a<e?[5,i(a)]:[3,4];case 2:if("object"==typeof(s=u.sent()))return[2,s.value];u.label=3;case 3:return a++,[3,1];case 4:return[2,r]}})})},e.prototype.getJitterDelay=function(e){return Math.floor(Math.random()*e)},e.prototype.getUrlParams=function(){var t=encodeURIComponent(this.apiKey),n=new URLSearchParams;return n.append("config_group",e.CONFIG_GROUP),"".concat(this.serverUrl,"/").concat(t,"?").concat(n.toString())},e.CONFIG_GROUP="browser",e}();(Yt=Gt||(Gt={}))[Yt.None=0]="None",Yt[Yt.Error=1]="Error",Yt[Yt.Warn=2]="Warn",Yt[Yt.Verbose=3]="Verbose",Yt[Yt.Debug=4]="Debug";var ln,un,cn=function(){function e(){this.logLevel=Gt.None}return e.prototype.disable=function(){this.logLevel=Gt.None},e.prototype.enable=function(e){void 0===e&&(e=Gt.Warn),this.logLevel=e},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel,Gt.Verbose},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel,Gt.Warn},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel,Gt.Error},e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.logLevel,Gt.Debug},e}(),dn=function(){function e(){this.productId="",this.quantity=1,this.price=0}return e.prototype.setProductId=function(e){return this.productId=e,this},e.prototype.setQuantity=function(e){return e>0&&(this.quantity=e),this},e.prototype.setPrice=function(e){return this.price=e,this},e.prototype.setRevenueType=function(e){return this.revenueType=e,this},e.prototype.setCurrency=function(e){return this.currency=e,this},e.prototype.setRevenue=function(e){return this.revenue=e,this},e.prototype.setReceipt=function(e){return this.receipt=e,this},e.prototype.setReceiptSig=function(e){return this.receiptSig=e,this},e.prototype.setEventProperties=function(e){return Bt(e)&&(this.properties=e),this},e.prototype.getEventProperties=function(){var e=this.properties?ht({},this.properties):{};return e[ln.REVENUE_PRODUCT_ID]=this.productId,e[ln.REVENUE_QUANTITY]=this.quantity,e[ln.REVENUE_PRICE]=this.price,e[ln.REVENUE_TYPE]=this.revenueType,e[ln.REVENUE_CURRENCY]=this.currency,e[ln.REVENUE]=this.revenue,e[ln.RECEIPT]=this.receipt,e[ln.RECEIPT_SIG]=this.receiptSig,e},e}();(un=ln||(ln={})).REVENUE_PRODUCT_ID="$productId",un.REVENUE_QUANTITY="$quantity",un.REVENUE_PRICE="$price",un.REVENUE_TYPE="$revenueType",un.REVENUE_CURRENCY="$currency",un.REVENUE="$revenue",un.RECEIPT="$receipt",un.RECEIPT_SIG="$receiptSig";var fn=function(){return{flushMaxRetries:12,flushQueueSize:200,flushIntervalMillis:1e4,instanceName:Tt,logLevel:Gt.Warn,loggerProvider:new cn,offline:!1,optOut:!1,serverUrl:Pt,serverZone:"US",useBatch:!1}},pn=function(){function e(e){var t,n,r,i;this._optOut=!1;var o=fn();this.apiKey=e.apiKey,this.flushIntervalMillis=null!==(t=e.flushIntervalMillis)&&void 0!==t?t:o.flushIntervalMillis,this.flushMaxRetries=e.flushMaxRetries||o.flushMaxRetries,this.flushQueueSize=e.flushQueueSize||o.flushQueueSize,this.instanceName=e.instanceName||o.instanceName,this.loggerProvider=e.loggerProvider||o.loggerProvider,this.logLevel=null!==(n=e.logLevel)&&void 0!==n?n:o.logLevel,this.minIdLength=e.minIdLength,this.plan=e.plan,this.ingestionMetadata=e.ingestionMetadata,this.offline=void 0!==e.offline?e.offline:o.offline,this.optOut=null!==(r=e.optOut)&&void 0!==r?r:o.optOut,this.serverUrl=e.serverUrl,this.serverZone=e.serverZone||o.serverZone,this.storageProvider=e.storageProvider,this.transportProvider=e.transportProvider,this.useBatch=null!==(i=e.useBatch)&&void 0!==i?i:o.useBatch,this.loggerProvider.enable(this.logLevel);var a=vn(e.serverUrl,e.serverZone,e.useBatch);this.serverZone=a.serverZone,this.serverUrl=a.serverUrl}return Object.defineProperty(e.prototype,"optOut",{get:function(){return this._optOut},set:function(e){this._optOut=e}
vendor: 5,679 bytes, line 11
11,enumerable:!1,configurable:!0}),e}(),hn=function(e,t){return"EU"===e?t?"https://api.eu.amplitude.com/batch":"https://api.eu.amplitude.com/2/httpapi":t?"https://api2.amplitude.com/batch":Pt},vn=function(e,t,n){if(void 0===e&&(e=""),void 0===t&&(t=fn().serverZone),void 0===n&&(n=fn().useBatch),e)return{serverUrl:e,serverZone:void 0};var r=["US","EU"].includes(t)?t:fn().serverZone;return{serverZone:r,serverUrl:hn(r,n)}},gn=function(){function e(){this.sdk={metrics:{histogram:{}}}}return e.prototype.recordHistogram=function(e,t){this.sdk.metrics.histogram[e]=t},e}();function mn(e){var t="";try{"body"in e&&(t=JSON.stringify(e.body,null,2))}catch(n){}return t}var yn=function(){function e(){this.name="amplitude",this.type="destination",this.retryTimeout=1e3,this.throttleTimeout=3e4,this.storageKey="",this.scheduleId=null,this.scheduledTimeout=0,this.flushId=null,this.queue=[]}return e.prototype.setup=function(e){var t;return gt(this,void 0,void 0,function(){var n,r=this;return mt(this,function(i){switch(i.label){case 0:return this.config=e,this.storageKey="".concat(Ct,"_").concat(this.config.apiKey.substring(0,10)),[4,null===(t=this.config.storageProvider)||void 0===t?void 0:t.get(this.storageKey)];case 1:return(n=i.sent())&&n.length>0&&Promise.all(n.map(function(e){return r.execute(e)})).catch(),[2,Promise.resolve(void 0)]}})})},e.prototype.execute=function(e){var t=this;return e.insert_id||(e.insert_id=en()),new Promise(function(n){var r={event:e,attempts:0,callback:function(e){return n(e)},timeout:0};t.queue.push(r),t.schedule(t.config.flushIntervalMillis),t.saveEvents()})},e.prototype.removeEventsExceedFlushMaxRetries=function(e){var t=this;return e.filter(function(e){return e.attempts+=1,e.attempts<t.config.flushMaxRetries||(t.fulfillRequest([e],500,"Event rejected due to exceeded retry count"),!1)})},e.prototype.scheduleEvents=function(e){var t=this;e.forEach(function(e){t.schedule(0===e.timeout?t.config.flushIntervalMillis:e.timeout)})},e.prototype.schedule=function(e){var t=this;if(!this.config.offline)return null===this.scheduleId||this.scheduleId&&e>this.scheduledTimeout?(this.scheduleId&&clearTimeout(this.scheduleId),this.scheduledTimeout=e,void(this.scheduleId=setTimeout(function(){t.queue=t.queue.map(function(e){return e.timeout=0,e}),t.flush(!0)},e))):void 0},e.prototype.resetSchedule=function(){this.scheduleId=null,this.scheduledTimeout=0},e.prototype.flush=function(e){return void 0===e&&(e=!1),gt(this,void 0,void 0,function(){var t,n,r=this;return mt(this,function(i){switch(i.label){case 0:return this.config.offline?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush while offline."),[2]):this.flushId?(this.resetSchedule(),this.config.loggerProvider.debug("Skipping flush because previous flush has not resolved."),[2]):(this.flushId=this.scheduleId,this.resetSchedule(),t=[],n=[],this.queue.forEach(function(e){return 0===e.timeout?t.push(e):n.push(e)}),o=t,a=this.config.flushQueueSize,s=Math.max(a,1),[4,o.reduce(function(e,t,n){var r=Math.floor(n/s);return e[r]||(e[r]=[]),e[r].push(t),e},[]).reduce(function(t,n){return gt(r,void 0,void 0,function(){return mt(this,function(r){switch(r.label){case 0:return[4,t];case 1:return r.sent(),[4,this.send(n,e)];case 2:return[2,r.sent()]}})})},Promise.resolve())]);case 1:return i.sent(),this.flushId=null,this.scheduleEvents(this.queue),[2]}var o,a,s})})},e.prototype.send=function(e,t){return void 0===t&&(t=!0),gt(this,void 0,void 0,function(){var n,r,i,o,a;return mt(this,function(s){switch(s.label){case 0:if(!this.config.apiKey)return[2,this.fulfillRequest(e,400,"Event rejected due to missing API key")];n={api_key:this.config.apiKey,events:e.map(function(e){var t=e.event;return t.extra,vt(t,["extra"])}),options:{min_id_length:this.config.minIdLength},client_upload_time:(new Date).toISOString(),request_metadata:this.config.requestMetadata},this.config.requestMetadata=new gn,s.label=1;case 1:return s.trys.push([1,3,,4]),r=vn(this.config.serverUrl,this.config.serverZone,this.config.useBatch).serverUrl,[4,this.config.transportProvider.send(r,n)];case 2:return null===(i=s.sent())?(this.fulfillRequest(e,0,"Unexpected error occurred"),[2]):t?(this.handleResponse(i,e),[3,4]):("body"in i?this.fulfillRequest(e,i.statusCode,"".concat(i.status,": ").concat(mn(i))):this.fulfillRequest(e,i.statusCode,i.status),[2]);case 3:return o=s.sent(),a=(l=o)instanceof Error?l.message:String(l),this.config.loggerProvider.error(a),this.handleResponse({status:Ht.Failed,statusCode:0},e),[3,4];case 4:return[2]}var l})})},e.prototype.handleResponse=function(e,t){var n=e.status;switch(n){case Ht.Success:this.handleSuccessResponse(e,t);break;case Ht.Invalid:this.handleInvalidResponse(e,t);break;case Ht.PayloadTooLarge:this.handlePayloadTooLargeResponse(e,t);break;case Ht.RateLimit:this.handleRateLimitResponse(e,t);break;default:this.config.loggerProvider.warn("{code: 0, error: \"Status '".concat(n,"' provided for ").concat(t.length,' events"}')),this.handleOtherResponse(t)}},e.prototype.handleSuccessResponse=function(e,t){this.fulfillRequest(t,e.statusCode,"Event tracked successfully")},e.prototype.handleInvalidResponse=function(e,t){var n=this;if(e.body.missingField||e.body.error.startsWith("Invalid API key"))this.fulfillRequest(t,e.statusCode,e.body.error);else{var r=wt(wt(wt(wt([],bt(Object.values(e.body.eventsWithInvalidFields)),!1),bt(Object.values(e.body.eventsWithMissingFields)),!1),bt(Object.values(e.body.eventsWithInvalidIdLengths)),!1),bt(e.body.silencedEvents),!1).flat(),i=new Set(r),o=t.filter(function(t,r){if(!i.has(r))return!0;n.fulfillRequest([t],e.statusCode,e.body.error)});o.length>0&&this.config.loggerProvider.warn(mn(e));
vendor: 11,343 bytes, line 11
11var a=this.removeEventsExceedFlushMaxRetries(o);this.scheduleEvents(a)}},e.prototype.handlePayloadTooLargeResponse=function(e,t){if(1!==t.length){this.config.loggerProvider.warn(mn(e)),this.config.flushQueueSize/=2;var n=this.removeEventsExceedFlushMaxRetries(t);this.scheduleEvents(n)}else this.fulfillRequest(t,e.statusCode,e.body.error)},e.prototype.handleRateLimitResponse=function(e,t){var n=this,r=Object.keys(e.body.exceededDailyQuotaUsers),i=Object.keys(e.body.exceededDailyQuotaDevices),o=e.body.throttledEvents,a=new Set(r),s=new Set(i),l=new Set(o),u=t.filter(function(t,r){if(!(t.event.user_id&&a.has(t.event.user_id)||t.event.device_id&&s.has(t.event.device_id)))return l.has(r)&&(t.timeout=n.throttleTimeout),!0;n.fulfillRequest([t],e.statusCode,e.body.error)});u.length>0&&this.config.loggerProvider.warn(mn(e));var c=this.removeEventsExceedFlushMaxRetries(u);this.scheduleEvents(c)},e.prototype.handleOtherResponse=function(e){var t=this,n=e.map(function(e){return e.timeout=e.attempts*t.retryTimeout,e}),r=this.removeEventsExceedFlushMaxRetries(n);this.scheduleEvents(r)},e.prototype.fulfillRequest=function(e,t,n){this.removeEvents(e),e.forEach(function(e){return e.callback(Jt(e.event,t,n))})},e.prototype.saveEvents=function(){if(this.config.storageProvider){var e=this.queue.map(function(e){return e.event});this.config.storageProvider.set(this.storageKey,e)}},e.prototype.removeEvents=function(e){this.queue=this.queue.filter(function(t){return!e.some(function(e){return e.event.insert_id===t.event.insert_id})}),this.saveEvents()},e}(),bn=function(){function e(){}return e.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:wn(),platform:"Web",os:void 0,deviceModel:void 0}},e}(),wn=function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},kn=function(){function e(){this.queue=[]}return e.prototype.logEvent=function(e){this.receiver?this.receiver(e):this.queue.length<512&&this.queue.push(e)},e.prototype.setEventReceiver=function(e){this.receiver=e,this.queue.length>0&&(this.queue.forEach(function(t){e(t)}),this.queue=[])},e}(),Sn=function(){return Sn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Sn.apply(this,arguments)};function xn(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _n(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}"function"==typeof SuppressedError&&SuppressedError;var En=function(e,t){var n,r,i=typeof e;if(i!==typeof t)return!1;try{for(var o=xn(["string","number","boolean","undefined"]),a=o.next();!a.done;a=o.next()){if(a.value===i)return e===t}}catch(p){n={error:p}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;var s=Array.isArray(e),l=Array.isArray(t);if(s!==l)return!1;if(!s||!l){var u=Object.keys(e).sort(),c=Object.keys(t).sort();if(!En(u,c))return!1;var d=!0;return Object.keys(e).forEach(function(n){En(e[n],t[n])||(d=!1)}),d}for(var f=0;f<e.length;f++)if(!En(e[f],t[f]))return!1;return!0};Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r});var Cn,Tn,Pn=function(){function e(){this.identity={userProperties:{}},this.listeners=new Set}return e.prototype.editIdentity=function(){var e=this,t=Sn({},this.identity.userProperties),n=Sn(Sn({},this.identity),{userProperties:t});return{setUserId:function(e){return n.userId=e,this},setDeviceId:function(e){return n.deviceId=e,this},setUserProperties:function(e){return n.userProperties=e,this},setOptOut:function(e){return n.optOut=e,this},updateUserProperties:function(e){var t,r,i,o,a,s,l=n.userProperties||{};try{for(var u=xn(Object.entries(e)),c=u.next();!c.done;c=u.next()){var d=_n(c.value,2),f=d[0],p=d[1];switch(f){case"$set":try{for(var h=(i=void 0,xn(Object.entries(p))),v=h.next();!v.done;v=h.next()){var g=_n(v.value,2),m=g[0],y=g[1];l[m]=y}}catch(k){i={error:k}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}break;case"$unset":try{for(var b=(a=void 0,xn(Object.keys(p))),w=b.next();!w.done;w=b.next()){delete l[m=w.value]}}catch(S){a={error:S}}finally{try{w&&!w.done&&(s=b.return)&&s.call(b)}finally{if(a)throw a.error}}break;case"$clearAll":l={}}}}catch(x){t={error:x}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return n.userProperties=l,this},commit:function(){return e.setIdentity(n),this}}},e.prototype.getIdentity=function(){return Sn({},this.identity)},e.prototype.setIdentity=function(e){var t=Sn({},this.identity);this.identity=Sn({},e),En(t,this.identity)||this.listeners.forEach(function(t){t(e)})},e.prototype.addIdentityListener=function(e){this.listeners.add(e)},e.prototype.removeIdentityListener=function(e){this.listeners.delete(e)},e}(),In="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:self,jn=function(){function e(){this.identityStore=new Pn,this.eventBridge=new kn,this.applicationContextProvider=new bn}return e.getInstance=function(t){return In.analyticsConnectorInstances||(In.analyticsConnectorInstances={}),In.analyticsConnectorInstances[t]||(In.analyticsConnectorInstances[t]=new e),In.analyticsConnectorInstances[t]},e}(),An=function(e){return void 0===e&&(e=Tt),jn.getInstance(e)},On=function(){function e(){this.name="identity",this.type="before",this.identityStore=An().identityStore}return e.prototype.execute=function(e){return gt(this,void 0,void 0,function(){var t;return mt(this,function(n){return(t=e.user_properties)&&this.identityStore.editIdentity().updateUserProperties(t).commit(),[2,e]})})},e.prototype.setup=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){return e.instanceName&&(this.identityStore=An(e.instanceName).identityStore),[2]})})},e}(),Ln=function(e,t){return void 0===t&&(t=Date.now()),Date.now()-t>e},Rn=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n=10),[Et,t,e.substring(0,n)].filter(Boolean).join("_")},Nn=function(){var e,t,n,r;if("undefined"==typeof navigator)return"";var i=navigator.userLanguage;return null!==(r=null!==(n=null!==(t=null===(e=navigator.languages)||void 0===e?void 0:e[0])&&void 0!==t?t:navigator.language)&&void 0!==n?n:i)&&void 0!==r?r:""},Dn=function(){var e,t=Xt();return(null===(e=null==t?void 0:t.location)||void 0===e?void 0:e.search)?t.location.search.substring(1).split("&").filter(Boolean).reduce(function(e,t){var n=t.split("=",2),r=zn(n[0]),i=zn(n[1]);return i?(e[r]=i,e):e},{}):{}},zn=function(e){void 0===e&&(e="");try{return decodeURIComponent(e)}catch(t){return""}},Mn=function(e){return function(){var t=ht({},e.config);return{logger:t.loggerProvider,logLevel:t.logLevel}}},Fn=function(e,t){var n,r;t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"");try{for(var i=yt(t.split(".")),o=i.next();!o.done;o=i.next()){var a=o.value;if(!(a in e))return;e=e[a]}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},Un=function(e,t){return function(){var n,r,i={};try{for(var o=yt(t),a=o.next();!a.done;a=o.next()){var s=a.value;i[s]=Fn(e,s)}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}},qn=function(e,t,n,r,i){return void 0===i&&(i=null),function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=n(),l=s.logger,u=s.logLevel;if(u&&u<Gt.Debug||!u||!l)return e.apply(i,o);var c,d={type:"invoke public method",name:t,args:o,stacktrace:(c=1,((new Error).stack||"").split("\n").slice(2+c).map(function(e){return e.trim()})),time:{start:(new Date).toISOString()},states:{}};r&&d.states&&(d.states.before=r());var f=e.apply(i,o);return f&&f.promise?f.promise.then(function(){r&&d.states&&(d.states.after=r()),d.time&&(d.time.end=(new Date).toISOString()),l.debug(JSON.stringify(d,null,2))}):(r&&d.states&&(d.states.after=r()),d.time&&(d.time.end=(new Date).toISOString()),l.debug(JSON.stringify(d,null,2))),f}},Vn=function(e,t){return!t||!t.length||t.some(function(t){return"string"==typeof t?e===t:e.match(t)})},Bn=function(){function e(){this.memoryStorage=new Map}return e.prototype.isEnabled=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){return[2,!0]})})},e.prototype.get=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){return[2,this.memoryStorage.get(e)]})})},e.prototype.getRaw=function(e){return gt(this,void 0,void 0,function(){var t;return mt(this,function(n){switch(n.label){case 0:return[4,this.get(e)];case 1:return[2,(t=n.sent())?JSON.stringify(t):void 0]}})})},e.prototype.set=function(e,t){return gt(this,void 0,void 0,function(){return mt(this,function(n){return this.memoryStorage.set(e,t),[2]})})},e.prototype.remove=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){return this.memoryStorage.delete(e),[2]})})},e.prototype.reset=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){return this.memoryStorage.clear(),[2]})})},e}(),$n=function(){function e(e){this.options=ht({},e)}return e.prototype.isEnabled=function(){return gt(this,void 0,void 0,function(){var t,n;return mt(this,function(r){switch(r.label){case 0:if(!Xt())return[2,!1];e.testValue=String(Date.now()),t=new e(this.options),n="AMP_TEST",r.label=1;case 1:return r.trys.push([1,4,5,7]),[4,t.set(n,e.testValue)];case 2:return r.sent(),[4,t.get(n)];case 3:return[2,r.sent()===e.testValue];case 4:return r.sent(),[2,!1];case 5:return[4,t.remove(n)];case 6:return r.sent(),[7];case 7:return[2]}})})},e.prototype.get=function(e){var t;return gt(this,void 0,void 0,function(){var n,r;return mt(this,function(i){switch(i.label){case 0:return[4,this.getRaw(e)];case 1:if(!(n=i.sent()))return[2,void 0];try{return void 0===(r=null!==(t=Wn(n))&&void 0!==t?t:Hn(n))?[2,void 0]:[2,JSON.parse(r)]}catch(o){return[2,void 0]}return[2]}})})},e.prototype.getRaw=function(e){var t,n;return gt(this,void 0,void 0,function(){var r,i,o;return mt(this,function(a){return r=Xt(),i=null!==(n=null===(t=null==r?void 0:r.document)||void 0===t?void 0:t.cookie.split("; "))&&void 0!==n?n:[],(o=i.find(function(t){return 0===t.indexOf(e+"=")}))?[2,o.substring(e.length+1)]:[2,void 0]})})},e.prototype.set=function(e,t){var n;return gt(this,void 0,void 0,function(){var r,i,o,a,s,l;return mt(this,function(u){try{r=null!==(n=this.options.expirationDays)&&void 0!==n?n:0,o=void 0,(i=null!==t?r:-1)&&((a=new Date).setTime(a.getTime()+24*i*60*60*1e3),o=a),s="".concat(e,"=").concat(btoa(encodeURIComponent(JSON.stringify(t)))),o&&(s+="; expires=".concat(o.toUTCString())),s+="; path=/",this.options.domain&&(s+="; domain=".concat(this.options.domain)),this.options.secure&&(s+="; Secure"),this.options.sameSite&&(s+=";
11 SameSite=".concat(this.options.sameSite)),(l=Xt())&&(l.document.cookie=s)}catch(c){c instanceof Error?c.message:String(c)}return[2]})})},e.prototype.remove=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){switch(t.label){case 0:return[4,this.set(e,null)];case 1:return t.sent(),[2]}})})},e.prototype.reset=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){return[2]})})},e}(),Wn=function(e){try{return decodeURIComponent(atob(e))}catch(t){return}},Hn=function(e){try{return decodeURIComponent(atob(decodeURIComponent(e)))}catch(t){return}},Kn=function(){function e(e){this.storage=e}return e.prototype.isEnabled=function(){return gt(this,void 0,void 0,function(){var t,n,r;return mt(this,function(i){switch(i.label){case 0:if(!this.storage)return[2,!1];t=String(Date.now()),n=new e(this.storage),r="AMP_TEST",i.label=1;case 1:return i.trys.push([1,4,5,7]),[4,n.set(r,t)];case 2:return i.sent(),[4,n.get(r)];case 3:return[2,i.sent()===t];case 4:return i.sent(),[2,!1];case 5:return[4,n.remove(r)];case 6:return i.sent(),[7];case 7:return[2]}})})},e.prototype.get=function(e){return gt(this,void 0,void 0,function(){var t;return mt(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.getRaw(e)];case 1:return(t=n.sent())?[2,JSON.parse(t)]:[2,void 0];case 2:return n.sent(),[2,void 0];case 3:return[2]}})})},e.prototype.getRaw=function(e){var t;return gt(this,void 0,void 0,function(){return mt(this,function(n){return[2,(null===(t=this.storage)||void 0===t?void 0:t.getItem(e))||void 0]})})},e.prototype.set=function(e,t){var n;return gt(this,void 0,void 0,function(){return mt(this,function(r){try{null===(n=this.storage)||void 0===n||n.setItem(e,JSON.stringify(t))}catch(i){}return[2]})})},e.prototype.remove=function(e){var t;return gt(this,void 0,void 0,function(){return mt(this,function(n){try{null===(t=this.storage)||void 0===t||t.removeItem(e)}catch(r){}return[2]})})},e.prototype.reset=function(){var e;return gt(this,void 0,void 0,function(){return mt(this,function(t){try{null===(e=this.storage)||void 0===e||e.clear()}catch(n){}return[2]})})},e}(),Qn=function(){function e(){}return e.prototype.send=function(e,t){return Promise.resolve(null)},e.prototype.buildResponse=function(e){var t,n,r,i,o,a,s,l,u,c,d,f,p,h,v,g,m,y,b,w,k,S;if("object"!=typeof e)return null;var x=e.code||0,_=this.buildStatus(x);switch(_){case Ht.Success:return{status:_,statusCode:x,body:{eventsIngested:null!==(t=e.events_ingested)&&void 0!==t?t:0,payloadSizeBytes:null!==(n=e.payload_size_bytes)&&void 0!==n?n:0,serverUploadTime:null!==(r=e.server_upload_time)&&void 0!==r?r:0}};case Ht.Invalid:return{status:_,statusCode:x,body:{error:null!==(i=e.error)&&void 0!==i?i:"",missingField:null!==(o=e.missing_field)&&void 0!==o?o:"",eventsWithInvalidFields:null!==(a=e.events_with_invalid_fields)&&void 0!==a?a:{},eventsWithMissingFields:null!==(s=e.events_with_missing_fields)&&void 0!==s?s:{},eventsWithInvalidIdLengths:null!==(l=e.events_with_invalid_id_lengths)&&void 0!==l?l:{},epsThreshold:null!==(u=e.eps_threshold)&&void 0!==u?u:0,exceededDailyQuotaDevices:null!==(c=e.exceeded_daily_quota_devices)&&void 0!==c?c:{},silencedDevices:null!==(d=e.silenced_devices)&&void 0!==d?d:[],silencedEvents:null!==(f=e.silenced_events)&&void 0!==f?f:[],throttledDevices:null!==(p=e.throttled_devices)&&void 0!==p?p:{},throttledEvents:null!==(h=e.throttled_events)&&void 0!==h?h:[]}};case Ht.PayloadTooLarge:return{status:_,statusCode:x,body:{error:null!==(v=e.error)&&void 0!==v?v:""}};case Ht.RateLimit:return{status:_,statusCode:x,body:{error:null!==(g=e.error)&&void 0!==g?g:"",epsThreshold:null!==(m=e.eps_threshold)&&void 0!==m?m:0,throttledDevices:null!==(y=e.throttled_devices)&&void 0!==y?y:{},throttledUsers:null!==(b=e.throttled_users)&&void 0!==b?b:{},exceededDailyQuotaDevices:null!==(w=e.exceeded_daily_quota_devices)&&void 0!==w?w:{},exceededDailyQuotaUsers:null!==(k=e.exceeded_daily_quota_users)&&void 0!==k?k:{},throttledEvents:null!==(S=e.throttled_events)&&void 0!==S?S:[]}};case Ht.Timeout:default:return{status:_,statusCode:x}}},e.prototype.buildStatus=function(e){return e>=200&&e<300?Ht.Success:429===e?Ht.RateLimit:413===e?Ht.PayloadTooLarge:408===e?Ht.Timeout:e>
11=400&&e<500?Ht.Invalid:e>=500?Ht.Failed:Ht.Unknown},e}(),Gn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ut(t,e),t.prototype.send=function(e,t){return gt(this,void 0,void 0,function(){var n,r,i;return mt(this,function(o){switch(o.label){case 0:if("undefined"==typeof fetch)throw new Error("FetchTransport is not supported");return n={headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(t),method:"POST"},[4,fetch(e,n)];case 1:return[4,(r=o.sent()).text()];case 2:i=o.sent();try{return[2,this.buildResponse(JSON.parse(i))]}catch(a){return[2,this.buildResponse({code:r.status})]}return[2]}})})},t}(Qn);(Tn=Cn||(Cn={})).US="US",Tn.EU="EU",Tn.STAGING="STAGING";var Yn=["a","button","input","select","textarea","label","video","audio",'[contenteditable="true" i]',"[data-amp-default-track]",".amp-default-track"],Jn="data-amp-track-",Xn=["div","span","h1","h2","h3","h4","h5","h6"],Zn=wt(['input[type="button"]','input[type="submit"]','input[type="reset"]','input[type="image"]','input[type="file"]'],bt(["a","button",'[role="button"]','[role="link"]','[role="menuitem"]','[role="menuitemcheckbox"]','[role="menuitemradio"]','[role="option"]','[role="tab"]','[role="treeitem"]','[contenteditable="true" i]']),!1),er=["*"];function tr(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||null==e}function nr(e,t,n){e&&rr({json:e,allowlist:t.map(ir),excludelist:n.map(ir),ancestors:[]})}function rr(e){var t,n,r=e.json,i=e.targetObject,o=e.allowlist,a=e.excludelist,s=e.ancestors,l=e.parentObject,u=e.targetKey;i||(i=r);var c=Object.keys(i);try{for(var d=yt(c),f=d.next();!f.done;f=d.next()){var p=f.value,h=wt(wt([],bt(s),!1),[p],!1);tr(i[p])?ar(h,o)&&!ar(h,a)||delete i[p]:rr({json:r,targetObject:i[p],allowlist:o,excludelist:a,ancestors:h,parentObject:i,targetKey:p})}}catch(v){t={error:v}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}0===Object.keys(i).length&&l&&u&&delete l[u]}function ir(e){return e.startsWith("/")&&(e=e.slice(1)),e.split("/").map(function(e){return e.replace(/~0/g,"~").replace(/~1/g,"/")})}function or(e,t,n,r){if(void 0===n&&(n=0),void 0===r&&(r=0),r===t.length)return n===e.length;if(n===e.length){for(;r<t.length&&"**"===t[r];)r++;return r===t.length}var i=t[r];if("**"===i){if(r+1===t.length)return!0;for(var o=n;o<=e.length;o++)if(or(e,t,o,r+1))return!0;return!1}return("*"===i||i===e[n])&&or(e,t,n+1,r+1)}function ar(e,t){return t.some(function(t){return or(e,t)})}var sr=function(){function e(e){this.request=e}return e.prototype.headers=function(e){var t,n;void 0===e&&(e=[]);var r=this.request.headers,i={};if(Array.isArray(r))r.forEach(function(e){var t=bt(e,2),n=t[0],r=t[1];i[n]=r});else if(r instanceof Headers)r.forEach(function(e,t){i[t]=e});else if("object"==typeof r&&null!==r)try{for(var o=yt(Object.entries(r)),a=o.next();!a.done;a=o.next()){var s=bt(a.value,2),l=s[0],u=s[1];i[l]=u}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return gr(i,{allow:e})},Object.defineProperty(e.prototype,"bodySize",{get:function(){if("number"==typeof this._bodySize)return this._bodySize;var e=Xt();if(null==e?void 0:e.TextEncoder){var t=this.request.body;return this._bodySize=ur(t,100),this._bodySize}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"method",{get:function(){return this.request.method},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"body",{get:function(){return"string"==typeof this.request.body?this.request.body:null},enumerable:!1,configurable:!0}),e.prototype.json=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),gt(this,void 0,void 0,function(){return mt(this,function(n){return 0===e.length?[2,null]:[2,hr(this.body,e,t)]})})},e}(),lr=function(){function e(e,t){this.bodyRaw=e,this.requestHeaders=t}return e.prototype.headers=function(e){return void 0===e&&(e=[]),gr(this.requestHeaders,{allow:e})},Object.defineProperty(e.prototype,"bodySize",{get:function(){return ur(this.bodyRaw,100)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"body",{get:function(){return"string"==typeof this.bodyRaw?this.bodyRaw:null}
vendor: 4,515 bytes, line 11
11,enumerable:!1,configurable:!0}),e.prototype.json=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),gt(this,void 0,void 0,function(){return mt(this,function(n){return 0===e.length?[2,null]:[2,hr(this.body,e,t)]})})},e}();function ur(e,t){var n,r,i,o=Xt(),a=null==o?void 0:o.TextEncoder;if(a){var s;if("string"==typeof e)s=e,i=(new a).encode(s).length;else if(e instanceof Blob)i=(s=e).size;else if(e instanceof URLSearchParams)s=e,i=(new a).encode(s.toString()).length;else if(ArrayBuffer.isView(e))i=(s=e).byteLength;else if(e instanceof ArrayBuffer)i=(s=e).byteLength;else if(e instanceof FormData){var l=e,u=0,c=0;try{for(var d=yt(l.entries()),f=d.next();!f.done;f=d.next()){var p=bt(f.value,2),h=p[0],v=p[1];if(u+=h.length,"string"==typeof v)u+=(new a).encode(v).length;else{if(!(v instanceof Blob))return;u+=v.size}if(++c>=t)return}}catch(g){n={error:g}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}i=u}else if(e instanceof ReadableStream)return void(s=e);return i}}var cr,dr,fr=function(){function e(e){this.response=e}return e.prototype.headers=function(e){var t;if(void 0===e&&(e=[]),this.response.headers instanceof Headers){var n=this.response.headers,r={};return null===(t=null==n?void 0:n.forEach)||void 0===t||t.call(n,function(e,t){r[t]=e}),gr(r,{allow:e})}},Object.defineProperty(e.prototype,"bodySize",{get:function(){var e,t;if(void 0!==this._bodySize)return this._bodySize;var n=null===(t=null===(e=this.response.headers)||void 0===e?void 0:e.get)||void 0===t?void 0:t.call(e,"content-length"),r=n?parseInt(n,10):void 0;return this._bodySize=r,r},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.response.status},enumerable:!1,configurable:!0}),e.prototype.text=function(){return gt(this,void 0,void 0,function(){var e,t;return mt(this,function(n){switch(n.label){case 0:this.clonedResponse||(this.clonedResponse=this.response.clone()),n.label=1;case 1:return n.trys.push([1,3,,4]),e=this.clonedResponse.text(),t=new Promise(function(e){return setTimeout(function(){return e(null)},500)}),[4,Promise.race([e,t])];case 2:return[2,n.sent()];case 3:return n.sent(),[2,null];case 4:return[2]}})})},e.prototype.json=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),gt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return 0===e.length?[2,null]:[4,this.text()];case 1:return[2,hr(n.sent(),e,t)]}})})},e}(),pr=function(){function e(e,t,n,r){this.statusCode=e,this.headersString=t,this.size=n,this.responseText=r}return Object.defineProperty(e.prototype,"bodySize",{get:function(){return this.size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.statusCode},enumerable:!1,configurable:!0}),e.prototype.text=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){return[2,this.responseText]})})},e.prototype.headers=function(e){var t,n;if(void 0===e&&(e=[]),!this.headersString)return{};var r={},i=this.headersString.split("\r\n");try{for(var o=yt(i),a=o.next();!a.done;a=o.next()){var s=bt(a.value.split(": "),2),l=s[0],u=s[1];l&&u&&(r[l]=u)}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return gr(r,{allow:e})},e.prototype.json=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),gt(this,void 0,void 0,function(){return mt(this,function(n){switch(n.label){case 0:return 0===e.length?[2,null]:[4,this.text()];case 1:return[2,hr(n.sent(),e,t)]}})})},e}();function hr(e,t,n){if(!e)return null;try{var r=JSON.parse(e);return nr(r,t,n),r}catch(i){return null}}(dr=cr||(cr={})).REDACT="redact",dr.REMOVE="remove";var vr="[REDACTED]",gr=function(e,t){var n,r,i=t.allow,o=void 0===i?[]:i,a=t.strategy,s=void 0===a?cr.REMOVE:a,l=wt([],bt(Vt),!1),u={},c=function(t){var n=t.toLowerCase();l.find(function(e){return e.toLowerCase()===n})?s===cr.REDACT&&(u[t]=vr):o.find(function(e){return e.toLowerCase()===n})?u[t]=e[t]:s===cr.REDACT&&(u[t]=vr)};try{for(var d=yt(Object.keys(e)),f=d.next();!f.done;f=d.next()){c(f.value)}}catch(p){n={error:p}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}return u},mr=function(){function e(e,t,n,r,i,o,a,s,l,u,c){void 0===a&&(a=0),this.type=e,this.method=t,this.timestamp=n,this.startTime=r,this.url=i,this.requestWrapper=o,this.status=a,this.duration=s,this.responseWrapper=l,this.error=u,this.endTime=c}return e.prototype.toSerializable=function(){var e,t,n,r,i={type:this.t
11ype,method:this.method,url:this.url,timestamp:this.timestamp,status:this.status,duration:this.duration,error:this.error,startTime:this.startTime,endTime:this.endTime,requestHeaders:null===(e=this.requestWrapper)||void 0===e?void 0:e.headers(wt([],bt(qt),!1)),requestBodySize:null===(t=this.requestWrapper)||void 0===t?void 0:t.bodySize,responseHeaders:null===(n=this.responseWrapper)||void 0===n?void 0:n.headers(wt([],bt(qt),!1)),responseBodySize:null===(r=this.responseWrapper)||void 0===r?void 0:r.bodySize};return Object.fromEntries(Object.entries(i).filter(function(e){var t=bt(e,2);return t[0],void 0!==t[1]}))},e}();var yr,br,wr,kr=function(){return function(e,t){void 0===t&&(t=en()),this.callback=e,this.id=t}}(),Sr=new(function(){function e(t){this.eventCallbacks=new Map,this.isObserving=!1,this.logger=t;var n=Xt();e.isSupported()&&(this.globalScope=n)}return e.isSupported=function(){var e=Xt();return!!e&&!!e.fetch},e.prototype.subscribe=function(e,t){var n,r,i,o,a,s,l,u,c,d;if(this.logger||(this.logger=t),this.eventCallbacks.set(e.id,e),!this.isObserving){var f=null===(i=null===(r=null===(n=this.globalScope)||void 0===n?void 0:n.XMLHttpRequest)||void 0===r?void 0:r.prototype)||void 0===i?void 0:i.open,p=null===(s=null===(a=null===(o=this.globalScope)||void 0===o?void 0:o.XMLHttpRequest)||void 0===a?void 0:a.prototype)||void 0===s?void 0:s.send,h=null===(c=null===(u=null===(l=this.globalScope)||void 0===l?void 0:l.XMLHttpRequest)||void 0===u?void 0:u.prototype)||void 0===c?void 0:c.setRequestHeader;f&&p&&h&&this.observeXhr(f,p,h);var v=null===(d=this.globalScope)||void 0===d?void 0:d.fetch;v&&this.observeFetch(v),this.isObserving=!0}},e.prototype.unsubscribe=function(e){this.eventCallbacks.delete(e.id)},e.prototype.triggerEventCallbacks=function(e){var t=this;this.eventCallbacks.forEach(function(n){var r;try{n.callback(e)}catch(i){null===(r=t.logger)||void 0===r||r.debug("an unexpected error occurred while triggering event callbacks",i)}})},e.prototype.handleNetworkRequestEvent=function(e,t,n,r,i,o,a){var s;if(void 0!==o&&void 0!==a){var l,u,c,d="GET";!function(e){return"object"==typeof e&&null!==e&&"url"in e&&"method"in e}(t)?l=null===(s=null==t?void 0:t.toString)||void 0===s?void 0:s.call(t):(l=t.url,d=t.method),d=(null==n?void 0:n.method)||d,r&&(u=r.status),i&&(c={name:i.name||"UnknownError",message:i.message||"An unknown error occurred"},u=0);var f=Math.floor(performance.now()-a),p=Math.floor(o+f),h=new mr(e,d,o,o,l,n,u,f,r,c,p);this.triggerEventCallbacks(h)}},e.prototype.getTimestamps=function(){var e,t;return{startTime:null===(e=Date.now)||void 0===e?void 0:e.call(Date),durationStart:null===(t=null===performance||void 0===performance?void 0:performance.now)||void 0===t?void 0:t.call(performance)}},e.prototype.observeFetch=function(e){var t=this;this.globalScope&&e&&(this.globalScope.fetch=function(n,r){return gt(t,void 0,void 0,function(){var t,i,o,a,s,l;return mt(this,function(u){switch(u.label){case 0:try{t=this.getTimestamps()}catch(c){null===(s=this.logger)||void 0===s||s.debug("an unexpected error occurred while retrieving timestamps",c)}u.label=1;case 1:return u.trys.push([1,3,,4]),[4,e(n,r)];case 2:return i=u.sent(),[3,4];case 3:return a=u.sent(),o=a,[3,4];case 4:try{this.handleNetworkRequestEvent("fetch",n,r?new sr(r):void 0,i?new fr(i):void 0,o,null==t?void 0:t.startTime,null==t?void 0:t.durationStart)}catch(d){null===(l=this.logger)||void 0===l||l.debug("an unexpected error occurred while handling fetch",d)}if(i)return[2,i];throw o}})})})},e.prototype.observeXhr=function(e,t,n){if(this.globalScope&&e&&t){var r=this.globalScope.XMLHttpRequest.prototype,i=this;r.open=function(){for(var t,n,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=bt(r,2),s=a[0],l=a[1];try{this.$$AmplitudeAnalyticsEvent=ht({method:s,url:null===(t=null==l?void 0:l.toString)||void 0===t?void 0:t.call(l),headers:{}},i.getTimestamps())}catch(u){null===(n=i.logger)||void 0===n||n.debug("an unexpected error occurred while calling xhr open",u)}return e.apply(this,r)},r.send=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=this,o=e[0],a=r.$$AmplitudeAnalyticsEvent;return r.addEventListener("loadend",function(){var e;try{var t=r.getAllResponseHeaders(),n=r.getResponseHeader("content-length"),s=new pr(r.status,t,n?parseInt(n,10):void 0,r.responseText),l=r.$$AmplitudeAnalyticsEvent.headers,u=new lr(o,l);a.status=r.status,i.handleNetworkRequestEvent("xhr",{url:a.url,method:a.method}
11,u,s,void 0,a.startTime,a.durationStart)}catch(c){null===(e=i.logger)||void 0===e||e.debug("an unexpected error occurred while handling xhr send",c)}}),t.apply(r,e)},r.setRequestHeader=function(e,t){var r;try{this.$$AmplitudeAnalyticsEvent.headers[e]=t}catch(o){null===(r=i.logger)||void 0===r||r.debug("an unexpected error occurred while calling xhr setRequestHeader",o)}n.apply(this,[e,t])}}},e}()),xr=function(){function e(){}return e.prototype.parse=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){return[2,ht(ht(ht(ht({},Ut),this.getUtmParam()),this.getReferrer()),this.getClickIds())]})})},e.prototype.getUtmParam=function(){var e=Dn();return{utm_campaign:e.utm_campaign,utm_content:e.utm_content,utm_id:e.utm_id,utm_medium:e.utm_medium,utm_source:e.utm_source,utm_term:e.utm_term}},e.prototype.getReferrer=function(){var e,t,n={referrer:void 0,referring_domain:void 0};try{n.referrer=document.referrer||void 0,n.referring_domain=null!==(t=null===(e=n.referrer)||void 0===e?void 0:e.split("/")[2])&&void 0!==t?t:void 0}catch(r){}return n},e.prototype.getClickIds=function(){var e,t=Dn();return(e={})[It]=t[It],e[jt]=t[jt],e[At]=t[At],e[Ot]=t[Ot],e[Lt]=t[Lt],e[Rt]=t[Rt],e[Nt]=t[Nt],e[Dt]=t[Dt],e[zt]=t[zt],e[Mt]=t[Mt],e[Ft]=t[Ft],e},e}(),_r=function(e,t){return"boolean"==typeof e?e:!1!==(null==e?void 0:e[t])},Er=function(e){return _r(e,"attribution")},Cr=function(e){return _r(e,"pageViews")},Tr=function(e){return _r(e,"sessions")},Pr=function(e){return"object"==typeof e&&(!0===e.networkTracking||"object"==typeof e.networkTracking)},Ir=function(e){return"boolean"==typeof e?e:"object"==typeof e&&(!0===e.elementInteractions||"object"==typeof e.elementInteractions)},jr=function(e){return"object"==typeof e&&(!0===e.frustrationInteractions||"object"==typeof e.frustrationInteractions)},Ar=function(e){if(Ir(e.autocapture)&&"object"==typeof e.autocapture&&"object"==typeof e.autocapture.elementInteractions)return e.autocapture.elementInteractions},Or=function(e){if(jr(e.autocapture)&&"object"==typeof e.autocapture&&"object"==typeof e.autocapture.frustrationInteractions)return e.autocapture.frustrationInteractions},Lr=function(e){var t;if(Pr(e.autocapture)){var n=void 0;return"object"==typeof e.autocapture&&"object"==typeof e.autocapture.networkTracking?n=e.autocapture.networkTracking:e.networkTrackingOptions&&(n=e.networkTrackingOptions),ht(ht({},n),{captureRules:null===(t=null==n?void 0:n.captureRules)||void 0===t?void 0:t.map(function(t){var n;if(t.urls&&t.hosts){var r=JSON.stringify(t.hosts),i=JSON.stringify(t.urls);return null===(n=e.loggerProvider)||void 0===n||n.warn("Found network capture rule with both urls='".concat(i,"' and hosts='").concat(r,"' set. ")+"Definition of urls takes precedence over hosts, so ignoring hosts."),ht(ht({},t),{hosts:void 0})}return t})})}},Rr=function(e){var t,n=function(){return!1},r=void 0,i=e.pageCounter;return Cr(e.defaultTracking)&&(n=void 0,t=void 0,e.defaultTracking&&"object"==typeof e.defaultTracking&&e.defaultTracking.pageViews&&"object"==typeof e.defaultTracking.pageViews&&("trackOn"in e.defaultTracking.pageViews&&(n=e.defaultTracking.pageViews.trackOn),"trackHistoryChanges"in e.defaultTracking.pageViews&&(r=e.defaultTracking.pageViews.trackHistoryChanges),"eventType"in e.defaultTracking.pageViews&&e.defaultTracking.pageViews.eventType&&(t=e.defaultTracking.pageViews.eventType))),{trackOn:n,trackHistoryChanges:r,eventType:t,pageCounter:i}},Nr=function(e,t){for(var n=0;n<t.length;n++){var r=t[n],i=r.name,o=r.args,a=r.resolve,s=e&&e[i];if("function"==typeof s){var l=s.apply(e,o);"function"==typeof a&&a(null==l?void 0:l.promise)}}return e},Dr=function(e){return e&&void 0!==e._q},zr="2.23.4",Mr=function(){function e(){this.name="@amplitude/plugin-context-browser",this.type="before",this.library="".concat("amplitude-ts","/").concat(zr),"undefined"!=typeof navigator&&(this.userAgent=navigator.userAgent)}return e.prototype.setup=function(e){return this.config=e,Promise.resolve(void 0)},e.prototype.execute=function(e){var t,n;return gt(this,void 0,void 0,function(){var r,i,o;return mt(this,function(a){return r=(new Date).getTime(),i=null!==(t=this.config.lastEventId)&&void 0!==t?t:-1,o=null!==(n=e.event_id)&&void 0!==n?n:i+1,this.config.lastEventId=o,e.time||(this.config.lastEventTime=r),[2,ht(ht(ht(ht(ht(ht(ht(ht({user_id:this.config.userId,device_id:this.config.deviceId,session_id:this.config.sessionId,time:r},this.config.appVersion&&{app_version:this.config.appVersion}),this.config.trackingOptions.platform&&{platform:"Web"}),this.config.trackingOptions.language&&{language:Nn()}),this.config.trackingOptions.ipAddress&&{ip:"$remote"}),{insert_id:en(),partner_id:this.config.partnerId,plan:this.config.plan}),this.config.ingestionMetadata&&{ingestion_metadata:{source_name:this.config.ingestionMetadata.sourceName,source_version:this.config.ingestionMetadata.sourceVersion}}),e),{event_id:o,library:this.library,user_agent:this.userAgent})]})})},e}(),Fr=1e3,Ur=function(e){function t(t){var n,r,i,o=this;try{i=null===(n=Xt())||void 0===n?void 0:n.localStorage}catch(a){null===(r=null==t?void 0:t.loggerProvider)||void 0===r||r.debug("Failed to access localStorage. error=".concat(JSON.stringify(a))),i=void 0}return(o=e.call(this,i)||this).loggerProvider=null==t?void 0:t.loggerProvider,o}return ut(t,e),t.prototype.set=function(t,n){var r;return gt(this,void 0,void 0,function(){var i;return mt(this,function(o){switch(o.label){case 0:return Array.isArray(n)&&n.length>Fr?(i=n.length-Fr,[4,e.prototype.set.call(this,t,n.slice(0,Fr))]):[3,2];case 1:return o.sent(),null===(r=this.loggerProvider)||void 0===r||r.error("Failed to save ".concat(i," events because the queue length exceeded ").concat(Fr,".")),[3,4];case 2:return[4,e.prototype.set.call(this,t,n)];case 3:o.sent(),o.label=4;case 4:return[2]}})})},t}(Kn),qr=function(e){function t(){var t;return e.call(this,null===(t=Xt())||void 0===t?void 0:t.sessionStorage)||this}return ut(t,e),t}(Kn),Vr=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={done:4},t}return ut(t,e),t.prototype.send=function(e,t){return gt(this,void 0,void 0,function(){var n=this;return mt(this,function(r){return[2,new Promise(function(r,i){"undefined"==typeof XMLHttpRequest&&i(new Error("XHRTransport is not supported."));var o=new XMLHttpRequest;o.open("POST",e,!0),o.onreadystatechange=function(){if(o.readyState===n.state.done){var e=o.responseText;try{r(n.buildResponse(JSON.parse(e)))}catch(t){r(n.buildResponse({code:o.status}))}}},o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Accept","*/*"),o.send(JSON.stringify(t))})]})})},t}(Qn),Br=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ut(t,e),t.prototype.send=function(e,t){return gt(this,void 0,void 0,function(){var n=this;return mt(this,function(r){return[2,new Promise(function(r,i){var o=Xt();if(!(null==o?void 0:o.navigator.sendBeacon))throw new Error("SendBeaconTransport is not supported");try{var a=JSON.stringify(t);return r(o.navigator.sendBeacon(e,JSON.stringify(t))?n.buildResponse({code:200,events_ingested:t.events.length,payload_size_bytes:a.length,server_upload_time:Date.now()}):n.buildResponse({code:500}))}catch(s){i(s)}})]})})},t}(Qn),$r=function(e,t,n){return void 0===n&&(n=!0),gt(void 0,void 0,void 0,function(){var r,i,o,a,s,l,u,c,d;return mt(this,function(f){switch(f.label){case 0:return r=function(e){return"".concat(Et.toLowerCase(),"_").concat(e.substring(0,6))}(e),[4,t.getRaw(r)];case 1:return(i=f.sent())?n?[4,t.remove(r)]:[3,3]:[2,{optOut:!1}];case 2:f.sent(),f.label=3;
11case 3:return o=bt(i.split("."),6),a=o[0],s=o[1],l=o[2],u=o[3],c=o[4],d=o[5],[2,{deviceId:a,userId:Hr(s),sessionId:Wr(u),lastEventId:Wr(d),lastEventTime:Wr(c),optOut:Boolean(l)}]}})})},Wr=function(e){var t=parseInt(e,32);if(!isNaN(t))return t},Hr=function(e){if(atob&&escape&&e)try{return decodeURIComponent(escape(atob(e)))}catch(t){return}},Kr="[Amplitude]",Qr="".concat(Kr," Form Started"),Gr="".concat(Kr," Form Submitted"),Yr="".concat(Kr," File Downloaded"),Jr="session_start",Xr="session_end",Zr="".concat(Kr," File Extension"),ei="".concat(Kr," File Name"),ti="".concat(Kr," Link ID"),ni="".concat(Kr," Link Text"),ri="".concat(Kr," Link URL"),ii="".concat(Kr," Form ID"),oi="".concat(Kr," Form Name"),ai="".concat(Kr," Form Destination"),si="cookie",li=function(e){function t(t,n,r,i,o,a,s,l,u,c,d,f,p,h,v,g,m,y,b,w,k,S,x,_,E,C,T,P,I,j,A,O,L,R,N){void 0===r&&(r=new Bn),void 0===i&&(i={domain:"",expiration:365,sameSite:"Lax",secure:!1,upgrade:!0}),void 0===l&&(l=1e3),void 0===u&&(u=5),void 0===c&&(c=30),void 0===d&&(d=si),void 0===g&&(g=new cn),void 0===m&&(m=Gt.Warn),void 0===b&&(b=!1),void 0===w&&(w=!1),void 0===x&&(x=""),void 0===_&&(_="US"),void 0===C&&(C=18e5),void 0===T&&(T=new Ur({loggerProvider:g})),void 0===P&&(P={ipAddress:!0,language:!0,platform:!0}),void 0===I&&(I="fetch"),void 0===j&&(j=!1),void 0===A&&(A=!0);var D=e.call(this,{apiKey:t,storageProvider:T,transportProvider:di(I)})||this;return D.apiKey=t,D.appVersion=n,D.cookieOptions=i,D.defaultTracking=o,D.autocapture=a,D.flushIntervalMillis=l,D.flushMaxRetries=u,D.flushQueueSize=c,D.identityStorage=d,D.ingestionMetadata=f,D.instanceName=p,D.loggerProvider=g,D.logLevel=m,D.minIdLength=y,D.offline=b,D.partnerId=k,D.plan=S,D.serverUrl=x,D.serverZone=_,D.sessionTimeout=C,D.storageProvider=T,D.trackingOptions=P,D.transport=I,D.useBatch=j,D.fetchRemoteConfig=A,D.networkTrackingOptions=N,D.version=zr,D._optOut=!1,D._cookieStorage=r,D.deviceId=s,D.lastEventId=h,D.lastEventTime=v,D.optOut=w,D.sessionId=E,D.pageCounter=L,D.userId=O,D.debugLogsEnabled=R,D.loggerProvider.enable(R?Gt.Debug:D.logLevel),D.networkTrackingOptions=N,D}return ut(t,e),Object.defineProperty(t.prototype,"cookieStorage",{get:function(){return this._cookieStorage},set:function(e){this._cookieStorage!==e&&(this._cookieStorage=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceId",{get:function(){return this._deviceId},set:function(e){this._deviceId!==e&&(this._deviceId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"userId",{get:function(){return this._userId},set:function(e){this._userId!==e&&(this._userId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sessionId",{get:function(){return this._sessionId},set:function(e){this._sessionId!==e&&(this._sessionId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"optOut",{get:function(){return this._optOut},set:function(e){this._optOut!==e&&(this._optOut=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastEventTime",{get:function(){return this._lastEventTime},set:function(e){this._lastEventTime!==e&&(this._lastEventTime=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastEventId",{get:function(){return this._lastEventId},set:function(e){this._lastEventId!==e&&(this._lastEventId=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageCounter",{get:function(){return this._pageCounter},set:function(e){this._pageCounter!==e&&(this._pageCounter=e,this.updateStorage())},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"debugLogsEnabled",{set:function(e){this._debugLogsEnabled!==e&&(this._debugLogsEnabled=e,this.updateStorage())},enumerable:!1,configurable:!0}),t.prototype.updateStorage=function(){var e={deviceId:this._deviceId,userId:this._userId,sessionId:this._sessionId,optOut:this._optOut,lastEventTime:this._lastEventTime,lastEventId:this._lastEventId,pageCounter:this._pageCounter,debugLogsEnabled:this._debugLogsEnabled};this.cookieStorage.set(Rn(this.apiKey),e)},t}(pn),ui=function(e,t,n){return void 0===t&&(t={}),gt(void 0,void 0,void 0,function(){var r,i,o,a,s,l,u,c,d,f,p,h,v,g,m,y,b,w,k,S,x,_,E,C,T,P,I,j,A,O,L,R,N,D,z,M,F,U,q,V,B,$,W,H,K;return mt(this,function(Q){switch(Q.label){case 0:return r=t.identityStorage||si,x={},r===si?[3,1]:(o="",[3,5]);case 1:return null===(E=null===(_=t.cookieOptions)||void 0===_?void 0:_.domain)||void 0===E?[3,2]:(a=E,[3,4]);case 2:return[4,fi()];case 3:a=Q.sent(),Q.label=4;case 4:o=a,Q.label=5;case 5:return i=ht.apply(void 0,[(x.domain=o,x.expiration=365,x.sameSite="Lax",x.secure=!1,x.upgrade=!0,x),t.cookieOptions]),s=ci(t.identityStorage,i),[4,$r(e,s,null===(T=null===(C=t.cookieOptions)||void 0===C?void 0:C.upgrade)||void 0===T||T)];case 6:return l=Q.sent(),[4,s.get(Rn(e))];case 7:return u=Q.sent(),c=Dn(),d=c.ampTimestamp?Number(c.ampTimestamp):void 0,f=!d||Date.now()<d,p=null!==(O=null!==(A=null!==(j=null!==(P=t.deviceId)&&void 0!==P?P:f?null!==(I=c.ampDeviceId)&&void 0!==I?I:c.deviceId:void 0)&&void 0!==j?j:null==u?void 0:u.deviceId)&&void 0!==A?A:l.deviceId)&&void 0!==O?O:en(),h=null!==(L=null==u?void 0:u.lastEventId)&&void 0!==L?L:l.lastEventId,v=null!==(R=null==u?void 0:u.lastEventTime)&&void 0!==R?R:l.lastEventTime,g=null!==(D=null!==(N=t.optOut)&&void 0!==N?N:null==u?void 0:u.optOut)&&void 0!==D?D:l.optOut,m=null!==(z=null==u?void 0:u.sessionId)&&void 0!==z?z:l.sessionId,y=null!==(F=null!==(M=t.userId)&&void 0!==M?M:null==u?void 0:u.userId)&&void 0!==F?F:l.userId,n.previousSessionDeviceId=null!==(U=null==u?void 0:u.deviceId)&&void 0!==U?U:l.deviceId,n.previousSessionUserId=null!==(q=null==u?void 0:u.userId)&&void 0!==q?q:l.userId,b={ipAddress:null===(B=null===(V=t.trackingOptions)||void 0===V?void 0:V.ipAddress)||void 0===B||B,language:null===(W=null===($=t.trackingOptions)||void 0===$?void 0:$.language)||void 0===W||W,platform:null===(K=null===(H=t.trackingOptions)||void 0===H?void 0:H.platform)||void 0===K||K},w=null==u?void 0:u.pageCounter,k=null==u?void 0:u.debugLogsEnabled,void 0!==t.autocapture&&(t.defaultTracking=t.autocapture),[4,(S=new li(e,t.appVersion,s,i,t.defaultTracking,t.autocapture,p,t.flushIntervalMillis,t.flushMaxRetries,t.flushQueueSize,r,t.ingestionMetadata,t.instanceName,h,v,t.loggerProvider,t.logLevel,t.minIdLength,t.offline,g,t.partnerId,t.plan,t.serverUrl,t.serverZone,m,t.sessionTimeout,t.storageProvider,b,t.transport,t.useBatch,t.fetchRemoteConfig,y,w,k,t.networkTrackingOptions)).storageProvider.isEnabled()];case 8:return Q.sent()||(S.loggerProvider.warn("Storage provider ".concat(S.storageProvider.constructor.name," is not enabled. Falling back to MemoryStorage.")),S.storageProvider=new Bn),[2,S]}})})},ci=function(e,t){switch(void 0===e&&(e=si),void 0===t&&(t={}),e){case"localStorage":return new Ur;case"sessionStorage":return new qr;case"none":return new Bn;default:return new $n(ht(ht({},t),{expirationDays:t.expiration}))}},di=function(e){return"xhr"===e?new Vr:"beacon"===e?new Br:new Gn},fi=function(e){return gt(void 0,void 0,void 0,function(){var e,t,n,r,i,o,a;
11return mt(this,function(s){switch(s.label){case 0:return[4,(new $n).isEnabled()];case 1:if(!s.sent()||"undefined"==typeof location||!location.hostname)return[2,""];for(e=location.hostname,t=e.split("."),n=[],r="AMP_TLDTEST",i=t.length-2;i>=0;--i)n.push(t.slice(i).join("."));i=0,s.label=2;case 2:return i<n.length?(o=n[i],[4,(a=new $n({domain:"."+o})).set(r,1)]):[3,7];case 3:return s.sent(),[4,a.get(r)];case 4:return s.sent()?[4,a.remove(r)]:[3,6];case 5:return s.sent(),[2,"."+o];case 6:return i++,[3,2];case 7:return[2,""]}})})},pi=function(){var e="ampIntegrationContext";return"undefined"!=typeof globalThis&&void 0!==globalThis[e]?globalThis[e]:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:void 0},hi=function(){var e,t=pi();return(null===(e=null==t?void 0:t.location)||void 0===e?void 0:e.search)?t.location.search.substring(1).split("&").filter(Boolean).reduce(function(e,t){var n=t.split("=",2),r=vi(n[0]),i=vi(n[1]);return i?(e[r]=i,e):e},{}):{}},vi=function(e){void 0===e&&(e="");try{return decodeURIComponent(e)}catch(t){return""}},gi="dclid",mi="fbclid",yi="gbraid",bi="gclid",wi="ko_click_id",ki="li_fat_id",Si="msclkid",xi="rdt_cid",_i="ttclid",Ei="twclid",Ci="wbraid",Ti={utm_campaign:void 0,utm_content:void 0,utm_id:void 0,utm_medium:void 0,utm_source:void 0,utm_term:void 0,referrer:void 0,referring_domain:void 0,dclid:void 0,gbraid:void 0,gclid:void 0,fbclid:void 0,ko_click_id:void 0,li_fat_id:void 0,msclkid:void 0,rdt_cid:void 0,ttclid:void 0,twclid:void 0,wbraid:void 0},Pi=function(){function e(){}return e.prototype.parse=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){return[2,ht(ht(ht(ht({},Ti),this.getUtmParam()),this.getReferrer()),this.getClickIds())]})})},e.prototype.getUtmParam=function(){var e=hi();return{utm_campaign:e.utm_campaign,utm_content:e.utm_content,utm_id:e.utm_id,utm_medium:e.utm_medium,utm_source:e.utm_source,utm_term:e.utm_term}},e.prototype.getReferrer=function(){var e,t,n={referrer:void 0,referring_domain:void 0};try{n.referrer=document.referrer||void 0,n.referring_domain=null!==(t=null===(e=n.referrer)||void 0===e?void 0:e.split("/")[2])&&void 0!==t?t:void 0}catch(r){}return n},e.prototype.getClickIds=function(){var e,t=hi();return(e={})[gi]=t[gi],e[mi]=t[mi],e[yi]=t[yi],e[bi]=t[bi],e[wi]=t[wi],e[ki]=t[ki],e[Si]=t[Si],e[xi]=t[xi],e[_i]=t[_i],e[Ei]=t[Ei],e[Ci]=t[Ci],e},e}();!function(e){e.SET="$set",e.SET_ONCE="$setOnce",e.ADD="$add",e.APPEND="$append",e.PREPEND="$prepend",e.REMOVE="$remove",e.PREINSERT="$preInsert",e.POSTINSERT="$postInsert",e.UNSET="$unset",e.CLEAR_ALL="$clearAll"}(yr||(yr={})),function(e){e.REVENUE_PRODUCT_ID="$productId",e.REVENUE_QUANTITY="$quantity",e.REVENUE_PRICE="$price",e.REVENUE_TYPE="$revenueType",e.REVENUE_CURRENCY="$currency",e.REVENUE="$revenue"}(br||(br={})),function(e){e.IDENTIFY="$identify",e.GROUP_IDENTIFY="$groupidentify",e.REVENUE="revenue_amount"}(wr||(wr={}));var Ii,ji,Ai=function(e){var t={};for(var n in e){var r=e[n];r&&(t[n]=r)}return t},Oi=function(e){var t;void 0===e&&(e={});var n,r=pi(),i=void 0,o=!1,a=e.trackOn,s=e.trackHistoryChanges,l=e.eventType,u=void 0===l?"[Amplitude] Page Viewed":l,c=function(e){var t=e;try{t=decodeURI(e)}catch(n){null==i||i.error("Malformed URI sequence: ",n)}return t},d=function(){return gt(void 0,void 0,void 0,function(){var e,t,n;return mt(this,function(r){switch(r.label){case 0:return e=c("undefined"!=typeof location&&location.href||""),n={event_type:u},t=[{}],[4,Li()];case 1:return[2,(n.event_properties=ht.apply(void 0,[ht.apply(void 0,t.concat([r.sent()])),{"[Amplitude] Page Domain":"undefined"!=typeof location&&location.hostname||"","[Amplitude] Page Location":e,"[Amplitude] Page Path":"undefined"!=typeof location&&c(location.pathname)||"","[Amplitude] Page Title":"undefined"!=typeof document&&document.title||"","[Amplitude] Page URL":e.split("?")[0]}]),n)]}})})},f=function(){return void 0===a||"function"==typeof a&&a()},p="undefined"!=typeof location?location.href:null,h=function(){return gt(void 0,void 0,void 0,function(){var e,n,r,o;return mt(this,function(a){switch(a.label){case 0:return e=location.href,n=Ni(s,e,p||"")&&f(),p=e,n?(null==i||i.log("Tracking page view event"),null!=t?[3,1]:[3,3]):[3,4];case 1:return o=(r=t).track,[4,d()];case 2:o.apply(r,[a.sent()]),a.label=3;case 3:a.label=4;case 4:return[2]}})})},v=function(){h()};return{name:"@amplitude/plugin-page-view-tracking-browser",type:"enrichment",setup:function(e,a){return gt(void 0,void 0,void 0,function(){var s,l;return mt(this,function(u){switch(u.label){case 0:return t=a,n=e,(i=e.loggerProvider).log("Installing @amplitude/plugin-page-view-tracking-browser"),o=!0,r&&(r.addEventListener("popstate",v),r.history.pushState=new Proxy(r.history.pushState,{apply:function(e,t,n){var r=bt(n,3),i=r[0],a=r[1],s=r[2];e.apply(t,[i,a,s]),o&&h()}})),f()?(i.log("Tracking page view event"),l=(s=t).track,[4,d()]):[3,2];case 1:l.apply(s,[u.sent()]),u.label=2;case 2:return[2]}})})},execute:function(e){return gt(void 0,void 0,void 0,function(){var t;return mt(this,function(r){switch(r.label){case 0:return"attribution"===a&&Ri(e)?(null==i||i.log("Enriching c
11ampaign event to page view event with campaign parameters"),[4,d()]):[3,2];case 1:t=r.sent(),e.event_type=t.event_type,e.event_properties=ht(ht({},e.event_properties),t.event_properties),r.label=2;case 2:return n&&e.event_type===u&&(n.pageCounter=n.pageCounter?n.pageCounter+1:1,e.event_properties=ht(ht({},e.event_properties),{"[Amplitude] Page Counter":n.pageCounter})),[2,e]}})})},teardown:function(){return gt(void 0,void 0,void 0,function(){return mt(this,function(e){return r&&(r.removeEventListener("popstate",v),o=!1),[2]})})}}},Li=function(){return gt(void 0,void 0,void 0,function(){var e;return mt(this,function(t){switch(t.label){case 0:return e=Ai,[4,(new Pi).parse()];case 1:return[2,e.apply(void 0,[t.sent()])]}})})},Ri=function(e){if("$identify"===e.event_type&&e.user_properties){var t=e.user_properties,n=t[yr.SET]||{},r=t[yr.UNSET]||{},i=wt(wt([],bt(Object.keys(n)),!1),bt(Object.keys(r)),!1);return Object.keys(Ti).every(function(e){return i.includes(e)})}return!1},Ni=function(e,t,n){if("pathOnly"===e){if(""==n)return!0;var r=new URL(t),i=new URL(n);return r.origin+r.pathname!==i.origin+i.pathname}return t!==n},Di=function(){var e,t=[],n=function(e,n,r){e.addEventListener(n,r),t.push({element:e,type:n,handler:r})};return{name:"@amplitude/plugin-form-interaction-tracking-browser",type:"enrichment",setup:function(t,r){return gt(void 0,void 0,void 0,function(){var i,o;return mt(this,function(a){return i=function(){if(r){if("undefined"!=typeof document){var i=function(e){var t=!1;n(e,"change",function(){var n,i=Mi(e);t||r.track(Qr,((n={})[ii]=zi(e.id),n[oi]=zi(e.name),n[ai]=i,n)),t=!0}),n(e,"submit",function(){var n,i,o=Mi(e);t||r.track(Qr,((n={})[ii]=zi(e.id),n[oi]=zi(e.name),n[ai]=o,n)),r.track(Gr,((i={})[ii]=zi(e.id),i[oi]=zi(e.name),i[ai]=o,i)),t=!1})};Array.from(document.getElementsByTagName("form")).forEach(i),"undefined"!=typeof MutationObserver&&(e=new MutationObserver(function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){"FORM"===e.nodeName&&i(e),"querySelectorAll"in e&&"function"==typeof e.querySelectorAll&&Array.from(e.querySelectorAll("form")).map(i)})})})).observe(document.body,{subtree:!0,childList:!0})}}else t.loggerProvider.warn("Form interaction tracking requires a later version of @amplitude/analytics-browser. Form interaction events are not tracked.")},"complete"===document.readyState?i():(o=Xt())?o.addEventListener("load",i):t.loggerProvider.debug("Form interaction tracking is not installed because global is undefined."),[2]})})},execute:function(e){return gt(void 0,void 0,void 0,function(){return mt(this,function(t){return[2,e]})})},teardown:function(){return gt(void 0,void 0,void 0,function(){return mt(this,function(n){return null==e||e.disconnect(),t.forEach(function(e){var t=e.element,n=e.type,r=e.handler;null==t||t.removeEventListener(n,r)}),t=[],[2]})})}}},zi=function(e){if("string"==typeof e)return e},Mi=function(e){var t=e.getAttribute("action");try{t=new URL(encodeURI(null!=t?t:""),window.location.href).href}catch(n){}return t},Fi=function(){var e,t=[];return{name:"@amplitude/plugin-file-download-tracking-browser",type:"enrichment",setup:function(n,r){return gt(void 0,void 0,void 0,function(){var i,o;return mt(this,function(a){return i=function(){if(r){if("undefined"!=typeof document){var i=function(e){var n;try{n=new URL(e.href,window.location.href)}catch(c){return}var i,a,s,l=o.exec(n.href),u=null==l?void 0:l[1];u&&(a="click",s=function(){var t;u&&r.track(Yr,((t={})[Zr]=u,t[ei]=n.pathname,t[ti]=e.id,t[ni]=e.text,t[ri]=e.href,t))},(i=e).addEventListener(a,s),t.push({element:i,type:a,handler:s}))},o=/\.(pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma)(\?.+)?$/;Array.from(document.getElementsByTagName("a")).forEach(i),"undefined"!=typeof MutationObserver&&(e=new MutationObserver(function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){"A"===e.nodeName&&i(e),"querySelectorAll"in e&&"function"==typeof e.querySelectorAll&&Array.from(e.querySelectorAll("a")).map(i)})})})).observe(document.body,{subtree:!0,childList:!0})}}else n.loggerProvider.warn("File download tracking requires a later version of @amplitude/analytics-browser. File download events are not tracked.")},"complete"===document.readyState?i():(o=Xt())?o.addEventListener("load",i):n.loggerProvider.debug("File download tracking is not installed because global is undefined."),[2]})})},execute:function(e){return gt(void 0,void 0,void 0,function(){return mt(this,function(t){return[2,e]})})},teardown:function(){return gt(void 0,void 0,void 0,function(){return mt(this,function(n){return null==e||e.disconnect(),t.forEach(function(e){var t=e.element,n=e.type,r=e.handler;null==t||t.removeEventListener(n,r)}),t=[],[2]})})}}},Ui=!1,qi=function(){var e=Xt(),t=[],n=function(n,r){(null==e?void 0:e.addEventListener)&&(null==e||e.addEventListener(n,r),t.push({type:n,handler:r}))};return{name:"@amplitude/plugin-network-checker-browser",type:"before",setup:function(e,t){return gt(void 0,void 0,void 0,function(){return mt(this,function(r){return"undefined"==typeof navigator?(e.loggerProvider.debug("Network connectivity checker plugin is disabled because navigator is not available."),e.offline=!1,[2]):(e.offline=!navigator.onLine,n("online",function(){e.loggerProvider.debug("Network connectivity changed to online."),e.offline=!1,setTimeout(function(){t.flush()},e.flushIntervalMillis)}),n("offline",function(){e.loggerProvider.debug("Network connectivity changed to offline."),e.offline=!0}),[2])})})},teardown:function(){return gt(void 0,void 0,void 0,function(){return mt(this,function(n){return t.forEach(function(t){var n=t.type,r=t.handler;null==e||e.removeEventListener(n,r)}),t=[],[2]})})}}};function Vi(e){var t,n;if("object"==typeof e&&null!==e&&!Array.isArray(e)){var r=Object.keys(e);try{for(var i=yt(r),o=i.next();!o.done;o=i.next()){var a=o.value;try{var s=e[a];"boolean"==typeof(null==s?void 0:s.enabled)&&(s.enabled?(delete s.enabled,0===Object.keys(s).length&&(e[a]=!0)):e[a]=!1),Vi(s)}catch(l){}}}catch(u){t={error:u}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}}function Bi(e,t){var n,r,i,o;if(e){Vi(e);try{t.loggerProvider.debug("Update browser config with remote configuration:",JSON.stringify(e));var a=e;if(a&&"autocapture"in a){if("boolean"==typeof a.autocapture&&(t.autocapture=a.autocapture),"object"==typeof a.autocapture&&null!==a.autocapture){var s=ht({},a.autocapture);if(void 0===t.autocapture&&(t.autocapture=a.autocapture),"object"==typeof a.autocapture.elementInteractions&&null!==a.autocapture.elementInteractions&&(null===(i=a.autocapture.elementInteractions.pageUrlAllowlistRegex)||void 0===i?void 0:i.length)){s.elementInteractions=ht({},a.autocapture.elementInteractions);var l=s.elementInteractions,u=null!==(o=l.pageUrlAllowlist)&&void 0!==o?o:[],c=[];try{for(var d=yt(a.autocapture.elementInteractions.pageUrlAllowlistRegex),f=d.next();!f.done;f=d.next()){var p=f.value;try{c.push(new RegExp(p))}catch(v){t.loggerProvider.warn("Invalid regex pattern: ".concat(p),v)}}}catch(g){n={error:g}}finally{try{f&&!f.done&&(r=d.return)&&r.call(d)}finally{if(n)throw n.error}}var h=u.concat(c);l.pageUrlAllowlist=h,delete l.pageUrlAllowlistRegex}"boolean"==typeof t.autocapture&&(t.autocapture=ht({attribution:t.autocapture,fileDownloads:t.autocapture,formInteractions:t.autocapture,pageViews:t.autocapture,sessions:t.autocapture,elementInteractions:t.autocapture,webVitals:t.autocapture,frustrationInteractions:t.autocapture},s)),"object"==typeof t.autocapture&&(t.autocapture=ht(ht({},t.autocapture),s))}t.defaultTracking=t.autocapture}t.loggerProvider.debug("Browser config after remote config update:",JSON.stringify(t))}catch(m){t.loggerProvider.error("Failed to apply remote configuration because of error: ",m)}}}!function(e){e.US="US",e.EU="EU",e.STAGING="STAGING"}(Ii||(Ii={})),function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.PayloadTooLarge="payload_too_large",e.Invalid="invalid",e.Failed="failed",e.Timeout="Timeout",e.SystemError="SystemError"}(ji||(ji={}));var $i=function(){function e(){}return e.prototype.send=function(e,t){return Promise.resolve(null)},e.prototype.buildResponse=function(e){var t,n,r,i,o,a,s,l,u,c,d,f,p,h,v,g,m,y,b,w,k,S;if("object"!=typeof e)return null;var x=e.code||0,_=this.buildStatus(x);switch(_){case ji.Success:return{status:_,statusCode:x,body:{eventsIngested:null!==(t=e.events_ingested)&&void 0!==t?t:0,payloadSizeBytes:null!==(n=e.payload_size_bytes)&&void 0!==n?n:0,serverUploadTime:null!==(r=e.server_upload_time)&&void 0!==r?r:0}};case ji.Invalid:return{status:_,statusCode:x,body:{error:null!==(i=e.error)&&void 0!==i?i:"",missingField:null!==(o=e.missing_field)&&void 0!==o?o:"",eventsWithInvalidFields:null!==(a=e.events_with_invali
vendor: 4,298 bytes, line 11
11d_fields)&&void 0!==a?a:{},eventsWithMissingFields:null!==(s=e.events_with_missing_fields)&&void 0!==s?s:{},eventsWithInvalidIdLengths:null!==(l=e.events_with_invalid_id_lengths)&&void 0!==l?l:{},epsThreshold:null!==(u=e.eps_threshold)&&void 0!==u?u:0,exceededDailyQuotaDevices:null!==(c=e.exceeded_daily_quota_devices)&&void 0!==c?c:{},silencedDevices:null!==(d=e.silenced_devices)&&void 0!==d?d:[],silencedEvents:null!==(f=e.silenced_events)&&void 0!==f?f:[],throttledDevices:null!==(p=e.throttled_devices)&&void 0!==p?p:{},throttledEvents:null!==(h=e.throttled_events)&&void 0!==h?h:[]}};case ji.PayloadTooLarge:return{status:_,statusCode:x,body:{error:null!==(v=e.error)&&void 0!==v?v:""}};case ji.RateLimit:return{status:_,statusCode:x,body:{error:null!==(g=e.error)&&void 0!==g?g:"",epsThreshold:null!==(m=e.eps_threshold)&&void 0!==m?m:0,throttledDevices:null!==(y=e.throttled_devices)&&void 0!==y?y:{},throttledUsers:null!==(b=e.throttled_users)&&void 0!==b?b:{},exceededDailyQuotaDevices:null!==(w=e.exceeded_daily_quota_devices)&&void 0!==w?w:{},exceededDailyQuotaUsers:null!==(k=e.exceeded_daily_quota_users)&&void 0!==k?k:{},throttledEvents:null!==(S=e.throttled_events)&&void 0!==S?S:[]}};case ji.Timeout:default:return{status:_,statusCode:x}}},e.prototype.buildStatus=function(e){return e>=200&&e<300?ji.Success:429===e?ji.RateLimit:413===e?ji.PayloadTooLarge:408===e?ji.Timeout:e>=400&&e<500?ji.Invalid:e>=500?ji.Failed:ji.Unknown},e}(),Wi="Remote config fetch rejected due to timeout after 5 seconds",Hi="Unexpected error occurred",Ki=function(){function e(e){var t=e.localConfig,n=e.configKeys,r=this;this.retryTimeout=1e3,this.attempts=0,this.sessionTargetingMatch=!1,this.metrics={},this.getRemoteNamespaceConfig=function(e,t){return gt(r,void 0,void 0,function(){var n,r,i;return mt(this,function(o){switch(o.label){case 0:return n=Date.now(),[4,this.fetchWithTimeout(t)];case 1:return(r=o.sent())&&(i=r.configs&&r.configs[e])?(this.metrics.fetchTimeAPISuccess=Date.now()-n,[2,i]):(this.metrics.fetchTimeAPIFail=Date.now()-n,[2,void 0])}})})},this.getRemoteConfig=function(e,t,n){return gt(r,void 0,void 0,function(){var r;return mt(this,function(i){switch(i.label){case 0:return[4,this.getRemoteNamespaceConfig(e,n)];case 1:return[2,null==(r=i.sent())?void 0:r[t]]}})})},this.fetchWithTimeout=function(e){return gt(r,void 0,void 0,function(){var t,n,r;return mt(this,function(i){switch(i.label){case 0:return t=new AbortController,n=setTimeout(function(){return t.abort()},5e3),[4,this.fetchRemoteConfig(t.signal,e)];case 1:return r=i.sent(),clearTimeout(n),[2,r]}})})},this.fetchRemoteConfig=function(e,t){return gt(r,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,d,f,p;return mt(this,function(h){switch(h.label){case 0:if(t===this.lastFetchedSessionId&&this.attempts>=this.localConfig.flushMaxRetries)return[2,this.completeRequest({err:"Remote config fetch rejected due to exceeded retry count"})];if(e.aborted)return[2,this.completeRequest({err:Wi})];t!==this.lastFetchedSessionId&&(this.lastFetchedSessionId=t,this.attempts=0),h.label=1;case 1:h.trys.push([1,3,,4]),n=new URLSearchParams({api_key:this.localConfig.apiKey});try{for(r=yt(this.configKeys),i=r.next();!i.done;i=r.next())o=i.value,n.append("config_keys",o)}catch(v){d={error:v}}finally{try{i&&!i.done&&(f=r.return)&&f.call(r)}finally{if(d)throw d.error}}return t&&n.set("session_id",String(t)),a={headers:{Accept:"*/*"},method:"GET"},s="".concat(this.getServerUrl(),"?").concat(n.toString()),this.attempts+=1,[4,fetch(s,ht(ht({},a),{signal:e}))];case 2:if(null===(l=h.sent()))return[2,this.completeRequest({err:Hi})];switch((new $i).buildStatus(l.status)){case ji.Success:return this.attempts=0,[2,this.parseAndStoreConfig(l)];case ji.Failed:return[2,this.retryFetch(e,t)];default:return[2,this.completeRequest({err:"Network error occurred, remote config fetch failed"})]}case 3:return u=h.sent(),c=u,e.aborted?[2,this.completeRequest({err:Wi})]:[2,this.completeRequest({err:null!==(p=c.message)&&void 0!==p?p:Hi})];case 4:return[2]}})})},this.retryFetch=function(e,t){return gt(r,void 0,void 0,function(){var n=this;return mt(this,function(r){switch(r.label){case 0:return[4,new Promise(function(e){return setTimeout(e,n.attempts*n.retryTimeout)})];case 1:return r.sent(),[2,this.fetchRemoteConfig(e,t)]}})})}
11,this.parseAndStoreConfig=function(e){return gt(r,void 0,void 0,function(){var t;return mt(this,function(n){switch(n.label){case 0:return[4,e.json()];case 1:return t=n.sent(),this.completeRequest({success:"Remote config successfully fetched"}),[2,t]}})})},this.localConfig=t,this.configKeys=n}return e.prototype.getServerUrl=function(){return this.localConfig.configServerUrl?this.localConfig.configServerUrl:this.localConfig.serverZone===Ii.STAGING?"https://sr-client-cfg.stag2.amplitude.com/config":this.localConfig.serverZone===Ii.EU?"https://sr-client-cfg.eu.amplitude.com/config":"https://sr-client-cfg.amplitude.com/config"},e.prototype.completeRequest=function(e){var t=e.err,n=e.success;if(t)throw new Error(t);n&&this.localConfig.loggerProvider.log(n)},e}(),Qi=function(e){var t=e.localConfig,n=e.configKeys;return gt(void 0,void 0,void 0,function(){return mt(this,function(e){return[2,new Ki({localConfig:t,configKeys:n})]})})},Gi="[Amplitude] Element Clicked",Yi="[Amplitude] Rage Click",Ji="[Amplitude] Element Tag",Xi="[Amplitude] Element Text",Zi="[Amplitude] Page URL",eo="https://app.amplitude.com",to={US:eo,EU:"https://app.eu.amplitude.com",STAGING:"https://apps.stag2.amplitude.com"};function no(e){return"function"==typeof e}function ro(e){var t=e(function(e){Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var io=ro(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}});function oo(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var ao=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=yt(o),s=a.next();!s.done;s=a.next()){s.value.remove(this)}}catch(p){e={error:p}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(no(l))try{l()}catch(h){i=h instanceof io?h.errors:[h]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=yt(u),d=c.next();!d.done;d=c.next()){var f=d.value;try{uo(f)}catch(v){i=null!=i?i:[],v instanceof io?i=wt(wt([],bt(i)),bt(v.errors)):i.push(v)}}}catch(g){n={error:g}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new io(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)uo(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&oo(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&oo(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),so=ao.EMPTY;function lo(e){return e instanceof ao||e&&"closed"in e&&no(e.remove)&&no(e.add)&&no(e.unsubscribe)}function uo(e){no(e)?e():e.unsubscribe()}var co=void 0,fo=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,wt([e,t],bt(n)))};function po(e){fo(function(){throw e})}function ho(){}function vo(e){e()}var go=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,lo(t)&&t.add(n)):n.destination=wo,n}return ut(t,e),t.create=function(e,t,n){return new yo(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(ao),mo=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(n){bo(n)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(n){bo(n)}else bo(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){bo(t)}},e}(),yo=function(e){function t(t,n,r){var i,o=e.call(this)||this;return i=no(t)||!t?{next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:t,o.destination=new mo(i),o}return ut(t,e),t}(go);function bo(e){po(e)}var wo={closed:!0,next:ho,error:function(e){throw e},complete:ho},ko="function"==typeof Symbol&&Symbol.observable||"@@observable";function So(e){return e}var xo=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof go||function(e){return e&&no(e.next)&&no(e.error)&&no(e.complete)}(r)&&lo(r)?e:new yo(e,t,n);return vo(function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=_o(t))(function(t,r){var i=new yo({next:function(t){try{e(t)}catch(n){r(n),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)})},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[ko]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?So:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=_o(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function _o(e){var t;return null!==(t=null!=e?e:co)&&void 0!==t?t:Promise}function Eo(e){return function(t){if(function(e){return no(null==e?void 0:e.lift)}(t))return t.lift(function(t){try{return e(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Co(e,t,n,r,i){return new To(e,t,n,r,i)}var To=function(e){function t(t,n,r,i,o,a){var s=e.call(this,t)||this;return s.onFinalize=o,s.shouldUnsubscribe=a,s._next=n?function(e){try{n(e)}catch(r){t.error(r)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(n){t.error(n)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return ut(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(go),Po=ro(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Io=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ut(t,e),t.prototype.lift=function(e){var t=new jo(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Po},t.prototype.next=function(e){var t=this;vo(function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=yt(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;vo(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;vo(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}
vendor: 1,358 bytes, line 11
11,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?so:(this.currentObservers=null,o.push(e),new ao(function(){t.currentObservers=null,oo(o,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new xo;return e.source=this,e},t.create=function(e,t){return new jo(e,t)},t}(xo),jo=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ut(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:so},t}
vendor: 4,879 bytes, line 11
11(Io),Ao=function(){return Date.now()},Oo=function(e){function t(t,n){return e.call(this)||this}return ut(t,e),t.prototype.schedule=function(e,t){return this},t}(ao),Lo=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setInterval.apply(void 0,wt([e,t],bt(n)))},Ro=function(e){return clearInterval(e)},No=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return ut(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),Lo(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&Ro(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,r=!1;try{this.work(e)}catch(i){r=!0,n=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,r=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,oo(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(Oo),Do=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=Ao,e}(),zo=new(function(e){function t(t,n){void 0===n&&(n=Do.now);var r=e.call(this,t,n)||this;return r.actions=[],r._active=!1,r}return ut(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(Do))(No),Mo=zo,Fo=new xo(function(e){return e.complete()});function Uo(e){return e&&no(e.schedule)}function qo(e){return e[e.length-1]}var Vo=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Bo(e){return no(null==e?void 0:e.then)}function $o(e){return no(e[ko])}function Wo(e){return Symbol.asyncIterator&&no(null==e?void 0:e[Symbol.asyncIterator])}function Ho(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Ko="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Qo(e){return no(null==e?void 0:e[Ko])}function Go(e){return St(this,arguments,function(){var t,n,r;return mt(this,function(i){switch(i.label){case 0:t=e.getReader(),i.label=1;case 1:i.trys.push([1,,9,10]),i.label=2;case 2:return[4,kt(t.read())];case 3:return n=i.sent(),r=n.value,n.done?[4,kt(void 0)]:[3,5];case 4:return[2,i.sent()];case 5:return[4,kt(r)];case 6:return[4,i.sent()];case 7:return i.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function Yo(e){return no(null==e?void 0:e.getReader)}function Jo(e){if(e instanceof xo)return e;if(null!=e){if($o(e))return i=e,new xo(function(e){var t=i[ko]();if(no(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if(Vo(e))return r=e,new xo(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()});if(Bo(e))return n=e,new xo(function(e){n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,po)});if(Wo(e))return Xo(e);if(Qo(e))return t=e,new xo(function(e){var n,r;try{for(var i=yt(t),o=i.next();!o.done;o=i.next()){var a=o.value;if(e.next(a),e.closed)return}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}e.complete()});if(Yo(e))return Xo(Go(e))}var t,n,r,i;throw Ho(e)}function Xo(e){return new xo(function(t){(function(e,t){var n,r,i,o;return gt(this,void 0,void 0,function(){var a,s;return mt(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=xt(e),l.label=1;case 1:return[4,n.next()];case 2:if((r=l.sent()).done)return[3,4];if(a=r.value,t.next(a),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=l.sent(),i={error:s},[3,11];case 6:return l.trys.push([6,,9,10]),r&&!r.done&&(o=n.return)?[4,o.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];
11case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}function Zo(e,t,n,r,i){void 0===r&&(r=0),void 0===i&&(i=!1);var o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}function ea(e,t){return void 0===t&&(t=0),Eo(function(n,r){n.subscribe(Co(r,function(n){return Zo(r,e,function(){return r.next(n)},t)},function(){return Zo(r,e,function(){return r.complete()},t)},function(n){return Zo(r,e,function(){return r.error(n)},t)}))})}function ta(e,t){return void 0===t&&(t=0),Eo(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function na(e,t){if(!e)throw new Error("Iterable cannot be null");return new xo(function(n){Zo(n,t,function(){var r=e[Symbol.asyncIterator]();Zo(n,t,function(){r.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}function ra(e,t){if(null!=e){if($o(e))return function(e,t){return Jo(e).pipe(ta(t),ea(t))}(e,t);if(Vo(e))return function(e,t){return new xo(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Bo(e))return function(e,t){return Jo(e).pipe(ta(t),ea(t))}(e,t);if(Wo(e))return na(e,t);if(Qo(e))return function(e,t){return new xo(function(n){var r;return Zo(n,t,function(){r=e[Ko](),Zo(n,t,function(){var e,t,i;try{t=(e=r.next()).value,i=e.done}catch(o){return void n.error(o)}i?n.complete():n.next(t)},0,!0)}),function(){return no(null==r?void 0:r.return)&&r.return()}})}(e,t);if(Yo(e))return function(e,t){return na(Go(e),t)}(e,t)}throw Ho(e)}function ia(e){return e instanceof Date&&!isNaN(e)}var oa=ro(function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}});function aa(e){throw new oa(e)}function sa(e,t){return Eo(function(n,r){var i=0;n.subscribe(Co(r,function(n){r.next(e.call(t,n,i++))}))})}var la=Array.isArray;function ua(e){return sa(function(t){return function(e,t){return la(t)?e.apply(void 0,wt([],bt(t))):e(t)}(e,t)})}function ca(e,t,n){return void 0===n&&(n=1/0),no(t)?ca(function(n,r){return sa(function(e,i){return t(n,e,r,i)})(Jo(e(n,r)))},n):("number"==typeof t&&(n=t),Eo(function(t,r){return function(e,t,n,r,i,o,a){var s=[],l=0,u=0,c=!1,d=function(){!c||s.length||l||t.complete()},f=function(e){l++;var i=!1;Jo(n(e,u++)).subscribe(Co(t,function(e){t.next(e)},function(){i=!0},void 0,function(){if(i)try{l--;for(var e=function(){var e=s.shift();a||f(e)};s.length&&l<r;)e();d()}catch(n){t.error(n)}}))};return e.subscribe(Co(t,function(e){return l<r?f(e):s.push(e)},function(){c=!0,d()})),function(){}}(t,r,e,n)}))}var da=["addListener","removeListener"],fa=["addEventListener","removeEventListener"],pa=["on","off"];function ha(e,t,n,r){if(no(n)&&(r=n,n=void 0),r)return ha(e,t,n).pipe(ua(r));var i=bt(function(e){return no(e.addEventListener)&&no(e.removeEventListener)}(e)?fa.map(function(r){return function(i){return e[r](t,i,n)}}):function(e){return no(e.addListener)&&no(e.removeListener)}(e)?da.map(va(e,t)):function(e){return no(e.on)&&no(e.off)}(e)?pa.map(va(e,t)):[],2),o=i[0],a=i[1];if(!o&&Vo(e))return ca(function(e){return ha(e,t,n)})(Jo(e));if(!o)throw new TypeError("Invalid event target");return new xo(function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return o(t),function(){return a(t)}})}function va(e,t){return function(n){return function(r){return e[n](t,r)}}}function ga(e,t,n){void 0===e&&(e=0),void 0===n&&(n=Mo);var r=-1;return null!=t&&(Uo(t)?n=t:r=t),new xo(function(t){var i=ia(e)?+e-n.now():e;i<0&&(i=0);var o=0;return n.schedule(function(){t.closed||(t.next(o++),0<=r?this.schedule(void 0,r):t.complete())},i)})}function ma(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function(e){return Uo(qo(e))?e.pop():void 0}(e),r=function(e,t){return"number"==typeof qo(e)?e.pop():t}(e,1/0),i=e;return i.length?1===i.length?Jo(i[0]):function(e){return void 0===e&&(e=1/0),ca(So,e)}(r)(function(e,t){return t?ra(e,t):Jo(e)}(i,n)):Fo}var ya=Array.isArray;function ba(e,t){return Eo(function(n,r){var i=0;n.subscribe(Co(r,function(n){return e.call(t,n,i++)&&r.next(n)}))})}function wa(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===(t=1===(e=t).length&&ya(e[0])?e[0]:e).length?Jo(t[0]):new xo(function(e){return function(t){for(var n=[],r=function(r){n.push(Jo(e[r]).subscribe(Co(t,function(e){if(n){for(var i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(e)})))},i=0;n&&!t.closed&&i<e.length;i++)r(i)}}(t))}function ka(e){return e<=0?function(){return Fo}:Eo(function(t,n){var r=0;t.subscribe(Co(n,function(t){++r<=e&&(n.next(t),e<=r&&n.complete())}))})}function Sa(e,t){return ca(function(t,n){return Jo(e(t,n)).pipe(ka(1),function(e){return sa(function(){return e})}(t))})}function xa(e){void 0===e&&(e={});var t=e.connector,n=void 0===t?function(){return new Io}:t,r=e.resetOnError,i=void 0===r||r,o=e.resetOnComplete,a=void 0===o||o,s=e.resetOnRefCountZero,l=void 0===s||s;
11return function(e){var t,r,o,s=0,u=!1,c=!1,d=function(){null==r||r.unsubscribe(),r=void 0},f=function(){d(),t=o=void 0,u=c=!1},p=function(){var e=t;f(),null==e||e.unsubscribe()};return Eo(function(e,h){s++,c||u||d();var v=o=null!=o?o:n();h.add(function(){0!==--s||c||u||(r=_a(p,l))}),v.subscribe(h),!t&&s>0&&(t=new yo({next:function(e){return v.next(e)},error:function(e){c=!0,d(),r=_a(f,i,e),v.error(e)},complete:function(){u=!0,d(),r=_a(f,a),v.complete()}}),Jo(e).subscribe(t))})(e)}}function _a(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!0!==t){if(!1!==t){var i=new yo({next:function(){i.unsubscribe(),e()}});return Jo(t.apply(void 0,wt([],bt(n)))).subscribe(i)}}else e()}function Ea(e,t,n){void 0===t&&(t=zo);var r=ga(e,t);return function(e,t){return Eo(function(n,r){var i=null!=t?t:{},o=i.leading,a=void 0===o||o,s=i.trailing,l=void 0!==s&&s,u=!1,c=null,d=null,f=!1,p=function(){null==d||d.unsubscribe(),d=null,l&&(g(),f&&r.complete())},h=function(){d=null,f&&r.complete()},v=function(t){return d=Jo(e(t)).subscribe(Co(r,p,h))},g=function(){if(u){u=!1;var e=c;c=null,r.next(e),!f&&v(e)}};n.subscribe(Co(r,function(e){u=!0,c=e,(!d||d.closed)&&(a?g():v(e))},function(){f=!0,(!(l&&u&&d)||d.closed)&&r.complete()}))})}(function(){return r},n)}var Ca=["input","select","textarea"],Ta=function(e,t){var n,r=null===(n=null===window||void 0===window?void 0:window.getComputedStyle)||void 0===n?void 0:n.call(window,e);return"pointer"===(null==r?void 0:r.getPropertyValue("cursor"))&&"click"===t},Pa=function(e,t,n){return void 0===n&&(n=!1),function(r,i){var o,a,s=e.pageUrlAllowlist,l=e.shouldTrackEventResolver,u=null===(a=null===(o=null==i?void 0:i.tagName)||void 0===o?void 0:o.toLowerCase)||void 0===a?void 0:a.call(o);if(!u)return!1;if(l)return l(r,i);if(!Vn(window.location.href,s))return!1;var c=String(null==i?void 0:i.getAttribute("type"))||"";if("string"==typeof c)switch(c.toLowerCase()){case"hidden":case"password":return!1}var d=Ta(i,r);if(n&&d)return!0;if(t&&!t.some(function(e){var t;return!!(null===(t=null==i?void 0:i.matches)||void 0===t?void 0:t.call(i,e))}))return!1;switch(u){case"input":case"select":case"textarea":return"change"===r||"click"===r;default:return!!d||"click"===r}}},Ia=function(e){var t,n,r,i=null===(n=null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLowerCase)||void 0===n?void 0:n.call(t),o=e instanceof HTMLElement&&"true"===(null===(r=e.getAttribute("contenteditable"))||void 0===r?void 0:r.toLowerCase());return!Ca.includes(i)&&!o},ja=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return function(e){return null==e||"object"==typeof e&&0===Object.keys(e).length||"string"==typeof e&&0===e.trim().length}(r)||(t[n]=r),t},{})},Aa=function(e,t){return e?t.some(function(t){var n;return null===(n=null==e?void 0:e.matches)||void 0===n?void 0:n.call(e,t)})?e:Aa(null==e?void 0:e.parentElement,t):null};var Oa=function(e){return!(null===e.event.target||!e.closestTrackedAncestor)};var La=["id","class","style","value","onclick","onchange","oninput","onblur","onsubmit","onfocus","onkeydown","onkeyup","onkeypress","data-reactid","data-react-checksum","data-reactroot"],Ra=["type"],Na=["svg","path","g"],Da=["password","hidden"];var za=function(e){var t;return e?(t=function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(null===i)n+=4;else{var o=Ma(i);n+=o?Array.from(o).length:4}if(n>t)return e.slice(0,r)}return e}(function(e){var t=[];if(!e)return t;
11t.push(e);for(var n=e.parentElement;n&&"HTML"!==n.tagName;)t.push(n),n=n.parentElement;return t}(e).map(function(e){return function(e){var t,n,r,i,o,a;if(null===e)return null;var s=String(e.tagName).toLowerCase(),l={tag:s},u=Array.from(null!==(i=null===(r=e.parentElement)||void 0===r?void 0:r.children)&&void 0!==i?i:[]);u.length&&(l.index=u.indexOf(e),l.indexOfType=u.filter(function(t){return t.tagName===e.tagName}).indexOf(e));var c=null===(a=null===(o=e.previousElementSibling)||void 0===o?void 0:o.tagName)||void 0===a?void 0:a.toLowerCase();c&&(l.prevSib=String(c));var d=e.getAttribute("id");d&&(l.id=String(d));var f=Array.from(e.classList);f.length&&(l.classes=f);var p={},h=Array.from(e.attributes).filter(function(e){return!La.includes(e.name)}),v=!Ia(e);if(!Da.includes(String(e.getAttribute("type")))&&!Na.includes(s))try{for(var g=yt(h),m=g.next();!m.done;m=g.next()){var y=m.value;v&&!Ra.includes(y.name)||(p[y.name]=String(y.value).substring(0,128))}}catch(b){t={error:b}}finally{try{m&&!m.done&&(n=g.return)&&n.call(g)}finally{if(t)throw t.error}}return Object.keys(p).length&&(l.attrs=p),l}(e)}),1024),t):[]};function Ma(e,t){void 0===t&&(t=!1);try{if(null==e)return t?"None":null;if("string"==typeof e)return t?(e=e.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r")).includes('"')?"'".concat(e,"'"):e.includes("'")?'"'.concat(e.replace(/'/g,"\\'"),'"'):"'".concat(e,"'"):e;if("boolean"==typeof e)return e?"True":"False";if(Array.isArray(e)){var n=e.map(function(e){return Ma(e,!0)});return"[".concat(n.join(", "),"]")}if("object"==typeof e){var r=Object.entries(e).filter(function(e){return null!=bt(e,1)[0]}).map(function(e){var t=bt(e,2),n=t[0],r=t[1];return"".concat(String(Ma(n,!0)),": ").concat(String(Ma(r,!0)))}),i="{".concat(r.join(", "),"}");return i.includes("\\'")&&(i=i.replace(/'/g,"'").replace(/'/g,"\\'")),i}return e.toString()}catch(o){return null}}var Fa=function(e,t,n){e.forEach(function(e){if("string"!=typeof e&&"ATTACH_EVENT_PROPERTY"===e.actionType){var r=n.extractDataFromDataSource(e.dataSource,t.closestTrackedAncestor);t.targetElementProperties[e.destinationKey]=r}})},Ua=/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/,qa=/(^\d{3}-?\d{2}-?\d{4}$)/,Va=/[^\s@]+@[^\s@.]+\.[^\s@]+/,Ba=function(){return function(e){var t,n,r,i=this;this.isNonSensitiveString=function(e){var t,n;if("string"!=typeof e)return!0;if(Ua.test((e||"").replace(/[- ]/g,"")))return!1;if(qa.test(e)||Va.test(e))return!1;try{for(var r=yt(i.additionalMaskTextPatterns),o=r.next();!o.done;o=r.next()){var a=o.value;try{if(a.test(e))return!1}catch(s){}}}
11catch(l){t={error:l}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!0},this.getNearestLabel=function(e){var t,n=e.parentElement;if(!n)return"";try{t=n.querySelector(":scope>span,h1,h2,h3,h4,h5,h6")}catch(o){t=null}if(t){var r=t.textContent||"";return i.isNonSensitiveString(r)?r:""}return i.getNearestLabel(n)},this.getEventProperties=function(e,t,n){var r,o,a,s=null===(a=null===(o=null==t?void 0:t.tagName)||void 0===o?void 0:o.toLowerCase)||void 0===a?void 0:a.call(o),l="function"==typeof t.getBoundingClientRect?t.getBoundingClientRect():{left:null,top:null},u=t.getAttribute("aria-label"),c=function(e,t){return e.getAttributeNames().reduce(function(n,r){if(r.startsWith(t)){var i=r.replace(t,""),o=e.getAttribute(r);i&&(n[i]=o||"")}return n},{})}(t,n),d=i.getNearestLabel(t),f=((r={})["[Amplitude] Element ID"]=t.getAttribute("id")||"",r["[Amplitude] Element Class"]=t.getAttribute("class"),r["[Amplitude] Element Hierarchy"]=za(t),r[Ji]=s,r[Xi]=i.getText(t),r["[Amplitude] Element Position Left"]=null==l.left?null:Math.round(l.left),r["[Amplitude] Element Position Top"]=null==l.top?null:Math.round(l.top),r["[Amplitude] Element Aria Label"]=u,r["[Amplitude] Element Attributes"]=c,r["[Amplitude] Element Parent Label"]=d,r[Zi]=window.location.href.split("?")[0],r["[Amplitude] Page Title"]="undefined"!=typeof document&&document.title||"",r["[Amplitude] Viewport Height"]=window.innerHeight,r["[Amplitude] Viewport Width"]=window.innerWidth,r);return"a"===s&&"click"===e&&t instanceof HTMLAnchorElement&&(f["[Amplitude] Element Href"]=t.href),ja(f)},this.addAdditionalEventProperties=function(e,t,n,r,o){void 0===o&&(o=!1);var a={event:e,timestamp:Date.now(),type:t};if(function(e){return"click"===e.type||"change"===e.type}(a)&&null!==a.event.target){if(o)if(Ta(a.event.target,a.type))return a.closestTrackedAncestor=a.event.target,a.targetElementProperties=i.getEventProperties(a.type,a.closestTrackedAncestor,r),a;var s=Aa(a.event.target,n);return s&&(a.closestTrackedAncestor=s,a.targetElementProperties=i.getEventProperties(a.type,s,r)),a}return a},this.extractDataFromDataSource=function(e,t){if("DOM_ELEMENT"===e.sourceType){var n=function(e,t){try{if("DOM_ELEMENT"===e.sourceType){var n=document.documentElement;return e.scope&&t&&(n=t.closest(e.scope)),n&&e.selector?n.querySelector(e.selector):n}}catch(r){return}}(e,t);if(!n)return;return"TEXT"===e.elementExtractType?i.getText(n):"ATTRIBUTE"===e.elementExtractType&&e.attribute?n.getAttribute(e.attribute):void 0}},this.combineText=function(e){var t="";return Ia(e)&&e.childNodes&&e.childNodes.length&&e.childNodes.forEach(function(e){var n,r="";(n=e)&&3===n.nodeType?e.textContent&&(r=e.textContent):r=i.combineText(e),t+=r.split(/(\s+)/).filter(i.isNonSensitiveString).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)}),t},this.getText=function(e){return i.combineText(e).trim()},this.getEventTagProps=function(e){var t,n,r;if(!e)return{};var o=null===(r=null===(n=null==e?void 0:e.tagName)||void 0===n?void 0:n.toLowerCase)||void 0===r?void 0:r.call(n),a=((t={})[Ji]=o,t[Xi]=i.getText(e),t[Zi]=window.location.href.split("?")[0],t);return ja(a)};var o=null!==(r=e.maskTextRegex)&&void 0!==r?r:[],a=[];try{for(var s=yt(o),l=s.next();!l.done;l=s.next()){var u=l.value;if(a.length>=25)break;if(u instanceof RegExp)a.push(u);else if("pattern"in u&&"string"==typeof u.pattern)try{a.push(new RegExp(u.pattern))}catch(c){}}}catch(d){t={error:d}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}this.additionalMaskTextPatterns=a}}(),$a=function(){function e(e){var t=(void 0===e?{}:e).origin,n=void 0===t?eo:t,r=this;this.endpoint=eo,this.requestCallbacks={},this.onSelect=function(e){r.notify({action:"element-selected",data:e})},this.onTrack=function(e,t){"selector-mode-changed"===e?r.notify({action:"track-selector-mode-changed",data:t}):"selector-moved"===e&&r.notify({action:"track-selector-moved",data:t})},this.endpoint=n}return e.prototype.notify=function(e){var t,n,r,i;null===(n=null===(t=this.logger)||void 0===t?void 0:t.debug)||void 0===n||n.call(t,"Message sent: ",JSON.stringify(e)),null===(i=null===(r=window.opener)||void 0===r?void 0:r.postMessage)||void 0===i||i.call(r,e,this.endpoint)},e.prototype.sendRequest=function(e,t,n){var r=this;void 0===n&&(n={timeout:15e3});var i="".concat(Date.now(),"-").concat(Math.random().toString(36).substr(2,9)),o={id:i,action:e,args:t};return new Promise(function(t,a){r.requestCallbacks[i]={resolve:t,reject:a},r.notify(o),(null==n?void 0:n.timeout)>0&&setTimeout(function(){a(new Error("".concat(e," timed out (id: ").concat(i,")"))),delete r.requestCallbacks[i]},n.timeout)})},e.prototype.handleResponse=function(e){var t;this.requestCallbacks[e.id]?(this.requestCallbacks[e.id].resolve(e.responseData),delete this.requestCallbacks[e.id]):null===(t=this.logger)||void 0===t||t.warn("No callback found for request id: ".concat(e.id))},e.prototype.setup=function(e){var t=this,n=void 0===e?{dataExtractor:new Ba({})}:e,r=n.logger,i=n.endpoint,o=n.isElementSelectable,a=n.cssSelectorAllowlist,s=n.actionClickAllowlist,l=n.dataExtractor;this.logger=r,i&&this.endpoint===eo&&(this.endpoint=i);var u=null;window.addEventListener("message",function(e){var n,r,i,c,d;if(null===(r=null===(n=t.logger)||void 0===n?void 0:n.debug)||void 0===r||r.call(n,"Message received: ",JSON.stringify(e)),t.endpoint===e.origin){var f,p=null==e?void 0:e.data,h=null==p?void 0:p.action;if(h)if("id"in p)null===(c=null===(i=t.logger)||void 0===i?void 0:i.debug)||void 0===c||c.call(i,"Received Response to previous request: ",JSON.stringify(e)),t.handleResponse(p);else if("ping"===h)t.notify({action:"pong"});else if("initialize-visual-tagging-selector"===h){var v=null==p?void 0:p.data;(f="https://cdn.amplitude.com/libs/visual-tagging-selector-1.0.0-alpha.js.gz",new Promise(function(e,t){var n;try{var r=document.createElement("script");r.type="text/javascript",r.async=!0,r.src=f,r.addEventListener("load",function(){e({status:!0})},{once:!0}),r.addEventListener("error",function(){t({status:!1,message:"Failed to load the script ".concat(f)})}),null===(n=document.head)||void 0===n||n.appendChild(r)}catch(i){t(i)}})).then(function(){var e;u=null===(e=null===window||void 0===window?void 0:window.amplitudeVisualTaggingSelector)||void 0===e?void 0:e.call(window,{getEventTagProps:l.getEventTagProps,isElementSelectable:function(e){return!o||o((null==v?void 0:v.actionType)||"click",e)},onTrack:t.onTrack,onSelect:t.onSelect,visualHighlightClass:"amp-visual-tagging-selector-highlight",messenger:t,cssSelectorAllowlist:a,actionClickAllowlist:s,extractDataFromDataSource:l.extractDataFromDataSource,diagnostics:{autocapture:{version:"1.11.0"}}}),t.notify({action:"selector-loaded"})}).catch(function(){var e;
11null===(e=t.logger)||void 0===e||e.warn("Failed to initialize visual tagging selector")})}else"close-visual-tagging-selector"===h&&(null===(d=null==u?void 0:u.close)||void 0===d||d.call(u))}}),this.notify({action:"page-loaded"})},e}();function Wa(e){var t,n,r,i=e.amplitude,o=e.allObservables,a=e.options,s=e.shouldTrackEvent,l=e.evaluateTriggers,u=o.clickObservable,c=ma(u.pipe(Eo(function(e,t){var n,r=!1;e.subscribe(Co(t,function(e){var i=n;n=e,r&&t.next([i,e]),r=!0}))}),ba(function(e){var t=bt(e,2),n=t[0],r=t[1],i=n.event.target!==r.event.target,o=Math.abs(r.event.screenX-n.event.screenX)<=20&&Math.abs(r.event.screenY-n.event.screenY)<=20;return i&&!o})),u.pipe((t=a.debounceTime,void 0===n&&(n=zo),Eo(function(e,r){var i=null,o=null,a=null,s=function(){if(i){i.unsubscribe(),i=null;var e=o;o=null,r.next(e)}};function l(){var e=a+t,o=n.now();if(o<e)return i=this.schedule(void 0,e-o),void r.add(i);s()}e.subscribe(Co(r,function(e){o=e,a=n.now(),i||(i=n.schedule(l,t),r.add(i))},function(){s(),r.complete()},void 0,function(){o=i=null}))})),sa(function(){return"timeout"}))),d=u.pipe(function(e,t){void 0===t&&(t=zo);var n=ga(e,t);return Sa(function(){return n})}(0),ba(Oa),ba(function(e){return s("click",e.closestTrackedAncestor)}),sa(function(e){return l(e)}),(r=c,Eo(function(e,t){var n=[];return e.subscribe(Co(t,function(e){return n.push(e)},function(){t.next(n),t.complete()})),Jo(r).subscribe(Co(t,function(){var e=n;n=[],t.next(e)},ho)),function(){n=null}})));return d.subscribe(function(e){var t,n,r=(e.length,Gi);try{for(var o=yt(e),a=o.next();!a.done;a=o.next()){var s=a.value;null==i||i.track(r,s.targetElementProperties)}}
11catch(l){t={error:l}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}})}function Ha(e){var t=e.amplitude,n=e.allObservables,r=e.options,i=e.getEventProperties,o=e.shouldTrackEvent,a=e.shouldTrackActionClick,s=n.clickObservable,l=n.mutationObservable,u=n.navigateObservable,c=s.pipe(ba(function(e){return!o("click",e.closestTrackedAncestor)}),sa(function(e){var t=Aa(e.event.target,r.actionClickAllowlist);return e.closestTrackedAncestor=t,null!==e.closestTrackedAncestor&&(e.targetElementProperties=i(e.type,e.closestTrackedAncestor)),e}),ba(Oa),ba(function(e){return a("click",e.closestTrackedAncestor)})),d=[l];u&&d.push(u);var f,p,h=ma.apply(void 0,wt([],bt(d),!1)),v=c.pipe((f=function(e){return h.pipe(ka(1),function(e){var t=ia(e)?{first:e}:"number"==typeof e?{each:e}:e,n=t.first,r=t.each,i=t.with,o=void 0===i?aa:i,a=t.scheduler,s=void 0===a?zo:a,l=t.meta,u=void 0===l?null:l;if(null==n&&null==r)throw new TypeError("No timeout provided.");return Eo(function(e,t){var i,a,l=null,c=0,d=function(e){a=Zo(t,s,function(){try{i.unsubscribe(),Jo(o({meta:u,lastValue:l,seen:c})).subscribe(t)}catch(e){t.error(e)}},e)};i=e.subscribe(Co(t,function(e){null==a||a.unsubscribe(),c++,t.next(l=e),r>0&&d(r)},void 0,void 0,function(){(null==a?void 0:a.closed)||null==a||a.unsubscribe(),l=null})),!c&&d(null!=n?"number"==typeof n?n:+n-s.now():r)})}({first:500,with:function(){return Fo}}),sa(function(){return e}))},Eo(function(e,t){var n=null,r=0,i=!1,o=function(){return i&&!n&&t.complete()};e.subscribe(Co(t,function(e){null==n||n.unsubscribe();var i=0,a=r++;Jo(f(e,a)).subscribe(n=Co(t,function(n){return t.next(p?p(e,n,a,i++):n)},function(){n=null,o()}))},function(){i=!0,o()}))})));return v.subscribe(function(e){null==t||t.track(Gi,i("click",e.closestTrackedAncestor))})}var Ka,Qa,Ga=function(){return new xo(function(e){var t=new MutationObserver(function(t){e.next(t)});return t.observe(document.body,{childList:!0,attributes:!0,characterData:!0,subtree:!0}),function(){return t.disconnect()}})},Ya=function(e){return void 0===e&&(e="click"),ha(document,e,{capture:!0})},Ja={"[Amplitude] Element Clicked":"click","[Amplitude] Element Changed":"change"},Xa=function(e){var t,n,r,i,o=Object.values(Ja).reduce(function(e,t){return e[t]=new Set,e},{});if(!e)return o;try{for(var a=yt(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{try{for(var u=(r=void 0,yt(l.definition)),c=u.next();!c.done;c=u.next()){var d=c.value,f=Ja[d.event_type];f&&o[f].add(l.id)}}catch(p){r={error:p}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}catch(h){}}}catch(v){t={error:v}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o},Za=function(e){var t,n,r,i,o=new Map;try{for(var a=yt(e),s=a.next();!s.done;s=a.next()){var l=s.value;try{for(var u=(r=void 0,yt(l.conditions)),c=u.next();!c.done;c=u.next()){var d=c.value;if("LABELED_EVENT"===d.type){var f=d.match.eventId,p=o.get(f);p||(p=[],o.set(f,p)),p.push(l)}}}catch(h){r={error:h}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}}catch(v){t={error:v}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o},es=function(){function e(e,t,n,r){this.groupedLabeledEvents=e,this.labeledEventToTriggerMap=t,this.dataExtractor=n,this.options=r}return e.prototype.evaluate=function(e){var t,n,r=this.options.pageActions;if(!r)return e;var i=function(e,t){return t.filter(function(t){return t.definition.some(function(t){return Ja[t.event_type]===e.type&&t.filters.every(function(t){return function(e,t){try{if("[Amplitude] Element Text"===t.subprop_key)return"is"===t.subprop_op&&t.subprop_value.includes(e.targetElementProperties["[Amplitude] Element Text"]);if("[Amplitude] Element Hierarchy"===t.subprop_key)return"autotrack css match"===t.subprop_op&&!!e.closestTrackedAncestor.closest(t.subprop_value.toString())}catch(n){return!1}return!1}(e,t)})})})}(e,Array.from(this.groupedLabeledEvents[e.type]).map(function(e){return r.labeledEvents[e]})),o=function(e,t){var n,r,i,o,a=new Set;try{for(var s=yt(e),l=s.next();!l.done;l=s.next()){var u=l.value,c=t.get(u.id);if(c)try{for(var d=(i=void 0,yt(c)),f=d.next();!f.done;f=d.next()){var p=f.value;a.add(p)}}catch(h){i={error:h}}
11finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}}}catch(v){n={error:v}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return Array.from(a)}(i,this.labeledEventToTriggerMap);try{for(var a=yt(o),s=a.next();!s.done;s=a.next()){var l=s.value;Fa(l.actions,e,this.dataExtractor)}}catch(u){t={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return e},e.prototype.update=function(e,t,n){this.groupedLabeledEvents=e,this.labeledEventToTriggerMap=t,this.options=n},e}();(Qa=Ka||(Ka={})).ClickObservable="clickObservable",Qa.ChangeObservable="changeObservable",Qa.NavigateObservable="navigateObservable",Qa.MutationObservable="mutationObservable";var ts=function(e){var t,n,r,i,o,a,s;void 0===e&&(e={});var l=e.dataAttributePrefix,u=void 0===l?Jn:l,c=e.visualTaggingOptions,d=void 0===c?{enabled:!0,messenger:new $a}:c;e.cssSelectorAllowlist=null!==(t=e.cssSelectorAllowlist)&&void 0!==t?t:Yn,e.actionClickAllowlist=null!==(n=e.actionClickAllowlist)&&void 0!==n?n:Xn,e.debounceTime=null!==(r=e.debounceTime)&&void 0!==r?r:0;var f="@amplitude/plugin-autocapture-browser",p=[],h=new Ba(e),v=Xa(Object.values(null!==(o=null===(i=e.pageActions)||void 0===i?void 0:i.labeledEvents)&&void 0!==o?o:{})),g=Za(null!==(s=null===(a=e.pageActions)||void 0===a?void 0:a.triggers)&&void 0!==s?s:[]),m=function(e,t,n,r){return new es(e,t,n,r)}(v,g,h,e);return{name:f,type:"enrichment",setup:function(t,n){return gt(void 0,void 0,void 0,function(){var r,i,o,a,s,l,c,y,b,w;return mt(this,function(k){return"undefined"==typeof document||(t.fetchRemoteConfig&&Qi({localConfig:t,configKeys:["analyticsSDK.pageActions"]}).then(function(n){return gt(void 0,void 0,void 0,function(){var r,i;return mt(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,n.getRemoteConfig("analyticsSDK","pageActions")];case 1:return function(t){var n,r;t&&(e.pageActions=ht(ht({},e.pageActions),t),v=Xa(Object.values(null!==(n=e.pageActions.labeledEvents)&&void 0!==n?n:{})),g=Za(null!==(r=e.pageActions.triggers)&&void 0!==r?r:[]),m.update(v,g,e))}(o.sent()),[3,3];case 2:return r=o.sent(),null===(i=null==t?void 0:t.loggerProvider)||void 0===i||i.error("Failed to fetch remote config: ".concat(String(r))),[3,3];case 3:return[2]}})})}).catch(function(e){var n;null===(n=null==t?void 0:t.loggerProvider)||void 0===n||n.error("Failed to create remote config fetch: ".concat(String(e)))}),r=Pa(e,e.cssSelectorAllowlist),i=Pa(e,e.actionClickAllowlist),o=function(){var t,n,r=Ya().pipe(sa(function(t){return h.addAdditionalEventProperties(t,"click",e.cssSelectorAllowlist,u)}),xa()),i=ha(document,"change",{capture:!0}).pipe(sa(function(t){return h.addAdditionalEventProperties(t,"change",e.cssSelectorAllowlist,u)}),xa());window.navigation&&(n=ha(window.navigation,"navigate").pipe(sa(function(t){return h.addAdditionalEventProperties(t,"navigate",e.cssSelectorAllowlist,u)}),xa()));var o=Ga().pipe(sa(function(t){return h.addAdditionalEventProperties(t,"mutation",e.cssSelectorAllowlist,u)}),xa());return(t={})[Ka.ClickObservable]=r,t[Ka.ChangeObservable]=i,t[Ka.NavigateObservable]=n,t[Ka.MutationObservable]=o,t}(),a=Wa({allObservables:o,options:e,amplitude:n,shouldTrackEvent:r,evaluateTriggers:m.evaluate.bind(m)}),p.push(a),s=function(e){var t=e.amplitude,n=e.allObservables,r=e.getEventProperties,i=e.shouldTrackEvent,o=e.evaluateTriggers;return n.changeObservable.pipe(ba(Oa),ba(function(e){return i("change",e.closestTrackedAncestor)}),sa(function(e){return o(e)})).subscribe(function(e){null==t||t.track("[Amplitude] Element Changed",r("change",e.closestTrackedAncestor))})}({allObservables:o,getEventProperties:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return h.getEventProperties.apply(h,wt(wt([],bt(e),!1),[u],!1))},amplitude:n,shouldTrackEvent:r,evaluateTriggers:m.evaluate.bind(m)}),p.push(s),l=Ha({allObservables:o,options:e,getEventProperties:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return h.getEventProperties.apply(h,wt(wt([],bt(e),!1),[u],!1))},amplitude:n,shouldTrackEvent:r,shouldTrackActionClick:i}),p.push(l),null===(b=null==t?void 0:t.loggerProvider)||void 0===b||b.log("".concat(f," has been successfully added.")),window.opener&&d.enabled&&(c=e.cssSelectorAllowlist,y=e.actionClickAllowlist,null===(w=d.messenger)||void 0===w||w.setup(ht(ht({dataExtractor:h,logger:null==t?void 0:t.loggerProvider},(null==t?void 0:t.serverZone)&&{endpoint:to[t.serverZone]}),{isElementSelectable:Pa(e,wt(wt([],bt(c),!1),bt(y),!1)),cssSelectorAllowlist:c,actionClickAllowlist:y})))),[2]})})},execute:function(e){return gt(void 0,void 0,void 0,function(){return mt(this,function(t){return[2,e]})})},teardown:function(){return gt(void 0,void 0,void 0,function(){var e,t,n,r;return mt(this,function(i){try{for(e=yt(p),t=e.next();!t.done;t=e.next())t.value.unsubscribe()}catch(o){n={error:o}}finally{try{t&&!t.done&&(r=e.return)&&r.call(e)}finally{if(n)throw n.error}}return[2]})})}}};function ns(e,t){var n,r,i,o,a=t.event,s=a.clientX,l=a.clientY;e.yMin=Math.min(null!==(n=e.yMin)&&void 0!==n?n:l,l),e.yMax=Math.max(null!==(r=e.yMax)&&void 0!==r?r:l,l),e.xMin=Math.min(null!==(i=e.xMin)&&void 0!==i?i:s,s),e.xMax=Math.max(null!==(o=e.xMax)&&void 0!==o?o:s,s),e.isOutOfBounds=e.yMax-e.yMin>50||e.xMax-e.xMin>50}function rs(e){var t=e[0],n=e[e.length-1];return{rageClickEvent:ht({"[Amplitude] Begin Time":new Date(t.timestamp).toISOString(),"[Amplitude] End Time":new Date(n.timestamp).toISOString(),"[Amplitude] Duration":n.timestamp-t.timestamp,"[Amplitude] Clicks":e.map(function(e){return{X:e.event.clientX,Y:e.event.clientY,Time:e.timestamp}}),"[Amplitude] Click Count":e.length},t.targetElementProperties),time:t.timestamp}}function is(e){var t,n=e.amplitude,r=e.allObservables,i=e.shouldTrackRageClick,o=r.clickObservable,a=[],s={};function l(e){a=[],s={},e&&(ns(s,e),a.push(e))}
11return o.pipe(ba(Oa),ba(function(e){return i("click",e.closestTrackedAncestor)}),sa(function(e){if(t&&clearTimeout(t),ns(s,e),0===a.length)return a.push(e),null;if(function(e,t){return e.length>0&&e[e.length-1].closestTrackedAncestor!==t.closestTrackedAncestor}(a,e)||function(e,t){var n=e[Math.max(0,e.length-4+1)];return t.timestamp-n.timestamp>=1e3}(a,e)||s.isOutOfBounds){var r=a.length>=4?rs(a):null;return l(e),r}return a.push(e),a.length>=4&&(t=setTimeout(function(){var e=rs(a),t=e.rageClickEvent,r=e.time;n.track(Yi,t,{time:r}),l()},1e3)),null}),ba(function(e){return null!==e})).subscribe(function(e){null!==e&&n.track(Yi,e.rageClickEvent,{time:e.time})})}var os,as=function(e){var t,n,r,i,o;void 0===e&&(e={});var a="@amplitude/plugin-frustration-browser",s=[],l=null!==(n=null===(t=e.rageClicks)||void 0===t?void 0:t.cssSelectorAllowlist)&&void 0!==n?n:er,u=null!==(i=null===(r=e.deadClicks)||void 0===r?void 0:r.cssSelectorAllowlist)&&void 0!==i?i:Zn,c=null!==(o=e.dataAttributePrefix)&&void 0!==o?o:Jn,d=new Ba(e),f=wt([],bt(new Set(wt(wt([],bt(l),!1),bt(u),!1))),!1);return{name:a,type:"enrichment",setup:function(t,n){return gt(void 0,void 0,void 0,function(){var r,i,o,p,h,v;return mt(this,function(g){return"undefined"==typeof document||(r=Pa(e,l),i=Pa(e,u),o=function(){var e,t,n=Ya("pointerdown").pipe(sa(function(e){return d.addAdditionalEventProperties(e,"click",f,c,!0)}),xa());window.navigation&&(t=ha(window.navigation,"navigate").pipe(sa(function(e){return d.addAdditionalEventProperties(e,"navigate",f,c)}),xa()));var r=Ga().pipe(sa(function(e){return d.addAdditionalEventProperties(e,"mutation",f,c)}),xa());return(e={})[Ka.ClickObservable]=n,e[Ka.ChangeObservable]=new xo,e[Ka.NavigateObservable]=t,e[Ka.MutationObservable]=r,e}(),p=is({allObservables:o,amplitude:n,shouldTrackRageClick:r}),s.push(p),h=function(e){var t=e.amplitude,n=e.allObservables,r=e.getEventProperties,i=e.shouldTrackDeadClick,o=n.clickObservable,a=n.mutationObservable,s=n.navigateObservable,l=o.pipe(ba(Oa),ba(function(e){return i("click",e.closestTrackedAncestor)})),u=[a];s&&u.push(s);var c=ma.apply(void 0,wt([],bt(u),!1));return l.pipe(ca(function(e){var t;return wa(new xo(function(n){return t=setTimeout(function(){return n.next(e)},3e3),function(){clearTimeout(t)}}),c.pipe(ka(1),sa(function(){return null}))).pipe(ba(function(e){return null!==e}))}),Ea(3e3)).subscribe(function(e){var n={"[Amplitude] X":e.event.clientX,"[Amplitude] Y":e.event.clientY};t.track("[Amplitude] Dead Click",ht(ht({},r("click",e.closestTrackedAncestor)),n),{time:e.timestamp})})}({amplitude:n,allObservables:o,getEventProperties:function(e,t){return d.getEventProperties(e,t,c)},shouldTrackDeadClick:i}),s.push(h),null===(v=null==t?void 0:t.loggerProvider)||void 0===v||v.log("".concat(a," has been successfully added."))),[2]})})},execute:function(e){return gt(void 0,void 0,void 0,function(){return mt(this,function(t){return[2,e]})})},teardown:function(){return gt(void 0,void 0,void 0,function(){var e,t,n,r;return mt(this,function(i){try{for(e=yt(s),t=e.next();!t.done;t=e.next())t.value.unsubscribe()}catch(o){n={error:o}}finally{try{t&&!t.done&&(r=e.return)&&r.call(e)}finally{if(n)throw n.error}}return[2]})})}}},ss="[Amplitude] Network Request",ls="500-599";function us(e,t){var n="^"+t.replace(/[-[\]{}()+?.,\\^$|#\s]/g,"\\$&").replace(/\*/g,".*")+"$";return new RegExp(n).test(e)}function cs(e,t){var n,r,i=t.split(",");try{for(var o=yt(i),a=o.next();!a.done;a=o.next()){var s=bt(a.value.split("-").map(Number),2),l=s[0],u=s[1];if(e===l&&void 0===u)return!0;if(e>=l&&e<=u)return!0}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!1}function ds(e){var t;if(e)try{var n=null===(t=Xt())||void 0===t?void 0:t.location.href,r=new URL(e,n),i=r.searchParams.toString(),o=r.hash.replace("#",""),a=r.href,s=r.host;return r.hash="",r.search="",{query:i,fragment:o,href:a,hrefWithoutQueryOrHash:r.href,host:s}}catch(l){return}}function fs(e){if("object"==typeof e&&null!==e){if(0!==e.length)return e}else{if(e)return wt([],bt(qt),!1);if(void 0===e){return}}}function ps(e){var t,n;return!(null===(t=null==e?void 0:e.allowlist)||void 0===t?void 0:t.length)&&!(null===(n=null==e?void 0:e.blocklist)||void 0===n?void 0:n.length)}function hs(e,t){var n;void 0===t&&(t={});var r=ds(e.url);if(!r)return!1;var i,o=r.host;if(!1!==t.ignoreAmplitudeRequests&&(us(o,"*.amplitude.com")||us(o,"amplitude.com")))return!1;if(null===(n=t.ignoreHosts)||void 0===n?void 0:n.find(function(e){return us(o,e)}))return!1;if(!t.captureRules&&void 0!==e.status&&!cs(e.status,ls))return!1;if(t.captureRules&&(wt([],bt(t.captureRules),!1).reverse().find(function(t){if(i=function(e,t,n,r,i){if((!e.hosts||e.hosts.find(function(e){return us(t,e)}))&&(!r||!e.urls||Vn(r,e.urls))&&(!i||!e.methods||e.methods.find(function(e){return i.toLowerCase()===e.toLowerCase()||"*"===e})))return!((n||0===n)&&!cs(n,e.statusCodeRange||ls))}(t,o,e.status,e.url,e.method),i){var n=fs(t.responseHeaders);if(e.responseWrapper&&n){var r=e.responseWrapper.headers(n);r&&(e.responseHeaders=r)}var a=fs(t.requestHeaders);if(e.requestWrapper&&a){var s=e.requestWrapper.headers(a);s&&(e.requestHeaders=s)}e.responseWrapper&&t.responseBody&&!ps(t.responseBody)&&(e.responseBodyJson=e.responseWrapper.json(t.responseBody.allowlist,t.responseBody.blocklist)),e.requestWrapper&&t.requestBody&&!ps(t.requestBody)&&(e.requestBodyJson=e.requestWrapper.json(t.requestBody.allowlist,t.requestBody.blocklist))}return void 0!==i}),!i))return!1;return!e.requestWrapper||!function(e,t){if(e.includes("amplitude.com"))try{var n=t.body;if("string"!=typeof n)return!1;if(JSON.parse(n).events.find(function(e){return e.event_type===ss}))return!0}catch(r){}return!1}(o,e.requestWrapper)}function vs(e){var t=e.allObservables,n=e.networkTrackingOptions,r=e.amplitude;return t.networkObservable.pipe(ba(function(e){return hs(e.event,n)}
11)).subscribe(function(e){var t,n,i,o=e.event,a=ds(o.url);if(a){var s=null===(n=o.responseWrapper)||void 0===n?void 0:n.bodySize,l=null===(i=o.requestWrapper)||void 0===i?void 0:i.bodySize;!function(e,t,n){gt(this,void 0,void 0,function(){var r,i,o;return mt(this,function(a){switch(a.label){case 0:return t.requestBodyJson||t.responseBodyJson?[4,Promise.all([t.requestBodyJson,t.responseBodyJson])]:[3,2];case 1:r=bt.apply(void 0,[a.sent(),2]),i=r[0],o=r[1],i&&(e["[Amplitude] Request Body"]=i),o&&(e["[Amplitude] Response Body"]=o),a.label=2;case 2:return null==n||n.track(ss,e),[2]}})})}(((t={})["[Amplitude] URL"]=a.hrefWithoutQueryOrHash,t["[Amplitude] URL Query"]=a.query,t["[Amplitude] URL Fragment"]=a.fragment,t["[Amplitude] Request Method"]=o.method,t["[Amplitude] Status Code"]=o.status,t["[Amplitude] Start Time"]=o.startTime,t["[Amplitude] Completion Time"]=o.endTime,t["[Amplitude] Duration"]=o.duration,t["[Amplitude] Request Body Size"]=l,t["[Amplitude] Response Body Size"]=s,t["[Amplitude] Request Type"]=o.type,t["[Amplitude] Request Headers"]=o.requestHeaders,t["[Amplitude] Response Headers"]=o.responseHeaders,t),o,r)}})}(os||(os={})).NetworkObservable="networkObservable";var gs=function(e){void 0===e&&(e={});var t,n="@amplitude/plugin-network-capture-browser",r=[],i=function(){var e,n=new xo(function(e){var n=new kr(function(t){var n=function(e,t){return{event:e,timestamp:Date.now(),type:t}}(t,"network");e.next(n)});return Sr.subscribe(n,t),function(){Sr.unsubscribe(n)}});return(e={})[os.NetworkObservable]=n,e};return{name:n,type:"enrichment",setup:function(o,a){return gt(void 0,void 0,void 0,function(){var s,l;return mt(this,function(u){return"undefined"==typeof document||(s=i(),l=vs({allObservables:s,networkTrackingOptions:e,amplitude:a}),r.push(l),null==(t=null==o?void 0:o.loggerProvider)||t.log("".concat(n," has been successfully added."))),[2]})})},execute:function(e){return gt(void 0,void 0,void 0,function(){return mt(this,function(t){return[2,e]})})},teardown:function(){return gt(void 0,void 0,void 0,function(){var e,t,n,i;return mt(this,function(o){try{for(e=yt(r),t=e.next();!t.done;t=e.next())t.value.unsubscribe()}catch(a){n={error:a}}finally{try{t&&!t.done&&(i=e.return)&&i.call(e)}finally{if(n)throw n.error}}return[2]})})}}};function ms(e){var t,n=(null===(t=e.entries[0])||void 0===t?void 0:t.startTime)||0;return performance.timeOrigin+n}function ys(e){return{value:e.value,rating:e.rating,delta:e.delta,navigationType:e.navigationType,id:e.id,timestamp:Math.floor(ms(e)),navigationStart:Math.floor(performance.timeOrigin)}}var bs=function(e){var t=e.split(".");return t.length<=2?e:t.slice(t.length-2,t.length).join(".")},ws=function(e,t,n,r,i){void 0===i&&(i=!0),e.referrer;var o=e.referring_domain,a=vt(e,["referrer","referring_domain"]),s=t||{};s.referrer;var l=s.referring_domain,u=vt(s,["referrer","referring_domain"]);if(ks(n.excludeReferrers,e.referring_domain))return r.debug("This is not a new campaign because ".concat(e.referring_domain," is in the exclude referrer list.")),!1;if(!i&&function(e){return Object.values(e).every(function(e){return!e})}(e)&&t)return r.debug("This is not a new campaign because this is a direct traffic in the same session."),!1;var c=JSON.stringify(a)!==JSON.stringify(u),d=bs(o||"")!==bs(l||""),f=!t||c||d;return f?r.debug("This is a new campaign. An $identify event will be sent."):r.debug("This is not a new campaign because it's the same as the previous one."),f},ks=function(e,t){return void 0===e&&(e=[]),void 0===t&&(t=""),e.some(function(e){return e instanceof RegExp?e.test(t):e===t})},Ss=function(){function e(e,t){var n,r,i,o,a;this.shouldTrackNewCampaign=!1,this.options=ht({initialEmptyValue:"EMPTY",resetSessionOnNewCampaign:!1,excludeReferrers:(r=null===(n=t.cookieOptions)||void 0===n?void 0:n.domain,i=r,i?(i.startsWith(".")&&(i=i.substring(1)),[new RegExp("".concat(i.replace(".","\\."),"$"))]):[])},e),this.storage=t.cookieStorage,this.storageKey=(o=t.apiKey,void 0===a&&(a=10),[Et,"MKTG",o.substring(0,a)].filter(Boolean).join("_")),this.currentCampaign=Ut,this.sessionTimeout=t.sessionTimeout,this.lastEventTime=t.lastEventTime,this.logger=t.loggerProvider,t.loggerProvider.log("Installing web attribution tracking.")}return e.prototype.init=function(){return gt(this,void 0,void 0,function(){var e,t;return mt(this,function(n){switch(n.label){case 0:return[4,this.fetchCampaign()];case 1:return t=bt.apply(void 0,[n.sent(),2]),this.currentCampaign=t[0],this.previousCampaign=t[1],e=!this.lastEventTime||Ln(this.sessionTimeout,this.lastEventTime),ws(this.currentCampaign,this.previousCampaign,this.options,this.logger,e)?(this.shouldTrackNewCampaign=!0,[4,this.storage.set(this.storageKey,this.currentCampaign)]):[3,3];case 2:n.sent(),n.label=3;case 3:return[2]}})})},e.prototype.fetchCampaign=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,Promise.all([(new xr).parse(),this.storage.get(this.storageKey)])];case 1:return[2,e.sent()]}})})},e.prototype.generateCampaignEvent=function(e){this.shouldTrackNewCampaign=!1;var t,n,r,i,o=(t=this.currentCampaign,n=this.options,r=ht(ht({},Ut),t),i=Object.entries(r).reduce(function(e,t){var r,i=bt(t,2),o=i[0],a=i[1];return e.setOnce("initial_".concat(o),null!==(r=null!=a?a:n.initialEmptyValue)&&void 0!==r?r:"EMPTY"),a?e.set(o,a):e.unset(o)},new Wt),nn(i));return e&&(o.event_id=e),o},e.prototype.shouldSetSessionIdOnNewCampaign=function(){return this.shouldTrackNewCampaign&&!!this.options.resetSessionOnNewCampaign},e}(),xs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ut(t,e),t.prototype.init=function(e,t,n){var r,i;return void 0===e&&(e=""),arguments.length>
112?(r=t,i=n):"string"==typeof t?(r=t,i=void 0):(r=null==t?void 0:t.userId,i=t),rn(this._init(ht(ht({},i),{userId:r,apiKey:e})))},t.prototype._init=function(t){var n,r,i;return gt(this,void 0,void 0,function(){var o,a,s,l,u,c,d,f=this;return mt(this,function(p){switch(p.label){case 0:return this.initializing?[2]:(this.initializing=!0,[4,ui(t.apiKey,t,this)]);case 1:return(o=p.sent()).fetchRemoteConfig?(this.remoteConfigClient=new sn(o.apiKey,o.loggerProvider,o.serverZone),[4,new Promise(function(e){var t;null===(t=f.remoteConfigClient)||void 0===t||t.subscribe("configs.analyticsSDK.browserSDK","all",function(t,n,r){o.loggerProvider.debug("Remote configuration received:",JSON.stringify({remoteConfig:t,source:n,lastFetch:r},null,2)),t&&Bi(t,o),e()})})]):[3,3];case 2:p.sent(),p.label=3;case 3:return[4,e.prototype._init.call(this,o)];case 4:return p.sent(),this.logBrowserOptions(o),Er(this.config.defaultTracking)?(b=this.config,a=Er(b.defaultTracking)&&b.defaultTracking&&"object"==typeof b.defaultTracking&&b.defaultTracking.attribution&&"object"==typeof b.defaultTracking.attribution?ht({},b.defaultTracking.attribution):{},this.webAttribution=new Ss(a,this.config),[4,this.webAttribution.init()]):[3,6];case 5:p.sent(),p.label=6;case 6:return s=Dn(),l=s.ampTimestamp?Number(s.ampTimestamp):void 0,u=!l||Date.now()<l,c=u&&!Number.isNaN(Number(s.ampSessionId))?Number(s.ampSessionId):void 0,this.setSessionId(null!==(i=null!==(r=null!==(n=t.sessionId)&&void 0!==n?n:c)&&void 0!==r?r:this.config.sessionId)&&void 0!==i?i:Date.now()),(d=An(t.instanceName)).identityStore.setIdentity({userId:this.config.userId,deviceId:this.config.deviceId}),null===this.config.offline?[3,8]:[4,this.add(qi()).promise];case 7:p.sent(),p.label=8;case 8:return[4,this.add(new yn).promise];case 9:return p.sent(),[4,this.add(new Mr).promise];case 10:return p.sent(),[4,this.add(new On).promise];case 11:return p.sent(),function(e){Ui||void 0!==e.defaultTracking||(e.loggerProvider.warn("`options.defaultTracking` is set to undefined. This implicitly configures your Amplitude instance to track Page Views, Sessions, File Downloads, and Form Interactions. You can suppress this warning by explicitly setting a value to `options.defaultTracking`. The value must either be a boolean, to enable and disable all default events, or an object, for advanced configuration. For example:\n\namplitude.init(<YOUR_API_KEY>, {\n  defaultTracking: true,\n});\n\nVisit https://www.docs.developers.amplitude.com/data/sdks/browser-2/#tracking-default-events for more details."),Ui=!0)}(this.config),y=this.config.defaultTracking,_r(y,"fileDownloads")?(this.config.loggerProvider.debug("Adding file download tracking plugin"),[4,this.add(Fi()).promise]):[3,13];case 12:p.sent(),p.label=13;case 13:return function(e){return _r(e,"formInteractions")}(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding form interaction plugin"),[4,this.add(Di()).promise]):[3,15];case 14:p.sent(),p.label=15;case 15:return Cr(this.config.defaultTracking)?(this.config.loggerProvider.debug("Adding page view tracking plugin"),[4,this.add(Oi(Rr(this.config))).promise]):[3,17];case 16:p.sent(),p.label=17;case 17:return Ir(this.config.autocapture)?(this.config.loggerProvider.debug("Adding user interactions plugin (autocapture plugin)"),[4,this.add(ts(Ar(this.config))).promise]):[3,19];case 18:p.sent(),p.label=19;case 19:return jr(this.config.autocapture)?(this.config.loggerProvider.debug("Adding frustration interactions plugin"),[4,this.add(as(Or(this.config))).promise]):[3,21];case 20:p.sent(),p.label=21;case 21:return Pr(this.config.autocapture)?(this.config.loggerProvider.debug("Adding network tracking plugin"),[4,this.add(gs(Lr(this.config))).promise]):[3,23];case 22:p.sent(),p.label=23;case 23:return function(e){return"object"==typeof e&&!0===e.webVitals}(this.config.autocapture)?(this.config.loggerProvider.debug("Adding web vitals plugin"),[4,this.add((h=null,v=Xt(),g=null==v?void 0:v.document,m=null==v?void 0:v.location,{name:"web-vitals-browser",type:"enrichment",setup:function(e,t){return gt(void 0,void 0,void 0,function(){var n,r,i;return mt(this,function(o){return n=function(t){var n;if(!t)return"";var r=t;try{r=decodeURI(t)}catch(i){null===(n=e.loggerProvider)||void 0===n||n.error("Malformed URI sequence: ",i)}return r},void 0===g||(r=n(null==m?void 0:m.href),i={"[Amplitude] Page Domain":(null==m?void 0:m.hostname)||"","[Amplitude] Page Location":r,"[Amplitude] Page Path":n(null==m?void 0:m.pathname),"[Amplitude] Page Title":"undefined"!=typeof document&&document.title||"","[Amplitude] Page URL":r.split("?")[0]},w(function(e){i["[Amplitude] LCP"]=ys(e)}),k(function(e){i["[Amplitude] FCP"]=ys(e)}),S(function(e){i["[Amplitude] INP"]=ys(e)}),x(function(e){i["[Amplitude] CLS"]=ys(e)}),_(function(e){i["[Amplitude] TTFB"]=ys(e)}),h=function(){"hidden"===g.visibilityState&&h&&(t.track("[Amplitude] Web Vitals",i),g.removeEventListener("visibilitychange",h),h=null)},g.addEventListener("visibilitychange",h)),[2]})})},execute:function(e){return gt(void 0,void 0,void 0,function(){return mt(this,function(t){return[2,e]})})},teardown:function(){return gt(void 0,void 0,void 0,function(){return mt(this,function(e){return h&&(null==g||g.removeEventListener("visibilitychange",h)),[2]})})}})).promise]):[3,25];case 24:p.sent(),p.label=25;case 25:return this.initializing=!1,[4,this.runQueuedFunctions("dispatchQ")];case 26:return p.sent(),d.eventBridge.setEventReceiver(function(e){f.track(e.eventType,e.eventProperties)}),[2]}var h,v,g,m,y,b})})},t.prototype.getUserId=function(){var e;return null===(e=this.config)||void 0===e?void 0:e.userId},t.prototype.setUserId=function(e){this.config?(this.config.loggerProvider.debug("function setUserId: ",e),e===this.config.userId&&void 0!==e||(this.config.userId=e,this.timeline.onIdentityChanged({userId:e}),function(e,t){An(t).identityStore.editIdentity().setUserId(e).commit()}(e,this.config.instanceName))):this.q.push(this.setUserId.bind(this,e))},t.prototype.getDeviceId=function(){var e;return null===(e=this.config)||void 0===e?void 0:e.deviceId},t.prototype.setDeviceId=function(e){this.config?(this.config.loggerProvider.debug("function setDeviceId: ",e),e!==this.config.deviceId&&(this.config.deviceId=e,this.timeline.onIdentityChanged({deviceId:e}),function(e,t){An(t).identityStore.editIdentity().setDeviceId(e).commit()}(e,this.config.instanceName))):this.q.push(this.setDeviceId.bind(this,e))},t.prototype.reset=function(){this.setDeviceId(en()),this.setUserId(void 0)},t.prototype.getIdentity=function(){var e,t;return{deviceId:null===(e=this.config)||void 0===e?void 0:e.deviceId,userId:null===(t=this.config)||void 0===t?void 0:t.userId,userProperties:this.userProperties}},t.prototype.getOptOut=function(){var e;return null===(e=this.config)||void 0===e?void 0:e.optOut},t.prototype.getSessionId=function(){var e;return null===(e=this.config)||void 0===e?void 0:e.sessionId},t.prototype.setSessionId=function(e){var t,n=[];if(!this.config)return this.q.push(this.setSessionId.bind(this,e)),rn(Promise.resolve());if(e===this.config.sessionId)return rn(Promise.resolve());this.config.loggerProvider.debug("function setSessionId: ",e);var r=this.getSessionId();r!==e&&this.timeline.onSessionIdChanged(e);var i=this.config.lastEventTime,o=null!==(t=this.config.lastEventId)&&void 0!==t?t:-1;this.config.sessionId=e,this.config.lastEventTime=void 0,this.config.pageCounter=0,Tr(this.config.defaultTracking)&&(r&&i&&n.push(this.track(Xr,void 0,{device_id:this.previousSessionDeviceId,event_id:++o,session_id:r,time:i+1,user_id:this.previousSessionUserId}).promise),this.config.lastEventTime=this.config.sessionId);var a=this.trackCampaignEventIfNeeded(++o,n);return Tr(this.config.defaultTracking)&&n.push(this.track(Jr,void 0,{event_id:a?++o:o,session_id:this.config.sessionId,time:this.config.lastEventTime}).promise),this.previousSessionDeviceId=this.config.deviceId,this.previousSessionUserId=this.config.userId,rn(Promise.all(n))},t.prototype.extendSession=function(){this.config?this.config.lastEventTime=
11Date.now():this.q.push(this.extendSession.bind(this))},t.prototype.setTransport=function(e){this.config?this.config.transportProvider=di(e):this.q.push(this.setTransport.bind(this,e))},t.prototype.identify=function(t,n){if(Dr(t)){var r=t._q;t._q=[],t=Nr(new Wt,r)}return(null==n?void 0:n.user_id)&&this.setUserId(n.user_id),(null==n?void 0:n.device_id)&&this.setDeviceId(n.device_id),e.prototype.identify.call(this,t,n)},t.prototype.groupIdentify=function(t,n,r,i){if(Dr(r)){var o=r._q;r._q=[],r=Nr(new Wt,o)}return e.prototype.groupIdentify.call(this,t,n,r,i)},t.prototype.revenue=function(t,n){if(Dr(t)){var r=t._q;t._q=[],t=Nr(new dn,r)}return e.prototype.revenue.call(this,t,n)},t.prototype.trackCampaignEventIfNeeded=function(e,t){if(!this.webAttribution||!this.webAttribution.shouldTrackNewCampaign)return!1;var n=this.webAttribution.generateCampaignEvent(e);return t?t.push(this.track(n).promise):this.track(n),this.config.loggerProvider.log("Tracking attribution."),!0},t.prototype.process=function(t){return gt(this,void 0,void 0,function(){var n,r,i;return mt(this,function(o){return n=Date.now(),r=Ln(this.config.sessionTimeout,this.config.lastEventTime),i=this.webAttribution&&this.webAttribution.shouldSetSessionIdOnNewCampaign(),t.event_type===Jr||t.event_type===Xr||t.session_id&&t.session_id!==this.getSessionId()||(r||i?(this.setSessionId(n),i&&this.config.loggerProvider.log("Created a new session for new campaign.")):r||this.trackCampaignEventIfNeeded()),t.event_type===ft.IDENTIFY&&t.user_properties&&(this.userProperties=this.getOperationAppliedUserProperties(t.user_properties)),[2,e.prototype.process.call(this,t)]})})},t.prototype.logBrowserOptions=function(e){try{var t=ht(ht({},e),{apiKey:e.apiKey.substring(0,10)+"********"});this.config.loggerProvider.debug("Initialized Amplitude with BrowserConfig:",JSON.stringify(t))}catch(n){this.config.loggerProvider.error("Error logging browser config",n)}},t}(on),_s=function(){var e=new xs;return{init:qn(e.init.bind(e),"init",Mn(e),Un(e,["config"])),add:qn(e.add.bind(e),"add",Mn(e),Un(e,["config.apiKey","timeline.plugins"])),remove:qn(e.remove.bind(e),"remove",Mn(e),Un(e,["config.apiKey","timeline.plugins"])),track:qn(e.track.bind(e),"track",Mn(e),Un(e,["config.apiKey","timeline.queue.length"])),logEvent:qn(e.logEvent.bind(e),"logEvent",Mn(e),Un(e,["config.apiKey","timeline.queue.length"])),identify:qn(e.identify.bind(e),"identify",Mn(e),Un(e,["config.apiKey","timeline.queue.length"])),groupIdentify:qn(e.groupIdentify.bind(e),"groupIdentify",Mn(e),Un(e,["config.apiKey","timeline.queue.length"])),setGroup:qn(e.setGroup.bind(e),"setGroup",Mn(e),Un(e,["config.apiKey","timeline.queue.length"])),revenue:qn(e.revenue.bind(e),"revenue",Mn(e),Un(e,["config.apiKey","timeline.queue.length"])),flush:qn(e.flush.bind(e),"flush",Mn(e),Un(e,["config.apiKey","timeline.queue.length"])),getUserId:qn(e.getUserId.bind(e),"getUserId",Mn(e),Un(e,["config","config.userId"])),setUserId:qn(e.setUserId.bind(e),"setUserId",Mn(e),Un(e,["config","config.userId"])),getDeviceId:qn(e.getDeviceId.bind(e),"getDeviceId",Mn(e),Un(e,["config","config.deviceId"])),setDeviceId:qn(e.setDeviceId.bind(e),"setDeviceId",Mn(e),Un(e,["config","config.deviceId"])),reset:qn(e.reset.bind(e),"reset",Mn(e),Un(e,["config","config.userId","config.deviceId"])),getSessionId:qn(e.getSessionId.bind(e),"getSessionId",Mn(e),Un(e,["config"])),setSessionId:qn(e.setSessionId.bind(e),"setSessionId",Mn(e),Un(e,["config"])),extendSession:qn(e.extendSession.bind(e),"extendSession",Mn(e),Un(e,["config"])),setOptOut:qn(e.setOptOut.bind(e),"setOptOut",Mn(e),Un(e,["config"])),setTransport:qn(e.setTransport.bind(e),"setTransport",Mn(e),Un(e,["config"])),getIdentity:qn(e.getIdentity.bind(e),"getIdentity",Mn(e),Un(e,["config"])),getOptOut:qn(e.getOptOut.bind(e),"getOptOut",Mn(e),Un(e,["config"]))}};const Es=_s(),Cs=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_ACTION_CLICK_ALLOWLIST:Xn,DEFAULT_CSS_SELECTOR_ALLOWLIST:Yn,DEFAULT_DATA_ATTRIBUTE_PREFIX:Jn,get IdentifyOperation(){return ct},get LogLevel(){return Gt},OfflineDisabled:null,get RevenueProperty(){return ln},get ServerZone(){return Cn},get SpecialEventType(){return ft}},Symbol.toStringTag,{value:"Module"}));var Ts=Es.add,Ps=Es.extendSession,Is=Es.flush,js=Es.getDeviceId,As=Es.getIdentity,Os=Es.getOptOut,Ls=Es.getSessionId,Rs=Es.getUserId,Ns=Es.groupIdentify,Ds=Es.identify,zs=Es.init,Ms=Es.logEvent,Fs=Es.remove,Us=Es.reset,qs=Es.revenue,Vs=Es.setDeviceId,Bs=Es.setGroup,$s=Es.setOptOut,Ws=Es.setSessionId,Hs=Es.setTransport,Ks=Es.setUserId,Qs=Es.track;const Gs=Object.freeze(Object.defineProperty({__proto__:null,AmplitudeBrowser:xs,Identify:Wt,Revenue:dn,Types:Cs,add:Ts,createInstance:_s,extendSession:Ps,flush:Is,getDeviceId:js,getIdentity:As,getOptOut:Os,getSessionId:Ls,getUserId:Rs,groupIdentify:Ns,identify:Ds,init:zs,logEvent:Ms,remove:Fs,reset:Us,revenue:qs,runQueuedFunctions:function(e,t){Nr(e,t)},setDeviceId:Vs,setGroup:Bs,setOptOut:$s,setSessionId:Ws,setTransport:Hs,setUserId:Ks,track:Qs},Symbol.toStringTag,{value:"Module"}));var Ys,Js,Xs="[Amplitude]",Zs="".concat(Xs," Session Replay ID"),el=Cn.US,tl={enabled:!0},nl="".concat(Xs," Session Replay Debug"),rl="amp-mask";(Js=Ys||(Ys={})).GET_SR_PROPS="get-sr-props",Js.DEBUG_INFO="debug-info",Js.FETCH_REQUEST="fetch-request",Js.METADATA="metadata",Js.TARGETING_DECISION="targeting-decision";var il=function(){function e(e){this.logger=e,this.log=this.getSafeMethod("log"),this.warn=this.getSafeMethod("warn"),this.error=this.getSafeMethod("error"),this.debug=this.getSafeMethod("debug")}return e.prototype.getSafeMethod=function(e){var t;if(!this.logger)return function(){};var n=this.logger[e];return"function"==typeof n?(null!==(t=n.__rrweb_original__)&&void 0!==t?t:n).bind(this.logger):function(){}},e.prototype.enable=function(e){this.logger.enable(e)},e.prototype.disable=function(){this.logger.disable()},e}(),ol="medium";var al,sl,ll=function(e,t,n){switch(t){case"light":if("input"!==e)return!0;var r=n?function(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?t.toLowerCase():null}(n):"";return!!r&&(!!["password","hidden","email","tel"].includes(r)||!!n.autocomplete.startsWith("cc-"));case"medium":case"conservative":return!0;
11default:return ll(e,ol,n)}},ul=function(e,t){return function(n,r){return function(e,t,n){var r,i,o;if(void 0===t&&(t={defaultMaskLevel:ol}),n){if(n.closest("."+rl))return!0;if((null!==(r=t.maskSelector)&&void 0!==r?r:[]).some(function(e){return n.closest(e)}))return!0;if(n.closest(".amp-unmask"))return!1;if((null!==(i=t.unmaskSelector)&&void 0!==i?i:[]).some(function(e){return n.closest(e)}))return!1}return ll(e,null!==(o=t.defaultMaskLevel)&&void 0!==o?o:ol,n)}(e,t,r)?n.replace(/[^\s]/g,"*"):n}},cl=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t|=0}return t},dl=function(e,t){return t||(e===Cn.STAGING?"https://api-sr.stag2.amplitude.com/sessions/v2/track":e===Cn.EU?"https://api-sr.eu.amplitude.com/sessions/v2/track":"https://api-sr.amplitude.com/sessions/v2/track")},fl=function(e){var t=e.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,".");return new RegExp("^".concat(t,"$"))},pl=function(e,t){var n,r;try{for(var i=yt(t),o=i.next();!o.done;o=i.next()){var a=o.value,s=fl(a.selector);if(s.test(e))return e.replace(s,a.replacement)}}catch(l){n={error:l}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return e},hl=function(){return gt(void 0,void 0,void 0,function(){var e,t,n,r,i,o,a;return mt(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),(e=Xt())?[4,e.navigator.storage.estimate()]:[3,2];case 1:return t=s.sent(),n=t.usage,r=t.quota,i=t.usageDetails,o=n?Math.round(n/1024):0,a=n&&r?Math.round(1e3*(n/r+Number.EPSILON))/1e3:0,[2,{totalStorageSize:o,percentOfQuota:a,usageDetails:JSON.stringify(i)}];case 2:return[3,4];case 3:return s.sent(),[3,4];case 4:return[2,{totalStorageSize:0,percentOfQuota:0,usageDetails:""}]}})})},vl=function(e){var t=ht({},e),n=t.apiKey;return t.apiKey="****".concat(n.substring(n.length-4)),t},gl=function(){return{flushMaxRetries:2,logLevel:Gt.Warn,loggerProvider:new cn,transportProvider:new Gn}},ml=function(e){function t(t,n){var r,i,o,a,s,l=this,u=gl();return(l=e.call(this,ht(ht({transportProvider:u.transportProvider,loggerProvider:new il(n.loggerProvider||u.loggerProvider)},n),{apiKey:t}))||this).flushMaxRetries=void 0!==n.flushMaxRetries&&n.flushMaxRetries<=u.flushMaxRetries?n.flushMaxRetries:u.flushMaxRetries,l.apiKey=t,l.sampleRate=n.sampleRate||0,l.serverZone=n.serverZone||el,l.configServerUrl=n.configServerUrl,l.trackServerUrl=n.trackServerUrl,l.shouldInlineStylesheet=n.shouldInlineStylesheet,l.version=n.version,l.performanceConfig=n.performanceConfig||tl,l.storeType=null!==(r=n.storeType)&&void 0!==r?r:"idb",l.applyBackgroundColorToBlockedElements=null!==(i=n.applyBackgroundColorToBlockedElements)&&void 0!==i&&i,l.enableUrlChangePolling=null!==(o=n.enableUrlChangePolling)&&void 0!==o&&o,l.urlChangePollingInterval=null!==(a=n.urlChangePollingInterval)&&void 0!==a?a:1e3,l.captureDocumentTitle=null!==(s=n.captureDocumentTitle)&&void 0!==s&&s,n.privacyConfig&&(l.privacyConfig=n.privacyConfig),n.interactionConfig&&(l.interactionConfig=n.interactionConfig,l.interactionConfig.ugcFilterRules&&function(e){if(!e.every(function(e){return"string"==typeof e.selector&&"string"==typeof e.replacement}))throw new Error("ugcFilterRules must be an array of objects with selector and replacement properties");if(!e.every(function(e){return"string"==typeof(t=e.selector)&&""!==t.trim()&&!!/^\/|^https?:\/\/[^\s]+$/.test(t);var t}))throw new Error("ugcFilterRules must be an array of objects with valid globs")}(l.interactionConfig.ugcFilterRules)),n.debugMode&&(l.debugMode=n.debugMode),n.experimental&&(l.experimental=n.experimental),n.omitElementTags&&(l.omitElementTags=n.omitElementTags),l}return ut(t,e),t}(pn),yl=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(yl||{}),bl=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(bl||{});!function(e){e.US="US",e.EU="EU",e.STAGING="STAGING"}(al||(al={})),function(e){e.Unknown="unknown",e.Skipped="skipped",e.Success="success",e.RateLimit="rate_limit",e.PayloadTooLarge="payload_too_large",e.Invalid="invalid",e.Failed="failed",e.Timeout="Timeout",e.SystemError="SystemError"}(sl||(sl={}));var wl=function(){function e(){}return e.prototype.send=function(e,t){return Promise.resolve(null)},e.prototype.buildResponse=function(e){var t,n,r,i,o,a,s,l,u,c,d,f,p,h,v,g,m,y,b,w,k,S;if("object"!=typeof e)return null;var x=e.code||0,_=this.buildStatus(x);switch(_){case sl.Success:return{status:_,statusCode:x,body:{eventsIngested:null!==(t=e.events_ingested)&&void 0!==t?t:0,payloadSizeBytes:null!==(n=e.payload_size_bytes)&&void 0!==n?n:0,serverUploadTime:null!==(r=e.server_upload_time)&&void 0!==r?r:0}};case sl.Invalid:return{status:_,statusCode:x,body:{error:null!==(i=e.error)&&void 0!==i?i:"",missingField:null!==(o=e.missing_field)&&void 0!==o?o:"",eventsWithInvalidFields:null!==(a=e.events_with_invali
vendor: 4,298 bytes, line 11
11d_fields)&&void 0!==a?a:{},eventsWithMissingFields:null!==(s=e.events_with_missing_fields)&&void 0!==s?s:{},eventsWithInvalidIdLengths:null!==(l=e.events_with_invalid_id_lengths)&&void 0!==l?l:{},epsThreshold:null!==(u=e.eps_threshold)&&void 0!==u?u:0,exceededDailyQuotaDevices:null!==(c=e.exceeded_daily_quota_devices)&&void 0!==c?c:{},silencedDevices:null!==(d=e.silenced_devices)&&void 0!==d?d:[],silencedEvents:null!==(f=e.silenced_events)&&void 0!==f?f:[],throttledDevices:null!==(p=e.throttled_devices)&&void 0!==p?p:{},throttledEvents:null!==(h=e.throttled_events)&&void 0!==h?h:[]}};case sl.PayloadTooLarge:return{status:_,statusCode:x,body:{error:null!==(v=e.error)&&void 0!==v?v:""}};case sl.RateLimit:return{status:_,statusCode:x,body:{error:null!==(g=e.error)&&void 0!==g?g:"",epsThreshold:null!==(m=e.eps_threshold)&&void 0!==m?m:0,throttledDevices:null!==(y=e.throttled_devices)&&void 0!==y?y:{},throttledUsers:null!==(b=e.throttled_users)&&void 0!==b?b:{},exceededDailyQuotaDevices:null!==(w=e.exceeded_daily_quota_devices)&&void 0!==w?w:{},exceededDailyQuotaUsers:null!==(k=e.exceeded_daily_quota_users)&&void 0!==k?k:{},throttledEvents:null!==(S=e.throttled_events)&&void 0!==S?S:[]}};case sl.Timeout:default:return{status:_,statusCode:x}}},e.prototype.buildStatus=function(e){return e>=200&&e<300?sl.Success:429===e?sl.RateLimit:413===e?sl.PayloadTooLarge:408===e?sl.Timeout:e>=400&&e<500?sl.Invalid:e>=500?sl.Failed:sl.Unknown},e}(),kl="Remote config fetch rejected due to timeout after 5 seconds",Sl="Unexpected error occurred",xl=function(){function e(e){var t=e.localConfig,n=e.configKeys,r=this;this.retryTimeout=1e3,this.attempts=0,this.sessionTargetingMatch=!1,this.metrics={},this.getRemoteNamespaceConfig=function(e,t){return gt(r,void 0,void 0,function(){var n,r,i;return mt(this,function(o){switch(o.label){case 0:return n=Date.now(),[4,this.fetchWithTimeout(t)];case 1:return(r=o.sent())&&(i=r.configs&&r.configs[e])?(this.metrics.fetchTimeAPISuccess=Date.now()-n,[2,i]):(this.metrics.fetchTimeAPIFail=Date.now()-n,[2,void 0])}})})},this.getRemoteConfig=function(e,t,n){return gt(r,void 0,void 0,function(){var r;return mt(this,function(i){switch(i.label){case 0:return[4,this.getRemoteNamespaceConfig(e,n)];case 1:return[2,null==(r=i.sent())?void 0:r[t]]}})})},this.fetchWithTimeout=function(e){return gt(r,void 0,void 0,function(){var t,n,r;return mt(this,function(i){switch(i.label){case 0:return t=new AbortController,n=setTimeout(function(){return t.abort()},5e3),[4,this.fetchRemoteConfig(t.signal,e)];case 1:return r=i.sent(),clearTimeout(n),[2,r]}})})},this.fetchRemoteConfig=function(e,t){return gt(r,void 0,void 0,function(){var n,r,i,o,a,s,l,u,c,d,f,p;return mt(this,function(h){switch(h.label){case 0:if(t===this.lastFetchedSessionId&&this.attempts>=this.localConfig.flushMaxRetries)return[2,this.completeRequest({err:"Remote config fetch rejected due to exceeded retry count"})];if(e.aborted)return[2,this.completeRequest({err:kl})];t!==this.lastFetchedSessionId&&(this.lastFetchedSessionId=t,this.attempts=0),h.label=1;case 1:h.trys.push([1,3,,4]),n=new URLSearchParams({api_key:this.localConfig.apiKey});try{for(r=yt(this.configKeys),i=r.next();!i.done;i=r.next())o=i.value,n.append("config_keys",o)}catch(v){d={error:v}}finally{try{i&&!i.done&&(f=r.return)&&f.call(r)}finally{if(d)throw d.error}}return t&&n.set("session_id",String(t)),a={headers:{Accept:"*/*"},method:"GET"},s="".concat(this.getServerUrl(),"?").concat(n.toString()),this.attempts+=1,[4,fetch(s,ht(ht({},a),{signal:e}))];case 2:if(null===(l=h.sent()))return[2,this.completeRequest({err:Sl})];switch((new wl).buildStatus(l.status)){case sl.Success:return this.attempts=0,[2,this.parseAndStoreConfig(l)];case sl.Failed:return[2,this.retryFetch(e,t)];default:return[2,this.completeRequest({err:"Network error occurred, remote config fetch failed"})]}case 3:return u=h.sent(),c=u,e.aborted?[2,this.completeRequest({err:kl})]:[2,this.completeRequest({err:null!==(p=c.message)&&void 0!==p?p:Sl})];case 4:return[2]}})})},this.retryFetch=function(e,t){return gt(r,void 0,void 0,function(){var n=this;return mt(this,function(r){switch(r.label){case 0:return[4,new Promise(function(e){return setTimeout(e,n.attempts*n.retryTimeout)})];case 1:return r.sent(),[2,this.fetchRemoteConfig(e,t)]}})})}
11,this.parseAndStoreConfig=function(e){return gt(r,void 0,void 0,function(){var t;return mt(this,function(n){switch(n.label){case 0:return[4,e.json()];case 1:return t=n.sent(),this.completeRequest({success:"Remote config successfully fetched"}),[2,t]}})})},this.localConfig=t,this.configKeys=n}return e.prototype.getServerUrl=function(){return this.localConfig.configServerUrl?this.localConfig.configServerUrl:this.localConfig.serverZone===al.STAGING?"https://sr-client-cfg.stag2.amplitude.com/config":this.localConfig.serverZone===al.EU?"https://sr-client-cfg.eu.amplitude.com/config":"https://sr-client-cfg.amplitude.com/config"},e.prototype.completeRequest=function(e){var t=e.err,n=e.success;if(t)throw new Error(t);n&&this.localConfig.loggerProvider.log(n)},e}(),_l=function(e){var t=e.localConfig,n=e.configKeys;return gt(void 0,void 0,void 0,function(){return mt(this,function(e){return[2,new xl({localConfig:t,configKeys:n})]})})},El=function(){function e(e,t){this.localConfig=t,this.remoteConfigFetch=e}return e.prototype.generateJoinedConfig=function(e){var t,n,r,i;return gt(this,void 0,void 0,function(){var o,a,s,l,u,c,d,f,p,h,v,g,m,y,b,w,k,S,x,_,E,C,T;return mt(this,function(P){switch(P.label){case 0:(o=ht({},this.localConfig)).optOut=this.localConfig.optOut,o.captureEnabled=!0,P.label=1;case 1:return P.trys.push([1,3,,4]),[4,this.remoteConfigFetch.getRemoteNamespaceConfig("sessionReplay",e)];case 2:return(s=P.sent())&&(l=s.sr_sampling_config,u=s.sr_privacy_config,c=s.sr_targeting_config,d=null===(t=o.interactionConfig)||void 0===t?void 0:t.ugcFilterRules,o.interactionConfig=s.sr_interaction_config,o.interactionConfig&&d&&(o.interactionConfig.ugcFilterRules=d),o.loggingConfig=s.sr_logging_config,(l||u||c)&&(a={},l&&(a.sr_sampling_config=l),u&&(a.sr_privacy_config=u),c&&(a.sr_targeting_config=c))),[3,4];case 3:return f=P.sent(),p=f,this.localConfig.loggerProvider.warn(p.message),o.captureEnabled=!1,[3,4];case 4:if(!a)return[2,{localConfig:this.localConfig,joinedConfig:o,remoteConfig:a}];if(h=a.sr_sampling_config,v=a.sr_privacy_config,g=a.sr_targeting_config,h&&Object.keys(h).length>0?(Object.prototype.hasOwnProperty.call(h,"capture_enabled")?o.captureEnabled=h.capture_enabled:o.captureEnabled=!1,Object.prototype.hasOwnProperty.call(h,"sample_rate")&&(o.sampleRate=h.sample_rate)):(o.captureEnabled=!0,this.localConfig.loggerProvider.debug("Remote config successfully fetched, but no values set for project, Session Replay capture enabled.")),v){m=null!==(n=o.privacyConfig)&&void 0!==n?n:{},y={defaultMaskLevel:null!==(i=null!==(r=v.defaultMaskLevel)&&void 0!==r?r:m.defaultMaskLevel)&&void 0!==i?i:"medium",blockSelector:[],maskSelector:[],unmaskSelector:[]},w=ht(ht({},(b=function(e){var t,n,r,i,o,a,s,l,u,c={};"string"==typeof e.blockSelector&&(e.blockSelector=[e.blockSelector]);try{for(var d=yt(null!==(s=e.blockSelector)&&void 0!==s?s:[]),f=d.next();!f.done;f=d.next()){c[f.value]="block"}}catch(m){t={error:m}}finally{try{f&&!f.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}try{for(var p=yt(null!==(l=e.maskSelector)&&void 0!==l?l:[]),h=p.next();!h.done;h=p.next()){c[h.value]="mask"}}catch(y){r={error:y}}finally{try{h&&!h.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}try{for(var v=yt(null!==(u=e.unmaskSelector)&&void 0!==u?u:[]),g=v.next();!g.done;g=v.next()){c[g.value]="unmask"}}catch(b){o={error:b}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(o)throw o.error}}return c})(m)),b(v));try{for(k=yt(Object.entries(w)),S=k.next();!S.done;S=k.next())x=bt(S.value,2),_=x[0],"mask"===(E=x[1])?y.maskSelector.push(_):"block"===E?y.blockSelector.push(_):"unmask"===E&&y.unmaskSelector.push(_)}catch(I){C={error:I}}finally{try{S&&!S.done&&(T=k.return)&&T.call(k)}finally{if(C)throw C.error}}o.privacyConfig=function(e,n){var r=document.createDocumentFragment(),i=function(e){if(void 0===e&&(e=[]),"string"==typeof e&&(e=[e]),0!==(e=e.filter(function(e){try{r.querySelector(e)}catch(t){return n.warn('[session-replay-browser] omitting selector "'.concat(e,'" because it is invalid')),!1}return!0})).length)return e};return e.blockSelector=i(e.blockSelector),e.maskSelector=i(e.maskSelector),e.unmaskSelector=i(e.unmaskSelector),e}(y,this.localConfig.loggerProvider)}return g&&Object.keys(g).length>0&&(o.targetingConfig=g),this.localConfig.loggerProvider.debug(JSON.stringify({name:"session replay joined config",config:vl(o)},null,2)),[2,{localConfig:this.localConfig,joinedConfig:o,remoteConfig:a}]}})})},e}(),Cl=function(e,t){return gt(void 0,void 0,void 0,function(){var n,r;return mt(this,function(i){switch(i.label){case 0:return n=new ml(e,t),[4,_l({localConfig:n,configKeys:["sessionReplay"]})];case 1:return r=i.sent(),[2,new El(r,n)]}})})},Tl=Uint8Array,Pl=Uint16Array,Il=Uint32Array,jl=new Tl([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Al=new Tl([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ol=new Tl([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ll=function(e,t){for(var n=new Pl(31),r=0;r<31;++r)n[r]=t+=1<<e[r-1];var i=new Il(n[30]);for(r=1;r<30;++r)for(var o=n[r];o<n[r+1];++o)i[o]=o-n[r]<<5|r;return[n,i]},Rl=Ll(jl,2),Nl=Rl[0],Dl=Rl[1];Nl[28]=258,Dl[258]=28;
vendor: 4,641 bytes, line 11
11for(var zl=Ll(Al,0)[1],Ml=new Pl(32768),Fl=0;Fl<32768;++Fl){var Ul=(43690&Fl)>>>1|(21845&Fl)<<1;Ul=(61680&(Ul=(52428&Ul)>>>2|(13107&Ul)<<2))>>>4|(3855&Ul)<<4,Ml[Fl]=((65280&Ul)>>>8|(255&Ul)<<8)>>>1}var ql=function(e,t,n){for(var r=e.length,i=0,o=new Pl(t);i<r;++i)++o[e[i]-1];var a,s=new Pl(t);for(i=0;i<t;++i)s[i]=s[i-1]+o[i-1]<<1;if(n){a=new Pl(1<<t);var l=15-t;for(i=0;i<r;++i)if(e[i])for(var u=i<<4|e[i],c=t-e[i],d=s[e[i]-1]++<<c,f=d|(1<<c)-1;d<=f;++d)a[Ml[d]>>>l]=u}else for(a=new Pl(r),i=0;i<r;++i)a[i]=Ml[s[e[i]-1]++]>>>15-e[i];return a},Vl=new Tl(288);for(Fl=0;Fl<144;++Fl)Vl[Fl]=8;for(Fl=144;Fl<256;++Fl)Vl[Fl]=9;for(Fl=256;Fl<280;++Fl)Vl[Fl]=7;for(Fl=280;Fl<288;++Fl)Vl[Fl]=8;var Bl=new Tl(32);for(Fl=0;Fl<32;++Fl)Bl[Fl]=5;var $l=ql(Vl,9,0),Wl=ql(Bl,5,0),Hl=function(e){return(e/8|0)+(7&e&&1)},Kl=function(e,t,n){(null==n||n>e.length)&&(n=e.length);var r=new(e instanceof Pl?Pl:e instanceof Il?Il:Tl)(n-t);return r.set(e.subarray(t,n)),r},Ql=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8},Gl=function(e,t,n){n<<=7&t;var r=t/8|0;e[r]|=n,e[r+1]|=n>>>8,e[r+2]|=n>>>16},Yl=function(e,t){for(var n=[],r=0;r<e.length;++r)e[r]&&n.push({s:r,f:e[r]});var i=n.length,o=n.slice();if(!i)return[new Tl(0),0];if(1==i){var a=new Tl(n[0].s+1);return a[n[0].s]=1,[a,1]}n.sort(function(e,t){return e.f-t.f}),n.push({s:-1,f:25001});var s=n[0],l=n[1],u=0,c=1,d=2;for(n[0]={s:-1,f:s.f+l.f,l:s,r:l};c!=i-1;)s=n[n[u].f<n[d].f?u++:d++],l=n[u!=c&&n[u].f<n[d].f?u++:d++],n[c++]={s:-1,f:s.f+l.f,l:s,r:l};var f=o[0].s;for(r=1;r<i;++r)o[r].s>f&&(f=o[r].s);var p=new Pl(f+1),h=Jl(n[c-1],p,0);if(h>t){r=0;var v=0,g=h-t,m=1<<g;for(o.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});r<i;++r){var y=o[r].s;if(!(p[y]>t))break;v+=m-(1<<h-p[y]),p[y]=t}for(v>>>=g;v>0;){var b=o[r].s;p[b]<t?v-=1<<t-p[b]++-1:++r}for(;r>=0&&v;--r){var w=o[r].s;p[w]==t&&(--p[w],++v)}h=t}return[new Tl(p),h]},Jl=function(e,t,n){return-1==e.s?Math.max(Jl(e.l,t,n+1),Jl(e.r,t,n+1)):t[e.s]=n},Xl=function(e){for(var t=e.length;t&&!e[--t];);for(var n=new Pl(++t),r=0,i=e[0],o=1,a=function(e){n[r++]=e},s=1;s<=t;++s)if(e[s]==i&&s!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)a(32754);o>2&&(a(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(a(i),--o;o>6;o-=6)a(8304);o>2&&(a(o-3<<5|8208),o=0)}for(;o--;)a(i);o=1,i=e[s]}return[n.subarray(0,r),t]},Zl=function(e,t){for(var n=0,r=0;r<t.length;++r)n+=e[r]*t[r];return n},eu=function(e,t,n){var r=n.length,i=Hl(t+2);e[i]=255&r,e[i+1]=r>>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o<r;++o)e[i+o+4]=n[o];return 8*(i+4+r)},tu=function(e,t,n,r,i,o,a,s,l,u,c){Ql(t,c++,n),++i[256];for(var d=Yl(i,15),f=d[0],p=d[1],h=Yl(o,15),v=h[0],g=h[1],m=Xl(f),y=m[0],b=m[1],w=Xl(v),k=w[0],S=w[1],x=new Pl(19),_=0;_<y.length;++_)x[31&y[_]]++;for(_=0;_<k.length;++_)x[31&k[_]]++;for(var E=Yl(x,7),C=E[0],T=E[1],P=19;P>4&&!C[Ol[P-1]];--P);var I,j,A,O,L=u+5<<3,R=Zl(i,Vl)+Zl(o,Bl)+a,N=Zl(i,f)+Zl(o,v)+a+14+3*P+Zl(x,C)+(2*x[16]+3*x[17]+7*x[18]);if(L<=R&&L<=N)return eu(t,c,e.subarray(l,l+u));if(Ql(t,c,1+(N<R)),c+=2,N<R){I=ql(f,p,0),j=f,A=ql(v,g,0),O=v;var D=ql(C,T,0);Ql(t,c,b-257),Ql(t,c+5,S-1),Ql(t,c+10,P-4),c+=14;for(_=0;_<P;++_)Ql(t,c+3*_,C[Ol[_]]);c+=3*P;for(var z=[y,k],M=0;M<2;++M){var F=z[M];for(_=0;_<F.length;++_){var U=31&F[_];Ql(t,c,D[U]),c+=C[U],U>15&&(Ql(t,c,F[_]>>>5&127),c+=F[_]>>>12)}}}else I=$l,j=Vl,A=Wl,O=Bl;for(_=0;_<s;++_)if(r[_]>255){U=r[_]>>>18&31;Gl(t,c,I[U+257]),c+=j[U+257],U>7&&(Ql(t,c,r[_]>>>23&31),c+=jl[U]);var q=31&r[_];Gl(t,c,A[q]),c+=O[q],q>3&&(Gl(t,c,r[_]>>>5&8191),c+=Al[q])}else Gl(t,c,I[r[_]]),c+=j[r[_]];return Gl(t,c,I[256]),c+j[256]},nu=new Il([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),ru=function(e,t,n,r,i){return function(e,t,n,r,i,o){var a=e.length,s=new Tl(r+a+5*(1+Math.floor(a/7e3))+i),l=s.subarray(r,s.length-i),u=0;if(!t||a<8)for(var c=0;c<=a;c+=65535){var d=c+65535;d<a?u=eu(l,u,e.subarray(c,d)):(l[c]=o,u=eu(l,u,e.subarray(c,a)))}else{for(var f=nu[t-1],p=f>>>13,h=8191&f,v=(1<<n)-1,g=new Pl(32768),m=new Pl(v+1),y=Math.ceil(n/3),b=2*y,w=function(t){return(e[t]^e[t+1]<<y^e[t+2]<<b)&v},k=new Il(25e3),S=new Pl(288),x=new Pl(32),_=0,E=0,C=(c=0,0),T=0,P=0;c<a;++c){var I=w(c),j=32767&c,A=m[I];if(g[j]=A,m[I]=j,T<=c){var O=a-c;if((_>7e3||C>24576)&&O>423){u=tu(e,l,0,k,S,x,E,C,P,c-P,u),C=_=E=0,P=c;for(var L=0;L<286;++L)S[L]=0;for(L=0;L<30;++L)x[L]=0}var R=2,N=0,D=h,z=j-A&32767;if(O>2&&I==w(c-z))for(var M=Math.min(p,O)-1,F=Math.min(32767,c),U=Math.min(258,O);z<=F&&--D&&j!=A;){if(e[c+R]==e[c+R-z]){for(var q=0;q<U&&e[c+q]==e[c+q-z];++q);if(q>R){if(R=q,N=z,q>M)break;var V=Math.min(z,q-2),B=0;for(L=0;L<V;++L){var $=c-z+L+32768&32767,W=$-g[$]+32768&32767;W>B&&(B=W,A=$)}}}
11z+=(j=A)-(A=g[j])+32768&32767}if(N){k[C++]=268435456|Dl[R]<<18|zl[N];var H=31&Dl[R],K=31&zl[N];E+=jl[H]+Al[K],++S[257+H],++x[K],T=c+R,++_}else k[C++]=e[c],++S[e[c]]}}u=tu(e,l,o,k,S,x,E,C,P,c-P,u)}return Kl(s,0,r+Hl(u)+i)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,n,r,!0)};function iu(e,t){void 0===t&&(t={});var n=function(){var e=1,t=0;return{p:function(n){for(var r=e,i=t,o=n.length,a=0;a!=o;){for(var s=Math.min(a+5552,o);a<s;++a)i+=r+=n[a];r%=65521,i%=65521}e=r,t=i},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();n.p(e);var r,i,o,a=ru(e,t,2,4);return r=a,i=t.level,o=0==i?0:i<6?1:9==i?3:2,r[0]=120,r[1]=o<<6|(o?32-2*o:1),function(e,t,n){for(;n;++t)e[t]=n,n>>>=8}(a,a.length-4,n.d()),a}const ou=e=>{const t={...e,v:"v1"};return function(e){for(var t="",n=0;n<e.length;){var r=e[n++];t+=String.fromCharCode(r)}return t}(iu(function(e,t){var n=e.length;if("undefined"!=typeof TextEncoder)return(new TextEncoder).encode(e);for(var r=new Tl(e.length+(e.length>>>1)),i=0,o=function(e){r[i++]=e},a=0;a<n;++a){if(i+5>r.length){var s=new Tl(i+8+(n-a<<1));s.set(r),r=s}var l=e.charCodeAt(a);l<128||t?o(l):l<2048?(o(192|l>>>6),o(128|63&l)):l>55295&&l<57344?(o(240|(l=65536+(1047552&l)|1023&e.charCodeAt(++a))>>>18),o(128|l>>>12&63),o(128|l>>>6&63),o(128|63&l)):(o(224|l>>>12),o(128|l>>>6&63),o(128|63&l))}return Kl(r,0,i)}(JSON.stringify(t))))};var au=function(){function e(e,t,n,r){var i,o,a,s=this;this.taskQueue=[],this.isProcessing=!1,this.compressEvent=function(e){var t=ou(e);return JSON.stringify(t)},this.addCompressedEventToManager=function(e,t){s.eventsManager&&s.deviceId&&s.eventsManager.addEvent({event:{type:"replay",data:e},sessionId:t,deviceId:s.deviceId})},this.addCompressedEvent=function(e,t){if(s.worker)s.worker.postMessage({event:e,sessionId:t});else{var n=s.compressEvent(e);s.addCompressedEventToManager(n,t)}},this.terminate=function(){var e;null===(e=s.worker)||void 0===e||e.terminate()};var l=Xt();this.canUseIdleCallback=l&&"requestIdleCallback"in l,this.eventsManager=e,this.config=t,this.deviceId=n,this.timeout=(null===(i=t.performanceConfig)||void 0===i?void 0:i.timeout)||2e3;var u=null!==(o={}.COMPRESSION_WEBWORKER_BODY)&&void 0!==o?o:r;if((null===(a=this.config.experimental)||void 0===a?void 0:a.useWebWorker)&&l&&l.Worker&&u){t.loggerProvider.log("[Experimental] Enabling web worker for compression");var c=new Worker(URL.createObjectURL(new Blob([u],{type:"application/javascript"})));c.onerror=function(e){t.loggerProvider.error(e)},c.onmessage=function(e){var t=e.data,n=t.compressedEvent,r=t.sessionId;s.addCompressedEventToManager(n,r)},this.worker=c}}return e.prototype.scheduleIdleProcessing=function(){var e=this;this.isProcessing||(this.isProcessing=!0,requestIdleCallback(function(t){e.processQueue(t)},{timeout:this.timeout}))},e.prototype.enqueueEvent=function(e,t){var n;this.canUseIdleCallback&&(null===(n=this.config.performanceConfig)||void 0===n?void 0:n.enabled)?(this.config.loggerProvider.debug("Enqueuing event for processing during idle time."),this.taskQueue.push({event:e,sessionId:t}),this.scheduleIdleProcessing()):(this.config.loggerProvider.debug("Processing event without idle callback."),this.addCompressedEvent(e,t))},e.prototype.processQueue=function(e){for(var t=this;this.taskQueue.length>0&&(e.timeRemaining()>0||e.didTimeout);){var n=this.taskQueue.shift();if(n){var r=n.event,i=n.sessionId;this.addCompressedEvent(r,i)}}this.taskQueue.length>0?requestIdleCallback(function(e){t.processQueue(e)},{timeout:this.timeout}):this.isProcessing=!1},e}(),su="Failed to store session replay events in IndexedDB",lu="1.28.7",uu=function(){function e(e){var t=e.trackServerUrl,n=e.loggerProvider,r=e.payloadBatcher;this.storageKey="",this.retryTimeout=1e3,this.scheduled=null,this.queue=[],this.loggerProvider=n,this.payloadBatcher=r||function(e){return e},this.trackServerUrl=t}return e.prototype.sendEventsList=function(e){this.addToQueue(ht(ht({},e),{attempts:0,timeout:0}))},e.prototype.addToQueue=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];t.filter(function(t){return t.attempts<(t.flushMaxRetries||0)?(t.attempts+=1,!0):(e.completeRequest({context:t,err:"Session replay event batch rejected due to exceeded retry count"}),!1)}
11).forEach(function(t){e.queue=e.queue.concat(t),0!==t.timeout?setTimeout(function(){t.timeout=0,e.schedule(0)},t.timeout):e.schedule(0)})},e.prototype.schedule=function(e){var t=this;this.scheduled||(this.scheduled=setTimeout(function(){t.flush(!0).then(function(){t.queue.length>0&&t.schedule(e)})},e))},e.prototype.flush=function(e){return void 0===e&&(e=!1),gt(this,void 0,void 0,function(){var t,n,r=this;return mt(this,function(i){switch(i.label){case 0:return t=[],n=[],this.queue.forEach(function(e){return 0===e.timeout?t.push(e):n.push(e)}),this.queue=n,this.scheduled&&(clearTimeout(this.scheduled),this.scheduled=null),[4,Promise.all(t.map(function(t){return r.send(t,e)}))];case 1:return i.sent(),[2]}})})},e.prototype.send=function(e,t){var n,r;return void 0===t&&(t=!0),gt(this,void 0,void 0,function(){var i,o,a,s,l,u,c,d,f,p,h,v,g;return mt(this,function(m){switch(m.label){case 0:if(!(i=e.apiKey))return[2,this.completeRequest({context:e,err:"Session replay event batch not sent due to missing api key"})];if(!(o=e.deviceId))return[2,this.completeRequest({context:e,err:"Session replay event batch not sent due to missing device ID"})];if(y=Xt(),a=(null==y?void 0:y.location)?y.location.href:"",s=lu,l=e.sampleRate,u=new URLSearchParams({device_id:o,session_id:"".concat(e.sessionId),type:"".concat(e.type)}),c="".concat((null===(n=e.version)||void 0===n?void 0:n.type)||"standalone","/").concat((null===(r=e.version)||void 0===r?void 0:r.version)||s),0===(d=this.payloadBatcher({version:1,events:e.events})).events.length)return this.completeRequest({context:e}),[2];m.label=1;case 1:return m.trys.push([1,3,,4]),f={headers:{"Content-Type":"application/json",Accept:"*/*",Authorization:"Bearer ".concat(i),"X-Client-Version":s,"X-Client-Library":c,"X-Client-Url":a.substring(0,1e3),"X-Client-Sample-Rate":"".concat(l)},body:JSON.stringify(d),method:"POST"},p="".concat(dl(e.serverZone,this.trackServerUrl),"?").concat(u.toString()),[4,fetch(p,f)];case 2:if(null===(h=m.sent()))return this.completeRequest({context:e,err:"Unexpected error occurred"}),[2];if(t)this.handleReponse(h.status,e);else{v="";try{v=JSON.stringify(h.body,null,2)}catch(b){}this.completeRequest({context:e,success:"".concat(h.status,": ").concat(v)})}return[3,4];case 3:return g=m.sent(),this.completeRequest({context:e,err:g}),[3,4];case 4:return[2]}var y})})},e.prototype.handleReponse=function(e,t){switch((new Qn).buildStatus(e)){case Ht.Success:this.handleSuccessResponse(t);break;case Ht.Failed:this.handleOtherResponse(t);break;default:this.completeRequest({context:t,err:"Network error occurred, event batch rejected"})}},e.prototype.handleSuccessResponse=function(e){var t=Math.round(new Blob(e.events).size/1024);this.completeRequest({context:e,success:"Session replay event batch tracked successfully for session id ".concat(e.sessionId,", size of events: ").concat(t," KB")})},e.prototype.handleOtherResponse=function(e){this.addToQueue(ht(ht({},e),{timeout:e.attempts*this.retryTimeout}))},e.prototype.completeRequest=function(e){var t=e.context,n=e.err,r=e.success;t.onComplete(),n?this.loggerProvider.warn(n):r&&this.loggerProvider.log(r)},e}();const cu=(e,t)=>t.some(t=>e instanceof t);let du,fu;const pu=new WeakMap,hu=new WeakMap,vu=new WeakMap;let gu={get(e,t,n){if(e instanceof IDBTransaction){if("done"===t)return pu.get(e);if("store"===t)return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return wu(e[t])},set:(e,t,n)=>(e[t]=n,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function mu(e){gu=e(gu)}function yu(e){return(fu||(fu=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(ku(this),t),wu(this.request)}:function(...t){return wu(e.apply(ku(this),t))}}function bu(e){return"function"==typeof e?yu(e):(e instanceof IDBTransaction&&function(e){if(pu.has(e))return;const t=new Promise((t,n)=>{const r=()=>{e.removeEventListener("complete",i),e.removeEventListener("error",o),e.removeEventListener("abort",o)},i=()=>{t(),r()},o=()=>{n(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",i),e.addEventListener("error",o),e.addEventListener("abort",o)});pu.set(e,t)}(e),cu(e,du||(du=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction]))?new Proxy(e,gu):e)}function wu(e){if(e instanceof IDBRequest)return function(e){const t=new Promise((t,n)=>{const r=()=>{e.removeEventListener("success",i),e.removeEventListener("error",o)},i=()=>{t(wu(e.result)),r()},o=()=>{n(e.error),r()};e.addEventListener("success",i),e.addEventListener("error",o)});return vu.set(t,e),t}(e);if(hu.has(e))return hu.get(e);const t=bu(e);return t!==e&&(hu.set(e,t),vu.set(t,e)),t}const ku=e=>vu.get(e);function Su(e,t,{blocked:n,upgrade:r,blocking:i,terminated:o}={}){const a=indexedDB.open(e,t),s=wu(a);return r&&a.addEventListener("upgradeneeded",e=>{r(wu(a.result),e.oldVersion,e.newVersion,wu(a.transaction),e)}),n&&a.addEventListener("blocked",e=>n(e.oldVersion,e.newVersion,e)),s.then(e=>{o&&e.addEventListener("close",()=>o()),i&&e.addEventListener("versionchange",e=>i(e.oldVersion,e.newVersion,e))}).catch(()=>{}),s}const xu=["get","getKey","getAll","getAllKeys","count"],_u=["put","add","delete","clear"],Eu=new Map;function Cu(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!=typeof t)return;if(Eu.get(t))return Eu.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,i=_u.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!i&&!xu.includes(n))return;const o=async function(e,...t){const o=this.transaction(e,i?"readwrite":"readonly");let a=o.store;
vendor: 6,469 bytes, line 11
11return r&&(a=a.index(t.shift())),(await Promise.all([a[n](...t),i&&o.done]))[0]};return Eu.set(t,o),o}mu(e=>({...e,get:(t,n,r)=>Cu(t,n)||e.get(t,n,r),has:(t,n)=>!!Cu(t,n)||e.has(t,n)}));const Tu=["continue","continuePrimaryKey","advance"],Pu={},Iu=new WeakMap,ju=new WeakMap,Au={get(e,t){if(!Tu.includes(t))return e[t];let n=Pu[t];return n||(n=Pu[t]=function(...e){Iu.set(this,ju.get(this)[t](...e))}),n}};async function*Ou(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;const n=new Proxy(t,Au);for(ju.set(n,t),vu.set(n,ku(t));t;)yield n,t=await(Iu.get(n)||t.continue()),Iu.delete(n)}function Lu(e,t){return t===Symbol.asyncIterator&&cu(e,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===t&&cu(e,[IDBIndex,IDBObjectStore])}mu(e=>({...e,get:(t,n,r)=>Lu(t,n)?Ou:e.get(t,n,r),has:(t,n)=>Lu(t,n)||e.has(t,n)}));var Ru,Nu,Du=function(){function e(e){var t,n,r,i=this;this.minInterval=500,this.maxInterval=1e4,this.maxPersistedEventsSize=1e6,this.interval=this.minInterval,this._timeAtLastSplit=Date.now(),this.shouldSplitEventsList=function(e,t){var n=i.getStringSize(t);return i.getEventsArraySize(e)+n>=i.maxPersistedEventsSize||!!(Date.now()-i.timeAtLastSplit>i.interval&&e.length)&&(i.interval=Math.min(i.maxInterval,i.interval+i.minInterval),i._timeAtLastSplit=Date.now(),!0)},this.loggerProvider=e.loggerProvider,this.minInterval=null!==(t=e.minInterval)&&void 0!==t?t:this.minInterval,this.maxInterval=null!==(n=e.maxInterval)&&void 0!==n?n:this.maxInterval,this.maxPersistedEventsSize=null!==(r=e.maxPersistedEventsSize)&&void 0!==r?r:this.maxPersistedEventsSize}return Object.defineProperty(e.prototype,"timeAtLastSplit",{get:function(){return this._timeAtLastSplit},enumerable:!1,configurable:!0}),e.prototype.getStringSize=function(e){return e.length},e.prototype.getEventsArraySize=function(e){var t,n,r=0;try{for(var i=yt(e),o=i.next();!o.done;o=i.next()){var a=o.value;r+=this.getStringSize(a)}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r+(2+Math.max(0,e.length-1)+2*e.length)},e}();(Nu=Ru||(Ru={})).RECORDING="recording",Nu.SENT="sent";var zu="sessionCurrentSequence",Mu="sequencesToSend",Fu=function(){var e=Xt();return new Promise(function(t,n){if(!e)return n(new Error("Global scope not found"));if(!e.indexedDB)return n(new Error("Session Replay: cannot find indexedDB"));try{var r=e.indexedDB.open("keyval-store");r.onupgradeneeded=function(){1===r.result.version&&(r.result.close(),r.transaction&&r.transaction.abort(),e.indexedDB.deleteDatabase("keyval-store"),t())},r.onsuccess=function(){t(r.result)},r.onerror=function(){n(r.error)}}catch(i){n(i)}})},Uu=function(e){return gt(void 0,void 0,void 0,function(){var t;return mt(this,function(n){switch(n.label){case 0:return e.length>0?(t=e.splice(0,10),[4,Promise.all(t)]):[3,2];case 1:return n.sent(),[3,0];case 2:return[2]}})})},qu=function(e){var t,n;return e.objectStoreNames.contains(zu)||(n=e.createObjectStore(zu,{keyPath:"sessionId"})),e.objectStoreNames.contains(Mu)||(t=e.createObjectStore(Mu,{keyPath:"sequenceId",autoIncrement:!0})).createIndex("sessionId","sessionId"),{sequencesStore:t,currentSequenceStore:n}},Vu=function(e){return gt(void 0,void 0,void 0,function(){return mt(this,function(t){switch(t.label){case 0:return[4,Su(e,1,{upgrade:qu})];case 1:return[2,t.sent()]}})})},Bu=function(e){function t(t){var n=e.call(this,t)||this;return n.getSequencesToSend=function(){return gt(n,void 0,void 0,function(){var e,t,n,r,i,o;return mt(this,function(a){switch(a.label){case 0:return a.trys.push([0,5,,6]),e=[],[4,this.db.transaction("sequencesToSend").store.openCursor()];case 1:t=a.sent(),a.label=2;case 2:return t?(n=t.value,r=n.sessionId,i=n.events,e.push({events:i,sequenceId:t.key,sessionId:r}),[4,t.continue()]):[3,4];case 3:return t=a.sent(),[3,2];case 4:return[2,e];case 5:return o=a.sent(),this.loggerProvider.warn("".concat(su,": ").concat(o)),[3,6];case 6:return[2,void 0]}})})},n.storeCurrentSequence=function(e){return gt(n,void 0,void 0,function(){var t,n,r;return mt(this,function(i){switch(i.label){case 0:return i.trys.push([0,4,,5]),[4,this.db.get(zu,e)];case 1:return(t=i.sent())?[4,this.db.put(Mu,{sessionId:e,events:t.events})]:[2,void 0];case 2:return n=i.sent(),[4,this.db.put(zu,{sessionId:e,events:[]})];case 3:return i.sent(),[2,ht(ht({},t),{sessionId:e,sequenceId:n})];case 4:return r=i.sent(),this.loggerProvider.warn("".concat(su,": ").concat(r)),[3,5];case 5:return[2,void 0]}})})},n.addEventToCurrentSequence=function(e,t){return gt(n,void 0,void 0,function(){var n,r,i,o,a,s;return mt(this,function(l){switch(l.label){case 0:return l.trys.push([0,10,,11]),[4,(n=this.db.transaction(zu,"readwrite")).store.get(e)];case 1:return(r=l.sent())?[3,3]:[4,n.store.put({sessionId:e,events:[t]})];case 2:return l.sent(),[2];case 3:return i=void 0,this.shouldSplitEventsList(r.events,t)?(i=r.events,[4,n.store.put({sessionId:e,events:[t]})]):[3,5];case 4:return l.sent(),[3,7];case 5:return o=r.events.concat(t),[4,n.store.put({sessionId:e,events:o})];case 6:l.sent(),l.label=7;case 7:return[4,n.done];case 8:return l.sent(),i?[4,this.storeSendingEvents(e,i)]:[2,void 0];case 9:return(a=l.sent())?[2,{events:i,sessionId:e,sequenceId:a}]:[2,void 0];case 10:return s=l.sent(),this.loggerProvider.warn("".concat(su,": ").concat(s)),[3,11];case 11:return[2,void 0]}})})},n.storeSendingEvents=function(e,t){return gt(n,void 0,void 0,function(){var n;return mt(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,this.db.put(Mu,{sessionId:e,events:t})];case 1:return[2,r.sent()];case 2:return n=r.sent(),this.loggerProvider.warn("".concat(su,": ").concat(n)),[3,3];case 3:return[2,void 0]}})})},n.cleanUpSessionEventsStore=function(e,t){return gt(n,void 0,void 0,function(){var e;return mt(this,function(n){switch(n.label){case 0:if(!t)return[2];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.db.delete(Mu,t)];case 2:return n.sent(),[3,4];case 3:return e=n.sent(),this.loggerProvider.warn("".concat(su,": ").concat(e)),[3,4];case 4:return[2]}})})},n.transitionFromKeyValStore=function(e){return gt(n,void 0,void 0,function(){var t,n,r,i,o,a,s,l=this;return mt(this,function(u){switch(u.label){case 0:return u.trys.push([0,6,,7]),[4,Fu()];case 1:if(!(t=u.sent()))return[2];n=function(e,t){return gt(l,void 0,void 0,function(){var n,r,i=this;return mt(this,function(o){switch(o.label){case 0:return n=t.sessionSequences,r=[],Object.keys(n).forEac
11h(function(o){var a=parseInt(o,10),s=n[a];if(a===t.currentSequenceId){var l=s.events.map(function(t){return gt(i,void 0,void 0,function(){return mt(this,function(n){return[2,this.addEventToCurrentSequence(e,t)]})})});r.push.apply(r,wt([],bt(l),!1))}else s.status!==Ru.SENT&&r.push(i.storeSendingEvents(e,s.events))}),[4,Uu(r)];case 1:return o.sent(),[2]}})})},r="".concat(Ct,"_").concat(this.apiKey.substring(0,10)),u.label=2;case 2:return u.trys.push([2,4,,5]),i=t.transaction("keyval").objectStore("keyval").getAll(r),[4,new Promise(function(t){i.onsuccess=function(r){return gt(l,void 0,void 0,function(){var i,o,a,s=this;return mt(this,function(l){switch(l.label){case 0:return i=r&&r.target.result,(o=i&&i[0])?(a=[],Object.keys(o).forEach(function(t){var r=parseInt(t,10),i=o[r];if(e===r)a.push(n(r,i));else{var l=i.sessionSequences;Object.keys(l).forEach(function(e){var t=parseInt(e,10);l[t].status!==Ru.SENT&&a.push(s.storeSendingEvents(r,l[t].events))})}}),[4,Uu(a)]):[3,2];case 1:l.sent(),l.label=2;case 2:return t(),[2]}})})}})];case 3:return u.sent(),(o=Xt())&&o.indexedDB.deleteDatabase("keyval-store"),[3,5];case 4:return a=u.sent(),this.loggerProvider.warn("Failed to transition session replay events from keyval to new store: ".concat(a)),[3,5];case 5:return[3,7];case 6:return s=u.sent(),this.loggerProvider.warn("Failed to access keyval store: ".concat(s,". For more information, visit: https://www.docs.developers.amplitude.com/session-replay/sdks/standalone/#indexeddb-best-practices")),[3,7];case 7:return[2]}})})},n.apiKey=t.apiKey,n.db=t.db,n}return ut(t,e),t.new=function(e,n,r){return gt(this,void 0,void 0,function(){var i,o,a,s,l;return mt(this,function(u){switch(u.label){case 0:return u.trys.push([0,3,,4]),i="replay"===e?"":"_".concat(e),o="".concat(n.apiKey.substring(0,10),"_amp_session_replay_events").concat(i),[4,Vu(o)];case 1:return a=u.sent(),[4,(s=new t(ht(ht({},n),{db:a}))).transitionFromKeyValStore(r)];case 2:return u.sent(),[2,s];case 3:return l=u.sent(),n.loggerProvider.warn("".concat(su,": ").concat(l)),[3,4];case 4:return[2]}})})},t.prototype.getCurrentSequenceEvents=function(e){return gt(this,void 0,void 0,function(){var t,n,r,i,o,a,s;return mt(this,function(l){switch(l.label){case 0:return e?[4,this.db.get("sessionCurrentSequence",e)]:[3,2];case 1:return(i=l.sent())?[2,[i]]:[2,void 0];case 2:t=[],l.label=3;case 3:return l.trys.push([3,8,9,10]),[4,this.db.getAll("sessionCurrentSequence")];case 4:n=yt.apply(void 0,[l.sent()]),r=n.next(),l.label=5;case 5:if(r.done)return[3,7];i=r.value,t.push(i),l.label=6;case 6:return r=n.next(),[3,5];case 7:return[3,10];case 8:return o=l.sent(),a={error:o},[3,10];case 9:try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}return[7];case 10:return[2,t]}})})},t}(Du),$u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.finalizedSequences={},t.sequences={},t.sequenceId=0,t}return ut(t,e),t.prototype.resetCurrentSequence=function(e){this.sequences[e]=[]},t.prototype.addSequence=function(e){var t=this.sequenceId++,n=wt([],bt(this.sequences[e]),!1);return this.finalizedSequences[t]={sessionId:e,events:n},this.resetCurrentSequence(e),{sequenceId:t,events:n,sessionId:e}},t.prototype.getSequencesToSend=function(){return gt(this,void 0,void 0,function(){return mt(this,function(e){return[2,Object.entries(this.finalizedSequences).map(function(e){var t=bt(e,2),n=t[0],r=t[1],i=r.sessionId,o=r.events;return{sequenceId:Number(n),sessionId:i,events:o}})]})})},t.prototype.storeCurrentSequence=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){return this.sequences[e]?[2,this.addSequence(e)]:[2,void 0]})})},t.prototype.addEventToCurrentSequence=function(e,t){return gt(this,void 0,void 0,function(){var n;return mt(this,function(r){return this.sequences[e]||this.resetCurrentSequence(e),this.shouldSplitEventsList(this.sequences[e],t)&&(n=this.addSequence(e)),this.sequences[e].push(t),[2,n]})})},t.prototype.storeSendingEvents=function(e,t){return gt(this,void 0,void 0,function(){return mt(this,function(n){return this.finalizedSequences[this.sequenceId]={sessionId:e,events:t},[2,this.sequenceId++]})})},t.prototype.cleanUpSessionEventsStore=function(e,t){return gt(this,void 0,void 0,function(){return mt(this,function(e){return void 0!==t&&delete this.finalizedSequences[t],[2]})})},t}(Du),Wu=function(e){var t=e.config,n=e.sessionId,r=e.minInterval,i=e.maxInterval,o=e.type,a=e.payloadBatcher,s=e.storeType;return gt(void 0,void 0,void 0,function(){function e(e){return void 0===e&&(e=!1),gt(this,void 0,void 0,function(){return mt(this,function(t){return[2,l.flush(e)]})})}var l,u,c,d,f,p;return mt(this,function(h){switch(h.label){case 0:return l=new uu(ht(ht({},t),{loggerProvider:t.loggerProvider,payloadBatcher:a})),u=function(){return new $u({loggerProvider:t.loggerProvider,maxInterval:i,minInterval:r})},c=function(){return gt(void 0,void 0,void 0,function(){var e;return mt(this,function(a){switch(a.label){case 0:return[4,Bu.new(o,{loggerProvider:t.loggerProvider,minInterval:r,maxInterval:i,apiKey:t.apiKey},n)];case 1:return e=a.sent(),t.loggerProvider.log("Failed to initialize idb store, falling back to memory store."),[2,null!=e?e:u()]}})})},"idb"!==s?[3,2]:[4,c()];case 1:return f=h.sent(),[3,3];case 2:f=u(),h.label=3;case 3:return d=f,p=function(e){var n=e.events,r=e.sessionId,i=e.deviceId,a=e.sequenceId;t.debugMode&&hl().then(function(e){var n=e.totalStorageSize,r=e.percentOfQuota,i=e.usageDetails;t.loggerProvider.debug("Total storage size: ".concat(n," KB, percentage of quota: ").concat(r,"%, usage details: ").concat(i))}).catch(function(){}),l.sendEventsList({events:n,sessionId:r,flushMaxRetries:t.flushMaxRetries,apiKey:t.apiKey,deviceId:i,sampleRate:t.sampleRate,serverZone:t.serverZone,version:t.version,type:o,onComplete:function(){return gt(void 0,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,d.cleanUpSessionEventsStore(r,a)];case 1:return e.sent(),[2]}})})}})},[2,{sendCurrentSequenceEvents:function(e){var n=e.sessionId,r=e.deviceId;d.storeCurrentSequence(n).then(function(e){e&&p({sequenceId:e.sequenceId,events:e.events,sessionId:e.sessionId,deviceId:r})}).catch(function(e){t.loggerProvider.warn("Failed to get current sequence of session replay events for session:",e)})},addEvent:function(e){var n=e.event,r=e.sessionId,i=e.deviceId;d.addEventToCurrentSequence(r,n.data).then(function(e){return e&&p({sequenceId:e.sequenceId,events:e.events,sessionId:e.sessionId,deviceId:i})}).catch(function(e){t.loggerProvider.warn("Failed to add event to session replay capture:",e)})},sendStoredEvents:function(e){var t=e.deviceId;return gt(void 0,void 0,void 0,function(){var e;return mt(this,function(n){switch(n.label){case 0:return[4,d.getSequencesToSend()];case 1:return(e=n.sent())&&e.forEach(function(e){p({sequenceId:e.sequenceId,events:e.events,sessionId:e.sessionId,deviceId:t})}),[2]}})})},flush:e}]}})})},Hu=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=new Map;e.forEach(function(e){n.set(e.name,e.manager)}),this.managers=n}return e.prototype.sendStoredEvents=function(e){return gt(this,void 0,void 0,function(){var t;return mt(this,function(n){switch(n.label){case 0:return t=[],this.managers.forEac
11h(function(n){t.push(n.sendStoredEvents(e))}),[4,Promise.all(t)];case 1:return n.sent(),[2]}})})},e.prototype.addEvent=function(e){var t,n=e.sessionId,r=e.event,i=e.deviceId;null===(t=this.managers.get(r.type))||void 0===t||t.addEvent({sessionId:n,event:r,deviceId:i})},e.prototype.sendCurrentSequenceEvents=function(e){var t=e.sessionId,n=e.deviceId;this.managers.forEach(function(e){e.sendCurrentSequenceEvents({sessionId:t,deviceId:n})})},e.prototype.flush=function(e){return gt(this,void 0,void 0,function(){var t;return mt(this,function(n){switch(n.label){case 0:return t=[],this.managers.forEach(function(n){t.push(n.flush(e))}),[4,Promise.all(t)];case 1:return n.sent(),[2]}})})},e}();const Ku={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Qu={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},Gu={};function Yu(e){if(Gu[e])return Gu[e];const t=function(e){var t,n;const r=null==(n=null==(t=null==globalThis?void 0:globalThis.Zone)?void 0:t.__symbol__)?void 0:n.call(t,e);return r&&globalThis[r]?globalThis[r]:void 0}(e)||globalThis[e],n=t.prototype,r=e in Ku?Ku[e]:void 0,i=Boolean(r&&r.every(e=>{var t,r;return Boolean(null==(r=null==(t=Object.getOwnPropertyDescriptor(n,e))?void 0:t.get)?void 0:r.toString().includes("[native code]"))}
11)),o=e in Qu?Qu[e]:void 0,a=Boolean(o&&o.every(e=>{var t;return"function"==typeof n[e]&&(null==(t=n[e])?void 0:t.toString().includes("[native code]"))}));if(i&&a)return Gu[e]=t.prototype,t.prototype;try{const r=document.createElement("iframe");document.body.appendChild(r);const i=r.contentWindow;if(!i)return t.prototype;const o=i[e].prototype;return document.body.removeChild(r),o?Gu[e]=o:n}catch(s){return n}}const Ju={};function Xu(e,t,n){var r;const i=`${e}.${String(n)}`;if(Ju[i])return Ju[i].call(t);const o=Yu(e),a=null==(r=Object.getOwnPropertyDescriptor(o,n))?void 0:r.get;return a?(Ju[i]=a,a.call(t)):t[n]}const Zu={};function ec(e,t,n){const r=`${e}.${String(n)}`;if(Zu[r])return Zu[r].bind(t);const i=Yu(e)[n];return"function"!=typeof i?t[n]:(Zu[r]=i,i.bind(t))}const tc={childNodes:function(e){return Xu("Node",e,"childNodes")},parentNode:function(e){return Xu("Node",e,"parentNode")},parentElement:function(e){return Xu("Node",e,"parentElement")},textContent:function(e){return Xu("Node",e,"textContent")},contains:function(e,t){return ec("Node",e,"contains")(t)},getRootNode:function(e){return ec("Node",e,"getRootNode")()},host:function(e){return e&&"host"in e?Xu("ShadowRoot",e,"host"):null},styleSheets:function(e){return e.styleSheets},shadowRoot:function(e){return e&&"shadowRoot"in e?Xu("Element",e,"shadowRoot"):null},querySelector:function(e,t){return Xu("Element",e,"querySelector")(t)},querySelectorAll:function(e,t){return Xu("Element",e,"querySelectorAll")(t)},mutationObserver:function(){return Yu("MutationObserver").constructor}};function nc(){var e=Xt();return(null==e?void 0:e.innerHeight)||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight||0}function rc(){var e=Xt();return(null==e?void 0:e.innerWidth)||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth||0}var ic,oc,ac;function sc(e,t){if(ac=new Date,e.nodeType!==Node.ELEMENT_NODE)throw new Error("Can't generate CSS selector for non-element node type.");if("html"===e.tagName.toLowerCase())return"html";var n={root:document.body,idName:function(e){return!0},className:function(e){return!0},tagName:function(e){return!0},attr:function(e,t){return!1},seedMinLength:1,optimizedMinLength:2,threshold:1e3,maxNumberOfTries:1e4,timeoutMs:void 0};ic=ht(ht({},n),t),oc=function(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return e;if(e===t.root)return e.ownerDocument;return e}(ic.root,n);var r=lc(e,"all",function(){return lc(e,"two",function(){return lc(e,"one",function(){return lc(e,"none")})})});if(r){var i=yc(bc(r,e));return i.length>0&&(r=i[0]),cc(r)}throw new Error("Selector was not found.")}function lc(e,t,n){for(var r=null,i=[],o=e,a=0,s=function(){var e,s,l=(new Date).getTime()-ac.getTime();if(void 0!==ic.timeoutMs&&l>ic.timeoutMs)throw new Error("Timeout: Can't find a unique selector after ".concat(l,"ms"));var u=vc(function(e){var t=e.getAttribute("id");if(t&&ic.idName(t))return{name:"#"+CSS.escape(t),penalty:0};return null}(o))||vc.apply(void 0,wt([],bt(function(e){var t=Array.from(e.attributes).filter(function(e){return ic.attr(e.name,e.value)});return t.map(function(e){return{name:"[".concat(CSS.escape(e.name),'="').concat(CSS.escape(e.value),'"]'),penalty:.5}})}(o)),!1))||vc.apply(void 0,wt([],bt(function(e){var t=Array.from(e.classList).filter(ic.className);return t.map(function(e){return{name:"."+CSS.escape(e),penalty:1}})}(o)),!1))||vc(function(e){var t=e.tagName.toLowerCase();if(ic.tagName(t))return{name:t,penalty:2};return null}(o))||[{name:"*",penalty:3}],c=function(e){var t=e.parentNode;if(!t)return null;var n=t.firstChild;if(!n)return null;var r=0;for(;n&&(n.nodeType===Node.ELEMENT_NODE&&r++,n!==e);)n=n.nextSibling;return r}(o);if("all"==t)c&&(u=u.concat(u.filter(hc).map(function(e){return pc(e,c)})));
vendor: 4,319 bytes, line 11
11else if("two"==t)u=u.slice(0,1),c&&(u=u.concat(u.filter(hc).map(function(e){return pc(e,c)})));else if("one"==t){var d=bt(u=u.slice(0,1),1)[0];c&&hc(d)&&(u=[pc(d,c)])}else"none"==t&&(u=[{name:"*",penalty:3}],c&&(u=[pc(u[0],c)]));try{for(var f=(e=void 0,yt(u)),p=f.next();!p.done;p=f.next()){(d=p.value).level=a}}catch(h){e={error:h}}finally{try{p&&!p.done&&(s=f.return)&&s.call(f)}finally{if(e)throw e.error}}if(i.push(u),i.length>=ic.seedMinLength&&(r=uc(i,n)))return"break";o=o.parentElement,a++};o;){if("break"===s())break}return r||(r=uc(i,n)),!r&&n?n():r}function uc(e,t){var n,r,i=yc(mc(e));if(i.length>ic.threshold)return t?t():null;try{for(var o=yt(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(fc(s))return s}}catch(l){n={error:l}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return null}function cc(e){for(var t=e[0],n=t.name,r=1;r<e.length;r++){var i=e[r].level||0;n=t.level===i-1?"".concat(e[r].name," > ").concat(n):"".concat(e[r].name," ").concat(n),t=e[r]}return n}function dc(e){return e.map(function(e){return e.penalty}).reduce(function(e,t){return e+t},0)}function fc(e){var t=cc(e);switch(oc.querySelectorAll(t).length){case 0:throw new Error("Can't select any node with this selector: ".concat(t));case 1:return!0;default:return!1}}function pc(e,t){return{name:e.name+":nth-child(".concat(t,")"),penalty:e.penalty+1}}function hc(e){return"html"!==e.name&&!e.name.startsWith("#")}function vc(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(gc);return n.length>0?n:null}function gc(e){return null!=e}function mc(e,t){var n,r,i,o,a,s;return void 0===t&&(t=[]),mt(this,function(l){switch(l.label){case 0:if(!(e.length>0))return[3,9];l.label=1;case 1:l.trys.push([1,6,7,8]),n=yt(e[0]),r=n.next(),l.label=2;case 2:return r.done?[3,5]:(i=r.value,[5,yt(mc(e.slice(1,e.length),t.concat(i)))]);case 3:l.sent(),l.label=4;case 4:return r=n.next(),[3,2];case 5:return[3,8];case 6:return o=l.sent(),a={error:o},[3,8];case 7:try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}return[7];case 8:return[3,11];case 9:return[4,t];case 10:l.sent(),l.label=11;case 11:return[2]}})}function yc(e){return wt([],bt(e),!1).sort(function(e,t){return dc(e)-dc(t)})}function bc(e,t,n){var r,i,o;return void 0===n&&(n={counter:0,visited:new Map}),mt(this,function(a){switch(a.label){case 0:if(!(e.length>2&&e.length>ic.optimizedMinLength))return[3,5];r=1,a.label=1;case 1:return r<e.length-1?n.counter>ic.maxNumberOfTries?[2]:(n.counter+=1,(i=wt([],bt(e),!1)).splice(r,1),o=cc(i),n.visited.has(o)?[2]:fc(i)&&function(e,t){return oc.querySelector(cc(e))===t}(i,t)?[4,i]:[3,4]):[3,5];case 2:return a.sent(),n.visited.set(o,!0),[5,yt(bc(i,t,n))];case 3:a.sent(),a.label=4;case 4:return r++,[3,1];case 5:return[2]}})}var wc=function(e){var t=e.version,n=e.events,r=[];return n.forEach(function(e){var t=JSON.parse(e);t.count=1,"click"===t.type&&r.push(t)}),{version:t,events:r}},kc=function(e){var t=e.version,n=e.events,r=[];n.forEach(function(e){var t=JSON.parse(e);"click"===t.type&&r.push(t)});var i=r.reduce(function(e,t){var n=t.x,r=t.y,i=t.selector,o=t.timestamp,a=o-o%36e5,s="".concat(n,":").concat(r,":").concat(null!=i?i:"",":").concat(a);return e[s]?e[s].count+=1:e[s]=ht(ht({},t),{timestamp:a,count:1}),e},{});return{version:t,events:Object.values(i)}},Sc=function(e,t){var n=t.eventsManager,r=t.sessionId,i=t.deviceIdFn,o=t.mirror,a=t.ugcFilterRules;return function(t){if(t.type===bl.Click){var s=Xt();if(s){var l=s.location,u=s.innerHeight,c=s.innerWidth;if(l){var d=t.x,f=t.y;if(void 0!==d&&void 0!==f){var p,h=o.getNode(t.id);if(h)try{p=sc(h)}catch(y){e.debug("error resolving selector from finder")}var v=function(e){var t,n,r,i,o=e.document;return{left:o.scrollingElement?o.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:o.documentElement.scrollLeft||(null==o?void 0:o.body)&&(null===(t=tc.parentElement(o.body))||void 0===t?void 0:t.scrollLeft)||(null===(n=null==o?void 0:o.body)||void 0===n?void 0:n.scrollLeft)||0,top:o.scrollingElement?o.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==o?void 0:o.documentElement.scrollTop)||(null==o?void 0:o.body)&&(null===(r=tc.parentElement(o.body))||void 0===r?void 0:r.scrollTop)||(null===(i=null==o?void 0:o.body)||void 0===i?void 0:i.scrollTop)||0}}
11(s),g={x:d+v.left,y:f+v.top,selector:p,viewportHeight:u,viewportWidth:c,pageUrl:pl(l.href,a),timestamp:Date.now(),type:"click"},m=i();m&&n.addEvent({sessionId:r,event:{type:"interaction",data:JSON.stringify(g)},deviceId:m})}}}}}},xc=function(){function e(e,t){var n=Xt();n&&n.navigator&&"function"==typeof n.navigator.sendBeacon?this.sendBeacon=function(e,t){try{if(n.navigator.sendBeacon(e,JSON.stringify(t)))return!0}catch(r){}return!1}:this.sendBeacon=function(){return!1},this.sendXhr=function(e,t){var n=new XMLHttpRequest;return n.open("POST",e,!0),n.setRequestHeader("Accept","*/*"),n.send(JSON.stringify(t)),!0},this.basePageUrl=dl(t.serverZone,t.trackServerUrl),this.apiKey=t.apiKey,this.context=e}return e.prototype.send=function(e,t){var n=this.context,r=n.sessionId,i=n.type,o=new URLSearchParams({device_id:e,session_id:String(r),type:String(i),api_key:this.apiKey}),a="".concat(this.basePageUrl,"?").concat(o.toString());this.sendBeacon(a,t)||this.sendXhr(a,t)},e}(),_c=function(){function e(e,t){var n=this;this.timestamp=Date.now(),this.hook=function(e){n.update(e)},this.send=function(e){return function(t){var r,i,o=e(),a=Xt();a&&o&&n.transport.send(o,{version:1,events:[{maxScrollX:n._maxScrollX,maxScrollY:n._maxScrollY,maxScrollWidth:n._maxScrollWidth,maxScrollHeight:n._maxScrollHeight,viewportHeight:nc(),viewportWidth:rc(),pageUrl:pl(a.location.href,null!==(i=null===(r=n.config.interactionConfig)||void 0===r?void 0:r.ugcFilterRules)&&void 0!==i?i:[]),timestamp:n.timestamp,type:"scroll"}]})}},this._maxScrollX=0,this._maxScrollY=0,this._maxScrollWidth=rc(),this._maxScrollHeight=nc(),this.config=t,this.transport=e}return e.default=function(t,n){return new e(new xc(t,n),n)},Object.defineProperty(e.prototype,"maxScrollX",{get:function(){return this._maxScrollX},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxScrollY",{get:function(){return this._maxScrollY},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxScrollWidth",{get:function(){return this._maxScrollWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxScrollHeight",{get:function(){return this._maxScrollHeight},enumerable:!1,configurable:!0}),e.prototype.update=function(e){var t=Date.now();if(e.x>this._maxScrollX){var n=rc();this._maxScrollX=e.x;var r=e.x+n;r>this._maxScrollWidth&&(this._maxScrollWidth=r),this.timestamp=t}if(e.y>this._maxScrollY){var i=nc();this._maxScrollY=e.y;var o=e.y+i;o>this._maxScrollHeight&&(this._maxScrollHeight=o),this.timestamp=t}},e}(),Ec=function(){return function(e){var t=e.sessionId,n=e.deviceId;this.deviceId=n,this.sessionId=t,t&&n&&(this.sessionReplayId=function(e,t){return"".concat(t,"/").concat(e)}(t,n))}}(),Cc=function(){return function(){var e=this;this.dbs={},this.createStore=function(t){return gt(e,void 0,void 0,function(){return mt(this,function(e){switch(e.label){case 0:return[4,Su(t,1,{upgrade:function(e){e.objectStoreNames.contains("sessionTargetingMatch")||e.createObjectStore("sessionTargetingMatch",{keyPath:"sessionId"})}})];case 1:return[2,e.sent()]}})})},this.openOrCreateDB=function(t){return gt(e,void 0,void 0,function(){var e,n;return mt(this,function(r){switch(r.label){case 0:return this.dbs&&this.dbs[t]?[2,this.dbs[t]]:(e="".concat(t.substring(0,10),"_amp_session_replay_targeting"),[4,this.createStore(e)]);case 1:return n=r.sent(),this.dbs[t]=n,[2,n]}})})},this.getTargetingMatchForSession=function(t){var n=t.loggerProvider,r=t.apiKey,i=t.sessionId;return gt(e,void 0,void 0,function(){var e,t,o,a;return mt(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,this.openOrCreateDB(r)];case 1:return e=s.sent(),t=String(i),[4,e.get("sessionTargetingMatch",t)];case 2:return[2,null==(o=s.sent())?void 0:o.targetingMatch];case 3:return a=s.sent(),n.warn("Failed to get targeting match for session id ".concat(i,": ").concat(a)),[3,4];case 4:return[2,void 0]}})})},this.storeTargetingMatchForSession=function(t){var n=t.loggerProvider,r=t.apiKey,i=t.sessionId,o=t.targetingMatch;return gt(e,void 0,void 0,function(){var e,t,a;return mt(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),[4,this.openOrCreateDB(r)];case 1:return e=s.sent(),t=String(i),[4,e.put("sessionTargetingMatch",{targetingMatch:o,sessionId:t,lastUpdated:Date.now()})];case 2:return[2,s.sent()];case 3:return a=s.sent(),n.warn("Failed to store targeting match for session id ".concat(i,": ").concat(a)),[3,4];case 4:return[2,void 0]}})})},this.clearStoreOfOldSessions=function(t){var n=t.loggerProvider,r=t.apiKey,i=t.currentSessionId;return gt(e,void 0,void 0,function(){var e,t,o,a,s,l,u,c;return mt(this,function(d){switch(d.label){case 0:return d.trys.push([0,8,,9]),[4,this.openOrCreateDB(r)];case 1:return e=d.sent(),t=String(i),[4,(o=e.transaction("sessionTargetingMatch","readwrite")).store.getAll()];case 2:a=d.sent(),s=0,d.label=3;case 3:return s<a.length?(l=a[s],u=Date.now()-l.lastUpdated,l.sessionId!==t&&u>1728e5?[4,o.store.delete(l.sessionId)]:[3,5]):[3,6];case 4:d.sent(),d.label=5;case 5:return s++,[3,3];case 6:return[4,o.done];case 7:return d.sent(),[3,9];case 8:return c=d.sent(),n.warn("Failed to clear old targeting matches for sessions: ".concat(c)),[3,9];case 9:return[2]}})})}}}(),Tc=new Cc,Pc=function(e){var t=e.sessionId,n=e.targetingConfig,r=e.loggerProvider,i=e.apiKey,o=e.targetingParams;return gt(void 0,void 0,void 0,function(){var e,a,s,l;return mt(this,function(u){switch(u.label){case 0:return[4,Tc.clearStoreOfOldSessions({loggerProvider:r,apiKey:i,currentSessionId:t})];case 1:return u.sent(),[4,Tc.getTargetingMatchForSession({loggerProvider:r,apiKey:i,sessionId:t})];case 2:if(!0===u.sent())return[2,!0];e=!0,u.label=3;case 3:return u.trys.push([3,6,,7]),[4,b(()=>import("./index-B7kFqccr.js"),__vite__mapDeps([0,1,2,3,4,5,6]))];case 4:return[4,(0,u.sent().evaluateTargeting)(ht(ht({},o),{flag:n,sessionId:t,apiKey:i,loggerProvider:r}))];case 5:return(a=u.sent())&&a.sr_targeting_config&&(e="on"===a.sr_targeting_config.key),Tc.storeTargetingMatchForSession({loggerProvider:r,apiKey:i,sessionId:t,targetingMatch:e}),[3,7];case 6:return s=u.sent(),l=s,r.warn(l.message),[3,7];case 7:return[2,e]}})})};function Ic(e){return void 0===e&&(e={}),{name:"amplitude/url-tracking@1",observer:function(t,n,r){var i,o,a,s=ht(ht({},e),r),l=s.ugcFilterRules||[],u=null!==(i=s.enablePolling)&&void 0!==i&&i,c=null!==(o=s.pollingInterval)&&void 0!==o?o:1e3,d=null!==(a=s.captureDocumentTitle)&&void 0!==a&&a;if(!n)return function(){};var f=void 0,p=function(){return n.location&&n.location.href||""},h=function(){var e=p();if(void 0===f||e!==f){f=e;var r=function(){var e=n.innerHeight,t=n.innerWidth,r=n.document,i=p(),o="";return d&&(o=(null==r?void 0:r.title)||""),{href:l.length>
110?pl(i,l):i,title:o,viewportHeight:e,viewportWidth:t,type:"url-change-event"}}();t(r)}},v=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t);return h(),r}},g=function(){h()};if(u){var m=n.setInterval(function(){h()},c);return h(),function(){m&&n.clearInterval(m)}}if(n.history){var y=n.history.pushState.bind(n.history),b=n.history.replaceState.bind(n.history);return n.history.pushState=v(y),n.history.replaceState=v(b),n.addEventListener("popstate",h),n.addEventListener("hashchange",g),h(),function(){n.history.pushState=y,n.history.replaceState=b,n.removeEventListener("popstate",h),n.removeEventListener("hashchange",g)}}return n.addEventListener("hashchange",g),h(),function(){n.removeEventListener("hashchange",g)}},options:e}}Ic();var jc=function(){function e(){var e=this;this.name="@amplitude/session-replay-browser",this.recordCancelCallback=null,this.eventCount=0,this.sessionTargetingMatch=!1,this.pageLeaveFns=[],this.recordFunction=null,this.teardownEventListeners=function(t){var n=Xt();n&&(n.removeEventListener("blur",e.blurListener),n.removeEventListener("focus",e.focusListener),!t&&n.addEventListener("blur",e.blurListener),!t&&n.addEventListener("focus",e.focusListener),n.self&&"onpagehide"in n.self?(n.removeEventListener("pagehide",e.pageLeaveListener),!t&&n.addEventListener("pagehide",e.pageLeaveListener)):(n.removeEventListener("beforeunload",e.pageLeaveListener),!t&&n.addEventListener("beforeunload",e.pageLeaveListener)))},this.blurListener=function(){e.sendEvents()},this.focusListener=function(){e.recordEvents(!1)},this.pageLeaveListener=function(t){e.pageLeaveFns.forEach(function(e){e(t)})},this.evaluateTargetingAndCapture=function(t,n){return void 0===n&&(n=!1),gt(e,void 0,void 0,function(){var e,r;return mt(this,function(i){switch(i.label){case 0:return this.identifiers&&this.identifiers.sessionId&&this.config?(this.lastTargetingParams=t,!this.config.targetingConfig||this.sessionTargetingMatch?[3,2]:((e=t.event)&&Object.values(ft).includes(e.event_type)&&(e=void 0),r=this,[4,Pc({sessionId:this.identifiers.sessionId,targetingConfig:this.config.targetingConfig,loggerProvider:this.loggerProvider,apiKey:this.config.apiKey,targetingParams:{userProperties:t.userProperties,event:e}})])):(this.identifiers&&!this.identifiers.sessionId?this.loggerProvider.log("Session ID has not been set yet, cannot evaluate targeting for Session Replay."):this.loggerProvider.warn("Session replay init has not been called, cannot evaluate targeting."),[2]);case 1:r.sessionTargetingMatch=i.sent(),this.loggerProvider.debug(JSON.stringify({name:"targeted replay capture config",sessionTargetingMatch:this.sessionTargetingMatch,event:e,targetingParams:t},null,2)),i.label=2;case 2:return n?(this.initialize(!0),[3,5]):[3,3];case 3:return[4,this.recordEvents()];case 4:i.sent(),i.label=5;case 5:return[2]}})})},this.addCustomRRWebEvent=function(t,n,r){return void 0===n&&(n={}),void 0===r&&(r=!0),gt(e,void 0,void 0,function(){var e,i,o,a;return mt(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),e=void 0,(i=this.config)&&t!==Ys.METADATA?(e={config:vl(i),version:lu},r?[4,hl()]:[3,2]):[3,2];case 1:o=s.sent(),e=ht(ht({},o),e),s.label=2;case 2:return this.recordCancelCallback&&this.recordFunction?this.recordFunction.addCustomEvent(t,ht(ht({},n),e)):this.loggerProvider.debug("Not able to add custom replay capture event ".concat(t," due to no ongoing recording.")),[3,4];case 3:return a=s.sent(),this.loggerProvider.debug("Error while adding custom replay capture event: ",a),[3,4];case 4:return[2]}})})},this.stopRecordingEvents=function(){var t;try{e.loggerProvider.log("Session Replay capture stopping."),e.recordCancelCallback&&e.recordCancelCallback(),e.recordCancelCallback=null,null===(t=e.networkObservers)||void 0===t||t.stop()}catch(r){var n=r;e.loggerProvider.warn("Error occurred while stopping replay capture: ".concat(n.toString()))}},this.loggerProvider=new il(new cn)}return e.prototype.init=function(e,t){return rn(this._init(e,t))},e.prototype._init=function(e,t){var n,r,i,o,a,s;return gt(this,void 0,void 0,function(){var l,u,c,d,f,p,h,v,g,m,y,b,w,k;return mt(this,function(S){switch(S.label){case 0:return this.loggerProvider=new il(t.loggerProvider||new cn),Object.prototype.hasOwnProperty.call(t,"logLevel")&&this.loggerProvider.enable(t.logLevel),this.identifiers=new Ec({sessionId:t.sessionId,deviceId:t.deviceId}),l=this,[4,Cl(e,t)];case 1:return l.joinedConfigGenerator=S.sent(),[4,this.joinedConfigGenerator.generateJoinedConfig(this.identifiers.sessionId)];case 2:u=S.sent(),c=u.joinedConfig,d=u.localConfig,f=u.remoteConfig,this.config=c,this.setMetadata(t.sessionId,c,d,f,null===(n=t.version)||void 0===n?void 0:n.version,lu,null===(r=t.version)||void 0===r?void 0:r.type),t.sessionId&&(null===(i=this.config.interactionConfig)||void 0===i?void 0:i.enabled)&&(p=_c.default({sessionId:t.sessionId,type:"interaction"},this.config),this.pageLeaveFns=[p.send(this.getDeviceId.bind(this)).bind(p)],this.scrollHook=p.hook.bind(p)),h=[],"idb"!==(v=this.config.storeType)||(null===(o=Xt())||void 0===o?void 0:o.indexedDB)||(v="memory",this.loggerProvider.warn("Could not use preferred indexedDB storage, reverting to in memory option.")),this.loggerProvider.log("Using ".concat(v," for event storage.")),S.label=3;case 3:return S.trys.push([3,5,,6]),[4,Wu({config:this.config,sessionId:this.identifiers.sessionId,type:"replay",storeType:v})];case 4:return g=S.sent(),h.push({name:"replay",manager:g}),[3,6];case 5:return m=S.sent(),k=m,this.loggerProvider.warn("Error occurred while creating replay events manager: ".concat(k.toString())),[3,6];case 6:if(!(null===(a=this.config.interactionConfig)||void 0===a?void 0:a.enabled))return[3,10];y=this.config.interactionConfig.batch?kc:wc,S.label=7;case 7:return S.trys.push([7,9,,10]),[4,Wu({config:this.config,sessionId:this.identifiers.sessionId,type:"interaction",minInterval:null!==(s=this.config.interactionConfig.trackEveryNms)&&void 0!==s?s:3e4,maxInterval:6e4,payloadBatcher:y,storeType:v})];case 8:return b=S.sent(),h.push({name:"interaction",manager:b}),[3,10];case 9:return w=S.sent(),k=w,this.loggerProvider.warn("Error occurred while creating interaction events manager: ".concat(k.toString())),[3,10];case 10:return this.eventsManager=new(Hu.bind.apply(Hu,wt([void 0],bt(h),!1))),this.eventCompressor&&this.eventCompressor.terminate(),this.eventCompressor=new au(this.eventsManager,this.config,this.getDeviceId()),[4,this.initializeNetworkObservers()];case 11:return S.sent(),this.loggerProvider.log("Installing @amplitude/session-replay-browser."),this.teardownEventListeners(!1),[4,this.evaluateTargetingAndCapture({userProperties:t.userProperties},!0)];case 12:return S.sent(),[2]}})})},e.prototype.setSessionId=function(e,t){return rn(this.asyncSetSessionId(e,t))},e.prototype.asyncSetSessionId=function(e,t,n){return gt(this,void 0,void 0,function(){var r,i,o;return mt(this,function(a){switch(a.label){case 0:return this.sessionTargetingMatch=!1,this.lastShouldRecordDecision=void 0,(r=this.identifiers&&this.identifiers.sessionId)&&this.sendEvents(r),i=t||this.getDeviceId(),this.identifiers=new Ec({sessionId:e,deviceId:i}),this.joinedConfigGenerator&&r?[4,this.joinedConfigGenerator.generateJoinedConfig(this.identifiers.sessionId)]:[3,2];case 1:o=a.sent().joinedConfig,this.config=o,a.label=2;case 2:return[4,this.evaluateTargetingAndCapture({userProperties:null==n?void 0:n.userProperties})];case 3:return a.sent(),[2]}})})},e.prototype.getSessionReplayProperties=function(){var e,t=this.config,n=this.identifiers;if(!t||!n)return this.loggerProvider.warn("Session replay init has not been called, cannot get session replay properties."),{};var r=this.getShouldRecord(),i={};return r&&((e={})[Zs]=n.sessionReplayId?n.sessionReplayId:null,i=e,t.debugMode&&(i[nl]=JSON.stringify({appHash:cl(t.apiKey).toString()}))),this.addCustomRRWebEvent(Ys.GET_SR_PROPS,{shouldRecord:r,eventProperties:i},10===this.eventCount),10===this.eventCount&&(this.eventCount=0),this.eventCount++,i},e.prototype.sendEvents=function(e){var t,n=e||(null===(t=this.identifiers)||void 0===t?void 0:t.sessionId),r=this.getDeviceId();this.eventsManager&&n&&r&&this.eventsManager.sendCurrentSequenceEvents({sessionId:n,deviceId:r})},e.prototype.initialize=function(e){var t;return void 0===e&&(e=!1),gt(this,void 0,void 0,function(){var n;return mt(this,function(r){return(null===(t=this.identifiers)||void 0===t?void 0:t.sessionId)?(n=this.getDeviceId())?(this.eventsManager&&e&&this.eventsManager.sendStoredEvents({deviceId:n}),[2,this.recordEvents()]):(this.loggerProvider.log("Session is not being recorded due to lack of device id."),[2,Promise.resolve()]):(this.loggerProvider.log("Session is not being recorded due to lack of session id."),[2,Promise.resolve()])})})},e.prototype.shouldOptOut=function(){var e,t,n;(null===(e=this.config)||void 0===e?void 0:e.instanceName)&&(n=An(this.config.instanceName).identityStore.getIdentity().optOut);return void 0!==n?n:null===(t=this.config)||void 0===t?void 0:t.optOut},e.prototype.getShouldRecord=function(){if(!this.identifiers||!this.config||!this.identifiers.sessionId)return this.loggerProvider.warn("Session is not being recorded due to lack of config, please call sessionReplay.init."),!1;if(!this.config.captureEnabled)return this.loggerProvider.log("Session ".concat(this.identifiers.sessionId," not being captured due to capture being disabled for project or because the remote config could not be fetched.")),!1;if(this.shouldOptOut())return this.loggerProvider.log("Opting session ".concat(this.identifiers.sessionId," out of recording due to optOut config.")),!1;var e,t,n,r=!1,i="",o=!1;this.config.targetingConfig?this.sessionTargetingMatch?(i="Capturing replays for session ".concat(this.identifiers.sessionId," due to matching targeting conditions."),this.loggerProvider.log(i),r=!0,o=!0):(i="Not capturing replays for session ".concat(this.identifiers.sessionId," due to not matching targeting conditions."),this.loggerProvider.log(i),r=!1,o=!1):(e=this.identifiers.sessionId,t=this.config.sampleRate,n=cl(e.toString()),31*Math.abs(n)%1e6/1e6<t)?(r=!0,o=!0):(i="Opting session ".concat(this.identifiers.sessionId," out of recording due to sample rate."),this.loggerProvider.log(i),r=!1,o=!1);return this.lastShouldRecordDecision!==r&&this.config.targetingConfig&&(this.addCustomRRWebEvent(Ys.TARGETING_DECISION,{message:i,sessionId:this.identifiers.sessionId,matched:o,targetingParams:this.lastTargetingParams}),this.lastShouldRecordDecision=r),r},e.prototype.getBlockSelectors=function(){var e,t,n,r=null!==(n=null===(t=null===(e=this.config)||void 0===e?void 0:e.privacyConfig)||void 0===t?void 0:t.blockSelector)&&void 0!==n?n:[];if(0!==r.length)return r},e.prototype.getMaskTextSelectors=function(){var e,t,n,r;if("conservative"===(null===(t=null===(e=this.config)||void 0===e?void 0:e.privacyConfig)||void 0===t?void 0:t.defaultMaskLevel))return"*";var i=null===(r=null===(n=this.config)||void 0===n?void 0:n.privacyConfig)||void 0===r?void 0:r.maskSelector;return i||void 0},e.prototype.getRecordingPlugins=function(e){var t,n,r,i,o,a;return gt(this,void 0,void 0,function(){var s,l,u,c;return mt(this,function(d){switch(d.label){case 0:s=[];try{l=Ic({ugcFilterRules:(null===(n=null===(t=this.config)||void 0===t?void 0:t.interactionConfig)||void 0===n?void 0:n.ugcFilterRules)||[],enablePolling:(null===(r=this.config)||void 0===r?void 0:r.enableUrlChangePolling)||!1,pollingInterval:null===(i=this.config)||void 0===i?void 0:i.urlChangePollingInterval,captureDocumentTitle:null===(o=this.config)||void 0===o?void 0:o.captureDocumentTitle}),s.push(l)}catch(f){this.loggerProvider.warn("Failed to create URL tracking plugin:",f)}if(!(null===(a=null==e?void 0:e.console)||void 0===a?void 0:a.enabled))return[3,4];d.label=1;case 1:return d.trys.push([1,3,,4]),[4,b(()=>import("./rrweb-plugin-console-record-Db70YFbO.js"),[])];case 2:return u=d.sent().getRecordConsolePlugin,s.push(u({level:e.console.levels})),[3,4];case 3:return c=d.sent(),this.loggerProvider.warn("Failed to load console plugin:",c),[3,4];case 4:return[2,s.length>0?s:void 0]}})})},e.prototype.getRecordFunction=function(){return gt(this,void 0,void 0,function(){var e,t;return mt(this,function(n){switch(n.label){case 0:if(this.recordFunction)return[2,this.recordFunction];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,b(()=>import("./rrweb-record-BJG9CbmV.js"),[])];case 2:return e=n.sent().record,this.recordFunction=e,[2,e];case 3:return t=n.sent(),this.loggerProvider.warn("Failed to load rrweb-record module:",t),[2,null];case 4:return[2]}})})},e.prototype.recordEvents=function(e){var t,n,r,i,o;return void 0===e&&(e=!0),gt(this,void 0,void 0,function(){var a,s,l,u,c,d,f,p,h,v,g,m,y,b=this;return mt(this,function(w){switch(w.label){case 0:return a=this.config,s=this.getShouldRecord(),l=null===(t=this.identifiers)||void 0===t?void 0:t.sessionId,s&&l&&a?(this.stopRecordingEvents(),[4,this.getRecordFunction()]):[2];case 1:return(u=w.sent())?[4,this.initializeNetworkObservers()]:[2];case 2:w.sent(),null===(n=this.networkObservers)||void 0===n||n.start(function(e){b.addCustomRRWebEvent(Ys.FETCH_REQUEST,e)}),c=a.privacyConfig,d=a.interactionConfig,f=a.loggingConfig,p=(null==d?void 0:d.enabled)?{mouseInteraction:this.eventsManager&&Sc(this.loggerProvider,{eventsManager:this.eventsManager,sessionId:l,deviceIdFn:this.getDeviceId.bind(this),mirror:u.mirror,ugcFilterRules:null!==(r=d.ugcFilterRules)&&void 0!==r?r:[]}),scroll:this.scrollHook}:{},h=(null==d?void 0:d.enabled)&&d.ugcFilterRules?d.ugcFilterRules:[],this.loggerProvider.log("Session Replay capture beginning for ".concat(l,".")),w.label=3;case 3:return w.trys.push([3,5,,6]),v=this,g=u,y={emit:function(e){if(b.shouldOptOut())return b.loggerProvider.log("Opting session ".concat(l," out of recording due to optOut config.")),b.stopRecordingEvents(),void b.sendEvents();e.type===yl.Meta&&(e.data.href=pl(e.data.href,h)),b.eventCompressor&&b.eventCompressor.enqueueEvent(e,l)},inlineStylesheet:a.shouldInlineStylesheet,hooks:p,maskAllInputs:!0,maskTextClass:rl,blockClass:"amp-block",blockSelector:this.getBlockSelectors(),applyBackgroun
11dColorToBlockedElements:a.applyBackgroundColorToBlockedElements,maskInputFn:ul("input",c),maskTextFn:ul("text",c),maskTextSelector:this.getMaskTextSelectors(),recordCanvas:!1,slimDOMOptions:{script:null===(i=a.omitElementTags)||void 0===i?void 0:i.script,comment:null===(o=a.omitElementTags)||void 0===o?void 0:o.comment},errorHandler:function(e){var t=e;if(t.message.includes("insertRule")&&t.message.includes("CSSStyleSheet"))throw t;if(t._external_)throw t;return b.loggerProvider.warn("Error while capturing replay: ",t.toString()),!0}},[4,this.getRecordingPlugins(f)];case 4:return v.recordCancelCallback=g.apply(void 0,[(y.plugins=w.sent(),y)]),this.addCustomRRWebEvent(Ys.DEBUG_INFO),e&&this.addCustomRRWebEvent(Ys.METADATA,this.metadata),[3,6];case 5:return m=w.sent(),this.loggerProvider.warn("Failed to initialize session replay:",m),[3,6];case 6:return[2]}})})},e.prototype.getDeviceId=function(){var e;return null===(e=this.identifiers)||void 0===e?void 0:e.deviceId},e.prototype.getSessionId=function(){var e;return null===(e=this.identifiers)||void 0===e?void 0:e.sessionId},e.prototype.flush=function(e){var t;return void 0===e&&(e=!1),gt(this,void 0,void 0,function(){return mt(this,function(n){return[2,null===(t=this.eventsManager)||void 0===t?void 0:t.flush(e)]})})},e.prototype.shutdown=function(){this.teardownEventListeners(!0),this.stopRecordingEvents(),this.sendEvents()},e.prototype.mapSDKType=function(e){return"plugin"===e?"@amplitude/plugin-session-replay-browser":"segment"===e?"@amplitude/segment-session-replay-plugin":null},e.prototype.setMetadata=function(e,t,n,r,i,o,a){var s=(null==e?void 0:e.toString())?cl(e.toString()):void 0;this.metadata={joinedConfig:t,localConfig:n,remoteConfig:r,sessionId:e,hashValue:s,sampleRate:t.sampleRate,replaySDKType:this.mapSDKType(a),replaySDKVersion:i,standaloneSDKType:"@amplitude/session-replay-browser",standaloneSDKVersion:o}},e.prototype.initializeNetworkObservers=function(){var e,t,n;return gt(this,void 0,void 0,function(){var r,i;return mt(this,function(o){switch(o.label){case 0:if(!(null===(n=null===(t=null===(e=this.config)||void 0===e?void 0:e.loggingConfig)||void 0===t?void 0:t.network)||void 0===n?void 0:n.enabled)||this.networkObservers)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,b(()=>import("./observers-BFQiMNbv.js"),__vite__mapDeps([7,1,2,3,4,5,6]))];case 2:return r=o.sent().NetworkObservers,this.networkObservers=new r,[3,4];case 3:return i=o.sent(),this.loggerProvider.warn("Failed to import or instantiate NetworkObservers:",i),[3,4];case 4:return[2]}})})},e}(),Ac=function(e){return function(){var t=e.config||gl();return{logger:t.loggerProvider,logLevel:t.logLevel}}};const Oc=(Lc=new jc,{init:qn(Lc.init.bind(Lc),"init",Ac(Lc)),evaluateTargetingAndCapture:qn(Lc.evaluateTargetingAndCapture.bind(Lc),"evaluateTargetingAndRecord",Ac(Lc)),setSessionId:qn(Lc.setSessionId.bind(Lc),"setSessionId",Ac(Lc)),getSessionId:qn(Lc.getSessionId.bind(Lc),"getSessionId",Ac(Lc)),getSessionReplayProperties:qn(Lc.getSessionReplayProperties.bind(Lc),"getSessionReplayProperties",Ac(Lc)),flush:qn(Lc.flush.bind(Lc),"flush",Ac(Lc)),shutdown:qn(Lc.shutdown.bind(Lc),"shutdown",Ac(Lc))});var Lc,Rc=Oc.init,Nc=Oc.setSessionId,Dc=Oc.getSessionId,zc=Oc.getSessionReplayProperties,Mc=Oc.flush,Fc=Oc.shutdown,Uc=Oc.evaluateTargetingAndCapture,qc=[yr.SET,yr.SET_ONCE,yr.ADD,yr.APPEND,yr.PREPEND,yr.POSTINSERT],Vc="1.22.9",Bc=function(){function e(t){this.name=e.pluginName,this.type="enrichment",this.sessionReplay={flush:Mc,getSessionId:Dc,getSessionReplayProperties:zc,init:Rc,setSessionId:Nc,shutdown:Fc,evaluateTargetingAndCapture:Uc},this.options=ht({forceSessionTracking:!1},t),this.srInitOptions=this.options}return e.prototype.setup=function(e,t){var n,r,i,o,a;return gt(this,void 0,void 0,function(){var t,s,l;return mt(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),null==e||e.loggerProvider.log("Installing @amplitude/plugin-session-replay, version ".concat(Vc,".")),this.config=e,this.options.forceSessionTracking&&("boolean"==typeof e.defaultTracking?!1===e.defaultTracking&&(e.defaultTracking={pageViews:!1,formInteractions:!1,fileDownloads:!1,sessions:!0}):e.defaultTracking=ht(ht({},e.defaultTracking),{sessions:!0})),t=(c=this.config.instanceName,void 0===c&&(c="$default_instance"),jn.getInstance(c)).identityStore,s=t.getIdentity().userProperties,this.srInitOptions={instanceName:this.config.instanceName,deviceId:null!==(n=this.options.deviceId)&&void 0!==n?n:this.config.deviceId,optOut:this.config.optOut,sessionId:this.options.customSessionId?void 0:this.config.sessionId,loggerProvider:this.config.loggerProvider,logLevel:this.config.logLevel,flushMaxRetries:this.config.flushMaxRetries,serverZone:this.config.serverZone,configServerUrl:this.options.configServerUrl,trackServerUrl:this.options.trackServerUrl,sampleRate:this.options.sampleRate,privacyConfig:{blockSelector:null===(r=this.options.privacyConfig)||void 0===r?void 0:r.blockSelector,maskSelector:null===(i=this.options.privacyConfig)||void 0===i?void 0:i.maskSelector,unmaskSelector:null===(o=this.options.privacyConfig)||void 0===o?void 0:o.unmaskSelector,defaultMaskLevel:null===(a=this.options.privacyConfig)||void 0===a?void 0:a.defaultMaskLevel},debugMode:this.options.debugMode,shouldInlineStylesheet:this.options.shouldInlineStylesheet,version:{type:"plugin",version:Vc},performanceConfig:this.options.performanceConfig,storeType:this.options.storeType,experimental:this.options.experimental,userProperties:s,omitElementTags:this.options.omitElementTags,applyBackgroun
11dColorToBlockedElements:this.options.applyBackgroundColorToBlockedElements,interactionConfig:this.options.interactionConfig,captureDocumentTitle:this.options.captureDocumentTitle,enableUrlChangePolling:this.options.enableUrlChangePolling,urlChangePollingInterval:this.options.urlChangePollingInterval},[4,this.sessionReplay.init(e.apiKey,this.srInitOptions).promise];case 1:return u.sent(),[3,3];case 2:return l=u.sent(),null==e||e.loggerProvider.error("Session Replay: Failed to initialize due to ".concat(l.message)),[3,3];case 3:return[2]}var c})})},e.prototype.onSessionIdChanged=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){switch(t.label){case 0:return this.config.loggerProvider.debug("Analytics session id is changed to ".concat(e,", SR session id is ").concat(String(this.sessionReplay.getSessionId()),".")),[4,this.sessionReplay.setSessionId(e).promise];case 1:return t.sent(),[2]}})})},e.prototype.onOptOutChanged=function(e){return gt(this,void 0,void 0,function(){return mt(this,function(t){switch(t.label){case 0:return this.config.loggerProvider.debug("optOut is changed to ".concat(String(e),", calling ").concat(e?"sessionReplay.shutdown()":"sessionReplay.init()",".")),e?(this.sessionReplay.shutdown(),[3,3]):[3,1];case 1:return[4,this.sessionReplay.init(this.config.apiKey,this.srInitOptions).promise];case 2:t.sent(),t.label=3;case 3:return[2]}})})},e.prototype.execute=function(e){var t;return gt(this,void 0,void 0,function(){var n,r,i,o;return mt(this,function(a){switch(a.label){case 0:return a.trys.push([0,9,,10]),this.options.customSessionId?(n=this.options.customSessionId(e))?n===this.sessionReplay.getSessionId()?[3,2]:[4,this.sessionReplay.setSessionId(n).promise]:[3,3]:[3,4];case 1:a.sent(),a.label=2;case 2:i=this.sessionReplay.getSessionReplayProperties(),e.event_properties=ht(ht({},e.event_properties),i),a.label=3;case 3:return[3,8];case 4:return(n=this.config.sessionId)&&n!==this.sessionReplay.getSessionId()?[4,this.sessionReplay.setSessionId(n).promise]:[3,6];case 5:a.sent(),a.label=6;case 6:return n&&n===e.session_id?(r=void 0,e.event_type===ft.IDENTIFY&&(r=function(e){if(e.user_properties){var t={};return Object.keys(e.user_properties).forEach(function(n){if(qc.includes(n)){var r=e.user_properties&&e.user_properties[n];t=ht(ht({},t),r)}}),t}}(e)),[4,this.sessionReplay.evaluateTargetingAndCapture({event:e,userProperties:r})]):[3,8];case 7:a.sent(),i=this.sessionReplay.getSessionReplayProperties(),e.event_properties=ht(ht({},e.event_properties),i),a.label=8;case 8:return[2,Promise.resolve(e)];case 9:return o=a.sent(),null===(t=this.config)||void 0===t||t.loggerProvider.error("Session Replay: Failed to enrich event due to ".concat(o.message)),[2,Promise.resolve(e)];case 10:return[2]}})})},e.prototype.teardown=function(){var e;return gt(this,void 0,void 0,function(){return mt(this,function(t){try{this.sessionReplay.shutdown(),this.config=null}catch(n){null===(e=this.config)||void 0===e||e.loggerProvider.error("Session Replay: teardown failed due to ".concat(n.message))}return[2]})})},e.prototype.getSessionReplayProperties=function(){return this.sessionReplay.getSessionReplayProperties()},e.pluginName="@amplitude/plugin-session-replay-browser",e}();const $c=["www.ilinkvault.com","ilinkvault.com"],Wc=(e,...t)=>{var n,r;null==(r=null==(n=globalThis.console)?void 0:n[e])||r.call(n,...t)},Hc={APP_STORE_CLICK:"app_store_click",PLAY_STORE_CLICK:"play_store_click",COMPARISON_PAGE_VIEWED:"comparison_page_viewed",FEATURE_PAGE_VIEWED:"feature_page_viewed",PRICING_PAGE_VIEWED:"pricing_page_viewed",PRICING_PLAN_CLICKED:"pricing_plan_clicked",BLOG_POST_VIEWED:"blog_post_viewed",BLOG_POST_READ:"blog_post_read",EMAIL_SIGNUP:"email_signup",HOMEPAGE_SCROLL_DEPTH:"homepage_scroll_depth",UTM_SESSION:"utm_session",REFERRER_CAPTURED:"referrer_captured",LANDING_PAGE_VIEWED:"landing_page_viewed",DOWNLOAD_CTA_CLICKED:"download_cta_clicked",PLATFORM_STORE_LINK_OPENED:"platform_store_link_opened",EXTENSION_STORE_LINK_OPENED:"extension_store_link_opened",TEMP_FILE_SECTION_VIEWED:"temp_file_section_viewed",HOW_IT_WORKS_STEP_VIEWED:"how_it_works_step_viewed",FAQ_ITEM_EXPANDED:"faq_item_expanded",HELP_ARTICLE_VIEWED:"help_article_viewed",HELP_ARTICLE_READ:"help_article_read",HELP_ENTRY_CLICKED:"help_entry_clicked",HELP_DEMO_PLAYED:"help_demo_played"},Kc=()=>"undefined"!=typeof window&&$c.includes(window.location.hostname);let Qc=!1;const Gc=(e,t={})=>{Kc()?(Qc||Jc(),Qc&&Qs(e,t)):Wc("log","[Analytics Dev]",e,t)},Yc=(e,t)=>{if(!Kc())return;if(Qc||Jc(),!Qc)return;const n=new Wt;n.set(e,t),Ds(n)},Jc=()=>
11{if(Qc)return;const e=Kc();if("undefined"!=typeof window&&(Wc("log","[Analytics Debug] hostname:",window.location.hostname),Wc("log","[Analytics Debug] isProduction:",e),Wc("log","[Analytics Debug] Amplitude initialised:",void 0!==Gs)),!e)return void Wc("log","[Analytics] Dev mode - logging only");const t=new Bc({sampleRate:1});Ts(t),zs("d4b1087ddf67dbb66057bc25e84b3754",{defaultTracking:{sessions:!0,pageViews:!0,formInteractions:!1,fileDownloads:!1},logLevel:Gt.Warn}),Qc=!0,Wc("log","[Analytics] Initialised on",window.location.hostname);const n=new URLSearchParams(window.location.search),r=n.get("utm_source"),i=n.get("utm_medium"),o=n.get("utm_campaign");if(r||i||o){const e=new Wt;r&&e.setOnce("utm_source",r),i&&e.setOnce("utm_medium",i),o&&e.setOnce("utm_campaign",o),Ds(e),Gc(Hc.UTM_SESSION,{utm_source:null!=r?r:"none",utm_medium:null!=i?i:"none",utm_campaign:null!=o?o:"none"})}if(document.referrer)try{Gc(Hc.REFERRER_CAPTURED,{referrer:document.referrer,referrer_domain:new URL(document.referrer).hostname})}catch(a){Gc(Hc.REFERRER_CAPTURED,{referrer:document.referrer,referrer_domain:"invalid_referrer"})}},Xc=()=>{const e=(()=>{const e=s.useCallback(()=>"undefined"!=typeof window&&Kc(),[]),t=s.useCallback((e,t={})=>{Gc(e,t)},[]),n=s.useCallback(e=>{Object.entries(e||{}).forEach(([e,t])=>{null!=t&&Yc(e,t)})},[]),r=s.useCallback((e,t={})=>{e&&Yc("user_id",e),n(t)},[n]),i=s.useCallback((e,n={})=>{t("Page Viewed",{page_name:e,page_url:"undefined"!=typeof window?window.location.href:"",...n})},[t]),o=s.useCallback((e,n={})=>{t("Button Clicked",{button_name:e,...n})},[t]),a=s.useCallback((e,n={})=>{t("Form Submitted",{form_name:e,...n})},[t]),l=s.useCallback((e,n={})=>{t("Download Started",{download_name:e,...n})},[t]);return{trackEvent:t,setUserProperties:n,identify:r,trackPageView:i,trackButtonClick:o,trackFormSubmission:a,trackDownload:l,isAmplitudeAvailable:e,getUserId:()=>null,getSessionId:()=>null,health:Kc()?{status:"healthy"}:{status:"skipped_non_production"}}})(),t=s.useCallback(t=>{ot()&&Ze.trackPageView(t),e.trackPageView(t)},[e]),n=s.useCallback((t,n,r={})=>{ot()&&Ze.trackButtonClick(n,t,r.section||"unknown"),e.trackButtonClick(n,{element_id:t,section:r.section||"unknown",...r})},[e]),r=s.useCallback(t=>{ot()&&Ze.trackFormInteraction(t,"form_start"),e.trackEvent("Form Started",{form_name:t})},[e]),i=s.useCallback((t,n=!0,r={})=>{ot()&&(Ze.trackFormInteraction(t,"form_submit",n),n&&"beta_waitlist"===t&&Ze.trackConversion("waitlist_signup")),e.trackFormSubmission(t,{success:n,...r})},[e]),o=s.useCallback((t,n={})=>{ot()&&Ze.trackEvent(t,{category:n.category||"custom",label:n.label||t,value:n.value,...n}),e.trackEvent(t,n)},[e]),a=s.useCallback((e,t={})=>o(e,t),[o]),l=s.useCallback(e=>{ot()&&Ze.trackScrollDepth(e)},[]),u=s.useCallback((e,t="")=>{ot()&&Ze.trackOutboundLink(e,t)},[]),c=s.useCallback((t,n="unknown")=>{ot()&&Ze.trackDownload(t,n),e.trackDownload(t,{file_type:n})},[e]),d=s.useCallback((e,t,n="performance")=>{ot()&&Ze.trackTiming(e,t,n)},[]),f=s.useCallback((t,n=null,r={})=>{ot()&&Ze.trackConversion(t,n),e.trackEvent("Conversion",{conversion_type:t,value:n,...r})},[e]),p=s.useCallback(e=>{e.name,e.value,e.rating,e.id,ot()&&Ze.trackEvent("web_vital",{category:"Web Vitals",label:e.name,value:Math.round(e.value)})},[]),h=s.useCallback((e,t,n={})=>{ot()&&Ze.trackTiming(e,t,"Performance")},[]),v=s.useCallback(async()=>{const t={google:{status:"unknown"},amplitude:{status:"unknown"}};try{t.google="undefined"!=typeof window&&window.gtag?{status:"healthy",message:"Google Analytics available"}:{status:"unavailable",message:"Google Analytics not loaded"}}catch(n){t.google={status:"error",message:n.message}}try{t.amplitude=e.health||{status:"unknown",message:"Amplitude status unknown"}}catch(n){t.amplitude={status:"error",message:n.message}}return t},[e]),g=s.useCallback(()=>({consent:ot(),systems:{google:"undefined"!=typeof window&&!!window.gtag,amplitude:e.isAmplitudeAvailable()},config:{amplitude:{user_id:e.getUserId(),session_id:e.getSessionId()}}}),[e]);return{trackPageView:t,trackClick:n,trackFormStart:r,trackFormSubmit:i,trackCustomEvent:o,trackEvent:a,trackScrollDepth:l,trackOutboundLink:u,trackDownload:c,trackTiming:d,trackConversion:f,trackWebVitals:p,trackPerformance:h,getAnalyticsHealth:v,debugAnalytics:g,googleAnalytics:Ze,amplitude:e}},Zc=({title:e,description:t,keywords:n,canonicalUrl:r,ogImage:o,ogType:a="website",twitterCard:s="summary_large_image",noindex:l=!1})=>{const u=e||"iLinkVault — AI Bookmark Manager for iOS & Android | Private Vault & Browser Extension Sync",c=t||"Save links from any app, ask AI to find them instantly, and keep sensitive bookmarks private. iLinkVault works on iOS and Android with Chrome browser extension sync. Free to start.",d=n||"read later app, save links, iOS widget, web clipper, ai bookmark organizer, bookmark manager app, link organizer, save bookmarks, organize links, productivity app, link management, bookmark sync, digital bookmarking, mobile bookmark app, free bookmark manager, link vault",f="https://www.ilinkvault.com",p=r?r.startsWith("http")?r:`${f}${r}`:f,h=`${f}/og-image.png`,v=o?o.startsWith("http")?o:`${f}${o}`:h;return i.jsxs(Xe,{children:[i.jsx("title",{children:u}),i.jsx("meta",{name:"description",content:c}),i.jsx("meta",{name:"keywords",content:d}),i.jsx("link",{rel:"canonical",href:p}),i.jsx("meta",{name:"author",content:"iLinkVault Team"}),l?i.jsx("meta",{name:"robots",content:"noindex"}):i.jsx("meta",{name:"robots",content:"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1"}),i.jsx("meta",{property:"og:type",content:a}),i.jsx("meta",{property:"og:url",content:p}),i.jsx("meta",{property:"og:title",content:u}),i.jsx("meta",{property:"og:description",content:c}),i.jsx("meta",{property:"og:image",content:v}
11),i.jsx("meta",{property:"og:image:width",content:"1200"}),i.jsx("meta",{property:"og:image:height",content:"630"}),i.jsx("meta",{property:"og:site_name",content:"iLinkVault"}),i.jsx("meta",{property:"og:locale",content:"en_US"}),i.jsx("meta",{name:"twitter:card",content:s}),i.jsx("meta",{name:"twitter:url",content:p}),i.jsx("meta",{name:"twitter:title",content:u}),i.jsx("meta",{name:"twitter:description",content:c}),i.jsx("meta",{name:"twitter:image",content:v}),i.jsx("meta",{name:"twitter:site",content:"@iLinkVault"}),i.jsx("meta",{name:"twitter:creator",content:"@iLinkVault"})]})},ed=({title:e,description:t,datePublished:n,dateModified:r=null,authorName:o="iLinkVault Team",authorUrl:a="https://www.ilinkvault.com/about",imageUrl:s,url:l})=>{const u={"@context":"https://schema.org","@type":"BlogPosting",mainEntityOfPage:{"@type":"WebPage","@id":l},headline:e,description:t,image:s,author:{"@type":"Person",name:o,url:a},publisher:{"@type":"Organization",name:"iLinkVault",logo:{"@type":"ImageObject",url:"https://www.ilinkvault.com/iLinkVault-Main-Logo.png"}},datePublished:n,dateModified:r||n};return i.jsx(Xe,{children:i.jsx("script",{type:"application/ld+json",children:JSON.stringify(u)})})},td=({faqs:e})=>{const t={"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))};return i.jsx(Xe,{children:i.jsx("script",{type:"application/ld+json",children:JSON.stringify(t)})})},nd=({items:e})=>{const t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.url}))};return i.jsx(Xe,{children:i.jsx("script",{type:"application/ld+json",children:JSON.stringify(t)})})},rd=({name:e,description:t,steps:n,totalTime:r})=>{const o={"@context":"https://schema.org","@type":"HowTo",name:e,description:t,...r&&{totalTime:r},step:n.map((e,t)=>({"@type":"HowToStep",position:t+1,name:e.name,text:e.text,...e.image&&{image:e.image}}))};return i.jsx(Xe,{children:i.jsx("script",{type:"application/ld+json",children:JSON.stringify(o)})})},id=[{question:"How does iLinkVault help you find links you saved?",answer:"iLinkVault's Ask Your Vault feature lets you type any question in plain English — like 'What did I save about React performance?' — and instantly shows your matching saved links. No folders, no tags needed."},{question:"What is iLinkVault's Private Vault?",answer:"The Private Vault hides sensitive link collections behind a separate PIN. They disappear completely from the main view and stay invisible until you unlock them — even the count is hidden."},{question:"Can iLinkVault save links from screenshots?",answer:"Yes. Point your camera at any screen — a webpage, tweet, poster, or magazine. iLinkVault's AI reads the image, extracts the link, and saves it automatically. No typing needed."},{question:"Does iLinkVault work on both iPhone and Android?",answer:"Yes. iLinkVault is available on iOS (iPhone and iPad) and Android. Your links sync across all devices automatically. A Chrome browser extension is also available for desktop."}],od=({faqs:e=id})=>i.jsx(td,{faqs:e}),ad=s.createContext(null),sd=e=>({id:null,email:e,display_name:null,subscription_tier:"free",subscription_status:"active",dodo_customer_id:null});function ld(){const e=s.useContext(ad);if(!e)throw new Error("useAuth must be used within an AuthProvider");return e}function ud({children:e}){const[t,n]=s.useState(null),[r,o]=s.useState(null),[a,l]=s.useState(null),[u,c]=s.useState(!1),[d,f]=s.useState(!0),p=s.useRef(null),h=s.useCallback(async(e,t,n)=>{var r;const i=null==(r=null==e?void 0:e.email)?void 0:r.trim().toLowerCase();if(!i)return l(null),null;c(!0);try{if(null==t?void 0:t.access_token){const e=await fetch("/api/account-profile",{headers:{Authorization:`Bearer ${t.access_token}`}});if(e.ok){const t=(await e.json()).profile||sd(i);return l(t),t}}const{data:r,error:o}=await n.from("linkvault_users").select("id, email, display_name, subscription_tier, subscription_status, dodo_customer_id").or(`id.eq.${e.id},email.ilike.${i}`).limit(2);if(o)return l(null),null;const a=(r||[]).find(t=>
11t.id===e.id)||(r||[]).find(e=>{var t;return(null==(t=e.email)?void 0:t.toLowerCase())===i})||sd(i);return l(a),a}catch(o){return l(null),null}finally{c(!1)}},[]),v=s.useCallback(async()=>(null==t?void 0:t.email)&&r&&p.current?h(t,r,p.current):null,[h,r,t]);s.useEffect(()=>{let e,t;return e=setTimeout(()=>f(!1),5e3),b(async()=>{const{supabase:e}=await import("./supabaseClient-O-4cldbu.js");return{supabase:e}},__vite__mapDeps([8,4,3])).then(({supabase:r})=>{p.current=r,r.auth.getSession().then(({data:{session:t}})=>{var i,a;o(t),n(null!=(i=null==t?void 0:t.user)?i:null),(null==(a=null==t?void 0:t.user)?void 0:a.email)?h(t.user,t,r).finally(()=>{clearTimeout(e),f(!1)}):(clearTimeout(e),f(!1))}).catch(()=>{clearTimeout(e),f(!1)});const{data:i}=r.auth.onAuthStateChange(async(t,i)=>{var a,s;o(i),n(null!=(a=null==i?void 0:i.user)?a:null),"SIGNED_OUT"===t?(l(null),c(!1)):(null==(s=null==i?void 0:i.user)?void 0:s.email)&&await h(i.user,i,r),clearTimeout(e),f(!1)});t=i.subscription}).catch(()=>{clearTimeout(e),f(!1)}),()=>{clearTimeout(e),null==t||t.unsubscribe()}},[h]);const g={user:t,session:r,profile:a,loading:d,signIn:async(e,t)=>{const n=p.current;if(!n)return{data:null,error:new Error("Auth not ready")};const{data:r,error:i}=await n.auth.signInWithPassword({email:e,password:t});return{data:r,error:i}},signUp:async(e,t)=>{const n=p.current;if(!n)return{data:null,error:new Error("Auth not ready")};const{data:r,error:i}=await n.auth.signUp({email:e,password:t});return{data:r,error:i}},signOut:async()=>{const e=p.current;if(!e)return{error:null};const{error:t}=await e.auth.signOut();return t||(n(null),o(null),l(null)),{error:t}},refreshProfile:v,profileLoading:u};return i.jsx(ad.Provider,{value:g,children:e})}const cd={href:"/download",label:"Get the App",external:!1},dd=({navItems:e=[],cta:t=cd})=>{var n;const[r,l]=s.useState(!1),[f,p]=s.useState(!1),[h,v]=s.useState(!1),[g,m]=s.useState(!1),[y,b]=s.useState(!1),w=s.useRef(null),k=u(),S=c(),{user:x,signOut:_}=ld();s.useEffect(()=>{const e=()=>{const e=window.scrollY>20;p(t=>t===e?t:e)},t=()=>v(window.innerWidth<1024);return e(),t(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",t),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",t)}},[]),s.useEffect(()=>{const e=e=>{w.current&&!w.current.contains(e.target)&&m(!1)};return g&&document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[g]),s.useEffect(()=>{l(!1)},[k.pathname]);const P=e=>{if(e.sectionId){if("/"===k.pathname||"/home"===k.pathname){const t=document.getElementById(e.sectionId);if(t)return t.scrollIntoView({behavior:"smooth"}),void l(!1)}window.location.href=`/#${e.sectionId}`}else e.href&&l(!1)},I=async()=>{if(y)return;b(!0),m(!1),l(!1);const{error:e}=await _();b(!1),e||S("/",{replace:!0})};return i.jsxs("header",{className:"fixed left-0 right-0 top-0 z-[100] transition-all duration-500 px-4 sm:px-6 lg:px-8 "+(f?"pt-4":"pt-6"),children:[i.jsx("div",{className:"container mx-auto rounded-[2rem] border px-5 sm:px-8 backdrop-blur-xl transition-[background-color,border-color,box-shadow,padding,max-width] duration-500 "+(f?"max-w-6xl bg-slate-950/88 border-white/10 shadow-2xl py-3":"max-w-7xl bg-slate-950/45 border-transparent shadow-none py-4"),children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs(d,{to:"/",className:"flex min-w-fit items-center gap-3 group",children:[i.jsxs("div",{className:"relative",children:[i.jsxs("picture",{children:[i.jsx("source",{srcSet:"/iLinkVault-Main-Logo.webp",type:"image/webp"}),i.jsx("img",{src:"/iLinkVault-Main-Logo.png",alt:"iLinkVault Logo",className:"h-10 w-auto group-hover:scale-110 transition-transform duration-300",width:"40",height:"40",fetchPriority:"high"})]}),i.jsx("div",{className:"absolute inset-0 bg-cyan-400/20 blur-xl opacity-0 group-hover:opacity-100 transition-opacity"})]}),i.jsx("span",{className:"text-xl font-black text-white tracking-tighter",children:"iLinkVault"})]}),!h&&i.jsx("nav",{className:"flex min-w-0 items-center gap-5 xl:gap-8",children:e.map(e=>i.jsx("div",{children:e.href?i.jsxs(d,{to:e.href,className:"text-sm font-bold text-slate-400 hover:text-white transition-colors relative group",children:[e.label,i.jsx("span",{className:"absolute -bottom-1 left-0 w-0 h-px bg-cyan-500 transition-all duration-300 group-hover:w-full"})]}):i.jsxs("button",{onClick:()=>P(e),className:"text-sm font-bold text-slate-400 hover:text-white transition-colors relative group",children:[e.label,i.jsx("span",{className:"absolute -bottom-1 left-0 w-0 h-px bg-cyan-500 transition-all duration-300 group-hover:w-full"})]})},e.label))}),i.jsxs("div",{className:"flex min-w-fit items-center gap-4",children:[!h&&i.jsxs("div",{className:"flex items-center gap-4",children:[x?i.jsxs("div",{className:"relative",ref:w,children:[i.jsx("button",{onClick:()=>m(!g),className:"flex h-10 w-10 items-center justify-center rounded-full bg-white/5 border border-white/10 hover:bg-white/10 transition-colors",children:i.jsx("span",{className:"font-bold text-white text-xs",children:null==(n=x.email)?void 0:n.charAt(0).toUpperCase()})}),i.jsx(o,{children:g&&i.jsxs(a.div,{initial:{opacity:0,y:10,scale:.95}
11,animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:10,scale:.95},className:"absolute right-0 mt-4 w-56 glass-card border-white/10 p-2 shadow-2xl rounded-2xl",children:[i.jsxs("div",{className:"px-4 py-3 border-b border-white/5 mb-2",children:[i.jsx("p",{className:"text-xs font-bold text-slate-500 uppercase tracking-widest mb-1",children:"Account"}),i.jsx("p",{className:"text-sm font-bold text-white truncate",children:x.email})]}),i.jsxs("button",{type:"button",onClick:I,disabled:y,className:"w-full flex items-center gap-3 px-4 py-2.5 text-sm font-bold text-slate-400 hover:text-red-400 hover:bg-red-500/10 rounded-xl transition-all disabled:cursor-not-allowed disabled:opacity-60",children:[i.jsx(E,{className:"h-4 w-4"})," ",y?"Signing Out...":"Sign Out"]})]})})]}):i.jsx(d,{to:"/login",className:"text-sm font-bold text-slate-400 hover:text-white transition-colors px-4",children:"Login"}),i.jsx("a",{href:t.href,target:t.external?"_blank":"_self",rel:t.external?"noopener noreferrer":"",className:"inline-flex items-center justify-center rounded-full bg-white px-6 py-2.5 text-sm font-black text-slate-950 hover:scale-105 active:scale-95 transition-all shadow-xl",children:t.label})]}),h&&i.jsx("button",{onClick:()=>l(!r),"aria-label":r?"Close navigation menu":"Open navigation menu","aria-expanded":r,className:"h-10 w-10 flex items-center justify-center rounded-full bg-slate-950/70 border border-white/15 text-white shadow-lg backdrop-blur-md",children:r?i.jsx(C,{className:"h-5 w-5"}):i.jsx(T,{className:"h-5 w-5"})})]})]})}),i.jsx(o,{children:r&&h&&i.jsx(a.div,{initial:{opacity:0,y:-20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},className:"absolute top-full left-4 right-4 mt-4 rounded-3xl border border-white/10 bg-slate-950/95 p-6 shadow-2xl backdrop-blur-xl overflow-hidden",children:i.jsxs("div",{className:"space-y-6",children:[e.map(e=>i.jsx("div",{children:e.href?i.jsx(d,{to:e.href,className:"block w-full text-left text-lg font-black text-white",children:e.label}):i.jsx("button",{onClick:()=>P(e),className:"block w-full text-left text-lg font-black text-white",children:e.label})},e.label)),i.jsxs("div",{className:"pt-6 border-t border-white/5 space-y-4",children:[x?i.jsxs("button",{type:"button",onClick:I,disabled:y,className:"w-full flex items-center justify-between text-lg font-black text-red-400 disabled:cursor-not-allowed disabled:opacity-60",children:[y?"Signing Out...":"Sign Out"," ",i.jsx(E,{className:"h-5 w-5"})]}):i.jsx(d,{to:"/login",className:"block text-lg font-black text-white",children:"Login"}),i.jsx("a",{href:t.href,target:t.external?"_blank":"_self",rel:t.external?"noopener noreferrer":"",className:"flex items-center justify-center w-full rounded-2xl bg-white py-4 text-lg font-black text-slate-950",children:t.label})]})]})})})]})},fd=(e="")=>"/"===e||"/home"===e?"homepage":"/send-files-phone-to-computer"===e?"temp_file_sync":"/download"===e?"download":"/pricing"===e?"pricing":e.startsWith("/vs-")?"comparison":e.startsWith("/features")?"feature":"other",pd=()=>{if("undefined"==typeof window)return{};const e=new URLSearchParams(window.location.search);let t="";try{t=document.referrer?new URL(document.referrer).hostname:""}catch(n){t="invalid_referrer"}return{referrer_domain:t,utm_source:e.get("utm_source")||"",utm_medium:e.get("utm_medium")||"",utm_campaign:e.get("utm_campaign")||""}},hd=e=>{const t="undefined"!=typeof window?window.location.pathname:"";Gc("landing_page_viewed",{page_path:t,landing_variant:e||fd(t),...pd()})},vd=({href:e,children:t,ctaLocation:n,ctaLabel:r,targetPlatform:o="unknown",store:a,landingVariant:s,className:l,...u})=>i.jsx("a",{href:e,className:l,onClick:i=>{var l;(({cta_location:e,cta_label:t,target_platform:n,landing_variant:r})=>{const i="undefined"!=typeof window?window.location.pathname:"";Gc("download_cta_clicked",{cta_location:e,cta_label:t,target_platform:n,page_path:i,landing_variant:r||fd(i)})})({cta_location:n,cta_label:r||("string"==typeof t?t:"CTA"),target_platform:o,landing_variant:s}),e&&"#"!==e&&a&&(({target_platform:e,store:t,cta_location:n})=>{const r="undefined"!=typeof window?window.location.pathname:"",i=["ios","android"].includes(e)?"platform_store_link_opened":"extension_store_link_opened";Gc(i,{target_platform:e,store:t,cta_location:n,page_path:r})})({target_platform:o,store:a,cta_location:n}),null==(l=u.onClick)||l.call(u,i)},...u,children:t}),gd="/download?utm_source=website&utm_medium=cta&utm_campaign=hero",md=({isIOS:e,isAndroid:t})=>e?{primary:{label:"Download for iPhone",platform:"ios"},showChromeCta:!1,secondaryPlatforms:["android","chrome"],secondaryLabel:"Also available on",showQrPanel:!1}:t?{primary:{label:"Download for Android",platform:"android"},showChromeCta:!1,secondaryPlatforms:["ios","chrome"],secondaryLabel:"Also available on",showQrPanel:!1}:{primary:{label:"Download Free",platform:"mobile"},showChromeCta:!0,secondaryPlatforms:["ios","android"],secondaryLabel:"Get the mobile app",showQrPanel:!0},yd=({className:e})=>
11i.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:e,children:i.jsx("path",{d:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701"})}),bd=({className:e})=>i.jsxs("svg",{viewBox:"0 0 24 24",className:e,"aria-hidden":"true",children:[i.jsx("path",{fill:"#34A853",d:"M3.7 2.2c-.35.38-.55.96-.55 1.7v16.2c0 .74.2 1.32.55 1.7l.08.08L12.88 12 3.78 2.12l-.08.08z"}),i.jsx("path",{fill:"#FBBC04",d:"m15.92 8.72-3.04 3.29 3.04 3.29.07-.04 3.6-2.08c1.03-.6 1.03-1.56 0-2.16l-3.6-2.08-.07-.04z"}),i.jsx("path",{fill:"#4285F4",d:"m15.99 8.76-3.11 3.25-9.1-9.89c.55-.58 1.45-.65 2.46-.07l9.75 5.63z"}),i.jsx("path",{fill:"#EA4335",d:"m15.99 15.24-9.75 5.63c-1.01.58-1.91.51-2.46-.07l9.1-8.8 3.11 3.24z"})]}),wd={ios:yd,android:bd,chrome:P},kd=({location:e,label:t,platform:n,href:r=gd,onClick:o,className:a="inline-flex min-h-14 items-center justify-center gap-3 rounded-xl bg-gradient-to-r from-sky-500 to-blue-500 px-8 py-3 text-base font-bold text-white shadow-xl shadow-sky-500/25 transition hover:brightness-110 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-cyan-300 active:scale-95 sm:w-auto"})=>{const s=wd[n]||I;return i.jsxs(vd,{href:r,ctaLocation:e,ctaLabel:t,targetPlatform:n,onClick:o,className:a,children:[i.jsx(s,{className:"h-5 w-5 shrink-0"}),t]})},Sd="https://apps.apple.com/us/app/ilinkvault/id6748842376",xd="https://apps.apple.com/in/app/ilinkvault/id6766552903?mt=12",_d="https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app",Ed="https://chromewebstore.google.com/detail/ilinkvault/fmecdcbhpgfnaggogbfdcfghgbejkbok",Cd={hero:"https://apps.apple.com/us/app/ilinkvault/id6748842376?utm_source=website&utm_medium=cta&utm_campaign=hero",header:"https://apps.apple.com/us/app/ilinkvault/id6748842376?utm_source=website&utm_medium=cta&utm_campaign=header",sticky:"https://apps.apple.com/us/app/ilinkvault/id6748842376?utm_source=website&utm_medium=cta&utm_campaign=sticky",finalCta:"https://apps.apple.com/us/app/ilinkvault/id6748842376?utm_source=website&utm_medium=cta&utm_campaign=final_cta",pricing:"https://apps.apple.com/us/app/ilinkvault/id6748842376?utm_source=website&utm_medium=cta&utm_campaign=pricing",footer:"https://apps.apple.com/us/app/ilinkvault/id6748842376?utm_source=website&utm_medium=cta&utm_campaign=footer",download:"https://apps.apple.com/us/app/ilinkvault/id6748842376?utm_source=website&utm_medium=cta&utm_campaign=download"},Td={hero:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app&utm_source=website&utm_medium=cta&utm_campaign=hero",header:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app&utm_source=website&utm_medium=cta&utm_campaign=header",sticky:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app&utm_source=website&utm_medium=cta&utm_campaign=sticky",finalCta:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app&utm_source=website&utm_medium=cta&utm_campaign=final_cta",pricing:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app&utm_source=website&utm_medium=cta&utm_campaign=pricing",footer:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app&utm_source=website&utm_medium=cta&utm_campaign=footer",download:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app&utm_source=website&utm_medium=cta&utm_campaign=download"},Pd={extension:"https://chromewebstore.google.com/detail/ilinkvault/fmecdcbhpgfnaggogbfdcfghgbejkbok?utm_source=website&utm_medium=cta&utm_campaign=extension_section"},Id={playStoreUrl:"https://play.google.com/store/apps/details?id=com.gs.ilinkvault.app",playStoreActive:!0,seo:{title:"iLinkVault — AI Bookmark Manager for Saved Links",description:"Save links, articles, tools, videos, and research sources in one private vault. Find the right link later with AI — even when you only remember the idea."},header:{navItems:[{label:"File Transfer",href:"/send-files-phone-to-computer"},{label:"AI Search",sectionId:"ai-demo"},{label:"How It Works",sectionId:"how-it-works"},{label:"Use Cases",sectionId:"use-cases"}
11,{label:"Pricing",sectionId:"pricing-snapshot"},{label:"Blog",href:"/blog"}],cta:{label:"Downloads",href:"/download",external:!1}},hero:{badge:"PRIVATE LINK VAULT",headline:"Save it once. Find it when you need it.",subheadline:"Keep links, articles, notes, and research in one private vault. Find anything by topic, memory, or intent with AI.",primaryCta:{label:"App Store",href:Cd.hero,external:!0,platform:"ios"},secondaryCta:{label:"Add to Chrome",href:"https://chromewebstore.google.com/detail/ilinkvault/fmecdcbhpgfnaggogbfdcfghgbejkbok",external:!0},featureStrip:[{icon:"Archive",title:"Save anything",description:"Links, articles, tools, and research sources"},{icon:"Search",title:"AI finds it later",description:"Search by memory, topic, or intent"},{icon:"Globe",title:"Collections & sharing",description:"Share link packs privately or publicly"},{icon:"ShieldCheck",title:"Private by default",description:"Your vault stays yours"}]},phoneToChrome:{title:"Need to move something quickly?",subtitle:"Send text or temporary files from your phone to browser when you need a fast handoff. Files are temporary and completely separate from your saved link vault — they expire automatically after 24 hours.",cards:[{title:"Text Bridge",description:"Send text snippets, URLs, or notes from mobile directly to your Chrome browser — no copy-
11paste across devices."},{title:"Send to Chrome",description:"Choose any file from Photos or Files on your phone and open it instantly in your desktop Chrome session."},{title:"Auto-expires in 24h",description:"Temporary files are securely deleted automatically — no lingering data, no cloud storage needed."}]},aiDemo:{eyebrow:"AI search demo",title:"Search your links like you think, not like folders",description:"The core promise is simple: describe the link the way you remember it, and your vault brings it back immediately.",proofLabel:"Natural language search",helperText:"Try topic, timeframe, source, or intent",queries:[{text:"that startup idea article about AI agents",shortLabel:"AI agents article"},{text:"video about building SaaS with Supabase",shortLabel:"Supabase SaaS video"},{text:"design inspiration from last month",shortLabel:"Design inspiration"}],defaultQuery:"that startup idea article about AI agents",resultsByQuery:{"that startup idea article about AI agents":[{title:"Vertical SaaS with AI Agents",source:"a16z.com",tag:"Founders",description:"Market map, use-case framing, and rollout lessons for founder-led AI products."},{title:"Agent Workflow Notes",source:"notion.site",tag:"Research",description:"Saved notes on orchestration patterns, memory layers, and agent task design."},{title:"AI Agent Tools List",source:"github.com",tag:"Tools",description:"Open-source frameworks, demos, and benchmarks worth revisiting later."}],"video about building SaaS with Supabase":[{title:"Build a SaaS Starter with Supabase",source:"youtube.com",tag:"Video",description:"A full walkthrough covering auth, schema setup, and billing integration."},{title:"Supabase Production Setup Guide",source:"supabase.com",tag:"Docs",description:"Notes on environment setup, row-level security, and deployment patterns."},{title:"SaaS Boilerplate Example Repo",source:"github.com",tag:"Code",description:"Saved reference repo for auth flows, onboarding, and payment handoff."}],"design inspiration from last month":[{title:"Editorial Landing Page References",source:"dribbble.com",tag:"Inspiration",description:"High-contrast landing pages with strong hierarchy and confident typography."},{title:"Onboarding Flow Patterns",source:"mobbin.com",tag:"UX",description:"Saved mobile onboarding examples with clean progress and low friction."},{title:"Product UI Gallery",source:"refero.design",tag:"Gallery",description:"Layouts, card spacing, and premium interaction references from last month."}]},cta:{label:"Try iLinkVault Free",href:Cd.hero,external:!0,supportText:"Takes seconds to start."}},socialProof:{stats:[{label:"700+ Downloads"},{label:"5★ Rated"},{label:"iOS & Android"},{label:"Browser Extension"}]},howItWorks:{eyebrow:"How it works",title:"Save once. Let AI understand it. Find it later naturally.",description:"The workflow stays lightweight because the retrieval is the real product, not the filing system.",steps:[{title:"Save links from the apps you already use",description:"Articles, tools, repos, videos, tweets, and research sources all land in one vault without extra setup."},{title:"AI understands the context behind each save",description:"Your vault captures topics, sources, and intent so you do not need to remember exact titles or folder names."},{title:"Search by memory when you need it back",description:"Ask for the thing you vaguely remember and retrieve it instantly instead of searching the web again."}],visual:{webpSrc:"/App-Screens/ask-ai.png",pngSrc:"/App-Screens/ask-ai.png",alt:"iLinkVault AI-powered search interface showing Ask AI feature"}},useCases:{eyebrow:"Use cases",title:"Different workflows. Same retrieval and sharing problem.",description:"iLinkVault is most valuable for people who save aggressively, organize resources into collections, and later need one specific link back at speed.",items:[{title:"Founders",description:"Store startup ideas, competitors, GTM notes, and tools in one searchable place.",bullets:["Find research right before a pitch or planning session.","Keep idea fragments retrievable instead of scattered across tabs and notes."]},{title:"Developers",description:"Save reference links, repos, bug-fix pages, and docs URLs without losing the one you need later.",bullets:["Search by stack, error context, or what the article helped you solve.","Bring back reference links without rebuilding the query from scratch."]},{title:"Students & researchers",description:"Group class resources, research references, lesson links, useful videos, articles, and tools.",bullets:["Keep private collections for drafts, coursework, and in-progress research.","Share selected collections with classmates, students, or colleagues by link or QR code."]}]},emotionalHook:{eyebrow:"The real problem",title:"Be honest about what happens to saved links",lines:["You've saved hundreds of links.","You remember almost none of them.","So you search Google again."],closingLine:"That's not saving. That's losing slowly.",cta:{label:"Fix this with iLinkVault",href:Cd.finalCta,external:!0}},featureReframing:{eyebrow:"Why it matters",title:"Features only matter when they keep knowledge usable",description:"The product is built around retrieval outcomes first, with collection visibility controls for private work, selected collaborators, and Discover.",items:[{title:"AI search",description:"Retrieve a saved link from partial memory, not from perfect labels or manual filing."},{title:"Private, shared, or public collections",description:"Create collections for c
11ourses, research, projects, reading lists, resources, and favorites. Keep them private, share with selected people, or publish eligible collections to Discover after automatic checks."},{title:"Collaboration and Discover safety",description:"Invite collaborators or share access with a link or QR code. Public collections are checked automatically, and users can report public collections or links that violate iLinkVault guidelines."}]},browserExtension:{eyebrow:"Desktop access",title:"Your saved memory should be available where you work",description:"Use the browser extension to retrieve the same links while you are already in docs, tabs, and research flow.",bullets:["Keep retrieval available on desktop without rebuilding your system elsewhere.","Jump from saved context to action while you are already in the browser."],cta:{label:"Explore Browser Extension",href:"/features/browser-extension",external:!1}},objections:{eyebrow:"Why this instead",title:"The alternatives break down at retrieval time",description:"This section answers the questions that show up after the value is clear but before the signup happens.",items:[{title:"Why not just bookmarks?",description:"Because bookmarks store links. They don't help you retrieve them.",bullets:["Folders and tabs help you save. iLinkVault helps you find.","Search by what you remember, not where you filed it.","The goal is not storing more links. The goal is losing fewer of them."]}
11,{title:"How is this different from Notion?",description:"Notion is a workspace. iLinkVault is purpose-built for saved-link retrieval.",bullets:["No database setup.","No manual tagging workflow required.","Built for instant lookup, not ongoing organization overhead."]},{title:"Does this actually work?",description:"The value shows up in the exact kinds of vague queries real users make.",bullets:["Search by partial memory.","Search by topic, source, timeframe, or purpose.","The homepage proves retrieval before asking for signup."]}],comparisonStrip:[{label:"Bookmarks",value:"save"},{label:"Notion",value:"organize"},{label:"iLinkVault",value:"retrieve"}]},trust:{eyebrow:"Trust",title:"Serious enough for daily knowledge. Simple enough to use immediately.",description:"The trust story is about relief: less re-searching, less forgotten context, and clearer choices around what stays private, shared, or public.",featuredTestimonial:{quote:"I used to save links and lose them inside my own system. With iLinkVault, I can search the way I remember and get back into flow almost instantly.",name:"Laurensassets",role:"App Store Review"},testimonials:[{quote:"This replaced my habit of dumping links into Notes. Now I can actually retrieve the reference I meant to keep.",name:"Rina Patel",role:"Product designer"},{quote:"I save docs, repos, and bug-fix threads all day. iLinkVault is the first tool that makes those saves reusable later.",name:"Marcus Lee",role:"Indie developer"}],trustPoints:[{title:"Private by default",description:"Private collections are only visible to you unless you choose to share or publish them."},{title:"A safer Discover experience",description:"Public collections are checked for restricted content before appearing in Discover and may be reviewed, blocked, removed, or reported."},{title:"Clear sharing controls",description:"Share links and QR codes provide access based on the collection settings you choose."}],screenshot:{webpSrc:"/App-Screens/screenshot-2.webp",pngSrc:"/App-Screens/screenshot-2.png",alt:"iLinkVault saved links interface on mobile"}},pricingSnapshot:{eyebrow:"Pricing snapshot",title:"Free to start. Upgrade only when the value is obvious.",description:"Pricing stays visible for decision-making without interrupting the main story.",supportText:"Start free. Upgrade only if it becomes essential.",tiers:[{title:"Free to start",detail:"Save up to 100 links and build the habit before paying anything."},{title:"Pro for unlimited + AI",detail:"Unlock unlimited links, AI retrieval, and advanced vault features.",highlighted:!0},{title:"Lifetime available",detail:"Prefer one purchase instead of a subscription? That option is there too."}],cta:{label:"See Full Pricing",href:"/pricing",external:!1}},faqLite:{eyebrow:"FAQ",title:"A few answers before you start",description:"These are the questions most likely to block the signup decision.",items:[{question:"Is it free to start?",answer:"Yes. You can start with the free tier and only upgrade when unlimited saving and AI retrieval become essential to your workflow.",helpLink:"/help/account-billing/free-vs-pro-vs-lifetime"},{question:"How is this different from bookmarks?",answer:"Bookmarks help you save a link. iLinkVault helps you retrieve it later by searching with memory, topic, source, or intent.",helpLink:"/help/finding-links/ask-your-vault"},{question:"Is my data private?",answer:"Private collections are not public. Shared collections are visible to selected recipients or collaborators, and Public/Discover collections are intended for the iLinkVault community after safety checks.",helpLink:"/help/privacy-security/what-the-ai-can-see"},{question:"How does Discover stay safer?",answer:"Public collections are checked automatically before appearing in Discover. Users can report public collections or links, and iLinkVault may review, block, restrict, or remove content that violates the Community Guidelines."},{question:"Does AI search actually work?",answer:"The retrieval flow is deterministic in the demo, but the core promise is real: the product is built around natural-language lookup instead of rigid folder recall.",helpLink:"/help/finding-links/ask-your-vault"},{question:"Can I use it across devices?",answer:"Yes. iLinkVault is available on mobile and also supports browser-extension access for retrieval while you work on desktop.",helpLink:"/help/getting-started/install-ilinkvault"}]},finalCta:{headline:"Start building your second brain for links",body:"Save once, retrieve instantly, and stop recreating searches for things you already found before.",primaryCta:{label:"Start building your second brain for links",href:Cd.pricing,external:!0},secondaryCta:{label:"See Full Pricing",href:"/pricing",external:!1},supportLines:["No complicated setup","Save your first link in seconds"]},stickyCta:{label:"Get Started Free",href:Cd.sticky,external:!0,supportText:"Find saved links instantly"}},jd={ios:{label:"App Store",cardLabel:"iPhone / iPad",status:"available",href:Sd,store:"app_store"},android:{label:"Google Play",cardLabel:"Android",status:"available",href:_d,store:"play_store"},chrome:{label:"Chrome Extension",cardLabel:"Chrome Extension",status:"available",href:Ed,store:"chrome_web_store"},edge:{label:"Edge Extension",cardLabel:"Edge Add-ons",status:"coming_soon",href:null,store:"edge_addons"},firefox:{label:"Firefox Extension",cardLabel:"Firefox Add-ons",status:"coming_soon",href:null,store:"firefox_amo"},safari:{label:"Safari Extension",cardLabel:"Safari Extension",status:"hidden",href:null,store:"safari"},macos:{label:"macOS App",cardLabel:"macOS App",status:"hidden",href:null,store:"mac_app_store"}};Object.entries(jd).filter(([,e])=>"available"===e.status&&e.href).map(([e,t])=>({key:e,...t}));const Ad=(e,t="website")=>{var n;const r=null==(n=jd[e])?void 0:n.href;if(!r)return null;const i=r.includes("?")?"&":"?";return`${r}${i}utm_source=website&utm_medium=cta&utm_campaign=${t}`},Od=({location:e,label:t="Add to Chrome",platform:n="chrome",href:r,store:o=jd.chrome.store,onClick:a,className:s="inline-flex min-h-14 items-center justify-center gap-3 rounded-xl border border-emerald-400/80 bg-transparent px-7 py-3 text-base font-bold text-emerald-300 transition hover:bg-emerald-400/10 hover:text-emerald-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-emerald-300 active:scale-95 sm:w-auto"})=>i.jsxs(vd,{href:null!=r?r:Ad("chrome",e),target:"_blank",rel:"noopener noreferrer",ctaLocation:e,ctaLabel:t,targetPlatform:n,store:o,onClick:a,className:s,children:[i.jsx(P,{className:"h-5 w-5 shrink-0","aria-hidden":"true"}),t]}),Ld=({platform:e,location:t,onClick:n})=>{const r=jd[e],o=Ad(e,t);if(!r||"available"!==r.status||!o)return null;const a=wd[e];return i.jsxs(vd,{href:o,target:"_blank",rel:"noopener noreferrer",ctaLocation:t,ctaLabel:r.label,targetPlatform:e,store:r.store,onClick:n,className:"inline-flex min-h-11 items-center justify-center gap-2 rounded-lg border border-white/10 bg-white/5 px-3.5 py-2 text-xs font-semibold text-slate-400 transition hover:border-white/25 hover:bg-white/10 hover:text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cyan-300 active:scale-95",children:[i.jsx(a,{className:"h-4 w-4 shrink-0"}),r.label]})},Rd=({platforms:e=[],location:t,onBadgeClick:n})=>i.jsx(i.Fragment,{children:e.map(e=>i.jsx(Ld,{platform:e,location:t,onClick:n?()=>n(e):void 0},e))}),Nd=({location:e,href:t=gd,onClick:n,className:r="hero-qr-panel flex items-center gap-3 rounded-2xl border border-white/10 bg-white/5 p-2.5 shadow-2xl shadow-cyan-950/10 backdrop-blur transition hover:border-cyan-400/30 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-cyan-300"})=>i.jsxs(vd,{href:t,ctaLocation:e,ctaLabel:"Scan to get the app",targetPlatform:"mobile",onClick:n,className:r,children:[i.jsx("img",{src:"/download-app-qr.svg",alt:"QR code linking to the iLinkVault download page",className:"h-12 w-12 rounded-lg bg-white p-1 sm:h-14 sm:w-14",loading:"eager"}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-black text-white",children:"Scan to download"}),i.jsx("p",{className:"mt-1 max-w-[10rem] text-[11px] leading-relaxed text-slate-400",children:"iPhone & Android — free."})]})]});function Dd(){return s.useMemo(()=>
11{if("undefined"==typeof window||!(null==navigator?void 0:navigator.userAgent))return{isIOS:!1,isAndroid:!1,isDesktop:!0,isUnknown:!1};const e=navigator.userAgent,t=/iPhone|iPod/.test(e)||/iPad/.test(e)||/Macintosh/.test(e)&&"number"==typeof navigator.maxTouchPoints&&navigator.maxTouchPoints>1,n=/Android/.test(e);return{isIOS:t,isAndroid:n,isDesktop:!t&&!n,isUnknown:!1}},[])}const zd=({variants:e,location:t="hero",chromeCtaLabel:n="Add to Chrome",onChromeCtaClick:r})=>{const{isIOS:o,isAndroid:s}=Dd(),{primary:l,showChromeCta:u}=md({isIOS:o,isAndroid:s});return i.jsxs(a.div,{variants:e,className:"hero-cta-row mt-8 flex flex-col gap-3 sm:flex-row sm:items-center lg:flex-nowrap",children:[i.jsx(kd,{location:t,label:l.label,platform:l.platform}),u&&i.jsx(Od,{location:t,label:n,onClick:r})]})},Md=({variants:e,location:t="hero"})=>{const{isIOS:n,isAndroid:r}=Dd(),{secondaryPlatforms:o,secondaryLabel:s,showQrPanel:l}=md({isIOS:n,isAndroid:r});return i.jsxs(a.div,{variants:e,className:"mt-7",children:[i.jsx("p",{className:"mb-3 text-xs font-black uppercase tracking-[0.22em] text-slate-500",children:s}),i.jsxs("div",{className:"hero-download-row flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-stretch lg:flex-nowrap",children:[i.jsx("div",{className:"flex w-full flex-wrap items-center gap-2 sm:w-auto",children:i.jsx(Rd,{platforms:o,location:t})}),l&&i.jsx(Nd,{location:t})]})]})},Fd=({children:e})=>i.jsxs("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap",children:[i.jsx(j,{className:"h-3.5 w-3.5 text-emerald-400","aria-hidden":"true"}),e]}),Ud=["Free to start","No card required","iPhone · iPad · Android · Native Mac App"],qd=({variants:e,items:t=Ud,className:n="mt-5 flex flex-wrap gap-x-4 gap-y-2 text-sm font-semibold text-slate-300"})=>i.jsx(a.div,{variants:e,className:n,children:t.map(e=>i.jsx(Fd,{children:e},e))}),Vd=({variants:e,className:t="mt-4 inline-flex items-center gap-2 rounded-full border border-emerald-400/25 bg-emerald-400/10 px-4 py-2 text-sm font-black text-emerald-200 shadow-[0_0_30px_rgba(16,185,129,0.08)]"})=>i.jsxs(a.div,{variants:e,className:t,children:[i.jsx(A,{className:"h-4 w-4 text-emerald-300","aria-hidden":"true"}),"No Ads — Even on Free"]});function Bd(e={}){const[t,n]=s.useState(!1),[r,i]=s.useState(!1),o=s.useRef(null),{threshold:a=.1,root:l=null,rootMargin:u="0px",triggerOnce:c=!0}=e;return s.useEffect(()=>{const e=o.current;if(!e)return;const t=new IntersectionObserver(([e])=>{const o=e.isIntersecting;n(o),o&&!r&&(i(!0),c&&t.disconnect())},{threshold:a,root:l,rootMargin:u});return t.observe(e),()=>{t.disconnect()}},[a,l,u,c,r]),{elementRef:o,isIntersecting:t,hasIntersected:r}}const $d="landing_page_viewed",Wd="Landing Page - Section Viewed",Hd="Landing Page - Scroll Depth Reached",Kd="Landing Page - Hero CTA Clicked",Qd="Landing Page - Secondary CTA Clicked",Gd="Landing Page - AI Demo Viewed",Yd="Landing Page - AI Demo Query Changed",Jd="Landing Page - AI Demo Interaction",Xd="Landing Page - Final CTA Clicked",Zd="Landing Page - Pricing Snapshot Clicked",ef="faq_item_expanded",tf="Landing Page - Sticky CTA Clicked",nf=()=>{const{trackEvent:e}=Xc(),t=s.useCallback((e,t={})=>{const n={device_type:"undefined"==typeof window?"desktop":window.innerWidth<768?"mobile":window.innerWidth<1024?"tablet":"desktop",...t};return e&&(n.section_name=e),n},[]);return{trackLandingPageViewed:s.useCallback(()=>{e($d,t(null))},[t,e]),trackSectionViewed:s.useCallback((n,r={})=>{e(Wd,t(n,r))},[t,e]),trackScrollDepthReached:s.useCallback(n=>{e(Hd,t(null,{scroll_percent:n}))},[t,e]),trackHeroCtaClicked:s.useCallback(n=>{e(Kd,t("hero",{cta_label:n}))},[t,e]),trackSecondaryCtaClicked:s.useCallback(n=>{e(Qd,t("hero",{cta_label:n}))},[t,e]),trackAiDemoViewed:s.useCallback(()=>{e(Gd,t("ai_demo"))},[t,e]),trackAiDemoQueryChanged:s.useCallback((n,r)=>{e(Yd,t("ai_demo",{query_text:n,query_index:r}))},[t,e]),trackAiDemoInteraction:s.useCallback((n,r,i={})=>{e(Jd,t("ai_demo",{query_text:n,interaction_type:r,...i}))},[t,e]),trackFinalCtaClicked:s.useCallback(n=>{e(Xd,t("final_cta",{cta_label:n}))},[t,e]),trackPricingSnapshotClicked:s.useCallback(n=>{e(Zd,t("pricing_snapshot",{cta_label:n}))},[t,e]),trackFaqExpanded:s.useCallback(n=>{e(ef,t("faq",{faq_question:n}))},[t,e]),trackStickyCtaClicked:s.useCallback(n=>{e(tf,t("sticky_cta",{cta_label:n}))},[t,e])}},rf=(e,t={})=>{const{extra:n={},threshold:r=.5,rootMargin:i="0px",enabled:o=!0}=t,{elementRef:a,hasIntersected:l}=Bd({threshold:r,rootMargin:i,triggerOnce:!0}),{trackSectionViewed:u}=nf();return s.useEffect(()=>{o&&l&&u(e,n)},[o,n,l,e,u]),a},of={Archive:z,Search:D,ShieldCheck:A,Bot:N,Smartphone:R,Monitor:L},af={hidden:{opacity:0}
11,visible:{opacity:1,transition:{staggerChildren:.08,delayChildren:.08}}},sf={hidden:{opacity:0,y:16},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.25,1,.5,1]}}},lf={hidden:{opacity:0,y:20,scale:.98},visible:{opacity:1,y:0,scale:1,transition:{duration:.7,ease:[.25,1,.5,1],delay:.18}}},uf=({compact:e=!1})=>i.jsxs("div",{className:e?"rounded-3xl border border-cyan-400/20 bg-slate-900/90 p-4 shadow-2xl shadow-cyan-950/20 backdrop-blur":"w-full rounded-[1.75rem] border border-cyan-400/20 bg-slate-900/95 p-5 shadow-[0_30px_90px_rgba(0,0,0,0.58)] backdrop-blur-xl",children:[i.jsxs("div",{className:"mb-4 flex items-center justify-between border-b border-white/10 pb-4",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("span",{className:"flex h-10 w-10 items-center justify-center rounded-2xl bg-cyan-400/10 text-cyan-300 ring-1 ring-cyan-400/20",children:i.jsx(P,{className:"h-5 w-5","aria-hidden":"true"})}),i.jsxs("div",{children:[i.jsx("p",{className:"text-sm font-black text-white",children:"iLinkVault"}),i.jsx("p",{className:"text-[11px] font-semibold text-slate-500",children:"Browser Extension"})]})]}),i.jsxs("div",{className:"flex gap-1.5","aria-hidden":"true",children:[i.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-slate-700"}),i.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-slate-700"}),i.jsx("span",{className:"h-2.5 w-2.5 rounded-full bg-cyan-400/60"})]})]}),i.jsxs("div",{className:"mb-3 flex items-center justify-between",children:[i.jsx("p",{className:"text-xs font-black uppercase tracking-[0.2em] text-cyan-300",children:"Files from Mobile"}),i.jsx(F,{className:"h-4 w-4 text-slate-500","aria-hidden":"true"})]}),i.jsxs("div",{className:"rounded-2xl border border-slate-700/75 bg-slate-950/80 p-4",children:[i.jsxs("div",{className:"flex items-start gap-3",children:[i.jsx("span",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-blue-500/10 text-blue-300 ring-1 ring-blue-400/15",children:i.jsx(U,{className:"h-6 w-6","aria-hidden":"true"})}),i.jsxs("div",{className:"min-w-0 flex-1",children:[i.jsx("p",{className:"truncate text-sm font-black text-white",children:"Project Brief.pdf"}),i.jsx("p",{className:"mt-1 text-xs font-medium text-slate-400",children:"1.2 MB · PDF"}),i.jsx("p",{className:"mt-2 inline-flex rounded-full bg-emerald-400/10 px-2.5 py-1 text-[11px] font-black text-emerald-300 ring-1 ring-emerald-400/20",children:"Expires in 24h"})]})]}),i.jsx("button",{type:"button",className:"mt-4 w-full rounded-2xl bg-cyan-400/14 px-4 py-3 text-sm font-black text-cyan-100 ring-1 ring-cyan-400/25 transition hover:bg-cyan-400/22 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cyan-300",children:"Open"})]}),i.jsx("button",{type:"button",className:"mt-4 inline-flex w-full items-center justify-center rounded-2xl border border-white/10 bg-white/[0.03] px-4 py-3 text-xs font-black text-slate-300 transition hover:border-cyan-400/30 hover:text-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cyan-300",children:"View all files"})]}),cf=({badge:e,headline:t,subheadline:n,secondaryCta:r,featureStrip:o=[]})=>{const{trackSecondaryCtaClicked:s}=nf(),l=(null==r?void 0:r.label)||"Add to Chrome";return i.jsxs(i.Fragment,{children:[i.jsxs("section",{id:"hero",className:"relative overflow-hidden bg-slate-950 pt-28 pb-4 lg:min-h-[580px] lg:pt-28 lg:pb-4",children:[i.jsxs("div",{className:"absolute inset-0 z-0",children:[i.jsx("div",{className:"absolute left-[12%] top-[5%] h-[420px] w-[420px] rounded-full bg-cyan-500/10 blur-[120px]"}),i.jsx("div",{className:"absolute right-[8%] top-[16%] h-[520px] w-[520px] rounded-full bg-blue-600/10 blur-[130px]"}),i.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(rgba(14,165,233,0.055)_1px,transparent_1px),linear-gradient(90deg,rgba(14,165,233,0.055)_1px,transparent_1px)] bg-[size:44px_44px] opacity-35 [mask-image:radial-gradient(ellipse_at_top,black,transparent_78%)]"})]}),i.jsx("div",{className:"relative z-20 mx-auto w-full max-w-[1500px] px-4 sm:px-6 lg:px-8 2xl:max-w-[1680px]",children:i.jsxs("div",{className:"hero-layout grid items-center gap-8 lg:grid-cols-[minmax(480px,0.9fr)_minmax(680px,1.1fr)] xl:gap-10",children:[i.jsxs(a.div,{variants:af,initial:!1,animate:"visible",className:"max-w-[680px] text-left",children:[i.jsx(a.div,{variants:sf,className:"inline-flex items-center rounded-full border border-cyan-400/20 bg-cyan-400/10 px-4 py-1.5 text-xs font-black uppercase tracking-[0.22em] text-cyan-300",children:e}),i.jsxs(a.h1,{variants:sf,className:"hero-headline mt-5 text-[clamp(3.15rem,5.2vw,5.85rem)] font-black leading-[0.98] tracking-[-0.065em] text-white",children:[i.jsx("span",{className:"block",children:"Save it once."}),i.jsxs("span",{className:"block",children:[i.jsx("span",{className:"bg-gradient-to-r from-cyan-300 to-blue-400 bg-clip-text text-transparent",children:"Find it"})," when you"]}),i.jsx("span",{className:"block",children:"need it."})]}),i.jsx(a.p,{variants:sf,className:"mt-6 max-w-[560px] text-base font-medium leading-relaxed text-slate-300 sm:text-lg xl:text-xl",children:n}),i.jsx(zd,{variants:sf,location:"hero",chromeCtaLabel:l,onChromeCtaClick:()=>{s(l)}}),i.jsx(qd,{variants:sf}),i.jsx(Vd,{variants:sf}),i.jsx(Md,{variants:sf,location:"hero"})]}),i.jsxs(a.div,{variants:lf,initial:!1,animate:"visible",className:"hero-product-visual relative mx-auto w-full max-w-[780px] lg:min-h-[740px] xl:max-w-[850px]",children:[i.jsx("div",{className:"absolute left-[30%] top-[50%] hidden h-[620px] w-[620px] -translate-x-1/2 -translate-y-1/2 roun
11ded-full border border-cyan-400/15 bg-cyan-400/[0.025] shadow-[0_0_120px_rgba(6,182,212,0.13)] lg:block"}),i.jsx("div",{className:"hero-browser-panel relative z-10 mx-auto mt-6 max-w-[360px] lg:absolute lg:right-0 lg:top-[70px] lg:mt-0 lg:w-[clamp(230px,17vw,270px)] lg:max-w-none xl:right-4",children:i.jsx(uf,{})}),i.jsxs("div",{className:"hero-phone-frame relative z-30 mx-auto w-[min(88vw,330px)] rounded-[3rem] border-[8px] border-slate-800 bg-slate-950 p-2.5 shadow-[0_34px_110px_rgba(0,0,0,0.78)] sm:w-[360px] lg:absolute lg:left-0 lg:top-0 lg:w-[clamp(220px,16vw,250px)]",children:[i.jsx("div",{className:"absolute left-1/2 top-4 z-40 h-7 w-28 -translate-x-1/2 rounded-full bg-slate-950 shadow-[0_1px_0_rgba(255,255,255,0.08)]","aria-hidden":"true"}),i.jsx("div",{className:"overflow-hidden rounded-[2.35rem] bg-slate-900",children:i.jsx("img",{src:"/iLinkVault_Home.PNG",alt:"iLinkVault Home screen showing saved links in a private mobile vault",className:"block h-auto w-full object-contain",loading:"eager"})})]}),i.jsxs("svg",{className:"hero-connection-line pointer-events-none absolute left-[42%] top-[44%] z-20 hidden h-[120px] w-[220px] overflow-visible lg:block",viewBox:"0 0 220 120",fill:"none","aria-hidden":"true",children:[i.jsx(a.path,{d:"M8 88 C 54 18, 128 12, 206 42",stroke:"url(#heroConnectionGradient)",strokeWidth:"3",strokeLinecap:"round",strokeDasharray:"2 12",initial:{pathLength:0,opacity:0},animate:{pathLength:1,opacity:.9},transition:{duration:1.1,ease:"easeInOut",delay:.65}}),i.jsx("path",{d:"M197 34 L209 42 L196 49",stroke:"#34d399",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),i.jsx("defs",{children:i.jsxs("linearGradient",{id:"heroConnectionGradient",x1:"0",y1:"80",x2:"220",y2:"40",gradientUnits:"userSpaceOnUse",children:[i.jsx("stop",{stopColor:"#22d3ee"}),i.jsx("stop",{offset:"1",stopColor:"#34d399"})]})})]}),i.jsxs("div",{className:"absolute bottom-4 right-4 z-40 hidden items-center gap-2 rounded-full border border-white/10 bg-slate-900/90 px-3 py-2 text-xs font-black text-slate-200 shadow-xl lg:flex",children:[i.jsx(O,{className:"h-4 w-4 text-cyan-300","aria-hidden":"true"})," Mac App"]}),i.jsxs("div",{className:"mt-5 lg:hidden",children:[i.jsx(uf,{compact:!0}),i.jsxs("div",{className:"mt-3 inline-flex items-center gap-2 rounded-full border border-white/10 bg-slate-900/90 px-3 py-2 text-xs font-black text-slate-200 shadow-xl",children:[i.jsx(O,{className:"h-4 w-4 text-cyan-300","aria-hidden":"true"})," Mac App"]})]})]})]})})]}),i.jsx("div",{className:"relative z-30 bg-slate-950 px-4 pb-6 sm:px-6 lg:px-8",children:i.jsx("div",{className:"container mx-auto",children:i.jsx("div",{className:"rounded-2xl border border-slate-800/80 bg-slate-900/40 px-4 py-3 shadow-xl backdrop-blur-xl",children:i.jsx("div",{className:"grid gap-3 sm:grid-cols-2 xl:grid-cols-4",children:o.map((e,t)=>{const n=of[e.icon]||M;return i.jsxs(a.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.08*t},className:"flex items-center gap-3 rounded-xl p-3 transition-colors hover:bg-slate-800/60 sm:gap-4 sm:p-4",children:[i.jsx("div",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-full border border-slate-800/80 bg-slate-950 text-emerald-400 shadow-sm",children:i.jsx(n,{className:"h-5 w-5"})}),i.jsxs("div",{children:[i.jsx("h4",{className:"text-sm font-bold leading-tight text-white",children:e.title}),i.jsx("p",{className:"mt-0.5 text-[11px] leading-snug text-slate-400",children:e.description})]})]},t)})})})})})]})},df=[I,q,R,V,M],ff=({stats:e=[]})=>{const t=[...e,...e,...e];return i.jsxs("section",{className:"relative border-y border-white/5 bg-slate-950 py-6 overflow-hidden",children:[i.jsx("div",{className:"absolute inset-y-0 left-0 w-32 bg-gradient-to-r from-slate-950 to-transparent z-10 pointer-events-none"}),i.jsx("div",{className:"absolute inset-y-0 right-0 w-32 bg-gradient-to-l from-slate-950 to-transparent z-10 pointer-events-none"}),i.jsx("div",{className:"flex",children:i.jsx(a.div,{animate:{x:[0,-1035]},transition:{duration:30,repeat:1/0,ease:"linear"},className:"flex items-center space-x-12 whitespace-nowrap px-6",children:t.map((e,t)=>{const n=df[t%df.length]||M;return i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-white/5 border border-white/10 shadow-inner",children:i.jsx(n,{className:"h-4 w-4 text-cyan-400/80"})}),i.jsx("span",{className:"text-xs font-bold tracking-widest text-slate-400",children:e.label}),i.jsx("span",{className:"ml-12 text-slate-800 font-black",children:"/"})]},t)})})})]})},pf=s.lazy(()=>b(()=>import("./AISearchDemoSection-B855eEZS.js"),__vite__mapDeps([9,1,2,3,10,6,4,5]))),hf=s.lazy(()=>b(()=>import("./SaveFromScreenshotSection-CqAdWB0B.js"),__vite__mapDeps([11,1,2,3,10,6,4,5]))),vf=s.lazy(()=>b(()=>import("./HowItWorks-DuJ4UM1l.js"),__vite__mapDeps([12,1,2,3,6]))),gf=s.lazy(()=>b(()=>import("./WorksEverywhereSection-2Q_e6Wyd.js"),__vite__mapDeps([13,1,2,3,6,4,5]))),mf=s.lazy(()=>b(()=>import("./CollectionsSection-BNlGFMdK.js"),__vite__mapDeps([14,1,2,3,10,6,4,5]))),yf=s.lazy(()=>b(()=>import("./PhoneToChromeSection-YVubLj17.js"),__vite__mapDeps([15,1,2,3,6]))),bf=s.lazy(()=>b(()=>import("./UseCasesSection-CeSiSF34.js"),__vite__mapDeps([16,1,2,3,6,4,5]))),wf=s.lazy(()=>b(()=>import("./EmotionalHookSection-CfkQUPUi.js"),__vite__mapDeps([17,1,2,3,6,4,5]))),kf=s.lazy(()=>b(()=>import("./FeatureReframingSection-Dy6K1mBb.js"),__vite__mapDeps([18,1,2,3,6]))),Sf=s.lazy(()=>b(()=>import("./BrowserExtensionCallout-Q_i1Inmi.js"),__vite__mapDeps([19,1,2,3,6]))),xf=s.lazy(()=>b(()=>import("./ObjectionHandlingSection-CN8sI6SY.js"),__vite__mapDeps([20,1,2,3,6,4,5]))),_f=s.lazy(()=>b(()=>import("./TrustSection-BwBMW0UV.js"),__vite__mapDeps([21,1,2,3,6,4,5]))),Ef=s.lazy(()=>b(()=>import("./PricingSnapshotSection-BuXzfxEP.js"),__vite__mapDeps([22,1,2,3,6,4,5]))),
11Cf=s.lazy(()=>b(()=>import("./FAQLiteSection-DekwjFZg.js"),__vite__mapDeps([23,1,2,3,6,4,5]))),Tf=s.lazy(()=>b(()=>import("./FinalCTA-DsmcotDM.js"),__vite__mapDeps([24,1,2,3,25,6,4,5]))),Pf=s.lazy(()=>b(()=>import("./Footer-BWC1h5MI.js"),__vite__mapDeps([26,1,2,3,25,6,4,5]))),If=s.lazy(()=>b(()=>import("./StickyAppStoreButton-DOAoakZ3.js"),__vite__mapDeps([27,1,2,3,6,4,5]))),jf=s.lazy(()=>b(()=>import("./CookieConsent-B-j3lybR.js"),__vite__mapDeps([28,1,2,3,6]))),Af=()=>{const{trackPageView:e}=Xc(),{trackLandingPageViewed:t,trackScrollDepthReached:n}=nf();return s.useEffect(()=>{e("/"),t(),hd("homepage")},[t,e]),s.useEffect(()=>{const e=[25,50,75,90],t=new Set,r=()=>{const r=document.documentElement.scrollHeight-window.innerHeight;if(r<=0)return;const i=Math.round(window.scrollY/r*100);e.forEach(e=>{i>=e&&!t.has(e)&&(t.add(e),n(e))})};return window.addEventListener("scroll",r,{passive:!0}),()=>window.removeEventListener("scroll",r)},[n]),i.jsxs("div",{className:"landing-page min-h-screen bg-slate-950 font-inter relative overflow-hidden",children:[i.jsxs("div",{className:"fixed inset-0 pointer-events-none z-0",children:[i.jsx("div",{className:"absolute top-[-10%] left-[-10%] w-[40%] h-[40%] rounded-full bg-cyan-500/10 blur-[120px] animate-pulse"}),i.jsx("div",{className:"absolute bottom-[-10%] right-[-10%] w-[40%] h-[40%] rounded-full bg-indigo-500/10 blur-[120px] animate-pulse",style:{animationDelay:"2s"}}),i.jsx("div",{className:"absolute top-[30%] right-[5%] w-[30%] h-[30%] rounded-full bg-purple-500/5 blur-[120px] animate-pulse",style:{animationDelay:"4s"}})]}),i.jsx(Zc,{title:Id.seo.title,description:Id.seo.description,canonicalUrl:"/"}),i.jsxs(Xe,{children:[i.jsx("link",{rel:"alternate",hrefLang:"x-default",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"en",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"hi",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"pt",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"es",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"de",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"fr",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"it",href:"https://www.ilinkvault.com/"}),i.jsx("link",{rel:"alternate",hrefLang:"ja",href:"https://www.ilinkvault.com/"})]}),i.jsx(od,{}),i.jsx(dd,{...Id.header}),i.jsx(cf,{...Id.hero,aiDemoData:Id.aiDemo}),i.jsxs(s.Suspense,{fallback:null,children:[i.jsx(vf,{...Id.howItWorks}),i.jsx(gf,{}),i.jsx(pf,{...Id.aiDemo}),i.jsx(hf,{}),i.jsx(ff,{...Id.socialProof}),i.jsx(mf,{}),i.jsx(yf,{...Id.phoneToChrome}),i.jsx(bf,{...Id.useCases}),i.jsx(wf,{...Id.emotionalHook}),i.jsx(kf,{...Id.featureReframing}),i.jsx(Sf,{...Id.browserExtension}),i.jsx(xf,{...Id.objections}),i.jsx(_f,{...Id.trust}),i.jsx(Ef,{...Id.pricingSnapshot}),i.jsx(Cf,{...Id.faqLite}),i.jsx(Tf,{...Id.finalCta}),i.jsx(Pf,{}),i.jsx(If,{cta:Id.stickyCta}),i.jsx(jf,{})]})]})};function Of(e,t){if("boolean"==typeof e)return e;if("string"==typeof e){const t=e.toLowerCase();if("true"===t)return!0;if("false"===t)return!1}return"boolean"==typeof t?t:Boolean(e)}const Lf={async getSetting(e="show_customer_reviews"){const{supabase:t}=await b(async()=>{const{supabase:e}=await import("./supabaseClient-O-4cldbu.js");return{supabase:e}},__vite__mapDeps([8,4,3])),{data:n,error:r}=await t.from("site_settings").select("key, value").eq("key",e).single();if(r&&"PGRST116"!==r.code)throw r;const i=null==n?void 0:n.value;return"show_customer_reviews"===e?null==i||Of(i,!0):"promotion_as_entry_page"===e?null!=i&&Of(i,!1):i}
11,async getShowCustomerReviews(){return await this.getSetting("show_customer_reviews")},async updateSetting(e,t){const n="show_customer_reviews"===e?Of(t,!0):"promotion_as_entry_page"===e?Of(t,!1):t,{supabaseAdmin:r}=await b(async()=>{const{supabaseAdmin:e}=await import("./supabaseAdminClient-Bz8OygQx.js");return{supabaseAdmin:e}},__vite__mapDeps([29,4,3])),{data:i,error:o}=await r.from("site_settings").upsert([{key:e,value:n}],{onConflict:"key"}).select("key, value").single();if(o)throw o;return null==i?void 0:i.value},async setShowCustomerReviews(e){return await this.updateSetting("show_customer_reviews",e)},async getPromotionAsEntryPage(){return await this.getSetting("promotion_as_entry_page")},async setPromotionAsEntryPage(e){return await this.updateSetting("promotion_as_entry_page",e)}};const Rf=s.createContext({});function Nf({children:e}){const t=function(){const e=s.useCallback(e=>{try{const t=JSON.parse(sessionStorage.getItem("performance-metrics")||"[]");t.push({...e,timestamp:Date.now(),url:window.location.pathname}),sessionStorage.setItem("performance-metrics",JSON.stringify(t))}catch(t){}},[]);return s.useEffect(()=>{(async()=>{try{const t=await b(()=>import("./analytics-CtI_SLdP.js"),[]),n=t.getCLS||t.onCLS,r=t.getFID||t.onFID,i=t.getFCP||t.onFCP,o=t.getLCP||t.onLCP,a=t.getTTFB||t.onTTFB;n&&n(e),r&&r(e),i&&i(e),o&&o(e),a&&a(e)}catch(t){}})()},[e]),{getStoredMetrics:s.useCallback(()=>{try{return JSON.parse(sessionStorage.getItem("performance-metrics")||"[]")}catch(e){return[]}},[]),clearStoredMetrics:s.useCallback(()=>{sessionStorage.removeItem("performance-metrics")},[])}}(),{trackCustomEvent:n}=Xc();s.useEffect(()=>{const e=()=>{const e=window.performance.getEntriesByType("navigation")[0];e&&n("page_load_complete",{loadTime:e.loadEventEnd-e.loadEventStart,domContentLoaded:e.domContentLoadedEventEnd-e.domContentLoadedEventStart,firstPaint:e.responseEnd-e.requestStart})};if("complete"!==document.readyState)return window.addEventListener("load",e),()=>window.removeEventListener("load",e);e()},[n]);const r={...t};return i.jsx(Rf.Provider,{value:r,children:e})}const Df={LCP:{good:2500,poor:4e3},INP:{good:200,poor:500},CLS:{good:.1,poor:.25},FCP:{good:1800,poor:3e3},TTFB:{good:800,poor:1800}},zf=e=>{var t;const n=((e,t)=>{const n=Df[e];return n?t<=n.good?"good":t<=n.poor?"needs-improvement":"poor":"unknown"})(e.name,e.value);return{metric_name:e.name,metric_value:e.value,metric_rating:n,metric_id:e.id,navigation_type:e.navigationType||"unknown",url:window.location.href,user_agent:navigator.userAgent,connection_type:(null==(t=navigator.connection)?void 0:t.effectiveType)||"unknown",timestamp:(new Date).toISOString()}},Mf=e=>{const t=zf(e);"undefined"!=typeof window&&window.gtag&&window.gtag("event","web_vital",{event_category:"Web Vitals",event_label:e.name,value:Math.round(e.value),custom_map:{metric_rating:t.metric_rating}})},Ff=()=>{"undefined"!=typeof window&&window.performance&&window.performance.memory},Uf=()=>{(()=>{try{w(Mf),S(Mf),x(Mf),k(Mf),_(Mf)}catch(e){}})(),"undefined"!=typeof window&&window.performance&&window.addEventListener("load",()=>{setTimeout(()=>{const e=performance.getEntriesByType("navigation")[0];e&&(e.domainLookupEnd,e.domainLookupStart,e.connectEnd,e.connectStart,e.secureConnectionStart>0&&(e.connectEnd,e.secureConnectionStart),e.responseStart,e.requestStart,e.responseEnd,e.responseStart,e.domContentLoadedEventEnd,e.responseEnd,e.loadEventEnd,e.loadEventStart,e.loadEventEnd,e.navigationStart,(new Date).toISOString())},0)}),"undefined"!=typeof window&&window.performance&&window.addEventListener("load",()=>{setTimeout(()=>{const e=performance.getEntriesByType("resource"),t={scripts:[],stylesheets:[],images:[],fonts:[],other:[]};e.forEach(e=>{const n=e.responseEnd-e.startTime,r=e.transferSize||0;let i="other";e.name.includes(".js")?i="scripts":e.name.includes(".css")?i="stylesheets":e.name.match(/\.(jpg|jpeg|png|gif|webp|svg)$/)?i="images":e.name.match(/\.(woff|woff2|ttf|otf)$/)&&(i="fonts"),t[i].push({url:e.name,duration:n,size:r,type:e.initiatorType})}),Object.entries(t).forEach(([e,t])=>{t.length>0&&(t.reduce((e,t)=>
11e+t.duration,0),t.reduce((e,t)=>e+t.size,0))})},1e3)}),"undefined"!=typeof window&&(setTimeout(Ff,2e3),setInterval(Ff,3e4))},qf=s.createContext({isInitialized:!1,analyticsHealth:null,debugMode:!1,amplitude:null}),Vf=({children:e})=>{const[t,n]=s.useState(!1),[r,o]=s.useState(null),[a]=s.useState(!1);return s.useEffect(()=>{st();(window.requestIdleCallback?e=>window.requestIdleCallback(e,{timeout:4e3}):e=>setTimeout(e,1e3))(()=>{Jc(),o({google:void 0!==window.gtag?{status:"healthy"}:{status:"unavailable"},amplitude:Kc()?{status:"healthy"}:{status:"skipped_non_production"},consent:ot(),timestamp:(new Date).toISOString()}),n(!0)});const e=setTimeout(()=>{Uf()},1e3);return()=>clearTimeout(e)},[]),i.jsx(qf.Provider,{value:{isInitialized:t,analyticsHealth:r,debugMode:a,amplitude:null},children:e})},Bf=()=>null,$f=s.lazy(()=>b(()=>import("./LinkSanitization-Bph7Y7IN.js"),__vite__mapDeps([30,1,2,3,31,32,26,25,6,4,5]))),Wf=s.lazy(()=>b(()=>import("./Features-BNm2MyCT.js"),__vite__mapDeps([33,1,2,3,32,26,25,6,4,5,31,34]))),Hf=s.lazy(()=>b(()=>import("./HowItWorks-B7T_PcY6.js"),__vite__mapDeps([35,1,2,3,32,26,25,6,4,5]))),Kf=s.lazy(()=>b(()=>import("./Pricing-mTcr67TK.js"),__vite__mapDeps([36,1,2,3,32,26,25,6,4,5]))),Qf=s.lazy(()=>b(()=>import("./Download-BMGAq9pQ.js"),__vite__mapDeps([37,1,2,3,32,26,25,6,4,5]))),Gf=s.lazy(()=>b(()=>import("./SendFilesPhoneToComputer-CSxw5VaC.js"),__vite__mapDeps([38,1,2,3,26,25,6,4,5]))),Yf=s.lazy(()=>b(()=>import("./About-DvscxYj-.js"),__vite__mapDeps([39,1,2,3,32,26,25,6,4,5]))),Jf=s.lazy(()=>b(()=>import("./Contact-DWRMJLJE.js"),__vite__mapDeps([40,1,2,3,32,26,25,6,4,5,8]))),Xf=s.lazy(()=>b(()=>import("./CommunityGuidelines-DtiITaSB.js"),__vite__mapDeps([41,1,2,3,32,26,25,6,4,5]))),Zf=s.lazy(()=>b(()=>import("./Promotion-B70Pd5pB.js"),__vite__mapDeps([42,1,2,3,43,44,34,4,6,45,5]))),ep=s.lazy(()=>b(()=>import("./PromotionBlue-BFEJL3rx.js"),__vite__mapDeps([46,1,2,3,43,44,34,4,6,45,5]))),tp=s.lazy(()=>b(()=>import("./PrivateVault-GzROuieG.js"),__vite__mapDeps([47,1,2,3,48,32,26,25,6,4,5]))),np=s.lazy(()=>b(()=>import("./AppLock-DD9uf_Dv.js"),__vite__mapDeps([49,1,2,3,48,32,26,25,6,4,5]))),rp=s.lazy(()=>b(()=>import("./BrowserExtension-BkkR-FRp.js"),__vite__mapDeps([50,1,2,3,48,32,26,25,6,4,5]))),ip=s.lazy(()=>b(()=>import("./SaveFromScreenshot-BH2Lzoav.js"),__vite__mapDeps([51,1,2,3,48,32,26,25,6,4,5]))),op=s.lazy(()=>b(()=>import("./AskYourVault-CRI905t6.js"),__vite__mapDeps([52,1,2,3,48,32,26,25,6,4,5]))),ap=s.lazy(()=>b(()=>import("./WeeklyAIDigest-DnQCXVjy.js"),__vite__mapDeps([53,1,2,3,48,32,26,25,6,4,5]))),sp=s.lazy(()=>b(()=>import("./ChromeBookmarkManager-B74HFydl.js"),__vite__mapDeps([54,1,2,3,48,32,26,25,6,4,5]))),lp=s.lazy(()=>b(()=>import("./VsRaindrop-BHmhihe3.js"),__vite__mapDeps([55,1,2,3,56,32,26,25,6,4,5]))),up=s.lazy(()=>b(()=>import("./VsPocket-CFR6Dk65.js"),__vite__mapDeps([57,1,2,3,56,32,26,25,6,4,5]))),cp=s.lazy(()=>b(()=>import("./VsSafariBookmarks-BK8bVO97.js"),__vite__mapDeps([58,1,2,3,56,32,26,25,6,4,5]))),dp=s.lazy(()=>b(()=>import("./VsNotionBookmarks-CzmrNj52.js"),__vite__mapDeps([59,1,2,3,56,32,26,25,6,4,5]))),fp=s.lazy(()=>b(()=>import("./VsInstapaper-BxUgSLBn.js"),__vite__mapDeps([60,1,2,3,56,32,26,25,6,4,5]))),pp=s.lazy(()=>b(()=>import("./VsGoodLinks-BhhmRIki.js"),__vite__mapDeps([61,1,2,3,56,32,26,25,6,4,5]))),hp=s.lazy(()=>b(()=>import("./BlogPage-Bs9_XJBA.js"),__vite__mapDeps([62,1,2,3,32,26,25,6,4,5,63,8,64])));s.lazy(()=>b(()=>import("./BlogPostPage-CLx18uWP.js"),__vite__mapDeps([65,1,2,3,32,26,25,6,4,5,66,44,34,63,8,67,68,64])));const vp=s.lazy(()=>b(()=>import("./SimpleBlogPost-DRmcAC8a.js"),__vite__mapDeps([69,1,2,3,26,25,6,4,5,66,44,34,63,8,67,68]))),gp=s.lazy(()=>b(()=>import("./BlogTest-CpCou9f4.js"),__vite__mapDeps([70,1,2,3,63,8,4]))),mp=s.lazy(()=>b(()=>import("./BlogPostImportChrome-CGWtWngv.js"),__vite__mapDeps([71,1,2,3,26,25,6,4,5,68]))),yp=s.lazy(()=>b(()=>import("./BlogPostBestPocketAlternatives-CVzFZsBP.js"),__vite__mapDeps([72,1,2,3,26,25,6,4,5,68]))),bp=s.lazy(()=>b(()=>import("./BlogPostSaveLinksFromChrome-DPUOZY3N.js"),__vite__mapDeps([73,1,2,3,26,25,6,4,5,68]))),wp=s.lazy(()=>b(()=>import("./BlogPostAIBookmarkManager-BHejeAL3.js"),__vite__mapDeps([74,1,2,3,26,25,6,4,5,68]))),kp=s.lazy(()=>b(()=>import("./BlogPostBrowserBookmarksVsApps-B9cdIEDV.js"),__vite__mapDeps([75,1,2,3,26,25,6,4,5,68]))),Sp=s.lazy(()=>b(()=>import("./BlogPostBestBookmarkManagers2026-B0G9s872.js"),__vite__mapDeps([76,1,2,3,26,25,6,4,5,68]))),xp=s.lazy(()=>b(()=>import("./BlogPostSafariAlternative-Do1LyWo4.js"),__vite__mapDeps([77,1,2,3,26,25,6,4,5,68]))),_p=s.lazy(()=>b(()=>import("./BlogPostRaindropPocketVault-x0JZkR4b.js"),__vite__mapDeps([78,1,2,3,26,25,6,4,5,68]))),Ep=s.lazy(()=>b(()=>import("./BlogPostPocketShutdown-HnorEh9J.js"),__vite__mapDeps([79,1,2,3,26,25,6,4,5,68]))),Cp=s.lazy(()=>b(()=>import("./BlogPostGoodLinksAndroid-DnanzVLY.js"),__vite__mapDeps([80,1,2,3,26,25,6,4,5,68]))),Tp=s.lazy(()=>b(()=>import("./BlogPostInstapaperChrome-pCpOKFVP.js"),__vite__mapDeps([81,1,2,3,26,25,6,4,5,68]))),Pp=s.lazy(()=>b(()=>import("./BlogPostWebBookmarkManager-Bji9lqkr.js"),__vite__mapDeps([82,1,2,3,26,25,6,4,5,68]))),Ip=s.lazy(()=>b(()=>import("./CollectionInvitePage-hPnYeMPX.js"),__vite__mapDeps([83,1,2,3,4,5,6]))),jp=s.lazy(()=>b(()=>import("./NotFoundPage-BoZhJszC.js"),__vite__mapDeps([84,1,2,3,26,25,6,4,5]))),Ap=s.lazy(()=>b(()=>import("./HelpHub-wj6fNMLb.js"),__vite__mapDeps([85,1,2,3,10,26,25,6,4,5,86]))),Op=s.lazy(()=>b(()=>import("./HelpCategory-YSEC21wk.js"),__vite__mapDeps([87,1,2,3,26,25,6,4,5,84,86]))),Lp=s.lazy(()=>b(()=>import("./SaveYourFirstLink-DzX5oTgM.js"),__vite__mapDeps([88,1,2,3,89,26,25,6,4,5,86,10,90,91,92,93]))),Rp=s.lazy(()=>b(()=>
11import("./InstallIlinkvault-MPcc9h2e.js"),__vite__mapDeps([94,1,2,3,89,26,25,6,4,5,86,10,90,91,95,93]))),Np=s.lazy(()=>b(()=>import("./ImportChromeBookmarks-QAD-0ird.js"),__vite__mapDeps([96,1,2,3,89,26,25,6,4,5,86,10,91]))),Dp=s.lazy(()=>b(()=>import("./SaveWithShareSheet-DbqWPVP9.js"),__vite__mapDeps([97,1,2,3,89,26,25,6,4,5,86,10,90,91,92,93]))),zp=s.lazy(()=>b(()=>import("./SaveFromScreenshot-BoxLvEYz.js"),__vite__mapDeps([98,1,2,3,89,26,25,6,4,5,86,10,90,91]))),Mp=s.lazy(()=>b(()=>import("./AskYourVault-tol7XUzF.js"),__vite__mapDeps([99,1,2,3,89,26,25,6,4,5,86,10,93]))),Fp=s.lazy(()=>b(()=>import("./WhatTheAiCanSee-CIedBcYG.js"),__vite__mapDeps([100,1,2,3,89,26,25,6,4,5,86,10]))),Up=s.lazy(()=>b(()=>import("./CreateACollection-op8NLlnq.js"),__vite__mapDeps([101,1,2,3,89,26,25,6,4,5,86,10,91]))),qp=s.lazy(()=>b(()=>import("./ShareACollection-DHi3kfjG.js"),__vite__mapDeps([102,1,2,3,89,26,25,6,4,5,86,10,91]))),Vp=s.lazy(()=>b(()=>import("./FreeVsProVsLifetime-Ci9_IgGB.js"),__vite__mapDeps([103,1,2,3,89,26,25,6,4,5,86,10]))),Bp=s.lazy(()=>b(()=>import("./TextBridge-BBEfxs8d.js"),__vite__mapDeps([104,1,2,3,89,26,25,6,4,5,86,10,91]))),$p=s.lazy(()=>b(()=>import("./SendFilesToChrome-D8XywwrG.js"),__vite__mapDeps([105,1,2,3,89,26,25,6,4,5,86,10,91,95,93]))),Wp=s.lazy(()=>b(()=>import("./WhyFilesExpire-CkzBuIBm.js"),__vite__mapDeps([106,1,2,3,89,26,25,6,4,5,86,10]))),Hp=s.lazy(()=>b(()=>import("./Login-BeobbWpO.js"),__vite__mapDeps([107,1,2,3,26,25,6,4,5,8]))),Kp=s.lazy(()=>b(()=>import("./Account-CwC89Ook.js"),__vite__mapDeps([108,1,2,3,26,25,6,4,5]))),Qp=s.lazy(()=>b(()=>import("./ProtectedRoute-dw7Q2WVx.js"),__vite__mapDeps([109,1,2,3,4,5,6]))),Gp=s.lazy(()=>b(()=>import("./PaymentSuccess-BZT9CnOa.js"),__vite__mapDeps([110,1,2,3,26,25,6,4,5]))),Yp=s.lazy(()=>b(()=>import("./Affiliates-CWFPl9vO.js"),__vite__mapDeps([111,1,2,3,32,26,25,6,4,5]))),Jp=s.lazy(()=>b(()=>import("./EmailVerification-CMLHQZUB.js"),__vite__mapDeps([112,1,2,3,26,25,6,4,5,8]))),Xp=s.lazy(()=>b(()=>import("./GettingStarted-CHduaU1_.js"),__vite__mapDeps([113,1,2,3,32,26,25,6,4,5,45]))),Zp=s.lazy(()=>b(()=>import("./SafariShareExtension-jxCL1udj.js"),__vite__mapDeps([114,1,2,3,32,26,25,6,4,5,45]))),eh=s.lazy(()=>b(()=>import("./QRCodeGeneration-CH25N3PL.js"),__vite__mapDeps([115,1,2,3,32,26,25,6,4,5,45]))),th=s.lazy(()=>b(()=>import("./QRCodeIntegration-BoyptXRA.js"),__vite__mapDeps([116,1,2,3,32,26,25,6,4,5,45]))),nh=s.lazy(()=>b(()=>import("./CollaborativeCollections-Dk5fG18j.js"),__vite__mapDeps([117,1,2,3,32,26,25,6,4,5,45]))),rh=s.lazy(()=>b(()=>import("./SmartReminders-BaNn4QSz.js"),__vite__mapDeps([118,1,2,3,32,26,25,6,4,5,45]))),ih=s.lazy(()=>b(()=>import("./AdvancedSync-otZvHIYZ.js"),__vite__mapDeps([119,1,2,3,32,26,25,6,4,5,45]))),oh=s.lazy(()=>b(()=>import("./AdvancedOrganization-dk11kxfg.js"),__vite__mapDeps([120,1,2,3,32,26,25,6,4,5,45]))),ah=()=>i.jsx("div",{className:"flex items-center justify-center min-h-screen",children:i.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600"})});function sh(){const e=u(),{trackPageView:t}=Xc();return s.useEffect(()=>{t(e.pathname)},[e.pathname,t]),null}function lh(){const[e,t]=s.useState(!1);return s.useEffect(()=>{let e=!0;return Lf.getPromotionAsEntryPage().then(n=>{e&&n&&t(!0)}).catch(()=>{}),()=>{e=!1}},[]),e?i.jsx(v,{to:"/promotion",replace:!0}):i.jsx(Af,{})}function uh(){return i.jsxs(Nf,{children:[i.jsx(Bf,{}),i.jsx(Vf,{children:i.jsx(ud,{children:i.jsxs(f,{children:[i.jsx(sh,{}),i.jsxs(p,{children:[i.jsx(h,{path:"/",element:i.jsx(lh,{})}),i.jsx(h,{path:"/home",element:i.jsx(Af,{})}),i.jsx(h,{path:"/link-sanitization",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx($f,{})})}),i.jsx(h,{path:"/features",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Wf,{})})}),i.jsx(h,{path:"/features/private-vault",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(tp,{})})}),i.jsx(h,{path:"/features/app-lock",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(np,{})})}),i.jsx(h,{path:"/features/browser-extension",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(rp,{})})}),i.jsx(h,{path:"/features/save-from-screenshot",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(ip,{})})}),i.jsx(h,{path:"/features/ask-your-vault",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(op,{})})}),i.jsx(h,{path:"/features/weekly-ai-digest",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(ap,{})})}),i.jsx(h,{path:"/bookmark-manager-chrome",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(sp,{})})}),i.jsx(h,{path:"/how-it-works",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Hf,{})})}),i.jsx(h,{path:"/pricing",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Kf,{})})}),i.jsx(h,{path:"/send-files-phone-to-computer",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Gf,{})})}),i.jsx(h,{path:"/download",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Qf,{})})}),i.jsx(h,{path:"/about",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Yf,{})})}),i.jsx(h,{path:"/contact",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Jf,{})})}),i.jsx(h,{path:"/community-guidelines",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Xf,{})})}),i.jsx(h,{path:"/vs-raindrop",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(lp,{})})}),i.jsx(h,{path:"/vs-pocket",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(up,{})})}),i.jsx(h,{path:"/vs-safari-bookmarks",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(cp,{})})}),i.jsx(h,{path:"/vs-notion-bookmarks",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(dp,{})})}),i.jsx(h,{path:"/vs-instapaper",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(fp,{})})}),i.jsx(h,{path:"/vs-goodlinks",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(pp,{})})}),i.jsx(h,{path:"/promotion",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Zf,{})})}),i.jsx(h,{path:"/promotion-blue",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(ep,{})})}),i.jsx(h,{path:"/help",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Ap,{})})}),i.jsx(h,{path:"/help/getting-started/save-your-first-link",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Lp,{})})}),i.jsx(h,{path:"/help/getting-started/install-ilinkvault",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Rp,{})})}),i.jsx(h,{path:"/help/getting-started/import-chrome-bookmarks",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Np,{})})}),i.jsx(h,{path:"/help/saving-links/save-with-share-sheet",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Dp,{})})}),i.jsx(h,{path:"/help/saving-links/save-from-screenshot",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(zp,{})})}),i.jsx(h,{path:"/help/finding-links/ask-your-vault",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Mp,{})})}),i.jsx(h,{path:"/help/privacy-security/what-the-ai-can-see",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Fp,{})})}),i.jsx(h,{path:"/help/collections/create-a-collection",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Up,{})})}),i.jsx(h,{path:"/help/collections/share-a-collection",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(qp,{})})}),i.jsx(h,{path:"/help/account-billing/free-vs-pro-vs-lifetime",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Vp,{})})}),i.jsx(h,{path:"/help/file-transfer/text-bridge",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Bp,{})})}),i.jsx(h,{path:"/help/file-transfer/send-files-to-chrome",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx($p,{})})}),i.jsx(h,{path:"/help/file-transfer/why-files-expire",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Wp,{})})}),i.jsx(h,{path:"/help/:category",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Op,{})})}),i.jsx(h,{path:"/blog",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(hp,{})})}),i.jsx(h,{path:"/blog-test",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(gp,{})})}),i.jsx(h,{path:"/blog/how-to-import-chrome-bookmarks-to-iphone-android",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(mp,{})})}),i.jsx(h,{path:"/blog/best-pocket-alternatives-2026",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(yp,{})})}),i.jsx(h,{path:"/blog/how-to-save-links-from-chrome-to-phone",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(bp,{})})}),i.jsx(h,{path:"/blog/ai-bookmark-manager",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(wp,{})})}),i.jsx(h,{path:"/blog/browser-bookmarks-vs-apps-comparison",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(kp,{})})}),i.jsx(h,{path:"/blog/best-bookmark-managers-2026",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Sp,{})})}),i.jsx(h,{path:"/blog/best-safari-bookmark-alternative-iphone-android-chrome",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(xp,{})})}),i.jsx(h,{path:"/blog/raindrop-vs-pocket-vs-ilinkvault",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(_p,{})})}),i.jsx(h,{path:"/blog/pocket-alternative-after-shutdown",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Ep,{})})}),i.jsx(h,{path:"/blog/goodlinks-android-alternative",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Cp,{})})}),i.jsx(h,{path:"/blog/instapaper-chrome-extension-alternative",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Tp,{})})}),i.jsx(h,{path:"/blog/web-based-bookmark-manager",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Pp,{})})}),i.jsx(h,{path:"/blog/:slug",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(vp,{})})}),i.jsx(h,{path:"/tutorials/getting-started",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Xp,{})})}),i.jsx(h,{path:"/tutorials/safari-share-extension",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Zp,{})})}),i.jsx(h,{path:"/tutorials/qr-code-integration",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(th,{})})}),i.jsx(h,{path:"/tutorials/collaborative-collections",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(nh,{})})}),i.jsx(h,{path:"/tutorials/smart-reminders",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(rh,{})})}),i.jsx(h,{path:"/tutorials/advanced-organization",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(oh,{})})}),i.jsx(h,{path:"/tutorials/qr-code-generation",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(eh,{})})}),i.jsx(h,{path:"/tutorials/advanced-sync",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(ih,{})})}),i.jsx(h,{path:"/login",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Hp,{})})}),i.jsx(h,{path:"/account",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Qp,{children:i.jsx(Kp,{})})})}),i.jsx(h,{path:"/payment/success",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Gp,{})})}),i.jsx(h,{path:"/verify",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Jp,{})})}),i.jsx(h,{path:"/email-verify-redirect",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Jp,{})})}),i.jsx(h,{path:"/functions/v1/email-verify-redirect",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Jp,{})})}),i.jsx(h,{path:"/affiliates",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Yp,{})})}),i.jsx(h,{path:"/collection/:collectionId",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Ip,{})})}),i.jsx(h,{path:"/collections/:collectionId",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Ip,{})})}),i.jsx(h,{path:"/collections/invite/:token",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Ip,{})})}),i.jsx(h,{path:"/c/:token",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(Ip,{})})}),i.jsx(h,{path:"*",element:i.jsx(s.Suspense,{fallback:i.jsx(ah,{}),children:i.jsx(jp,{})})})]})]})})})]})}"undefined"!=typeof window&&window.addEventListener("load",()=>{(window.requestIdleCallback?e=>window.requestIdleCallback(e,{timeout:5e3}):e=>setTimeout(e,3e3))(()=>{b(()=>import("./serviceWorker-CNQ4wlRN.js"),[]).catch(()=>{})})});const ch=[/Failed to fetch dynamically imported module/i,/Loading chunk [\d]+ failed/i,/ChunkLoadError/i,/Importing a module script failed/i],dh="ilinkvault-chunk-reload-attempts";function fh(e=""){return ch.some(t=>t.test(e))}function ph(e){if(function(){const e=Date.now();try{const t=sessionStorage.getItem(dh),n=t?JSON.parse(t):{count:0,firstAttemptAt:e};return e-n.firstAttemptAt>15e3?(sessionStorage.setItem(dh,JSON.stringify({count:1,firstAttemptAt:e})),!0):!(n.count>=2||(sessionStorage.setItem(dh,JSON.stringify({count:n.count+1,firstAttemptAt:n.firstAttemptAt})),0))}catch(t){return!0}}())return void window.location.reload();const t=document.getElementById("root");t&&(t.innerHTML='<div style="padding:24px;font-family:system-ui;">We updated the app. Please refresh this page.</div>')}"undefined"!=typeof window&&(window.addEventListener("error",e=>{var t;const n=(null==(t=null==e?void 0:e.error)?void 0:t.message)||(null==e?void 0:e.message)||"";fh(n)&&ph()}),window.addEventListener("unhandledrejection",e=>{var t;const n=(null==(t=null==e?void 0:e.reason)?void 0:t.message)||String((null==e?void 0:e.reason)||"");fh(n)&&ph()})),te.createRoot(document.getElementById("root")).render(i.jsx(s.Str
11ictMode,{children:i.jsx(We,{children:i.jsx(uh,{})})}));export{vd as A,nd as B,Od as C,ht as D,Hc as E,td as F,bd as G,dd as H,xd as M,_d as P,Nd as Q,Zc as S,qd as T,gt as _,ld as a,jd as b,yd as c,hd as d,Pd as e,ed as f,Ad as g,rd as h,Xe as i,Cd as j,Sd as k,Id as l,Dd as m,md as n,kd as o,Td as p,Rd as q,Ed as r,Bd as s,Gc as t,Xc as u,nf as v,rf as w,Xt as x,mt as y,Su as z};

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.