9 lines
17 KiB
JavaScript
9 lines
17 KiB
JavaScript
|
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[576],{81853:function(e,t,n){/**
|
||
|
|
* @license React
|
||
|
|
* use-sync-external-store-shim.production.min.js
|
||
|
|
*
|
||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
|
*
|
||
|
|
* This source code is licensed under the MIT license found in the
|
||
|
|
* LICENSE file in the root directory of this source tree.
|
||
|
|
*/var r=n(2265),u="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,o=r.useEffect,l=r.useLayoutEffect,a=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!u(e,n)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),u=r[0].inst,s=r[1];return l(function(){u.value=n,u.getSnapshot=t,c(u)&&s({inst:u})},[e,n,t]),o(function(){return c(u)&&s({inst:u}),e(function(){c(u)&&s({inst:u})})},[e]),a(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:s},26272:function(e,t,n){e.exports=n(81853)},13428:function(e,t,n){n.d(t,{Z:function(){return r}});function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}},85744:function(e,t,n){n.d(t,{M:function(){return r}});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}},42210:function(e,t,n){n.d(t,{F:function(){return u},e:function(){return i}});var r=n(2265);function u(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function i(...e){return(0,r.useCallback)(u(...e),e)}},56989:function(e,t,n){n.d(t,{b:function(){return i},k:function(){return u}});var r=n(2265);function u(e,t){let n=(0,r.createContext)(t);function u(e){let{children:t,...u}=e,i=(0,r.useMemo)(()=>u,Object.values(u));return(0,r.createElement)(n.Provider,{value:i},t)}return u.displayName=e+"Provider",[u,function(u){let i=(0,r.useContext)(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${u}\` must be used within \`${e}\``)}]}function i(e,t=[]){let n=[],u=()=>{let t=n.map(e=>(0,r.createContext)(e));return function(n){let u=(null==n?void 0:n[e])||t;return(0,r.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:u}}),[n,u])}};return u.scopeName=e,[function(t,u){let i=(0,r.createContext)(u),o=n.length;function l(t){let{scope:n,children:u,...l}=t,a=(null==n?void 0:n[e][o])||i,c=(0,r.useMemo)(()=>l,Object.values(l));return(0,r.createElement)(a.Provider,{value:c},u)}return n=[...n,u],l.displayName=t+"Provider",[l,function(n,l){let a=(null==l?void 0:l[e][o])||i,c=(0,r.useContext)(a);if(c)return c;if(void 0!==u)return u;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let u=n.reduce((t,{useScope:n,scopeName:r})=>{let u=n(e),i=u[`__scope${r}`];return{...t,...i}},{});return(0,r.useMemo)(()=>({[`__scope${t.scopeName}`]:u}),[u])}};return n.scopeName=t.scopeName,n}(u,...t)]}},20966:function(e,t,n){n.d(t,{M:function(){return a}});var r,u=n(2265),i=n(51030);let o=(r||(r=n.t(u,2)))["useId".toString()]||(()=>void 0),l=0;function a(e){let[t,n]=u.useState(o());return(0,i.b)(()=>{e||n(e=>null!=e?e:String(l++))},[e]),e||(t?`radix-${t}`:"")}},85606:function(e,t,n){n.d(t,{z:function(){return l}});var r=n(2265),u=n(54887),i=n(42210),o=n(51030);let l=e=>{let{present:t,children:n}=e,l=function(e){var t;let[n,i]=(0,r.useState)(),l=(0,r.useRef)({}),c=(0,r.useRef)(e),s=(0,r.useRef)("none"),f=e?"mounted":"unmounted",[d,m]=(t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,n)=>{let r=t[e][n];return null!=r?r:e},f));return(0,r.useEffect)(()=>{let e=a(l.current);s.current="mounted"===d?e:"none"},[d]),(0,o.b)(()=>{let t=l.current,n=c.current,r=n!==e;if(r){let r=s.current,u=a(t);e?m("MOUNT"):"none"===u||(null==t?void 0:t.display)==="none"?m("UNMOUNT"):n&&r!==u?m("ANIMATION_OUT"):m("UNMOUNT"),c.current=e}},[e,m]),(0,o.b)(()=>{if(n){let e=e=>{let t=a(l.current),r=t.includes(e.animationName);e.target===n&&r&&(0,u.flushSync)(()=>m("ANIMATION_END"))},t=e=>{e
|