PageSourceSearch

https://askhippo.ai/_next/static/chunks/5859-35feecbaccd23648.js

js askhippo.ai collected 2026-10-05 13:28:45 UTC 196,869 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5859],{874:function(t,e,i){"use strict";var r=i(16935),n={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var i,s,o,a,l,u,h,c,d=!1;e||(e={}),o=e.debug||!1;try{if(l=r(),u=document.createRange(),h=document.getSelection(),(c=document.createElement("span")).textContent=t,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(i){if(i.stopPropagation(),e.format){if(i.preventDefault(),void 0===i.clipboardData){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var r=n[e.format]||n.default;window.clipboardData.setData(r,t)}else i.clipboardData.clearData(),i.clipboardData.setData(e.format,t)}e.onCopy&&(i.preventDefault(),e.onCopy(i.clipboardData))}),document.body.appendChild(c),u.selectNodeContents(c),h.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");d=!0}catch(r){o&&console.error("unable to copy using execCommand: ",r),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),d=!0}catch(r){o&&console.error("unable to copy using clipboardData: ",r),o&&console.error("falling back to prompt"),i="message"in e?e.message:"Copy to clipboard: #{key}, Enter",s=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=i.replace(/#{\s*key\s*}/g,s),window.prompt(a,t)}}finally{h&&("function"==typeof h.removeRange?h.removeRange(u):h.removeAllRanges()),c&&document.body.removeChild(c),l()}return d}},73609:function(t,e,i){"use strict";function r(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(t);n<r.length;n++)0>e.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(i[r[n]]=t[r[n]])}return i}function n(t,e,i,r){return new(i||(i=Promise))(function(n,s){function o(t){try{l(r.next(t))}catch(t){s(t)}}function a(t){try{l(r.throw(t))}catch(t){s(t)}}function l(t){var e;t.done?n(t.value):((e=t.value)instanceof i?e:new i(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}i.d(e,{_:function(){return r},m:function(){return n}}),"function"==typeof SuppressedError&&SuppressedError},89748:function(t,e,i){"use strict";i.d(e,{R:function(){return a},j:function(){return o}});var r=i(11527),n=i(50959),s=i(32362);let o=(0,n.createContext)({}),a=t=>{var e;let{popupType:i="auto",chatPopupType:a="absolute",children:l}=t,{artifact:u}=(0,s.T)(),[h,c]=(0,n.useState)(null!==(e=null==u?void 0:u.popupType)&&void 0!==e?e:"auto"),[d,f]=(0,n.useState)([]),[p,m]=(0,n.use
1State)(null);return(0,r.jsx)(o.Provider,Object.assign({value:{popupType:i,currentPopupType:h,chatPopupType:a,artifacts:d,currentArtifact:p,setCurrentPopupType:c,setArtifacts:f,setCurrentArtifact:m}},{children:l}))}},74853:function(t,e,i){"use strict";i.d(e,{V:function(){return s},Z:function(){return o}});var r=i(11527),n=i(50959);let s=(0,n.createContext)({}),o=t=>{let{children:e,initialToken:i}=t,[o,a]=(0,n.useState)(""),[l,u]=(0,n.useState)(null!=i?i:null),[h,c]=(0,n.useState)(null),[d,f]=(0,n.useState)(!1),[p,m]=(0,n.useState)(!1),[g,y]=(0,n.useState)(!1),[v,b]=(0,n.useState)(!1),[w,x]=(0,n.useState)(!1),[S,E]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{void 0!==i&&u(i)},[i]),(0,r.jsx)(s.Provider,Object.assign({value:{emailInput:o,redirectUrl:h,token:l,isLoggedIn:!!l,isLoggedOut:!l,isLoggingIn:d,isSending:g,isResendDisabled:v,isSent:w,isPricingAuth:p,isAuthBootstrapComplete:S,setIsPricingAuth:m,setRedirectUrl:c,setEmailInput:a,setToken:u,setIsLoggingIn:f,setIsSending:y,setIsResendDisabled:b,setIsSent:x,setIsAuthBootstrapComplete:E}},{children:e}))}},6725:function(t,e,i){"use strict";i.d(e,{R:function(){return s},Z:function(){return o}});var r=i(11527),n=i(50959);let s=(0,n.createContext)({}),o=t=>{let{children:e}
1=t,[i,o]=(0,n.useState)([]),[a,l]=(0,n.useState)(""),[u,h]=(0,n.useState)(""),[c,d]=(0,n.useState)(!1),[f,p]=(0,n.useState)(!1);return(0,r.jsx)(s.Provider,Object.assign({value:{documents:i,documentCount:i.length,documentError:a,websiteLink:u,isUploading:c,isShowList:f,editDocument:t=>{o(e=>e.map(e=>e.id===t.id?Object.assign(Object.assign({},e),t):e))},setDocuments:o,addDocument:t=>{o(e=>[...e,t])},removeDocument:t=>{o(e=>e.filter(e=>e.id!==t))},setDocumentError:l,setWebsiteLink:h,setIsUploading:d,setIsShowList:p}},{children:e}))}},99318:function(t,e,i){"use strict";i.d(e,{I:function(){return s},Z:function(){return o}});var r=i(11527),n=i(50959);let s=(0,n.createContext)({}),o=t=>{let{children:e}=t,[i,o]=(0,n.useState)(0),[a,l]=(0,n.useState)(0);return(0,r.jsx)(s.Provider,Object.assign({value:{width:i,height:a,setWidth:o,setHeight:l,setDimension:(t,e)=>{o(t),l(e)}}},{children:e}))}},5934:function(t,e,i){"use strict";i.d(e,{e:function(){return d},z:function(){return c}});var r=i(73609),n=i(11527),s=i(50959),o=i(89748),a=i(99318),l=i(85245),u=i(6725),h=i(74853);let c=(0,s.createContext)({}),d=t=>{let{children:e,origin:d,sender:f,senderType:p,deploymentId:m,portalId:g,deploymentType:y,deploymentDimensions:v,deploymentMisc:b,styles:w,colors:x,limits:S={},misc:E={isWhiteLabel:!0,isProfileImage:!0,isChatImage:!0,isTitle:!0,isDescription:!0,isHistory:!0,isResponseDownload:!1},translations:T,artifact:A={popupType:"auto"},responsiveBy:P="viewport",locale:R="en",opacity:C=1,forceMobile:O=!1,disableHtml:k=!1,disableJs:D=!1,disableCss:j=!1,loadFont:M=!0,isRtl:L=!1,isEmbed:B=!1,mcpEnabled:U=!1,mcpGuestId:F,studioSessionToken:V,isDropShadow:I=!1,allowGuestUsage:N=!0,persistActiveConversation:_=!1,preventInitialSessionId:W=!1,onUpgrade:$,onGenerateComplete:q,onSessionIdChange:z}=t,[H,Y]=(0,s.useState)(""),[X,K]=(0,s.useState)(""),[G,Z]=(0,s.useState)(""),[J,Q]=(0,s.useState)(""),[tt,te]=(0,s.useState)(f),[ti,tr]=(0,s.useState)(null),[tn,ts]=(0,s.useState)(p),[to,ta]=(0,s.use
1State)("loading"),[tl,tu]=(0,s.useState)([]),[th,tc]=(0,s.useState)(null),[td,tf]=(0,s.useState)(null),[tp,tm]=(0,s.useState)(null),[tg,ty]=(0,s.useState)(null),[tv,tb]=(0,s.useState)("");(0,s.useEffect)(()=>tb(""),[X]);let[tw,tx]=(0,s.useState)(!1),[tS,tE]=(0,s.useState)(!0),[tT,tA]=(0,s.useState)(!0),[tP,tR]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{tx(!1)},[null==w?void 0:w.font]),(0,s.useEffect)(()=>{(0,r.m)(void 0,void 0,void 0,function*(){if(M&&!tw&&(null==w?void 0:w.font)&&"Real Head Pro"!==w.font)try{(yield i.e(4597).then(i.t.bind(i,84597,23))).default.load({google:{families:[w.font]},active:()=>{tx(!0)},inactive:()=>{console.error("[pxe] failed to load font {styles.font}"),tx(!0)}})}catch(t){console.error("[pxe] failed to load font:",t),tx(!0)}})},[M,tw,null==w?void 0:w.font]),(0,s.useEffect)(()=>{te(f)},[f]),(0,n.jsx)(c.Provider,Object.assign({value:Object.assign(Object.assign({origin:d,contextId:H,pickaxeId:X,sessionId:G,lastSessionId:J,sender:tt,senderType:tn,portalId:g,deploymentId:m,deploymentType:y,validationStatus:to,validationUpgradeGroups:tl,validationUpgradeUrl:th,deploymentDimensions:v,deploymentMisc:b,accessGroup:ti,pickaxe:tg,selectedModel:tv,setSelectedModel:tb,styles:Object.assign({theme:"light",font:"Real Head Pro",fontSize:"md",formFieldStyle:"box",btnStyle:"filled",outlineThickness:1,cornerRadius:4},w),colors:Object.assign({primary:"#F6F8FA",text:"#000000",secondary:"#FFFFFF",secondaryText:"#000000",accent:"#228DD7",accentText:"#FFFFFF",error:"#EF4444"},x),misc:E,translations:Object.assign({"form-next":"Next","form-progress":"Form progress","form-page-progress":"Question {current} of {total}","action-confirmation-needed":"Confirmation needed","action-confirmation-unavailable":"Confirmation unavailable","action-approved":"Approved","action-declined":"Declined","action-expired":"Expired","action-not-run":"Not run","action-label":"Action: {name}","action-confirmation-description":"Review this action before it runs. Your decision applies only to this call.","action-inputs":"Action inputs","decline-action":"Decline","approve-action":"Approve action","action-confirmation-resolved":"This confirmation has expired or already been resolved.","action-decision-failed":"Could not save your decision. Please try again.","ai-model":"AI model","default-ai-model":"Default ({model})","attach-files":"Attach files","new-chat":"New chat","see-history":"See history","see-input":"See input","hide-input":"Hide input",processing:"Processing...",uploading:"Uploading...",loading:"Loading...","powered-by-pickaxe":"Powered by Pickaxe","form-doc-placeholder":"Paste a website/video link or drag a file",website:"Website",copy:"Copy","file-limit-reached":"You have reached the file limit.","something-wrong-occured":"Something wrong occurred",save:"Save","save-as":"Save as","please-enter-email-to-continue":"Please enter your email to continue:","enter-email-to-continue":"Enter here your email to continue",submit:"Submit",sending:"Sending...","check-your-inbox":"Check your inbox","we-sent-your-an-activation-link":"We sent you an activation link. Please be sure to check your spam folder too.",resend:"Resend",resending:"Resending...","enter-verification-code":"Or enter the 6-digit code from the email","verification-code-session-missing":"Your login request could not be found. Please resend the email.","verification-code-invalid":"Invalid verification code.",verifying:"Verifying...",verify:"Verify","chat-history":"Chat History","exit-chat-history":"Exit Chat History","no-history":"No history yet.","mcp-use-with-ai-app":"Use with an AI app","mcp-use-agent-in-ai-app":"Use this agent in your AI app","mcp-connect-description":"Connect through MCP. Requests will be sent as your signed-in Studio user.","mcp-ai-app":"AI app","mcp-copy-configuration":"Copy MCP configuration","mcp-private-configuration-note":"Keep this configuration private. It contains your Studio session token and stops working when that session expires.","log-out":"Log Out","clear-form":"Clear form","form.clear-form":"Clear form",expand:"Expand","expand-artifact":"Expand artifact",collapse:"Collapse","collapse-
1artifact":"Collapse artifact",close:"Close","close-artifact":"Close artifact",download:"Download","copy-artifact-content":"Copy artifact content","download-artifact-content":"Download artifact content","delete-confirm":"Are you sure you want to delete this conversation?",other:"Other","select-options":"Select option(s)","select-an-option":"Select an option","type-your-answer":"Type your answer...",cancel:"Cancel","rename-chat":"Rename chat","delete-chat":"Delete chat","conversation-name":"Conversation name","not-available":"n/a","open-chat":"Open Chat",copied:"Copied!","copy-assistant-message":"Copy assistant message","failed-delete-conversation":"Failed to delete conversation.","failed-update-name":"Failed to update name.","failed-rename-chat":"Failed to rename chat.","failed-delete-chat":"Failed to delete chat.","drop-files-to-upload":"Drop files to upload","add-anything-to-the-conversation":"Add anything to the conversation","something-went-wrong-please-try-again":"Something went wrong. Please try again, or","contact-us":"contact us","for-help":"for help.",back:"Back","upgrade-required":"Upgrade Required","please-upgrade-to-continue-using-this-tool":"Please upgrade to continue using this tool.","access-locked":"Access Locked","this-tool-is-locked-contact-owner":"This tool is locked to use. Contact owner for more information.","access-denied":"Access Denied","login-is-required":"Login is required.","no-access-request-access":"It looks like you don't have access to these resources. Please request access to continue.","request-access":"Request Access",or:"or","sign-in-with-different-account":"Sign in with a different account","access-requested-successfully":"Successfully requested access!","open-tool":"Open Tool","fab-icon":"FAB Icon","iframe-artifact-fallback":"Iframe is not supported, please view this artifact in a browser that supports it.","html-preview":"HTML preview","image-link-is-broken":"[Image link is broken]","download-video":"Download Video","available-plans":"Available Plans",buy:"Buy",credits:"Credits",uses:"Uses",credits_upper:"CREDITS",uses_upper:"USES",free:"Free","pricing.free":"Free",unlimited:"Unlimited","pricing.unlimited":"Unlimited","authentication-required":"Authentication Required","smithery-auth-description-prefix":"The tool you are trying to use requires authentication with",dismiss:"Dismiss",connect:"Connect",connecting:"Connecting...","auth-failed":"Auth failed","failed-to-finalize-authentication":"Failed to finalize authentication.","must-be-logged-in-to-connect-smithery":"You must be logged in to connect Smithery MCPs.","feedback-dislike-input-placeholder":"Write here...","feedback-submit":"Submit","feedback-thanks":"Thanks for the feedback!","feedback-like-title":"What went right?","feedback-dislike-title":"What went wrong?","feedback-dislike-message":"Help us improve our answers","what-do-you-want-to-talk-about":"What do you want to talk about?","failed-to-start-generation":"Failed to start generation","response-too-long":"One or more of your responses is too long!","required-fields-missing":"You must fill out all required fields.","something-went-wrong":"Something went wrong.","something-went-wrong-try-again":"Something went wrong, please try again.","high-traffic-try-again-later":"Oops! We're experiencing high traffic at the moment. Please try again later.","queue-message":"Queue message","stop-response":"Stop response",steer:"Steer","steer-with":"Steer with",steering:"Steering...",starting:"Starting...","remove-queued-message":"Remove queued message","edit-message":"Edit message","more-options":"More options","failed-to-interrupt-current-response":"Failed to interrupt the current response.","current-response-still-stopping":"The current response is still stopping. Please send your message again in a moment.","queued-message-waiting":"A queued message is waiting for the previous response to finish.",listening:"Listening...",remaining:"remaining",upgrade:"Upgrade","pricing.upgrade":"Upgrade","email-address-cannot-be-empty":"Email address cannot be empty.","please-enter-valid-email-address":"Please enter a valid email address.","failed-to-send-sign-in-link":"Failed to send sign-in link.",tool:"Tool","document-processing-failed":"Document processing failed","invali
1d-upload-file-types":"You can only upload PDF, TXT, DOCX, CSV, XLSX, JSON, PPTX, MD, HTML, XML, PNG, JPEG, WEBP, GIF, or M4A files. Please try again.","invalid-website-or-youtube-link":"Please paste a valid website URL or Youtube video link to add to the knowledge base.","website-processing-failed":"Website processing failed, please try again.","invalid-website-url":"Please paste a valid website URL","document-upload-required":"Please paste a valid website/video link or drag a file to add to the knowledge base.",thinking:"Thinking...",thought:"Thought","thought-for":"Thought for",seconds:"seconds","untitled-artifact":"Untitled Artifact",created:"Created",updated:"Updated",rewrote:"Rewrote",artifact:"Artifact","iframe-not-supported-use-different-browser":"Iframe not supported, use a different browser."},T),artifact:A,responsiveBy:P,locale:R,opacity:C,forceMobile:O,loadFont:M,disableHtml:k,disableJs:D,disableCss:j,isFontLoaded:tw,isNewChat:tS,isShowIceBreaker:tT,isShowFeedbackMessage:tP,isRtl:L,isEmbed:B,mcpEnabled:U,mcpGuestId:F,isDropShadow:I,allowGuestUsage:N,persistActiveConversation:_,clientSecret:tp,stripeAccountId:td,preventInitialSessionId:W,setClientSecret:tm,setStripeAccountId:tf,setContextId:Y,setValidationStatus:ta,setValidationUpgradeGroups:tu,setValidationUpgradeUrl:tc,setPickaxeId:K,setSessionId:t=>{Z(e=>{let i="function"==typeof t?t(e):t;return null==z||z(i),i})}
1,setLastSessionId:Q,setSender:te,setSenderType:ts,setAccessGroup:tr,setPickaxe:ty,setIsFontLoaded:tx,setIsNewChat:tE,setIsShowIceBreaker:tA,setIsShowFeedbackMessage:tR},$&&{onUpgrade:$}),q&&{onGenerateComplete:q})},{children:(0,n.jsx)(h.Z,Object.assign({initialToken:V},{children:(0,n.jsx)(a.Z,{children:(0,n.jsx)(l.Z,Object.assign({limits:S},{children:(0,n.jsx)(u.Z,{children:(0,n.jsx)(o.R,Object.assign({},A,{children:e}))})}))})}))}))}},85245:function(t,e,i){"use strict";i.d(e,{v:function(){return a},Z:function(){return l}});var r=i(11527),n=i(73609),s=i(32362),o=i(50959);let a=(0,o.createContext)({}),l=t=>{let{limits:e,children:i}=t,[l,u]=(0,o.useState)("idle"),h=function(t){var e,i;let{translations:r}=(0,s.T)(),a=null!==(e=null==r?void 0:r["action-decision-failed"])&&void 0!==e?e:"Could not save your decision. Please try again.",l=null!==(i=null==r?void 0:r["action-confirmation-resolved"])&&void 0!==i?i:"This confirmation has expired or already been resolved.",[u,h]=(0,o.useState)(null),[c,d]=(0,o.useState)(null),[f,p]=(0,o.useState)({}),[m,g]=(0,o.useState)({}),y=(0,o.useRef)(null);(0,o.useEffect)(()=>(d(null),p({}),g({}),()=>{var t;null===(t=y.current)||void 0===t||t.abort(),y.current=null}),[u,t]);let v=(0,o.useCallback)((e,i)=>(0,n.m)(this,void 0,void 0,function*(){if(!t||!u||y.current)return;let r=a,n=new AbortController;y.current=n;let s=setTimeout(()=>n.abort(),15e3);d(e),p(t=>Object.assign(Object.assign({},t),{[e]:""}));try{let t=yield fetch("".concat("https://pickaxe-api2.pickaxe.co","/response/action-approvals/").concat(e),{method:"POST",headers:{Authorization:"Bearer ".concat(u),"Content-Type":"application/json"},body:JSON.stringify({decision:i}),signal:n.signal});if(!t.ok)throw r=409===t.status?l:a,Error(r);y.current===n&&g(t=>Object.assign(Object.assign({},t),{[e]:i}))}catch(t){y.current===n&&p(t=>Object.assign(Object.assign({},t),{[e]:r}))}finally{clearTimeout(s),y.current===n&&(y.current=null,d(null))}}),[t,u,a,l]);return{setToken:h,enabled:t&&!!u,busyId:c,errors:f,decisions:m,decide:v}}("streaming"===l),[c,d]=(0,o.useState)([]),[f,p]=(0,o.useState)(null),[m,g]=(0,o.useState)(null),[y,v]=(0,o.useState)(!1),[b,w]=(0,o.useState)(!1),[x,S]=(0,o.useState)("");return(0,r.jsx)(a.Provider,Object.assign({value:{messages:c,response:f,status:l,limits:e,limitData:m,error:x,isGenerating:"fetching"===l||"streaming"===l,isGuestLimitReached:y,isSwitchedToChat:b,setMessages:d,setResponse:p,setStatus:u,setLimitData:g,setError:S,setActionApprovalToken:h.setToken,actionApproval:h,setIsGuestLimitReached:v,setIsSwitchedToChat:w}},{children:i}))}},32362:function(t,e,i){"use strict";i.d(e,{T:function(){return s}});var r=i(50959),n=i(5934);let s=()=>(0,r.useContext)(n.z)},65199:function(t,e,i){"use strict";i.d(e,{d:function(){return s}});var r=i(50959),n=i(85245);let s=()=>(0,r.useContext)(n.v)},44440:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(59633).Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},48356:function(t,e,i){"use strict";i.d(e,{Z:function(){return r}});let r=(0,i(59633).Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},15062:function(t){!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),i=e[0],r=e[1];return(i+r)*3/4-r},e.toByteArray=function(t){var e,i,s=l(t),o=s[0],a=s[1],u=new n((o+a)*3/4-a),h=0,c=a>0?o-4:o;for(i=0;i<c;i+=4)e=r[t.charCodeAt(i)]<<18|r[t.charCodeAt(i+1)]<<12|r[t.charCodeAt(i+2)]<<6|r[t.charCodeAt(i+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;return 2===a&&(e=r[t.charCodeAt(i)]<<2|r[t.charCodeAt(i+1)]>>4,u[h++]=255&e),1===a&&(e=r[t.charCodeAt(i)]<<10|r[t.charCodeAt(i+1)]<<4|r[t.charCodeAt(i+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e),u},e.fromByteArray=function(t){for(var e,r=t.length,n=r%3,s=[],o=0,a=r-n;o<a;o+=16383)s.push(function(t,e,r){for(var n,s=[],o=e;o<r;o+=3)s.push(i[(n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]))>>18&63]+i[n>>12&63]+i[n>>6&63]+i[63&n]);return s.join("")}(t,o,o+16383>a?a:o+16383));return 1===n?s.push(i[(e=t[r-1])>>2]+i[e<<4&63]+"=="):2===n&&s.push(i[(e=(t[r-2]<<8)+t[r-1])>>10]+i[e>>4&63]+i[e<<2&63]+"="),s.join("")};for(var i=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/",o=0,a=s.length;o<a;++o)i[o]=s[o],r[s.charCodeAt(o)]=o;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var i=t.indexOf("=");-1===i&&(i=e);var r=i===e?0:4-i%4;return[i,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(t,e,i){"use strict";var r=i(675),n=i(783),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(t){if(t>2147483647)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,i){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return l(t,e,i)}function l(t,e,i){if("string"==typeof t)return function(t,e){if(("string"!=typeof e||""===e)&&(e="utf8"),!a.isEncoding(e))throw TypeError("Unknown encoding: "+e);var i=0|f(t,e),r=o(i),n=r.write(t,e);return n!==i&&(r=r.slice(0,n)),r}(t,e);if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(O(t,ArrayBuffer)||t&&O(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(t,SharedArrayBuffer)||t&&O(t.buffer,SharedArrayBuffer)))return function(t,e,i){var r;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(i||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===e&&void 0===i?new Uint8Array(t):void 0===i?new Uint8Array(t,e):new Uint8Array(t,e,i),a.prototype),r}(t,e,i);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var r=t.valueOf&&t.valueOf();if(null!=r&&r!==t)return a.from(r,e,i);var n=function(t){if(a.isBuffer(t)){var e,i=0|d(t.length),r=o(i);return 0===r.length||t.copy(r,0,0,i),r}return void 0!==t.length?"number"!=typeof t.length||(e=t.length)!=e?o(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),o(t<0?0:0|d(t))}function c(t){for(var e=t.length<0?0:0|d(t.length),i=o(e),r=0;r<e;r+=1)i[r]=255&t[r];return i}function d(t){if(t>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function f(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||O(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var i=t.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===i)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return A(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return R(t).length;default:if(n)return r?-1:A(t).length;e=(""+e).toLowerCase(),n=!0}}function p(t,e,i){var n,s,o=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,i){var r=t.length;(!e||e<0)&&(e=0),(!i||i<0||i>r)&&(i=r);for(var n="",s=e;s<i;++s)n+=k[t[s]];return n}(this,e,i);case"utf8":case"utf-8":return v(this,e,i);case"ascii":return function(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(127&t[n]);return r}(this,e,i);case"latin1":case"binary":return function(t,e,i){var r="";i=Math.min(t.length,i);for(var n=e;n<i;++n)r+=String.fromCharCode(t[n]);return r}(this,e,i);case"base64":return n=e,s=i,0===n&&s===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(n,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,
1i){for(var r=t.slice(e,i),n="",s=0;s<r.length;s+=2)n+=String.fromCharCode(r[s]+256*r[s+1]);return n}(this,e,i);default:if(o)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),o=!0}}function m(t,e,i){var r=t[e];t[e]=t[i],t[i]=r}function g(t,e,i,r,n){var s;if(0===t.length)return -1;if("string"==typeof i?(r=i,i=0):i>2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),(s=i=+i)!=s&&(i=n?0:t.length-1),i<0&&(i=t.length+i),i>=t.length){if(n)return -1;i=t.length-1}else if(i<0){if(!n)return -1;i=0}if("string"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:y(t,e,i,r,n);if("number"==typeof e)return(e&=255,"function"==typeof Uint8Array.prototype.indexOf)?n?Uint8Array.prototype.indexOf.call(t,e,i):Uint8Array.prototype.lastIndexOf.call(t,e,i):y(t,[e],i,r,n);throw TypeError("val must be string, number or Buffer")}function y(t,e,i,r,n){var s,o=1,a=t.length,l=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return -1;o=2,a/=2,l/=2,i/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(n){var h=-1;for(s=i;s<a;s++)if(u(t,s)===u(e,-1===h?0:s-h)){if(-1===h&&(h=s),s-h+1===l)return h*o}else -1!==h&&(s-=s-h),h=-1}else for(i+l>a&&(i=a-l),s=i;s>=0;s--){for(var c=!0,d=0;d<l;d++)if(u(t,s+d)!==u(e,d)){c=!1;break}if(c)return s}return -1}function v(t,e,i){i=Math.min(t.length,i);for(var r=[],n=e;n<i;){var s,o,a,l,u=t[n],h=null,c=u>239?4:u>223?3:u>191?2:1;if(n+c<=i)switch(c){case 1:u<128&&(h=u);break;case 2:(192&(s=t[n+1]))==128&&(l=(31&u)<<6|63&s)>127&&(h=l);break;case 3:s=t[n+1],o=t[n+2],(192&s)==128&&(192&o)==128&&(l=(15&u)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:s=t[n+1],o=t[n+2],a=t[n+3],(192&s)==128&&(192&o)==128&&(192&a)==128&&(l=(15&u)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(h=l)}null===h?(h=65533,c=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),n+=c}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var i="",r=0;r<e;)i+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return i}(r)}function b(t,e,i){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>i)throw RangeError("Trying to access beyond buffer length")}function w(t,e,i,r,n,s){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<s)throw RangeError('"value" argument is out of bounds');if(i+r>t.length)throw RangeError("Index out of range")}function x(t,e,i,r,n,s){if(i+r>t.length||i<0)throw RangeError("Index out of range")}function S(t,e,i,r,s){return e=+e,i>>>=0,s||x(t,e,i,4,34028234663852886e22,-34028234663852886e22),n.write(t,e,i,r,23,4),i+4}function E(t,e,i,r,s){return e=+e,i>>>=0,s||x(t,e,i,8,17976931348623157e292,-17976931348623157e292),n.write(t,e,i,r,52,8),i+8}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,i){return l(t,e,i)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,i){return(u(t),t<=0)?o(t):void 0!==e?"string"==typeof i?o(t).fill(e,i):o(t).fill(e):o(t)},a.allocUnsafe=function(t){return h(t)},a.allocUnsafeSlow=function(t){return h(t)},a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),O(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!
vendor: 8,498 bytes, line 1
1a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var i=t.length,r=e.length,n=0,s=Math.min(i,r);n<s;++n)if(t[n]!==e[n]){i=t[n],r=e[n];break}return i<r?-1:r<i?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(i=0,e=0;i<t.length;++i)e+=t[i].length;var i,r=a.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var s=t[i];if(O(s,Uint8Array)&&(s=a.from(s)),!a.isBuffer(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(r,n),n+=s.length}return r},a.byteLength=f,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?v(this,0,t):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",i=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(t+=" ... "),"<Buffer "+t+">"},s&&(a.prototype[s]=a.prototype.inspect),a.prototype.compare=function(t,e,i,r,n){if(O(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===i&&(i=t?t.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),e<0||i>t.length||r<0||n>this.length)throw RangeError("out of range index");if(r>=n&&e>=i)return 0;if(r>=n)return -1;if(e>=i)return 1;if(e>>>=0,i>>>=0,r>>>=0,n>>>=0,this===t)return 0;for(var s=n-r,o=i-e,l=Math.min(s,o),u=this.slice(r,n),h=t.slice(e,i),c=0;c<l;++c)if(u[c]!==h[c]){s=u[c],o=h[c];break}return s<o?-1:o<s?1:0},a.prototype.includes=function(t,e,i){return -1!==this.indexOf(t,e,i)},a.prototype.indexOf=function(t,e,i){return g(this,t,e,i,!0)},a.prototype.lastIndexOf=function(t,e,i){return g(this,t,e,i,!1)},a.prototype.write=function(t,e,i,r){if(void 0===e)r="utf8",i=this.length,e=0;else if(void 0===i&&"string"==typeof e)r=e,i=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(i)?(i>>>=0,void 0===r&&(r="utf8")):(r=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,s,o,a,l,u,h,c,d,f,p,m,g=this.length-e;if((void 0===i||i>g)&&(i=g),t.length>0&&(i<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var y=!1;;)switch(r){case"hex":return function(t,e,i,r){i=Number(i)||0;var n=t.length-i;r?(r=Number(r))>n&&(r=n):r=n;var s=e.length;r>s/2&&(r=s/2);for(var o=0;o<r;++o){var a=parseInt(e.substr(2*o,2),16);if(a!=a)break;t[i+o]=a}return o}(this,t,e,i);case"utf8":case"utf-8":return l=e,u=i,C(A(t,this.length-l),this,l,u);case"ascii":return h=e,c=i,C(P(t),this,h,c);case"latin1":case"binary":return n=this,s=t,o=e,a=i,C(P(s),n,o,a);case"base64":return d=e,f=i,C(R(t),this,d,f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return p=e,m=i,C(function(t,e){for(var i,r,n=[],s=0;s<t.length&&!((e-=2)<0);++s)r=(i=t.charCodeAt(s))>>8,n.push(i%256),n.push(r);return n}(t,this.length-p),this,p,m);default:if(y)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),y=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var i=this.length;t=~~t,e=void 0===e?i:~~e,t<0?(t+=i)<0&&(t=0):t>i&&(t=i),e<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t);var r=this.subarray(t,e);return Object.setPrototypeOf(r,a.prototype),r},a.prototype.readUIntLE=function(t,e,i){t>>>=0,e>>>=0,i||b(t,e,this.length);for(var r=this[t],n=1,s=0;++s<e&&(n*=256);)r+=this[t+s]*n;return r},a.prototype.readUIntBE=function(t,e,i){t>>>=0,e>>>=0,i||b(t,e,this.length);for(var r=this[t+--e],n=1;e>0&&(n*=256);)r+=this[t+--e]*n;return r},a.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,i){t>>>=0,e>>>=0,i||b(t,e,this.length);for(var r=this[t],n=1,s=0;++s<e&&(n*=256);)r+=this[t+s]*n;return r>=(n*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,i){t>>>=0,e>>>=0,i||b(t,e,this.length);for(var r=e,n=1,s=this[t+--r];r>0&&(n*=256);)s+=this[t+--r]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*e)),s},a.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var i=this[t]|this[t+1]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var i=this[t+1]|this[t]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),n.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),n.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),n.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),n.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,i,r){if(t=+t,e>>>=0,i>>>=0,!r){var n=Math.pow(2,8*i)-1;w(this,t,e,i,n,0)}var s=1,o=0;for(this[e]=255&t;++o<i&&(s*=256);)this[e+o]=t/s&255;return e+i},a.prototype.writeUIntBE=function(t,e,i,r){if(t=+t,e>>>=0,i>>>=0,!r){var n=Math.pow(2,8*i)-1;w(this,t,e,i,n,0)}var s=i-1,o=1;for(this[e+s]=255&t;--s>=0&&(o*=256);)this[e+s]=t/o&255;return e+i},a.prototype.writeUInt8=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,4,4294967295,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,4,4294967295,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,i,r){if(t=+t,e>>>=0,!r){var n=Math.pow(2,8*i-1);w(this,t,e,i,n-1,-n)}var s=0,o=1,a=0;for(this[e]=255&t;++s<i&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+i},a.prototype.writeIntBE=function(t,e,i,r){if(t=+t,e>>>=0,!r){var n=Math.pow(2,8*i-1);w(this,t,e,i,n-1,-n)}var s=i-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o>>0)-a&255;return e+i},a.prototype.writeInt8=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2}
1,a.prototype.writeInt32LE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,4,2147483647,-2147483648),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,i){return t=+t,e>>>=0,i||w(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,i){return S(this,t,e,!0,i)},a.prototype.writeFloatBE=function(t,e,i){return S(this,t,e,!1,i)},a.prototype.writeDoubleLE=function(t,e,i){return E(this,t,e,!0,i)},a.prototype.writeDoubleBE=function(t,e,i){return E(this,t,e,!1,i)},a.prototype.copy=function(t,e,i,r){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(i||(i=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<i&&(r=i),r===i||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-i&&(r=t.length-e+i);var n=r-i;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,i,r);else if(this===t&&i<e&&e<r)for(var s=n-1;s>=0;--s)t[s+e]=this[s+i];else Uint8Array.prototype.set.call(t,this.subarray(i,r),e);return n},a.prototype.fill=function(t,e,i,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,i=this.length):"string"==typeof i&&(r=i,i=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===t.length){var n,s=t.charCodeAt(0);("utf8"===r&&s<128||"latin1"===r)&&(t=s)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<i)throw RangeError("Out of range index");if(i<=e)return this;if(e>>>=0,i=void 0===i?this.length:i>>>0,t||(t=0),"number"==typeof t)for(n=e;n<i;++n)this[n]=t;else{var o=a.isBuffer(t)?t:a.from(t,r),l=o.length;if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(n=0;n<i-e;++n)this[n+e]=o[n%l]}return this};var T=/[^+/0-9A-Za-z-_]/g;function A(t,e){e=e||1/0;for(var i,r=t.length,n=null,s=[],o=0;o<r;++o){if((i=t.charCodeAt(o))>
155295&&i<57344){if(!n){if(i>56319||o+1===r){(e-=3)>-1&&s.push(239,191,189);continue}n=i;continue}if(i<56320){(e-=3)>-1&&s.push(239,191,189),n=i;continue}i=(n-55296<<10|i-56320)+65536}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,i<128){if((e-=1)<0)break;s.push(i)}else if(i<2048){if((e-=2)<0)break;s.push(i>>6|192,63&i|128)}else if(i<65536){if((e-=3)<0)break;s.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((e-=4)<0)break;s.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return s}function P(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}function R(t){return r.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(T,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,e,i,r){for(var n=0;n<r&&!(n+i>=e.length)&&!(n>=t.length);++n)e[n+i]=t[n];return n}function O(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var k=function(){for(var t="0123456789abcdef",e=Array(256),i=0;i<16;++i)for(var r=16*i,n=0;n<16;++n)e[r+n]=t[i]+t[n];return e}()},783:function(t,e){e.read=function(t,e,i,r,n){var s,o,a=8*n-r-1,l=(1<<a)-1,u=l>>1,h=-7,c=i?n-1:0,d=i?-1:1,f=t[e+c];for(c+=d,s=f&(1<<-h)-1,f>>=-h,h+=a;h>0;s=256*s+t[e+c],c+=d,h-=8);for(o=s&(1<<-h)-1,s>>=-h,h+=r;h>0;o=256*o+t[e+c],c+=d,h-=8);if(0===s)s=1-u;else{if(s===l)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),s-=u}return(f?-1:1)*o*Math.pow(2,s-r)},e.write=function(t,e,i,r,n,s){var o,a,l,u=8*s-n-1,h=(1<<u)-1,c=h>>1,d=23===n?5960464477539062e-23:0,f=r?0:s-1,p=r?1:-1,m=e<0||0===e&&1/e<0?1:0;for(isNaN(e=Math.abs(e))||e===1/0?(a=isNaN(e)?1:0,o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+c>=1?e+=d/l:e+=d*Math.pow(2,1-c),e*l>=2&&(o++,l/=2),o+c>=h?(a=0,o=h):o+c>=1?(a=(e*l-1)*Math.pow(2,n),o+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,n),o=0));n>=8;t[i+f]=255&a,f+=p,a/=256,n-=8);for(o=o<<n|a,u+=n;u>0;t[i+f]=255&o,f+=p,o/=256,u-=8);t[i+f-p]|=128*m}}},i={};function r(t){var n=i[t];if(void 0!==n)return n.exports;var s=i[t]={exports:{}},o=!0;try{e[t](s,s.exports,r),o=!1}finally{o&&delete i[t]}return s.exports}r.ab="//";var n=r(72);t.exports=n}()},16935:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,i=[],r=0;r<t.rangeCount;r++)i.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||i.forEac
1h(function(e){t.addRange(e)}),e&&e.focus()}}},76619:function(t,e,i){"use strict";var r=i(50959),n="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},s=r.useState,o=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var i=e();return!n(t,i)}catch(t){return!0}}var h="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var i=e(),r=s({inst:{value:i,getSnapshot:e}}),n=r[0].inst,h=r[1];return a(function(){n.value=i,n.getSnapshot=e,u(n)&&h({inst:n})},[t,i,e]),o(function(){return u(n)&&h({inst:n}),t(function(){u(n)&&h({inst:n})})},[t]),l(i),i};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:h},66159:function(t,e,i){"use strict";t.exports=i(76619)},59739:function(t,e,i){"use strict";i.d(e,{Z:function(){return l}});for(var r,n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},s=new Uint8Array(16),o=[],a=0;a<256;++a)o.push((a+256).toString(16).slice(1));var l=function(t,e,i){if(n.randomUUID&&!e&&!t)return n.randomUUID();var a=(t=t||{}).random||(t.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(s)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e){i=i||0;for(var l=0;l<16;++l)e[i+l]=a[l];return e}return function(t,e=0){return(o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]).toLowerCase()}(a)}},14151:function(t,e,i){"use strict";i.d(e,{NY:function(){return E},Ee:function(){return S},fC:function(){return x}});var r=i(50959),n=i(11527),s=i(21860),o=i(56218),a=i(1750),l=i(66159);function u(){return()=>{}}var h="Avatar",[c,d]=function(t,e=[]){let i=[],s=()=>{let e=i.map(t=>r.createContext(t));return function(i){let n=i?.[t]||e;return r.useMemo(()=>({[`__scope${t}`]:{...i,[t]:n}}),[i,n])}};return s.scopeName=t,[function(e,s){let o=r.createContext(s);o.displayName=e+"Context";let a=i.length;i=[...i,s];let l=e=>{let{scope:i,children:s,...l}=e,u=i?.[t]?.[a]||o,h=r.useMemo(()=>l,Object.values(l));return(0,n.jsx)(u.Provider,{value:h,children:s})};return l.displayName=e+"Provider",[l,function(i,n){let l=n?.[t]?.[a]||o,u=r.useContext(l);if(u)return u;if(void 0!==s)return s;throw Error(`\`${i}\` must be used within \`${e}\``)}]},function(...t){let e=t[0];if(1===t.length)return e;let i=()=>{let i=t.map(t=>({useScope:t(),scopeName:t.scopeName}));return function(t){let n=i.reduce((e,{useScope:i,scopeName:r})=>{let n=i(t)[`__scope${r}`];return{...e,...n}},{});return r.useMemo(()=>({[`__scope${e.scopeName}`]:n}),[n])}};return i.scopeName=e.scopeName,i}(s,...e)]}(h),[f,p]=c(h),m=r.forwardRef((t,e)=>{let{__scopeAvatar:i,...s}=t,[o,l]=r.useState("idle");return(0,n.jsx)(f,{scope:i,imageLoadingStatus:o,onImageLoadingStatusChange:l,children:(0,n.jsx)(a.WV.span,{...s,ref:e})})});m.displayName=h;var g="AvatarImage",y=r.forwardRef((t,e)=>{let{__scopeAvatar:i,src:h,onLoadingStatusChange:c=()=>{},...d}=t,f=p(g,i),m=function(t,{referrerPolicy:e,crossOrigin:i}){let n=(0,l.useSyncExternalStore)(u,()=>!0,()=>!1),s=r.useRef(null),a=n?(s.current||(s.current=new window.Image),s.current):null,[h,c]=r.useState(()=>w(a,t));return(0,o.b)(()=>{c(w(a,t))},[a,t]),(0,o.b)(()=>{let t=t=>()=>{c(t)};if(!a)return;let r=t("loaded"),n=t("error");return a.addEventListener("load",r),a.addEventListener("error",n),e&&(a.referrerPolicy=e),"string"==typeof i&&(a.crossOrigin=i),()=>{a.removeEventListener("load",r),a.removeEventListener("error",n)}},[a,i,e]),h}(h,d),y=(0,s.W)(t=>{c(t),f.onImageLoadingStatusChange(t)});return(0,o.b)(()=>{"idle"!==m&&y(m)},[m,y]),"loaded"===m?(0,n.jsx)(a.WV.img,{...d,ref:e,src:h}):null});y.displayName=g;var v="AvatarFallback",b=r.forwardRef((t,e)=>{let{__scopeAvatar:i,delayMs:s,...o}=t,l=p(v,i),[u,h]=r.useState(void 0===s);return r.useEffect(()=>{if(void 0!==s){let t=window.setTimeout(()=>h(!0),s);return()=>window.clearTimeout(t)}},[s]),u&&"loaded"!==l.imageLoadingStatus?(0,n.jsx)(a.WV.span,{...o,ref:e}):null});function w(t,e){return t?e?(t.src!==e&&(t.src=e),t.complete&&t.naturalWi
1dth>0?"loaded":"loading"):"error":"idle"}b.displayName=v;var x=m,S=y,E=b},1750:function(t,e,i){"use strict";i.d(e,{WV:function(){return o}});var r=i(50959);i(10422);var n=i(53874),s=i(11527),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((t,e)=>{let i=(0,n.Z8)(`Primitive.${e}`),o=r.forwardRef((t,r)=>{let{asChild:n,...o}=t,a=n?i:e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a,{...o,ref:r})});return o.displayName=`Primitive.${e}`,{...t,[e]:o}},{})},53874:function(t,e,i){"use strict";i.d(e,{Z8:function(){return h},g7:function(){return c}});var r,n=i(50959),s=i(88633),o=i(11527),a=Symbol.for("react.lazy"),l=(r||(r=i.t(n,2)))[" use ".trim().toString()];function u(t){var e;return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===a&&"_payload"in t&&"object"==typeof(e=t._payload)&&null!==e&&"then"in e}function h(t){let e=function(t){let e=n.forwardRef((t,e)=>{let{children:i,...r}=t;if(u(i)&&"function"==typeof l&&(i=l(i._payload)),n.isValidElement(i)){var o;let t,a;let l=(o=i,(t=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?o.ref:(t=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?o.props.ref:o.props.ref||o.ref),u=function(t,e){let i={...e};for(let r in e){let n=t[r],s=e[r];/^on[A-Z]/.test(r)?n&&s?i[r]=(...t)=>{let e=s(...t);return n(...t),e}:n&&(i[r]=n):"style"===r?i[r]={...n,...s}:"className"===r&&(i[r]=[n,s].filter(Boolean).join(" "))}return{...t,...i}}(r,i.props);return i.type!==n.Fragment&&(u.ref=e?(0,s.F)(e,l):l),n.cloneElement(i,u)}return n.Children.count(i)>1?n.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}(t),i=n.forwardRef((t,i)=>{let{children:r,...s}=t;u(r)&&"function"==typeof l&&(r=l(r._payload));let a=n.Children.toArray(r),h=a.find(f);if(h){let t=h.props.children,r=a.map(e=>e!==h?e:n.Children.count(t)>1?n.Children.only(null):n.isValidElement(t)?t.props.children:null);return(0,o.jsx)(e,{...s,ref:i,children:n.isValidElement(t)?n.cloneElement(t,void 0,r):null})}return(0,o.jsx)(e,{...s,ref:i,children:r})});return i.displayName=`${t}.Slot`,i}var c=h("Slot"),d=Symbol("radix.slottable");function f(t){return n.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===d}}
1,90334:function(t,e,i){"use strict";let r,n,s,o,a;i.d(e,{Z:function(){return ef}});var l,u,h,c,d,f={};function p(t,e){return function(){return t.apply(e,arguments)}}i.r(f),i.d(f,{hasBrowserEnv:function(){return tg},hasStandardBrowserEnv:function(){return tv},hasStandardBrowserWebWorkerEnv:function(){return tb},navigator:function(){return ty},origin:function(){return tw}});var m=i(46706);let{toString:g}=Object.prototype,{getPrototypeOf:y}=Object,v=(r=Object.create(null),t=>{let e=g.call(t);return r[e]||(r[e]=e.slice(8,-1).toLowerCase())}),b=t=>(t=t.toLowerCase(),e=>v(e)===t),w=t=>e=>typeof e===t,{isArray:x}=Array,S=w("undefined"),E=b("ArrayBuffer"),T=w("string"),A=w("function"),P=w("number"),R=t=>null!==t&&"object"==typeof t,C=t=>{if("object"!==v(t))return!1;let e=y(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},O=b("Date"),k=b("File"),D=b("Blob"),j=b("FileList"),M=b("URLSearchParams"),[L,B,U,F]=["ReadableStream","Request","Response","Headers"].map(b);function V(t,e,{allOwnKeys:i=!1}={}){let r,n;if(null!=t){if("object"!=typeof t&&(t=[t]),x(t))for(r=0,n=t.length;r<n;r++)e.call(null,t[r],r,t);else{let n;let s=i?Object.getOwnPropertyNames(t):Object.keys(t),o=s.length;for(r=0;r<o;r++)n=s[r],e.call(null,t[n],n,t)}}}function I(t,e){let i;e=e.toLowerCase();let r=Object.keys(t),n=r.length;for(;n-- >0;)if(e===(i=r[n]).toLowerCase())return i;return null}let N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,_=t=>!S(t)&&t!==N,W=(n="undefined"!=typeof Uint8Array&&y(Uint8Array),t=>n&&t instanceof n),$=b("HTMLFormElement"),q=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),z=b("RegExp"),H=(t,e)=>{let i=Object.getOwnPropertyDescriptors(t),r={};V(i,(i,n)=>{let s;!1!==(s=e(i,n,t))&&(r[n]=s||i)}),Object.defineProperties(t,r)},Y=b("AsyncFunction"),X=(l="function"==typeof setImmediate,u=A(N.postMessage),l?setImmediate:u?(h=`axios@${Math.random()}`,c=[],N.addEventListener("message",({source:t,data:e})=>{t===N&&e===h&&c.length&&c.shift()()},!1),t=>{c.push(t),N.postMessage(h,"*")}):t=>setTimeout(t)),K="undefined"!=typeof queueMicrotask?queueMicrotask.bind(N):void 0!==m&&m.nextTick||X;var G={isArray:x,isArrayBuffer:E,isBuffer:function(t){return null!==t&&!S(t)&&null!==t.constructor&&!S(t.constructor)&&A(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||A(t.append)&&("formdata"===(e=v(t))||"object"===e&&A(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&E(t.buffer)},isString:T,isNumber:P,isBoolean:t=>!0===t||!1===t,isObject:R,isPlainObject:C,isReadableStream:L,isRequest:B,isResponse:U,isHeaders:F,isUndefined:S,isDate:O,isFile:k,isBlob:D,isRegExp:z,isFunction:A,isStream:t=>R(t)&&A(t.pipe),isURLSearchParams:M,isTypedArray:W,isFileList:j,forEach:V,merge:function t(){let{caseless:e}=_(this)&&this||{},i={},r=(r,n)=>{let s=e&&I(i,n)||n;C(i[s])&&C(r)?i[s]=t(i[s],r):C(r)?i[s]=t({},r):x(r)?i[s]=r.slice():i[s]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&V(arguments[t],r);return i},extend:(t,e,i,{allOwnKeys:r}={})=>(V(e,(e,r)=>{i&&A(e)?t[r]=p(e,i):t[r]=e},{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,i,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},toFlatObject:(t,e,i,r)=>{let n,s,o;let a={};if(e=e||{},null==t)return e;do{for(s=(n=Object.getOwnPropertyNames(t)).length;s-- >0;)o=n[s],(!r||r(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=!1!==i&&y(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},kindOf:v,kindOfTest:b,endsWith:(t,e,i)=>{t=String(t),(void 0===i||i>t.length)&&(i=t.length),i-=e.length;let r=t.indexOf(e,i);return -1!==r&&r===i},toArray:t=>{if(!t)return null;if(x(t))return t;let e=t.length;if(!P(e))return null;let i=Array(e);for(;e-- >0;)i[e]=t[e];return i}
1,forEachEntry:(t,e)=>{let i;let r=(t&&t[Symbol.iterator]).call(t);for(;(i=r.next())&&!i.done;){let r=i.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let i;let r=[];for(;null!==(i=t.exec(e));)r.push(i);return r},isHTMLForm:$,hasOwnProperty:q,hasOwnProp:q,reduceDescriptors:H,freezeMethods:t=>{H(t,(e,i)=>{if(A(t)&&-1!==["arguments","caller","callee"].indexOf(i))return!1;if(A(t[i])){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},toObjectSet:(t,e)=>{let i={};return(t=>{t.forEach(t=>{i[t]=!0})})(x(t)?t:String(t).split(e)),i},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,i){return e.toUpperCase()+i}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:I,global:N,isContextDefined:_,isSpecCompliantForm:function(t){return!!(t&&A(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{let e=Array(10),i=(t,r)=>{if(R(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;let n=x(t)?[]:{};return V(t,(t,e)=>{let s=i(t,r+1);S(s)||(n[e]=s)}),e[r]=void 0,n}}return t};return i(t,0)},isAsyncFn:Y,isThenable:t=>t&&(R(t)||A(t))&&A(t.then)&&A(t.catch),setImmediate:X,asap:K};function Z(t,e,i,r,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),r&&(this.request=r),n&&(this.response=n,this.status=n.status?n.status:null)}G.inherits(Z,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.status}}});let J=Z.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Q[t]={value:t}}),Object.defineProperties(Z,Q),Object.defineProperty(J,"isAxiosError",{value:!0}),Z.from=(t,e,i,r,n,s)=>{let o=Object.create(J);return G.toFlatObject(t,o,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t),Z.call(o,t.message,e,i,r,n),o.cause=t,o.name=t.name,s&&Object.assign(o,s),o};var tt=i(15062).Buffer;function te(t){return G.isPlainObject(t)||G.isArray(t)}function ti(t){return G.endsWith(t,"[]")?t.slice(0,-2):t}function tr(t,e,i){return t?t.concat(e).map(function(t,e){return t=ti(t),!i&&e?"["+t+"]":t}).join(i?".":""):e}let tn=G.toFlatObject(G,{},null,function(t){return/^is[A-Z]/.test(t)});var ts=function(t,e,i){if(!G.isObject(t))throw TypeError("target must be an object");e=e||new FormData;let r=(i=G.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!G.isUndefined(e[t])})).metaTokens,n=i.visitor||u,s=i.dots,o=i.indexes,a=(i.Blob||"undefined"!=typeof Blob&&Blob)&&G.isSpecCompliantForm(e);if(!G.isFunction(n))throw TypeError("visitor must be a function");function l(t){if(null===t)return"";if(G.isDate(t))return t.toISOString();if(!a&&G.isBlob(t))throw new Z("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(t)||G.isTypedArray(t)?a&&"function"==typeof Blob?new Blob([t]):tt.from(t):t}function u(t,i,n){let a=t;if(t&&!n&&"object"==typeof t){if(G.endsWith(i,"{}"))i=r?i:i.slice(0,-2),t=JSON.stringify(t);else{var u;if(G.isArray(t)&&(u=t,G.isArray(u)&&!u.some(te))||(G.isFileList(t)||G.endsWith(i,"[]"))&&(a=G.toArray(t)))return i=ti(i),a.forEach(function(t,r){G.isUndefined(t)||null===t||e.append(!0===o?tr([i],r,s):null===o?i:i+"[]",l(t))}),!1}}return!!te(t)||(e.append(tr(n,i,s),l(t)),!1)}let h=[],c=Object.assign(tn,{defaultVisitor:u,convertValue:l,isVisitable:te});if(!G.isObject(t))throw TypeError("data must be an object");return!function t(i,r){if(!G.isUndefined(i)){if(-1!==h.indexOf(i))throw Error("Circular reference detected in "+r.join("."));h.push(i),G.forEach(i,function(i,s){!0===(!(G.isUndefined(i)||null===i)&&n.call(e,i,G.isString(s)?s.trim():s,r,c))&&t(i,r?r.concat(s):[s])}),h.pop()}}(t),e};
1function to(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function ta(t,e){this._pairs=[],t&&ts(t,this,e)}let tl=ta.prototype;function tu(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function th(t,e,i){let r;if(!e)return t;let n=i&&i.encode||tu;G.isFunction(i)&&(i={serialize:i});let s=i&&i.serialize;if(r=s?s(e,i):G.isURLSearchParams(e)?e.toString():new ta(e,i).toString(n)){let e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+r}return t}tl.append=function(t,e){this._pairs.push([t,e])},tl.toString=function(t){let e=t?function(e){return t.call(this,e,to)}:to;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};class tc{constructor(){this.handlers=[]}use(t,e,i){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!i&&i.synchronous,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){G.forEach(this.handlers,function(e){null!==e&&t(e)})}}var td={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tf="undefined"!=typeof URLSearchParams?URLSearchParams:ta,tp="undefined"!=typeof FormData?FormData:null,tm="undefined"!=typeof Blob?Blob:null;let tg="undefined"!=typeof window&&"undefined"!=typeof document,ty="object"==typeof navigator&&navigator||void 0,tv=tg&&(!ty||0>["ReactNative","NativeScript","NS"].indexOf(ty.product)),tb="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,tw=tg&&window.location.href||"http://localhost";var tx={...f,isBrowser:!0,classes:{URLSearchParams:tf,FormData:tp,Blob:tm},protocols:["http","https","file","blob","url","data"]},tS=function(t){if(G.isFormData(t)&&G.isFunction(t.entries)){let e={};return G.forEachEntry(t,(t,i)=>{!function t(e,i,r,n){let s=e[n++];if("__proto__"===s)return!0;let o=Number.isFinite(+s),a=n>=e.length;return(s=!s&&G.isArray(r)?r.length:s,a)?G.hasOwnProp(r,s)?r[s]=[r[s],i]:r[s]=i:(r[s]&&G.isObject(r[s])||(r[s]=[]),t(e,i,r[s],n)&&G.isArray(r[s])&&(r[s]=function(t){let e,i;let r={},n=Object.keys(t),s=n.length;for(e=0;e<s;e++)r[i=n[e]]=t[i];return r}(r[s]))),!o}(G.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0]),i,e,0)}),e}return null};let tE={transitional:td,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){let i;let r=e.getContentType()||"",n=r.indexOf("application/json")>-1,s=G.isObject(t);if(s&&G.isHTMLForm(t)&&(t=new FormData(t)),G.isFormData(t))return n?JSON.stringify(tS(t)):t;if(G.isArrayBuffer(t)||G.isBuffer(t)||G.isStream(t)||G.isFile(t)||G.isBlob(t)||G.isReadableStream(t))return t;if(G.isArrayBufferView(t))return t.buffer;if(G.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1){var o,a;return(o=t,a=this.formSerializer,ts(o,new tx.classes.URLSearchParams,Object.assign({visitor:function(t,e,i,r){return tx.isNode&&G.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},a))).toString()}if((i=G.isFileList(t))||r.indexOf("multipart/form-data")>-1){let e=this.env&&this.env.FormData;return ts(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return s||n?(e.setContentType("application/json",!1),function(t,e,i){if(G.isString(t))try{return(0,JSON.parse)(t),G.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){let e=this.transitional||tE.transitional,i=e&&e.forcedJSONParsing,r="json"===this.responseType;if(G.isResponse(t)||G.isReadableStream(t))return t;if(t&&G.isString(t)&&(i&&!this.responseType||r)){let i=e&&e.silentJSONParsing;try{return JSON.parse(t)}catch(t){if(!i&&r){if("SyntaxError"===t.name)throw Z.from(t,Z.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tx.classes.FormData,Blob:tx.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],t=>{tE.headers[t]={}});let tT=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var tA=t=>{let e,i,r;let n={};return t&&t.split("\n").forEach(function(t){r=t.indexOf(":"),e=t.substring(0,r).trim().toLowerCase(),i=t.substring(r+1).trim(),!e||n[e]&&tT[e]||("set-cookie"===e?n[e]?n[e].push(i):n[e]=[i]:n[e]=n[e]?n[e]+", "+i:i)}),n};let tP=Symbol("internals");function tR(t){return t&&String(t).trim().toLowerCase()}function tC(t){return!1===t||null==t?t:G.isArray(t)?t.map(tC):String(t)}let tO=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function tk(t,e,i,r,n){if(G.isFunction(r))return r.call(this,e,i);if(n&&(e=i),G.isString(e)){if(G.isString(r))return -1!==e.indexOf(r);if(G.isRegExp(r))return r.test(e)}}class tD{constructor(t){t&&this.set(t)}set(t,e,i){let r=this;function n(t,e,i){let n=tR(e);if(!n)throw Error("header name must be a non-empty string");let s=G.findKey(r,n);s&&void 0!==r[s]&&!0!==i&&(void 0!==i||!1===r[s])||(r[s||e]=tC(t))}let s=(t,e)=>G.forEach(t,(t,i)=>n(t,i,e));if(G.isPlainObject(t)||t instanceof this.constructor)s(t,e);else if(G.isString(t)&&(t=t.trim())&&!tO(t))s(tA(t),e);else if(G.isHeaders(t))for(let[e,r]of t.entries())n(r,e,i);else null!=t&&n(e,t,i);return this}get(t,e){if(t=tR(t)){let i=G.findKey(this,t);if(i){let t=this[i];if(!e)return t;if(!0===e)return function(t){let e;let i=Object.create(null),r=/([^\s,;
1=]+)\s*(?:=\s*([^,;]+))?/g;for(;e=r.exec(t);)i[e[1]]=e[2];return i}(t);if(G.isFunction(e))return e.call(this,t,i);if(G.isRegExp(e))return e.exec(t);throw TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=tR(t)){let i=G.findKey(this,t);return!!(i&&void 0!==this[i]&&(!e||tk(this,this[i],i,e)))}return!1}delete(t,e){let i=this,r=!1;function n(t){if(t=tR(t)){let n=G.findKey(i,t);n&&(!e||tk(i,i[n],n,e))&&(delete i[n],r=!0)}}return G.isArray(t)?t.forEach(n):n(t),r}clear(t){let e=Object.keys(this),i=e.length,r=!1;for(;i--;){let n=e[i];(!t||tk(this,this[n],n,t,!0))&&(delete this[n],r=!0)}return r}normalize(t){let e=this,i={};return G.forEach(this,(r,n)=>{let s=G.findKey(i,n);if(s){e[s]=tC(r),delete e[n];return}let o=t?n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,i)=>e.toUpperCase()+i):String(n).trim();o!==n&&delete e[n],e[o]=tC(r),i[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let e=Object.create(null);return G.forEach(this,(i,r)=>{null!=i&&!1!==i&&(e[r]=t&&G.isArray(i)?i.join(", "):i)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){let i=new this(t);return e.forEach(t=>i.set(t)),i}static accessor(t){let e=(this[tP]=this[tP]={accessors:{}}).accessors,i=this.prototype;function r(t){let r=tR(t);e[r]||(!function(t,e){let i=G.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+i,{value:function(t,i,n){return this[r].call(this,e,t,i,n)},configurable:!0})})}(i,t),e[r]=!0)}return G.isArray(t)?t.forEach(r):r(t),this}}function tj(t,e){let i=this||tE,r=e||i,n=tD.from(r.headers),s=r.data;return G.forEach(t,function(t){s=t.call(i,s,n.normalize(),e?e.status:void 0)}),n.normalize(),s}function tM(t){return!!(t&&t.__CANCEL__)}function tL(t,e,i){Z.call(this,null==t?"canceled":t,Z.ERR_CANCELED,e,i),this.name="CanceledError"}function tB(t,e,i){let r=i.config.validateStatus;!i.status||!r||r(i.status)?t(i):e(new Z("Request failed with status code "+i.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}tD.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),G.reduceDescriptors(tD.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[i]=t}}}),G.freezeMethods(tD),G.inherits(tL,Z,{__CANCEL__:!0});var tU=function(t,e){let i;let r=Array(t=t||10),n=Array(t),s=0,o=0;return e=void 0!==e?e:1e3,function(a){let l=Date.now(),u=n[o];i||(i=l),r[s]=a,n[s]=l;let h=o,c=0;for(;h!==s;)c+=r[h++],h%=t;if((s=(s+1)%t)===o&&(o=(o+1)%t),l-i<e)return;let d=u&&l-u;return d?Math.round(1e3*c/d):void 0}},tF=function(t,e){let i,r,n=0,s=1e3/e,o=(e,s=Date.now())=>{n=s,i=null,r&&(clearTimeout(r),r=null),t.apply(null,e)};return[(...t)=>{let e=Date.now(),a=e-n;a>=s?o(t,e):(i=t,r||(r=setTimeout(()=>{r=null,o(i)},s-a)))},()=>i&&o(i)]};let tV=(t,e,i=3)=>{let r=0,n=tU(50,250);return tF(i=>{let s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-r,l=n(a);r=s,t({loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&s<=o?(o-s)/l:void 0,event:i,lengthComputable:null!=o,[e?"download":"upload"]:!0})},i)},tI=(t,e)=>{let i=null!=t;return[r=>e[0]({lengthComputable:i,total:t,loaded:r}),e[1]]},tN=t=>(...e)=>G.asap(()=>t(...e));var t_=tx.hasStandardBrowserEnv?(s=new URL(tx.origin),o=tx.navigator&&/(msie|trident)/i.test(tx.navigator.userAgent),t=>(t=new URL(t,tx.origin),s.protocol===t.protocol&&s.host===t.host&&(o||s.port===t.port))):()=>!0,tW=tx.hasStandardBrowserEnv?{write(t,e,i,r,n,s){let o=[t+"="+encodeURIComponent(e)];G.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),G.isString(r)&&o.push("path="+r),G.isString(n)&&o.push("domain="+n),!0===s&&o.push("secure"),document.cookie=o.join("; ")},read(t){let e=document.cookie.match(RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function t$(t,e,i){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&r||!1==i?e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t:e}let tq=t=>t instanceof tD?{...t}:t;function tz(t,e){e=e||{};let i={};function r(t,e,i,r){return G.isPlainObject(t)&&G.isPlainObject(e)?G.merge.call({caseless:r},t,e):G.isPlainObject(e)?G.merge({},e):G.isArray(e)?e.slice():e}function n(t,e,i,n){return G.isUndefined(e)?G.isUndefined(t)?void 0:r(void 0,t,i,n):r(t,e,i,n)}function s(t,e){if(!G.isUndefined(e))return r(void 0,e)}function o(t,e){return G.isUndefined(e)?G.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function a(i,n,s){return s in e?r(i,n):s in t?r(void 0,i):void 0}let l={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
1dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(t,e,i)=>n(tq(t),tq(e),i,!0)};return G.forEach(Object.keys(Object.assign({},t,e)),function(r){let s=l[r]||n,o=s(t[r],e[r],r);G.isUndefined(o)&&s!==a||(i[r]=o)}),i}var tH=t=>{let e;let i=tz({},t),{data:r,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:o,headers:a,auth:l}=i;if(i.headers=a=tD.from(a),i.url=th(t$(i.baseURL,i.url),t.params,t.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),G.isFormData(r)){if(tx.hasStandardBrowserEnv||tx.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(e=a.getContentType())){let[t,...i]=e?e.split(";").map(t=>t.trim()).filter(Boolean):[];a.setContentType([t||"multipart/form-data",...i].join("; "))}}if(tx.hasStandardBrowserEnv&&(n&&G.isFunction(n)&&(n=n(i)),n||!1!==n&&t_(i.url))){let t=s&&o&&tW.read(o);t&&a.set(s,t)}return i},tY="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise(function(e,i){let r,n,s,o,a;let l=tH(t),u=l.data,h=tD.from(l.headers).normalize(),{responseType:c,onUploadProgress:d,onDownloadProgress:f}=l;function p(){o&&o(),a&&a(),l.cancelToken&&l.cancelToken.unsubscribe(r),l.signal&&l.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function g(){if(!m)return;let r=tD.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());tB(function(t){e(t),p()},function(t){i(t),p()},{data:c&&"text"!==c&&"json"!==c?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:t,request:m}),m=null}m.open(l.method.toUpperCase(),l.url,!0),m.timeout=l.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(i(new Z("Request aborted",Z.ECONNABORTED,t,m)),m=null)},m.onerror=function(){i(new Z("Network Error",Z.ERR_NETWORK,t,m)),m=null},m.ontimeout=function(){let e=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",r=l.transitional||td;l.timeoutErrorMessage&&(e=l.timeoutErrorMessage),i(new Z(e,r.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,t,m)),m=null},void 0===u&&h.setContentType(null),"setRequestHeader"in m&&G.forEach(h.toJSON(),function(t,e){m.setRequestHeader(e,t)}),G.isUndefined(l.withCredentials)||(m.withCredentials=!!l.withCredentials),c&&"json"!==c&&(m.responseType=l.responseType),f&&([s,a]=tV(f,!0),m.addEventListener("progress",s)),d&&m.upload&&([n,o]=tV(d),m.upload.addEventListener("progress",n),m.upload.addEventListener("loadend",o)),(l.cancelToken||l.signal)&&(r=e=>{m&&(i(!e||e.type?new tL(null,t,m):e),m.abort(),m=null)},l.cancelToken&&l.cancelToken.subscribe(r),l.signal&&(l.signal.aborted?r():l.signal.addEventListener("abort",r)));let y=function(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(l.url);if(y&&-1===tx.protocols.indexOf(y)){i(new Z("Unsupported protocol "+y+":",Z.ERR_BAD_REQUEST,t));return}m.send(u||null)})},tX=(t,e)=>{let{length:i}=t=t?t.filter(Boolean):[];if(e||i){let i,r=new AbortController,n=function(t){if(!i){i=!0,o();let e=t instanceof Error?t:this.reason;r.abort(e instanceof Z?e:new tL(e instanceof Error?e.message:e))}},s=e&&setTimeout(()=>{s=null,n(new Z(`timeout ${e} of ms exceeded`,Z.ETIMEDOUT))},e),o=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(n):t.removeEventListener("abort",n)}),t=null)};t.forEach(t=>t.addEventListener("abort",n));let{signal:a}=r;return a.unsubscribe=()=>G.asap(o),a}};let tK=function*(t,e){let i,r=t.byteLength;if(!e||r<e){yield t;return}let n=0;for(;n<r;)i=n+e,yield t.slice(n,i),n=i},tG=async function*(t,e){for await(let i of tZ(t))yield*tK(i,e)},tZ=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:t,value:i}=await e.read();if(t)break;yield i}}finally{await e.cancel()}},tJ=(t,e,i,r)=>{let n;let s=tG(t,e),o=0,a=t=>{!n&&(n=!0,r&&r(t))};return new ReadableStream({async pull(t){try{let{done:e,value:r}=await s.next();if(e){a(),t.close();return}let n=r.byteLength;
1if(i){let t=o+=n;i(t)}t.enqueue(new Uint8Array(r))}catch(t){throw a(t),t}},cancel:t=>(a(t),s.return())},{highWaterMark:2})},tQ="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,t0=tQ&&"function"==typeof ReadableStream,t1=tQ&&("function"==typeof TextEncoder?(a=new TextEncoder,t=>a.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer())),t2=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},t5=t0&&t2(()=>{let t=!1,e=new Request(tx.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),t6=t0&&t2(()=>G.isReadableStream(new Response("").body)),t3={stream:t6&&(t=>t.body)};tQ&&(d=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(t=>{t3[t]||(t3[t]=G.isFunction(d[t])?e=>e[t]():(e,i)=>{throw new Z(`Response type '${t}' is not supported`,Z.ERR_NOT_SUPPORT,i)})}));let t4=async t=>{if(null==t)return 0;if(G.isBlob(t))return t.size;if(G.isSpecCompliantForm(t)){let e=new Request(tx.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return G.isArrayBufferView(t)||G.isArrayBuffer(t)?t.byteLength:(G.isURLSearchParams(t)&&(t+=""),G.isString(t))?(await t1(t)).byteLength:void 0},t8=async(t,e)=>{let i=G.toFiniteNumber(t.getContentLength());return null==i?t4(e):i},t9={http:null,xhr:tY,fetch:tQ&&(async t=>{let e,i,{url:r,method:n,data:s,signal:o,cancelToken:a,timeout:l,onDownloadProgress:u,onUploadProgress:h,responseType:c,headers:d,withCredentials:f="same-origin",fetchOptions:p}=tH(t);c=c?(c+"").toLowerCase():"text";let m=tX([o,a&&a.toAbortSignal()],l),g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});try{if(h&&t5&&"get"!==n&&"head"!==n&&0!==(i=await t8(d,s))){let t,e=new Request(r,{method:"POST",body:s,duplex:"half"});if(G.isFormData(s)&&(t=e.headers.get("content-type"))&&d.setContentType(t),e.body){let[t,r]=tI(i,tV(tN(h)));s=tJ(e.body,65536,t,r)}}G.isString(f)||(f=f?"include":"omit");let o="credentials"in Request.prototype;e=new Request(r,{...p,signal:m,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:s,duplex:"half",credentials:o?f:void 0});let a=await fetch(e),l=t6&&("stream"===c||"response"===c);if(t6&&(u||l&&g)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=a[e]});let e=G.toFiniteNumber(a.headers.get("content-length")),[i,r]=u&&tI(e,tV(tN(u),!0))||[];a=new Response(tJ(a.body,65536,i,()=>{r&&r(),g&&g()}),t)}c=c||"text";let y=await t3[G.findKey(t3,c)||"text"](a,t);return!l&&g&&g(),await new Promise((i,r)=>{tB(i,r,{data:y,headers:tD.from(a.headers),status:a.status,statusText:a.statusText,config:t,request:e})})}catch(i){if(g&&g(),i&&"TypeError"===i.name&&/fetch/i.test(i.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,t,e),{cause:i.cause||i});throw Z.from(i,i&&i.code,t,e)}})};G.forEach(t9,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}});let t7=t=>`- ${t}`,et=t=>G.isFunction(t)||null===t||!1===t;var ee=t=>{let e,i;let{length:r}=t=G.isArray(t)?t:[t],n={};for(let s=0;s<r;s++){let r;if(i=e=t[s],!et(e)&&void 0===(i=t9[(r=String(e)).toLowerCase()]))throw new Z(`Unknown adapter '${r}'`);if(i)break;n[r||"#"+s]=i}if(!i){let t=Object.entries(n).map(([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build"));throw new Z("There is no suitable adapter to dispatch the request "+(r?t.length>1?"since :\n"+t.map(t7).join("\n"):" "+t7(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return i};function ei(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new tL(null,t)}function er(t){return ei(t),t.headers=tD.from(t.headers),t.data=tj.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ee(t.adapter||tE.adapter)(t).then(function(e){return ei(t),e.data=tj.call(t,t.transformResponse,e),e.headers=tD.from(e.headers),e},function(e){return!tM(e)&&(ei(t),e&&e.response&&(e.response.data=tj.call(t,t.transformResponse,e.response),e.response.headers=tD.from(e.response.headers))),Promise.reject(e)})}let en="1.8.1",es={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{es[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});let eo={};
1es.transitional=function(t,e,i){function r(t,e){return"[Axios v"+en+"] Transitional option '"+t+"'"+e+(i?". "+i:"")}return(i,n,s)=>{if(!1===t)throw new Z(r(n," has been removed"+(e?" in "+e:"")),Z.ERR_DEPRECATED);return e&&!eo[n]&&(eo[n]=!0,console.warn(r(n," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(i,n,s)}},es.spelling=function(t){return(e,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};var ea={assertOptions:function(t,e,i){if("object"!=typeof t)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);let r=Object.keys(t),n=r.length;for(;n-- >0;){let s=r[n],o=e[s];if(o){let e=t[s],i=void 0===e||o(e,s,t);if(!0!==i)throw new Z("option "+s+" must be "+i,Z.ERR_BAD_OPTION_VALUE);continue}if(!0!==i)throw new Z("Unknown option "+s,Z.ERR_BAD_OPTION)}},validators:es};let el=ea.validators;class eu{constructor(t){this.defaults=t,this.interceptors={request:new tc,response:new tc}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=Error();let i=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?i&&!String(t.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+i):t.stack=i}catch(t){}}throw t}}_request(t,e){let i,r;"string"==typeof t?(e=e||{}).url=t:e=t||{};let{transitional:n,paramsSerializer:s,headers:o}=e=tz(this.defaults,e);void 0!==n&&ea.assertOptions(n,{silentJSONParsing:el.transitional(el.boolean),forcedJSONParsing:el.transitional(el.boolean),clarifyTimeoutError:el.transitional(el.boolean)},!1),null!=s&&(G.isFunction(s)?e.paramsSerializer={serialize:s}:ea.assertOptions(s,{encode:el.function,serialize:el.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),ea.assertOptions(e,{baseUrl:el.spelling("baseURL"),withXsrfToken:el.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=o&&G.merge(o.common,o[e.method]);o&&G.forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=tD.concat(a,o);let l=[],u=!0;this.interceptors.request.forEach(function(t){("function"!=typeof t.runWhen||!1!==t.runWhen(e))&&(u=u&&t.synchronous,l.unshift(t.fulfilled,t.rejected))});let h=[];this.interceptors.response.forEach(function(t){h.push(t.fulfilled,t.rejected)});let c=0;if(!u){let t=[er.bind(this),void 0];for(t.unshift.apply(t,l),t.push.apply(t,h),r=t.length,i=Promise.resolve(e);c<r;)i=i.then(t[c++],t[c++]);return i}r=l.length;let d=e;for(c=0;c<r;){let t=l[c++],e=l[c++];try{d=t(d)}catch(t){e.call(this,t);break}}try{i=er.call(this,d)}catch(t){return Promise.reject(t)}for(c=0,r=h.length;c<r;)i=i.then(h[c++],h[c++]);return i}getUri(t){return th(t$((t=tz(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}}G.forEach(["delete","get","head","options"],function(t){eu.prototype[t]=function(e,i){return this.request(tz(i||{},{method:t,url:e,data:(i||{}).data}))}}),G.forEach(["post","put","patch"],function(t){function e(e){return function(i,r,n){return this.request(tz(n||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}eu.prototype[t]=e(),eu.prototype[t+"Form"]=e(!0)});class eh{constructor(t){let e;if("function"!=typeof t)throw TypeError("executor must be a function.");this.promise=new Promise(function(t){e=t});let i=this;this.promise.then(t=>{if(!i._listeners)return;let e=i._listeners.length;for(;e-- >0;)i._listeners[e](t);i._listeners=null}),this.promise.then=t=>{let e;let r=new Promise(t=>{i.subscribe(t),e=t}).then(t);return r.cancel=function(){i.unsubscribe(e)},r},t(function(t,r,n){i.reason||(i.reason=new tL(t,r,n),e(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){let t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new eh(function(e){t=e}),cancel:t}}}let ec={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
1setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ec).forEach(([t,e])=>{ec[e]=t});let ed=function t(e){let i=new eu(e),r=p(eu.prototype.request,i);return G.extend(r,eu.prototype,i,{allOwnKeys:!0}),G.extend(r,i,null,{allOwnKeys:!0}),r.create=function(i){return t(tz(e,i))},r}(tE);ed.Axios=eu,ed.CanceledError=tL,ed.CancelToken=eh,ed.isCancel=tM,ed.VERSION=en,ed.toFormData=ts,ed.AxiosError=Z,ed.Cancel=ed.CanceledError,ed.all=function(t){return Promise.all(t)},ed.spread=function(t){return function(e){return t.apply(null,e)}},ed.isAxiosError=function(t){return G.isObject(t)&&!0===t.isAxiosError},ed.mergeConfig=tz,ed.AxiosHeaders=tD,ed.formToJSON=t=>
1tS(G.isHTMLForm(t)?new FormData(t):t),ed.getAdapter=ee,ed.HttpStatusCode=ec,ed.default=ed;var ef=ed},15890:function(t,e,i){"use strict";i.d(e,{M:function(){return y}});var r=i(11527),n=i(50959),s=i(84969),o=i(40599),a=i(92143),l=i(2602);class u extends n.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:t,isPresent:e}){let i=(0,n.useId)(),s=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,n.useContext)(l._);return(0,n.useInsertionEffect)(()=>{let{width:t,height:r,top:n,left:l}=o.current;if(e||!s.current||!t||!r)return;s.current.dataset.motionPopId=i;let u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
2          [data-motion-pop-id="${i}"] {
3            position: absolute !important;
4            width: ${t}px !important;
5            height: ${r}px !important;
6            top: ${n}px !important;
7            left: ${l}px !important;
8          }
9        `),()=>{document.head.removeChild(u)}},[e]),(0,r.jsx)(u,{isPresent:e,childRef:s,sizeRef:o,children:n.cloneElement(t,{ref:s})})}let c=({children:t,initial:e,isPresent:i,onExitComplete:s,custom:l,presenceAffectsLayout:u,mode:c})=>{let f=(0,o.h)(d),p=(0,n.useId)(),m=(0,n.useCallback)(t=>{for(let e of(f.set(t,!0),f.values()))if(!e)return;s&&s()},[f,s]),g=(0,n.useMemo)(()=>({id:p,initial:e,isPresent:i,custom:l,onExitComplete:m,register:t=>(f.set(t,!1),()=>f.delete(t))}),u?[Math.random(),m]:[i,m]);return(0,n.useMemo)(()=>{f.forEach((t,e)=>f.set(e,!1))},[i]),n.useEffect(()=>{i||f.size||!s||s()},[i]),"popLayout"===c&&(t=(0,r.jsx)(h,{isPresent:i,children:t})),(0,r.jsx)(a.O.Provider,{value:g,children:t})};function d(){return new Map}var f=i(60783);let p=t=>t.key||"";function m(t){let e=[];return n.Children.forEach(t,t=>{(0,n.isValidElement)(t)&&e.push(t)}),e}var g=i(64267);let y=({children:t,custom:e,initial:i=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync",propagate:h=!1})=>{let[d,y]=(0,f.oO)(h),v=(0,n.useMemo)(()=>m(t),[t]),b=h&&!d?[]:v.map(p),w=(0,n.useRef)(!0),x=(0,n.useRef)(v),S=(0,o.h)(()=>
9new Map),[E,T]=(0,n.useState)(v),[A,P]=(0,n.useState)(v);(0,g.L)(()=>{w.current=!1,x.current=v;for(let t=0;t<A.length;t++){let e=p(A[t]);b.includes(e)?S.delete(e):!0!==S.get(e)&&S.set(e,!1)}},[A,b.length,b.join("-")]);let R=[];if(v!==E){let t=[...v];for(let e=0;e<A.length;e++){let i=A[e],r=p(i);b.includes(r)||(t.splice(e,0,i),R.push(i))}"wait"===u&&R.length&&(t=R),P(m(t)),T(v);return}let{forceRender:C}=(0,n.useContext)(s.p);return(0,r.jsx)(r.Fragment,{children:A.map(t=>{let n=p(t),s=(!h||!!d)&&(v===A||b.includes(n));return(0,r.jsx)(c,{isPresent:s,initial:(!w.current||!!i)&&void 0,custom:s?void 0:e,presenceAffectsLayout:l,mode:u,onExitComplete:s?void 0:()=>{if(!S.has(n))return;S.set(n,!0);let t=!0;S.forEach(e=>{e||(t=!1)}),t&&(null==C||C(),P(x.current),h&&(null==y||y()),a&&a())},children:t},n)})})}},60783:function(t,e,i){"use strict";i.d(e,{oO:function(){return s}});var r=i(50959),n=i(92143);function s(t=!0){let e=(0,r.useContext)(n.O);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,r.useId)();(0,r.useEffect)(()=>{t&&o(a)},[t]);let l=(0,r.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},84969:function(t,e,i){"use strict";i.d(e,{p:function(){return r}});
9let r=(0,i(50959).createContext)({})},2602:function(t,e,i){"use strict";i.d(e,{_:function(){return r}});let r=(0,i(50959).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},92143:function(t,e,i){"use strict";i.d(e,{O:function(){return r}});let r=(0,i(50959).createContext)(null)},37110:function(t,e,i){"use strict";let r;function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}i.d(e,{E:function(){return sg}});let s=t=>Array.isArray(t);function o(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}function a(t){return"string"==typeof t||Array.isArray(t)}function l(t){let e=[{},{}];return null==t||t.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function u(t,e,i,r){if("function"==typeof e){let[n,s]=l(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=l(r);e=e(void 0!==i?i:t.custom,n,s)}return e}function h(t,e,i){let r=t.getProps();return u(r,e,void 0!==i?i:r.custom,t)}let c=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...c];function f(t){let e;return()=>(void 0===e&&(e=t()),e)}let p=f(()=>void 0!==window.ScrollTimeline);class m{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let i=0;i<this.animations.length;i++)this.animations[i][t]=e}attachTimeline(t,e){let i=this.animations.map(i=>p()&&i.attachTimeline?i.attachTimeline(t):"function"==typeof e?e(i):void 0);return()=>{i.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class g extends m{then(t,e){return Promise.all(this.animations).then(t).catch(e)}}function y(t,e){return t?t[e]||t.default||t:void 0}function v(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function b(t){return"function"==typeof t}function w(t,e){t.timeline=e,t.onfinish=null}let x=t=>Array.isArray(t)&&"number"==typeof t[0],S={linearEasing:void 0},E=function(t,e){let i=f(t);return()=>{var t;return null!==(t=S[e])&&void 0!==t?t:i()}}(()=>{try{document.createElement("div").animate({opacity:0}
9,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),T=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r},A=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=t(T(0,n-1,e))+", ";return`linear(${r.substring(0,r.length-2)})`},P=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,R={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:P([0,.65,.55,1]),circOut:P([.55,0,1,.45]),backIn:P([.31,.01,.66,-.59]),backOut:P([.33,1.53,.69,.99])},C={x:!1,y:!1};function O(t,e){let i=function(t,e,i){if(t instanceof Element)return[t];if("string"==typeof t){let e=document.querySelectorAll(t);return e?Array.from(e):[]}return Array.from(t)}(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function k(t){return e=>{"touch"===e.pointerType||C.x||C.y||t(e)}}let D=(t,e)=>!!e&&(t===e||D(t,e.parentElement)),j=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary,M=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),L=new WeakSet;function B(t){return e=>{"Enter"===e.key&&t(e)}}function U(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let F=(t,e)=>{let i=t.currentTarget;if(!i)return;let r=B(()=>{if(L.has(i))return;U(i,"down");let t=B(()=>{U(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>U(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)};function V(t){return j(t)&&!(C.x||C.y)}let I=t=>1e3*t,N=t=>t/1e3,_=t=>t,W=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$=new Set(W),q=new Set(["width","height","top","left","right","bottom",...W]),z=t=>!!(t&&"object"==typeof t&&t.mix&&t.toValue),H=t=>s(t)?t[t.length-1]||0:t,Y={skipAnimations:!1,useManualTiming:!1},X=["read","resolveKeyframes","update","preRender","render","postRender"];function K(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=X.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,r=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,n=!1,o=!1)=>{let a=o&&r?e:i;return n&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,r){n=!0;return}r=!0,[e,i]=[i,e],e.forEach(a),e.clear(),r=!1,n&&(n=!1,l.process(t))}};return l}(s),t),{}),{read:a,resolveKeyframes:l,update:u,preRender:h,render:c,postRender:d}=o,f=()=>{let s=Y.useManualTiming?n.timestamp:performance.now();i=!1,n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),h.process(n),c.process(n),d.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))},p=()=>{i=!0,r=!0,n.isProcessing||t(f)};return{schedule:X.reduce((t,e)=>{let r=o[e];return t[e]=(t,e=!1,n=!1)=>(i||p(),r.schedule(t,e,n)),t},{}),cancel:t=>{for(let e=0;e<X.length;e++)o[X[e]].cancel(t)},state:n,steps:o}}let{schedule:G,cancel:Z,state:J,steps:Q}=K("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:_,!0);function tt(){r=void 0}let te={now:()=>(void 0===r&&te.set(J.isProcessing||Y.useManualTiming?J.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(tt)}};function ti(t,e){-1===t.indexOf(e)&&t.push(e)}function tr(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tn{constructor(){this.subscriptions=[]}add(t){return ti(this.subscriptions,t),()=>tr(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let ts=t=>!isNaN(parseFloat(t)),to={current:void 0};class ta{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=te.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=te.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=ts(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tn);let i=this.events[t].add(e);return"change"===t?()=>{i(),G.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return to.current&&to.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=te.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tl(t,e){return new ta(t,e)}let tu=t=>!!(t&&t.getVelocity);function th(t,e){let i=t.getValue("willChange");if(tu(i)&&i.add)return i.add(e)}let tc=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),td="data-"+tc("framerAppearId"),tf={current:!1},tp=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function tm(t,e,i,r){if(t===e&&i===r)return _;let n=e=>
9(function(t,e,i,r,n){let s,o;let a=0;do(s=tp(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o})(e,0,1,t,i);return t=>0===t||1===t?t:tp(n(t),e,r)}let tg=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ty=t=>e=>1-t(1-e),tv=tm(.33,1.53,.69,.99),tb=ty(tv),tw=tg(tb),tx=t=>(t*=2)<1?.5*tb(t):.5*(2-Math.pow(2,-10*(t-1))),tS=t=>1-Math.sin(Math.acos(t)),tE=ty(tS),tT=tg(tS),tA=t=>/^0[^.\s]+$/u.test(t),tP=(t,e,i)=>i>e?e:i<t?t:i,tR={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tC={...tR,transform:t=>tP(0,1,t)},tO={...tR,default:1},tk=t=>Math.round(1e5*t)/1e5,tD=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tj=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tM=(t,e)=>i=>!!("string"==typeof i&&tj.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tL=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(tD);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tB=t=>tP(0,255,t),tU={...tR,transform:t=>Math.round(tB(t))},tF={test:tM("rgb","red"),parse:tL("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+tU.transform(t)+", "+tU.transform(e)+", "+tU.transform(i)+", "+tk(tC.transform(r))+")"},tV={test:tM("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:tF.transform},tI=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),tN=tI("deg"),t_=tI("%"),tW=tI("px"),t$=tI("vh"),tq=tI("vw"),tz={...t_,parse:t=>t_.parse(t)/100,transform:t=>t_.transform(100*t)},tH={test:tM("hsl","hue"),parse:tL("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+t_.transform(tk(e))+", "+t_.transform(tk(i))+", "+tk(tC.transform(r))+")"},tY={test:t=>tF.test(t)||tV.test(t)||tH.test(t),parse:t=>tF.test(t)?tF.parse(t):tH.test(t)?tH.parse(t):tV.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tF.transform(t):tH.transform(t)},tX=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tK="number",tG="color",tZ=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function tJ(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(tZ,t=>(tY.test(t)?(r.color.push(s),n.push(tG),i.push(tY.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(tK),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function tQ(t){return tJ(t).values}function t0(t){let{split:e,types:i}=tJ(t),r=e.length;return t=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==t[s]){let e=i[s];e===tK?n+=tk(t[s]):e===tG?n+=tY.transform(t[s]):n+=t[s]}return n}}let t1=t=>"number"==typeof t?0:t,t2={test:function(t){var e,i;return isNaN(t)&&"string"==typeof t&&((null===(e=t.match(tD))||void 0===e?void 0:e.length)||0)+((null===(i=t.match(tX))||void 0===i?void 0:i.length)||0)>0},parse:tQ,createTransformer:t0,getAnimatableNone:function(t){let e=tQ(t);return t0(t)(e.map(t1))}},t5=new Set(["brightness","contrast","saturate","opacity"]);function t6(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(tD)||[];if(!r)return t;let n=i.replace(r,""),s=t5.has(e)?1:0;return r!==i&&(s*=100),e+"("+s+n+")"}let t3=/\b([a-z-]*)\(.*?\)/gu,t4={...t2,getAnimatableNone:t=>{let e=t.match(t3);return e?e.map(t6).join(" "):t}},t8={...tR,transform:Math.round},t9={borderWidth:tW,borderTopWidth:tW,borderRightWidth:tW,borderBottomWidth:tW,borderLeftWidth:tW,borderRadius:tW,radius:tW,borderTopLeftRadius:tW,borderTopRightRadius:tW,borderBottomRightRadius:tW,borderBottomLeftRadius:tW,width:tW,maxWidth:tW,he
9ight:tW,maxHeight:tW,top:tW,right:tW,bottom:tW,left:tW,padding:tW,paddingTop:tW,paddingRight:tW,paddingBottom:tW,paddingLeft:tW,margin:tW,marginTop:tW,marginRight:tW,marginBottom:tW,marginLeft:tW,backgroundPositionX:tW,backgroundPositionY:tW,rotate:tN,rotateX:tN,rotateY:tN,rotateZ:tN,scale:tO,scaleX:tO,scaleY:tO,scaleZ:tO,skew:tN,skewX:tN,skewY:tN,distance:tW,translateX:tW,translateY:tW,translateZ:tW,x:tW,y:tW,z:tW,perspective:tW,transformPerspective:tW,opacity:tC,originX:tz,originY:tz,originZ:tW,zIndex:t8,size:tW,fillOpacity:tC,strokeOpacity:tC,numOctaves:t8},t7={...t9,color:tY,backgroundColor:tY,outlineColor:tY,fill:tY,stroke:tY,borderColor:tY,borderTopColor:tY,borderRightColor:tY,borderBottomColor:tY,borderLeftColor:tY,filter:t4,WebkitFilter:t4},et=t=>t7[t];function ee(t,e){let i=et(t);return i!==t4&&(i=t2),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let ei=new Set(["auto","none","0"]),er=t=>t===tR||t===tW,en=(t,e)=>parseFloat(t.split(", ")[e]),es=(t,e)=>(i,{transform:r})=>{if("none"===r||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/u);if(n)return en(n[1],e);{let e=r.match(/^matrix\((.+)\)$/u);return e?en(e[1],t):0}},eo=new Set(["x","y","z"]),ea=W.filter(t=>!eo.has(t)),el={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:es(4,13),y:es(5,14)};el.translateX=el.x,el.translateY=el.y;let eu=new Set,eh=!1,ec=!1;function ed(){if(ec){let t=Array.from(eu).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return ea.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(i.startsWith("scale")?1:0))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{var r;null===(r=t.getValue(e))||void 0===r||r.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}ec=!1,eh=!1,eu.forEach(t=>t.complete()),eu.clear()}function ef(){eu.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ec=!0)})}class ep{constructor(t,e,i,r,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(eu.add(this),eh||(eh=!0,G.read(ef),G.resolveKeyframes(ed))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;for(let n=0;n<t.length;n++)if(null===t[n]){if(0===n){let n=null==r?void 0:r.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}else t[n]=t[n-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),eu.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,eu.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let em=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),eg=t=>e=>"string"==typeof e&&e.startsWith(t),ey=eg("--"),ev=eg("var(--"),eb=t=>!!ev(t)&&ew.test(t.split("/*")[0].trim()),ew=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ex=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eS=t=>e=>e.test(t),eE=[tR,tW,t_,tN,tq,t$,{test:t=>"auto"===t,parse:t=>t}],eT=t=>eE.find(eS(t));class eA extends ep{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&eb(r=r.trim())){let n=function t(e,i,r=1){_(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,s]=function(t){let e=ex.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${null!=i?i:r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);
9if(o){let t=o.trim();return em(t)?parseFloat(t):t}return eb(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!q.has(i)||2!==t.length)return;let[r,n]=t,s=eT(r),o=eT(n);if(s!==o){if(er(s)&&er(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||tA(r))&&i.push(e)}i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!ei.has(e)&&tJ(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=ee(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=el[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){var t;let{element:e,name:i,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(i);n&&n.jump(this.measuredOrigin,!1);let s=r.length-1,o=r[s];r[s]=el[i](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(t=this.removedTransforms)||void 0===t?void 0:t.length)&&this.removedTransforms.forEac
9h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let eP=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(t2.test(t)||"0"===t)&&!t.startsWith("url(")),eR=t=>null!==t;function eC(t,{repeat:e,repeatType:i="loop"},r){let n=t.filter(eR),s=e&&"loop"!==i&&e%2==1?0:n.length-1;return s&&void 0!==r?r:n[s]}class eO{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=te.now(),this.options={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(ef(),ed()),this._resolved}onKeyframesResolved(t,e){this.resolvedAt=te.now(),this.hasAttemptedResolve=!0;let{name:i,type:r,velocity:n,delay:s,onComplete:o,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=eP(n,e),a=eP(s,e);return _(o===a,`You are trying to animate ${e} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||b(i))&&r)}(t,i,r,n)){if(tf.current||!s){a&&a(eC(t,this.options,e)),o&&o(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(t,e);!1!==u&&(this._resolved={keyframes:t,finalKeyframe:e,...u},this.onPostResolved())}onPostResolved(){}then(t,e){return this.currentFinishedPromise.then(t,e)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}let ek=(t,e,i)=>t+(e-t)*i;function eD(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ej(t,e){return i=>i>0?e:t}let eM=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},eL=[tV,tF,tH],eB=t=>eL.find(e=>e.test(t));function eU(t){let e=eB(t);if(_(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`),!e)return!1;let i=e.parse(t);return e===tH&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=eD(a,r,t+1/3),s=eD(a,r,t),o=eD(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let eF=(t,e)=>{let i=eU(t),r=eU(e);if(!i||!r)return ej(t,e);let n={...i};return t=>(n.red=eM(i.red,r.red,t),n.green=eM(i.green,r.green,t),n.blue=eM(i.blue,r.blue,t),n.alpha=ek(i.alpha,r.alpha,t),tF.transform(n))},eV=(t,e)=>i=>e(t(i)),eI=(...t)=>t.reduce(eV),eN=new Set(["none","hidden"]);function e_(t,e){return i=>ek(t,e,i)}function eW(t){return"number"==typeof t?e_:"string"==typeof t?eb(t)?ej:tY.test(t)?eF:ez:Array.isArray(t)?e$:"object"==typeof t?tY.test(t)?eF:eq:ej}function e$(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>eW(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function eq(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=eW(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let ez=(t,e)=>{let i=t2.createTransformer(e),r=tJ(t),n=tJ(e);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?eN.has(t)&&!n.values.length||eN.has(e)&&!r.values.length?eN.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:eI(e$(function(t,e){var i;let r=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let o=e.types[s],a=t.indexes[o][n[o]],l=null!==(i=t.values[a])&&void 0!==i?i:0;r[s]=l,n[o]++}return r}(r,n),n.values),i):(_(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ej(t,e))};function eH(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?ek(t,e,i):eW(t)(t,e)}function eY(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?1e3/n*r:0}let eX={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function eK(t,e){return t*Math.sqrt(1-e*e)}let eG=["duration","bounce"],eZ=["stiffness","damping","mass"];function eJ(t,e){return e.some(e=>void 0!==t[e])}function eQ(t=eX.visualDuration,e=eX.bounce){let i;let r="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:h,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=function(t){let e={velocity:eX.velocity,stiffness:eX.stiffness,damping:eX.damping,mass:eX.mass,isResolvedFromDuration:!1,...t};if(!eJ(t,eZ)&&eJ(t,eG)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*tP(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:eX.mass,stiffness:r,damping:n}}else{let i=function({duration:t=eX.duration,bounce:e=eX.bounce,velocity:i=eX.velocity,mass:r=eX.mass}){let n,s;_(t<=I(eX.maxDuration),"Spring duration must be 10 seconds or less");let o=1-e;o=tP(eX.minDamping,eX.maxDamping,o),t=tP(eX.minDuration,eX.maxDuration,N(t)),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/eK(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=eK(Math.pow(e,2),o);return(r*i+i-s)*Math.exp(-r)*(-n(e)+.001>0?-1:1)/a}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
9let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=I(t),isNaN(a))return{stiffness:eX.stiffness,damping:eX.damping,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}(t);(e={...e,...i,mass:eX.mass}).isResolvedFromDuration=!0}}return e}({...r,velocity:-N(r.velocity||0)}),m=f||0,g=h/(2*Math.sqrt(u*c)),y=a-o,b=N(Math.sqrt(u/c)),w=5>Math.abs(y);if(n||(n=w?eX.restSpeed.granular:eX.restSpeed.default),s||(s=w?eX.restDelta.granular:eX.restDelta.default),g<1){let t=eK(b,g);i=e=>a-Math.exp(-g*b*e)*((m+g*b*y)/t*Math.sin(t*e)+y*Math.cos(t*e))}else if(1===g)i=t=>a-Math.exp(-b*t)*(y+(m+b*y)*t);else{let t=b*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*b*e),r=Math.min(t*e,300);return a-i*((m+g*b*y)*Math.sinh(r)+t*y*Math.cosh(r))/t}}let x={calculatedDuration:p&&d||null,next:t=>{let e=i(t);if(p)l.done=t>=d;else{let r=0;g<1&&(r=0===t?I(m):eY(i,t,e));let o=Math.abs(r)<=n,u=Math.abs(a-e)<=s;l.done=o&&u}return l.value=l.done?a:e,l},toString:()=>{let t=Math.min(v(x),2e4),e=A(e=>x.next(t*e).value,t,30);return t+"ms "+e}};return x}function e0({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d;let f=t[0],p={done:!1,value:f},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,g=t=>void 0===a?l:void 0===l?a:Math.abs(a-t)<Math.abs(l-t)?a:l,y=i*e,v=f+y,b=void 0===o?v:o(v);b!==v&&(y=b-f);let w=t=>-y*Math.exp(-t/r),x=t=>b+w(t),S=t=>{let e=w(t),i=x(t);p.done=Math.abs(e)<=u,p.value=p.done?b:i},E=t=>{m(p.value)&&(c=t,d=eQ({keyframes:[p.value,g(p.value)],velocity:eY(x,t,p.value),damping:n,stiffness:s,restDelta:u,restSpeed:h}))};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,S(t),E(t)),void 0!==c&&t>=c)?d.next(t-c):(e||S(t),p)}}}let e1=tm(.42,0,1,1),e2=tm(0,0,.58,1),e5=tm(.42,0,.58,1),e6=t=>Array.isArray(t)&&"number"!=typeof t[0],e3={linear:_,easeIn:e1,easeInOut:e5,easeOut:e2,circIn:tS,circInOut:tT,circOut:tE,backIn:tb,backInOut:tw,backOut:tv,anticipate:tx},e4=t=>{if(x(t)){_(4===t.length,"Cubic bezier arrays must contain four numerical values.");let[e,i,r,n]=t;return tm(e,i,r,n)}return"string"==typeof t?(_(void 0!==e3[t],`Invalid easing type '${t}'`),e3[t]):t};function e8({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){let n=e6(r)?r.map(e4):e4(r),s={done:!1,value:e[0]},o=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(_(s===e.length,"Both input and output ranges must be the same length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||eH,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=eI(Array.isArray(e)?e[i]||_:e,s)),r.push(s)}return r}(e,r,n),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=T(t[r],t[r+1],i);return a[r](n)};return i?e=>u(tP(t[0],t[s-1],e)):u}((i&&i.length===e.length?i:function(t){let e=[0];return function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=T(0,e,r);t.push(ek(i,1,n))}}(e,t.length-1),e}(e)).map(e=>e*t),e,{ease:Array.isArray(n)?n:e.map(()=>n||e5).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=o(e),s.done=e>=t,s)}}let e9=t=>{let e=({timestamp:e})=>t(e);return{start:()=>G.update(e,!0),stop:()=>Z(e),now:()=>J.isProcessing?J.timestamp:te.now()}},e7={decay:e0,inertia:e0,tween:e8,keyframes:e8,spring:eQ},it=t=>t/100;class ie extends eO{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:t}=this.options;t&&t()};let{name:e,motionValue:i,element:r,keyframes:n}=this.options,s=(null==r?void 0:r.KeyframeResolver)||ep;this.resolver=new s(n,(t,e)=>this.onKeyframesResolved(t,e),e,i,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){let e,i;
9let{type:r="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=b(r)?r:e7[r]||e8;l!==e8&&"number"!=typeof t[0]&&(e=eI(it,eH(t[0],t[1])),t=[0,100]);let u=l({...this.options,keyframes:t});"mirror"===o&&(i=l({...this.options,keyframes:[...t].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=v(u));let{calculatedDuration:h}=u,c=h+s;return{generator:u,mirroredGenerator:i,mapPercentToKeyframes:e,calculatedDuration:h,resolvedDuration:c,totalDuration:c*(n+1)-s}}onPostResolved(){let{autoplay:t=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&t?this.state=this.pendingPlayState:this.pause()}tick(t,e=!1){let{resolved:i}=this;if(!i){let{keyframes:t}=this.options;return{done:!0,value:t[t.length-1]}}let{finalKeyframe:r,generator:n,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:h}=i;if(null===this.startTime)return n.next(0);let{delay:c,repeat:d,repeatType:f,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),e?this.currentTime=t:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;let g=this.currentTime-c*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let v=this.currentTime,b=n;if(d){let t=Math.min(this.currentTime,u)/h,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===f?(i=1-i,p&&(i-=p/h)):"mirror"===f&&(b=s)),v=tP(0,1,i)*h}let w=y?{done:!1,value:a[0]}:b.next(v);o&&(w.value=o(w.value));let{done:x}=w;y||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return S&&void 0!==r&&(w.value=eC(a,this.options,r)),m&&m(w.value),S&&this.finish(),w}get duration(){let{resolved:t}=this;return t?N(t.calculatedDuration):0}get time(){return N(this.currentTime)}set time(t){t=I(t),this.currentTime=t,null!==this.holdTime||0===this.speed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=N(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:t=e9,onPlay:e,startTime:i}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),e&&e();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=i?i:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(t=this.currentTime)&&void 0!==t?t:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:t}=this.options;t&&t()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}let ii=new Set(["opacity","clipPath","filter","transform"]),ir=f(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),is={anticipate:tx,backInOut:tw,circInOut:tT};class io extends eO{constructor(t){super(t);let{name:e,motionValue:i,element:r,keyframes:n}=this.options;this.resolver=new eA(n,(t,e)=>this.onKeyframesResolved(t,e),e,i,r),this.resolver.scheduleResolve()}initPlayback(t,e){var i;let{duration:r=300,times:n,ease:s,type:o,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if("string"==typeof s&&E()&&s in is&&(s=is[s]),b((i=this.options).type)||"spring"===i.type||!function t(e){return!!("function"==typeof e&&E()||!e||"string"==typeof e&&(e in R||E())||x(e)||Array.isArray(e)&&e.every(t))}(i.ease)){let{onComplete:e,onUpdate:i,motionValue:a,element:l,...u}=this.options,h=function(t,e){let i=new ie({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:t[0]},n=[],s=0;for(;!r.done&&s<2e4;)n.push((r=i.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(t,u);1===(t=h.keyframes).length&&(t[1]=t[0]),r=h.duration,n=h.times,s=h.ease,o="keyframes"}
9let h=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeInOut",times:l}={}){let u={[e]:i};l&&(u.offset=l);let h=function t(e,i){if(e)return"function"==typeof e&&E()?A(e,i):x(e)?P(e):Array.isArray(e)?e.map(e=>t(e,i)||R.easeOut):R[e]}(a,n);return Array.isArray(h)&&(u.easing=h),t.animate(u,{delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(a.owner.current,l,t,{...this.options,duration:r,times:n,ease:s});return h.startTime=null!=u?u:this.calcStartTime(),this.pendingTimeline?(w(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{let{onComplete:i}=this.options;a.set(eC(t,this.options,e)),i&&i(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:r,times:n,type:o,ease:s,keyframes:t}}get duration(){let{resolved:t}=this;if(!t)return 0;let{duration:e}=t;return N(e)}get time(){let{resolved:t}=this;if(!t)return 0;let{animation:e}=t;return N(e.currentTime||0)}set time(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.currentTime=I(t)}get speed(){let{resolved:t}=this;if(!t)return 1;let{animation:e}=t;return e.playbackRate}set speed(t){let{resolved:e}=this;if(!e)return;let{animation:i}=e;i.playbackRate=t}get state(){let{resolved:t}=this;if(!t)return"idle";let{animation:e}=t;return e.playState}get startTime(){let{resolved:t}=this;if(!t)return null;let{animation:e}=t;return e.startTime}attachTimeline(t){if(this._resolved){let{resolved:e}=this;if(!e)return _;let{animation:i}=e;w(i,t)}else this.pendingTimeline=t;return _}play(){if(this.isStopped)return;let{resolved:t}=this;if(!t)return;let{animation:e}=t;"finished"===e.playState&&this.updateFinishedPromise(),e.play()}pause(){let{resolved:t}=this;if(!t)return;let{animation:e}=t;e.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:t}=this;if(!t)return;let{animation:e,keyframes:i,duration:r,type:n,ease:s,times:o}=t;if("idle"===e.playState||"finished"===e.playState)return;if(this.time){let{motionValue:t,onUpdate:e,onComplete:a,element:l,...u}=this.options,h=new ie({...u,keyframes:i,duration:r,type:n,ease:s,times:o,isGenerator:!0}),c=I(this.time);t.setWithVelocity(h.sample(c-10).value,h.sample(c).value,10)}let{onStop:a}=this.options;a&&a(),this.cancel()}complete(){let{resolved:t}=this;t&&t.animation.finish()}cancel(){let{resolved:t}=this;t&&t.animation.cancel()}static supports(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=t;if(!e||!e.owner||!(e.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return ir()&&i&&ii.has(i)&&!a&&!l&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}}let ia={type:"spring",stiffness:500,damping:25,restSpeed:10},il=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),iu={type:"keyframes",duration:.8},ih={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ic=(t,{keyframes:e})=>e.length>2?iu:$.has(t)?t.startsWith("scale")?il(e[1]):ia:ih,id=(t,e,i,r={},n,s)=>o=>{let a=y(r,t)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=I(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function({when:t,delay:e,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(a)&&(h={...h,...ic(t,h)}),h.duration&&(h.duration=I(h.duration)),h.repeatDelay&&(h.repeatDelay=I(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(h.duration=0,0!==h.delay||(c=!0)),(tf.current||Y.skipAnimations)&&(c=!0,h.duration=0,h.delay=0),c&&!s&&void 0!==e.get()){let t=eC(h.keyframes,a);if(void 0!==t)return G.update(()=>{h.onUpdate(t),h.onComplete()}),new g([])}return!s&&io.supports(h)?new io(h):new ie(h)};function ip(t,e,{delay:i=0,transitionOverride:r,type:n}={}){var s;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;r&&(o=r);let u=[],c=n&&t.animationState&&t.animationState.getState()[n];for(let e in l){let r=t.getValue(e,null!==(s=t.latestValues[e])&&void 0!==s?s:null),n=l[e];
9if(void 0===n||c&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(c,e))continue;let a={delay:i,...y(o||{},e)},h=!1;if(window.MotionHandoffAnimation){let i=t.props[td];if(i){let t=window.MotionHandoffAnimation(i,e,G);null!==t&&(a.startTime=t,h=!0)}}th(t,e),r.start(id(e,r,n,t.shouldReduceMotion&&q.has(e)?{type:!1}:a,t,h));let d=r.animation;d&&u.push(d)}return a&&Promise.all(u).then(()=>{G.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=h(t,e)||{};for(let e in n={...n,...i}){let i=H(n[e]);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tl(i))}}(t,a)})}),u}function im(t,e,i={}){var r;let n=h(t,e,"exit"===i.type?null===(r=t.presenceContext)||void 0===r?void 0:r.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let o=n?()=>Promise.all(ip(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,r=0,n=1,s){let o=[],a=(t.variantChildren.size-1)*r,l=1===n?(t=0)=>t*r:(t=0)=>a-t*r;return Array.from(t.variantChildren).sort(ig).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(im(t,e,{...s,delay:i+l(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,n+r,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function ig(t,e){return t.sortNodePosition(e)}let iy=d.length,iv=[...c].reverse(),ib=c.length;function iw(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ix(){return{animate:iw(!0),whileInView:iw(),whileHover:iw(),whileTap:iw(),whileDrag:iw(),whileFocus:iw(),exit:iw()}}class iS{constructor(t){this.isMounted=!1,this.node=t}update(){}}class iE extends iS{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>im(t,e,i)));else if("string"==typeof e)r=im(t,e,i);else{let n="function"==typeof e?h(t,e,i.custom):e;r=Promise.all(ip(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ix(),r=!0,l=e=>(i,r)=>{var n;let s=h(t,r,"exit"===e?null===(n=t.presenceContext)||void 0===n?void 0:n.custom:void 0);if(s){let{transition:t,transitionEnd:e,...r}=s;i={...i,...r,...e}}return i};function u(u){let{props:h}=t,c=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<iy;t++){let r=d[t],n=e.props[r];(a(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},f=[],p=new Set,m={},g=1/0;for(let e=0;e<ib;e++){var y;let d=iv[e],v=i[d],b=void 0!==h[d]?h[d]:c[d],w=a(b),x=d===u?v.isActive:null;!1===x&&(g=e);let S=b===c[d]&&b!==h[d]&&w;if(S&&r&&t.manuallyAnimateOnMount&&(S=!1),v.protectedKeys={...m},!v.isActive&&null===x||!b&&!v.prevProp||n(b)||"boolean"==typeof b)continue;let E=(y=v.prevProp,"string"==typeof b?b!==y:!!Array.isArray(b)&&!o(b,y)),T=E||d===u&&v.isActive&&!S&&w||e>g&&w,A=!1,P=Array.isArray(b)?b:[b],R=P.reduce(l(d),{});!1===x&&(R={});let{prevResolvedValues:C={}}=v,O={...C,...R},k=e=>{T=!0,p.has(e)&&(A=!0,p.delete(e)),v.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in O){let e=R[t],i=C[t];if(!m.hasOwnProperty(t))(s(e)&&s(i)?o(e,i):e===i)?void 0!==e&&p.has(t)?k(t):v.protectedKeys[t]=!0:null!=e?k(t):p.add(t)}v.prevProp=b,v.prevResolvedValues=R,v.isActive&&(m={...m,...R}),r&&t.blockInitialAnimation&&(T=!1);let D=!(S&&E)||A;T&&D&&f.push(...P.map(t=>({animation:t,options:{type:d}})))}if(p.size){let e={};p.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=null!=r?r:null}),f.push({animation:e})}let v=!!f.length;return r&&(!1===h.initial||h.initial===h.animate)&&!t.manuallyAnimateOnMount&&(v=!1),r=!1,v?e(f):Promise.resolve()}return{animateChanges:u,setActive:function(e,r){var n;if(i[e].isActive===r)return Promise.resolve();
9null===(n=t.variantChildren)||void 0===n||n.forEach(t=>{var i;return null===(i=t.animationState)||void 0===i?void 0:i.setActive(e,r)}),i[e].isActive=r;let s=u(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ix(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();n(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),null===(t=this.unmountControls)||void 0===t||t.call(this)}}let iT=0;class iA extends iS{constructor(){super(...arguments),this.id=iT++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>e(this.id))}mount(){let{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}function iP(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}function iR(t){return{point:{x:t.pageX,y:t.pageY}}}let iC=t=>e=>j(e)&&t(e,iR(e));function iO(t,e,i,r){return iP(t,e,iC(i),r)}let ik=(t,e)=>Math.abs(t-e);class iD{constructor(t,e,{transformPagePoint:i,contextWindow:r,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=iL(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(ik(t.x,e.x)**2+ik(t.y,e.y)**2)>=3);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=J;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ij(e,this.transformPagePoint),G.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iL("pointercancel"===t.type?this.lastMoveEventInfo:ij(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!j(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.contextWindow=r||window;let s=ij(iR(t),this.transformPagePoint),{point:o}=s,{timestamp:a}=J;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=e;l&&l(t,iL(s,this.history)),this.removeListeners=eI(iO(this.contextWindow,"pointermove",this.handlePointerMove),iO(this.contextWindow,"pointerup",this.handlePointerUp),iO(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Z(this.updatePoint)}}function ij(t,e){return e?{point:e(t.point)}:t}function iM(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iL({point:t},e){return{point:t,delta:iM(t,iB(e)),offset:iM(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,r=null,n=iB(t);for(;i>=0&&(r=t[i],!(n.timestamp-r.timestamp>I(.1)));)i--;if(!r)return{x:0,y:0};let s=N(n.timestamp-r.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function iB(t){return t[t.length-1]}function iU(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function iF(t){return t.max-t.min}function iV(t,e,i,r=.5){t.origin=r,t.originPoint=ek(e.min,e.max,t.origin),t.scale=iF(i)/iF(e),t.translate=ek(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function iI(t,e,i,r){iV(t.x,e.x,i.x,r?r.originX:void 0),iV(t.y,e.y,i.y,r?r.originY:void 0)}function iN(t,e,i){t.min=i.min+e.min,t.max=t.min+iF(e)}function i_(t,e,i){t.min=e.min-i.min,t.max=t.min+iF(e)}function iW(t,e,i){i_(t.x,e.x,i.x),i_(t.y,e.y,i.y)}function i$(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function iq(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function iz(t,e,i){return{min:iH(t,e),max:iH(t,i)}}function iH(t,e){return"number"==typeof t?t:t[e]||0}let iY=()=>({translate:0,scale:1,origin:0,originPoint:0}),iX=()=>({x:iY(),y:iY()}),iK=()=>({min:0,max:0}),iG=()=>({x:iK(),y:iK()});function iZ(t){return[t("x"),t("y")]}
9function iJ({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function iQ(t){return void 0===t||1===t}function i0({scale:t,scaleX:e,scaleY:i}){return!iQ(t)||!iQ(e)||!iQ(i)}function i1(t){return i0(t)||i2(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function i2(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function i5(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function i6(t,e=0,i=1,r,n){t.min=i5(t.min,e,i,r,n),t.max=i5(t.max,e,i,r,n)}function i3(t,{x:e,y:i}){i6(t.x,e.translate,e.scale,e.originPoint),i6(t.y,i.translate,i.scale,i.originPoint)}function i4(t,e){t.min=t.min+e,t.max=t.max+e}function i8(t,e,i,r,n=.5){let s=ek(t.min,t.max,n);i6(t,e,i,s,r)}function i9(t,e){i8(t.x,e.x,e.scaleX,e.scale,e.originX),i8(t.y,e.y,e.scaleY,e.scale,e.originY)}function i7(t,e){return iJ(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}let rt=({current:t})=>t?t.ownerDocument.defaultView:null,re=new WeakMap;class ri{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iG(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new iD(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(iR(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===i||"y"===i?C[i]?null:(C[i]=!0,()=>{C[i]=!1}):C.x||C.y?null:(C.x=C.y=!0,()=>{C.x=C.y=!1}),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),iZ(t=>{let e=this.getAxisMotionValue(t).get()||0;if(t_.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];if(r){let t=iF(r);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),n&&G.postRender(()=>n(t,e)),th(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&s(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>iZ(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:rt(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:r}=e;this.startAnimation(r);let{onDragEnd:n}=this.getProps();n&&G.postRender(()=>n(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!rr(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?ek(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?ek(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,n=this.constraints;e&&iU(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:i$(t.x,i,n),y:i$(t.y,e,r)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iz(t,"left","right"),y:iz(t,"top","bottom")}}(i),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&iZ(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iU(e))return!1;let r=e.current;_(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
9let s=function(t,e,i){let r=i7(t,i),{scroll:n}=e;return n&&(i4(r.x,n.offset.x),i4(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o={x:iq((t=n.layout.layoutBox).x,s.x),y:iq(t.y,s.y)};if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=iJ(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(iZ(o=>{if(!rr(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return th(this.visualElement,t),i.start(id(t,i,0,e,this.visualElement,!1))}stopAnimation(){iZ(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iZ(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){iZ(e=>{let{drag:i}=this.getProps();if(!rr(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e];n.set(t[e]-ek(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iU(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};iZ(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();r[t]=function(t,e){let i=.5,r=iF(t),n=iF(e);return n>r?i=T(e.min,e.max-r,t.min):r>n&&(i=T(t.min,t.max-n,e.min)),tP(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iZ(e=>{if(!rr(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(ek(n,s,r[e]))})}addListeners(){if(!this.visualElement.current)return;re.set(this.visualElement,this);let t=iO(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();iU(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),G.read(e);let n=iP(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iZ(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),t(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function rr(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class rn extends iS{constructor(t){super(t),this.removeGroupControls=_,this.removeListeners=_,this.controls=new ri(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_}unmount(){this.removeGroupControls(),this.removeListeners()}}let rs=t=>(e,i)=>{t&&G.postRender(()=>t(e,i))};class ro extends iS{constructor(){super(...arguments),this.removePointerDownListener=_}onPointerDown(t){this.session=new iD(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rt(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:rs(t),onStart:rs(e),onMove:i,onEnd:(t,e)=>{delete this.session,r&&G.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=iO(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var ra,rl,ru,rh=i(11527),rc=i(50959),rd=i(60783),rf=i(84969);let rp=(0,rc.createContext)({}),rm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rg(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ry={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!tW.test(t))return t;t=parseFloat(t)}let i=rg(t,e.target.x),r=rg(t,e.target.y);return`${i}% ${r}%`}},rv={},{schedule:rb,cancel:rw}=K(queueMicrotask,!1);class rx extends rc.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;Object.assign(rv,rE),n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),rm.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,s=i.projection;return s&&(s.isPresent=n,r||t.layoutDependency!==e||void 0===e?s.willUpdate():this.safeToRemove(),t.isPresent===n||(n?s.promote():s.relegate()||G.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),rb.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rS(t){let[e,i]=(0,rd.oO)(),r=(0,rc.useContext)(rf.p);return(0,rh.jsx)(rx,{...t,layoutGroup:r,switchLayoutGroup:(0,rc.useContext)(rp),isPresent:e,safeToRemove:i})}let rE={borderRadius:{...ry,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ry,borderTopRightRadius:ry,borderBottomLeftRadius:ry,borderBottomRightRadius:ry,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=t2.parse(t);if(r.length>5)return t;let n=t2.createTransformer(t),s="number"!=typeof r[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=ek(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}},rT=(t,e)=>t.depth-e.depth;class rA{constructor(){this.children=[],this.isDirty=!1}add(t){ti(this.children,t),this.isDirty=!0}remove(t){tr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rT),this.isDirty=!1,this.children.forEac
9h(t)}}function rP(t){let e=tu(t)?t.get():t;return z(e)?e.toValue():e}let rR=["TopLeft","TopRight","BottomLeft","BottomRight"],rC=rR.length,rO=t=>"string"==typeof t?parseFloat(t):t,rk=t=>"number"==typeof t||tW.test(t);function rD(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rj=rL(0,.5,tE),rM=rL(.5,.95,_);function rL(t,e,i){return r=>r<t?0:r>e?1:i(T(t,e,r))}function rB(t,e){t.min=e.min,t.max=e.max}function rU(t,e){rB(t.x,e.x),rB(t.y,e.y)}function rF(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rV(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function rI(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(t_.test(e)&&(e=parseFloat(e),e=ek(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=ek(s.min,s.max,r);t===s&&(a-=e),t.min=rV(t.min,e,i,a,n),t.max=rV(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let rN=["x","scaleX","originX"],r_=["y","scaleY","originY"];function rW(t,e,i,r){rI(t.x,e,rN,i?i.x:void 0,r?r.x:void 0),rI(t.y,e,r_,i?i.y:void 0,r?r.y:void 0)}function r$(t){return 0===t.translate&&1===t.scale}function rq(t){return r$(t.x)&&r$(t.y)}function rz(t,e){return t.min===e.min&&t.max===e.max}function rH(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rY(t,e){return rH(t.x,e.x)&&rH(t.y,e.y)}function rX(t){return iF(t.x)/iF(t.y)}function rK(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rG{constructor(){this.members=[]}add(t){ti(this.members,t),t.scheduleRender()}remove(t){if(tr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:r}=t.options;!1===r&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rZ={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rJ="undefined"!=typeof window&&void 0!==window.MotionDebug,rQ=["","X","Y","Z"],r0={visibility:"hidden"},r1=0;function r2(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function r5({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=r1++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rJ&&(rZ.totalNodes=rZ.resolvedTargetDeltas=rZ.recalculatedProjection=0),this.nodes.forEach(r4),this.nodes.forEach(nr),this.nodes.forEach(nn),this.nodes.forEach(r8),rJ&&window.MotionDebug.record(rZ)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rA)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tn),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:r,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||r)&&(this.isLayoutDirty=!0),t){let i;let r=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=te.now(),r=({timestamp:e})=>{let n=e-i;n>=250&&(Z(r),t(n-250))};return G.read(r,!0),()=>Z(r)}(r,0),rm.hasAnimatedSinceResize&&(rm.hasAnimatedSinceResize=!1,this.nodes.forEac
9h(ni))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||nh,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!rY(this.targetLayout,r)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...y(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||ni(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Z(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ns),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=i.props[td];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",G,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r7);return}this.isUpdating||this.nodes.forEach(nt),this.isUpdating=!1,this.nodes.forEach(ne),this.nodes.forEach(r6),this.nodes.forEach(r3),this.clearAllSnapshots();let t=te.now();J.delta=tP(0,1e3/60,t-J.timestamp),J.timestamp=t,J.isProcessing=!0,Q.update.process(J),Q.preRender.process(J),Q.render.process(J),J.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,rb.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r9),this.sharedNodes.forEach(no)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,G.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){G.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=iG(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rq(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&(e||i1(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),nf((e=r).x),nf(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return iG();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(nm))){let{scroll:t}=this.root;t&&(i4(i.x,t.offset.x),i4(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=iG();if(rU(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let r=this.path[e],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&rU(i,t),i4(i.x,n.offset.x),i4(i.y,n.offset.y))}return i}applyTransform(t,e=!1){let i=iG();rU(i,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];!e&&r.options.layoutScroll&&r.scroll&&r!==r.root&&i9(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),i1(r.latestValues)&&i9(i,r.latestValues)}return i1(this.latestValues)&&i9(i,this.latestValues),i}removeTransform(t){let e=iG();rU(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!i1(i.latestValues))continue;i0(i.latestValues)&&i.updateSnapshot();let r=iG();rU(r,i.measurePageBox()),rW(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return i1(this.latestValues)&&rW(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==J.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e,i,r,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isS
9haredProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(t||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=J.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iG(),this.relativeTargetOrigin=iG(),iW(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rU(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=iG(),this.targetWithTransforms=iG()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,r=this.relativeTarget,n=this.relativeParent.target,iN(i.x,r.x,n.x),iN(i.y,r.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rU(this.target,this.layout.layoutBox),i3(this.target,this.targetDelta)):rU(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iG(),this.relativeTargetOrigin=iG(),iW(this.relativeTargetOrigin,this.target,t.target),rU(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rJ&&rZ.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||i0(this.parent.latestValues)||i2(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===J.timestamp&&(r=!1),r)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;rU(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,r=!1){let n,s;let o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&i9(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,i3(t,s)),r&&i1(n.latestValues)&&i9(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=iG());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rF(this.prevProjectionDelta.x,this.projectionDelta.x),rF(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iI(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===a&&rK(this.projectionDelta.x,this.prevProjectionDelta.x)&&rK(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rJ&&rZ.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=iX(),this.projectionDelta=iX(),this.projectionDeltaWithTransform=iX()}setAnimationOrigin(t,e=!1){let i;let r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=iX();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=iG(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&
9!0===this.options.crossfade&&!this.path.some(nu));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(na(o.x,t.x,r),na(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;iW(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,nl(f.x,p.x,a.x,r),nl(f.y,p.y,a.y,r),i&&(u=this.relativeTarget,d=i,rz(u.x,d.x)&&rz(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=iG()),rU(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=ek(0,void 0!==i.opacity?i.opacity:1,rj(r)),t.opacityExit=ek(void 0!==e.opacity?e.opacity:1,0,rM(r))):s&&(t.opacity=ek(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,r));for(let n=0;n<rC;n++){let s=`border${rR[n]}Radius`,o=rD(e,s),a=rD(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rk(o)===rk(a)?(t[s]=Math.max(ek(rO(o),rO(a),r),0),(t_.test(a)||t_.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=ek(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Z(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=G.update(()=>{rm.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let r=tu(0)?0:tl(0);return r.start(id("",r,1e3,i)),r.animation}(0,0,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&np(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||iG();let e=iF(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=iF(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}rU(e,i),i9(e,n),iI(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rG),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&r2("z",t,r,this.animationValues);for(let e=0;e<rQ.length;e++)r2(`rotate${rQ[e]}`,t,r,this.animationValues),r2(`skew${rQ[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return r0;let r={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=rP(null==t?void 0:t.pointerEvents)||"",r.transform=n?n(this.latestValues,""):"none",r;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rP(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!i1(this.latestValues)&&(e.transform=n?n({},""):"none",this.hasProjected=!1),e}let o=s.animationValues||s.latestValues;
9this.applyTransformsToTarget(),r.transform=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=(null==i?void 0:i.z)||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),n&&(r.transform=n(o,r.transform));let{x:a,y:l}=this.projectionDelta;for(let t in r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?r.opacity=s===this?null!==(i=null!==(e=o.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,rv){if(void 0===o[t])continue;let{correct:e,applyTo:i}=rv[t],n="none"===r.transform?o[t]:e(o[t],s);if(i){let t=i.length;for(let e=0;e<t;e++)r[i[e]]=n}else r[t]=n}return this.options.layoutId&&(r.pointerEvents=s===this?rP(null==t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(r7),this.root.sharedNodes.clear()}}}function r6(t){t.updateLayout()}function r3(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:r}=t.layout,{animationType:n}=t.options,s=i.source!==t.layout.source;"size"===n?iZ(t=>{let r=s?i.measuredBox[t]:i.layoutBox[t],n=iF(r);r.min=e[t].min,r.max=r.min+n}):np(n,i.layoutBox,e)&&iZ(r=>{let n=s?i.measuredBox[r]:i.layoutBox[r],o=iF(e[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=iX();iI(o,e,i.layoutBox);let a=iX();s?iI(a,t.applyTransform(r,!0),i.measuredBox):iI(a,e,i.layoutBox);let l=!rq(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=iG();iW(o,i.layoutBox,n.layoutBox);let a=iG();iW(a,e,s.layoutBox),rY(o,a)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function r4(t){rJ&&rZ.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function r8(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r9(t){t.clearSnapshot()}function r7(t){t.clearMeasurements()}function nt(t){t.isLayoutDirty=!1}function ne(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ni(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nr(t){t.resolveTargetDelta()}function nn(t){t.calcProjection()}function ns(t){t.resetSkewAndRotation()}function no(t){t.removeLeadSnapshot()}function na(t,e,i){t.translate=ek(e.translate,0,i),t.scale=ek(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nl(t,e,i,r){t.min=ek(e.min,i.min,r),t.max=ek(e.max,i.max,r)}function nu(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nh={duration:.45,ease:[.4,0,.1,1]},nc=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nd=nc("applewebkit/")&&!nc("chrome/")?Math.round:_;function nf(t){t.min=nd(t.min),t.max=nd(t.max)}function np(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rX(e)-rX(i)))}function nm(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}let ng=r5({attachResizeListener:(t,e)=>iP(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ny={current:void 0},nv=r5({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ny.current){let t=new ng({});t.mount(window),t.setOptions({layoutScroll:!0}),ny.current=t}return ny.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nb(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&G.postRender(()=>n(e,iR(e)))}class nw extends iS{mount(){let{current:t}=this.node;
9t&&(this.unmount=function(t,e,i={}){let[r,n,s]=O(t,i),o=k(t=>{let{target:i}=t,r=e(t);if("function"!=typeof r||!i)return;let s=k(t=>{r(t),i.removeEventListener("pointerleave",s)});i.addEventListener("pointerleave",s,n)});return r.forEach(t=>{t.addEventListener("pointerenter",o,n)}),s}(t,t=>(nb(this.node,t,"Start"),t=>nb(this.node,t,"End"))))}unmount(){}}class nx extends iS{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=eI(iP(this.node.current,"focus",()=>this.onFocus()),iP(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function nS(t,e,i){let{props:r}=t;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&G.postRender(()=>n(e,iR(e)))}class nE extends iS{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=O(t,i),o=t=>{let r=t.currentTarget;if(!V(t)||L.has(r))return;L.add(r);let s=e(t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),V(t)&&L.has(r)&&(L.delete(r),"function"==typeof s&&s(t,{success:e}))},a=t=>{o(t,i.useGlobalTarget||D(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{M.has(t.tagName)||-1!==t.tabIndex||null!==t.getAttribute("tabindex")||(t.tabIndex=0),(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),t.addEventListener("focus",t=>F(t,n),n)}),s}(t,t=>(nS(this.node,t,"Start"),(t,{success:e})=>nS(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let nT=new WeakMap,nA=new WeakMap,nP=t=>{let e=nT.get(t.target);e&&e(t)},nR=t=>{t.forEach(nP)},nC={some:0,all:1};
9class nO extends iS{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:r="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:nC[r]};return function(t,e,i){let r=function({root:t,...e}){let i=t||document;nA.has(i)||nA.set(i,{});let r=nA.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(nR,{root:t,...e})),r[n]}(e);return nT.set(t,i),r.observe(t),()=>{nT.delete(t),r.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let nk=(0,rc.createContext)({strict:!1});var nD=i(2602);let nj=(0,rc.createContext)({});function nM(t){return n(t.animate)||d.some(e=>a(t[e]))}function nL(t){return!!(nM(t)||t.variants)}function nB(t){return Array.isArray(t)?t.join(" "):t}var nU=i(97978);let nF={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},nV={};for(let t in nF)nV[t]={isEnabled:e=>nF[t].some(t=>!!e[t])};let nI=Symbol.for("motionComponentSymbol");var nN=i(92143),n_=i(64267);let nW=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function n$(t){if("string"!=typeof t||t.includes("-"));else if(nW.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var nq=i(40599);let nz=t=>(e,i)=>{let r=(0,rc.useContext)(nj),s=(0,rc.useContext)(nN.O),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e,onUpdate:i},r,s,o){let a={latestValues:function(t,e,i,r){let s={},o=r(t,{});for(let t in o)s[t]=rP(o[t]);let{initial:a,animate:l}=t,h=nM(t),c=nL(t);e&&c&&!h&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===l&&(l=e.animate));let d=!!i&&!1===i.initial,f=(d=d||!1===a)?l:a;if(f&&"boolean"!=typeof f&&!n(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let r=u(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(r,s,o,t),renderState:e()};return i&&(a.onMount=t=>i({props:r,current:t,...a}),a.onUpdate=t=>i(t)),a})(t,e,r,s);return i?o():(0,nq.h)(o)},nH=(t,e)=>e&&"number"==typeof t?e.transform(t):t,nY={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nX=W.length;function nK(t,e,i){let{style:r,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if($.has(t)){o=!0;continue}if(ey(t)){n[t]=i;continue}{let e=nH(i,t9[t]);t.startsWith("origin")?(a=!0,s[t]=e):r[t]=e}}if(!e.transform&&(o||i?r.transform=function(t,e,i){let r="",n=!0;for(let s=0;s<nX;s++){let o=W[s],a=t[o];if(void 0===a)continue;let l=!0;if(!(l="number"==typeof a?a===(o.startsWith("scale")?1:0):0===parseFloat(a))||i){let t=nH(a,t9[o]);if(!l){n=!1;let e=nY[o]||o;r+=`${e}(${t}) `}i&&(e[o]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;r.transformOrigin=`${t} ${e} ${i}`}}let nG={offset:"stroke-dashoffset",array:"stroke-dasharray"},nZ={offset:"strokeDashoffset",array:"strokeDasharray"};function nJ(t,e,i){return"string"==typeof t?t:tW.transform(e+i*t)}function nQ(t,{attrX:e,attrY:i,attrScale:r,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u}
9,h,c){if(nK(t,u,c),h){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:f,dimensions:p}=t;d.transform&&(p&&(f.transform=d.transform),delete d.transform),p&&(void 0!==n||void 0!==s||f.transform)&&(f.transformOrigin=function(t,e,i){let r=nJ(e,t.x,t.width),n=nJ(i,t.y,t.height);return`${r} ${n}`}(p,void 0!==n?n:.5,void 0!==s?s:.5)),void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==r&&(d.scale=r),void 0!==o&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?nG:nZ;t[s.offset]=tW.transform(-r);let o=tW.transform(e),a=tW.transform(i);t[s.array]=`${o} ${a}`}(d,o,a,l,!1)}let n0=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),n1=()=>({...n0(),attrs:{}}),n2=t=>"string"==typeof t&&"svg"===t.toLowerCase();function n5(t,{style:e,vars:i},r,n){for(let s in Object.assign(t.style,e,n&&n.getProjectionStyles(r)),i)t.style.setProperty(s,i[s])}let n6=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function n3(t,e,i,r){for(let i in n5(t,e,void 0,r),e.attrs)t.setAttribute(n6.has(i)?i:tc(i),e.attrs[i])}function n4(t,{layout:e,layoutId:i}){return $.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!rv[t]||"opacity"===t)}function n8(t,e,i){var r;let{style:n}=t,s={};for(let o in n)(tu(n[o])||e.style&&tu(e.style[o])||n4(o,t)||(null===(r=null==i?void 0:i.getValue(o))||void 0===r?void 0:r.liveStyle)!==void 0)&&(s[o]=n[o]);return s}function n9(t,e,i){let r=n8(t,e,i);for(let i in t)(tu(t[i])||tu(e[i]))&&(r[-1!==W.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}let n7=["x","y","width","height","cx","cy","r"],st={useVisualState:nz({scrapeMotionValuesFromProps:n9,createRenderState:n1,onUpdate:({props:t,prevProps:e,current:i,renderState:r,latestValues:n})=>{if(!i)return;let s=!!t.drag;if(!s){for(let t in n)if($.has(t)){s=!0;break}}if(!s)return;let o=!e;if(e)for(let i=0;i<n7.length;i++){let r=n7[i];t[r]!==e[r]&&(o=!0)}o&&G.read(()=>{!function(t,e){try{e.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(t){e.dimensions={x:0,y:0,width:0,height:0}}}(i,r),G.render(()=>{nQ(r,n,n2(i.tagName),t.transformTemplate),n3(i,r)})})}})},se={useVisualState:nz({scrapeMotionValuesFromProps:n8,createRenderState:n0})};function si(t,e,i){for(let r in e)tu(e[r])||n4(r,i)||(t[r]=e[r])}let sr=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function sn(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||sr.has(t)}let ss=t=>!sn(t);try{(ra=require("@emotion/is-prop-valid").default)&&(ss=t=>t.startsWith("on")?!sn(t):ra(t))}catch(t){}let so={current:null},sa={current:!1},sl=[...eE,tY,t2],su=t=>sl.find(eS(t)),sh=new WeakMap,sc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class sd{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ep,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=te.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,G.render(this.render,!1,!0))};let{latestValues:a,renderState:l,onUpdate:u}=s;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=nM(e),this.isVariantNode=nL(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==a[t]&&tu(e)&&e.set(a[t],!1)}}mount(t){this.current=t,sh.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
9h((t,e)=>this.bindToMotionValue(e,t)),sa.current||function(){if(sa.current=!0,nU.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>so.current=t.matches;t.addListener(e),e()}else so.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||so.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in sh.delete(this.current),this.projection&&this.projection.unmount(),Z(this.notifyUpdate),Z(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let r=$.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&G.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),s(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in nV){let e=nV[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iG()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<sc.length;e++){let i=sc[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if(tu(n))t.addValue(r,n);else if(tu(s))t.addValue(r,tl(n,{owner:t}));else if(s!==n){if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,tl(void 0!==e?e:n,{owner:t}))}}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=tl(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){var i;let r=void 0===this.latestValues[t]&&this.current?null!==(i=this.getBaseTargetFromProps(this.props,t))&&void 0!==i?i:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=r&&("string"==typeof r&&(em(r)||tA(r))?r=parseFloat(r):!su(r)&&t2.test(e)&&(r=ee(t,e)),this.setBaseTarget(t,tu(r)?r.get():r)),tu(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;let i;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=u(this.props,r,null===(e=this.presenceContext)||void 0===e?void 0:e.custom);n&&(i=n[t])}if(r&&void 0!==i)return i;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||tu(n)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tn),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}class sf extends sd{constructor(){super(...arguments),this.KeyframeResolver=eA}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tu(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}class sp extends sf{constructor(){super(...arguments),this.type="html",this.renderInstance=n5}readValueFromInstance(t,e){if($.has(e)){let t=et(e);return t&&t.default||0}{let i=window.getComputedStyle(t),r=(ey(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return i7(t,e)}build(t,e,i){nK(t,e,i.transformTemplate)}
9scrapeMotionValuesFromProps(t,e,i){return n8(t,e,i)}}class sm extends sf{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=iG}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if($.has(e)){let t=et(e);return t&&t.default||0}return e=n6.has(e)?e:tc(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return n9(t,e,i)}build(t,e,i){nQ(t,e,this.isSVGTag,i.transformTemplate)}renderInstance(t,e,i,r){n3(t,e,i,r)}mount(t){this.isSVGTag=n2(t.tagName),super.mount(t)}}let sg=function(t){if("undefined"==typeof Proxy)return t;let e=new Map;return new Proxy((...e)=>t(...e),{get:(i,r)=>"create"===r?t:(e.has(r)||e.set(r,t(r)),e.get(r))})}((rl={animation:{Feature:iE},exit:{Feature:iA},inView:{Feature:nO},tap:{Feature:nE},focus:{Feature:nx},hover:{Feature:nw},pan:{Feature:ro},drag:{Feature:rn,ProjectionNode:nv,MeasureLayout:rS},layout:{ProjectionNode:nv,MeasureLayout:rS}},ru=(t,e)=>n$(t)?new sm(e):new sp(e,{allowProjection:t!==rc.Fragment}),function(t,{forwardMotionProps:e}={forwardMotionProps:!1}){return function({preloadedFeatures:t,createVisualElement:e,useRender:i,useVisualState:r,Component:n}){var s,o;function l(t,s){var o;let l;let u={...(0,rc.useContext)(nD._),...t,layoutId:function({layoutId:t}){let e=(0,rc.useContext)(rf.p).id;return e&&void 0!==t?e+"-"+t:t}(t)},{isStatic:h}=u,c=function(t){let{initial:e,animate:i}=function(t,e){if(nM(t)){let{initial:e,animate:i}=t;return{initial:!1===e||a(e)?e:void 0,animate:a(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,rc.useContext)(nj));return(0,rc.useMemo)(()=>({initial:e,animate:i}),[nB(e),nB(i)])}(t),d=r(t,h);if(!h&&nU.j){(0,rc.useContext)(nk).strict;let t=function(t){let{drag:e,layout:i}=nV;if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(u);l=t.MeasureLayout,c.visualElement=function(t,e,i,r,n){var s,o;let{visualElement:a}=(0,rc.useContext)(nj),l=(0,rc.useContext)(nk),u=(0,rc.useContext)(nN.O),h=(0,rc.useContext)(nD._).reducedMotion,c=(0,rc.useRef)(null);r=r||l.renderer,!c.current&&r&&(c.current=r(t,{visualState:e,parent:a,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h}));let d=c.current,f=(0,rc.useContext)(rp);d&&!d.projection&&n&&("html"===d.type||"svg"===d.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&iU(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(c.current,i,n,f);let p=(0,rc.useRef)(!1);(0,rc.useInsertionEffect)(()=>{d&&p.current&&d.update(i,u)});let m=i[td],g=(0,rc.useRef)(!!m&&!(null===(s=window.MotionHandoffIsComplete)||void 0===s?void 0:s.call(window,m))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,m)));return(0,n_.L)(()=>{d&&(p.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),rb.render(d.render),g.current&&d.animationState&&d.animationState.animateChanges())}),(0,rc.useEffect)(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var t;null===(t=window.MotionHandoffMarkAsComplete)||void 0===t||t.call(window,m)}),g.current=!1))}),d}(n,d,u,e,t.ProjectionNode)}return(0,rh.jsxs)(nj.Provider,{value:c,children:[l&&c.visualElement?(0,rh.jsx)(l,{visualElement:c.visualElement,...u}):null,i(n,t,(o=c.visualElement,(0,rc.useCallback)(t=>{t&&d.onMount&&d.onMount(t),o&&(t?o.mount(t):o.unmount()),s&&("function"==typeof s?s(t):iU(s)&&(s.current=t))},[o])),d,h,c.visualElement)]})}t&&function(t){for(let e in t)nV[e]={...nV[e],...t[e]}}(t),l.displayName=`motion.${"string"==typeof n?n:`create(${null!==(o=null!==(s=n.displayName)&&void 0!==s?s:n.name)&&void 0!==o?o:""})`}`;let u=(0,rc.forwardRef)(l);return u[nI]=n,u}({...n$(t)?st:se,preloadedFeatures:rl,useRender:function(t=!1){return(e,i,r,{latestValues:n},s)=>
9{let o=(n$(e)?function(t,e,i,r){let n=(0,rc.useMemo)(()=>{let i=n1();return nQ(i,e,n2(r),t.transformTemplate),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};si(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return si(r,i,t),Object.assign(r,function({transformTemplate:t},e){return(0,rc.useMemo)(()=>{let i=n0();return nK(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i})(i,n,s,e),a=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(ss(n)||!0===i&&sn(n)||!e&&!sn(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(i,"string"==typeof e,t),l=e!==rc.Fragment?{...a,...o,ref:r}:{},{children:u}=i,h=(0,rc.useMemo)(()=>tu(u)?u.get():u,[u]);return(0,rc.createElement)(e,{...l,children:h})}}(e),createVisualElement:ru,Component:t})}))},97978:function(t,e,i){"use strict";i.d(e,{j:function(){return r}});let r="undefined"!=typeof window},40599:function(t,e,i){"use strict";i.d(e,{h:function(){return n}});var r=i(50959);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},64267:function(t,e,i){"use strict";i.d(e,{L:function(){return n}});var r=i(50959);let n=i(97978).j?r.useLayoutEffect:r.useEffect},47789:function(t,e,i){"use strict";function r(t){let e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):new Date("number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?t:NaN)}i.d(e,{Q:function(){return r}})}}]);

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.