1 line
9.7 KiB
JavaScript
1 line
9.7 KiB
JavaScript
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8473],{42065:function(e,n,t){var r=t(64836);n.Z=void 0;var o=r(t(64938)),i=t(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76z"}),"ArrowBackIosRounded");n.Z=a},41899:function(e,n,t){var r=t(64836);n.Z=void 0;var o=r(t(64938)),i=t(85893),a=(0,o.default)((0,i.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}),"ContentCopy");n.Z=a},35922:function(e,n,t){t.d(n,{Z:function(){return $}});var r=t(63366),o=t(87462),i=t(67294),a=t(94780),s=t(78987),c=t(33703),u=t(59948),l=t(82690),d=t(85893);function f(e){return e.substring(2).toLowerCase()}function m(e){const{children:n,disableReactTree:t=!1,mouseEvent:r="onClick",onClickAway:o,touchEvent:a="onTouchEnd"}=e,s=i.useRef(!1),m=i.useRef(null),g=i.useRef(!1),p=i.useRef(!1);i.useEffect((()=>(setTimeout((()=>{g.current=!0}),0),()=>{g.current=!1})),[]);const h=(0,c.Z)(n.ref,m),v=(0,u.Z)((e=>{const n=p.current;p.current=!1;const r=(0,l.Z)(m.current);if(!g.current||!m.current||"clientX"in e&&function(e,n){return n.documentElement.clientWidth<e.clientX||n.documentElement.clientHeight<e.clientY}(e,r))return;if(s.current)return void(s.current=!1);let i;i=e.composedPath?e.composedPath().indexOf(m.current)>-1:!r.documentElement.contains(e.target)||m.current.contains(e.target),i||!t&&n||o(e)})),E=e=>t=>{p.current=!0;const r=n.props[e];r&&r(t)},Z={ref:h};return!1!==a&&(Z[a]=E(a)),i.useEffect((()=>{if(!1!==a){const e=f(a),n=(0,l.Z)(m.current),t=()=>{s.current=!0};return n.addEventListener(e,v),n.addEventListener("touchmove",t),()=>{n.removeEventListener(e,v),n.removeEventListener("touchmove",t)}}}),[v,a]),!1!==r&&(Z[r]=E(r)),i.useEffect((()=>{if(!1!==r){const e=f(r),n=(0,l.Z)(m.current);return n.addEventListener(e,v),()=>{n.removeEventListener(e,v)}}}),[v,r]),(0,d.jsx)(i.Fragment,{children:i.cloneElement(n,Z)})}var g=t(30437);var p=t(2641),h=t(2734),v=t(54502),E=t(98216),Z=t(84527),y=t(30577),x=t(51705);const w=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function C(e){return`scale(${e}, ${e**2})`}const b={entering:{opacity:1,transform:C(1)},entered:{opacity:1,transform:"none"}},k="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),L=i.forwardRef((function(e,n){const{addEndListener:t,appear:a=!0,children:s,easing:c,in:u,onEnter:l,onEntered:f,onEntering:m,onExit:g,onExited:p,onExiting:v,style:E,timeout:L="auto",TransitionComponent:R=Z.ZP}=e,S=(0,r.Z)(e,w),O=i.useRef(),T=i.useRef(),P=(0,h.Z)(),M=i.useRef(null),j=(0,x.Z)(M,s.ref,n),z=e=>n=>{if(e){const t=M.current;void 0===n?e(t):e(t,n)}},H=z(m),A=z(((e,n)=>{(0,y.n)(e);const{duration:t,delay:r,easing:o}=(0,y.C)({style:E,timeout:L,easing:c},{mode:"enter"});let i;"auto"===L?(i=P.transitions.getAutoHeightDuration(e.clientHeight),T.current=i):i=t,e.style.transition=[P.transitions.create("opacity",{duration:i,delay:r}),P.transitions.create("transform",{duration:k?i:.666*i,delay:r,easing:o})].join(","),l&&l(e,n)})),D=z(f),B=z(v),N=z((e=>{const{duration:n,delay:t,easing:r}=(0,y.C)({style:E,timeout:L,easing:c},{mode:"exit"});let o;"auto"===L?(o=P.transitions.getAutoHeightDuration(e.clientHeight),T.current=o):o=n,e.style.transition=[P.transitions.create("opacity",{duration:o,delay:t}),P.transitions.create("transform",{duration:k?o:.666*o,delay:k?t:t||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=C(.75),g&&g(e)})),_=z(p);return i.useEffect((()=>()=>{clearTimeout(O.current)}),[]),(0,d.jsx)(R,(0,o.Z)({appear:a,in:u,nodeRef:M,onEnter:A,onEntered:D,onEntering:H,onExit:N,onExited:_,onExiting:B,addEndListener:e=>{"auto"===L&&(O.current=setTimeout(e,T.current||0)),t&&t(M.current,e)},timeout:"auto"===L?null:L},S,{child
|