1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[666],{98264:function(o,S,w){"use strict";function _extends(){return(_extends=Object.assign?Object.assign.bind():function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)({}).hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}).apply(null,arguments)}w.d(S,{c:function(){return N}});var _=w(67294),E=w(2466),D=w(31700);let isFunction=o=>"function"==typeof o,N=_.forwardRef(({envMap:o,resolution:S=256,frames:w=1/0,makeDefault:N,children:F,...V},U)=>{let W=(0,E.A)(({set:o})=>o),q=(0,E.A)(({camera:o})=>o),Q=(0,E.A)(({size:o})=>o),Y=_.useRef(null);_.useImperativeHandle(U,()=>Y.current,[]);let et=_.useRef(null),en=function(o,S,w){let N=(0,E.A)(o=>o.size),F=(0,E.A)(o=>o.viewport),V="number"==typeof o?o:N.width*F.dpr,U="number"==typeof S?S:N.height*F.dpr,W=("number"==typeof o?void 0:o)||{},{samples:q=0,depth:Q,...Y}=W,et=_.useMemo(()=>{let o=new D.WebGLRenderTarget(V,U,{minFilter:D.LinearFilter,magFilter:D.LinearFilter,type:D.HalfFloatType,...Y});return Q&&(o.depthTexture=new D.DepthTexture(V,U,D.FloatType)),o.samples=q,o},[]);return _.useLayoutEffect(()=>{et.setSize(V,U),q&&(et.samples=q)},[q,et,V,U]),_.useEffect(()=>()=>et.dispose(),[]),et}(S);_.useLayoutEffect(()=>{V.manual||(Y.current.aspect=Q.width/Q.height)},[Q,V]),_.useLayoutEffect(()=>{Y.current.updateProjectionMatrix()});let er=0,eo=null,ea=isFunction(F);return(0,E.C)(S=>{ea&&(w===1/0||er<w)&&(et.current.visible=!1,S.gl.setRenderTarget(en),eo=S.scene.background,o&&(S.scene.background=o),S.gl.render(S.scene,Y.current),S.scene.background=eo,S.gl.setRenderTarget(null),et.current.visible=!0,er++)}),_.useLayoutEffect(()=>{if(N)return W(()=>({camera:Y.current})),()=>W(()=>({camera:q}))},[Y,N,W]),_.createElement(_.Fragment,null,_.createElement("perspectiveCamera",_extends({ref:Y},V),!ea&&F),_.createElement("group",{ref:et},ea&&F(en.texture)))})},2466:function(o,S,w){"use strict";let _,E,D;w.d(S,{A:function(){return useThree},B:function(){return Block},C:function(){return useFrame},E:function(){return ErrorBoundary},F:function(){return useLoader},a:function(){return el},b:function(){return createRoot},c:function(){return createEvents},d:function(){return unmountComponentAtNode},e:function(){return extend},i:function(){return isRef},u:function(){return useMutableCallback}});var N,F,V=w(31700),U=w(67294),W=w(32576);let q="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Q=q?U.useEffect:U.useLayoutEffect;var Y=w(76525),et=w.n(Y),en=w(63840);let isPromise=o=>"object"==typeof o&&"function"==typeof o.then,er=[];function shallowEqualArrays(o,S,w=(o,S)=>o===S){if(o===S)return!0;if(!o||!S)return!1;let _=o.length;if(S.length!==_)return!1;for(let E=0;E<_;E++)if(!w(o[E],S[E]))return!1;return!0}function query(o,S=null,w=!1,_={}){for(let E of(null===S&&(S=[o]),er))if(shallowEqualArrays(S,E.keys,E.equal)){if(w)return;if(Object.prototype.hasOwnProperty.call(E,"error"))throw E.error;if(Object.prototype.hasOwnProperty.call(E,"response"))return _.lifespan&&_.lifespan>0&&(E.timeout&&clearTimeout(E.timeout),E.timeout=setTimeout(E.remove,_.lifespan)),E.response;if(!w)throw E.promise}let E={keys:S,equal:_.equal,remove:()=>{let o=er.indexOf(E);-1!==o&&er.splice(o,1)},promise:(isPromise(o)?o:o(...S)).then(o=>{E.response=o,_.lifespan&&_.lifespan>0&&(E.timeout=setTimeout(E.remove,_.lifespan))}).catch(o=>E.error=o)};if(er.push(E),!w)throw E.promise}let suspend=(o,S,w)=>query(o,S,!1,w),preload=(o,S,w)=>void query(o,S,!0,w),clear=o=>{if(void 0===o||0===o.length)er.splice(0,er.length);else{let S=er.find(S=>shallowEqualArrays(o,S.keys,S.equal));S&&S.remove()}};var eo=w(85893),ea=w(34155);let es={},extend=o=>void Object.assign(es,o),hasColorSpace=o=>"colorSpace"in o||"outputColorSpace"in o,getColorManagement=()=>{var o;return null!=(o=es.ColorManagement)?o:null},isOrthographicCamera=o=>o&&o.isOrthographicCamera,isRef=o=>o&&o.hasOwnProperty("current"),el="undefined"!=typeof window&&(null!=(N=window.document)&&N.createElement||(null==(F=window.navigator)?void 0:F.product)==="ReactNative")?U.useLayoutEffect:U.useEffect;function useMutableCallback(o){let S=U.useRef(o);return el(()=>void(S.current=o),[o]),S}function Block({set:o}){return el(()=>(o(new Promise(()=>null)),()=>o(!1)),[o]),null}let ErrorBoundary=class ErrorBoundary extends U.Component{constructor(...o){super(...o),this.state={error:!1}}componentDidCatch(o){this.props.set(o)}render(){return this.state.error?null:this.props.children}};ErrorBoundary.getDerivedStateFromError=()=>({error:!0});let eu="__default",ec=new Map,isDiffSet=o=>o&&!!o.memoized&&!!o.changes;function calculateDpr(o){var S;let w="undefined"!=typeof window?null!=(S=window.devicePixelRatio)?S:2:1;return Array.isArray(o)?Math.min(Math.max(o[0],w),o[1]):o}let getRootState=o=>{var S;return null==(S=o.__r3f)?void 0:S.root.getState()};function findInitialRoot(o){let S=o.__r3f.root;for(;S.getState().previousRoot;)S=S.getState().previousRoot;return S}let ed={obj:o=>o===Object(o)&&!ed.arr(o)&&"function"!=typeof o,fun:o=>"function"==typeof o,str:o=>"string"==typeof o,num:o=>"number"==typeof o,boo:o=>"boolean"==typeof o,und:o=>void 0===o,arr:o=>Array.isArray(o),equ(o,S,{arrays:w="shallow",objects:_="reference",strict:E=!0}={}){let D;if(typeof o!=typeof S||!!o!=!!S)return!1;if(ed.str(o)||ed.num(o)||ed.boo(o))return o===S;let N=ed.obj(o);if(N&&"reference"===_)return o===S;let F=ed.arr(o);if(F&&"reference"===w)return o===S;if((F||N)&&o===S)return!0;for(D in o)if(!(D in S))return!1;
1if(N&&"shallow"===w&&"shallow"===_){for(D in E?S:o)if(!ed.equ(o[D],S[D],{strict:E,objects:"reference"}))return!1}else for(D in E?S:o)if(o[D]!==S[D])return!1;if(ed.und(D)){if(F&&0===o.length&&0===S.length||N&&0===Object.keys(o).length&&0===Object.keys(S).length)return!0;if(o!==S)return!1}return!0}};function prepare(o,S){return o.__r3f={type:"",root:null,previousAttach:null,memoizedProps:{},eventCount:0,handlers:{},objects:[],parent:null,...S},o}function resolve(o,S){let w=o;if(!S.includes("-"))return{target:w,key:S};{let _=S.split("-"),E=_.pop();return{target:w=_.reduce((o,S)=>o[S],o),key:E}}}let ep=/-\d+$/;function attach(o,S,w){if(ed.str(w)){if(ep.test(w)){let S=w.replace(ep,""),{target:_,key:E}=resolve(o,S);Array.isArray(_[E])||(_[E]=[])}let{target:_,key:E}=resolve(o,w);S.__r3f.previousAttach=_[E],_[E]=S}else S.__r3f.previousAttach=w(o,S)}function detach(o,S,w){var _,E;if(ed.str(w)){let{target:_,key:E}=resolve(o,w),D=S.__r3f.previousAttach;void 0===D?delete _[E]:_[E]=D}else null==(_=S.__r3f)||null==_.previousAttach||_.previousAttach(o,S);null==(E=S.__r3f)||delete E.previousAttach}function diffProps(o,{children:S,key:w,ref:_,...E},{children:D,key:N,ref:F,...V}={},U=!1){let W=o.__r3f,q=Object.entries(E),Q=[];if(U){let o=Object.keys(V);for(let S=0;S<o.length;S++)E.hasOwnProperty(o[S])||q.unshift([o[S],eu+"remove"])}q.forEach(([S,w])=>{var _;if(null!=(_=o.__r3f)&&_.primitive&&"object"===S||ed.equ(w,V[S]))return;if(/^on(Pointer|Click|DoubleClick|ContextMenu|Wheel)/.test(S))return Q.push([S,w,!0,[]]);let D=[];for(let o in S.includes("-")&&(D=S.split("-")),Q.push([S,w,!1,D]),E){let w=E[o];o.startsWith(`${S}-`)&&Q.push([o,w,!1,o.split("-")])}});let Y={...E};return null!=W&&W.memoizedProps&&null!=W&&W.memoizedProps.args&&(Y.args=W.memoizedProps.args),null!=W&&W.memoizedProps&&null!=W&&W.memoizedProps.attach&&(Y.attach=W.memoizedProps.attach),{memoized:Y,changes:Q}}let eh=void 0!==ea&&!1;function applyProps$1(o,S){var w;let _=o.__r3f,E=null==_?void 0:_.root,D=null==E?void 0:null==E.getState?void 0:E.getState(),{memoized:N,changes:F}=isDiffSet(S)?S:diffProps(o,S),U=null==_?void 0:_.eventCount;o.__r3f&&(o.__r3f.memoizedProps=N);for(let S=0;S<F.length;S++){let[w,E,N,U]=F[S];if(hasColorSpace(o)){let o="srgb",S="srgb-linear";"encoding"===w?(w="colorSpace",E=3001===E?o:S):"outputEncoding"===w&&(w="outputColorSpace",E=3001===E?o:S)}let W=o,q=W[w];if(U.length&&!((q=U.reduce((o,S)=>o[S],o))&&q.set)){let[S,..._]=U.reverse();W=_.reverse().reduce((o,S)=>o[S],o),w=S}if(E===eu+"remove"){if(W.constructor){let o=ec.get(W.constructor);o||(o=new W.constructor,ec.set(W.constructor,o)),E=o[w]}else E=0}if(N&&_)E?_.handlers[w]=E:delete _.handlers[w],_.eventCount=Object.keys(_.handlers).length;else if(q&&q.set&&(q.copy||q instanceof V.Layers)){if(Array.isArray(E))q.fromArray?q.fromArray(E):q.set(...E);else if(q.copy&&E&&E.constructor&&(eh?q.constructor.name===E.constructor.name:q.constructor===E.constructor))q.copy(E);else if(void 0!==E){let o=q instanceof V.Color;!o&&q.setScalar?q.setScalar(E):q instanceof V.Layers&&E instanceof V.Layers?q.mask=E.mask:q.set(E),!getColorManagement()&&D&&!D.linear&&o&&q.convertSRGBToLinear()}}else if(W[w]=E,W[w]instanceof V.Texture&&W[w].format===V.RGBAFormat&&W[w].type===V.UnsignedByteType&&D){let o=W[w];hasColorSpace(o)&&hasColorSpace(D.gl)?o.colorSpace=D.gl.outputColorSpace:o.encoding=D.gl.outputEncoding}invalidateInstance(o)}if(_&&_.parent&&o.raycast&&U!==_.eventCount){let S=findInitialRoot(o).getState().internal,w=S.interaction.indexOf(o);w>-1&&S.interaction.splice(w,1),_.eventCount&&S.interaction.push(o)}let W=1===F.length&&"onUpdate"===F[0][0];return!W&&F.length&&null!=(w=o.__r3f)&&w.parent&&updateInstance(o),o}
1function invalidateInstance(o){var S,w;let _=null==(S=o.__r3f)?void 0:null==(w=S.root)?void 0:null==w.getState?void 0:w.getState();_&&0===_.internal.frames&&_.invalidate()}function updateInstance(o){null==o.onUpdate||o.onUpdate(o)}function makeId(o){return(o.eventObject||o.object).uuid+"/"+o.index+o.instanceId}function releaseInternalPointerCapture(o,S,w,_){let E=w.get(S);E&&(w.delete(S),0===w.size&&(o.delete(_),E.target.releasePointerCapture(_)))}function createEvents(o){function filterPointerEvents(o){return o.filter(o=>["Move","Over","Enter","Out","Leave"].some(S=>{var w;return null==(w=o.__r3f)?void 0:w.handlers["onPointer"+S]}))}function cancelPointer(S){let{internal:w}=o.getState();for(let o of w.hovered.values())if(!S.length||!S.find(S=>S.object===o.object&&S.index===o.index&&S.instanceId===o.instanceId)){let _=o.eventObject,E=_.__r3f,D=null==E?void 0:E.handlers;if(w.hovered.delete(makeId(o)),null!=E&&E.eventCount){let w={...o,intersections:S};null==D.onPointerOut||D.onPointerOut(w),null==D.onPointerLeave||D.onPointerLeave(w)}}}function pointerMissed(o,S){for(let w=0;w<S.length;w++){let _=S[w].__r3f;null==_||null==_.handlers.onPointerMissed||_.handlers.onPointerMissed(o)}}return{handlePointer:function(S){switch(S){case"onPointerLeave":case"onPointerCancel":return()=>cancelPointer([]);case"onLostPointerCapture":return S=>{let{internal:w}=o.getState();"pointerId"in S&&w.capturedMap.has(S.pointerId)&&requestAnimationFrame(()=>{w.capturedMap.has(S.pointerId)&&(w.capturedMap.delete(S.pointerId),cancelPointer([]))})}}return function(w){let{onPointerMissed:_,internal:E}=o.getState();E.lastEvent.current=w;let D="onPointerMove"===S,N="onClick"===S||"onContextMenu"===S||"onDoubleClick"===S,F=function(S,w){let _=o.getState(),E=new Set,D=[],N=w?w(_.internal.interaction):_.internal.interaction;for(let o=0;o<N.length;o++){let S=getRootState(N[o]);S&&(S.raycaster.camera=void 0)}_.previousRoot||null==_.events.compute||_.events.compute(S,_);let F=N.flatMap(function(o){let w=getRootState(o);if(!w||!w.events.enabled||null===w.raycaster.camera)return[];if(void 0===w.raycaster.camera){var _;null==w.events.compute||w.events.compute(S,w,null==(_=w.previousRoot)?void 0:_.getState()),void 0===w.raycaster.camera&&(w.raycaster.camera=null)}return w.raycaster.camera?w.raycaster.intersectObject(o,!0):[]}).sort((o,S)=>{let w=getRootState(o.object),_=getRootState(S.object);return w&&_&&_.events.priority-w.events.priority||o.distance-S.distance}).filter(o=>{let S=makeId(o);return!E.has(S)&&(E.add(S),!0)});for(let o of(_.events.filter&&(F=_.events.filter(F,_)),F)){let S=o.object;for(;S;){var V;null!=(V=S.__r3f)&&V.eventCount&&D.push({...o,eventObject:S}),S=S.parent}}if("pointerId"in S&&_.internal.capturedMap.has(S.pointerId))for(let o of _.internal.capturedMap.get(S.pointerId).values())E.has(makeId(o.intersection))||D.push(o.intersection);return D}(w,D?filterPointerEvents:void 0),U=N?function(S){let{internal:w}=o.getState(),_=S.offsetX-w.initialClick[0],E=S.offsetY-w.initialClick[1];return Math.round(Math.sqrt(_*_+E*E))}(w):0;"onPointerDown"===S&&(E.initialClick=[w.offsetX,w.offsetY],E.initialHits=F.map(o=>o.eventObject)),N&&!F.length&&U<=2&&(pointerMissed(w,E.interaction),_&&_(w)),D&&cancelPointer(F),function(S,w,_,E){let D=o.getState();if(S.length){let o={stopped:!1};for(let N of S){let F=getRootState(N.object)||D,{raycaster:U,pointer:W,camera:q,internal:Q}=F,Y=new V.Vector3(W.x,W.y,0).unproject(q),hasPointerCapture=o=>{var S,w;return null!=(S=null==(w=Q.capturedMap.get(o))?void 0:w.has(N.eventObject))&&S},setPointerCapture=o=>{let S={intersection:N,target:w.target};Q.capturedMap.has(o)?Q.capturedMap.get(o).set(N.eventObject,S):Q.capturedMap.set(o,new Map([[N.eventObject,S]])),w.target.setPointerCapture(o)},releasePointerCapture=o=>{let S=Q.capturedMap.get(o);S&&releaseInternalPointerCapture(Q.capturedMap,N.eventObject,S,o)},et={};for(let o in w){let S=w[o];"function"!=typeof S&&(et[o]=S)}let en={...N,...et,pointer:W,intersections:S,stopped:o.stopped,delta:_,unprojectedPoint:Y,ray:U.ray,camera:q,stopPropagation(){let _="pointerId"in w&&Q.capturedMap.get(w.pointerId);if((!_||_.has(N.eventObject))&&(en.stopped=o.stopped=!0,Q.hovered.size&&Array.from(Q.hovered.values()).find(o=>o.eventObject===N.eventObject))){let o=S.slice(0,S.indexOf(N));cancelPointer([...o,N])}},target:{hasPointerCapture,setPointerCapture,releasePointerCapture},currentTarget:{hasPointerCapture,setPointerCapture,releasePointerCapture},nativeEvent:w};if(E(en),!0===o.stopped)break}}}(F,w,U,function(o){let _=o.eventObject,F=_.__r3f,V=null==F?void 0:F.handlers;if(null!=F&&F.eventCount){if(D){if(V.onPointerOver||V.onPointerEnter||V.onPointerOut||V.onPointerLeave){let S=makeId(o),w=E.hovered.get(S);w?w.stopped&&o.stopPropagation():(E.hovered.set(S,o),null==V.onPointerOver||V.onPointerOver(o),null==V.onPointerEnter||V.onPointerEnter(o))}null==V.onPointerMove||V.onPointerMove(o)}else{let D=V[S];D?(!N||E.initialHits.includes(_))&&(pointerMissed(w,E.interaction.filter(o=>!E.initialHits.includes(o))),D(o)):N&&E.initialHits.includes(_)&&pointerMissed(w,E.interaction.filter(o=>!E.initialHits.includes(o)))}}})}}}}let isRenderer=o=>!!(null!=o&&o.render),em=U.createContext(null),index_99983b2d_esm_createStore=(o,S)=>{let w=function(o){let S="function"==typeof o?function(o){let S;let w=new Set,setState=(o,_)=>{let E="function"==typeof o?o(S):o;if(E!==S){let o=S;S=_?E:Object.assign({}
1,S,E),w.forEach(w=>w(S,o))}},getState=()=>S,subscribeWithSelector=(o,_=getState,E=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let D=_(S);function listenerToAdd(){let w=_(S);if(!E(D,w)){let S=D;o(D=w,S)}}return w.add(listenerToAdd),()=>w.delete(listenerToAdd)},_={setState,getState,subscribe:(o,S,_)=>S||_?subscribeWithSelector(o,S,_):(w.add(o),()=>w.delete(o)),destroy:()=>w.clear()};return S=o(setState,getState,_),_}(o):o,useStore=(o=S.getState,w=Object.is)=>{let _;let[,E]=(0,U.useReducer)(o=>o+1,0),D=S.getState(),N=(0,U.useRef)(D),F=(0,U.useRef)(o),V=(0,U.useRef)(w),W=(0,U.useRef)(!1),q=(0,U.useRef)();void 0===q.current&&(q.current=o(D));let Y=!1;(N.current!==D||F.current!==o||V.current!==w||W.current)&&(_=o(D),Y=!w(q.current,_)),Q(()=>{Y&&(q.current=_),N.current=D,F.current=o,V.current=w,W.current=!1});let et=(0,U.useRef)(D);Q(()=>{let listener=()=>{try{let o=S.getState(),w=F.current(o);V.current(q.current,w)||(N.current=o,q.current=w,E())}catch(o){W.current=!0,E()}},o=S.subscribe(listener);return S.getState()!==et.current&&listener(),o},[]);let en=Y?_:q.current;return(0,U.useDebugValue)(en),en};return Object.assign(useStore,S),useStore[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");let o=[useStore,S];return{next(){let S=o.length<=0;return{value:o.shift(),done:S}}}},useStore}((w,_)=>{let E;let D=new V.Vector3,N=new V.Vector3,F=new V.Vector3;function getCurrentViewport(o=_().camera,S=N,w=_().size){let{width:E,height:U,top:W,left:q}=w,Q=E/U;S instanceof V.Vector3?F.copy(S):F.set(...S);let Y=o.getWorldPosition(D).distanceTo(F);if(isOrthographicCamera(o))return{width:E/o.zoom,height:U/o.zoom,top:W,left:q,factor:1,distance:Y,aspect:Q};{let S=o.fov*Math.PI/180,w=2*Math.tan(S/2)*Y,_=w*(E/U);return{width:_,height:w,top:W,left:q,factor:E/_,distance:Y,aspect:Q}}}let setPerformanceCurrent=o=>w(S=>({performance:{...S.performance,current:o}})),W=new V.Vector2,q={set:w,get:_,gl:null,camera:null,raycaster:null,events:{priority:1,enabled:!0,connected:!1},xr:null,scene:null,invalidate:(S=1)=>o(_(),S),advance:(o,w)=>S(o,w,_()),legacy:!1,linear:!1,flat:!1,controls:null,clock:new V.Clock,pointer:W,mouse:W,frameloop:"always",onPointerMissed:void 0,performance:{current:1,min:.5,max:1,debounce:200,regress:()=>{let o=_();E&&clearTimeout(E),o.performance.current!==o.performance.min&&setPerformanceCurrent(o.performance.min),E=setTimeout(()=>setPerformanceCurrent(_().performance.max),o.performance.debounce)}},size:{width:0,height:0,top:0,left:0,updateStyle:!1},viewport:{initialDpr:0,dpr:0,width:0,height:0,top:0,left:0,aspect:0,distance:0,factor:0,getCurrentViewport},setEvents:o=>w(S=>({...S,events:{...S.events,...o}})),setSize:(o,S,E,D,F)=>{let V=_().camera,U={width:o,height:S,top:D||0,left:F||0,updateStyle:E};w(o=>({size:U,viewport:{...o.viewport,...getCurrentViewport(V,N,U)}}))},setDpr:o=>w(S=>{let w=calculateDpr(o);return{viewport:{...S.viewport,dpr:w,initialDpr:S.viewport.initialDpr||w}}}),setFrameloop:(o="always")=>{let S=_().clock;S.stop(),S.elapsedTime=0,"never"!==o&&(S.start(),S.elapsedTime=0),w(()=>({frameloop:o}))},previousRoot:void 0,internal:{active:!1,priority:0,frames:0,lastEvent:U.createRef(),interaction:[],hovered:new Map,subscribers:[],initialClick:[0,0],initialHits:[],capturedMap:new Map,subscribe:(o,S,w)=>{let E=_().internal;return E.priority=E.priority+(S>0?1:0),E.subscribers.push({ref:o,priority:S,store:w}),E.subscribers=E.subscribers.sort((o,S)=>o.priority-S.priority),()=>{let w=_().internal;null!=w&&w.subscribers&&(w.priority=w.priority-(S>0?1:0),w.subscribers=w.subscribers.filter(S=>S.ref!==o))}}}};return q}),_=w.getState(),E=_.size,D=_.viewport.dpr,N=_.camera;return w.subscribe(()=>{let{camera:o,size:S,viewport:_,gl:F,set:V}=w.getState();if(S.width!==E.width||S.height!==E.height||_.dpr!==D){var U;E=S,D=_.dpr,o.manual||(isOrthographicCamera(o)?(o.left=-(S.width/2),o.right=S.width/2,o.top=S.height/2,o.bottom=-(S.height/2)):o.aspect=S.width/S.height,o.updateProjectionMatrix(),o.updateMatrixWorld()),F.setPixelRatio(_.dpr);let w=null!=(U=S.updateStyle)?U:"undefined"!=typeof HTMLCanvasElement&&F.domElement instanceof HTMLCanvasElement;F.setSize(S.width,S.height,w)}o!==N&&(N=o,V(S=>({viewport:{...S.viewport,...S.viewport.getCurrentViewport(o)}})))}),w.subscribe(S=>o(S)),w},eg=new Set,ev=new Set,ey=new Set;function run(o,S){if(o.size)for(let{callback:w}
1of o.values())w(S)}function flushGlobalEffects(o,S){switch(o){case"before":return run(eg,S);case"after":return run(ev,S);case"tail":return run(ey,S)}}function render$1(o,S,w){let N=S.clock.getDelta();for("never"===S.frameloop&&"number"==typeof o&&(N=o-S.clock.elapsedTime,S.clock.oldTime=S.clock.elapsedTime,S.clock.elapsedTime=o),E=S.internal.subscribers,_=0;_<E.length;_++)(D=E[_]).ref.current(D.store.getState(),N,w);return!S.internal.priority&&S.gl.render&&S.gl.render(S.scene,S.camera),S.internal.frames=Math.max(0,S.internal.frames-1),"always"===S.frameloop?1:S.internal.frames}function useStore(){let o=U.useContext(em);if(!o)throw Error("R3F: Hooks can only be used within the Canvas component!");return o}function useThree(o=o=>o,S){return useStore()(o,S)}function useFrame(o,S=0){let w=useStore(),_=w.getState().internal.subscribe,E=useMutableCallback(o);return el(()=>_(E,S,w),[S,_,w]),null}let eb=new WeakMap;function loadingFn(o,S){return function(w,..._){let E=eb.get(w);return E||(E=new w,eb.set(w,E)),o&&o(E),Promise.all(_.map(o=>new Promise((w,_)=>E.load(o,o=>{o.scene&&Object.assign(o,function(o){let S={nodes:{},materials:{}};return o&&o.traverse(o=>{o.name&&(S.nodes[o.name]=o),o.material&&!S.materials[o.material.name]&&(S.materials[o.material.name]=o.material)}),S}(o.scene)),w(o)},S,S=>_(Error(`Could not load ${o}: ${null==S?void 0:S.message}`))))))}}function useLoader(o,S,w,_){let E=Array.isArray(S)?S:[S],D=suspend(loadingFn(w,_),[o,...E],{equal:ed.equ});return Array.isArray(S)?D:D[0]}useLoader.preload=function(o,S,w){let _=Array.isArray(S)?S:[S];return preload(loadingFn(w),[o,..._])},useLoader.clear=function(o,S){let w=Array.isArray(S)?S:[S];return clear([o,...w])};let eS=new Map,{invalidate:ex,advance:ew}=function(o){let S,w,_,E=!1,D=!1;function loop(N){for(let V of(w=requestAnimationFrame(loop),E=!0,S=0,flushGlobalEffects("before",N),D=!0,o.values())){var F;(_=V.store.getState()).internal.active&&("always"===_.frameloop||_.internal.frames>0)&&!(null!=(F=_.gl.xr)&&F.isPresenting)&&(S+=render$1(N,_))}if(D=!1,flushGlobalEffects("after",N),0===S)return flushGlobalEffects("tail",N),E=!1,cancelAnimationFrame(w)}
1return{loop,invalidate:function invalidate(S,w=1){var _;if(!S)return o.forEach(o=>invalidate(o.store.getState(),w));null!=(_=S.gl.xr)&&_.isPresenting||!S.internal.active||"never"===S.frameloop||(w>1?S.internal.frames=Math.min(60,S.internal.frames+w):D?S.internal.frames=2:S.internal.frames=1,E||(E=!0,requestAnimationFrame(loop)))},advance:function(S,w=!0,_,E){if(w&&flushGlobalEffects("before",S),_)render$1(S,_,E);else for(let w of o.values())render$1(S,w.store.getState());w&&flushGlobalEffects("after",S)}}}(eS),{reconciler:e_,applyProps:eE}=function(o,S){function createInstance(o,{args:S=[],attach:w,..._},E){let D,N=`${o[0].toUpperCase()}${o.slice(1)}`;if("primitive"===o){if(void 0===_.object)throw Error("R3F: Primitives without 'object' are invalid!");let S=_.object;D=prepare(S,{type:o,root:E,attach:w,primitive:!0})}else{let _=es[N];if(!_)throw Error(`R3F: ${N} is not part of the THREE namespace! Did you forget to extend? See: https://docs.pmnd.rs/react-three-fiber/api/objects#using-3rd-party-objects-declaratively`);if(!Array.isArray(S))throw Error("R3F: The args prop must be an array!");D=prepare(new _(...S),{type:o,root:E,attach:w,memoizedProps:{args:S}})}return void 0===D.__r3f.attach&&(D instanceof V.BufferGeometry?D.__r3f.attach="geometry":D instanceof V.Material&&(D.__r3f.attach="material")),"inject"!==N&&applyProps$1(D,_),D}function appendChild(o,S){let w=!1;if(S){var _,E;null!=(_=S.__r3f)&&_.attach?attach(o,S,S.__r3f.attach):S.isObject3D&&o.isObject3D&&(o.add(S),w=!0),w||null==(E=o.__r3f)||E.objects.push(S),S.__r3f||prepare(S,{}),S.__r3f.parent=o,updateInstance(S),invalidateInstance(S)}}function insertBefore(o,S,w){let _=!1;if(S){var E,D;if(null!=(E=S.__r3f)&&E.attach)attach(o,S,S.__r3f.attach);else if(S.isObject3D&&o.isObject3D){S.parent=o,S.dispatchEvent({type:"added"}),o.dispatchEvent({type:"childadded",child:S});let E=o.children.filter(o=>o!==S),D=E.indexOf(w);o.children=[...E.slice(0,D),S,...E.slice(D)],_=!0}_||null==(D=o.__r3f)||D.objects.push(S),S.__r3f||prepare(S,{}),S.__r3f.parent=o,updateInstance(S),invalidateInstance(S)}}function removeRecursive(o,S,w=!1){o&&[...o].forEach(o=>removeChild(S,o,w))}function removeChild(o,S,w){if(S){var _,E,D,N,F;S.__r3f&&(S.__r3f.parent=null),null!=(_=o.__r3f)&&_.objects&&(o.__r3f.objects=o.__r3f.objects.filter(o=>o!==S)),null!=(E=S.__r3f)&&E.attach?detach(o,S,S.__r3f.attach):S.isObject3D&&o.isObject3D&&(o.remove(S),null!=(N=S.__r3f)&&N.root&&function(o,S){let{internal:w}=o.getState();w.interaction=w.interaction.filter(o=>o!==S),w.initialHits=w.initialHits.filter(o=>o!==S),w.hovered.forEach((o,_)=>{(o.eventObject===S||o.object===S)&&w.hovered.delete(_)}),w.capturedMap.forEach((o,_)=>{releaseInternalPointerCapture(w.capturedMap,S,o,_)})}(findInitialRoot(S),S));let V=null==(D=S.__r3f)?void 0:D.primitive,U=!V&&(void 0===w?null!==S.dispose:w);if(V||(removeRecursive(null==(F=S.__r3f)?void 0:F.objects,S,U),removeRecursive(S.children,S,U)),delete S.__r3f,U&&S.dispose&&"Scene"!==S.type){let callback=()=>{try{S.dispose()}catch(o){}};"undefined"==typeof IS_REACT_ACT_ENVIRONMENT?(0,en.unstable_scheduleCallback)(en.unstable_IdlePriority,callback):callback()}invalidateInstance(o)}}let handleTextInstance=()=>console.warn("Text is not allowed in the R3F tree! This could be stray whitespace or characters."),w=et()({createInstance,removeChild,appendChild,appendInitialChild:appendChild,insertBefore,supportsMutation:!0,isPrimaryRenderer:!1,supportsPersistence:!1,supportsHydration:!1,noTimeout:-1,appendChildToContainer:(o,S)=>{if(!S)return;let w=o.getState().scene;w.__r3f&&(w.__r3f.root=o,appendChild(w,S))},removeChildFromContainer:(o,S)=>{S&&removeChild(o.getState().scene,S)},insertInContainerBefore:(o,S,w)=>{if(!S||!w)return;let _=o.getState().scene;_.__r3f&&insertBefore(_,S,w)},getRootHostContext:()=>null,getChildHostContext:o=>o,finalizeInitialChildren(o){var S;let w=null!=(S=null==o?void 0:o.__r3f)?S:{};return!!w.handlers},prepareUpdate(o,S,w,_){var E;let D=null!=(E=null==o?void 0:o.__r3f)?E:{};if(D.primitive&&_.object&&_.object!==o)return[!0];{let{args:S=[],children:E,...D}=_,{args:N=[],children:F,...V}=w;if(!Array.isArray(S))throw Error("R3F: the args prop must be an array!");if(S.some((o,S)=>o!==N[S]))return[!0];let U=diffProps(o,D,V,!0);return U.changes.length?[!1,U]:null}},commitUpdate(o,[S,w],_,E,D,N){S?function(o,S,w,_){var E;let D=null==(E=o.__r3f)?void 0:E.parent;if(!D)return;let N=createInstance(S,w,o.__r3f.root);if(o.children){for(let S of o.children)S.__r3f&&appendChild(N,S);o.children=o.children.filter(o=>!o.__r3f)}
1if(o.__r3f.objects.forEach(o=>appendChild(N,o)),o.__r3f.objects=[],o.__r3f.autoRemovedBeforeAppend||removeChild(D,o),N.parent&&(N.__r3f.autoRemovedBeforeAppend=!0),appendChild(D,N),N.raycast&&N.__r3f.eventCount){let o=findInitialRoot(N).getState();o.internal.interaction.push(N)}[_,_.alternate].forEach(o=>{null!==o&&(o.stateNode=N,o.ref&&("function"==typeof o.ref?o.ref(N):o.ref.current=N))})}(o,_,D,N):applyProps$1(o,w)},commitMount(o,S,w,_){var E;let D=null!=(E=o.__r3f)?E:{};o.raycast&&D.handlers&&D.eventCount&&findInitialRoot(o).getState().internal.interaction.push(o)},getPublicInstance:o=>o,prepareForCommit:()=>null,preparePortalMount:o=>prepare(o.getState().scene),resetAfterCommit:()=>{},shouldSetTextContent:()=>!1,clearContainer:()=>!1,hideInstance(o){var S;let{attach:w,parent:_}=null!=(S=o.__r3f)?S:{};w&&_&&detach(_,o,w),o.isObject3D&&(o.visible=!1),invalidateInstance(o)},unhideInstance(o,S){var w;let{attach:_,parent:E}=null!=(w=o.__r3f)?w:{};_&&E&&attach(E,o,_),(o.isObject3D&&null==S.visible||S.visible)&&(o.visible=!0),invalidateInstance(o)},createTextInstance:handleTextInstance,hideTextInstance:handleTextInstance,unhideTextInstance:handleTextInstance,getCurrentEventPriority:()=>S?S():W.DefaultEventPriority,beforeActiveInstanceBlur:()=>{},afterActiveInstanceBlur:()=>{},detachDeletedInstance:()=>{},now:"undefined"!=typeof performance&&ed.fun(performance.now)?performance.now:ed.fun(Date.now)?Date.now:()=>0,scheduleTimeout:ed.fun(setTimeout)?setTimeout:void 0,cancelTimeout:ed.fun(clearTimeout)?clearTimeout:void 0});return{reconciler:w,applyProps:applyProps$1}}(0,function(){var o;let S="undefined"!=typeof self&&self||"undefined"!=typeof window&&window;if(!S)return W.DefaultEventPriority;let w=null==(o=S.event)?void 0:o.type;switch(w){case"click":case"contextmenu":case"dblclick":case"pointercancel":case"pointerdown":case"pointerup":return W.DiscreteEventPriority;case"pointermove":case"pointerout":case"pointerover":case"pointerenter":case"pointerleave":case"wheel":return W.ContinuousEventPriority;default:return W.DefaultEventPriority}}),eT={objects:"shallow",strict:!1},createRendererInstance=(o,S)=>{let w="function"==typeof o?o(S):o;return isRenderer(w)?w:new V.WebGLRenderer({powerPreference:"high-performance",canvas:S,antialias:!0,alpha:!0,...o})};function createRoot(o){let S,w;let _=eS.get(o),E=null==_?void 0:_.fiber,D=null==_?void 0:_.store;_&&console.warn("R3F.createRoot should only be called once!");let N="function"==typeof reportError?reportError:console.error,F=D||index_99983b2d_esm_createStore(ex,ew),U=E||e_.createContainer(F,W.ConcurrentRoot,null,!1,null,"",N,null);_||eS.set(o,{fiber:U,store:F});let q=!1;return{configure(_={}){var E,D;let{gl:N,size:U,scene:W,events:Q,onCreated:Y,shadows:et=!1,linear:en=!1,flat:er=!1,legacy:eo=!1,orthographic:ea=!1,frameloop:es="always",dpr:el=[1,2],performance:eu,raycaster:ec,camera:ep,onPointerMissed:eh}=_,em=F.getState(),eg=em.gl;em.gl||em.set({gl:eg=createRendererInstance(N,o)});let ev=em.raycaster;ev||em.set({raycaster:ev=new V.Raycaster});let{params:ey,...eb}=ec||{};if(ed.equ(eb,ev,eT)||eE(ev,{...eb}),ed.equ(ey,ev.params,eT)||eE(ev,{params:{...ev.params,...ey}}),!em.camera||em.camera===w&&!ed.equ(w,ep,eT)){w=ep;let o=ep instanceof V.Camera,S=o?ep:ea?new V.OrthographicCamera(0,0,0,0,.1,1e3):new V.PerspectiveCamera(75,0,.1,1e3);o||(S.position.z=5,ep&&(eE(S,ep),("aspect"in ep||"left"in ep||"right"in ep||"bottom"in ep||"top"in ep)&&(S.manual=!0,S.updateProjectionMatrix())),em.camera||null!=ep&&ep.rotation||S.lookAt(0,0,0)),em.set({camera:S}),ev.camera=S}if(!em.scene){let o;W instanceof V.Scene?o=W:(o=new V.Scene,W&&eE(o,W)),em.set({scene:prepare(o)})}if(!em.xr){let handleXRFrame=(o,S)=>{let w=F.getState();"never"!==w.frameloop&&ew(o,!0,w,S)},handleSessionChange=()=>{let o=F.getState();o.gl.xr.enabled=o.gl.xr.isPresenting,o.gl.xr.setAnimationLoop(o.gl.xr.isPresenting?handleXRFrame:null),o.gl.xr.isPresenting||ex(o)},o={connect(){let o=F.getState().gl;o.xr.addEventListener("sessionstart",handleSessionChange),o.xr.addEventListener("sessionend",handleSessionChange)},disconnect(){let o=F.getState().gl;o.xr.removeEventListener("sessionstart",handleSessionChange),o.xr.removeEventListener("sessionend",handleSessionChange)}};"function"==typeof(null==(E=eg.xr)?void 0:E.addEventListener)&&o.connect(),em.set({xr:o})}if(eg.shadowMap){let o=eg.shadowMap.enabled,S=eg.shadowMap.type;if(eg.shadowMap.enabled=!!et,ed.boo(et))eg.shadowMap.type=V.PCFSoftShadowMap;else if(ed.str(et)){let o={basic:V.BasicShadowMap,percentage:V.PCFShadowMap,soft:V.PCFSoftShadowMap,variance:V.VSMShadowMap};eg.shadowMap.type=null!=(D=o[et])?D:V.PCFSoftShadowMap}else ed.obj(et)&&Object.assign(eg.shadowMap,et);(o!==eg.shadowMap.enabled||S!==eg.shadowMap.type)&&(eg.shadowMap.needsUpdate=!0)}let eS=getColorManagement();eS&&("enabled"in eS?eS.enabled=!eo:"legacyMode"in eS&&(eS.legacyMode=eo)),q||eE(eg,{outputEncoding:en?3e3:3001,toneMapping:er?V.NoToneMapping:V.ACESFilmicToneMapping}),em.legacy!==eo&&em.set(()=>({legacy:eo})),em.linear!==en&&em.set(()=>({linear:en})),em.flat!==er&&em.set(()=>({flat:er})),!N||ed.fun(N)||isRenderer(N)||ed.equ(N,eg,eT)||eE(eg,N),Q&&!em.events.handlers&&em.set({events:Q(F)});let e_=function(o,S){let w="undefined"!=typeof HTMLCanvasElement&&o instanceof HTMLCanvasElement;if(S){let{width:o,height:_,top:E,left:D,updateStyle:N=w}=S;return{width:o,height:_,top:E,left:D,updateStyle:N}}if("undefined"!=typeof HTMLCanvasElement&&o instanceof HTMLCanvasElement&&o.parentElement){let{width:S,height:_,top:E,left:D}=o.parentElement.getBoundingClientRect();return{width:S,height:_,top:E,left:D,updateStyle:w}}return"undefined"!=typeof OffscreenCanvas&&o instanceof OffscreenCanvas?{width:o.width,height:o.height,top:0,left:0,updateStyle:w}:{width:0,height:0,top:0,left:0}}(o,U);return ed.equ(e_,em.size,eT)||em.setSize(e_.width,e_.height,e_.updateStyle,e_.top,e_.left),el&&em.viewport.dpr!==calculateDpr(el)&&em.setDpr(el),em.frameloop!==es&&em.setFrameloop(es),em.onPointerMissed||em.set({onPointerMissed:eh}),eu&&!ed.equ(eu,em.performance,eT)&&em.set(o=>({performance:{...o.performance,...eu}})),S=Y,q=!0,this},render(w){return q||this.configure(),e_.updateContainer((0,eo.jsx)(Provider,{store:F,children:w,onCreated:S,rootElement:o}),U,null,()=>void 0),F},unmount(){unmountComponentAtNode(o)}}}function Provider({store:o,children:S,onCreated:w,rootElement:_}){return el(()=>{let S=o.getState();S.set(o=>({internal:{...o.internal,active:!0}})),w&&w(S),o.getState().events.connected||null==S.events.connect||S.events.connect(_)},[]),(0,eo.jsx)(em.Provider,{value:o,children:S})}function unmountComponentAtNode(o,S){let w=eS.get(o),_=null==w?void 0:w.fiber;if(_){let E=null==w?void 0:w.store.getState();E&&(E.internal.active=!1),e_.updateContainer(null,_,null,()=>{E&&setTimeout(()=>{try{var w,_,D,N;null==E.events.disconnect||E.events.disconnect(),null==(w=E.gl)||null==(_=w.renderLists)||null==_.dispose||_.dispose(),null==(D=E.gl)||null==D.forceContextLoss||D.forceContextLoss(),null!=(N=E.gl)&&N.xr&&E.xr.disconnect(),function(o){for(let S in o.dispose&&"Scene"!==o.type&&o.dispose(),o)null==S.dispose||S.dispose(),delete o[S]}(E),eS.delete(o),S&&S(o)}catch(o){}},500)})}}e_.injectIntoDevTools({bundleType:0,rendererPackageName:"@react-three/fiber",version:U.version}),U.unstable_act},15029:function(o,S,w){"use strict";w.d(S,{Xz:function(){return ec}});var _,E,D=w(2466),N=w(67294),F=w(31700),V=w(20296),U=w.n(V);let W=["x","y","top","bottom","left","right","width","height"],areBoundsEqual=(o,S)=>W.every(w=>o[w]===S[w]);var q=Object.defineProperty,Q=Object.defineProperties,Y=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,__defNormalProp=(o,S,w)=>S in o?q(o,S,{enumerable:!0,configurable:!0,writable:!0,value:w}):o[S]=w,__spreadValues=(o,S)=>{for(var w in S||(S={}))en.call(S,w)&&__defNormalProp(o,w,S[w]);if(et)for(var w of et(S))er.call(S,w)&&__defNormalProp(o,w,S[w]);return o},__spreadProps=(o,S)=>Q(o,Y(S));function wrapContext(o){try{return Object.defineProperties(o,{_currentRenderer:{get:()=>null,set(){}},_currentRenderer2:{get:()=>null,set(){}}})}catch(S){return o}}"undefined"!=typeof window&&((null==(_=window.document)?void 0:_.createElement)||(null==(E=window.navigator)?void 0:E.product)==="ReactNative")?N.useLayoutEffect:N.useEffect;let eo=console.error;console.error=function(){let o=[...arguments].join("");if((null==o?void 0:o.startsWith("Warning:"))&&o.includes("useContext")){console.error=eo;return}return eo.apply(this,arguments)};let ea=wrapContext(N.createContext(null));let FiberProvider=class FiberProvider extends N.Component{render(){return N.createElement(ea.Provider,{value:this._reactInternals},this.props.children)}};var es=w(85893);w(32576),w(76525),w(63840);
1let el={onClick:["click",!1],onContextMenu:["contextmenu",!1],onDoubleClick:["dblclick",!1],onWheel:["wheel",!0],onPointerDown:["pointerdown",!0],onPointerUp:["pointerup",!0],onPointerLeave:["pointerleave",!0],onPointerMove:["pointermove",!0],onPointerCancel:["pointercancel",!0],onLostPointerCapture:["lostpointercapture",!0]};function createPointerEvents(o){let{handlePointer:S}=(0,D.c)(o);return{priority:1,enabled:!0,compute(o,S,w){S.pointer.set(o.offsetX/S.size.width*2-1,-(2*(o.offsetY/S.size.height))+1),S.raycaster.setFromCamera(S.pointer,S.camera)},connected:void 0,handlers:Object.keys(el).reduce((o,w)=>({...o,[w]:S(w)}),{}),update:()=>{var S;let{events:w,internal:_}=o.getState();null!=(S=_.lastEvent)&&S.current&&w.handlers&&w.handlers.onPointerMove(_.lastEvent.current)},connect:S=>{var w;let{set:_,events:E}=o.getState();null==E.disconnect||E.disconnect(),_(o=>({events:{...o.events,connected:S}})),Object.entries(null!=(w=E.handlers)?w:[]).forEach(([o,w])=>{let[_,E]=el[o];S.addEventListener(_,w,{passive:E})})},disconnect:()=>{let{set:S,events:w}=o.getState();if(w.connected){var _;
1Object.entries(null!=(_=w.handlers)?_:[]).forEach(([o,S])=>{if(w&&w.connected instanceof HTMLElement){let[_]=el[o];w.connected.removeEventListener(_,S)}}),S(o=>({events:{...o.events,connected:void 0}}))}}}}let eu=N.forwardRef(function({children:o,fallback:S,resize:w,style:_,gl:E,events:V=createPointerEvents,eventSource:W,eventPrefix:q,shadows:Q,linear:Y,flat:et,legacy:en,orthographic:er,frameloop:eo,dpr:el,performance:eu,raycaster:ec,camera:ed,scene:ep,onPointerMissed:eh,onCreated:em,...eg},ev){N.useMemo(()=>(0,D.e)(F),[]);let ey=function(){let o=function(){let o=function(){let o=N.useContext(ea);if(null===o)throw Error("its-fine: useFiber must be called within a <FiberProvider />!");let S=N.useId(),w=N.useMemo(()=>{for(let w of[o,null==o?void 0:o.alternate]){if(!w)continue;let o=function traverseFiber(o,S,w){if(!o)return;if(!0===w(o))return o;let _=S?o.return:o.child;for(;_;){let o=traverseFiber(_,S,w);if(o)return o;_=S?null:_.sibling}}(w,!1,o=>{let w=o.memoizedState;for(;w;){if(w.memoizedState===S)return!0;w=w.next}});if(o)return o}},[o,S]);return w}(),[S]=N.useState(()=>new Map);S.clear();let w=o;for(;w;){if(w.type&&"object"==typeof w.type){let o=void 0===w.type._context&&w.type.Provider===w.type,_=o?w.type:w.type._context;_&&_!==ea&&!S.has(_)&&S.set(_,N.useContext(wrapContext(_)))}w=w.return}return S}();return N.useMemo(()=>Array.from(o.keys()).reduce((S,w)=>_=>N.createElement(S,null,N.createElement(w.Provider,__spreadProps(__spreadValues({},_),{value:o.get(w)}))),o=>N.createElement(FiberProvider,__spreadValues({},o))),[o])}(),[eb,eS]=function(o){var S;let{debounce:w,scroll:_,polyfill:E,offsetSize:D}=void 0===o?{debounce:0,scroll:!1,offsetSize:!1}:o,F=E||("undefined"==typeof window?class{}:window.ResizeObserver);if(!F)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[V,W]=(0,N.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),q=(0,N.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:V}),Q=w?"number"==typeof w?w:w.scroll:null,Y=w?"number"==typeof w?w:w.resize:null,et=(0,N.useRef)(!1);(0,N.useEffect)(()=>(et.current=!0,()=>void(et.current=!1)));let[en,er,eo]=(0,N.useMemo)(()=>{let callback=()=>{if(!q.current.element)return;let{left:o,top:S,width:w,height:_,bottom:E,right:N,x:F,y:V}=q.current.element.getBoundingClientRect(),U={left:o,top:S,width:w,height:_,bottom:E,right:N,x:F,y:V};q.current.element instanceof HTMLElement&&D&&(U.height=q.current.element.offsetHeight,U.width=q.current.element.offsetWidth),Object.freeze(U),et.current&&!areBoundsEqual(q.current.lastBounds,U)&&W(q.current.lastBounds=U)};return[callback,Y?U()(callback,Y):callback,Q?U()(callback,Q):callback]},[W,D,Q,Y]);function removeListeners(){q.current.scrollContainers&&(q.current.scrollContainers.forEach(o=>o.removeEventListener("scroll",eo,!0)),q.current.scrollContainers=null),q.current.resizeObserver&&(q.current.resizeObserver.disconnect(),q.current.resizeObserver=null)}function addListeners(){q.current.element&&(q.current.resizeObserver=new F(eo),q.current.resizeObserver.observe(q.current.element),_&&q.current.scrollContainers&&q.current.scrollContainers.forEach(o=>o.addEventListener("scroll",eo,{capture:!0,passive:!0})))}return S=!!_,(0,N.useEffect)(()=>{if(S)return window.addEventListener("scroll",eo,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",eo,!0)},[eo,S]),(0,N.useEffect)(()=>(window.addEventListener("resize",er),()=>void window.removeEventListener("resize",er)),[er]),(0,N.useEffect)(()=>{removeListeners(),addListeners()},[_,eo,er]),(0,N.useEffect)(()=>removeListeners,[]),[o=>{o&&o!==q.current.element&&(removeListeners(),q.current.element=o,q.current.scrollContainers=function findScrollContainers(o){let S=[];if(!o||o===document.body)return S;let{overflow:w,overflowX:_,overflowY:E}=window.getComputedStyle(o);return[w,_,E].some(o=>"auto"===o||"scroll"===o)&&S.push(o),[...S,...findScrollContainers(o.parentElement)]}(o),addListeners())},V,en]}({scroll:!0,debounce:{scroll:50,resize:0},...w}),ex=N.useRef(null),ew=N.useRef(null);N.useImperativeHandle(ev,()=>ex.current);let e_=(0,D.u)(eh),[eE,eT]=N.useState(!1),[eP,eC]=N.useState(!1);if(eE)throw eE;if(eP)throw eP;let ek=N.useRef(null);(0,D.a)(()=>{let S=ex.current;eS.width>0&&eS.height>0&&S&&(ek.current||(ek.current=(0,D.b)(S)),ek.current.configure({gl:E,events:V,shadows:Q,linear:Y,flat:et,legacy:en,orthographic:er,frameloop:eo,dpr:el,performance:eu,raycaster:ec,camera:ed,scene:ep,size:eS,onPointerMissed:(...o)=>null==e_.current?void 0:e_.current(...o),onCreated:o=>{null==o.events.connect||o.events.connect(W?(0,D.i)(W)?W.current:W:ew.current),q&&o.setEvents({compute:(o,S)=>{let w=o[q+"X"],_=o[q+"Y"];S.pointer.set(w/S.size.width*2-1,-(2*(_/S.size.height))+1),S.raycaster.setFromCamera(S.pointer,S.camera)}}),null==em||em(o)}}),ek.current.render((0,es.jsx)(ey,{children:(0,es.jsx)(D.E,{set:eC,children:(0,es.jsx)(N.Suspense,{fallback:(0,es.jsx)(D.B,{set:eT}),children:o})})})))}),N.useEffect(()=>{let o=ex.current;if(o)return()=>(0,D.d)(o)},[]);let eO=W?"none":"auto";return(0,es.jsx)("div",{ref:ew,style:{position:"relative",width:"100%",height:"100%",overflow:"hidden",pointerEvents:eO,..._},...eg,children:(0,es.jsx)("div",{ref:eb,style:{width:"100%",height:"100%"},children:(0,es.jsx)("canvas",{ref:ex,style:{display:"block"},children:S})})})}),ec=N.forwardRef(function(o,S){return(0,es.jsx)(FiberProvider,{children:(0,es.jsx)(eu,{...o,ref:S})})})},32092:function(o,S,w){"use strict";w.d(S,{Z:function(){return useCallbackRef}});var _=w(67294);function useCallbackRef(){return(0,_.useState)(null)}},92029:function(o,S,w){"use strict";var _=w(67294);S.Z=function(o){var S=(0,_.useRef)(o);return(0,_.useEffect)(function(){S.current=o},[o]),S}},78146:function(o,S,w){"use strict";w.d(S,{Z:function(){return useEventCallback}});var _=w(67294),E=w(92029);function useEventCallback(o){var S=(0,E.Z)(o);return(0,_.useCallback)(function(){return S.current&&S.current.apply(S,arguments)},[S])}},55111:function(o,S,w){"use strict";w.d(S,{Z:function(){return useEventListener}});var _=w(67294),E=w(78146);function useEventListener(o,S,w,D){void 0===D&&(D=!1);var N=(0,E.Z)(w);(0,_.useEffect)(function(){var w="function"==typeof o?o():o;return w.addEventListener(S,N,D),function(){return w.removeEventListener(S,N,D)}},[o])}},14357:function(o,S,w){"use strict";w.d(S,{Z:function(){return useForceUpdate}});var _=w(67294);function useForceUpdate(){return(0,_.useReducer)(function(o){return!o},!1)[1]}},99585:function(o,S,w){"use strict";
1var _=w(67294),E=void 0!==w.g&&w.g.navigator&&"ReactNative"===w.g.navigator.product,D="undefined"!=typeof document;S.Z=D||E?_.useLayoutEffect:_.useEffect},35654:function(o,S,w){"use strict";var _=w(67294),toFnRef=function(o){return o&&"function"!=typeof o?function(S){o.current=S}:o};S.Z=function(o,S){return(0,_.useMemo)(function(){var w,_;return w=toFnRef(o),_=toFnRef(S),function(o){w&&w(o),_&&_(o)}},[o,S])}},6454:function(o,S,w){"use strict";w.d(S,{Z:function(){return useMounted}});var _=w(67294);function useMounted(){var o=(0,_.useRef)(!0),S=(0,_.useRef)(function(){return o.current});return(0,_.useEffect)(function(){return o.current=!0,function(){o.current=!1}},[]),S.current}},88833:function(o,S,w){"use strict";w.d(S,{Z:function(){return usePrevious}});var _=w(67294);function usePrevious(o){var S=(0,_.useRef)(null);return(0,_.useEffect)(function(){S.current=o}),S.current}},76852:function(o,S,w){"use strict";w.d(S,{Z:function(){return useWillUnmount}});var _=w(67294);function useWillUnmount(o){var S,w=((S=(0,_.useRef)(o)).current=o,S);(0,_.useEffect)(function(){return function(){return w.current()}},[])}},13551:function(o,S,w){"use strict";w.d(S,{Z:function(){return U}});var _=w(67294);w(32092),w(92029);var E=w(78146);w(55111),w(6454),w(88833),w(99585),new WeakMap;var D=w(70861),N=w(85893);let F=["onKeyDown"],V=_.forwardRef((o,S)=>{var w;let{onKeyDown:_}=o,V=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,F),[U]=(0,D.FT)(Object.assign({tagName:"a"},V)),W=(0,E.Z)(o=>{U.onKeyDown(o),null==_||_(o)});return(w=V.href)&&"#"!==w.trim()&&"button"!==V.role?(0,N.jsx)("a",Object.assign({ref:S},V,{onKeyDown:_})):(0,N.jsx)("a",Object.assign({ref:S},V,U,{onKeyDown:W}))});V.displayName="Anchor";var U=V},70861:function(o,S,w){"use strict";w.d(S,{FT:function(){return useButtonProps}});var _=w(67294),E=w(85893);let D=["as","disabled"];function useButtonProps({tagName:o,disabled:S,href:w,target:_,rel:E,role:D,onClick:N,tabIndex:F=0,type:V}){o||(o=null!=w||null!=_||null!=E?"a":"button");let U={tagName:o};if("button"===o)return[{type:V||"button",disabled:S},U];let handleClick=_=>{var E;if(!S&&("a"!==o||(E=w)&&"#"!==E.trim())||_.preventDefault(),S){_.stopPropagation();return}null==N||N(_)};return"a"===o&&(w||(w="#"),S&&(w=void 0)),[{role:null!=D?D:"button",disabled:void 0,tabIndex:S?void 0:F,href:w,target:"a"===o?_:void 0,"aria-disabled":S||void 0,rel:"a"===o?E:void 0,onClick:handleClick,onKeyDown:o=>{" "===o.key&&(o.preventDefault(),handleClick(o))}},U]}let N=_.forwardRef((o,S)=>{let{as:w,disabled:_}=o,N=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,D),[F,{tagName:V}]=useButtonProps(Object.assign({tagName:w,disabled:_},N));return(0,E.jsx)(V,Object.assign({},N,F,{ref:S}))});N.displayName="Button",S.ZP=N},52747:function(o,S,w){"use strict";function dataAttr(o){return`data-rr-ui-${o}`}function dataProp(o){return`rrUi${o}`}w.d(S,{$F:function(){return dataProp},PB:function(){return dataAttr}})},81970:function(o,S,w){"use strict";let _;w.d(S,{Z:function(){return eu}});var E=w(67216);function activeElement(o){void 0===o&&(o=(0,E.Z)());try{var S=o.activeElement;if(!S||!S.nodeName)return null;return S}catch(S){return o.body}}var D=w(90424),N=w(23004),F=w(72950),V=w(67294),U=w(73935),W=w(6454),q=w(76852),Q=w(88833),Y=w(78146),et=w(88083),en=w(12963);let resolveContainerRef=(o,S)=>N.Z?null==o?(S||(0,E.Z)()).body:("function"==typeof o&&(o=o()),o&&"current"in o&&(o=o.current),o&&("nodeType"in o||o.getBoundingClientRect))?o:null:null;var er=w(35654),eo=w(99585),esm_NoopTransition=function({children:o,in:S,onExited:w,mountOnEnter:_,unmountOnExit:E}){let D=(0,V.useRef)(null),N=(0,V.useRef)(S),F=(0,Y.Z)(w);(0,V.useEffect)(()=>{S?N.current=!0:F(D.current)},[S,F]);let U=(0,er.Z)(D,o.ref),W=(0,V.cloneElement)(o,{ref:U});return S?W:E||!N.current&&_?null:W},ea=w(85893);function ImperativeTransition({children:o,in:S,onExited:w,onEntered:_,transition:E}){let[D,N]=(0,V.useState)(!S);S&&D&&N(!1);let F=function({in:o,onTransition:S}
1){let w=(0,V.useRef)(null),_=(0,V.useRef)(!0),E=(0,Y.Z)(S);return(0,eo.Z)(()=>{if(!w.current)return;let S=!1;return E({in:o,element:w.current,initial:_.current,isStale:()=>S}),()=>{S=!0}},[o,E]),(0,eo.Z)(()=>(_.current=!1,()=>{_.current=!0}),[]),w}({in:!!S,onTransition:o=>{Promise.resolve(E(o)).then(()=>{o.isStale()||(o.in?null==_||_(o.element,o.initial):(N(!0),null==w||w(o.element)))},S=>{throw o.in||N(!0),S})}}),U=(0,er.Z)(F,o.ref);return D&&!S?null:(0,V.cloneElement)(o,{ref:U})}function renderTransition(o,S,w){return o?(0,ea.jsx)(o,Object.assign({},w)):S?(0,ea.jsx)(ImperativeTransition,Object.assign({},w,{transition:S})):(0,ea.jsx)(esm_NoopTransition,Object.assign({},w))}let es=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"],el=(0,V.forwardRef)((o,S)=>{let{show:w=!1,role:E="dialog",className:er,style:eo,children:el,backdrop:eu=!0,keyboard:ec=!0,onBackdropClick:ed,onEscapeKeyDown:ep,transition:eh,runTransition:em,backdropTransition:eg,runBackdropTransition:ev,autoFocus:ey=!0,enforceFocus:eb=!0,restoreFocus:eS=!0,restoreFocusOptions:ex,renderDialog:ew,renderBackdrop:e_=o=>(0,ea.jsx)("div",Object.assign({},o)),manager:eE,container:eT,onShow:eP,onHide:eC=()=>{},onExit:ek,onExited:eO,onExiting:eR,onEnter:eA,onEntering:eM,onEntered:ej}=o,eL=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,es),eI=function(o,S){let w=(0,en.Z)(),[_,E]=(0,V.useState)(()=>resolveContainerRef(o,null==w?void 0:w.document));if(!_){let S=resolveContainerRef(o);S&&E(S)}return(0,V.useEffect)(()=>{S&&_&&S(_)},[S,_]),(0,V.useEffect)(()=>{let S=resolveContainerRef(o);S!==_&&E(S)},[o,_]),_}(eT),eD=function(o){let S=(0,en.Z)(),w=o||(_||(_=new et.Z({ownerDocument:null==S?void 0:S.document})),_),E=(0,V.useRef)({dialog:null,backdrop:null});return Object.assign(E.current,{add:()=>w.add(E.current),remove:()=>w.remove(E.current),isTopModal:()=>w.isTopModal(E.current),setDialogRef:(0,V.useCallback)(o=>{E.current.dialog=o},[]),setBackdropRef:(0,V.useCallback)(o=>{E.current.backdrop=o},[])})}(eE),eN=(0,W.Z)(),eF=(0,Q.Z)(w),[eV,ez]=(0,V.useState)(!w),eB=(0,V.useRef)(null);(0,V.useImperativeHandle)(S,()=>eD,[eD]),N.Z&&!eF&&w&&(eB.current=activeElement()),w&&eV&&ez(!1);let eU=(0,Y.Z)(()=>{if(eD.add(),eq.current=(0,F.Z)(document,"keydown",eZ),eG.current=(0,F.Z)(document,"focus",()=>setTimeout(e$),!0),eP&&eP(),ey){let o=activeElement(document);eD.dialog&&o&&!(0,D.Z)(eD.dialog,o)&&(eB.current=o,eD.dialog.focus())}}),eH=(0,Y.Z)(()=>{if(eD.remove(),null==eq.current||eq.current(),null==eG.current||eG.current(),eS){var o;null==(o=eB.current)||null==o.focus||o.focus(ex),eB.current=null}});(0,V.useEffect)(()=>{w&&eI&&eU()},[w,eI,eU]),(0,V.useEffect)(()=>{eV&&eH()},[eV,eH]),(0,q.Z)(()=>{eH()});let e$=(0,Y.Z)(()=>{if(!eb||!eN()||!eD.isTopModal())return;let o=activeElement();eD.dialog&&o&&!(0,D.Z)(eD.dialog,o)&&eD.dialog.focus()}),eW=(0,Y.Z)(o=>{o.target===o.currentTarget&&(null==ed||ed(o),!0===eu&&eC())}),eZ=(0,Y.Z)(o=>{ec&&("Escape"===o.code||27===o.keyCode)&&eD.isTopModal()&&(null==ep||ep(o),o.defaultPrevented||eC())}),eG=(0,V.useRef)(),eq=(0,V.useRef)();if(!eI)return null;let eK=Object.assign({role:E,ref:eD.setDialogRef,"aria-modal":"dialog"===E||void 0},eL,{style:eo,className:er,tabIndex:-1}),eX=ew?ew(eK):(0,ea.jsx)("div",Object.assign({},eK,{children:V.cloneElement(el,{role:"document"})}));eX=renderTransition(eh,em,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!w,onExit:ek,onExiting:eR,onExited:(...o)=>{ez(!0),null==eO||eO(...o)},onEnter:eA,onEntering:eM,onEntered:ej,children:eX});let eQ=null;return eu&&(eQ=renderTransition(eg,ev,{in:!!w,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:eQ=e_({ref:eD.setBackdropRef,onClick:eW})})),(0,ea.jsx)(ea.Fragment,{children:U.createPortal((0,ea.jsxs)(ea.Fragment,{children:[eQ,eX]}),eI)})});el.displayName="Modal";var eu=Object.assign(el,{Manager:et.Z})},88083:function(o,S,w){"use strict";w.d(S,{Z:function(){return N}});var _=w(91505),E=w(52747);let D=(0,E.PB)("modal-open");var N=class{constructor({ownerDocument:o,handleContainerOverflow:S=!0,isRTL:w=!1}={}){this.handleContainerOverflow=S,this.isRTL=w,this.modals=[],this.ownerDocument=o}getScrollbarWidth(){return function(o=document){let S=o.defaultView;return Math.abs(S.innerWidth-o.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(o){}removeModalAttributes(o){}setContainerStyle(o){let S={overflow:"hidden"},w=this.isRTL?"paddingLeft":"paddingRight",E=this.getElement();o.style={overflow:E.style.overflow,[w]:E.style[w]},o.scrollBarWidth&&(S[w]=`${parseInt((0,_.Z)(E,w)||"0",10)+o.scrollBarWidth}px`),E.setAttribute(D,""),(0,_.Z)(E,S)}
1reset(){[...this.modals].forEach(o=>this.remove(o))}removeContainerStyle(o){let S=this.getElement();S.removeAttribute(D),Object.assign(S.style,o.style)}add(o){let S=this.modals.indexOf(o);return -1!==S||(S=this.modals.length,this.modals.push(o),this.setModalAttributes(o),0!==S||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),S}remove(o){let S=this.modals.indexOf(o);-1!==S&&(this.modals.splice(S,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(o))}isTopModal(o){return!!this.modals.length&&this.modals[this.modals.length-1]===o}}},86056:function(o,S,w){"use strict";var _=w(67294);let E=_.createContext(null);E.displayName="NavContext",S.Z=E},73716:function(o,S,w){"use strict";w.d(S,{v:function(){return useNavItem}});var _=w(67294),E=w(78146),D=w(86056),N=w(87126),F=w(70861),V=w(52747),U=w(76626),W=w(85893);let q=["as","active","eventKey"];function useNavItem({key:o,onClick:S,active:w,id:F,role:W,disabled:q}){let Q=(0,_.useContext)(N.Z),Y=(0,_.useContext)(D.Z),et=(0,_.useContext)(U.Z),en=w,er={role:W};if(Y){W||"tablist"!==Y.role||(er.role="tab");let S=Y.getControllerId(null!=o?o:null),_=Y.getControlledId(null!=o?o:null);er[(0,V.PB)("event-key")]=o,er.id=S||F,((en=null==w&&null!=o?Y.activeKey===o:w)||!(null!=et&&et.unmountOnExit)&&!(null!=et&&et.mountOnEnter))&&(er["aria-controls"]=_)}return"tab"===er.role&&(er["aria-selected"]=en,en||(er.tabIndex=-1),q&&(er.tabIndex=-1,er["aria-disabled"]=!0)),er.onClick=(0,E.Z)(w=>{q||(null==S||S(w),null!=o&&Q&&!w.isPropagationStopped()&&Q(o,w))}),[er,{isActive:en}]}let Q=_.forwardRef((o,S)=>{let{as:w=F.ZP,active:_,eventKey:E}=o,D=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,q),[U,Q]=useNavItem(Object.assign({key:(0,N.h)(E,D.href),active:_},D));return U[(0,V.PB)("active")]=Q.isActive,(0,W.jsx)(w,Object.assign({},D,U,{ref:S}))});Q.displayName="NavItem",S.Z=Q},87126:function(o,S,w){"use strict";w.d(S,{h:function(){return makeEventKey}});var _=w(67294);let E=_.createContext(null),makeEventKey=(o,S=null)=>null!=o?String(o):S||null;S.Z=E},76626:function(o,S,w){"use strict";var _=w(67294);let E=_.createContext(null);S.Z=E},12963:function(o,S,w){"use strict";w.d(S,{Z:function(){return useWindow}});var _=w(67294),E=w(23004);let D=(0,_.createContext)(E.Z?window:void 0);function useWindow(){return(0,_.useContext)(D)}D.Provider},94184:function(o,S){var w;/*! 2 Copyright (c) 2018 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/!function(){"use strict";var _={}.hasOwnProperty;function classNames(){for(var o=[],S=0;S<arguments.length;S++){var w=arguments[S];if(w){var E=typeof w;if("string"===E||"number"===E)o.push(w);else if(Array.isArray(w)){if(w.length){var D=classNames.apply(null,w);D&&o.push(D)}}else if("object"===E){if(w.toString===Object.prototype.toString)for(var N in w)_.call(w,N)&&w[N]&&o.push(N);else o.push(w.toString())}}}return o.join(" ")}o.exports?(classNames.default=classNames,o.exports=classNames):void 0!==(w=(function(){return classNames}).apply(S,[]))&&(o.exports=w)}()},20296:function(o){function debounce(o,S,w){function later(){var V=Date.now()-N;V<S&&V>=0?_=setTimeout(later,S-V):(_=null,w||(F=o.apply(D,E),D=E=null))}null==S&&(S=100);var _,E,D,N,F,debounced=function(){D=this,E=arguments,N=Date.now();var V=w&&!_;return _||(_=setTimeout(later,S)),V&&(F=o.apply(D,E),D=E=null),F};return debounced.clear=function(){_&&(clearTimeout(_),_=null)},debounced.flush=function(){_&&(F=o.apply(D,E),D=E=null,clearTimeout(_),_=null)},debounced}debounce.debounce=debounce,o.exports=debounce},9351:function(o,S,w){"use strict";var _=w(23004),E=!1,D=!1;try{var N={get passive(){return E=!0},get once(){return D=E=!0}};_.Z&&(window.addEventListener("test",N,N),window.removeEventListener("test",N,!0))}catch(o){}S.ZP=function(o,S,w,_){if(_&&"boolean"!=typeof _&&!D){var N=_.once,F=_.capture,V=w;!D&&N&&(V=w.__once||function onceHandler(o){this.removeEventListener(S,onceHandler,F),w.call(this,o)},w.__once=V),o.addEventListener(S,V,E?_:F)}o.addEventListener(S,w,_)}},23004:function(o,S){"use strict";S.Z=!!("undefined"!=typeof window&&window.document&&window.document.createElement)},90424:function(o,S,w){"use strict";function contains(o,S){return o.contains?o.contains(S):o.compareDocumentPosition?o===S||!!(16&o.compareDocumentPosition(S)):void 0}w.d(S,{Z:function(){return contains}})},91505:function(o,S,w){"use strict";w.d(S,{Z:function(){return css}});var _=w(67216),E=/([A-Z])/g,D=/^ms-/;
5function hyphenateStyleName(o){return o.replace(E,"-$1").toLowerCase().replace(D,"-ms-")}var N=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,css=function(o,S){var w,E="",D="";if("string"==typeof S)return o.style.getPropertyValue(hyphenateStyleName(S))||((w=(0,_.Z)(o))&&w.defaultView||window).getComputedStyle(o,void 0).getPropertyValue(hyphenateStyleName(S));Object.keys(S).forEach(function(w){var _=S[w];_||0===_?w&&N.test(w)?D+=w+"("+_+") ":E+=hyphenateStyleName(w)+": "+_+";":o.style.removeProperty(hyphenateStyleName(w))}),D&&(E+="transform: "+D+";"),o.style.cssText+=";"+E}},72950:function(o,S,w){"use strict";var _=w(9351),E=w(30099);S.Z=function(o,S,w,D){return(0,_.ZP)(o,S,w,D),function(){(0,E.Z)(o,S,w,D)}}},67216:function(o,S,w){"use strict";function ownerDocument(o){return o&&o.ownerDocument||document}w.d(S,{Z:function(){return ownerDocument}})},60930:function(o,S,w){"use strict";w.d(S,{Z:function(){return qsa}});var _=Function.prototype.bind.call(Function.prototype.call,[].slice);function qsa(o,S){return _(o.querySelectorAll(S))}},30099:function(o,S){"use strict";S.Z=function(o,S,w,_){var E=_&&"boolean"!=typeof _?_.capture:_;o.removeEventListener(S,w,E),w.__once&&o.removeEventListener(S,w.__once,E)}},94305:function(o,S,w){"use strict";w.d(S,{Z:function(){return transitionEnd}});var _=w(91505),E=w(72950);function transitionEnd(o,S,w,D){null==w&&(F=-1===(N=(0,_.Z)(o,"transitionDuration")||"").indexOf("ms")?1e3:1,w=parseFloat(N)*F||0);var N,F,V,U,W,q,Q,Y=(V=w,void 0===(U=D)&&(U=5),W=!1,q=setTimeout(function(){W||function(o,S,w,_){if(void 0===w&&(w=!1),void 0===_&&(_=!0),o){var E=document.createEvent("HTMLEvents");E.initEvent(S,w,_),o.dispatchEvent(E)}}(o,"transitionend",!0)},V+U),Q=(0,E.Z)(o,"transitionend",function(){W=!0},{once:!0}),function(){clearTimeout(q),Q()}),et=(0,E.Z)(o,"transitionend",S);return function(){Y(),et()}}}
5,62988:function(o,S,w){var _=w(61755),E=w(26665).each;function MediaQuery(o,S){this.query=o,this.isUnconditional=S,this.handlers=[],this.mql=window.matchMedia(o);var w=this;this.listener=function(o){w.mql=o.currentTarget||o,w.assess()},this.mql.addListener(this.listener)}MediaQuery.prototype={constuctor:MediaQuery,addHandler:function(o){var S=new _(o);this.handlers.push(S),this.matches()&&S.on()},removeHandler:function(o){var S=this.handlers;E(S,function(w,_){if(w.equals(o))return w.destroy(),!S.splice(_,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){E(this.handlers,function(o){o.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var o=this.matches()?"on":"off";E(this.handlers,function(S){S[o]()})}},o.exports=MediaQuery},38177:function(o,S,w){var _=w(62988),E=w(26665),D=E.each,N=E.isFunction,F=E.isArray;function MediaQueryDispatch(){if(!window.matchMedia)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}MediaQueryDispatch.prototype={constructor:MediaQueryDispatch,register:function(o,S,w){var E=this.queries,V=w&&this.browserIsIncapable;return E[o]||(E[o]=new _(o,V)),N(S)&&(S={match:S}),F(S)||(S=[S]),D(S,function(S){N(S)&&(S={match:S}),E[o].addHandler(S)}),this},unregister:function(o,S){var w=this.queries[o];return w&&(S?w.removeHandler(S):(w.clear(),delete this.queries[o])),this}},o.exports=MediaQueryDispatch},61755:function(o){function QueryHandler(o){this.options=o,o.deferSetup||this.setup()}QueryHandler.prototype={constructor:QueryHandler,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(o){return this.options===o||this.options.match===o}},o.exports=QueryHandler},26665:function(o){o.exports={isFunction:function(o){return"function"==typeof o},isArray:function(o){return"[object Array]"===Object.prototype.toString.apply(o)},each:function(o,S){for(var w=0,_=o.length;w<_&&!1!==S(o[w],w);w++);}}},24974:function(o,S,w){var _=w(38177);o.exports=new _},56893:function(o,S,w){"use strict";w.d(S,{o:function(){return Pivot}});var _=w(67294);let Burger=({color:o="currentColor",direction:S="left",distance:w="md",duration:E=.4,easing:D="cubic-bezier(0, 0, 0, 1)",hideOutline:N=!0,label:F,lines:V=3,onToggle:U,render:W,rounded:q=!1,size:Q=32,toggle:Y,toggled:et})=>{let[en,er]=(0,_.useState)(!1),eo=Math.max(12,Math.min(48,Q)),ea=Math.round((48-eo)/2),es=eo/12,el=Math.round(es),eu=eo/(V*(("lg"===w?.25:"sm"===w?.75:.5)+(3===V?1:1.25))),ec=Math.round(eu),ed=el*V+ec*(V-1),ep=(es-el+(eu-ec))/(3===V?1:2),eh=parseFloat((eo/(3===V?"lg"===w?4.0425:"sm"===w?5.1625:4.6325:"lg"===w?6.7875:"sm"===w?8.4875:7.6675)-ep/(4/3)).toFixed(2)),em=Math.max(0,E),eg={cursor:"pointer",height:"48px",position:"relative",transition:`${em}s ${D}`,userSelect:"none",width:"48px"},ev={background:o,height:`${el}px`,left:`${ea}px`,position:"absolute"};N&&(eg.outline="none"),q&&(ev.borderRadius="9em");let ey=Y||er,eb=void 0!==et?et:en;return W({barHeight:el,barStyles:ev,burgerStyles:eg,easing:D,handler:()=>{ey(!eb),"function"==typeof U&&U(!eb)},isLeft:"left"===S,isToggled:eb,label:F,margin:ec,move:eh,time:em,topOffset:Math.round((48-ed)/2),width:eo})};function _extends(){return(_extends=Object.assign||function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)Object.prototype.hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}).apply(this,arguments)}let Pivot=o=>_.createElement(Burger,_extends({},o,{lines:2,render:o=>_.createElement("div",{className:"hamburger-react","aria-label":o.label,onClick:o.handler,onKeyUp:S=>"Enter"===S.key&&o.handler(),role:"button",style:{...o.burgerStyles,transform:`${o.isToggled?`rotate(${90*(o.isLeft?-1:1)}deg)`:"none"}`},tabIndex:0},_.createElement("div",{style:{transition:`${o.time/2}s ${o.easing} ${o.isToggled?"0s":`${o.time/2}s`}`,transform:`${o.isToggled?`translateY(${o.barHeight/2+o.margin/2}px)`:"none"}`}},_.createElement("div",{style:{...o.barStyles,width:`${o.width}px`,top:`${o.topOffset}px`,transition:`${o.time/2}s ${o.easing} ${o.isToggled?`${o.time/2}s`:"0s"}`,transform:`${o.isToggled?`rotate(${45*(o.isLeft?1:-1)}deg)`:"none"}`}})),_.createElement("div",{style:{transition:`${o.time/2}s ${o.easing} ${o.isToggled?"0s":`${o.time/2}s`}`,transform:`${o.isToggled?`translateY(-${o.barHeight/2+o.margin/2}px)`:"none"}`}},_.createElement("div",{style:{...o.barStyles,width:`${o.width}px`,top:`${o.topOffset+o.barHeight+o.margin}px`,transition:`${o.time/2}s ${o.easing} ${o.isToggled?`${o.time/2}s`:"0s"}`,transform:`${o.isToggled?`rotate(${45*(o.isLeft?-1:1)}deg)`:"none"}`}})))}))},41143:function(o){"use strict";o.exports=function(o,S,w,_,E,D,N,F){if(!o){var V;if(void 0===S)V=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var U=[w,_,E,D,N,F],W=0;(V=Error(S.replace(/%s/g,function(){return U[W++]}))).name="Invariant Violation"}throw V.framesToPop=1,V}}},80973:function(o,S,w){var _=w(71169),obj2mq=function(o){var S="",w=Object.keys(o);
5return w.forEach(function(E,D){var N,F=o[E];N=E=_(E),/[height|width]$/.test(N)&&"number"==typeof F&&(F+="px"),!0===F?S+=E:!1===F?S+="not "+E:S+="("+E+": "+F+")",D<w.length-1&&(S+=" and ")}),S};o.exports=function(o){var S="";return"string"==typeof o?o:o instanceof Array?(o.forEach(function(w,_){S+=obj2mq(w),_<o.length-1&&(S+=", ")}),S):obj2mq(o)}},70365:function(o,S,w){var _=w(81445)("jsonp");o.exports=function(o,S,w){"function"==typeof S&&(w=S,S={}),S||(S={});var D,N,F=S.prefix||"__jp",V=S.name||F+E++,U=S.param||"callback",W=null!=S.timeout?S.timeout:6e4,q=encodeURIComponent,Q=document.getElementsByTagName("script")[0]||document.head;function cleanup(){D.parentNode&&D.parentNode.removeChild(D),window[V]=noop,N&&clearTimeout(N)}return W&&(N=setTimeout(function(){cleanup(),w&&w(Error("Timeout"))},W)),window[V]=function(o){_("jsonp got",o),cleanup(),w&&w(null,o)},o+=(~o.indexOf("?")?"&":"?")+U+"="+q(V),_('jsonp req "%s"',o=o.replace("?&","?")),(D=document.createElement("script")).src=o,Q.parentNode.insertBefore(D,Q),function(){window[V]&&cleanup()}};var E=0;function noop(){}},81445:function(o,S,w){var _=w(34155);function load(){var o;try{o=S.storage.debug}catch(o){}return!o&&void 0!==_&&"env"in _&&(o=_.env.DEBUG),o}(S=o.exports=w(84805)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},S.formatArgs=function(o){var w=this.useColors;if(o[0]=(w?"%c":"")+this.namespace+(w?" %c":" ")+o[0]+(w?"%c ":" ")+"+"+S.humanize(this.diff),w){var _="color: "+this.color;o.splice(1,0,_,"color: inherit");var E=0,D=0;o[0].replace(/%[a-zA-Z%]/g,function(o){"%%"!==o&&(E++,"%c"===o&&(D=E))}),o.splice(D,0,_)}},S.save=function(o){try{null==o?S.storage.removeItem("debug"):S.storage.debug=o}catch(o){}},S.load=load,S.useColors=function(){return"undefined"!=typeof window&&!!window.process&&"renderer"===window.process.type||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},S.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(o){}}(),S.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],S.formatters.j=function(o){try{return JSON.stringify(o)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}},S.enable(load())},84805:function(o,S,w){var _;function createDebug(o){function debug(){if(debug.enabled){var o=+new Date,w=o-(_||o);debug.diff=w,debug.prev=_,debug.curr=o,_=o;for(var E=Array(arguments.length),D=0;D<E.length;D++)E[D]=arguments[D];E[0]=S.coerce(E[0]),"string"!=typeof E[0]&&E.unshift("%O");var N=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,function(o,w){if("%%"===o)return o;N++;var _=S.formatters[w];if("function"==typeof _){var D=E[N];o=_.call(debug,D),E.splice(N,1),N--}return o}),S.formatArgs.call(debug,E),(debug.log||S.log||console.log.bind(console)).apply(debug,E)}}return debug.namespace=o,debug.enabled=S.enabled(o),debug.useColors=S.useColors(),debug.color=function(o){var w,_=0;for(w in o)_=(_<<5)-_+o.charCodeAt(w)|0;return S.colors[Math.abs(_)%S.colors.length]}(o),"function"==typeof S.init&&S.init(debug),debug}(S=o.exports=createDebug.debug=createDebug.default=createDebug).coerce=function(o){return o instanceof Error?o.stack||o.message:o},S.disable=function(){S.enable("")},S.enable=function(o){S.save(o),S.names=[],S.skips=[];for(var w=("string"==typeof o?o:"").split(/[\s,]+/),_=w.length,E=0;E<_;E++)w[E]&&("-"===(o=w[E].replace(/\*/g,".*?"))[0]?S.skips.push(RegExp("^"+o.substr(1)+"$")):S.names.push(RegExp("^"+o+"$")))},S.enabled=function(o){var w,_;for(w=0,_=S.skips.length;w<_;w++)if(S.skips[w].test(o))return!1;for(w=0,_=S.names.length;w<_;w++)if(S.names[w].test(o))return!0;return!1},S.humanize=w(20971),S.names=[],S.skips=[],S.formatters={}},20971:function(o){function plural(o,S,w){return o<S?void 0:o<1.5*S?Math.floor(o/S)+" "+w:Math.ceil(o/S)+" "+w+"s"}o.exports=function(o,S){S=S||{};var w=typeof o;if("string"===w&&o.length>
50)return function(o){if(!((o=String(o)).length>100)){var S=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(o);if(S){var w=parseFloat(S[1]);switch((S[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*w;case"days":case"day":case"d":return 864e5*w;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*w;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*w;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*w;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return w;default:return}}}}(o);if("number"===w&&!1===isNaN(o))return S.long?plural(o,864e5,"day")||plural(o,36e5,"hour")||plural(o,6e4,"minute")||plural(o,1e3,"second")||o+" ms":o>=864e5?Math.round(o/864e5)+"d":o>=36e5?Math.round(o/36e5)+"h":o>=6e4?Math.round(o/6e4)+"m":o>=1e3?Math.round(o/1e3)+"s":o+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))}},91296:function(o,S,w){var _=0/0,E=/^\s+|\s+$/g,D=/^[-+]0x[0-9a-f]+$/i,N=/^0b[01]+$/i,F=/^0o[0-7]+$/i,V=parseInt,U="object"==typeof w.g&&w.g&&w.g.Object===Object&&w.g,W="object"==typeof self&&self&&self.Object===Object&&self,q=U||W||Function("return this")(),Q=Object.prototype.toString,Y=Math.max,et=Math.min,now=function(){return q.Date.now()};function isObject(o){var S=typeof o;return!!o&&("object"==S||"function"==S)}function toNumber(o){if("number"==typeof o)return o;if("symbol"==typeof(S=o)||S&&"object"==typeof S&&"[object Symbol]"==Q.call(S))return _;if(isObject(o)){var S,w="function"==typeof o.valueOf?o.valueOf():o;o=isObject(w)?w+"":w}if("string"!=typeof o)return 0===o?o:+o;o=o.replace(E,"");var U=N.test(o);return U||F.test(o)?V(o.slice(2),U?2:8):D.test(o)?_:+o}o.exports=function(o,S,w){var _,E,D,N,F,V,U=0,W=!1,q=!1,Q=!0;if("function"!=typeof o)throw TypeError("Expected a function");function invokeFunc(S){var w=_,D=E;return _=E=void 0,U=S,N=o.apply(D,w)}function shouldInvoke(o){var w=o-V,_=o-U;return void 0===V||w>=S||w<0||q&&_>=D}function timerExpired(){var o,w,_,E=now();if(shouldInvoke(E))return trailingEdge(E);F=setTimeout(timerExpired,(o=E-V,w=E-U,_=S-o,q?et(_,D-w):_))}function trailingEdge(o){return(F=void 0,Q&&_)?invokeFunc(o):(_=E=void 0,N)}function debounced(){var o,w=now(),D=shouldInvoke(w);if(_=arguments,E=this,V=w,D){if(void 0===F)return U=o=V,F=setTimeout(timerExpired,S),W?invokeFunc(o):N;if(q)return F=setTimeout(timerExpired,S),invokeFunc(V)}return void 0===F&&(F=setTimeout(timerExpired,S)),N}return S=toNumber(S)||0,isObject(w)&&(W=!!w.leading,D=(q="maxWait"in w)?Y(toNumber(w.maxWait)||0,S):D,Q="trailing"in w?!!w.trailing:Q),debounced.cancel=function(){void 0!==F&&clearTimeout(F),U=0,_=V=E=F=void 0},debounced.flush=function(){return void 0===F?N:trailingEdge(now())},debounced}},7059:function(o){/*! lozad.js - v1.16.0 - 2020-09-06 6* https://github.com/ApoorvSaxena/lozad.js 7* Copyright (c) 2020 Apoorv Saxena; Licensed MIT */o.exports=function(){"use strict";var o="undefined"!=typeof document&&document.documentMode,S={rootMargin:"0px",threshold:0,load:function(S){if("picture"===S.nodeName.toLowerCase()){var w=S.querySelector("img"),_=!1;null===w&&(w=document.createElement("img"),_=!0),o&&S.getAttribute("data-iesrc")&&(w.src=S.getAttribute("data-iesrc")),S.getAttribute("data-alt")&&(w.alt=S.getAttribute("data-alt")),_&&S.append(w)}if("video"===S.nodeName.toLowerCase()&&!S.getAttribute("data-src")&&S.children){for(var E=S.children,D=void 0,N=0;N<=E.length-1;N++)(D=E[N].getAttribute("data-src"))&&(E[N].src=D);S.load()}S.getAttribute("data-poster")&&(S.poster=S.getAttribute("data-poster")),S.getAttribute("data-src")&&(S.src=S.getAttribute("data-src")),S.getAttribute("data-srcset")&&S.setAttribute("srcset",S.getAttribute("data-srcset"));var F=",";if(S.getAttribute("data-background-delimiter")&&(F=S.getAttribute("data-background-delimiter")),S.getAttribute("data-background-image"))S.style.backgroundImage="url('"+S.getAttribute("data-background-image").split(F).join("'),url('")+"')";else if(S.getAttribute("data-background-image-set")){var V=S.getAttribute("data-background-image-set").split(F),U=V[0].substr(0,V[0].indexOf(" "))||V[0];U=-1===U.indexOf("url(")?"url("+U+")":U,1===V.length?S.style.backgroundImage=U:S.setAttribute("style",(S.getAttribute("style")||"")+"background-image: "+U+"; background-image: -webkit-image-set("+V+"); background-image: image-set("+V+")")}S.getAttribute("data-toggle-class")&&S.classList.toggle(S.getAttribute("data-toggle-class"))},loaded:function(){}};function A(o){o.setAttribute("data-loaded",!0)}var m=function(o){return"true"===o.getAttribute("data-loaded")},v=function(o){var S=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document;return o instanceof Element?[o]:o instanceof NodeList?o:S.querySelectorAll(
7o)};return function(){var o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:".lozad",w=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},_=Object.assign({},S,w),E=_.root,D=_.rootMargin,N=_.threshold,F=_.load,V=_.loaded,U=void 0;"undefined"!=typeof window&&window.IntersectionObserver&&(U=new IntersectionObserver(function(o,S){o.forEach(function(o){(0<o.intersectionRatio||o.isIntersecting)&&(S.unobserve(o.target),m(o.target)||(F(o.target),A(o.target),V(o.target)))})},{root:E,rootMargin:D,threshold:N}));for(var W,q=v(o,E),Q=0;Q<q.length;Q++)(W=q[Q]).getAttribute("data-placeholder-background")&&(W.style.background=W.getAttribute("data-placeholder-background"));return{observe:function(){for(var S=v(o,E),w=0;w<S.length;w++)m(S[w])||(U?U.observe(S[w]):(F(S[w]),A(S[w]),V(S[w])))},triggerLoad:function(o){m(o)||(F(o),A(o),V(o))},observer:U}}}()},36541:function(o,S,w){"use strict";w.d(S,{_:function(){return DRACOLoader}});var _=w(31700);let E=new WeakMap;let DRACOLoader=class DRACOLoader extends _.Loader{setDecoderPath(o){return this.decoderPath=o,this}setDecoderConfig(o){return this.decoderConfig=o,this}setWorkerLimit(o){return this.workerLimit=o,this}load(o,S,w,E){let D=new _.FileLoader(this.manager);D.setPath(this.path),D.setResponseType("arraybuffer"),D.setRequestHeader(this.requestHeader),D.setWithCredentials(this.withCredentials),D.load(o,o=>{this.parse(o,S,E)},w,E)}parse(o,S){let w=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};this.decodeDracoFile(o,S,null,null,_.SRGBColorSpace,w).catch(w)}decodeDracoFile(o,S,w,E){let D=arguments.length>4&&void 0!==arguments[4]?arguments[4]:_.LinearSRGBColorSpace,N=arguments.length>5&&void 0!==arguments[5]?arguments[5]:()=>{},F={attributeIDs:w||this.defaultAttributeIDs,attributeTypes:E||this.defaultAttributeTypes,useUniqueIDs:!!w,vertexColorSpace:D};return this.decodeGeometry(o,F).then(S).catch(N)}decodeGeometry(o,S){let w;let _=JSON.stringify(S);if(E.has(o)){let S=E.get(o);if(S.key===_)return S.promise;if(0===o.byteLength)throw Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let D=this.workerNextTaskID++,N=o.byteLength,F=this._getWorker(D,N).then(_=>(w=_,new Promise((_,E)=>{w._callbacks[D]={resolve:_,reject:E},w.postMessage({type:"decode",id:D,taskConfig:S,buffer:o},[o])}))).then(o=>this._createGeometry(o.geometry));return F.catch(()=>!0).then(()=>{w&&D&&this._releaseTask(w,D)}),E.set(o,{key:_,promise:F}),F}_createGeometry(o){let S=new _.BufferGeometry;o.index&&S.setIndex(new _.BufferAttribute(o.index.array,1));for(let w=0;w<o.attributes.length;w++){let E=o.attributes[w],D=E.name,N=E.array,F=E.itemSize,V=new _.BufferAttribute(N,F);"color"===D&&(this._assignVertexColorSpace(V,E.vertexColorSpace),V.normalized=N instanceof Float32Array==!1),S.setAttribute(D,V)}return S}_assignVertexColorSpace(o,S){if(S!==_.SRGBColorSpace)return;let w=new _.Color;for(let S=0,_=o.count;S<_;S++)w.fromBufferAttribute(o,S).convertSRGBToLinear(),o.setXYZ(S,w.r,w.g,w.b)}_loadLibrary(o,S){let w=new _.FileLoader(this.manager);return w.setPath(this.decoderPath),w.setResponseType(S),w.setWithCredentials(this.withCredentials),new Promise((S,_)=>{w.load(o,S,void 0,_)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;let o="object"!=typeof WebAssembly||"js"===this.decoderConfig.type,S=[];return o?S.push(this._loadLibrary("draco_decoder.js","text")):(S.push(this._loadLibrary("draco_wasm_wrapper.js","text")),S.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(S).then(S=>{let w=S[0];o||(this.decoderConfig.wasmBinary=S[1]);let _=DRACOWorker.toString(),E=["/* draco decoder */",w,"","/* worker */",_.substring(_.indexOf("{")+1,_.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([E]))}),this.decoderPending}_getWorker(o,S){return this._initDecoder().then(()=>{if(this.workerPool.length<this.workerLimit){let o=new Worker(this.workerSourceURL);o._callbacks={},o._taskCosts={},o._taskLoad=0,o.postMessage({type:"init",decoderConfig:this.decoderConfig}),o.onmessage=function(S){let w=S.data;
7switch(w.type){case"decode":o._callbacks[w.id].resolve(w);break;case"error":o._callbacks[w.id].reject(w);break;default:console.error('THREE.DRACOLoader: Unexpected message, "'+w.type+'"')}},this.workerPool.push(o)}else this.workerPool.sort(function(o,S){return o._taskLoad>S._taskLoad?-1:1});let w=this.workerPool[this.workerPool.length-1];return w._taskCosts[o]=S,w._taskLoad+=S,w})}_releaseTask(o,S){o._taskLoad-=o._taskCosts[S],delete o._callbacks[S],delete o._taskCosts[S]}debug(){console.log("Task load: ",this.workerPool.map(o=>o._taskLoad))}dispose(){for(let o=0;o<this.workerPool.length;++o)this.workerPool[o].terminate();return this.workerPool.length=0,""!==this.workerSourceURL&&URL.revokeObjectURL(this.workerSourceURL),this}constructor(o){super(o),this.decoderPath="",this.decoderConfig={},this.decoderBinary=null,this.decoderPending=null,this.workerLimit=4,this.workerPool=[],this.workerNextTaskID=1,this.workerSourceURL="",this.defaultAttributeIDs={position:"POSITION",normal:"NORMAL",color:"COLOR",uv:"TEX_COORD"},this.defaultAttributeTypes={position:"Float32Array",normal:"Float32Array",color:"Float32Array",uv:"Float32Array"}}};function DRACOWorker(){let o,S;onmessage=function(w){let _=w.data;switch(_.type){case"init":o=_.decoderConfig,S=new Promise(function(S){o.onModuleLoaded=function(o){S({draco:o})},DracoDecoderModule(o)});break;case"decode":let E=_.buffer,D=_.taskConfig;S.then(o=>{let S=o.draco,w=new S.Decoder;try{let o=function(o,S,w,_){let E,D;let N=_.attributeIDs,F=_.attributeTypes,V=S.GetEncodedGeometryType(w);if(V===o.TRIANGULAR_MESH)E=new o.Mesh,D=S.DecodeArrayToMesh(w,w.byteLength,E);else if(V===o.POINT_CLOUD)E=new o.PointCloud,D=S.DecodeArrayToPointCloud(w,w.byteLength,E);else throw Error("THREE.DRACOLoader: Unexpected geometry type.");if(!D.ok()||0===E.ptr)throw Error("THREE.DRACOLoader: Decoding failed: "+D.error_msg());let U={index:null,attributes:[]};for(let w in N){let D,V;let W=self[F[w]];if(_.useUniqueIDs)V=N[w],D=S.GetAttributeByUniqueId(E,V);else{if(-1===(V=S.GetAttributeId(E,o[N[w]])))continue;D=S.GetAttribute(E,V)}let q=function(o,S,w,_,E,D){let N=D.num_components(),F=w.num_points(),V=F*N,U=V*E.BYTES_PER_ELEMENT,W=function(o,S){switch(S){case Float32Array:return o.DT_FLOAT32;case Int8Array:return o.DT_INT8;case Int16Array:return o.DT_INT16;case Int32Array:return o.DT_INT32;case Uint8Array:return o.DT_UINT8;case Uint16Array:return o.DT_UINT16;case Uint32Array:return o.DT_UINT32}}(o,E),q=o._malloc(U);S.GetAttributeDataArrayForAllPoints(w,D,W,U,q);let Q=new E(o.HEAPF32.buffer,q,V).slice();return o._free(q),{name:_,array:Q,itemSize:N}}(o,S,E,w,W,D);"color"===w&&(q.vertexColorSpace=_.vertexColorSpace),U.attributes.push(q)}return V===o.TRIANGULAR_MESH&&(U.index=function(o,S,w){let _=w.num_faces(),E=3*_,D=4*E,N=o._malloc(D);S.GetTrianglesUInt32Array(w,D,N);let F=new Uint32Array(o.HEAPF32.buffer,N,E).slice();return o._free(N),{array:F,itemSize:1}}(o,S,E)),o.destroy(E),U}(S,w,new Int8Array(E),D),N=o.attributes.map(o=>o.array.buffer);o.index&&N.push(o.index.array.buffer),self.postMessage({type:"decode",id:_.id,geometry:o},N)}catch(o){console.error(o),self.postMessage({type:"error",id:_.id,error:o.message})}finally{S.destroy(w)}})}}}},83026:function(o,S,w){"use strict";w.d(S,{E:function(){return GLTFLoader}});var _=w(31700);function toTrianglesDrawMode(o,S){if(S===_.TrianglesDrawMode)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),o;if(S!==_.TriangleFanDrawMode&&S!==_.TriangleStripDrawMode)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",S),o;{let w=o.getIndex();if(null===w){let S=[],_=o.getAttribute("position");if(void 0===_)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),o;for(let o=0;o<_.count;o++)S.push(o);o.setIndex(S),w=o.getIndex()}let E=w.count-2,D=[];if(S===_.TriangleFanDrawMode)for(let o=1;o<=E;o++)D.push(w.getX(0)),D.push(w.getX(o)),D.push(w.getX(o+1));else for(let o=0;o<E;o++)o%2==0?(D.push(w.getX(o)),D.push(w.getX(o+1)),D.push(w.getX(o+2))):(D.push(w.getX(o+2)),D.push(w.getX(o+1)),D.push(w.getX(o)));D.length/3!==E&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");let N=o.clone();return N.setIndex(D),N.clearGroups(),N}}
7let GLTFLoader=class GLTFLoader extends _.Loader{load(o,S,w,E){let D;let N=this;if(""!==this.resourcePath)D=this.resourcePath;else if(""!==this.path){let S=_.LoaderUtils.extractUrlBase(o);D=_.LoaderUtils.resolveURL(S,this.path)}else D=_.LoaderUtils.extractUrlBase(o);this.manager.itemStart(o);let _onError=function(S){E?E(S):console.error(S),N.manager.itemError(o),N.manager.itemEnd(o)},F=new _.FileLoader(this.manager);F.setPath(this.path),F.setResponseType("arraybuffer"),F.setRequestHeader(this.requestHeader),F.setWithCredentials(this.withCredentials),F.load(o,function(w){try{N.parse(w,D,function(w){S(w),N.manager.itemEnd(o)},_onError)}catch(o){_onError(o)}},w,_onError)}setDRACOLoader(o){return this.dracoLoader=o,this}setDDSLoader(){throw Error('THREE.GLTFLoader: "MSFT_texture_dds" no longer supported. Please update to "KHR_texture_basisu".')}setKTX2Loader(o){return this.ktx2Loader=o,this}setMeshoptDecoder(o){return this.meshoptDecoder=o,this}register(o){return -1===this.pluginCallbacks.indexOf(o)&&this.pluginCallbacks.push(o),this}unregister(o){return -1!==this.pluginCallbacks.indexOf(o)&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(o),1),this}parse(o,S,w,_){let N;let F={},V={},U=new TextDecoder;if("string"==typeof o)N=JSON.parse(o);else if(o instanceof ArrayBuffer){let S=U.decode(new Uint8Array(o,0,4));if(S===D){try{F[E.KHR_BINARY_GLTF]=new GLTFBinaryExtension(o)}catch(o){_&&_(o);return}N=JSON.parse(F[E.KHR_BINARY_GLTF].content)}else N=JSON.parse(U.decode(o))}else N=o;if(void 0===N.asset||N.asset.version[0]<2){_&&_(Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported."));return}let W=new GLTFParser(N,{path:S||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});W.fileLoader.setRequestHeader(this.requestHeader);for(let o=0;o<this.pluginCallbacks.length;o++){let S=this.pluginCallbacks[o](W);S.name||console.error("THREE.GLTFLoader: Invalid plugin found: missing name"),V[S.name]=S,F[S.name]=!0}if(N.extensionsUsed)for(let o=0;o<N.extensionsUsed.length;++o){let S=N.extensionsUsed[o],w=N.extensionsRequired||[];switch(S){case E.KHR_MATERIALS_UNLIT:F[S]=new GLTFMaterialsUnlitExtension;break;case E.KHR_DRACO_MESH_COMPRESSION:F[S]=new GLTFDracoMeshCompressionExtension(N,this.dracoLoader);break;case E.KHR_TEXTURE_TRANSFORM:F[S]=new GLTFTextureTransformExtension;break;case E.KHR_MESH_QUANTIZATION:F[S]=new GLTFMeshQuantizationExtension;break;default:w.indexOf(S)>=0&&void 0===V[S]&&console.warn('THREE.GLTFLoader: Unknown extension "'+S+'".')}}W.setExtensions(F),W.setPlugins(V),W.parse(w,_)}parseAsync(o,S){let w=this;return new Promise(function(_,E){w.parse(o,S,_,E)})}constructor(o){super(o),this.dracoLoader=null,this.ktx2Loader=null,this.meshoptDecoder=null,this.pluginCallbacks=[],this.register(function(o){return new GLTFMaterialsClearcoatExtension(o)}),this.register(function(o){return new GLTFMaterialsDispersionExtension(o)}),this.register(function(o){return new GLTFTextureBasisUExtension(o)}),this.register(function(o){return new GLTFTextureWebPExtension(o)}),this.register(function(o){return new GLTFTextureAVIFExtension(o)}),this.register(function(o){return new GLTFMaterialsSheenExtension(o)}),this.register(function(o){return new GLTFMaterialsTransmissionExtension(o)}),this.register(function(o){return new GLTFMaterialsVolumeExtension(o)}
7),this.register(function(o){return new GLTFMaterialsIorExtension(o)}),this.register(function(o){return new GLTFMaterialsEmissiveStrengthExtension(o)}),this.register(function(o){return new GLTFMaterialsSpecularExtension(o)}),this.register(function(o){return new GLTFMaterialsIridescenceExtension(o)}),this.register(function(o){return new GLTFMaterialsAnisotropyExtension(o)}),this.register(function(o){return new GLTFMaterialsBumpExtension(o)}),this.register(function(o){return new GLTFLightsExtension(o)}),this.register(function(o){return new GLTFMeshoptCompression(o)}),this.register(function(o){return new GLTFMeshGpuInstancing(o)})}};function GLTFRegistry(){let o={};return{get:function(S){return o[S]},add:function(S,w){o[S]=w},remove:function(S){delete o[S]},removeAll:function(){o={}}}}let E={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_DISPERSION:"KHR_materials_dispersion",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};let GLTFLightsExtension=class GLTFLightsExtension{_markDefs(){let o=this.parser,S=this.parser.json.nodes||[];for(let w=0,_=S.length;w<_;w++){let _=S[w];_.extensions&&_.extensions[this.name]&&void 0!==_.extensions[this.name].light&&o._addNodeRef(this.cache,_.extensions[this.name].light)}}_loadLight(o){let S;let w=this.parser,E="light:"+o,D=w.cache.get(E);if(D)return D;let N=w.json,F=N.extensions&&N.extensions[this.name]||{},V=F.lights||[],U=V[o],W=new _.Color(16777215);void 0!==U.color&&W.setRGB(U.color[0],U.color[1],U.color[2],_.LinearSRGBColorSpace);let q=void 0!==U.range?U.range:0;switch(U.type){case"directional":(S=new _.DirectionalLight(W)).target.position.set(0,0,-1),S.add(S.target);break;case"point":(S=new _.PointLight(W)).distance=q;break;case"spot":(S=new _.SpotLight(W)).distance=q,U.spot=U.spot||{},U.spot.innerConeAngle=void 0!==U.spot.innerConeAngle?U.spot.innerConeAngle:0,U.spot.outerConeAngle=void 0!==U.spot.outerConeAngle?U.spot.outerConeAngle:Math.PI/4,S.angle=U.spot.outerConeAngle,S.penumbra=1-U.spot.innerConeAngle/U.spot.outerConeAngle,S.target.position.set(0,0,-1),S.add(S.target);break;default:throw Error("THREE.GLTFLoader: Unexpected light type: "+U.type)}return S.position.set(0,0,0),S.decay=2,assignExtrasToUserData(S,U),void 0!==U.intensity&&(S.intensity=U.intensity),S.name=w.createUniqueName(U.name||"light_"+o),D=Promise.resolve(S),w.cache.add(E,D),D}getDependency(o,S){if("light"===o)return this._loadLight(S)}createNodeAttachment(o){let S=this,w=this.parser,_=w.json,E=_.nodes[o],D=E.extensions&&E.extensions[this.name]||{},N=D.light;return void 0===N?null:this._loadLight(N).then(function(o){return w._getNodeRef(S.cache,N,o)})}constructor(o){this.parser=o,this.name=E.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}};let GLTFMaterialsUnlitExtension=class GLTFMaterialsUnlitExtension{getMaterialType(){return _.MeshBasicMaterial}extendParams(o,S,w){let E=[];o.color=new _.Color(1,1,1),o.opacity=1;let D=S.pbrMetallicRoughness;if(D){if(Array.isArray(D.baseColorFactor)){let S=D.baseColorFactor;o.color.setRGB(S[0],S[1],S[2],_.LinearSRGBColorSpace),o.opacity=S[3]}void 0!==D.baseColorTexture&&E.push(w.assignTexture(o,"map",D.baseColorTexture,_.SRGBColorSpace))}return Promise.all(E)}constructor(){this.name=E.KHR_MATERIALS_UNLIT}};let GLTFMaterialsEmissiveStrengthExtension=class GLTFMaterialsEmissiveStrengthExtension{extendMaterialParams(o,S){let w=this.parser,_=w.json.materials[o];if(!_.extensions||!_.extensions[this.name])return Promise.resolve();let E=_.extensions[this.name].emissiveStrength;return void 0!==E&&(S.emissiveIntensity=E),Promise.resolve()}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_EMISSIVE_STRENGTH}};let GLTFMaterialsClearcoatExtension=class GLTFMaterialsClearcoatExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,E=w.json.materials[o];if(!E.extensions||!E.extensions[this.name])return Promise.resolve();let D=[],N=E.extensions[this.name];if(void 0!==N.clearcoatFactor&&(S.clearcoat=N.clearcoatFactor),void 0!==N.clearcoatTexture&&D.push(w.assignTexture(S,"clearcoatMap",N.clearcoatTexture)),void 0!==N.clearcoatRoughnessFactor&&(S.clearcoatRoughness=N.clearcoatRoughnessFactor),void 0!==N.clearcoatRoughnessTexture&&D.push(w.assignTexture(S,"clearcoatRoughnessMap",N.clearcoatRoughnessTexture)),void 0!==N.clearcoatNormalTexture&&(D.push(w.assignTexture(S,"clearcoatNormalMap",N.clearcoatNormalTexture)),void 0!==N.clearcoatNormalTexture.scale)){let o=N.clearcoatNormalTexture.scale;S.clearcoatNormalScale=new _.Vector2(o,o)}return Promise.all(D)}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_CLEARCOAT}};let GLTFMaterialsDispersionExtension=class GLTFMaterialsDispersionExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,_=w.json.materials[o];if(!_.extensions||!_.extensions[this.name])return Promise.resolve();let E=_.extensions[this.name];return S.dispersion=void 0!==E.dispersion?E.dispersion:0,Promise.resolve()}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_DISPERSION}};let GLTFMaterialsIridescenceExtension=class GLTFMaterialsIridescenceExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,_=w.json.materials[o];if(!_.extensions||!_.extensions[this.name])return Promise.resolve();let E=[],D=_.extensions[this.name];return void 0!==D.iridescenceFactor&&(S.iridescence=D.iridescenceFactor),void 0!==D.iridescenceTexture&&E.push(w.assignTexture(S,"iridescenceMap",D.iridescenceTexture)),void 0!==D.iridescenceIor&&(S.iridescenceIOR=D.iridescenceIor),void 0===S.iridescenceThicknessRange&&(S.iridescenceThicknessRange=[100,400]),void 0!==D.iridescenceThicknessMinimum&&(S.iridescenceThicknessRange[0]=D.iridescenceThicknessMinimum),void 0!==D.iridescenceThicknessMaximum&&(S.iridescenceThicknessRange[1]=D.iridescenceThicknessMaximum),void 0!==D.iridescenceThicknessTexture&&E.push(w.assignTexture(S,"iridescenceThicknessMap",D.iridescenceThicknessTexture)),Promise.all(E)}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_IRIDESCENCE}};let GLTFMaterialsSheenExtension=class GLTFMaterialsSheenExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,E=w.json.materials[o];if(!E.extensions||!E.extensions[this.name])return Promise.resolve();let D=[];S.sheenColor=new _.Color(0,0,0),S.sheenRoughness=0,S.sheen=1;let N=E.extensions[this.name];if(void 0!==N.sheenColorFactor){let o=N.sheenColorFactor;S.sheenColor.setRGB(o[0],o[1],o[2],_.LinearSRGBColorSpace)}return void 0!==N.sheenRoughnessFactor&&(S.sheenRoughness=N.sheenRoughnessFactor),void 0!==N.sheenColorTexture&&D.push(w.assignTexture(S,"sheenColorMap",N.sheenColorTexture,_.SRGBColorSpace)),void 0!==N.sheenRoughnessTexture&&D.push(w.assignTexture(S,"sheenRoughnessMap",N.sheenRoughnessTexture)),Promise.all(D)}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_SHEEN}};let GLTFMaterialsTransmissionExtension=class GLTFMaterialsTransmissionExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,_=w.json.materials[o];if(!_.extensions||!_.extensions[this.name])return Promise.resolve();let E=[],D=_.extensions[this.name];return void 0!==D.transmissionFactor&&(S.transmission=D.transmissionFactor),void 0!==D.transmissionTexture&&E.push(w.assignTexture(S,"transmissionMap",D.transmissionTexture)),Promise.all(E)}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_TRANSMISSION}};let GLTFMaterialsVolumeExtension=class GLTFMaterialsVolumeExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,E=w.json.materials[o];if(!E.extensions||!E.extensions[this.name])return Promise.resolve();let D=[],N=E.extensions[this.name];S.thickness=void 0!==N.thicknessFactor?N.thicknessFactor:0,void 0!==N.thicknessTexture&&D.push(w.assignTexture(S,"thicknessMap",N.thicknessTexture)),S.attenuationDistance=N.attenuationDistance||1/0;let F=N.attenuationColor||[1,1,1];return S.attenuationColor=new _.Color().setRGB(F[0],F[1],F[2],_.LinearSRGBColorSpace),Promise.all(D)}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_VOLUME}};
7let GLTFMaterialsIorExtension=class GLTFMaterialsIorExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,_=w.json.materials[o];if(!_.extensions||!_.extensions[this.name])return Promise.resolve();let E=_.extensions[this.name];return S.ior=void 0!==E.ior?E.ior:1.5,Promise.resolve()}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_IOR}};let GLTFMaterialsSpecularExtension=class GLTFMaterialsSpecularExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,E=w.json.materials[o];if(!E.extensions||!E.extensions[this.name])return Promise.resolve();let D=[],N=E.extensions[this.name];S.specularIntensity=void 0!==N.specularFactor?N.specularFactor:1,void 0!==N.specularTexture&&D.push(w.assignTexture(S,"specularIntensityMap",N.specularTexture));let F=N.specularColorFactor||[1,1,1];return S.specularColor=new _.Color().setRGB(F[0],F[1],F[2],_.LinearSRGBColorSpace),void 0!==N.specularColorTexture&&D.push(w.assignTexture(S,"specularColorMap",N.specularColorTexture,_.SRGBColorSpace)),Promise.all(D)}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_SPECULAR}};let GLTFMaterialsBumpExtension=class GLTFMaterialsBumpExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,_=w.json.materials[o];if(!_.extensions||!_.extensions[this.name])return Promise.resolve();let E=[],D=_.extensions[this.name];return S.bumpScale=void 0!==D.bumpFactor?D.bumpFactor:1,void 0!==D.bumpTexture&&E.push(w.assignTexture(S,"bumpMap",D.bumpTexture)),Promise.all(E)}constructor(o){this.parser=o,this.name=E.EXT_MATERIALS_BUMP}};let GLTFMaterialsAnisotropyExtension=class GLTFMaterialsAnisotropyExtension{getMaterialType(o){let S=this.parser,w=S.json.materials[o];return w.extensions&&w.extensions[this.name]?_.MeshPhysicalMaterial:null}extendMaterialParams(o,S){let w=this.parser,_=w.json.materials[o];if(!_.extensions||!_.extensions[this.name])return Promise.resolve();let E=[],D=_.extensions[this.name];return void 0!==D.anisotropyStrength&&(S.anisotropy=D.anisotropyStrength),void 0!==D.anisotropyRotation&&(S.anisotropyRotation=D.anisotropyRotation),void 0!==D.anisotropyTexture&&E.push(w.assignTexture(S,"anisotropyMap",D.anisotropyTexture)),Promise.all(E)}constructor(o){this.parser=o,this.name=E.KHR_MATERIALS_ANISOTROPY}};let GLTFTextureBasisUExtension=class GLTFTextureBasisUExtension{loadTexture(o){let S=this.parser,w=S.json,_=w.textures[o];if(!_.extensions||!_.extensions[this.name])return null;let E=_.extensions[this.name],D=S.options.ktx2Loader;if(!D){if(!(w.extensionsRequired&&w.extensionsRequired.indexOf(this.name)>=0))return null;throw Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures")}return S.loadTextureImage(o,E.source,D)}constructor(o){this.parser=o,this.name=E.KHR_TEXTURE_BASISU}};let GLTFTextureWebPExtension=class GLTFTextureWebPExtension{loadTexture(o){let S=this.name,w=this.parser,_=w.json,E=_.textures[o];if(!E.extensions||!E.extensions[S])return null;let D=E.extensions[S],N=_.images[D.source],F=w.textureLoader;if(N.uri){let o=w.options.manager.getHandler(N.uri);null!==o&&(F=o)}return this.detectSupport().then(function(E){if(E)return w.loadTextureImage(o,D.source,F);if(_.extensionsRequired&&_.extensionsRequired.indexOf(S)>=0)throw Error("THREE.GLTFLoader: WebP required by asset but unsupported.");return w.loadTexture(o)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(o){let S=new Image;S.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",S.onload=S.onerror=function(){o(1===S.height)}})),this.isSupported}constructor(o){this.parser=o,this.name=E.EXT_TEXTURE_WEBP,this.isSupported=null}};let GLTFTextureAVIFExtension=class GLTFTextureAVIFExtension{loadTexture(o){let S=this.name,w=this.parser,_=w.json,E=_.textures[o];if(!E.extensions||!E.extensions[S])return null;let D=E.extensions[S],N=_.images[D.source],F=w.textureLoader;if(N.uri){let o=w.options.manager.getHandler(N.uri);null!==o&&(F=o)}return this.detectSupport().then(function(E){if(E)return w.loadTextureImage(o,D.source,F);if(_.extensionsRequired&&_.extensionsRequired.indexOf(S)>=0)throw Error("THREE.GLTFLoader: AVIF required by asset but unsupported.");return w.loadTexture(o)})}detectSupport(){return this.isSupported||(this.isSupported=new Promise(function(o){let S=new Image;S.src="data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUIAAADybWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAAAeaWxvYwAAAABEAAABAAEAAAABAAABGgAAABcAAAAoaWluZgAAAAAAAQAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAamlwcnAAAABLaXBjbwAAABRpc3BlAAAAAAAAAAEAAAABAAAAEHBpeGkAAAAAAwgICAAAAAxhdj
7FDgQAMAAAAABNjb2xybmNseAACAAIABoAAAAAXaXBtYQAAAAAAAAABAAEEAQKDBAAAAB9tZGF0EgAKCBgABogQEDQgMgkQAAAAB8dSLfI=",S.onload=S.onerror=function(){o(1===S.height)}})),this.isSupported}constructor(o){this.parser=o,this.name=E.EXT_TEXTURE_AVIF,this.isSupported=null}};let GLTFMeshoptCompression=class GLTFMeshoptCompression{loadBufferView(o){let S=this.parser.json,w=S.bufferViews[o];if(!w.extensions||!w.extensions[this.name])return null;{let o=w.extensions[this.name],_=this.parser.getDependency("buffer",o.buffer),E=this.parser.options.meshoptDecoder;if(!E||!E.supported){if(!(S.extensionsRequired&&S.extensionsRequired.indexOf(this.name)>=0))return null;throw Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files")}return _.then(function(S){let w=o.byteOffset||0,_=o.byteLength||0,D=o.count,N=o.byteStride,F=new Uint8Array(S,w,_);return E.decodeGltfBufferAsync?E.decodeGltfBufferAsync(D,N,F,o.mode,o.filter).then(function(o){return o.buffer}):E.ready.then(function(){let S=new ArrayBuffer(D*N);return E.decodeGltfBuffer(new Uint8Array(S),D,N,F,o.mode,o.filter),S})})}}constructor(o){this.name=E.EXT_MESHOPT_COMPRESSION,this.parser=o}};let GLTFMeshGpuInstancing=class GLTFMeshGpuInstancing{createNodeMesh(o){let S=this.parser.json,w=S.nodes[o];if(!w.extensions||!w.extensions[this.name]||void 0===w.mesh)return null;let E=S.meshes[w.mesh];for(let o of E.primitives)if(o.mode!==V.TRIANGLES&&o.mode!==V.TRIANGLE_STRIP&&o.mode!==V.TRIANGLE_FAN&&void 0!==o.mode)return null;let D=w.extensions[this.name],N=D.attributes,F=[],U={};for(let o in N)F.push(this.parser.getDependency("accessor",N[o]).then(S=>(U[o]=S,U[o])));return F.length<1?null:(F.push(this.parser.createNodeMesh(o)),Promise.all(F).then(o=>{let S=o.pop(),w=S.isGroup?S.children:[S],E=o[0].count,D=[];for(let o of w){let S=new _.Matrix4,w=new _.Vector3,N=new _.Quaternion,F=new _.Vector3(1,1,1),V=new _.InstancedMesh(o.geometry,o.material,E);for(let o=0;o<E;o++)U.TRANSLATION&&w.fromBufferAttribute(U.TRANSLATION,o),U.ROTATION&&N.fromBufferAttribute(U.ROTATION,o),U.SCALE&&F.fromBufferAttribute(U.SCALE,o),V.setMatrixAt(o,S.compose(w,N,F));for(let S in U)if("_COLOR_0"===S){let o=U[S];V.instanceColor=new _.InstancedBufferAttribute(o.array,o.itemSize,o.normalized)}else"TRANSLATION"!==S&&"ROTATION"!==S&&"SCALE"!==S&&o.geometry.setAttribute(S,U[S]);_.Object3D.prototype.copy.call(V,o),this.parser.assignFinalMaterial(V),D.push(V)}return S.isGroup?(S.clear(),S.add(...D),S):D[0]}))}constructor(o){this.name=E.EXT_MESH_GPU_INSTANCING,this.parser=o}};let D="glTF",N={JSON:1313821514,BIN:5130562};let GLTFBinaryExtension=class GLTFBinaryExtension{constructor(o){this.name=E.KHR_BINARY_GLTF,this.content=null,this.body=null;let S=new DataView(o,0,12),w=new TextDecoder;if(this.header={magic:w.decode(new Uint8Array(o.slice(0,4))),version:S.getUint32(4,!0),length:S.getUint32(8,!0)},this.header.magic!==D)throw Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw Error("THREE.GLTFLoader: Legacy binary file detected.");let _=this.header.length-12,F=new DataView(o,12),V=0;for(;V<_;){let S=F.getUint32(V,!0);V+=4;let _=F.getUint32(V,!0);if(V+=4,_===N.JSON){let _=new Uint8Array(o,12+V,S);this.content=w.decode(_)}else if(_===N.BIN){let w=12+V;this.body=o.slice(w,w+S)}V+=S}if(null===this.content)throw Error("THREE.GLTFLoader: JSON content not found.")}};let GLTFDracoMeshCompressionExtension=class GLTFDracoMeshCompressionExtension{decodePrimitive(o,S){let w=this.json,E=this.dracoLoader,D=o.extensions[this.name].bufferView,N=o.extensions[this.name].attributes,F={},V={},W={};for(let o in N){let S=Y[o]||o.toLowerCase();F[S]=N[o]}for(let S in o.attributes){let _=Y[S]||S.toLowerCase();if(void 0!==N[S]){let E=w.accessors[o.attributes[S]],D=U[E.componentType];W[_]=D.name,V[_]=!0===E.normalized}}return S.getDependency("bufferView",D).then(function(o){return new Promise(function(S,w){E.decodeDracoFile(o,function(o){for(let S in o.attributes){let w=o.attributes[S],_=V[S];void 0!==_&&(w.normalized=_)}S(o)},F,W,_.LinearSRGBColorSpace,w)})})}
7constructor(o,S){if(!S)throw Error("THREE.GLTFLoader: No DRACOLoader instance provided.");this.name=E.KHR_DRACO_MESH_COMPRESSION,this.json=o,this.dracoLoader=S,this.dracoLoader.preload()}};let GLTFTextureTransformExtension=class GLTFTextureTransformExtension{extendTexture(o,S){return(void 0===S.texCoord||S.texCoord===o.channel)&&void 0===S.offset&&void 0===S.rotation&&void 0===S.scale||(o=o.clone(),void 0!==S.texCoord&&(o.channel=S.texCoord),void 0!==S.offset&&o.offset.fromArray(S.offset),void 0!==S.rotation&&(o.rotation=S.rotation),void 0!==S.scale&&o.repeat.fromArray(S.scale),o.needsUpdate=!0),o}constructor(){this.name=E.KHR_TEXTURE_TRANSFORM}};let GLTFMeshQuantizationExtension=class GLTFMeshQuantizationExtension{constructor(){this.name=E.KHR_MESH_QUANTIZATION}};let GLTFCubicSplineInterpolant=class GLTFCubicSplineInterpolant extends _.Interpolant{copySampleValue_(o){let S=this.resultBuffer,w=this.sampleValues,_=this.valueSize,E=o*_*3+_;for(let o=0;o!==_;o++)S[o]=w[E+o];return S}interpolate_(o,S,w,_){let E=this.resultBuffer,D=this.sampleValues,N=this.valueSize,F=2*N,V=3*N,U=_-S,W=(w-S)/U,q=W*W,Q=q*W,Y=o*V,et=Y-V,en=-2*Q+3*q,er=Q-q,eo=1-en,ea=er-q+W;for(let o=0;o!==N;o++){let S=D[et+o+N],w=D[et+o+F]*U,_=D[Y+o+N],V=D[Y+o]*U;E[o]=eo*S+ea*w+en*_+er*V}return E}constructor(o,S,w,_){super(o,S,w,_)}};let F=new _.Quaternion;let GLTFCubicSplineQuaternionInterpolant=class GLTFCubicSplineQuaternionInterpolant extends GLTFCubicSplineInterpolant{interpolate_(o,S,w,_){let E=super.interpolate_(o,S,w,_);return F.fromArray(E).normalize().toArray(E),E}};let V={POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},U={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array},W={9728:_.NearestFilter,9729:_.LinearFilter,9984:_.NearestMipmapNearestFilter,9985:_.LinearMipmapNearestFilter,9986:_.NearestMipmapLinearFilter,9987:_.LinearMipmapLinearFilter},q={33071:_.ClampToEdgeWrapping,33648:_.MirroredRepeatWrapping,10497:_.RepeatWrapping},Q={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},Y={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},et={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},en={CUBICSPLINE:void 0,LINEAR:_.InterpolateLinear,STEP:_.InterpolateDiscrete},er={OPAQUE:"OPAQUE",MASK:"MASK",BLEND:"BLEND"};function addUnknownExtensionsToUserData(o,S,w){for(let _ in w.extensions)void 0===o[_]&&(S.userData.gltfExtensions=S.userData.gltfExtensions||{},S.userData.gltfExtensions[_]=w.extensions[_])}function assignExtrasToUserData(o,S){void 0!==S.extras&&("object"==typeof S.extras?Object.assign(o.userData,S.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+S.extras))}function createAttributesKey(o){let S="",w=Object.keys(o).sort();for(let _=0,E=w.length;_<E;_++)S+=w[_]+":"+o[w[_]]+";";return S}function getNormalizedComponentScale(o){switch(o){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw Error("THREE.GLTFLoader: Unsupported normalized accessor component type.")}}let eo=new _.Matrix4;let GLTFParser=class GLTFParser{setExtensions(o){this.extensions=o}setPlugins(o){this.plugins=o}parse(o,S){let w=this,_=this.json,E=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(o){return o._markDefs&&o._markDefs()}),Promise.all(this._invokeAll(function(o){return o.beforeRoot&&o.beforeRoot()})).then(function(){return Promise.all([w.getDependencies("scene"),w.getDependencies("animation"),w.getDependencies("camera")])}).then(function(S){let D={scene:S[0][_.scene||0],scenes:S[0],animations:S[1],cameras:S[2],asset:_.asset,parser:w,userData:{}};return addUnknownExtensionsToUserData(E,D,_),assignExtrasToUserData(D,_),Promise.all(w._invokeAll(function(o){return o.afterRoot&&o.afterRoot(D)})).then(function(){for(let o of D.scenes)o.updateMatrixWorld();o(D)})}).catch(S)}_markDefs(){let o=this.json.nodes||[],S=this.json.skins||[],w=this.json.meshes||[];for(let w=0,_=S.length;w<_;w++){let _=S[w].joints;for(let S=0,w=_.length;S<w;S++)o[_[S]].isBone=!0}for(let S=0,_=o.length;S<_;S++){let _=o[S];void 0!==_.mesh&&(this._addNodeRef(this.meshCache,_.mesh),void 0!==_.skin&&(w[_.mesh].isSkinnedMesh=!0)),void 0!==_.camera&&this._addNodeRef(this.cameraCache,_.camera)}}_addNodeRef(o,S){void 0!==S&&(void 0===o.refs[S]&&(o.refs[S]=o.uses[S]=0),o.refs[S]++)}_getNodeRef(o,S,w){if(o.refs[S]<=1)return w;let _=w.clone(),updateMappings=(o,S)=>{let w=this.associations.get(o);for(let[_,E]of(null!=w&&this.associations.set(S,w),o.children.entries()))updateMappings(E,S.children[_])};return updateMappings(w,_),_.name+="_instance_"+o.uses[S]++,_}_invokeOne(o){let S=Object.values(this.plugins);S.push(this);for(let w=0;w<S.length;w++){let _=o(S[w]);if(_)return _}return null}_invokeAll(o){let S=Object.values(this.plugins);S.unshift(this);let w=[];for(let _=0;_<S.length;_++){let E=o(S[_]);E&&w.push(E)}return w}getDependency(o,S){let w=o+":"+S,_=this.cache.get(w);if(!_){switch(o){case"scene":_=this.loadScene(S);break;case"node":_=this._invokeOne(function(o){return o.loadNode&&o.loadNode(S)});break;case"mesh":_=this._invokeOne(function(o){return o.loadMesh&&o.loadMesh(S)});break;case"accessor":_=this.loadAccessor(S);break;case"bufferView":_=this._invokeOne(function(o){return o.loadBufferView&&o.loadBufferView(S)});break;case"buffer":_=this.loadBuffer(S);break;case"material":_=this._invokeOne(function(o){return o.loadMaterial&&o.loadMaterial(S)});break;case"texture":_=this._invokeOne(function(o){return o.loadTexture&&o.loadTexture(S)});break;case"skin":_=this.loadSkin(S);break;case"animation":_=this._invokeOne(function(o){return o.loadAnimation&&o.loadAnimation(S)});break;case"camera":_=this.loadCamera(S);break;default:if(!(_=this._invokeOne(function(w){return w!=this&&w.getDependency&&w.getDependency(o,S)})))throw Error("Unknown type: "+o)}this.cache.add(w,_)}return _}getDependencies(o){let S=this.cache.get(o);if(!S){let w=this,_=this.json[o+("mesh"===o?"es":"s")]||[];S=Promise.all(_.map(function(S,_){return w.getDependency(o,_)})),this.cache.add(o,S)}return S}loadBuffer(o){let S=this.json.buffers[o],w=this.fileLoader;if(S.type&&"arraybuffer"!==S.type)throw Error("THREE.GLTFLoader: "+S.type+" buffer type is not supported.");
7if(void 0===S.uri&&0===o)return Promise.resolve(this.extensions[E.KHR_BINARY_GLTF].body);let D=this.options;return new Promise(function(o,E){w.load(_.LoaderUtils.resolveURL(S.uri,D.path),o,void 0,function(){E(Error('THREE.GLTFLoader: Failed to load buffer "'+S.uri+'".'))})})}loadBufferView(o){let S=this.json.bufferViews[o];return this.getDependency("buffer",S.buffer).then(function(o){let w=S.byteLength||0,_=S.byteOffset||0;return o.slice(_,_+w)})}loadAccessor(o){let S=this,w=this.json,E=this.json.accessors[o];if(void 0===E.bufferView&&void 0===E.sparse){let o=Q[E.type],S=U[E.componentType],w=!0===E.normalized,D=new S(E.count*o);return Promise.resolve(new _.BufferAttribute(D,o,w))}let D=[];return void 0!==E.bufferView?D.push(this.getDependency("bufferView",E.bufferView)):D.push(null),void 0!==E.sparse&&(D.push(this.getDependency("bufferView",E.sparse.indices.bufferView)),D.push(this.getDependency("bufferView",E.sparse.values.bufferView))),Promise.all(D).then(function(o){let D,N;let F=o[0],V=Q[E.type],W=U[E.componentType],q=W.BYTES_PER_ELEMENT,Y=q*V,et=E.byteOffset||0,en=void 0!==E.bufferView?w.bufferViews[E.bufferView].byteStride:void 0,er=!0===E.normalized;if(en&&en!==Y){let o=Math.floor(et/en),w="InterleavedBuffer:"+E.bufferView+":"+E.componentType+":"+o+":"+E.count,U=S.cache.get(w);U||(D=new W(F,o*en,E.count*en/q),U=new _.InterleavedBuffer(D,en/q),S.cache.add(w,U)),N=new _.InterleavedBufferAttribute(U,V,et%en/q,er)}else D=null===F?new W(E.count*V):new W(F,et,E.count*V),N=new _.BufferAttribute(D,V,er);if(void 0!==E.sparse){let S=Q.SCALAR,w=U[E.sparse.indices.componentType],D=E.sparse.indices.byteOffset||0,q=E.sparse.values.byteOffset||0,Y=new w(o[1],D,E.sparse.count*S),et=new W(o[2],q,E.sparse.count*V);null!==F&&(N=new _.BufferAttribute(N.array.slice(),N.itemSize,N.normalized));for(let o=0,S=Y.length;o<S;o++){let S=Y[o];if(N.setX(S,et[o*V]),V>=2&&N.setY(S,et[o*V+1]),V>=3&&N.setZ(S,et[o*V+2]),V>=4&&N.setW(S,et[o*V+3]),V>=5)throw Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}}return N})}loadTexture(o){let S=this.json,w=this.options,_=S.textures[o],E=_.source,D=S.images[E],N=this.textureLoader;if(D.uri){let o=w.manager.getHandler(D.uri);null!==o&&(N=o)}return this.loadTextureImage(o,E,N)}loadTextureImage(o,S,w){let E=this,D=this.json,N=D.textures[o],F=D.images[S],V=(F.uri||F.bufferView)+":"+N.sampler;if(this.textureCache[V])return this.textureCache[V];let U=this.loadImageSource(S,w).then(function(S){S.flipY=!1,S.name=N.name||F.name||"",""===S.name&&"string"==typeof F.uri&&!1===F.uri.startsWith("data:image/")&&(S.name=F.uri);let w=D.samplers||{},V=w[N.sampler]||{};return S.magFilter=W[V.magFilter]||_.LinearFilter,S.minFilter=W[V.minFilter]||_.LinearMipmapLinearFilter,S.wrapS=q[V.wrapS]||_.RepeatWrapping,S.wrapT=q[V.wrapT]||_.RepeatWrapping,E.associations.set(S,{textures:o}),S}).catch(function(){return null});return this.textureCache[V]=U,U}loadImageSource(o,S){let w=this.json,E=this.options;if(void 0!==this.sourceCache[o])return this.sourceCache[o].then(o=>o.clone());let D=w.images[o],N=self.URL||self.webkitURL,F=D.uri||"",V=!1;if(void 0!==D.bufferView)F=this.getDependency("bufferView",D.bufferView).then(function(o){V=!0;let S=new Blob([o],{type:D.mimeType});return F=N.createObjectURL(S)});else if(void 0===D.uri)throw Error("THREE.GLTFLoader: Image "+o+" is missing URI and bufferView");let U=Promise.resolve(F).then(function(o){return new Promise(function(w,D){let N=w;!0===S.isImageBitmapLoader&&(N=function(o){let S=new _.Texture(o);S.needsUpdate=!0,w(S)}),S.load(_.LoaderUtils.resolveURL(o,E.path),N,void 0,D)})}).then(function(o){var S;return!0===V&&N.revokeObjectURL(F),assignExtrasToUserData(o,D),o.userData.mimeType=D.mimeType||((S=D.uri).search(/\.jpe?g($|\?)/i)>0||0===S.search(/^data\:image\/jpeg/)?"image/jpeg":S.search(/\.webp($|\?)/i)>0||0===S.search(/^data\:image\/webp/)?"image/webp":"image/png"),o}).catch(function(o){throw console.error("THREE.GLTFLoader: Couldn't load texture",F),o});return this.sourceCache[o]=U,U}assignTexture(o,S,w,_){let D=this;return this.getDependency("texture",w.index).then(function(N){if(!N)return null;if(void 0!==w.texCoord&&w.texCoord>0&&((N=N.clone()).channel=w.texCoord),D.extensions[E.KHR_TEXTURE_TRANSFORM]){let o=void 0!==w.extensions?w.extensions[E.KHR_TEXTURE_TRANSFORM]:void 0;if(o){let S=D.associations.get(N);N=D.extensions[E.KHR_TEXTURE_TRANSFORM].extendTexture(N,o),D.associations.set(N,S)}}
7return void 0!==_&&(N.colorSpace=_),o[S]=N,N})}assignFinalMaterial(o){let S=o.geometry,w=o.material,E=void 0===S.attributes.tangent,D=void 0!==S.attributes.color,N=void 0===S.attributes.normal;if(o.isPoints){let o="PointsMaterial:"+w.uuid,S=this.cache.get(o);S||(S=new _.PointsMaterial,_.Material.prototype.copy.call(S,w),S.color.copy(w.color),S.map=w.map,S.sizeAttenuation=!1,this.cache.add(o,S)),w=S}else if(o.isLine){let o="LineBasicMaterial:"+w.uuid,S=this.cache.get(o);S||(S=new _.LineBasicMaterial,_.Material.prototype.copy.call(S,w),S.color.copy(w.color),S.map=w.map,this.cache.add(o,S)),w=S}if(E||D||N){let o="ClonedMaterial:"+w.uuid+":";E&&(o+="derivative-tangents:"),D&&(o+="vertex-colors:"),N&&(o+="flat-shading:");let S=this.cache.get(o);S||(S=w.clone(),D&&(S.vertexColors=!0),N&&(S.flatShading=!0),E&&(S.normalScale&&(S.normalScale.y*=-1),S.clearcoatNormalScale&&(S.clearcoatNormalScale.y*=-1)),this.cache.add(o,S),this.associations.set(S,this.associations.get(w))),w=S}o.material=w}getMaterialType(){return _.MeshStandardMaterial}loadMaterial(o){let S;let w=this,D=this.json,N=this.extensions,F=D.materials[o],V={},U=F.extensions||{},W=[];if(U[E.KHR_MATERIALS_UNLIT]){let o=N[E.KHR_MATERIALS_UNLIT];S=o.getMaterialType(),W.push(o.extendParams(V,F,w))}else{let E=F.pbrMetallicRoughness||{};if(V.color=new _.Color(1,1,1),V.opacity=1,Array.isArray(E.baseColorFactor)){let o=E.baseColorFactor;V.color.setRGB(o[0],o[1],o[2],_.LinearSRGBColorSpace),V.opacity=o[3]}void 0!==E.baseColorTexture&&W.push(w.assignTexture(V,"map",E.baseColorTexture,_.SRGBColorSpace)),V.metalness=void 0!==E.metallicFactor?E.metallicFactor:1,V.roughness=void 0!==E.roughnessFactor?E.roughnessFactor:1,void 0!==E.metallicRoughnessTexture&&(W.push(w.assignTexture(V,"metalnessMap",E.metallicRoughnessTexture)),W.push(w.assignTexture(V,"roughnessMap",E.metallicRoughnessTexture))),S=this._invokeOne(function(S){return S.getMaterialType&&S.getMaterialType(o)}),W.push(Promise.all(this._invokeAll(function(S){return S.extendMaterialParams&&S.extendMaterialParams(o,V)})))}!0===F.doubleSided&&(V.side=_.DoubleSide);let q=F.alphaMode||er.OPAQUE;if(q===er.BLEND?(V.transparent=!0,V.depthWrite=!1):(V.transparent=!1,q===er.MASK&&(V.alphaTest=void 0!==F.alphaCutoff?F.alphaCutoff:.5)),void 0!==F.normalTexture&&S!==_.MeshBasicMaterial&&(W.push(w.assignTexture(V,"normalMap",F.normalTexture)),V.normalScale=new _.Vector2(1,1),void 0!==F.normalTexture.scale)){let o=F.normalTexture.scale;V.normalScale.set(o,o)}if(void 0!==F.occlusionTexture&&S!==_.MeshBasicMaterial&&(W.push(w.assignTexture(V,"aoMap",F.occlusionTexture)),void 0!==F.occlusionTexture.strength&&(V.aoMapIntensity=F.occlusionTexture.strength)),void 0!==F.emissiveFactor&&S!==_.MeshBasicMaterial){let o=F.emissiveFactor;V.emissive=new _.Color().setRGB(o[0],o[1],o[2],_.LinearSRGBColorSpace)}return void 0!==F.emissiveTexture&&S!==_.MeshBasicMaterial&&W.push(w.assignTexture(V,"emissiveMap",F.emissiveTexture,_.SRGBColorSpace)),Promise.all(W).then(function(){let _=new S(V);return F.name&&(_.name=F.name),assignExtrasToUserData(_,F),w.associations.set(_,{materials:o}),F.extensions&&addUnknownExtensionsToUserData(N,_,F),_})}createUniqueName(o){let S=_.PropertyBinding.sanitizeNodeName(o||"");return S in this.nodeNamesUsed?S+"_"+ ++this.nodeNamesUsed[S]:(this.nodeNamesUsed[S]=0,S)}loadGeometries(o){let S=this,w=this.extensions,D=this.primitiveCache,N=[];for(let F=0,V=o.length;F<V;F++){let V=o[F],U=function(o){let S;let w=o.extensions&&o.extensions[E.KHR_DRACO_MESH_COMPRESSION];if(S=w?"draco:"+w.bufferView+":"+w.indices+":"+createAttributesKey(w.attributes):o.indices+":"+createAttributesKey(o.attributes)+":"+o.mode,void 0!==o.targets)for(let w=0,_=o.targets.length;w<_;w++)S+=":"+createAttributesKey(o.targets[w]);return S}(V),W=D[U];if(W)N.push(W.promise);else{let o;o=V.extensions&&V.extensions[E.KHR_DRACO_MESH_COMPRESSION]?function(o){return w[E.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(o,S).then(function(w){return addPrimitiveAttributes(w,o,S)})}(V):addPrimitiveAttributes(new _.BufferGeometry,V,S),D[U]={primitive:V,promise:o},N.push(o)}}return Promise.all(N)}loadMesh(o){let S=this,w=this.json,E=this.extensions,D=w.meshes[o],N=D.primitives,F=[];for(let o=0,S=N.length;o<S;o++){var U;let S=void 0===N[o].material?(void 0===(U=this.cache).DefaultMaterial&&(U.DefaultMaterial=new _.MeshStandardMaterial({color:16777215,emissive:0,metalness:1,roughness:1,transparent:!1,depthTest:!0,side:_.FrontSide})),U.DefaultMaterial):this.getDependency("material",N[o].material);F.push(S)}return F.push(S.loadGeometries(N)),Promise.all(F).then(function(w){let F=w.slice(0,w.length-1),U=w[w.length-1],W=[];for(let w=0,q=U.length;w<q;w++){let q;let Q=U[w],Y=N[w],et=F[w];if(Y.mode===V.TRIANGLES||Y.mode===V.TRIANGLE_STRIP||Y.mode===V.TRIANGLE_FAN||void 0===Y.mode)!0===(q=!0===D.isSkinnedMesh?new _.SkinnedMesh(Q,et):new _.Mesh(Q,et)).isSkinnedMesh&&q.normalizeSkinWeights(),Y.mode===V.TRIANGLE_STRIP?q.geometry=toTrianglesDrawMode(q.geometry,_.TriangleStripDrawMode):Y.mode===V.TRIANGLE_FAN&&(q.geometry=toTrianglesDrawMode(q.geometry,_.TriangleFanDrawMode));else if(Y.mode===V.LINES)q=new _.LineSegments(Q,et);else if(Y.mode===V.LINE_STRIP)q=new _.Line(Q,et);else if(Y.mode===V.LINE_LOOP)q=new _.LineLoop(Q,et);else if(Y.mode===V.POINTS)q=new _.Points(Q,et);else throw Error("THREE.GLTFLoader: Primitive mode unsupported: "+Y.mode);Object.keys(q.geometry.morphAttributes).length>0&&function(o,S){if(o.updateMorphTargets(),void 0!==S.weights)for(let w=0,_=S.weights.length;w<_;w++)o.morphTargetInfluences[w]=S.weights[w];if(S.extras&&Array.isArray(S.extras.targetNames)){let w=S.extras.targetNames;if(o.morphTargetInfluences.length===w.length){o.morphTargetDictionary={};for(let S=0,_=w.length;S<_;S++)o.morphTargetDictionary[w[S]]=S}else console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}(q,D),q.name=S.createUniqueName(D.name||"mesh_"+o),assignExtrasToUserData(q,D),Y.extensions&&addUnknownExtensionsToUserData(E,q,Y),S.assignFinalMaterial(q),W.push(q)}for(let w=0,_=W.length;w<_;w++)S.associations.set(W[w],{meshes:o,primitives:w});if(1===W.length)return D.extensions&&addUnknownExtensionsToUserData(E,W[0],D),W[0];let q=new _.Group;D.extensions&&addUnknownExtensionsToUserData(E,q,D),S.associations.set(q,{meshes:o});for(let o=0,S=W.length;o<S;o++)q.add(W[o]);return q})}loadCamera(o){let S;let w=this.json.cameras[o],E=w[w.type];if(!E){console.warn("THREE.GLTFLoader: Missing camera parameters.");return}return"perspective"===w.type?S=new _.PerspectiveCamera(_.MathUtils.radToDeg(E.yfov),E.aspectRatio||1,E.znear||1,E.zfar||2e6):"orthographic"===w.type&&(S=new _.Orthogra
7phicCamera(-E.xmag,E.xmag,E.ymag,-E.ymag,E.znear,E.zfar)),w.name&&(S.name=this.createUniqueName(w.name)),assignExtrasToUserData(S,w),Promise.resolve(S)}loadSkin(o){let S=this.json.skins[o],w=[];for(let o=0,_=S.joints.length;o<_;o++)w.push(this._loadNodeShallow(S.joints[o]));return void 0!==S.inverseBindMatrices?w.push(this.getDependency("accessor",S.inverseBindMatrices)):w.push(null),Promise.all(w).then(function(o){let w=o.pop(),E=[],D=[];for(let N=0,F=o.length;N<F;N++){let F=o[N];if(F){E.push(F);let o=new _.Matrix4;null!==w&&o.fromArray(w.array,16*N),D.push(o)}else console.warn('THREE.GLTFLoader: Joint "%s" could not be found.',S.joints[N])}return new _.Skeleton(E,D)})}loadAnimation(o){let S=this.json,w=this,E=S.animations[o],D=E.name?E.name:"animation_"+o,N=[],F=[],V=[],U=[],W=[];for(let o=0,S=E.channels.length;o<S;o++){let S=E.channels[o],w=E.samplers[S.sampler],_=S.target,D=_.node,q=void 0!==E.parameters?E.parameters[w.input]:w.input,Q=void 0!==E.parameters?E.parameters[w.output]:w.output;void 0!==_.node&&(N.push(this.getDependency("node",D)),F.push(this.getDependency("accessor",q)),V.push(this.getDependency("accessor",Q)),U.push(w),W.push(_))}return Promise.all([Promise.all(N),Promise.all(F),Promise.all(V),Promise.all(U),Promise.all(W)]).then(function(o){let S=o[0],E=o[1],N=o[2],F=o[3],V=o[4],U=[];for(let o=0,_=S.length;o<_;o++){let _=S[o],D=E[o],W=N[o],q=F[o],Q=V[o];if(void 0===_)continue;_.updateMatrix&&_.updateMatrix();let Y=w._createAnimationTracks(_,D,W,q,Q);if(Y)for(let o=0;o<Y.length;o++)U.push(Y[o])}return new _.AnimationClip(D,void 0,U)})}createNodeMesh(o){let S=this.json,w=this,_=S.nodes[o];return void 0===_.mesh?null:w.getDependency("mesh",_.mesh).then(function(o){let S=w._getNodeRef(w.meshCache,_.mesh,o);return void 0!==_.weights&&S.traverse(function(o){if(o.isMesh)for(let S=0,w=_.weights.length;S<w;S++)o.morphTargetInfluences[S]=_.weights[S]}),S})}loadNode(o){let S=this.json,w=S.nodes[o],_=this._loadNodeShallow(o),E=[],D=w.children||[];for(let o=0,S=D.length;o<S;o++)E.push(this.getDependency("node",D[o]));let N=void 0===w.skin?Promise.resolve(null):this.getDependency("skin",w.skin);return Promise.all([_,Promise.all(E),N]).then(function(o){let S=o[0],w=o[1],_=o[2];null!==_&&S.traverse(function(o){o.isSkinnedMesh&&o.bind(_,eo)});for(let o=0,_=w.length;o<_;o++)S.add(w[o]);return S})}_loadNodeShallow(o){let S=this.json,w=this.extensions,E=this;if(void 0!==this.nodeCache[o])return this.nodeCache[o];let D=S.nodes[o],N=D.name?E.createUniqueName(D.name):"",F=[],V=E._invokeOne(function(S){return S.createNodeMesh&&S.createNodeMesh(o)});return V&&F.push(V),void 0!==D.camera&&F.push(E.getDependency("camera",D.camera).then(function(o){return E._getNodeRef(E.cameraCache,D.camera,o)})),E._invokeAll(function(S){return S.createNodeAttachment&&S.createNodeAttachment(o)}).forEach(function(o){F.push(o)}),this.nodeCache[o]=Promise.all(F).then(function(S){let F;if((F=!0===D.isBone?new _.Bone:S.length>1?new _.Group:1===S.length?S[0]:new _.Object3D)!==S[0])for(let o=0,w=S.length;o<w;o++)F.add(S[o]);if(D.name&&(F.userData.name=D.name,F.name=N),assignExtrasToUserData(F,D),D.extensions&&addUnknownExtensionsToUserData(w,F,D),void 0!==D.matrix){let o=new _.Matrix4;o.fromArray(D.matrix),F.applyMatrix4(o)}else void 0!==D.translation&&F.position.fromArray(D.translation),void 0!==D.rotation&&F.quaternion.fromArray(D.rotation),void 0!==D.scale&&F.scale.fromArray(D.scale);return E.associations.has(F)||E.associations.set(F,{}),E.associations.get(F).nodes=o,F}),this.nodeCache[o]}loadScene(o){let S=this.extensions,w=this.json.scenes[o],E=this,D=new _.Group;w.name&&(D.name=E.createUniqueName(w.name)),assignExtrasToUserData(D,w),w.extensions&&addUnknownExtensionsToUserData(S,D,w);let N=w.nodes||[],F=[];for(let o=0,S=N.length;o<S;o++)F.push(E.getDependency("node",N[o]));return Promise.all(F).then(function(o){for(let S=0,w=o.length;S<w;S++)D.add(o[S]);return E.associations=(o=>{let S=new Map;for(let[o,w]of E.associations)(o instanceof _.Material||o instanceof _.Texture)&&S.set(o,w);return o.traverse(o=>{let w=E.associations.get(o);null!=w&&S.set(o,w)}),S})(D),D})}_createAnimationTracks(o,S,w,E,D){let N;let F=[],V=o.name?o.name:o.uuid,U=[];switch(et[D.path]===et.weights?o.traverse(function(o){o.morphTargetInfluences&&U.push(o.name?o.name:o.uuid)}):U.push(V),et[D.path]){case et.weights:N=_.NumberKeyframeTrack;break;case et.rotation:N=_.QuaternionKeyframeTrack;break;case et.position:case et.scale:N=_.VectorKeyframeTrack;break;default:N=1===w.itemSize?_.NumberKeyframeTrack:_.VectorKeyframeTrack}let W=void 0!==E.interpolation?en[E.interpolation]:_.InterpolateLinear,q=this._getArrayFromAccessor(w);for(let o=0,w=U.length;o<w;o++){let w=new N(U[o]+"."+et[D.path],S.array,q,W);
7"CUBICSPLINE"===E.interpolation&&this._createCubicSplineTrackInterpolant(w),F.push(w)}return F}_getArrayFromAccessor(o){let S=o.array;if(o.normalized){let o=getNormalizedComponentScale(S.constructor),w=new Float32Array(S.length);for(let _=0,E=S.length;_<E;_++)w[_]=S[_]*o;S=w}return S}_createCubicSplineTrackInterpolant(o){o.createInterpolant=function(o){let S=this instanceof _.QuaternionKeyframeTrack?GLTFCubicSplineQuaternionInterpolant:GLTFCubicSplineInterpolant;return new S(this.times,this.values,this.getValueSize()/3,o)},o.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=!0}constructor(o={},S={}){this.json=o,this.extensions={},this.plugins={},this.options=S,this.cache=new GLTFRegistry,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let w=!1,E=-1,D=!1,N=-1;if("undefined"!=typeof navigator){let o=navigator.userAgent;w=!0===/^((?!chrome|android).)*safari/i.test(o);let S=o.match(/Version\/(\d+)/);E=w&&S?parseInt(S[1],10):-1,N=(D=o.indexOf("Firefox")>-1)?o.match(/Firefox\/([0-9]+)\./)[1]:-1}"undefined"==typeof createImageBitmap||w&&E<17||D&&N<98?this.textureLoader=new _.TextureLoader(this.options.manager):this.textureLoader=new _.ImageBitmapLoader(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new _.FileLoader(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),"use-credentials"===this.options.crossOrigin&&this.fileLoader.setWithCredentials(!0)}};function addPrimitiveAttributes(o,S,w){let E=S.attributes,D=[];for(let S in E){let _=Y[S]||S.toLowerCase();_ in o.attributes||D.push(function(S,_){return w.getDependency("accessor",S).then(function(S){o.setAttribute(_,S)})}(E[S],_))}if(void 0!==S.indices&&!o.index){let _=w.getDependency("accessor",S.indices).then(function(S){o.setIndex(S)});D.push(_)}return _.ColorManagement.workingColorSpace!==_.LinearSRGBColorSpace&&"COLOR_0"in E&&console.warn('THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "'.concat(_.ColorManagement.workingColorSpace,'" not supported.')),assignExtrasToUserData(o,S),!function(o,S,w){let E=S.attributes,D=new _.Box3;if(void 0===E.POSITION)return;{let o=w.json.accessors[E.POSITION],S=o.min,N=o.max;if(void 0!==S&&void 0!==N){if(D.set(new _.Vector3(S[0],S[1],S[2]),new _.Vector3(N[0],N[1],N[2])),o.normalized){let S=getNormalizedComponentScale(U[o.componentType]);D.min.multiplyScalar(S),D.max.multiplyScalar(S)}}else{console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");return}}let N=S.targets;if(void 0!==N){let o=new _.Vector3,S=new _.Vector3;for(let _=0,E=N.length;_<E;_++){let E=N[_];if(void 0!==E.POSITION){let _=w.json.accessors[E.POSITION],D=_.min,N=_.max;if(void 0!==D&&void 0!==N){if(S.setX(Math.max(Math.abs(D[0]),Math.abs(N[0]))),S.setY(Math.max(Math.abs(D[1]),Math.abs(N[1]))),S.setZ(Math.max(Math.abs(D[2]),Math.abs(N[2]))),_.normalized){let o=getNormalizedComponentScale(U[_.componentType]);S.multiplyScalar(o)}o.max(S)}else console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}D.expandByVector(o)}o.boundingBox=D;let F=new _.Sphere;D.getCenter(F.center),F.radius=D.min.distanceTo(D.max)/2,o.boundingSphere=F}(o,S,w),Promise.all(D).then(function(){return void 0!==S.targets?function(o,S,w){let _=!1,E=!1,D=!1;for(let o=0,w=S.length;o<w;o++){let w=S[o];
7if(void 0!==w.POSITION&&(_=!0),void 0!==w.NORMAL&&(E=!0),void 0!==w.COLOR_0&&(D=!0),_&&E&&D)break}if(!_&&!E&&!D)return Promise.resolve(o);let N=[],F=[],V=[];for(let U=0,W=S.length;U<W;U++){let W=S[U];if(_){let S=void 0!==W.POSITION?w.getDependency("accessor",W.POSITION):o.attributes.position;N.push(S)}if(E){let S=void 0!==W.NORMAL?w.getDependency("accessor",W.NORMAL):o.attributes.normal;F.push(S)}if(D){let S=void 0!==W.COLOR_0?w.getDependency("accessor",W.COLOR_0):o.attributes.color;V.push(S)}}return Promise.all([Promise.all(N),Promise.all(F),Promise.all(V)]).then(function(S){let w=S[0],N=S[1],F=S[2];return _&&(o.morphAttributes.position=w),E&&(o.morphAttributes.normal=N),D&&(o.morphAttributes.color=F),o.morphTargetsRelative=!0,o})}(o,S.targets,w):o})}},97498:function(o,S){"use strict";var w,_;Object.defineProperty(S,"__esModule",{value:!0}),function(o,S){for(var w in S)Object.defineProperty(o,w,{enumerable:!0,get:S[w]})}(S,{PrefetchKind:function(){return w},ACTION_REFRESH:function(){return E},ACTION_NAVIGATE:function(){return D},ACTION_RESTORE:function(){return N},ACTION_SERVER_PATCH:function(){return F},ACTION_PREFETCH:function(){return V},ACTION_FAST_REFRESH:function(){return U},ACTION_SERVER_ACTION:function(){return W}});let E="refresh",D="navigate",N="restore",F="server-patch",V="prefetch",U="fast-refresh",W="server-action";(_=w||(w={})).AUTO="auto",_.FULL="full",_.TEMPORARY="temporary",("function"==typeof S.default||"object"==typeof S.default&&null!==S.default)&&void 0===S.default.__esModule&&(Object.defineProperty(S.default,"__esModule",{value:!0}),Object.assign(S.default,S),o.exports=S.default)},10030:function(o,S,w){"use strict";function getDomainLocale(o,S,w,_){return!1}Object.defineProperty(S,"__esModule",{value:!0}),Object.defineProperty(S,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}}),w(22866),("function"==typeof S.default||"object"==typeof S.default&&null!==S.default)&&void 0===S.default.__esModule&&(Object.defineProperty(S.default,"__esModule",{value:!0}),Object.assign(S.default,S),o.exports=S.default)},65170:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),Object.defineProperty(S,"default",{enumerable:!0,get:function(){return ea}});let _=w(38754),E=_._(w(67294)),D=w(74450),N=w(92227),F=w(64364),V=w(10109),U=w(73607),W=w(11823),q=w(89031),Q=w(40920),Y=w(10030),et=w(77192),en=w(97498),er=new Set;function prefetch(o,S,w,_,E,D){if(!D&&!(0,N.isLocalURL)(S))return;if(!_.bypassPrefetchedCheck){let E=void 0!==_.locale?_.locale:"locale"in o?o.locale:void 0,D=S+"%"+w+"%"+E;if(er.has(D))return;er.add(D)}let F=D?o.prefetch(S,E):o.prefetch(S,w,_);Promise.resolve(F).catch(o=>{})}function formatStringOrUrl(o){return"string"==typeof o?o:(0,F.formatUrl)(o)}let eo=E.default.forwardRef(function(o,S){let w,_;let{href:F,as:er,children:eo,prefetch:ea=null,passHref:es,replace:el,shallow:eu,scroll:ec,locale:ed,onClick:ep,onMouseEnter:eh,onTouchStart:em,legacyBehavior:eg=!1,...ev}=o;w=eo,eg&&("string"==typeof w||"number"==typeof w)&&(w=E.default.createElement("a",null,w));let ey=E.default.useContext(W.RouterContext),eb=E.default.useContext(q.AppRouterContext),eS=null!=ey?ey:eb,ex=!ey,ew=!1!==ea,e_=null===ea?en.PrefetchKind.AUTO:en.PrefetchKind.FULL,{href:eE,as:eT}=E.default.useMemo(()=>{if(!ey){let o=formatStringOrUrl(F);return{href:o,as:er?formatStringOrUrl(er):o}}let[o,S]=(0,D.resolveHref)(ey,F,!0);return{href:o,as:er?(0,D.resolveHref)(ey,er):S||o}},[ey,F,er]),eP=E.default.useRef(eE),eC=E.default.useRef(eT);eg&&(_=E.default.Children.only(w));let ek=eg?_&&"object"==typeof _&&_.ref:S,[eO,eR,eA]=(0,Q.useIntersection)({rootMargin:"200px"}),eM=E.default.useCallback(o=>{(eC.current!==eT||eP.current!==eE)&&(eA(),eC.current=eT,eP.current=eE),eO(o),ek&&("function"==typeof ek?ek(o):"object"==typeof ek&&(ek.current=o))},[eT,ek,eE,eA,eO]);E.default.useEffect(()=>{eS&&eR&&ew&&prefetch(eS,eE,eT,{locale:ed},{kind:e_},ex)},[eT,eE,eR,ed,ew,null==ey?void 0:ey.locale,eS,ex,e_]);let ej={ref:eM,onClick(o){eg||"function"!=typeof ep||ep(o),eg&&_.props&&"function"==typeof _.props.onClick&&_.props.onClick(o),eS&&!o.defaultPrevented&&function(o,S,w,_,D,F,V,U,W,q){let{nodeName:Q}=o.currentTarget,Y="A"===Q.toUpperCase();if(Y&&(function(o){let S=o.currentTarget,w=S.getAttribute("target");return w&&"_self"!==w||o.metaKey||o.ctrlKey||o.shiftKey||o.altKey||o.nativeEvent&&2===o.nativeEvent.which}(o)||!W&&!(0,N.isLocalURL)(w)))return;o.preventDefault();let navigate=()=>{let o=null==V||V;"beforePopState"in S?S[D?"replace":"push"](w,_,{shallow:F,locale:U,scroll:o}):S[D?"replace":"push"](_||w,{forceOptimisticNavigation:!q,scroll:o})};W?E.default.startTransition(navigate):navigate()}(o,eS,eE,eT,el,eu,ec,ed,ex,ew)},onMouseEnter(o){eg||"function"!=typeof eh||eh(o),eg&&_.props&&"function"==typeof _.props.onMouseEnter&&_.props.onMouseEnter(o),eS&&(ew||!ex)&&prefetch(eS,eE,eT,{locale:ed,priority:!0,bypassPrefetchedCheck:!0},{kind:e_},ex)},onTouchStart(o){eg||"function"!=typeof em||em(o),eg&&_.props&&"function"==typeof _.props.onTouchStart&&_.props.onTouchStart(o),eS&&(ew||!ex)&&prefetch(eS,eE,eT,{locale:ed,priority:!0,bypassPrefetchedCheck:!0},{kind:e_},ex)}};if((0,V.isAbsoluteUrl)(eT))ej.href=eT;else if(!eg||es||"a"===_.type&&!("href"in _.props)){let o=void 0!==ed?ed:null==ey?void 0:ey.locale,S=(null==ey?void 0:ey.isLocaleDomain)&&(0,Y.getDomainLocale)(eT,o,null==ey?void 0:ey.locales,null==ey?void 0:ey.domainLocales);ej.href=S||(0,et.addBasePath)((0,U.addLocale)(eT,o,null==ey?void 0:ey.defaultLocale))}return eg?E.default.cloneElement(_,ej):E.default.createElement("a",{...ev,...ej},w)}),ea=eo;("function"==typeof S.default||"object"==typeof S.default&&null!==S.default)&&void 0===S.default.__esModule&&(Object.defineProperty(S.default,"__esMo
7dule",{value:!0}),Object.assign(S.default,S),o.exports=S.default)},40920:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),Object.defineProperty(S,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let _=w(67294),E=w(63436),D="function"==typeof IntersectionObserver,N=new Map,F=[];function useIntersection(o){let{rootRef:S,rootMargin:w,disabled:V}=o,U=V||!D,[W,q]=(0,_.useState)(!1),Q=(0,_.useRef)(null),Y=(0,_.useCallback)(o=>{Q.current=o},[]);(0,_.useEffect)(()=>{if(D){if(U||W)return;let o=Q.current;if(o&&o.tagName){let _=function(o,S,w){let{id:_,observer:E,elements:D}=function(o){let S;let w={root:o.root||null,margin:o.rootMargin||""},_=F.find(o=>o.root===w.root&&o.margin===w.margin);if(_&&(S=N.get(_)))return S;let E=new Map,D=new IntersectionObserver(o=>{o.forEach(o=>{let S=E.get(o.target),w=o.isIntersecting||o.intersectionRatio>0;S&&w&&S(w)})},o);return S={id:w,observer:D,elements:E},F.push(w),N.set(w,S),S}(w);return D.set(o,S),E.observe(o),function(){if(D.delete(o),E.unobserve(o),0===D.size){E.disconnect(),N.delete(_);let o=F.findIndex(o=>o.root===_.root&&o.margin===_.margin);o>-1&&F.splice(o,1)}}}(o,o=>o&&q(o),{root:null==S?void 0:S.current,rootMargin:w});return _}}else if(!W){let o=(0,E.requestIdleCallback)(()=>q(!0));return()=>(0,E.cancelIdleCallback)(o)}},[U,w,S,W,Q.current]);let et=(0,_.useCallback)(()=>{q(!1)},[]);return[Y,W,et]}("function"==typeof S.default||"object"==typeof S.default&&null!==S.default)&&void 0===S.default.__esModule&&(Object.defineProperty(S.default,"__esModule",{value:!0}),Object.assign(S.default,S),o.exports=S.default)},1342:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),function(o,S){for(var w in S)Object.defineProperty(o,w,{enumerable:!0,get:S[w]})}(S,{noSSR:function(){return noSSR},default:function(){return dynamic}});let _=w(38754),E=(w(67294),_._(w(24304)));function convertModule(o){return{default:(null==o?void 0:o.default)||o}}function noSSR(o,S){return delete S.webpack,delete S.modules,o(S)}function dynamic(o,S){let w=E.default,_={loading:o=>{let{error:S,isLoading:w,pastDelay:_}=o;return null}};o instanceof Promise?_.loader=()=>o:"function"==typeof o?_.loader=o:"object"==typeof o&&(_={..._,...o}),_={..._,...S};let D=_.loader;return(_.loadableGenerated&&(_={..._,..._.loadableGenerated},delete _.loadableGenerated),"boolean"!=typeof _.ssr||_.ssr)?w({..._,loader:()=>null!=D?D().then(convertModule):Promise.resolve(convertModule(()=>null))}):(delete _.webpack,delete _.modules,noSSR(w,_))}("function"==typeof S.default||"object"==typeof S.default&&null!==S.default)&&void 0===S.default.__esModule&&(Object.defineProperty(S.default,"__esModule",{value:!0}),Object.assign(S.default,S),o.exports=S.default)},30043:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),Object.defineProperty(S,"LoadableContext",{enumerable:!0,get:function(){return D}});let _=w(38754),E=_._(w(67294)),D=E.default.createContext(null)},24304:function(o,S,w){"use strict";/** 8@copyright (c) 2017-present James Kyle <[email protected]> 9 MIT License 10 Permission is hereby granted, free of charge, to any person obtaining 11a copy of this software and associated documentation files (the 12"Software"), to deal in the Software without restriction, including 13without limitation the rights to use, copy, modify, merge, publish, 14distribute, sublicense, and/or sell copies of the Software, and to 15permit persons to whom the Software is furnished to do so, subject to 16the following conditions: 17 The above copyright notice and this permission notice shall be 18included in all copies or substantial portions of the Software. 19 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 20EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 22NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 23LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 24OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 25WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE 26*/Object.defineProperty(S,"__esModule",{value:!0}),Object.defineProperty(S,"default",{enumerable:!0,get:function(){return U}});let _=w(38754),E=_._(w(67294)),D=w(30043),N=[],F=[],V=!1;function load(o){let S=o(),w={loading:!0,loaded:null,error:null};return w.promise=S.then(o=>(w.loading=!1,w.loaded=o,o)).catch(o=>{throw w.loading=!1,w.error=o,o}),w}let LoadableSubscription=class LoadableSubscription{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:o,_opts:S}=this;o.loading&&("number"==typeof S.delay&&(0===S.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},S.delay)),"number"==typeof S.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},S.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(o=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(o){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...o},this._callbacks.forEach(o=>o())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(o){return this._callbacks.add(o),()=>{this._callbacks.delete(o)}}constructor(o,S){this._loadFn=o,this._opts=S,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}};function Loadable(o){return function(o,S){let w=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},S),_=null;
26function init(){if(!_){let S=new LoadableSubscription(o,w);_={getCurrentValue:S.getCurrentValue.bind(S),subscribe:S.subscribe.bind(S),retry:S.retry.bind(S),promise:S.promise.bind(S)}}return _.promise()}if(!V){let o=w.webpack?w.webpack():w.modules;o&&F.push(S=>{for(let w of o)if(S.includes(w))return init()})}function LoadableComponent(o,S){!function(){init();let o=E.default.useContext(D.LoadableContext);o&&Array.isArray(w.modules)&&w.modules.forEach(S=>{o(S)})}();let N=E.default.useSyncExternalStore(_.subscribe,_.getCurrentValue,_.getCurrentValue);return E.default.useImperativeHandle(S,()=>({retry:_.retry}),[]),E.default.useMemo(()=>{var S;return N.loading||N.error?E.default.createElement(w.loading,{isLoading:N.loading,pastDelay:N.pastDelay,timedOut:N.timedOut,error:N.error,retry:_.retry}):N.loaded?E.default.createElement((S=N.loaded)&&S.default?S.default:S,o):null},[o,N])}return LoadableComponent.preload=()=>init(),LoadableComponent.displayName="LoadableComponent",E.default.forwardRef(LoadableComponent)}(load,o)}function flushInitializers(o,S){let w=[];for(;o.length;){let _=o.pop();w.push(_(S))}return Promise.all(w).then(()=>{if(o.length)return flushInitializers(o,S)})}Loadable.preloadAll=()=>new Promise((o,S)=>{flushInitializers(N).then(o,S)}),Loadable.preloadReady=o=>(void 0===o&&(o=[]),new Promise(S=>{let res=()=>(V=!0,S());flushInitializers(F,o).then(res,res)})),window.__NEXT_PRELOADREADY=Loadable.preloadReady;let U=Loadable},5152:function(o,S,w){o.exports=w(1342)},41664:function(o,S,w){o.exports=w(65170)},4391:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(){for(var o=arguments.length,S=Array(o),w=0;w<o;w++)S[w]=arguments[w];return(0,E.default)(function(){for(var o=arguments.length,w=Array(o),_=0;_<o;_++)w[_]=arguments[_];var E=null;return S.forEach(function(o){if(null==E){var S=o.apply(void 0,w);null!=S&&(E=S)}}),E})};var _,E=(_=w(82613))&&_.__esModule?_:{default:_};o.exports=S.default},82613:function(o,S){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(o){function checkType(S,w,_,E,D,N){var F=E||"<<anonymous>>",V=N||_;if(null==w[_])return S?Error("Required "+D+" `"+V+"` was not specified in `"+F+"`."):null;for(var U=arguments.length,W=Array(U>6?U-6:0),q=6;q<U;q++)W[q-6]=arguments[q];return o.apply(void 0,[w,_,F,D,V].concat(W))}var S=checkType.bind(null,!1);return S.isRequired=checkType.bind(null,!0),S},o.exports=S.default},92703:function(o,S,w){"use strict";var _=w(50414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,o.exports=function(){function shim(o,S,w,E,D,N){if(N!==_){var F=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}}function getShim(){return shim}shim.isRequired=shim;var o={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return o.PropTypes=o,o}},45697:function(o,S,w){o.exports=w(92703)()},50414:function(o){"use strict";o.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},76695:function(o,S,w){"use strict";w.d(S,{Z:function(){return et}});var _=w(67294),E=w(78146),D=w(45697),N=w.n(D),F=w(94184),V=w.n(F),U=w(85893);let W={"aria-label":N().string,onClick:N().func,variant:N().oneOf(["white"])},q=_.forwardRef(({className:o,variant:S,...w},_)=>(0,U.jsx)("button",{ref:_,type:"button",className:V()("btn-close",S&&`btn-close-${S}`,o),...w}));q.displayName="CloseButton",q.propTypes=W,q.defaultProps={"aria-label":"Close"};var Q=w(36467);let Y=_.forwardRef(({closeLabel:o,closeVariant:S,closeButton:w,onHide:D,children:N,...F},V)=>{let W=(0,_.useContext)(Q.Z),Y=(0,E.Z)(()=>{null==W||W.onHide(),null==D||D()});return(0,U.jsxs)("div",{ref:V,...F,children:[N,w&&(0,U.jsx)(q,{"aria-label":o,variant:S,onClick:Y})]})});Y.defaultProps={closeLabel:"Close",closeButton:!1};var et=Y},89673:function(o,S,w){"use strict";let _;w.d(S,{Z:function(){return V},t:function(){return getSharedManager}});var E=w(91505),D=w(60930);function replaceClassName(o,S){return o.replace(RegExp("(^|\\s)"+S+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var N=w(88083);let F={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};let BootstrapModalManager=class BootstrapModalManager extends N.Z{adjustAndStore(o,S,w){let _=S.style[o];S.dataset[o]=_,(0,E.Z)(S,{[o]:`${parseFloat((0,E.Z)(S,o))+w}px`})}restore(o,S){let w=S.dataset[o];void 0!==w&&(delete S.dataset[o],(0,E.Z)(S,{[o]:w}))}setContainerStyle(o){var S,w;super.setContainerStyle(o);let _=this.getElement();if(w="modal-open",(S=_).classList?S.classList.add(w):(S.classList?w&&S.classList.contains(w):-1!==(" "+(S.className.baseVal||S.className)+" ").indexOf(" "+w+" "))||("string"==typeof S.className?S.className=S.className+" "+w:S.setAttribute("class",(S.className&&S.className.baseVal||"")+" "+w)),!o.scrollBarWidth)return;let E=this.isRTL?"paddingLeft":"paddingRight",N=this.isRTL?"marginLeft":"marginRight";(0,D.Z)(_,F.FIXED_CONTENT).forEach(S=>this.adjustAndStore(E,S,o.scrollBarWidth)),(0,D.Z)(_,F.STICKY_CONTENT).forEach(S=>this.adjustAndStore(N,S,-o.scrollBarWidth)),(0,D.Z)(_,F.NAVBAR_TOGGLER).forEac
26h(S=>this.adjustAndStore(N,S,o.scrollBarWidth))}removeContainerStyle(o){var S;super.removeContainerStyle(o);let w=this.getElement();S="modal-open",w.classList?w.classList.remove(S):"string"==typeof w.className?w.className=replaceClassName(w.className,S):w.setAttribute("class",replaceClassName(w.className&&w.className.baseVal||"",S));let _=this.isRTL?"paddingLeft":"paddingRight",E=this.isRTL?"marginLeft":"marginRight";(0,D.Z)(w,F.FIXED_CONTENT).forEach(o=>this.restore(_,o)),(0,D.Z)(w,F.STICKY_CONTENT).forEach(o=>this.restore(E,o)),(0,D.Z)(w,F.NAVBAR_TOGGLER).forEach(o=>this.restore(E,o))}};function getSharedManager(o){return _||(_=new BootstrapModalManager(o)),_}var V=BootstrapModalManager},35005:function(o,S,w){"use strict";var _=w(94184),E=w.n(_),D=w(67294),N=w(70861),F=w(76792),V=w(85893);let U=D.forwardRef(({as:o,bsPrefix:S,variant:w,size:_,active:D,className:U,...W},q)=>{let Q=(0,F.vE)(S,"btn"),[Y,{tagName:et}]=(0,N.FT)({tagName:o,...W});return(0,V.jsx)(et,{...Y,...W,ref:q,className:E()(U,Q,D&&"active",w&&`${Q}-${w}`,_&&`${Q}-${_}`,W.href&&W.disabled&&"disabled")})});U.displayName="Button",U.defaultProps={variant:"primary",active:!1,disabled:!1},S.Z=U},31555:function(o,S,w){"use strict";var _=w(94184),E=w.n(_),D=w(67294),N=w(76792),F=w(85893);let V=D.forwardRef((o,S)=>{let[{className:w,..._},{as:D="div",bsPrefix:V,spans:U}]=function({as:o,bsPrefix:S,className:w,..._}){S=(0,N.vE)(S,"col");let D=(0,N.pi)(),F=(0,N.zG)(),V=[],U=[];return D.forEach(o=>{let w,E,D;let N=_[o];delete _[o],"object"==typeof N&&null!=N?{span:w,offset:E,order:D}=N:w=N;let W=o!==F?`-${o}`:"";w&&V.push(!0===w?`${S}${W}`:`${S}${W}-${w}`),null!=D&&U.push(`order${W}-${D}`),null!=E&&U.push(`offset${W}-${E}`)}),[{..._,className:E()(w,...V,...U)},{as:o,bsPrefix:S,spans:V}]}(o);return(0,F.jsx)(D,{..._,ref:S,className:E()(w,!U.length&&V)})});V.displayName="Col",S.Z=V},16518:function(o,S,w){"use strict";w.d(S,{Z:function(){return en}});var _=w(94184),E=w.n(_),D=w(91505),N=w(67294),F=w(26273),V=w(93825),esm_createChainedFunction=function(...o){return o.filter(o=>null!=o).reduce((o,S)=>{if("function"!=typeof S)throw Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===o?S:function(...w){o.apply(this,w),S.apply(this,w)}},null)},U=w(34509),W=w(32785),q=w(85893);let Q={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function getDefaultDimensionValue(o,S){let w=`offset${o[0].toUpperCase()}${o.slice(1)}`,_=S[w],E=Q[o];return _+parseInt((0,D.Z)(S,E[0]),10)+parseInt((0,D.Z)(S,E[1]),10)}let Y={[F.Wj]:"collapse",[F.Ix]:"collapsing",[F.d0]:"collapsing",[F.cn]:"collapse show"},et=N.forwardRef(({onEnter:o,onEntering:S,onEntered:w,onExit:_,onExiting:D,className:F,children:Q,dimension:et="height",getDimensionValue:en=getDefaultDimensionValue,...er},eo)=>{let ea="function"==typeof et?et():et,es=(0,N.useMemo)(()=>esm_createChainedFunction(o=>{o.style[ea]="0"},o),[ea,o]),el=(0,N.useMemo)(()=>esm_createChainedFunction(o=>{let S=`scroll${ea[0].toUpperCase()}${ea.slice(1)}`;o.style[ea]=`${o[S]}px`},S),[ea,S]),eu=(0,N.useMemo)(()=>esm_createChainedFunction(o=>{o.style[ea]=null},w),[ea,w]),ec=(0,N.useMemo)(()=>esm_createChainedFunction(o=>{o.style[ea]=`${en(ea,o)}px`,(0,U.Z)(o)},_),[_,en,ea]),ed=(0,N.useMemo)(()=>esm_createChainedFunction(o=>{o.style[ea]=null},D),[ea,D]);return(0,q.jsx)(W.Z,{ref:eo,addEndListener:V.Z,...er,"aria-expanded":er.role?er.in:null,onEnter:es,onEntering:el,onEntered:eu,onExit:ec,onExiting:ed,childRef:Q.ref,children:(o,S)=>N.cloneElement(Q,{...S,className:E()(F,Q.props.className,Y[o],"width"===ea&&"collapse-horizontal")})})});et.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:getDefaultDimensionValue};var en=et},10682:function(o,S,w){"use strict";var _=w(94184),E=w.n(_),D=w(67294),N=w(76792),F=w(85893);let V=D.forwardRef(({bsPrefix:o,fluid:S,as:w="div",className:_,...D},V)=>{let U=(0,N.vE)(o,"container"),W="string"==typeof S?`-${S}`:"-fluid";return(0,F.jsx)(w,{ref:V,...D,className:E()(_,S?`${U}${W}`:U)})});V.displayName="Container",V.defaultProps={fluid:!1},S.Z=V},41068:function(o,S,w){"use strict";var _=w(94184),E=w.n(_),D=w(67294),N=w(26273),F=w(93825),V=w(34509),U=w(32785),W=w(85893);let q={[N.d0]:"show",[N.cn]:"show"},Q=D.forwardRef(({className:o,children:S,transitionClasses:w={},..._},N)=>{let Q=(0,D.useCallback)((o,S)=>{(0,V.Z)(o),null==_.onEnter||_.onEnter(o,S)},[_]);return(0,W.jsx)(U.Z,{ref:N,addEndListener:F.Z,..._,onEnter:Q,childRef:S.ref,children:(_,N)=>D.cloneElement(S,{...N,className:E()("fade",o,S.props.className,q[_],w[_])})})});Q.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},Q.displayName="Fade",S.Z=Q},2914:function(o,S,w){"use strict";w.d(S,{Z:function(){return eS}});var _=w(94184),E=w.n(_),D=w(45697),N=w.n(D),F=w(67294),V=w(85893);let U={type:N().string,tooltip:N().bool,as:N().elementType},W=F.forwardRef(({as:o="div",className:S,type:w="valid",tooltip:_=!1,...D},N)=>(0,V.jsx)(o,{...D,ref:N,className:E()(S,`${w}-${_?"tooltip":"feedback"}`)}));W.displayName="Feedback",W.propTypes=U;let q=F.createContext({});var Q=w(76792);let Y=F.forwardRef(({id:o,bsPrefix:S,className:w,type:_="checkbox",isValid:D=!1,isInvalid:N=!1,as:U="input",...W},Y)=>{let{controlId:et}=(0,F.useContext)(q);return S=(0,Q.vE)(S,"form-check-input"),(0,V.jsx)(U,{...W,ref:Y,type:_,id:o||et,className:E()(w,S,D&&"is-valid",N&&"is-invalid")})});Y.displayName="FormCheckInput";let et=F.forwardRef(({bsPrefix:o,className:S,htmlFor:w,..._},D)=>{let{controlId:N}=(0,F.useContext)(q);return o=(0,Q.vE)(o,"form-check-label"),(0,V.jsx)("label",{..._,ref:D,htmlFor:w||N,className:E()(S,o)})});et.displayName="FormCheckLabel";let en=F.forwardRef(({id:o,bsPrefix:S,bsSwitchPrefix:w,inline:_=!1,reverse:D=!1,disabled:N=!1,isValid:U=!1,isInvalid:en=!1,feedbackTooltip:er=!1,feedback:eo,feedbackType:ea,className:es,style:el,title:eu="",type:ec="checkbox",label:ed,children:ep,as:eh="input",...em},eg)=>{S=(0,Q.vE)(S,"form-check"),w=(0,Q.vE)(w,"form-switch");let{controlId:ev}=(0,F.useContext)(q),ey=(0,F.useMemo)(()=>({controlId:o||ev}),[ev,o]),eb=!ep&&null!=ed&&!1!==ed||F.Children.toArray(ep).some(o=>F.isValidElement(o)&&o.type===et),eS=(0,V.jsx)(Y,{...em,type:"switch"===ec?"checkbox":ec,ref:eg,isValid:U,isInvalid:en,disabled:N,as:eh});return(0,V.jsx)(q.Provider,{value:ey,children:(0,V.jsx)("div",{style:el,className:E()(es,eb&&S,_&&`${S}-inline`,D&&`${S}-reverse`,"switch"===ec&&w),children:ep||(0,V.jsxs)(V.Fragment,{children:[eS,eb&&(0,V.jsx)(et,{title:eu,children:ed}),eo&&(0,V.jsx)(W,{type:ea,tooltip:er,children:eo})]})})})});en.displayName="FormCheck";var er=Object.assign(en,{Input:Y,Label:et});w(42473);let eo=F.forwardRef(({bsPrefix:o,type:S,size:w,htmlSize:_,id:D,className:N,isValid:U=!1,isInvalid:W=!1,plaintext:Y,readOnly:et,as:en="input",...er},eo)=>{let ea;let{controlId:es}=(0,F.useContext)(q);return o=(0,Q.vE)(o,"form-control"),ea=Y?{[`${o}-plaintext`]:!0}:{[o]:!0,[`${o}-${w}`]:w},(0,V.jsx)(en,{...er,type:S,size:_,ref:eo,readOnly:et,id:D||es,className:E()(N,ea,U&&"is-valid",W&&"is-invalid","color"===S&&`${o}-color`)})});eo.displayName="FormControl";var ea=Object.assign(eo,{Feedback:W}),es=(0,w(66611).Z)("form-floating");let el=F.forwardRef(({controlId:o,as:S="div",...w},_)=>{let E=(0,F.useMemo)(()=>({controlId:o}),[o]);return(0,V.jsx)(q.Provider,{value:E,children:(0,V.jsx)(S,{...w,ref:_})})});el.displayName="FormGroup";var eu=w(31555);let ec=F.forwardRef(({as:o="label",bsPrefix:S,column:w,visuallyHidden:_,className:D,htmlFor:N,...U},W)=>{let{controlId:Y}=(0,F.useContext)(q);S=(0,Q.vE)(S,"form-label");let et="col-form-label";"string"==typeof w&&(et=`${et} ${et}-${w}`);let en=E()(D,S,_&&"visually-hidden",w&&et);return(N=N||Y,w)?(0,V.jsx)(eu.Z,{ref:W,as:"label",className:en,htmlFor:N,...U}):(0,V.jsx)(o,{ref:W,className:en,htmlFor:N,...U})});ec.displayName="FormLabel",ec.defaultProps={column:!1,visuallyHidden:!1};let ed=F.forwardRef(({bsPrefix:o,className:S,id:w,..._},D)=>{let{controlId:N}=(0,F.useContext)(q);return o=(0,Q.vE)(o,"form-range"),(0,V.jsx)("input",{..._,type:"range",ref:D,className:E()(S,o),id:w||N})});ed.displayName="FormRange";let ep=F.forwardRef(({bsPrefix:o,size:S,htmlSize:w,className:_,isValid:D=!1,isInvalid:N=!1,id:U,...W},Y)=>{let{controlId:et}=(0,F.useContext)(q);return o=(0,Q.vE)(o,"form-select"),(0,V.jsx)("select",{...W,size:w,ref:Y,className:E()(_,o,S&&`${o}-${S}`,D&&"is-valid",N&&"is-invalid"),id:U||et})});ep.displayName="FormSelect";let eh=F.forwardRef(({bsPrefix:o,className:S,as:w="small",muted:_,...D},N)=>
26(o=(0,Q.vE)(o,"form-text"),(0,V.jsx)(w,{...D,ref:N,className:E()(S,o,_&&"text-muted")})));eh.displayName="FormText";let em=F.forwardRef((o,S)=>(0,V.jsx)(er,{...o,ref:S,type:"switch"}));em.displayName="Switch";var eg=Object.assign(em,{Input:er.Input,Label:er.Label});let ev=F.forwardRef(({bsPrefix:o,className:S,children:w,controlId:_,label:D,...N},F)=>(o=(0,Q.vE)(o,"form-floating"),(0,V.jsxs)(el,{ref:F,className:E()(S,o),controlId:_,...N,children:[w,(0,V.jsx)("label",{htmlFor:_,children:D})]})));ev.displayName="FloatingLabel";let ey={_ref:N().any,validated:N().bool,as:N().elementType},eb=F.forwardRef(({className:o,validated:S,as:w="form",..._},D)=>(0,V.jsx)(w,{..._,ref:D,className:E()(o,S&&"was-validated")}));eb.displayName="Form",eb.propTypes=ey;var eS=Object.assign(eb,{Group:el,Control:ea,Floating:es,Check:er,Switch:eg,Label:ec,Text:eh,Range:ed,Select:ep,FloatingLabel:ev})},30343:function(o,S,w){"use strict";w.d(S,{Z:function(){return ex}});var _,E=w(94184),D=w.n(E),N=w(9351),F=w(23004),V=w(67216),U=w(30099);function scrollbarSize(o){if((!_&&0!==_||o)&&F.Z){var S=document.createElement("div");S.style.position="absolute",S.style.top="-9999px",S.style.width="50px",S.style.height="50px",S.style.overflow="scroll",document.body.appendChild(S),_=S.offsetWidth-S.clientWidth,document.body.removeChild(S)}return _}var W=w(32092),q=w(78146),Q=w(35654),Y=w(76852),et=w(94305),en=w(67294),er=w(81970),eo=w(89673),ea=w(41068),es=w(12053),el=w(36467),eu=w(76792),ec=w(85893);let ed=en.forwardRef(({bsPrefix:o,className:S,contentClassName:w,centered:_,size:E,fullscreen:N,children:F,scrollable:V,...U},W)=>{o=(0,eu.vE)(o,"modal");let q=`${o}-dialog`,Q="string"==typeof N?`${o}-fullscreen-${N}`:`${o}-fullscreen`;return(0,ec.jsx)("div",{...U,ref:W,className:D()(q,S,E&&`${o}-${E}`,_&&`${q}-centered`,V&&`${q}-scrollable`,N&&Q),children:(0,ec.jsx)("div",{className:D()(`${o}-content`,w),children:F})})});ed.displayName="ModalDialog";var ep=w(66611),eh=(0,ep.Z)("modal-footer"),em=w(76695);let eg=en.forwardRef(({bsPrefix:o,className:S,...w},_)=>(o=(0,eu.vE)(o,"modal-header"),(0,ec.jsx)(em.Z,{ref:_,...w,className:D()(S,o)})));eg.displayName="ModalHeader",eg.defaultProps={closeLabel:"Close",closeButton:!1};var ev=w(39602);let ey=(0,ev.Z)("h4");var eb=(0,ep.Z)("modal-title",{Component:ey});function DialogTransition(o){return(0,ec.jsx)(ea.Z,{...o,timeout:null})}function BackdropTransition(o){return(0,ec.jsx)(ea.Z,{...o,timeout:null})}let eS=en.forwardRef(({bsPrefix:o,className:S,style:w,dialogClassName:_,contentClassName:E,children:ea,dialogAs:es,"aria-labelledby":ed,"aria-describedby":ep,"aria-label":eh,show:em,animation:eg,backdrop:ev,keyboard:ey,onEscapeKeyDown:eb,onShow:eS,onHide:ex,container:ew,autoFocus:e_,enforceFocus:eE,restoreFocus:eT,restoreFocusOptions:eP,onEntered:eC,onExit:ek,onExiting:eO,onEnter:eR,onEntering:eA,onExited:eM,backdropClassName:ej,manager:eL,...eI},eD)=>{let[eN,eF]=(0,en.useState)({}),[eV,ez]=(0,en.useState)(!1),eB=(0,en.useRef)(!1),eU=(0,en.useRef)(!1),eH=(0,en.useRef)(null),[e$,eW]=(0,W.Z)(),eZ=(0,Q.Z)(eD,eW),eG=(0,q.Z)(ex),eq=(0,eu.SC)();o=(0,eu.vE)(o,"modal");let eK=(0,en.useMemo)(()=>({onHide:eG}),[eG]);function getModalManager(){return eL||(0,eo.t)({isRTL:eq})}function updateDialogStyle(o){if(!F.Z)return;let S=getModalManager().getScrollbarWidth()>0,w=o.scrollHeight>(0,V.Z)(o).documentElement.clientHeight;eF({paddingRight:S&&!w?scrollbarSize():void 0,paddingLeft:!S&&w?scrollbarSize():void 0})}let eX=(0,q.Z)(()=>{e$&&updateDialogStyle(e$.dialog)});(0,Y.Z)(()=>{(0,U.Z)(window,"resize",eX),null==eH.current||eH.current()});let handleDialogMouseDown=()=>{eB.current=!0},handleMouseUp=o=>{eB.current&&e$&&o.target===e$.dialog&&(eU.current=!0),eB.current=!1},handleStaticModalAnimation=()=>{ez(!0),eH.current=(0,et.Z)(e$.dialog,()=>{ez(!1)})},handleStaticBackdropClick=o=>{o.target===o.currentTarget&&handleStaticModalAnimation()},handleClick=o=>{if("static"===ev){handleStaticBackdropClick(o);return}if(eU.current||o.target!==o.currentTarget){eU.current=!1;return}null==ex||ex()},eQ=(0,en.useCallback)(S=>(0,ec.jsx)("div",{...S,className:D()(`${o}-backdrop`,ej,!eg&&"show")}),[eg,ej,o]),eY={...w,...eN};return eY.display="block",(0,ec.jsx)(el.Z.Provider,{value:eK,children:(0,ec.jsx)(er.Z,{show:em,ref:eZ,backdrop:ev,container:ew,keyboard:!0,autoFocus:e_,enforceFocus:eE,restoreFocus:eT,restoreFocusOptions:eP,onEscapeKeyDown:o=>{ey?null==eb||eb(o):(o.preventDefault(),"static"===ev&&handleStaticModalAnimation())},onShow:eS,onHide:ex,onEnter:(o,S)=>{o&&updateDialogStyle(o),null==eR||eR(o,S)},onEntering:(o,S)=>{null==eA||eA(o,S),(0,N.ZP)(window,"resize",eX)},onEntered:eC,onExit:o=>{null==eH.current||eH.current(),null==ek||ek(o)},onExiting:eO,onExited:o=>{o&&(o.style.display=""),null==eM||eM(o),(0,U.Z)(window,"resize",eX)},manager:getModalManager(),transition:eg?DialogTransition:void 0,backdropTransition:eg?BackdropTransition:void 0,renderBackdrop:eQ,renderDialog:w=>(0,ec.jsx)("div",{role:"dialog",...w,style:eY,className:D()(S,o,eV&&`${o}-static`,!eg&&"show"),onClick:ev?handleClick:void 0,onMouseUp:handleMouseUp,"aria-label":eh,"aria-labelledby":ed,"aria-describedby":ep,children:(0,ec.jsx)(es,{...eI,onMouseDown:handleDialogMouseDown,className:_,contentClassName:E,
26children:ea})})})})});eS.displayName="Modal",eS.defaultProps={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:ed};var ex=Object.assign(eS,{Body:es.Z,Header:eg,Title:eb,Footer:eh,Dialog:ed,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},12053:function(o,S,w){"use strict";var _=w(66611);S.Z=(0,_.Z)("modal-body")},36467:function(o,S,w){"use strict";var _=w(67294);let E=_.createContext({onHide(){}});S.Z=E},9368:function(o,S,w){"use strict";w.d(S,{Z:function(){return em}});var _=w(94184),E=w.n(_);w(4391);var D=w(67294),N=w(15446),F=w(60930),V=w(14357),U=w(35654),W=w(86056),q=w(87126),Q=w(76626),Y=w(52747),et=w(73716),en=w(85893);let er=["as","onSelect","activeKey","role","onKeyDown"],noop=()=>{},eo=(0,Y.PB)("event-key"),ea=D.forwardRef((o,S)=>{let w,_,{as:E="div",onSelect:N,activeKey:et,role:ea,onKeyDown:es}=o,el=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,er),eu=(0,V.Z)(),ec=(0,D.useRef)(!1),ed=(0,D.useContext)(q.Z),ep=(0,D.useContext)(Q.Z);ep&&(ea=ea||"tablist",et=ep.activeKey,w=ep.getControlledId,_=ep.getControllerId);let eh=(0,D.useRef)(null),getNextActiveTab=o=>{let S=eh.current;if(!S)return null;let w=(0,F.Z)(S,`[${eo}]:not([aria-disabled=true])`),_=S.querySelector("[aria-selected=true]");if(!_||_!==document.activeElement)return null;let E=w.indexOf(_);if(-1===E)return null;let D=E+o;return D>=w.length&&(D=0),D<0&&(D=w.length-1),w[D]},handleSelect=(o,S)=>{null!=o&&(null==N||N(o,S),null==ed||ed(o,S))};(0,D.useEffect)(()=>{if(eh.current&&ec.current){let o=eh.current.querySelector(`[${eo}][aria-selected=true]`);null==o||o.focus()}ec.current=!1});let em=(0,U.Z)(S,eh);return(0,en.jsx)(q.Z.Provider,{value:handleSelect,children:(0,en.jsx)(W.Z.Provider,{value:{role:ea,activeKey:(0,q.h)(et),getControlledId:w||noop,getControllerId:_||noop},children:(0,en.jsx)(E,Object.assign({},el,{onKeyDown:o=>{let S;if(null==es||es(o),ep){switch(o.key){case"ArrowLeft":case"ArrowUp":S=getNextActiveTab(-1);break;case"ArrowRight":case"ArrowDown":S=getNextActiveTab(1);break;default:return}S&&(o.preventDefault(),handleSelect(S.dataset[(0,Y.$F)("EventKey")]||null,o),ec.current=!0,eu())}},ref:em,role:ea}))})})});ea.displayName="Nav";var es=Object.assign(ea,{Item:et.Z}),el=w(76792),eu=w(64819);let ec=D.createContext(null);ec.displayName="CardHeaderContext";var ed=(0,w(66611).Z)("nav-item"),ep=w(14691);let eh=D.forwardRef((o,S)=>{let w,_;let{as:F="div",bsPrefix:V,variant:U,fill:W,justify:q,navbar:Q,navbarScroll:Y,className:et,activeKey:er,...eo}=(0,N.Ch)(o,{activeKey:"onSelect"}),ea=(0,el.vE)(V,"nav"),ed=!1,ep=(0,D.useContext)(eu.Z),eh=(0,D.useContext)(ec);return ep?(w=ep.bsPrefix,ed=null==Q||Q):eh&&({cardHeaderBsPrefix:_}=eh),(0,en.jsx)(es,{as:F,ref:S,activeKey:er,className:E()(et,{[ea]:!ed,[`${w}-nav`]:ed,[`${w}-nav-scroll`]:ed&&Y,[`${_}-${U}`]:!!_,[`${ea}-${U}`]:!!U,[`${ea}-fill`]:W,[`${ea}-justified`]:q}),...eo})});eh.displayName="Nav",eh.defaultProps={justify:!1,fill:!1};var em=Object.assign(eh,{Item:ed,Link:ep.Z})},42127:function(o,S,w){"use strict";w.d(S,{Z:function(){return tu}});var _,E,D,N,F,V=w(94184),U=w.n(V),W=w(67294),q=w(76792),Q=w(60930),Y=w(9351),et=w(88833),en=w(14357),er=w(55111),eo=w(78146);let ea=W.createContext(null);var es=w(32092),el=Object.prototype.hasOwnProperty;function find(o,S,w){for(w of o.keys())if(dequal(w,S))return w}function dequal(o,S){var w,_,E;if(o===S)return!0;if(o&&S&&(w=o.constructor)===S.constructor){if(w===Date)return o.getTime()===S.getTime();if(w===RegExp)return o.toString()===S.toString();if(w===Array){if((_=o.length)===S.length)for(;_--&&dequal(o[_],S[_]););return -1===_}if(w===Set){if(o.size!==S.size)return!1;for(_ of o)if((E=_)&&"object"==typeof E&&!(E=find(S,E))||!S.has(E))return!1;return!0}if(w===Map){if(o.size!==S.size)return!1;for(_ of o)if((E=_[0])&&"object"==typeof E&&!(E=find(S,E))||!dequal(_[1],S.get(E)))return!1;return!0}if(w===ArrayBuffer)o=new Uint8Array(o),S=new Uint8Array(S);else if(w===DataView){if((_=o.byteLength)===S.byteLength)for(;_--&&o.getInt8(_)===S.getInt8(_););return -1===_}if(ArrayBuffer.isView(o)){if((_=o.byteLength)===S.byteLength)for(;_--&&o[_]===S[_];);return -1===_}if(!w||"object"==typeof o){for(w in _=0,o)if(el.call(o,w)&&++_&&!el.call(S,w)||!(w in S)||!dequal(o[w],S[w]))return!1;return Object.keys(S).length===_}}return o!=o&&S!=S}var eu=w(6454),esm_useSafeState=function(o){var S=(0,eu.Z)();return[o[0],(0,W.useCallback)(function(w){if(S())return o[1](w)},[S,o[1]])]};function getBasePlacement(o){return o.split("-")[0]}
vendor: 18,923 bytes, line 26
26function getWindow(o){if(null==o)return window;if("[object Window]"!==o.toString()){var S=o.ownerDocument;return S&&S.defaultView||window}return o}function isElement(o){var S=getWindow(o).Element;return o instanceof S||o instanceof Element}function isHTMLElement(o){var S=getWindow(o).HTMLElement;return o instanceof S||o instanceof HTMLElement}function isShadowRoot(o){if("undefined"==typeof ShadowRoot)return!1;var S=getWindow(o).ShadowRoot;return o instanceof S||o instanceof ShadowRoot}var ec=Math.max,ed=Math.min,ep=Math.round;function getUAString(){var o=navigator.userAgentData;return null!=o&&o.brands&&Array.isArray(o.brands)?o.brands.map(function(o){return o.brand+"/"+o.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(o,S,w){void 0===S&&(S=!1),void 0===w&&(w=!1);var _=o.getBoundingClientRect(),E=1,D=1;S&&isHTMLElement(o)&&(E=o.offsetWidth>0&&ep(_.width)/o.offsetWidth||1,D=o.offsetHeight>0&&ep(_.height)/o.offsetHeight||1);var N=(isElement(o)?getWindow(o):window).visualViewport,F=!isLayoutViewport()&&w,V=(_.left+(F&&N?N.offsetLeft:0))/E,U=(_.top+(F&&N?N.offsetTop:0))/D,W=_.width/E,q=_.height/D;return{width:W,height:q,top:U,right:V+W,bottom:U+q,left:V,x:V,y:U}}function getLayoutRect(o){var S=getBoundingClientRect(o),w=o.offsetWidth,_=o.offsetHeight;return 1>=Math.abs(S.width-w)&&(w=S.width),1>=Math.abs(S.height-_)&&(_=S.height),{x:o.offsetLeft,y:o.offsetTop,width:w,height:_}}function contains(o,S){var w=S.getRootNode&&S.getRootNode();if(o.contains(S))return!0;if(w&&isShadowRoot(w)){var _=S;do{if(_&&o.isSameNode(_))return!0;_=_.parentNode||_.host}while(_)}return!1}function getNodeName(o){return o?(o.nodeName||"").toLowerCase():null}function getComputedStyle(o){return getWindow(o).getComputedStyle(o)}function getDocumentElement(o){return((isElement(o)?o.ownerDocument:o.document)||window.document).documentElement}function getParentNode(o){return"html"===getNodeName(o)?o:o.assignedSlot||o.parentNode||(isShadowRoot(o)?o.host:null)||getDocumentElement(o)}function getTrueOffsetParent(o){return isHTMLElement(o)&&"fixed"!==getComputedStyle(o).position?o.offsetParent:null}function getOffsetParent(o){for(var S=getWindow(o),w=getTrueOffsetParent(o);w&&["table","td","th"].indexOf(getNodeName(w))>=0&&"static"===getComputedStyle(w).position;)w=getTrueOffsetParent(w);return w&&("html"===getNodeName(w)||"body"===getNodeName(w)&&"static"===getComputedStyle(w).position)?S:w||function(o){var S=/firefox/i.test(getUAString());if(/Trident/i.test(getUAString())&&isHTMLElement(o)&&"fixed"===getComputedStyle(o).position)return null;var w=getParentNode(o);for(isShadowRoot(w)&&(w=w.host);isHTMLElement(w)&&0>["html","body"].indexOf(getNodeName(w));){var _=getComputedStyle(w);if("none"!==_.transform||"none"!==_.perspective||"paint"===_.contain||-1!==["transform","perspective"].indexOf(_.willChange)||S&&"filter"===_.willChange||S&&_.filter&&"none"!==_.filter)return w;w=w.parentNode}return null}(o)||S}function getMainAxisFromPlacement(o){return["top","bottom"].indexOf(o)>=0?"x":"y"}function within(o,S,w){return ec(o,ed(S,w))}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(o){return Object.assign({},getFreshSideObject(),o)}function expandToHashMap(o,S){return S.reduce(function(S,w){return S[w]=o,S},{})}var eh="bottom",em="right",eg="left",ev="auto",ey=["top",eh,em,eg],eb="start",eS="viewport",ex="popper",ew=ey.reduce(function(o,S){return o.concat([S+"-"+eb,S+"-end"])},[]),e_=[].concat(ey,[ev]).reduce(function(o,S){return o.concat([S,S+"-"+eb,S+"-end"])},[]),eE=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function getVariation(o){return o.split("-")[1]}var eT={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(o){var S,w,_,E,D,N,F,V=o.popper,U=o.popperRect,W=o.placement,q=o.variation,Q=o.offsets,Y=o.position,et=o.gpuAcceleration,en=o.adaptive,er=o.roundOffsets,eo=o.isFixed,ea=Q.x,es=void 0===ea?0:ea,el=Q.y,eu=void 0===el?0:el,ec="function"==typeof er?er({x:es,y:eu}):{x:es,y:eu};es=ec.x,eu=ec.y;var ed=Q.hasOwnProperty("x"),ev=Q.hasOwnProperty("y"),ey=eg,eb="top",eS=window;if(en){var ex=getOffsetParent(V),ew="clientHeight",e_="clientWidth";ex===getWindow(V)&&"static"!==getComputedStyle(ex=getDocumentElement(V)).position&&"absolute"===Y&&(ew="scrollHeight",e_="scrollWidth"),("top"===W||(W===eg||W===em)&&"end"===q)&&(eb=eh,eu-=(eo&&ex===eS&&eS.visualViewport?eS.visualViewport.height:ex[ew])-U.height,eu*=et?1:-1),(W===eg||("top"===W||W===eh)&&"end"===q)&&(ey=em,es-=(eo&&ex===eS&&eS.visualViewport?eS.visualViewport.width:ex[e_])-U.width,es*=et?1:-1)}var eE=Object.assign({position:Y},en&&eT),eP=!0===er?(S={x:es,y:eu},w=getWindow(V),_=S.x,E=S.y,{x:ep(_*(D=w.devicePixelRatio||1))/D||0,y:ep(E*D)/D||0}):{x:es,y:eu};return(es=eP.x,eu=eP.y,et)?Object.assign({},eE,((F={})[eb]=ev?"0":"",F[ey]=ed?"0":"",F.transform=1>=(eS.devicePixelRatio||1)?"translate("+es+"px, "+eu+"px)":"translate3d("+es+"px, "+eu+"px, 0)",F)):Object.assign({},eE,((N={})[eb]=ev?eu+"px":"",N[ey]=ed?es+"px":"",N.transform="",N))}var eP={passive:!0},eC={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(o){return o.replace(/left|right|bottom|top/g,function(o){return eC[o]})}var ek={start:"end",end:"start"};function getOppositeVariationPlacement(o){return o.replace(/start|end/g,function(o){return ek[o]})}function getWindowScroll(o){var S=getWindow(o);return{scrollLeft:S.pageXOffset,scrollTop:S.pageYOffset}}function getWindowScrollBarX(o){return getBoundingClientRect(getDocumentElement(o)).left+getWindowScroll(o).scrollLeft}function isScrollParent(o){var S=getComputedStyle(o),w=S.overflow,_=S.overflowX,E=S.overflowY;return/auto|scroll|overlay|hidden/.test(w+E+_)}function listScrollParents(o,S){void 0===S&&(S=[]);var w,_=function getScrollParent(o){return["html","body","#document"].indexOf(getNodeName(o))>=0?o.ownerDocument.body:isHTMLElement(o)&&isScrollParent(o)?o:getScrollParent(getParentNode(o))}(o),E=_===(null==(w=o.ownerDocument)?void 0:w.body),D=getWindow(_),N=E?[D].concat(D.visualViewport||[],isScrollParent(_)?_:[]):_,F=S.concat(N);return E?F:F.concat(listScrollParents(getParentNode(N)))}function rectToClientRect(o){return Object.assign({},o,{left:o.x,top:o.y,right:o.x+o.width,bottom:o.y+o.height})}function getClientRectFromMixedType(o,S,w){var _,E,D,N,F,V,U,W,q,Q;return S===eS?rectToClientRect(function(o,S){var w=getWindow(o),_=getDocumentElement(o),E=w.visualViewport,D=_.clientWidth,N=_.clientHeight,F=0,V=0;if(E){D=E.width,N=E.height;var U=isLayoutViewport();(U||!U&&"fixed"===S)&&(F=E.offsetLeft,V=E.offsetTop)}return{width:D,height:N,x:F+getWindowScrollBarX(o),y:V}}(o,w)):isElement(S)?((_=getBoundingClientRect(S,!1,"fixed"===w)).top=_.top+S.clientTop,_.left=_.left+S.clientLeft,_.bottom=_.top+S.clientHeight,_.right=_.left+S.clientWidth,_.width=S.clientWidth,_.height=S.clientHeight,_.x=_.left,_.y=_.top,_):rectToClientRect((E=getDocumentElement(o),N=getDocumentElement(E),F=getWindowScroll(E),V=null==(D=E.ownerDocument)?void 0:D.body,U=ec(N.scrollWidth,N.clientWidth,V?V.scrollWidth:0,V?V.clientWidth:0),W=ec(N.scrollHeight,N.clientHeight,V?V.scrollHeight:0,V?V.clientHeight:0),q=-F.scrollLeft+getWindowScrollBarX(E),Q=-F.scrollTop,"rtl"===getComputedStyle(V||N).direction&&(q+=ec(N.clientWidth,V?V.clientWidth:0)-U),{width:U,height:W,x:q,y:Q}))}function computeOffsets(o){var S,w=o.reference,_=o.element,E=o.placement,D=E?getBasePlacement(E):null,N=E?getVariation(E):null,F=w.x+w.width/2-_.width/2,V=w.y+w.height/2-_.height/2;switch(D){case"top":S={x:F,y:w.y-_.height};break;case eh:S={x:F,y:w.y+w.height};break;case em:S={x:w.x+w.width,y:V};break;case eg:S={x:w.x-_.width,y:V};break;default:S={x:w.x,y:w.y}}var U=D?getMainAxisFromPlacement(D):null;if(null!=U){var W="y"===U?"height":"width";switch(N){case eb:S[U]=S[U]-(w[W]/2-_[W]/2);break;case"end":S[U]=S[U]+(w[W]/2-_[W]/2)}}return S}function detectOverflow(o,S){void 0===S&&(S={});var w,_,E,D,N,F,V,U=S,W=U.placement,q=void 0===W?o.placement:W,Q=U.strategy,Y=void 0===Q?o.strategy:Q,et=U.boundary,en=U.rootBoundary,er=U.elementContext,eo=void 0===er?ex:er,ea=U.altBoundary,es=U.padding,el=void 0===es?0:es,eu=mergePaddingObject("number"!=typeof el?el:expandToHashMap(el,ey)),ep=o.rects.popper,eg=o.elements[void 0!==ea&&ea?eo===ex?"reference":ex:eo],ev=(w=isElement(eg)?eg:eg.contextElement||getDocumentElement(o.elements.popper),F=(N=[].concat("clippingParents"===(_=void 0===et?"clippingParents":et)?(E=listScrollParents(getParentNode(w)),isElement(D=["absolute","fixed"].indexOf(getComputedStyle(w).position)>=0&&isHTMLElement(w)?getOffsetParent(w):w)?E.filter(function(o){return isElement(o)&&contains(o,D)&&"body"!==getNodeName(o)}):[]):[].concat(_),[void 0===en?eS:en]))[0],(V=N.reduce(function(o,S){var _=getClientRectFromMixedType(w,S,Y);return o.top=ec(_.top,o.top),o.right=ed(_.right,o.right),o.bottom=ed(_.bottom,o.bottom),o.left=ec(_.left,o.left),o},getClientRectFromMixedType(w,F,Y))).width=V.right-V.left,V.height=V.bottom-V.top,V.x=V.left,V.y=V.top,V),eb=getBoundingClientRect(o.elements.reference),ew=computeOffsets({reference:eb,element:ep,strategy:"absolute",placement:q}),e_=rectToClientRect(Object.assign({},ep,ew)),eE=eo===ex?e_:eb,eT={top:ev.top-eE.top+eu.top,bottom:eE.bottom-ev.bottom+eu.bottom,left:ev.left-eE.left+eu.left,right:eE.right-ev.right+eu.right},eP=o.modifiersData.offset;if(eo===ex&&eP){var eC=eP[q];Object.keys(eT).forEach(function(o){var S=[em,eh].indexOf(o)>=0?1:-1,w=["top",eh].indexOf(o)>=0?"y":"x";eT[o]+=eC[w]*S})}return eT}function getSideOffsets(o,S,w){return void 0===w&&(w={x:0,y:0}),{top:o.top-S.height-w.y,right:o.right-S.width+w.x,bottom:o.bottom-S.height+w.y,left:o.left-S.width-w.x}}function isAnySideFullyClipped(o){return["top",em,eh,eg].some(function(S){return o[S]>=0})}var eO={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var o=arguments.length,S=Array(o),w=0;w<o;w++)S[w]=arguments[w];return!S.some(function(o){return!(o&&"function"==typeof o.getBoundingClientRect)})}let eR=(D=void 0===(E=(_={defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(o){var S=o.state,w=o.name,_=S.rects.reference,E=S.rects.popper,D=S.modifiersData.preventOverflow,N=detectOverflow(S,{elementContext:"reference"}),F=detectOverflow(S,{altBoundary:!0}),V=getSideOffsets(N,_),U=getSideOffsets(F,E,D),W=isAnySideFullyClipped(V),q=isAnySideFullyClipped(U);S.modifiersData[w]={referenceClippingOffsets:V,popperEscapeOffsets:U,isReferenceHidden:W,hasPopperEscaped:q},S.attributes.popper=Object.assign({},S.attributes.popper,{"data-popper-reference-hidden":W,"data-popper-escaped":q})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(o){var S=o.state,w=o.name;S.modifiersData[w]=computeOffsets({reference:S.rects.reference,element:S.rects.popper,strategy:"absolute",placement:S.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(o){var S=o.state,w=o.options,_=w.gpuAcceleration,E=w.adaptive,D=w.roundOffsets,N=void 0===D||D,F={placement:getBasePlacement(S.placement),variation:getVariation(S.placement),popper:S.elements.popper,popperRect:S.rects.popper,gpuAcceleration:void 0===_||_,isFixed:"fixed"===S.options.strategy};null!=S.modifiersData.popperOffsets&&(S.styles.popper=Object.assign({},S.styles.popper,mapToStyles(Object.assign({},F,{offsets:S.modifiersData.popperOffsets,position:S.options.strategy,adaptive:void 0===E||E,roundOffsets:N})))),null!=S.modifiersData.arrow&&(S.styles.arrow=Object.assign({},S.styles.arrow,mapToStyles(Object.assign({},F,{offsets:S.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:N})))),S.attributes.popper=Object.assign({},S.attributes.popper,{"data-popper-placement":S.placement})},data:{}},{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(o){var S=o.state,w=o.instance,_=o.options,E=_.scroll,D=void 0===E||E,N=_.resize,F=void 0===N||N,V=getWindow(S.elements.popper),U=[].concat(S.scrollParents.reference,S.scrollParents.popper);return D&&U.forEach(function(o){o.addEventListener("scroll",w.update,eP)}),F&&V.addEventListener("resize",w.update,eP),function(){D&&U.forEach(function(o){o.removeEventListener("scroll",w.update,eP)}),F&&V.removeEventListener("resize",w.update,eP)}},data:{}},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(o){var S=o.state,w=o.options,_=o.name,E=w.offset,D=void 0===E?[0,0]:E,N=e_.reduce(function(o,w){var _,E,N,F,V,U;return o[w]=(_=S.rects,N=[eg,"top"].indexOf(E=getBasePlacement(w))>=0?-1:1,V=(F="function"==typeof D?D(Object.assign({},_,{placement:w})):D)[0],U=F[1],V=V||0,U=(U||0)*N,[eg,em].indexOf(E)>=0?{x:U,y:V}:{x:V,y:U}),o},{}),F=N[S.placement],V=F.x,U=F.y;null!=S.modifiersData.popperOffsets&&(S.modifiersData.popperOffsets.x+=V,S.modifiersData.popperOffsets.y+=U),S.modifiersData[_]=N}},{name:"flip",enabled:!0,phase:"main",fn:function(o){var S=o.state,w=o.options,_=o.name;if(!S.modifiersData[_]._skip){for(var E=w.mainAxis,D=void 0===E||E,N=w.altAxis,F=void 0===N||N,V=w.fallbackPlacements,U=w.padding,W=w.boundary,q=w.rootBoundary,Q=w.altBoundary,Y=w.flipVariations,et=void 0===Y||Y,en=w.allowedAutoPlacements,er=S.options.placement,eo=getBasePlacement(er)===er,ea=V||(eo||!et?[getOppositePlacement(er)]:function(o){if(getBasePlacement(o)===ev)return[];var S=getOppositePlacement(o);return[getOppositeVariationPlacement(o),S,getOppositeVariationPlacement(S)]}(er)),es=[er].concat(ea).reduce(function(o,w){var _,E,D,N,F,V,Q,Y,er,eo,ea,es;return o.concat(getBasePlacement(w)===ev?(E=(_={placement:w,boundary:W,rootBoundary:q,padding:U,flipVariations:et,allowedAutoPlacements:en}).placement,D=_.boundary,N=_.rootBoundary,F=_.padding,V=_.flipVariations,Y=void 0===(Q=_.allowedAutoPlacements)?e_:Q,0===(ea=(eo=(er=getVariation(E))?V?ew:ew.filter(function(o){return getVariation(o)===er}):ey).filter(function(o){return Y.indexOf(o)>=0})).length&&(ea=eo),Object.keys(es=ea.reduce(function(o,w){return o[w]=detectOverflow(S,{placement:w,boundary:D,rootBoundary:N,padding:F})[getBasePlacement(w)],o},{})).sort(function(o,S){return es[o]-es[S]})):w)},[]),el=S.rects.reference,eu=S.rects.popper,ec=new Map,ed=!0,ep=es[0],eS=0;eS<es.length;eS++){var ex=es[eS],eE=getBasePlacement(ex),eT=getVariation(ex)===eb,eP=["top",eh].indexOf(eE)>=0,eC=eP?"width":"height",ek=detectOverflow(S,{placement:ex,boundary:W,rootBoundary:q,altBoundary:Q,padding:U}),eO=eP?eT?em:eg:eT?eh:"top";el[eC]>eu[eC]&&(eO=getOppositePlacement(eO));var eR=getOppositePlacement(eO),eA=[];if(D&&eA.push(ek[eE]<=0),F&&eA.push(ek[eO]<=0,ek[eR]<=0),eA.every(function(o){return o})){ep=ex,ed=!1;break}ec.set(ex,eA)}if(ed)for(var eM=et?3:1,_loop=function(o){var S=es.find(function(S){var w=ec.get(S);if(w)return w.slice(0,o).every(function(o){return o})});if(S)return ep=S,"break"},ej=eM;ej>0&&"break"!==_loop(ej);ej--);S.placement!==ep&&(S.modifiersData[_]._skip=!0,S.placement=ep,S.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(o){var S=o.state,w=o.options,_=o.name,E=w.mainAxis,D=w.altAxis,N=w.boundary,F=w.rootBoundary,V=w.altBoundary,U=w.padding,W=w.tether,q=void 0===W||W,Q=w.tetherOffset,Y=void 0===Q?0:Q,et=detectOverflow(S,{boundary:N,rootBoundary:F,padding:U,altBoundary:V}),en=getBasePlacement(S.placement),er=getVariation(S.placement),eo=!er,ea=getMainAxisFromPlacement(en),es="x"===ea?"y":"x",el=S.modifiersData.popperOffsets,eu=S.rects.reference,ep=S.rects.popper,ev="function"==typeof Y?Y(Object.assign({},S.rects,{placement:S.placement})):Y,ey="number"==typeof ev?{mainAxis:ev,altAxis:ev}:Object.assign({mainAxis:0,altAxis:0},ev),eS=S.modifiersData.offset?S.modifiersData.offset[S.placement]:null,ex={x:0,y:0};if(el){if(void 0===E||E){var ew,e_="y"===ea?"top":eg,eE="y"===ea?eh:em,eT="y"===ea?"height":"width",eP=el[ea],eC=eP+et[e_],ek=eP-et[eE],eO=q?-ep[eT]/2:0,eR=er===eb?eu[eT]:ep[eT],eA=er===eb?-ep[eT]:-eu[eT],eM=S.elements.arrow,ej=q&&eM?getLayoutRect(eM):{width:0,height:0},eL=S.modifiersData["arrow#persistent"]?S.modifiersData["arrow#persistent"].padding:getFreshSideObject(),eI=eL[e_],eD=eL[eE],eN=within(0,eu[eT],ej[eT]),eF=eo?eu[eT]/2-eO-eN-eI-ey.mainAxis:eR-eN-eI-ey.mainAxis,eV=eo?-eu[eT]/2+eO+eN+eD+ey.mainAxis:eA+eN+eD+ey.mainAxis,ez=S.elements.arrow&&getOffsetParent(S.elements.arrow),eB=ez?"y"===ea?ez.clientTop||0:ez.clientLeft||0:0,eU=null!=(ew=null==eS?void 0:eS[ea])?ew:0,eH=eP+eF-eU-eB,e$=eP+eV-eU,eW=within(q?ed(eC,eH):eC,eP,q?ec(ek,e$):ek);el[ea]=eW,ex[ea]=eW-eP}if(void 0!==D&&D){var eZ,eG,eq="x"===ea?"top":eg,eK="x"===ea?eh:em,eX=el[es],eQ="y"===es?"height":"width",eY=eX+et[eq],eJ=eX-et[eK],e0=-1!==["top",eg].indexOf(en),e1=null!=(eG=null==eS?void 0:eS[es])?eG:0,e2=e0?eY:eX-eu[eQ]-ep[eQ]-e1+ey.altAxis,e3=e0?eX+eu[eQ]+ep[eQ]-e1-ey.altAxis:eJ,e4=q&&e0?(eZ=within(e2,eX,e3))>e3?e3:eZ:within(q?e2:eY,eX,q?e3:eJ);el[es]=e4,ex[es]=e4-eX}S.modifiersData[_]=ex}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(o){var S,w,_=o.state,E=o.name,D=o.options,N=_.elements.arrow,F=_.modifiersData.popperOffsets,V=getBasePlacement(_.placement),U=getMainAxisFromPlacement(V),W=[eg,em].indexOf(V)>=0?"height":"width";if(N&&F){var q=mergePaddingObject("number"!=typeof(S="function"==typeof(S=D.padding)?S(Object.assign({},_.rects,{placement:_.placement})):S)?S:expandToHashMap(S,ey)),Q=getLayoutRect(N),Y="y"===U?"top":eg,et="y"===U?eh:em,en=_.rects.reference[W]+_.rects.reference[U]-F[U]-_.rects.popper[W],er=F[U]-_.rects.reference[U],eo=getOffsetParent(N),ea=eo?"y"===U?eo.clientHeight||0:eo.clientWidth||0:0,es=q[Y],el=ea-Q[W]-q[et],eu=ea/2-Q[W]/2+(en/2-er/2),ec=within(es,eu,el);_.modifiersData[E]=((w={})[U]=ec,w.centerOffset=ec-eu,w)}},effect:function(o){var S=o.state,w=o.options.element,_=void 0===w?"[data-popper-arrow]":w;null!=_&&("string"!=typeof _||(_=S.elements.popper.querySelector(_)))&&contains(S.elements.popper,_)&&(S.elements.arrow=_)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}]}).defaultModifiers)?[]:E,F=void 0===(N=_.defaultOptions)?eO:N,function(o,S,w){void 0===w&&(w=F);var _,E={placement:"bottom",orderedModifiers:[],options:Object.assign({},eO,F),modifiersData:{},elements:{reference:o,popper:S},attributes:{},styles:{}},N=[],V=!1,U={state:E,setOptions:function(w){var _,V,W,q,Q,Y="function"==typeof w?w(E.options):w;cleanupModifierEffects(),E.options=Object.assign({},F,E.options,Y),E.scrollParents={reference:isElement(o)?listScrollParents(o):o.contextElement?listScrollParents(o.contextElement):[],popper:listScrollParents(S)};var et=(V=Object.keys(_=[].concat(D,E.options.modifiers).reduce(function(o,S){var w=o[S.name];return o[S.name]=w?Object.assign({},w,S,{options:Object.assign({},w.options,S.options),data:Object.assign({},w.data,S.data)}):S,o},{})).map(function(o){return _[o]}
26),W=new Map,q=new Set,Q=[],V.forEach(function(o){W.set(o.name,o)}),V.forEach(function(o){q.has(o.name)||function sort(o){q.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(o){if(!q.has(o)){var S=W.get(o);S&&sort(S)}}),Q.push(o)}(o)}),eE.reduce(function(o,S){return o.concat(Q.filter(function(o){return o.phase===S}))},[]));return E.orderedModifiers=et.filter(function(o){return o.enabled}),E.orderedModifiers.forEach(function(o){var S=o.name,w=o.options,_=o.effect;if("function"==typeof _){var D=_({state:E,name:S,instance:U,options:void 0===w?{}:w});N.push(D||function(){})}}),U.update()},forceUpdate:function(){if(!V){var o,S,w,_,D,N,F,W,q,Q,Y,et,en=E.elements,er=en.reference,eo=en.popper;if(areValidElements(er,eo)){E.rects={reference:(S=getOffsetParent(eo),w="fixed"===E.options.strategy,_=isHTMLElement(S),W=isHTMLElement(S)&&(N=ep((D=S.getBoundingClientRect()).width)/S.offsetWidth||1,F=ep(D.height)/S.offsetHeight||1,1!==N||1!==F),q=getDocumentElement(S),Q=getBoundingClientRect(er,W,w),Y={scrollLeft:0,scrollTop:0},et={x:0,y:0},(_||!_&&!w)&&(("body"!==getNodeName(S)||isScrollParent(q))&&(Y=(o=S)!==getWindow(o)&&isHTMLElement(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:getWindowScroll(o)),isHTMLElement(S)?(et=getBoundingClientRect(S,!0),et.x+=S.clientLeft,et.y+=S.clientTop):q&&(et.x=getWindowScrollBarX(q))),{x:Q.left+Y.scrollLeft-et.x,y:Q.top+Y.scrollTop-et.y,width:Q.width,height:Q.height}),popper:getLayoutRect(eo)},E.reset=!1,E.placement=E.options.placement,E.orderedModifiers.forEach(function(o){return E.modifiersData[o.name]=Object.assign({},o.data)});for(var ea=0;ea<E.orderedModifiers.length;ea++){if(!0===E.reset){E.reset=!1,ea=-1;continue}var es=E.orderedModifiers[ea],el=es.fn,eu=es.options,ec=void 0===eu?{}:eu,ed=es.name;"function"==typeof el&&(E=el({state:E,options:ec,name:ed,instance:U})||E)}}}},update:function(){return _||(_=new Promise(function(o){Promise.resolve().then(function(){_=void 0,o(new Promise(function(o){U.forceUpdate(),o(E)}))})})),_},destroy:function(){cleanupModifierEffects(),V=!0}};if(!areValidElements(o,S))return U;function cleanupModifierEffects(){N.forEach(function(o){return o()}),N=[]}return U.setOptions(w).then(function(o){!V&&w.onFirstUpdate&&w.onFirstUpdate(o)}),U}),eA=["enabled","placement","strategy","modifiers"],eM={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>void 0},ej={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:o})=>()=>{let{reference:S,popper:w}=o.elements;if("removeAttribute"in S){let o=(S.getAttribute("aria-describedby")||"").split(",").filter(o=>o.trim()!==w.id);o.length?S.setAttribute("aria-describedby",o.join(",")):S.removeAttribute("aria-describedby")}},fn:({state:o})=>{var S;let{popper:w,reference:_}=o.elements,E=null==(S=w.getAttribute("role"))?void 0:S.toLowerCase();if(w.id&&"tooltip"===E&&"setAttribute"in _){let o=_.getAttribute("aria-describedby");if(o&&-1!==o.split(",").indexOf(w.id))return;_.setAttribute("aria-describedby",o?`${o},${w.id}`:w.id)}}},eL=[];var esm_usePopper=function(o,S,w={}){let{enabled:_=!0,placement:E="bottom",strategy:D="absolute",modifiers:N=eL}=w,F=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(w,eA),V=(0,W.useRef)(N),U=(0,W.useRef)(),q=(0,W.useCallback)(()=>{var o;null==(o=U.current)||o.update()},[]),Q=(0,W.useCallback)(()=>{var o;null==(o=U.current)||o.forceUpdate()},[]),[Y,et]=esm_useSafeState((0,W.useState)({placement:E,update:q,forceUpdate:Q,attributes:{},styles:{popper:{},arrow:{}}})),en=(0,W.useMemo)(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:o})=>{let S={},w={};Object.keys(o.elements).forEach(_=>{S[_]=o.styles[_],w[_]=o.attributes[_]}),et({state:o,styles:S,attributes:w,update:q,forceUpdate:Q,placement:o.placement})}}),[q,Q,et]),er=(0,W.useMemo)(()=>(dequal(V.current,N)||(V.current=N),V.current),[N]);return(0,W.useEffect)(()=>{U.current&&_&&U.current.setOptions({placement:E,strategy:D,modifiers:[...er,en,eM]})},[D,E,en,_,er]),(0,W.useEffect)(()=>
26{if(_&&null!=o&&null!=S)return U.current=eR(o,S,Object.assign({},F,{placement:E,strategy:D,modifiers:[...er,ej,en]})),()=>{null!=U.current&&(U.current.destroy(),U.current=void 0,et(o=>Object.assign({},o,{attributes:{},styles:{popper:{}}})))}},[_,o,S]),Y},eI=w(90424),eD=w(72950),eN=w(67216),eF=w(42473),eV=w.n(eF);let noop=()=>{},getRefTarget=o=>o&&("current"in o?o.current:o),ez={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};var esm_useClickOutside=function(o,S=noop,{disabled:w,clickTrigger:_="click"}={}){let E=(0,W.useRef)(!1),D=(0,W.useRef)(!1),N=(0,W.useCallback)(S=>{let w=getRefTarget(o);eV()(!!w,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),E.current=!w||!!(S.metaKey||S.altKey||S.ctrlKey||S.shiftKey)||0!==S.button||!!(0,eI.Z)(w,S.target)||D.current,D.current=!1},[o]),F=(0,eo.Z)(S=>{let w=getRefTarget(o);w&&(0,eI.Z)(w,S.target)&&(D.current=!0)}),V=(0,eo.Z)(o=>{E.current||S(o)});(0,W.useEffect)(()=>{if(w||null==o)return;let S=(0,eN.Z)(getRefTarget(o)),E=(S.defaultView||window).event,D=null;ez[_]&&(D=(0,eD.Z)(S,ez[_],F,!0));let U=(0,eD.Z)(S,_,N,!0),W=(0,eD.Z)(S,_,o=>{if(o===E){E=void 0;return}V(o)}),q=[];return"ontouchstart"in S.documentElement&&(q=[].slice.call(S.body.children).map(o=>(0,eD.Z)(o,"mousemove",noop))),()=>{null==D||D(),U(),W(),q.forEach(o=>o())}},[o,w,_,N,F,V])},eB=w(85893);let eU=["children"],DropdownMenu_noop=()=>{};function useDropdownMenu(o={}){let S=(0,W.useContext)(ea),[w,_]=(0,es.Z)(),E=(0,W.useRef)(!1),{flip:D,offset:N,rootCloseEvent:F,fixed:V=!1,placement:U,popperConfig:q={},enableEventListeners:Q=!0,usePopper:Y=!!S}=o,et=(null==S?void 0:S.show)==null?!!o.show:S.show;et&&!E.current&&(E.current=!0);let{placement:en,setMenu:er,menuElement:eo,toggleElement:el}=S||{},eu=esm_usePopper(el,eo,function({enabled:o,enableEvents:S,placement:w,flip:_,offset:E,fixed:D,containerPadding:N,arrowElement:F,popperConfig:V={}}){var U,W,q,Q,Y;let et=function(o){let S={};return Array.isArray(o)?(null==o||o.forEach(o=>{S[o.name]=o}),S):o||S}(V.modifiers);return Object.assign({},V,{placement:w,enabled:o,strategy:D?"fixed":V.strategy,modifiers:function(o={}){return Array.isArray(o)?o:Object.keys(o).map(S=>(o[S].name=S,o[S]))}(Object.assign({},et,{eventListeners:{enabled:S,options:null==(U=et.eventListeners)?void 0:U.options},preventOverflow:Object.assign({},et.preventOverflow,{options:N?Object.assign({padding:N},null==(W=et.preventOverflow)?void 0:W.options):null==(q=et.preventOverflow)?void 0:q.options}),offset:{options:Object.assign({offset:E},null==(Q=et.offset)?void 0:Q.options)},arrow:Object.assign({},et.arrow,{enabled:!!F,options:Object.assign({},null==(Y=et.arrow)?void 0:Y.options,{element:F})}),flip:Object.assign({enabled:!!_},et.flip)}))})}({placement:U||en||"bottom-start",enabled:Y,enableEvents:null==Q?et:Q,offset:N,flip:D,fixed:V,arrowElement:w,popperConfig:q})),ec=Object.assign({ref:er||DropdownMenu_noop,"aria-labelledby":null==el?void 0:el.id},eu.attributes.popper,{style:eu.styles.popper}),ed={show:et,placement:en,hasShown:E.current,toggle:null==S?void 0:S.toggle,popper:Y?eu:null,arrowProps:Y?Object.assign({ref:_},eu.attributes.arrow,{style:eu.styles.arrow}):{}};return esm_useClickOutside(eo,o=>{null==S||S.toggle(!1,o)},{clickTrigger:F,disabled:!et}),[ec,ed]}function DropdownMenu(o){let{children:S}=o,w=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,eU),[_,E]=useDropdownMenu(w);return(0,eB.jsx)(eB.Fragment,{children:S(_,E)})}DropdownMenu.displayName="DropdownMenu",DropdownMenu.defaultProps={usePopper:!0};let eH={prefix:String(Math.round(1e10*Math.random())),current:0,isSSR:!1},e$=W.createContext(eH),eW=!!("undefined"!=typeof window&&window.document&&window.document.createElement),eZ=new WeakMap,isRoleMenu=o=>{var S;return(null==(S=o.getAttribute("role"))?void 0:S.toLowerCase())==="menu"},DropdownToggle_noop=()=>{};function useDropdownToggle(){var o;let S,w;let _=((S=(0,W.useContext)(e$))!==eH||eW||console.warn("When server rendering, you must wrap your application in an <SSRProvi
26der> to ensure consistent ids are generated between the client and server."),w=function(o=!1){let S=(0,W.useContext)(e$),w=(0,W.useRef)(null);if(null===w.current&&!o){var _,E;let o=null===(_=W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===_?void 0:null===(E=_.ReactCurrentOwner)||void 0===E?void 0:E.current;if(o){let w=eZ.get(o);null==w?eZ.set(o,{id:S.current,state:o.memoizedState}):o.memoizedState!==w.state&&(S.current=w.id,eZ.delete(o))}w.current=++S.current}return w.current}(!!o),o||`react-aria${S.prefix}-${w}`),{show:E=!1,toggle:D=DropdownToggle_noop,setToggle:N,menuElement:F}=(0,W.useContext)(ea)||{},V=(0,W.useCallback)(o=>{D(!E,o)},[E,D]),U={id:_,ref:N||DropdownToggle_noop,onClick:V,"aria-expanded":!!E};return F&&isRoleMenu(F)&&(U["aria-haspopup"]=!0),[U,{show:E,toggle:D}]}function DropdownToggle({children:o}){let[S,w]=useDropdownToggle();return(0,eB.jsx)(eB.Fragment,{children:o(S,w)})}DropdownToggle.displayName="DropdownToggle";var eG=w(87126),eq=w(86056),eK=w(70861),eX=w(52747);let eQ=["eventKey","disabled","onClick","active","as"];function useDropdownItem({key:o,href:S,active:w,disabled:_,onClick:E}){let D=(0,W.useContext)(eG.Z),N=(0,W.useContext)(eq.Z),{activeKey:F}=N||{},V=(0,eG.h)(o,S),U=null==w&&null!=o?(0,eG.h)(F)===V:w,q=(0,eo.Z)(o=>{_||(null==E||E(o),D&&!o.isPropagationStopped()&&D(V,o))});return[{onClick:q,"aria-disabled":_||void 0,"aria-selected":U,[(0,eX.PB)("dropdown-item")]:""},{isActive:U}]}let eY=W.forwardRef((o,S)=>{let{eventKey:w,disabled:_,onClick:E,active:D,as:N=eK.ZP}=o,F=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,eQ),[V]=useDropdownItem({key:w,href:F.href,disabled:_,onClick:E,active:D});return(0,eB.jsx)(N,Object.assign({},F,{ref:S},V))});eY.displayName="DropdownItem";var eJ=w(12963);function useRefWithUpdate(){let o=(0,en.Z)(),S=(0,W.useRef)(null),w=(0,W.useCallback)(w=>{S.current=w,o()},[o]);return[S,w]}function Dropdown({defaultShow:o,show:S,onSelect:w,onToggle:_,itemSelector:E=`* [${(0,eX.PB)("dropdown-item")}]`,focusFirstItemOnShow:D,placement:N="bottom-start",children:F}){let V=(0,eJ.Z)(),[U,q]=function(o,S,w){let _=(0,W.useRef)(void 0!==o),[E,D]=(0,W.useState)(S),N=void 0!==o,F=_.current;return _.current=N,!N&&F&&E!==S&&D(S),[N?o:E,(0,W.useCallback)((o,...S)=>{w&&w(o,...S),D(o)},[w])]}(S,o,_),[en,es]=useRefWithUpdate(),el=en.current,[eu,ec]=useRefWithUpdate(),ed=eu.current,ep=(0,et.Z)(U),eh=(0,W.useRef)(null),em=(0,W.useRef)(!1),eg=(0,W.useContext)(eG.Z),ev=(0,W.useCallback)((o,S,w=null==S?void 0:S.type)=>{q(o,{originalEvent:S,source:w})},[q]),ey=(0,eo.Z)((o,S)=>{null==w||w(o,S),ev(!1,S,"select"),S.isPropagationStopped()||null==eg||eg(o,S)}),eb=(0,W.useMemo)(()=>({toggle:ev,placement:N,show:U,menuElement:el,toggleElement:ed,setMenu:es,setToggle:ec}),[ev,N,U,el,ed,es,ec]);el&&ep&&!U&&(em.current=el.contains(el.ownerDocument.activeElement));let eS=(0,eo.Z)(()=>{ed&&ed.focus&&ed.focus()}),ex=(0,eo.Z)(()=>{let o=eh.current,S=D;if(null==S&&(S=!!(en.current&&isRoleMenu(en.current))&&"keyboard"),!1===S||"keyboard"===S&&!/^key.+$/.test(o))return;let w=(0,Q.Z)(en.current,E)[0];w&&w.focus&&w.focus()});(0,W.useEffect)(()=>{U?ex():em.current&&(em.current=!1,eS())},[U,em,eS,ex]),(0,W.useEffect)(()=>{eh.current=null});let getNextFocusedChild=(o,S)=>{if(!en.current)return null;let w=(0,Q.Z)(en.current,E),_=w.indexOf(o)+S;return _=Math.max(0,Math.min(_,w.length)),w[_]};return(0,er.Z)((0,W.useCallback)(()=>V.document,[V]),"keydown",o=>{var S,w;let{key:_}=o,E=o.target,D=null==(S=en.current)?void 0:S.contains(E),N=null==(w=eu.current)?void 0:w.contains(E),F=/input|textarea/i.test(E.tagName);if(F&&(" "===_||"Escape"!==_&&D||"Escape"===_&&"search"===E.type)||!D&&!N||"Tab"===_&&(!en.current||!U))return;eh.current=o.type;let V={originalEvent:o,source:o.type};switch(_){case"ArrowUp":{let S=getNextFocusedChild(E,-1);S&&S.focus&&S.focus(),o.preventDefault();return}case"ArrowDown":if(o.preventDefault(),U){let o=getNextFocusedChild(E,1);o&&o.focus&&o.focus()}else q(!0,V);return;case"Tab":(0,Y.ZP)(E.ownerDocument,"keyup",o=>{var S;("Tab"!==o.key||o.target)&&null!=(S=en.current)&&S.contains(o.target)||q(!1,V)},{once:!0});break;case"Escape":"Escape"===_&&(o.preventDefault(),o.stopPropagation()),q(!1,V)}}),(0,eB.jsx)(eG.Z.Provider,{value:ey,children:(0,eB.jsx)(ea.Provider,{value:eb,children:F})})}Dropdown.displayName="Dropdown",Dropdown.Menu=DropdownMenu,Dropdown.Toggle=DropdownToggle,Dropdown.Item=eY;var e0=w(15446);let e1=W.createContext({});e1.displayName="DropdownContext";var e2=w(13551);let e3=W.forwardRef(({bsPrefix:o,className:S,eventKey:w,disabled:_=!1,onClick:E,active:D,as:N=e2.Z,...F},V)=>{let W=(0,q.vE)(o,"dropdown-item"),[Q,Y]=useDropdownItem({key:w,href:F.href,disabled:_,onClick:E,active:D});return(0,eB.jsx)(N,{...F,...Q,ref:V,className:U()(S,W,Y.isActive&&"active",_&&"disabled")})});e3.displayName="DropdownItem";var e4=w(99585),e5=w(35654);let e6=W.createContext(null);e6.displayName="InputGroupContext";var e8=w(64819);function getDropdownMenuPlacement(o,S,w){let _=o?w?"bottom-start":"bottom-end":w?"bottom-end":"bottom-start";return"up"===S?_=o?w?"top-start":"top-end":w?"top-end":"top-start":"end"===S?_=o?w?"left-end":"right-end":w?"left-start":"right-start":"start"===S?_=o?w?"right-end":"left-end":w?"right-start":"left-start":"down-centered"===S?_="bottom":"up-centered"===S&&(_="top"),_}w(41143);let e9=W.forwardRef(({bsPrefix:o,className:S,align:w,rootCloseEvent:_,flip:E,show:D,renderOnMount:N,as:F="div",popperConfig:V,variant:Q,...Y},et)=>{let en=!1,er=(0,W.useContext)(e8.Z),eo=(0,q.vE)(o,"dropdown-menu"),{align:ea,drop:es,isRTL:el}=(0,W.useContext)(e1);w=w||ea;let eu=(0,W.useContext)(e6),ec=[];if(w){if("object"==typeof w){let o=Object.keys(w);if(o.length){let S=o[0],_=w[S];en="start"===_,ec.push(`${eo}-${S}-${_}`)}}else"end"===w&&(en=!0)}let ed=getDropdownMenuPlacement(en,es,el),[ep,{hasShown:eh,popper:em,show:eg,toggle:ev}]=useDropdownMenu({flip:E,rootCloseEvent:_,show:D,usePopper:!er&&0===ec.length,offset:[0,2],popperConfig:V,placement:ed});if(ep.ref=(0,e5.Z)(et,ep.ref),(0,e4.Z)(()=>
26{eg&&(null==em||em.update())},[eg]),!eh&&!N&&!eu)return null;"string"!=typeof F&&(ep.show=eg,ep.close=()=>null==ev?void 0:ev(!1),ep.align=w);let ey=Y.style;return null!=em&&em.placement&&(ey={...Y.style,...ep.style},Y["x-placement"]=em.placement),(0,eB.jsx)(F,{...Y,...ep,style:ey,...(ec.length||er)&&{"data-bs-popper":"static"},className:U()(S,eo,eg&&"show",en&&`${eo}-end`,Q&&`${eo}-${Q}`,...ec)})});e9.displayName="DropdownMenu",e9.defaultProps={flip:!0};var e7=w(35005);let te=W.forwardRef(({bsPrefix:o,split:S,className:w,childBsPrefix:_,as:E=e7.Z,...D},N)=>{let F=(0,q.vE)(o,"dropdown-toggle"),V=(0,W.useContext)(ea);void 0!==_&&(D.bsPrefix=_);let[Q]=useDropdownToggle();return Q.ref=(0,e5.Z)(Q.ref,N),(0,eB.jsx)(E,{className:U()(w,F,S&&`${F}-split`,(null==V?void 0:V.show)&&"show"),...Q,...D})});te.displayName="DropdownToggle";var tt=w(66611);let tn=(0,tt.Z)("dropdown-header",{defaultProps:{role:"heading"}}),tr=(0,tt.Z)("dropdown-divider",{Component:"hr",defaultProps:{role:"separator"}}),ti=(0,tt.Z)("dropdown-item-text",{Component:"span"}),to=W.forwardRef((o,S)=>{let{bsPrefix:w,drop:_,show:E,className:D,align:N,onSelect:F,onToggle:V,focusFirstItemOnShow:Q,as:Y="div",navbar:et,autoClose:en,...er}=(0,e0.Ch)(o,{show:"onToggle"}),ea=(0,W.useContext)(e6),es=(0,q.vE)(w,"dropdown"),el=(0,q.SC)(),isClosingPermitted=o=>!1===en?"click"===o:"inside"===en?"rootClose"!==o:"outside"!==en||"select"!==o,eu=(0,eo.Z)((o,S)=>{S.originalEvent.currentTarget===document&&("keydown"!==S.source||"Escape"===S.originalEvent.key)&&(S.source="rootClose"),isClosingPermitted(S.source)&&(null==V||V(o,S))}),ec="end"===N,ed=getDropdownMenuPlacement(ec,_,el),ep=(0,W.useMemo)(()=>({align:N,drop:_,isRTL:el}),[N,_,el]),eh={down:es,"down-centered":`${es}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return(0,eB.jsx)(e1.Provider,{value:ep,children:(0,eB.jsx)(Dropdown,{placement:ed,show:E,onSelect:F,onToggle:eu,focusFirstItemOnShow:Q,itemSelector:`.${es}-item:not(.disabled):not(:disabled)`,children:ea?er.children:(0,eB.jsx)(Y,{...er,ref:S,className:U()(D,E&&"show",eh[_])})})})});to.displayName="Dropdown",to.defaultProps={navbar:!1,align:"start",autoClose:!0,drop:"down"};var ta=Object.assign(to,{Toggle:te,Menu:e9,Item:e3,ItemText:ti,Divider:tr,Header:tn}),ts=w(14691);let tl=W.forwardRef(({id:o,title:S,children:w,bsPrefix:_,className:E,rootCloseEvent:D,menuRole:N,disabled:F,active:V,renderMenuOnMount:W,menuVariant:Q,...Y},et)=>{let en=(0,q.vE)(void 0,"nav-item");return(0,eB.jsxs)(ta,{ref:et,...Y,className:U()(E,en),children:[(0,eB.jsx)(ta.Toggle,{id:o,eventKey:null,active:V,disabled:F,childBsPrefix:_,as:ts.Z,children:S}),(0,eB.jsx)(ta.Menu,{role:N,renderOnMount:W,rootCloseEvent:D,variant:Q,children:w})]})});tl.displayName="NavDropdown";var tu=Object.assign(tl,{Item:ta.Item,ItemText:ta.ItemText,Divider:ta.Divider,Header:ta.Header})},14691:function(o,S,w){"use strict";var _=w(94184),E=w.n(_),D=w(67294),N=w(13551),F=w(73716),V=w(87126),U=w(76792),W=w(85893);let q=D.forwardRef(({bsPrefix:o,className:S,as:w=N.Z,active:_,eventKey:D,...q},Q)=>{o=(0,U.vE)(o,"nav-link");let[Y,et]=(0,F.v)({key:(0,V.h)(D,q.href),active:_,...q});return(0,W.jsx)(w,{...q,...Y,ref:Q,className:E()(S,o,q.disabled&&"disabled",et.isActive&&"active")})});q.displayName="NavLink",q.defaultProps={disabled:!1},S.Z=q},38643:function(o,S,w){"use strict";w.d(S,{Z:function(){return eO}});var _=w(94184),E=w.n(_),D=w(67294),N=w(87126),F=w(15446),V=w(66611),U=w(76792),W=w(85893);let q=D.forwardRef(({bsPrefix:o,className:S,as:w,..._},D)=>{o=(0,U.vE)(o,"navbar-brand");let N=w||(_.href?"a":"span");return(0,W.jsx)(N,{..._,ref:D,className:E()(S,o)})});q.displayName="NavbarBrand";var Q=w(16518),Y=w(64819);let et=D.forwardRef(({children:o,bsPrefix:S,...w},_)=>{S=(0,U.vE)(S,"navbar-collapse");let E=(0,D.useContext)(Y.Z);return(0,W.jsx)(Q.Z,{in:!!(E&&E.expanded),...w,children:(0,W.jsx)("div",{ref:_,className:S,children:o})})});et.displayName="NavbarCollapse";var en=w(78146);let er=D.forwardRef(({bsPrefix:o,className:S,children:w,label:_,as:N="button",onClick:F,...V},q)=>{o=(0,U.vE)(o,"navbar-toggler");let{onToggle:Q,expanded:et}=(0,D.useContext)(Y.Z)||{},er=(0,en.Z)(o=>{F&&F(o),Q&&Q()});return"button"===N&&(V.type="button"),(0,W.jsx)(N,{...V,ref:q,onClick:er,"aria-label":_,className:E()(S,o,!et&&"collapsed"),children:w||(0,W.jsx)("span",{className:`${o}-icon`})})});er.displayName="NavbarToggle",er.defaultProps={label:"Toggle navigation"};var eo=w(99585),ea=new WeakMap,getMatcher=function(o,S){if(o&&S){var w=ea.get(S)||new Map;ea.set(S,w);var _=w.get(o);return _||((_=S.matchMedia(o)).refCount=0,w.set(_.media,_)),_}},es=function(o){var S=Object.keys(o);function and(o,S){return o===S?S:o?o+" and "+S:S}return function(w,_,E){var N,F,V,U,W,q,Q,Y;return"object"==typeof w?(N=w,E=_,_=!0):(_=_||!0,(F={})[w]=_,N=F),V=(0,D.useMemo)(function(){return Object.entries(N).reduce(function(w,_){var E,D,N=_[0],F=_[1];return("up"===F||!0===F)&&(w=and(w,("number"==typeof(E=o[N])&&(E+="px"),"(min-width: "+E+")"))),("down"===F||!0===F)&&(w=and(w,"(max-width: "+(D="number"==typeof(D=o[S[Math.min(S.indexOf(N)+1,S.length-1)]])?D-.2+"px":"
26calc("+D+" - 0.2px)")+")")),w},"")},[JSON.stringify(N)]),void 0===(U=E)&&(U="undefined"==typeof window?void 0:window),W=getMatcher(V,U),Q=(q=(0,D.useState)(function(){return!!W&&W.matches}))[0],Y=q[1],(0,eo.Z)(function(){var o=getMatcher(V,U);if(!o)return Y(!1);var S=ea.get(U),handleChange=function(){Y(o.matches)};return o.refCount++,o.addListener(handleChange),handleChange(),function(){o.removeListener(handleChange),o.refCount--,o.refCount<=0&&(null==S||S.delete(o.media)),o=void 0}},[V]),Q}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),el=w(81970),eu=w(41068),ec=(0,V.Z)("offcanvas-body"),ed=w(26273),ep=w(93825),eh=w(32785);let em={[ed.d0]:"show",[ed.cn]:"show"},eg=D.forwardRef(({bsPrefix:o,className:S,children:w,..._},N)=>(o=(0,U.vE)(o,"offcanvas"),(0,W.jsx)(eh.Z,{ref:N,addEndListener:ep.Z,..._,childRef:w.ref,children:(_,N)=>D.cloneElement(w,{...N,className:E()(S,w.props.className,(_===ed.d0||_===ed.Ix)&&`${o}-toggling`,em[_])})})));eg.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1},eg.displayName="OffcanvasToggling";var ev=w(36467),ey=w(76695);let eb=D.forwardRef(({bsPrefix:o,className:S,...w},_)=>(o=(0,U.vE)(o,"offcanvas-header"),(0,W.jsx)(ey.Z,{ref:_,...w,className:E()(S,o)})));eb.displayName="OffcanvasHeader",eb.defaultProps={closeLabel:"Close",closeButton:!1};var eS=w(39602);let ex=(0,eS.Z)("h5");var ew=(0,V.Z)("offcanvas-title",{Component:ex}),e_=w(89673);function DialogTransition(o){return(0,W.jsx)(eg,{...o})}function BackdropTransition(o){return(0,W.jsx)(eu.Z,{...o})}let eE=D.forwardRef(({bsPrefix:o,className:S,children:w,"aria-labelledby":_,placement:N,responsive:F,show:V,backdrop:q,keyboard:Q,scroll:et,onEscapeKeyDown:er,onShow:eo,onHide:ea,container:eu,autoFocus:ec,enforceFocus:ed,restoreFocus:ep,restoreFocusOptions:eh,onEntered:em,onExit:eg,onExiting:ey,onEnter:eb,onEntering:eS,onExited:ex,backdropClassName:ew,manager:eE,renderStaticNode:eT,...eP},eC)=>{let ek=(0,D.useRef)();o=(0,U.vE)(o,"offcanvas");let{onToggle:eO}=(0,D.useContext)(Y.Z)||{},[eR,eA]=(0,D.useState)(!1),eM=es(F||"xs","up");(0,D.useEffect)(()=>{eA(F?V&&!eM:V)},[V,F,eM]);let ej=(0,en.Z)(()=>{null==eO||eO(),null==ea||ea()}),eL=(0,D.useMemo)(()=>({onHide:ej}),[ej]),eI=(0,D.useCallback)(S=>(0,W.jsx)("div",{...S,className:E()(`${o}-backdrop`,ew)}),[ew,o]),renderDialog=D=>(0,W.jsx)("div",{...D,...eP,className:E()(S,F?`${o}-${F}`:o,`${o}-${N}`),"aria-labelledby":_,children:w});return(0,W.jsxs)(W.Fragment,{children:[!eR&&(F||eT)&&renderDialog({}),(0,W.jsx)(ev.Z.Provider,{value:eL,children:(0,W.jsx)(el.Z,{show:eR,ref:eC,backdrop:q,container:eu,keyboard:Q,autoFocus:ec,enforceFocus:ed&&!et,restoreFocus:ep,restoreFocusOptions:eh,onEscapeKeyDown:er,onShow:eo,onHide:ej,onEnter:(o,...S)=>{o&&(o.style.visibility="visible"),null==eb||eb(o,...S)},onEntering:eS,onEntered:em,onExit:eg,onExiting:ey,onExited:(o,...S)=>{o&&(o.style.visibility=""),null==ex||ex(...S)},manager:eE||(et?(ek.current||(ek.current=new e_.Z({handleContainerOverflow:!1})),ek.current):(0,e_.t)()),transition:DialogTransition,backdropTransition:BackdropTransition,renderBackdrop:eI,renderDialog:renderDialog})})]})});eE.displayName="Offcanvas",eE.defaultProps={show:!1,backdrop:!0,keyboard:!0,scroll:!1,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,placement:"start",renderStaticNode:!1};var eT=Object.assign(eE,{Body:ec,Header:eb,Title:ew});let eP=D.forwardRef((o,S)=>{let w=(0,D.useContext)(Y.Z);return(0,W.jsx)(eT,{ref:S,show:!!(null!=w&&w.expanded),...o,renderStaticNode:!0})});eP.displayName="NavbarOffcanvas";let eC=(0,V.Z)("navbar-text",{Component:"span"}),ek=D.forwardRef((o,S)=>{let{bsPrefix:w,expand:_,variant:V,bg:q,fixed:Q,sticky:et,className:en,as:er="nav",expanded:eo,onToggle:ea,onSelect:es,collapseOnSelect:el,...eu}=(0,F.Ch)(o,{expanded:"onToggle"}),ec=(0,U.vE)(w,"navbar"),ed=(0,D.useCallback)((...o)=>{null==es||es(...o),el&&eo&&(null==ea||ea(!1))},[es,el,eo,ea]);void 0===eu.role&&"nav"!==er&&(eu.role="navigation");let ep=`${ec}-expand`;"string"==typeof _&&(ep=`${ep}-${_}`);let eh=(0,D.useMemo)(()=>({onToggle:()=>null==ea?void 0:ea(!eo),bsPrefix:ec,expanded:!!eo,expand:_}),[ec,eo,_,ea]);return(0,W.jsx)(Y.Z.Provider,{value:eh,children:(0,W.jsx)(N.Z.Provider,{value:ed,children:(0,W.jsx)(er,{ref:S,...eu,className:E()(en,ec,_&&ep,V&&`${ec}-${V}`,q&&`bg-${q}`,et&&`sticky-${et}`,Q&&`fixed-${Q}`)})})})});ek.defaultProps={expand:!0,variant:"light",collapseOnSelect:!1},ek.displayName="Navbar";var eO=Object.assign(ek,{Brand:q,Collapse:et,Offcanvas:eP,Text:eC,Toggle:er})},64819:function(o,S,w){"use strict";var _=w(67294);let E=_.createContext(null);
26E.displayName="NavbarContext",S.Z=E},34051:function(o,S,w){"use strict";var _=w(94184),E=w.n(_),D=w(67294),N=w(76792),F=w(85893);let V=D.forwardRef(({bsPrefix:o,className:S,as:w="div",..._},D)=>{let V=(0,N.vE)(o,"row"),U=(0,N.pi)(),W=(0,N.zG)(),q=`${V}-cols`,Q=[];return U.forEach(o=>{let S;let w=_[o];delete _[o],null!=w&&"object"==typeof w?{cols:S}=w:S=w;let E=o!==W?`-${o}`:"";null!=S&&Q.push(`${q}${E}-${S}`)}),(0,F.jsx)(w,{ref:D,..._,className:E()(S,V,...Q)})});V.displayName="Row",S.Z=V},76792:function(o,S,w){"use strict";w.d(S,{SC:function(){return useIsRTL},pi:function(){return useBootstrapBreakpoints},vE:function(){return useBootstrapPrefix},zG:function(){return useBootstrapMinBreakpoint}});var _=w(67294);w(85893);let E=_.createContext({prefixes:{},breakpoints:["xxl","xl","lg","md","sm","xs"],minBreakpoint:"xs"}),{Consumer:D,Provider:N}=E;function useBootstrapPrefix(o,S){let{prefixes:w}=(0,_.useContext)(E);return o||w[S]||S}function useBootstrapBreakpoints(){let{breakpoints:o}=(0,_.useContext)(E);return o}function useBootstrapMinBreakpoint(){let{minBreakpoint:o}=(0,_.useContext)(E);return o}function useIsRTL(){let{dir:o}=(0,_.useContext)(E);return"rtl"===o}},32785:function(o,S,w){"use strict";w.d(S,{Z:function(){return U}});var _=w(67294),E=w(26273),D=w(35654),N=w(73935),F=w(85893);let V=_.forwardRef(({onEnter:o,onEntering:S,onEntered:w,onExit:V,onExiting:U,onExited:W,addEndListener:q,children:Q,childRef:Y,...et},en)=>{let er=(0,_.useRef)(null),eo=(0,D.Z)(er,Y),attachRef=o=>{eo(o&&"setState"in o?N.findDOMNode(o):null!=o?o:null)},normalize=o=>S=>{o&&er.current&&o(er.current,S)},ea=(0,_.useCallback)(normalize(o),[o]),es=(0,_.useCallback)(normalize(S),[S]),el=(0,_.useCallback)(normalize(w),[w]),eu=(0,_.useCallback)(normalize(V),[V]),ec=(0,_.useCallback)(normalize(U),[U]),ed=(0,_.useCallback)(normalize(W),[W]),ep=(0,_.useCallback)(normalize(q),[q]);return(0,F.jsx)(E.ZP,{ref:en,...et,onEnter:ea,onEntered:el,onEntering:es,onExit:eu,onExited:ed,onExiting:ec,addEndListener:ep,nodeRef:er,children:"function"==typeof Q?(o,S)=>Q(o,{...S,ref:attachRef}):_.cloneElement(Q,{ref:attachRef})})});var U=V},66611:function(o,S,w){"use strict";w.d(S,{Z:function(){return createWithBsPrefix}});var _=w(94184),E=w.n(_),D=/-(.)/g,N=w(67294),F=w(76792),V=w(85893);let pascalCase=o=>o[0].toUpperCase()+o.replace(D,function(o,S){return S.toUpperCase()}).slice(1);function createWithBsPrefix(o,{displayName:S=pascalCase(o),Component:w,defaultProps:_}={}){let D=N.forwardRef(({className:S,bsPrefix:_,as:D=w||"div",...N},U)=>{let W=(0,F.vE)(_,o);return(0,V.jsx)(D,{ref:U,className:E()(S,W),...N})});return D.defaultProps=_,D.displayName=S,D}},39602:function(o,S,w){"use strict";var _=w(67294),E=w(94184),D=w.n(E),N=w(85893);S.Z=o=>_.forwardRef((S,w)=>(0,N.jsx)("div",{...S,ref:w,className:D()(S.className,o)}))},93825:function(o,S,w){"use strict";w.d(S,{Z:function(){return transitionEndListener}});var _=w(91505),E=w(94305);function parseDuration(o,S){let w=(0,_.Z)(o,S)||"",E=-1===w.indexOf("ms")?1e3:1;return parseFloat(w)*E}function transitionEndListener(o,S){let w=parseDuration(o,"transitionDuration"),_=parseDuration(o,"transitionDelay"),D=(0,E.Z)(o,w=>{w.target===o&&(D(),S(w))},w+_)}},34509:function(o,S,w){"use strict";function triggerBrowserReflow(o){o.offsetHeight}w.d(S,{Z:function(){return triggerBrowserReflow}})},23941:function(o,S,w){"use strict";var _=this&&this.__assign||function(){return(_=Object.assign||function(o){for(var S,w=1,_=arguments.length;w<_;w++)for(var E in S=arguments[w])Object.prototype.hasOwnProperty.call(S,E)&&(o[E]=S[E]);return o}).apply(this,arguments)},E=this&&this.__createBinding||(Object.create?function(o,S,w,_){void 0===_&&(_=w);var E=Object.getOwnPropertyDescriptor(S,w);(!E||("get"in E?!S.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return S[w]}}),Object.defineProperty(o,_,E)}:function(o,S,w,_){void 0===_&&(_=w),o[_]=S[w]}),D=this&&this.__setModuleDefault||(Object.create?function(o,S){Object.defineProperty(o,"default",{enumerable:!0,value:S})}:function(o,S){o.default=S}
26),N=this&&this.__importStar||function(o){if(o&&o.__esModule)return o;var S={};if(null!=o)for(var w in o)"default"!==w&&Object.prototype.hasOwnProperty.call(o,w)&&E(S,o,w);return D(S,o),S};Object.defineProperty(S,"__esModule",{value:!0});var F=N(w(67294)),V=w(67294);S.default=function(o){var S=_({cardStyles:{back:{},front:{}},cardZIndex:"auto",containerStyle:{},flipDirection:"horizontal",flipSpeedBackToFront:.6,flipSpeedFrontToBack:.6,infinite:!1,isFlipped:!1},o),w=S.cardStyles,E=w.back,D=w.front,N=S.cardZIndex,U=S.containerStyle,W=S.containerClassName,q=S.flipDirection,Q=S.flipSpeedFrontToBack,Y=S.flipSpeedBackToFront,et=S.infinite,en=S.isFlipped,er=(0,V.useState)(en),eo=er[0],ea=er[1],es=(0,V.useState)(0),el=es[0],eu=es[1];(0,V.useEffect)(function(){en!==eo&&(ea(en),eu(function(o){return o+180}))},[en]);var ec=(0,V.useMemo)(function(){var o="react-card-flip";return W&&(o+=" ".concat(W)),o},[W]),getComponent=function(S){if(2!==o.children.length)throw Error("Component ReactCardFlip requires 2 children to function");return o.children[S]},ed="rotateY(".concat(et?el:en?180:0,"deg)"),ep="rotateY(".concat(et?el+180:en?0:-180,"deg)"),eh="rotateX(".concat(et?el:en?180:0,"deg)"),em="rotateX(".concat(et?el+180:en?0:-180,"deg)"),eg={back:_({WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:en?"relative":"absolute",top:"0",transform:"horizontal"===q?ep:em,transformStyle:"preserve-3d",transition:"".concat(Q,"s"),width:"100%"},E),container:{perspective:"1000px",zIndex:"".concat(N)},flipper:{height:"100%",position:"relative",width:"100%"},front:_({WebkitBackfaceVisibility:"hidden",backfaceVisibility:"hidden",height:"100%",left:"0",position:en?"absolute":"relative",top:"0",transform:"horizontal"===q?ed:eh,transformStyle:"preserve-3d",transition:"".concat(Y,"s"),width:"100%",zIndex:"2"},D)};return F.createElement("div",{className:ec,style:_(_({},eg.container),U)},F.createElement("div",{className:"react-card-flipper",style:eg.flipper},F.createElement("div",{className:"react-card-front",style:eg.front},getComponent(0)),F.createElement("div",{className:"react-card-back",style:eg.back},getComponent(1))))}},14711:function(o,S,w){"use strict";w.d(S,{Z:function(){return U}});var _=w(67294),E=w(70365),D=w.n(E),N=w(77635),F=w.n(N),es_SimpleForm=function(o){var S=o.status,w=o.message,E=o.className,D=o.style,N=o.onSubmitted,F=void 0;return _.createElement("div",{className:E,style:D},"sending"===S&&_.createElement("div",{style:{color:"blue"}},"sending..."),"error"===S&&_.createElement("div",{style:{color:"red"},dangerouslySetInnerHTML:{__html:w}}),"success"===S&&_.createElement("div",{style:{color:"green"},dangerouslySetInnerHTML:{__html:w}}),_.createElement("input",{ref:function(o){return F=o},type:"email",placeholder:"Your email"}),_.createElement("button",{onClick:function(){return F&&F.value.indexOf("@")>-1&&N({EMAIL:F.value})}},"Submit"))};function _possibleConstructorReturn(o,S){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&("object"==typeof S||"function"==typeof S)?S:o}var V=function(o){function MailchimpSubscribe(){var S,w;!function(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")}(this,MailchimpSubscribe);for(var _=arguments.length,E=Array(_),N=0;N<_;N++)E[N]=arguments[N];return S=w=_possibleConstructorReturn(this,o.call.apply(o,[this].concat(E))),w.state={status:null,message:null},w.subscribe=function(o){var S=F()(o),_=w.props.url.replace("/post?","/post-json?")+"&"+S;w.setState({status:"sending",message:null},function(){return D()(_,{param:"c"},function(o,S){o?w.setState({status:"error",message:o}):"success"!==S.result?w.setState({status:"error",message:S.msg}):w.setState({status:"success",message:S.msg})})})},_possibleConstructorReturn(w,S)}return!function(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Super expression must either be null or a function, not "+typeof S);o.prototype=Object.create(S&&S.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(o,S):o.__proto__=S)}(MailchimpSubscribe,o),MailchimpSubscribe.prototype.render=function(){return this.props.render({subscribe:this.subscribe,status:this.state.status,message:this.state.message})},MailchimpSubscribe}(_.Component);V.propTypes={},V.defaultProps={render:function(o){var S=o.subscribe,w=o.status,E=o.message;return _.createElement(es_SimpleForm,{status:w,message:E,onSubmitted:function(o){return S(o)}})}};var U=V},33545:function(o,S,w){"use strict";w.d(S,{Jx:function(){return el},ZP:function(){return eo}});var _=w(67294);let E=_.createContext(null);function transformToViewState(o){return{longitude:o.center.lng,latitude:o.center.lat,zoom:o.zoom,pitch:o.pitch,bearing:o.bearing,padding:o.padding}}function applyViewStateToTransform(o,S){let w=S.viewState||S,_=!1;if("longitude"in w&&"latitude"in w){let S=o.center;o.center=new S.constructor(w.longitude,w.latitude),_=_||S!==o.center}if("zoom"in w){let S=o.zoom;o.zoom=w.zoom,_=_||S!==o.zoom}if("bearing"in w){let S=o.bearing;o.bearing=w.bearing,_=_||S!==o.bearing}if("pitch"in w){let S=o.pitch;o.pitch=w.pitch,_=_||S!==o.pitch}return w.padding&&!o.isPaddingEqual(w.padding)&&(_=!0,o.padding=w.padding),_}let D=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function normalizeStyle(o){if(!o)return null;if("string"==typeof o||("toJS"in o&&(o=o.toJS()),!o.layers))return o;let S={};for(let w of o.layers)S[w.id]=w;let w=o.layers.map(o=>{let w=S[o.ref],_=null;if("interactive"in o&&(_={...o},delete _.interactive),w)for(let S of(_=_||{...o},delete _.ref,D))S in w&&(_[S]=w[S]);return _||o});return{...o,layers:w}}
26function deep_equal_deepEqual(o,S){if(o===S)return!0;if(!o||!S)return!1;if(Array.isArray(o)){if(!Array.isArray(S)||o.length!==S.length)return!1;for(let w=0;w<o.length;w++)if(!deep_equal_deepEqual(o[w],S[w]))return!1;return!0}if(Array.isArray(S))return!1;if("object"==typeof o&&"object"==typeof S){let w=Object.keys(o),_=Object.keys(S);if(w.length!==_.length)return!1;for(let _ of w)if(!S.hasOwnProperty(_)||!deep_equal_deepEqual(o[_],S[_]))return!1;return!0}return!1}var N=w(34155);let F={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},V={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},U={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},W=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],q=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];let Mapbox=class Mapbox{constructor(o,S,w){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=o=>{let S=this.props[U[o.type]];S&&S(o)},this._onPointerEvent=o=>{("mousemove"===o.type||"mouseout"===o.type)&&this._updateHover(o);let S=this.props[F[o.type]];S&&(this.props.interactiveLayerIds&&"mouseover"!==o.type&&"mouseout"!==o.type&&(o.features=this._hoveredFeatures||this._queryRenderedFeatures(o.point)),S(o),delete o.features)},this._onCameraEvent=o=>{if(!this._internalUpdate){let S=this.props[V[o.type]];S&&S(o)}o.type in this._deferredEvents&&(this._deferredEvents[o.type]=!1)},this._MapClass=o,this.props=S,this._initialize(w)}get map(){return this._map}get transform(){return this._renderTransform}setProps(o){let S=this.props;this.props=o;let w=this._updateSettings(o,S);w&&this._createShadowTransform(this._map);let _=this._updateSize(o),E=this._updateViewState(o,!0);this._updateStyle(o,S),this._updateStyleComponents(o,S),this._updateHandlers(o,S),(w||_||E&&!this._map.isMoving())&&this.redraw()}static reuse(o,S){let w=Mapbox.savedMaps.pop();if(!w)return null;let _=w.map,E=_.getContainer();for(S.className=E.className;E.childNodes.length>0;)S.appendChild(E.childNodes[0]);_._container=S,w.setProps({...o,styleDiffing:!1}),_.resize();let{initialViewState:D}=o;return D&&(D.bounds?_.fitBounds(D.bounds,{...D.fitBoundsOptions,duration:0}):w._updateViewState(D,!1)),_.isStyleLoaded()?_.fire("load"):_.once("styledata",()=>_.fire("load")),_.triggerRepaint(),w}_initialize(o){let{props:S}=this,w={...S,...S.initialViewState,accessToken:S.mapboxAccessToken||function(){let o=null;if("undefined"!=typeof location){let S=/access_token=([^&\/]*)/.exec(location.search);o=S&&S[1]}try{o=o||N.env.MapboxAccessToken}catch(o){}try{o=o||N.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch(o){}return o}()||null,container:o,style:normalizeStyle(S.mapStyle)},_=w.initialViewState||w.viewState||w;if(Object.assign(w,{center:[_.longitude||0,_.latitude||0],zoom:_.zoom||0,pitch:_.pitch||0,bearing:_.bearing||0}),S.gl){let o=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=o,S.gl)}let E=new this._MapClass(w);_.padding&&E.setPadding(_.padding),S.cursor&&(E.getCanvas().style.cursor=S.cursor),this._createShadowTransform(E);let D=E._render;E._render=o=>{this._inRender=!0,D.call(E,o),this._inRender=!1};let W=E._renderTaskQueue.run;E._renderTaskQueue.run=o=>{W.call(E._renderTaskQueue,o),this._onBeforeRepaint()},E.on("render",()=>this._onAfterRepaint());let q=E.fire;
26for(let o in E.fire=this._fireEvent.bind(this,q),E.on("resize",()=>{this._renderTransform.resize(E.transform.width,E.transform.height)}),E.on("styledata",()=>this._updateStyleComponents(this.props,{})),E.on("sourcedata",()=>this._updateStyleComponents(this.props,{})),F)E.on(o,this._onPointerEvent);for(let o in V)E.on(o,this._onCameraEvent);for(let o in U)E.on(o,this._onEvent);this._map=E}recycle(){let o=this.map.getContainer(),S=o.querySelector("[mapboxgl-children]");null==S||S.remove(),Mapbox.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){let o=this._map;!this._inRender&&o.style&&(o._frame&&(o._frame.cancel(),o._frame=null),o._render())}_createShadowTransform(o){let S=function(o){let S=o.clone();return S.pixelsToGLUnits=o.pixelsToGLUnits,S}(o.transform);o.painter.transform=S,this._renderTransform=S}_updateSize(o){let{viewState:S}=o;if(S){let o=this._map;if(S.width!==o.transform.width||S.height!==o.transform.height)return o.resize(),!0}return!1}_updateViewState(o,S){if(this._internalUpdate)return!1;let w=this._map,_=this._renderTransform,{zoom:E,pitch:D,bearing:N}=_,F=w.isMoving();F&&(_.cameraElevationReference="sea");let V=applyViewStateToTransform(_,{...transformToViewState(w.transform),...o});if(F&&(_.cameraElevationReference="ground"),V&&S){let o=this._deferredEvents;o.move=!0,o.zoom||(o.zoom=E!==_.zoom),o.rotate||(o.rotate=N!==_.bearing),o.pitch||(o.pitch=D!==_.pitch)}return F||applyViewStateToTransform(w.transform,o),V}_updateSettings(o,S){let w=this._map,_=!1;for(let E of W)E in o&&!deep_equal_deepEqual(o[E],S[E])&&(_=!0,w[`set${E[0].toUpperCase()}${E.slice(1)}`](o[E]));return _}
26_updateStyle(o,S){if(o.cursor!==S.cursor&&(this._map.getCanvas().style.cursor=o.cursor),o.mapStyle!==S.mapStyle){let S={diff:o.styleDiffing};return"localIdeographFontFamily"in o&&(S.localIdeographFontFamily=o.localIdeographFontFamily),this._map.setStyle(normalizeStyle(o.mapStyle),S),!0}return!1}_updateStyleComponents(o,S){let w=this._map,_=!1;return w.style.loaded()&&("light"in o&&!deep_equal_deepEqual(o.light,S.light)&&(_=!0,w.setLight(o.light)),"fog"in o&&!deep_equal_deepEqual(o.fog,S.fog)&&(_=!0,w.setFog(o.fog)),"terrain"in o&&!deep_equal_deepEqual(o.terrain,S.terrain)&&(!o.terrain||w.getSource(o.terrain.source))&&(_=!0,w.setTerrain(o.terrain))),_}_updateHandlers(o,S){let w=this._map,_=!1;for(let E of q){let D=o[E];deep_equal_deepEqual(D,S[E])||(_=!0,D?w[E].enable(D):w[E].disable())}return _}_queryRenderedFeatures(o){let S=this._map,{interactiveLayerIds:w=[]}=this.props;try{return S.queryRenderedFeatures(o,{layers:w.filter(S.getLayer.bind(S))})}catch(o){return[]}}_updateHover(o){var S;let{props:w}=this,_=w.interactiveLayerIds&&(w.onMouseMove||w.onMouseEnter||w.onMouseLeave);if(_){let w=o.type,_=(null===(S=this._hoveredFeatures)||void 0===S?void 0:S.length)>0,E=this._queryRenderedFeatures(o.point),D=E.length>0;!D&&_&&(o.type="mouseleave",this._onPointerEvent(o)),this._hoveredFeatures=E,D&&!_&&(o.type="mouseenter",this._onPointerEvent(o)),o.type=w}else this._hoveredFeatures=null}_fireEvent(o,S,w){let _=this._map,E=_.transform,D="string"==typeof S?S:S.type;return("move"===D&&this._updateViewState(this.props,!1),D in V&&("object"==typeof S&&(S.viewState=transformToViewState(E)),this._map.isMoving()))?(_.transform=this._renderTransform,o.call(_,S,w),_.transform=E):o.call(_,S,w),_}_onBeforeRepaint(){let o=this._map;for(let S in this._internalUpdate=!0,this._deferredEvents)this._deferredEvents[S]&&o.fire(S);this._internalUpdate=!1;let S=this._map.transform;this._map.transform=this._renderTransform,this._onAfterRepaint=()=>{this._map.transform=S}}};Mapbox.savedMaps=[];let Q=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"],Y="undefined"!=typeof document?_.useLayoutEffect:_.useEffect,et=["baseApiUrl","maxParallelImageRequests","workerClass","workerCount","workerUrl"],en=_.createContext(null),er=(0,_.forwardRef)((o,S)=>{let D=(0,_.useContext)(E),[N,F]=(0,_.useState)(null),V=(0,_.useRef)(),{current:U}=(0,_.useRef)({mapLib:null,map:null});(0,_.useEffect)(()=>{let S;let _=o.mapLib,E=!0;return Promise.resolve(_||w.e(634).then(w.t.bind(w,6158,23))).then(w=>{if(E){if(w.Map||(w=w.default),!w||!w.Map)throw Error("Invalid mapLib");if(function(o,S){for(let w of et)w in S&&(o[w]=S[w]);S.RTLTextPlugin&&o.getRTLTextPluginStatus&&"unavailable"===o.getRTLTextPluginStatus()&&o.setRTLTextPlugin(S.RTLTextPlugin,o=>{o&&console.error(o)},!1)}(w,o),w.supported(o))o.reuseMaps&&(S=Mapbox.reuse(o,V.current)),S||(S=new Mapbox(w.Map,o,V.current)),U.map=function(o,S){if(!o)return null;let w=o.map,_={getMap:()=>w,getCenter:()=>o.transform.center,getZoom:()=>o.transform.zoom,getBearing:()=>o.transform.bearing,getPitch:()=>o.transform.pitch,getPadding:()=>o.transform.padding,getBounds:()=>o.transform.getBounds(),project:w=>o.transform.locationPoint(S.LngLat.convert(w)),unproject:w=>o.transform.pointLocation(S.Point.convert(w)),queryTerrainElevation:(S,_)=>{let E=w.transform;w.transform=o.transform;let D=w.queryTerrainElevation(S,_);return w.transform=E,D}};for(let o of function(o){let S=new Set,w=o;for(;w;){for(let _ of Object.getOwnPropertyNames(w))"_"!==_[0]&&"function"==typeof o[_]&&"fire"!==_&&"setEventedParent"!==_&&S.add(_);w=Object.getPrototypeOf(w)}return Array.from(S)}(w))o in _||Q.includes(o)||(_[o]=w[o].bind(w));return _}(S,w),U.mapLib=w,F(S),null==D||D.onMapMount(U.map,o.id);else throw Error("Map is not supported by this browser")}}).catch(S=>{o.onError({type:"error",target:null,originalEvent:null,error:S})}),()=>{E=!1,S&&(null==D||D.onMapUnmount(o.id),o.reuseMaps?S.recycle():S.destroy())}},[]),Y(()=>{N&&N.setProps(o)}),(0,_.useImperativeHandle)(S,()=>U.map,[N]);let W=(0,_.useMemo)(()=>({position:"relative",width:"100%",height:"100%",...o.style}),[o.style]);return _.createElement("div",{id:o.id,ref:V,style:W},N&&_.createElement(en.Provider,{value:U},_.createElement("div",{"mapboxgl-children":"",style:{height:"100%"}},o.children)))});er.displayName="Map",er.defaultProps={minZoom:0,maxZoom:22,minPitch:0,maxPitch:60,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,touchPitch:!0,mapStyle:{version:8,sources:{},layers:[]},styleDiffing:!0,projection:"mercator",renderWorldCopies:!0,onError:o=>console.error(o.error),RTLTextPlugin:"https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-rtl-text/v0.2.3/mapbox-gl-rtl-text.js"};var eo=er,ea=w(73935);let es=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;
26function applyReactStyle(o,S){if(!o||!S)return;let w=o.style;for(let o in S){let _=S[o];Number.isFinite(_)&&!es.test(o)?w[o]=`${_}px`:w[o]=_}}function Marker(o){let{map:S,mapLib:w}=(0,_.useContext)(en),E=(0,_.useRef)({props:o});E.current.props=o;let D=(0,_.useMemo)(()=>{let S=!1;_.Children.forEach(o.children,o=>{o&&(S=!0)});let N={...o,element:S?document.createElement("div"):null},F=new w.Marker(N).setLngLat([o.longitude,o.latitude]);return F.getElement().addEventListener("click",o=>{var S,w;null===(w=(S=E.current.props).onClick)||void 0===w||w.call(S,{type:"click",target:F,originalEvent:o})}),F.on("dragstart",o=>{var S,w;o.lngLat=D.getLngLat(),null===(w=(S=E.current.props).onDragStart)||void 0===w||w.call(S,o)}),F.on("drag",o=>{var S,w;o.lngLat=D.getLngLat(),null===(w=(S=E.current.props).onDrag)||void 0===w||w.call(S,o)}),F.on("dragend",o=>{var S,w;o.lngLat=D.getLngLat(),null===(w=(S=E.current.props).onDragEnd)||void 0===w||w.call(S,o)}),F},[]);return(0,_.useEffect)(()=>(D.addTo(S.getMap()),()=>{D.remove()}),[]),(0,_.useEffect)(()=>{applyReactStyle(D.getElement(),o.style)},[o.style]),(D.getLngLat().lng!==o.longitude||D.getLngLat().lat!==o.latitude)&&D.setLngLat([o.longitude,o.latitude]),o.offset&&!function(o,S){let w=Array.isArray(o)?o[0]:o?o.x:0,_=Array.isArray(o)?o[1]:o?o.y:0,E=Array.isArray(S)?S[0]:S?S.x:0,D=Array.isArray(S)?S[1]:S?S.y:0;return w===E&&_===D}(D.getOffset(),o.offset)&&D.setOffset(o.offset),D.isDraggable()!==o.draggable&&D.setDraggable(o.draggable),D.getRotation()!==o.rotation&&D.setRotation(o.rotation),D.getRotationAlignment()!==o.rotationAlignment&&D.setRotationAlignment(o.rotationAlignment),D.getPitchAlignment()!==o.pitchAlignment&&D.setPitchAlignment(o.pitchAlignment),D.getPopup()!==o.popup&&D.setPopup(o.popup),(0,ea.createPortal)(o.children,D.getElement())}Marker.defaultProps={draggable:!1,popup:null,rotation:0,rotationAlignment:"auto",pitchAlignment:"auto"};var el=_.memo(Marker);function getClassList(o){return new Set(o?o.trim().split(/\s+/):[])}_.memo(function(o){let{map:S,mapLib:w}=(0,_.useContext)(en),E=(0,_.useMemo)(()=>document.createElement("div"),[]),D=(0,_.useRef)({props:o});D.current.props=o;let N=(0,_.useMemo)(()=>{let S={...o},_=new w.Popup(S).setLngLat([o.longitude,o.latitude]);return _.once("open",o=>{var S,w;null===(w=(S=D.current.props).onOpen)||void 0===w||w.call(S,o)}),_},[]);if((0,_.useEffect)(()=>{let onClose=o=>{var S,w;null===(w=(S=D.current.props).onClose)||void 0===w||w.call(S,o)};return N.on("close",onClose),N.setDOMContent(E).addTo(S.getMap()),()=>{N.off("close",onClose),N.isOpen()&&N.remove()}},[]),(0,_.useEffect)(()=>{applyReactStyle(N.getElement(),o.style)},[o.style]),N.isOpen()&&((N.getLngLat().lng!==o.longitude||N.getLngLat().lat!==o.latitude)&&N.setLngLat([o.longitude,o.latitude]),o.offset&&!deep_equal_deepEqual(N.options.offset,o.offset)&&N.setOffset(o.offset),(N.options.anchor!==o.anchor||N.options.maxWidth!==o.maxWidth)&&(N.options.anchor=o.anchor,N.setMaxWidth(o.maxWidth)),N.options.className!==o.className)){let S=getClassList(N.options.className),w=getClassList(o.className);for(let o of S)w.has(o)||N.removeClassName(o);for(let o of w)S.has(o)||N.addClassName(o);N.options.className=o.className}return(0,ea.createPortal)(o.children,E)});var use_control=function(o,S,w,E){let D=(0,_.useContext)(en),N=(0,_.useMemo)(()=>o(D),[]);return(0,_.useEffect)(()=>{let o=E||w||S,_="function"==typeof S&&"function"==typeof w?S:null,F="function"==typeof w?w:"function"==typeof S?S:null,{map:V}=D;return!V.hasControl(N)&&(V.addControl(N,null==o?void 0:o.position),_&&_(D)),()=>{F&&F(D),V.hasControl(N)&&V.removeControl(N)}},[]),N};_.memo(function(o){let S=use_control(({mapLib:S})=>new S.AttributionControl(o),{position:o.position});return(0,_.useEffect)(()=>{applyReactStyle(S._container,o.style)},[o.style]),null}),_.memo(function(o){let S=use_control(({mapLib:S})=>new S.FullscreenControl({container:o.containerId&&document.getElementById(o.containerId)}),{position:o.position});return(0,_.useEffect)(()=>{applyReactStyle(S._controlContainer,o.style)},[o.style]),null});let eu=(0,_.forwardRef)((o,S)=>{let w=(0,_.useRef)({props:o}),E=use_control(({mapLib:S})=>{let _=new S.GeolocateControl(o),E=_._setupUI;return _._setupUI=o=>{_._container.hasChildNodes()||E(o)},_.on("geolocate",o=>{var S,_;null===(_=(S=w.current.props).onGeolocate)||void 0===_||_.call(S,o)}),_.on("error",o=>{var S,_;null===(_=(S=w.current.props).onError)||void 0===_||_.call(S,o)}),_.on("outofmaxbounds",o=>
26{var S,_;null===(_=(S=w.current.props).onOutOfMaxBounds)||void 0===_||_.call(S,o)}),_.on("trackuserlocationstart",o=>{var S,_;null===(_=(S=w.current.props).onTrackUserLocationStart)||void 0===_||_.call(S,o)}),_.on("trackuserlocationend",o=>{var S,_;null===(_=(S=w.current.props).onTrackUserLocationEnd)||void 0===_||_.call(S,o)}),_},{position:o.position});return w.current.props=o,(0,_.useImperativeHandle)(S,()=>({trigger:()=>E.trigger()}),[]),(0,_.useEffect)(()=>{applyReactStyle(E._container,o.style)},[o.style]),null});function ScaleControl(o){let S=use_control(({mapLib:S})=>new S.ScaleControl(o),{position:o.position});return(S.options.unit!==o.unit||S.options.maxWidth!==o.maxWidth)&&(S.options.maxWidth=o.maxWidth,S.setUnit(o.unit)),(0,_.useEffect)(()=>{applyReactStyle(S._container,o.style)},[o.style]),null}eu.displayName="GeolocateControl",_.memo(eu),_.memo(function(o){let S=use_control(({mapLib:S})=>new S.NavigationControl(o),{position:o.position});return(0,_.useEffect)(()=>{applyReactStyle(S._container,o.style)},[o.style]),null}),ScaleControl.defaultProps={unit:"metric",maxWidth:100},_.memo(ScaleControl)},62977:function(o,S,w){"use strict";
26var _,E=this&&this.__makeTemplateObject||function(o,S){return Object.defineProperty?Object.defineProperty(o,"raw",{value:S}):o.raw=S,o},D=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(S,"__esModule",{value:!0});var N=D(w(67294)),F=D(w(41686)).default.div(_||(_=E(["\n display: inline-block;\n position: ",";\n"],["\n display: inline-block;\n position: ",";\n"])),function(o){return o.position}),Child=function(o){var S=o.children,w=o.x,_=o.y,E=o.scatterRandomly;return N.default.createElement(F,{position:E?"absolute":"relative",style:{left:w,top:_}},S)};Child.defaultProps={x:0,y:0,scatterRandomly:!1},S.default=Child},11736:function(o,S,w){"use strict";var _,E,D,N=this&&this.__makeTemplateObject||function(o,S){return Object.defineProperty?Object.defineProperty(o,"raw",{value:S}):o.raw=S,o},F=this&&this.__assign||function(){return(F=Object.assign||function(o){for(var S,w=1,_=arguments.length;w<_;w++)for(var E in S=arguments[w])Object.prototype.hasOwnProperty.call(S,E)&&(o[E]=S[E]);return o}).apply(this,arguments)},V=this&&this.__createBinding||(Object.create?function(o,S,w,_){void 0===_&&(_=w),Object.defineProperty(o,_,{enumerable:!0,get:function(){return S[w]}})}:function(o,S,w,_){void 0===_&&(_=w),o[_]=S[w]}),U=this&&this.__setModuleDefault||(Object.create?function(o,S){Object.defineProperty(o,"default",{enumerable:!0,value:S})}:function(o,S){o.default=S}),W=this&&this.__importStar||function(o){if(o&&o.__esModule)return o;var S={};if(null!=o)for(var w in o)"default"!==w&&Object.prototype.hasOwnProperty.call(o,w)&&V(S,o,w);return U(S,o),S},q=this&&this.__spreadArray||function(o,S){for(var w=0,_=S.length,E=o.length;w<_;w++,E++)o[E]=S[w];return o},Q=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(S,"__esModule",{value:!0});var Y=W(w(67294)),et=W(w(41686)),en=Q(w(62977)),er=w(17729),eo=et.default.div(_||(_=N(["\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: row;\n justify-content: center;\n flex-wrap: nowrap;\n"],["\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n display: flex;\n flex-direction: row;\n justify-content: center;\n flex-wrap: nowrap;\n"]))),ea=et.keyframes(E||(E=N(["\n 0% {\n transform: translate(0, 0);\n }\n\n 100% {\n transform: translate(100%, 0);\n }\n"],["\n 0% {\n transform: translate(0, 0);\n }\n\n 100% {\n transform: translate(100%, 0);\n }\n"]))),es=et.default.div(D||(D=N(["\n min-width: 100%;\n flex-shrink: 0;\n animation-name: ",";\n animation-direction: ",";\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-play-state: ",";\n"],["\n min-width: 100%;\n flex-shrink: 0;\n animation-name: ",";\n animation-direction: ",";\n animation-timing-function: linear;\n animation-iteration-count: infinite;\n animation-play-state: ",";\n"])),ea,function(o){return"rtl"===o.direction?"reverse":"normal"},function(o){return o.paused?"paused":"running"}),el=Y.default.memo(function(o){var S=o.children,w=o.direction,_=o.velocity,E=o.scatterRandomly,D=o.resetAfterTries,N=o.onInit,V=o.onFinish,U=Y.useState(0),W=U[0],Q=U[1],et=Y.useState(0),ea=et[0],el=et[1],eu=Y.useState(0),ec=eu[0],ed=eu[1],ep=Y.useState(0),eh=ep[0],em=ep[1],eg=Y.useState({width:0,height:0}),ev=eg[0],ey=eg[1],eb=Y.useState([]),eS=eb[0],ex=eb[1],ew=Y.useRef(null),e_=Y.useRef(null),eE=Y.useRef(!0);Y.useEffect(function(){eE.current&&(N(),eE.current=!1)},[N]),Y.useEffect(function(){E&&ey({width:ew.current.clientWidth,height:ew.current.clientHeight})},[E]),Y.useEffect(function(){!isNaN(_)&&_>0&&el(ew.current.clientWidth/_)},[_]),Y.useEffect(function(){if(E&&ec<50){var o=e_.current.childNodes;if(o.length>0){var w=ew.current.getBoundingClientRect(),_=o[o.length-1].getBoundingClientRect();if(er.outOfContainerBounds(_,w))ex(function(o){return o.slice(0,-1)}),ed(ec+1),em(eh+1);else{for(var N=!1,F=0;F+1<o.length;F++){var U=o[F].getBoundingClientRect(),W=o[o.length-1].getBoundingClientRect();er.doesOverlap(U,W,w)&&(N=!0,ex(function(o){return o.slice(0,-1)}),ed(ec+1),em(eh+1))}N||o.length!==eS.length||eS.length!==S.length||V({totalTries:eh})}}ev.width>0&&ev.height>0&&eS.length<S.length&&(ex(function(o){return q(q([],o),[{x:er.randomIntFromInterval(0,ev.width),y:er.randomIntFromInterval(0,ev.height)}])}),ed(ec+1),em(eh+1)),eh>0&&eh%D==0&&ex([])}},[ec,eS,ev,E]),Y.useEffect(function(){if(ec>=50){var o=setTimeout(function(){ed(0),Q(W+1)});return function(){return clearTimeout(o)}}},[ec,W]);var renderChild=function(o,S,w){var _;return void 0!==eS[S]&&(_=eS[S]),Y.default.createElement(en.default,F({key:(w?"child-original":"child-clone")+"-"+S},_,{scatterRandomly:E}),o)},eT=S.filter(function(o,S){return!E||void 0!==eS[S]}),eP={animationDuration:ea+"s"};return Y.default.createElement(eo,{ref:ew},Y.default.createElement(es,{style:F(F({},eP),0===_?{transform:"translateX(0)"}:{}),direction:w,paused:0===_},eT.map(function(o,S){return renderChild(o,S,!1)})),Y.default.createElement(es,{ref:e_,style:F(F({},eP),0===_?{transform:"translateX(0)"}:{}),direction:w,paused:0===_},eT.map(function(o,S){return renderChild(o,S,!0)})),Y.default.createElement(es,{style:F(F({},eP),0===_?{transform:"translateX(0)"}:{}),direction:w,paused:0===_},eT.map(function(o,S){return renderChild(o,S,!1)})))});el.defaultProps={direction:"rtl",velocity:30,scatterRandomly:!1,resetAfterTries:100,onInit:function(){},onFinish:function(){}},S.default=el},18001:function(o,S,w){"use strict";
26var _,E,D,N,F,V,U=this&&this.__makeTemplateObject||function(o,S){return Object.defineProperty?Object.defineProperty(o,"raw",{value:S}):o.raw=S,o},W=this&&this.__createBinding||(Object.create?function(o,S,w,_){void 0===_&&(_=w),Object.defineProperty(o,_,{enumerable:!0,get:function(){return S[w]}})}:function(o,S,w,_){void 0===_&&(_=w),o[_]=S[w]}),q=this&&this.__setModuleDefault||(Object.create?function(o,S){Object.defineProperty(o,"default",{enumerable:!0,value:S})}:function(o,S){o.default=S}),Q=this&&this.__importStar||function(o){if(o&&o.__esModule)return o;var S={};if(null!=o)for(var w in o)"default"!==w&&Object.prototype.hasOwnProperty.call(o,w)&&W(S,o,w);return q(S,o),S};Object.defineProperty(S,"__esModule",{value:!0});var Y=Q(w(67294)),et=Q(w(41686)),en=et.default.div(_||(_=U(["\n display: flex;\n width: ","px;\n height: ","px;\n justify-content: center;\n align-items: center;\n background-color: ",";\n"],["\n display: flex;\n width: ","px;\n height: ","px;\n justify-content: center;\n align-items: center;\n background-color: ",";\n"])),function(o){return o.buffer},function(o){return o.buffer},function(o){return o.backgroundColor}),er=et.default.div(E||(E=U(["\n position: relative;\n width: ","px;\n height: ","px;\n"],["\n position: relative;\n width: ","px;\n height: ","px;\n"])),function(o){return o.width},function(o){return o.height}),eo=et.default.div(D||(D=U(["\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -","px;\n margin-top: -","px;\n width: ","px;\n height: ","px;\n animation: "," linear infinite;\n background-color: ",";\n"],["\n position: absolute;\n left: 50%;\n top: 50%;\n margin-left: -","px;\n margin-top: -","px;\n width: ","px;\n height: ","px;\n animation: "," linear infinite;\n background-color: ",";\n"])),function(o){return o.width/2},function(o){return o.width/2},function(o){return o.width},function(o){return o.width},function(o){return orbit(o.initDeg,o.direction)},function(o){return o.backgroundColor}),ea=et.default.div(N||(N=U(["\n display: inline-block;\n animation: "," linear infinite;\n background-color: ",";\n"],["\n display: inline-block;\n animation: "," linear infinite;\n background-color: ",";\n"])),function(o){return reconciliation(o.initDeg,o.direction)},function(o){return o.backgroundColor}),orbit=function(o,S){return et.keyframes(F||(F=U(["\n 0% {\n transform: rotate(","deg);\n }\n\n 100% {\n transform: rotate(","deg);\n }\n"],["\n 0% {\n transform: rotate(","deg);\n }\n\n 100% {\n transform: rotate(","deg);\n }\n"])),o,"clockwise"===S?o+360:o-360)},reconciliation=function(o,S){return et.keyframes(V||(V=U(["\n 0% {\n transform: rotate(","deg);\n }\n\n 100% {\n transform: rotate(","deg);\n }\n"],["\n 0% {\n transform: rotate(","deg);\n }\n\n 100% {\n transform: rotate(","deg);\n }\n"])),"clockwise"===S?360-o:0-o,"clockwise"===S?0-o:360-o)},Motion=function(o){var S=o.children,w=o.initDeg,_=o.direction,E=o.velocity,D=o.radius,N=o.backgroundColors,F=Y.useRef(null),V=Y.useState({width:0,height:0}),U=V[0],W=V[1],q=2*Math.PI*D/E;return Y.useEffect(function(){W({width:F.current?F.current.clientWidth:0,height:F.current?F.current.clientHeight:0})},[]),Y.default.createElement(en,{buffer:2*D,backgroundColor:N.buffer},Y.default.createElement(er,{width:U.width,height:U.height},Y.default.createElement(eo,{style:{animationDuration:q+"s"},width:2*Math.pow(Math.pow(D,2)/2,.5),initDeg:w,direction:_,backgroundColor:N.solarSystem},Y.default.createElement(ea,{ref:F,style:{animationDuration:q+"s"},initDeg:w,direction:_,backgroundColor:N.earth},S))))};Motion.defaultProps={initDeg:0,velocity:10,radius:10,direction:"clockwise",backgroundColors:{earth:"transparent",solarSystem:"transparent",buffer:"transparent"}},S.default=Motion},68421:function(o,S,w){"use strict";
26var _,E=this&&this.__makeTemplateObject||function(o,S){return Object.defineProperty?Object.defineProperty(o,"raw",{value:S}):o.raw=S,o},D=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(S,"__esModule",{value:!0});var N=D(w(41686)).default.div(_||(_=E(["\n transform: scale(",");\n"],["\n transform: scale(",");\n"])),function(o){return o.scale});N.defaultProps={scale:1},S.default=N},45131:function(o,S,w){"use strict";var _=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(S,"__esModule",{value:!0}),S.randomFloatFromInterval=S.randomIntFromInterval=S.Scale=S.Motion=void 0;var E=_(w(11736)),D=_(w(18001));S.Motion=D.default;var N=_(w(68421));S.Scale=N.default;var F=w(17729);Object.defineProperty(S,"randomIntFromInterval",{enumerable:!0,get:function(){return F.randomIntFromInterval}}),Object.defineProperty(S,"randomFloatFromInterval",{enumerable:!0,get:function(){return F.randomFloatFromInterval}}),S.default=E.default},17729:function(o,S){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.outOfContainerBounds=S.doesOverlap=S.randomIntFromInterval=S.randomFloatFromInterval=void 0,S.randomFloatFromInterval=function(o,S){return parseFloat((Math.random()*(S-o)+o).toFixed(4))},S.randomIntFromInterval=function(o,S){return Math.floor(Math.random()*(S-o+1)+o)},S.doesOverlap=function(o,S,w){return o.right>w.right?!(o.right<S.left||o.left>S.right||o.bottom<S.top||o.top>S.bottom)||o.right-w.right>S.left:S.right>w.right?!(o.right<S.left||o.left>S.right||o.bottom<S.top||o.top>S.bottom)||S.right-w.right>o.left:!(o.right<S.left||o.left>S.right||o.bottom<S.top||o.top>S.bottom)},S.outOfContainerBounds=function(o,S){return o.bottom>S.bottom}},46511:function(o,S){"use strict";/** 27 * @license React 28 * react-reconciler-constants.production.min.js 29 * 30 * Copyright (c) Facebook, Inc. and its affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */S.ConcurrentRoot=1,S.ContinuousEventPriority=4,S.DefaultEventPriority=16,S.DiscreteEventPriority=1},67287:function(o,S,w){/** 35 * @license React 36 * react-reconciler.production.min.js 37 * 38 * Copyright (c) Facebook, Inc. and its affiliates. 39 * 40 * This source code is licensed under the MIT license found in the 41 * LICENSE file in the root directory of this source tree. 42 */o.exports=function(o){"use strict";var S,_,E,D,N,F={},V=w(67294),U=w(63840),W=Object.assign;function n(o){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+o,w=1;w<arguments.length;w++)S+="&args[]="+encodeURIComponent(arguments[w]);return"Minified React error #"+o+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var q=V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q=Symbol.for("react.element"),Y=Symbol.for("react.portal"),et=Symbol.for("react.fragment"),en=Symbol.for("react.strict_mode"),er=Symbol.for("react.profiler"),eo=Symbol.for("react.provider"),ea=Symbol.for("react.context"),es=Symbol.for("react.forward_ref"),el=Symbol.for("react.suspense"),eu=Symbol.for("react.suspense_list"),ec=Symbol.for("react.memo"),ed=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var ep=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var eh=Symbol.iterator;function ua(o){return null===o||"object"!=typeof o?null:"function"==typeof(o=eh&&o[eh]||o["@@iterator"])?o:null}function va(o){if(null==o)return null;if("function"==typeof o)return o.displayName||o.name||null;if("string"==typeof o)return o;switch(o){case et:return"Fragment";case Y:return"Portal";case er:return"Profiler";case en:return"StrictMode";case el:return"Suspense";case eu:return"SuspenseList"}if("object"==typeof o)switch(o.$$typeof){case ea:return(o.displayName||"Context")+".Consumer";case eo:return(o._context.displayName||"Context")+".Provider";case es:var S=o.render;return(o=o.displayName)||(o=""!==(o=S.displayName||S.name||"")?"ForwardRef("+o+")":"ForwardRef"),o;case ec:return null!==(S=o.displayName||null)?S:va(o.type)||"Memo";case ed:S=o._payload,o=o._init;try{return va(o(S))}catch(o){}}return null}function ya(o){var S=o,w=o;if(o.alternate)for(;S.return;)S=S.return;else{o=S;do 0!=(4098&(S=o).flags)&&(w=S.return),o=S.return;while(o)}return 3===S.tag?w:null}function za(o){if(ya(o)!==o)throw Error(n(188))}function Aa(o){var S=o.alternate;if(!S){if(null===(S=ya(o)))throw Error(n(188));return S!==o?null:o}for(var w=o,_=S;;){var E=w.return;if(null===E)break;var D=E.alternate;if(null===D){if(null!==(_=E.return)){w=_;continue}break}if(E.child===D.child){for(D=E.child;D;){if(D===w)return za(E),o;if(D===_)return za(E),S;D=D.sibling}throw Error(n(188))}if(w.return!==_.return)w=E,_=D;else{for(var N=!1,F=E.child;F;){if(F===w){N=!0,w=E,_=D;break}if(F===_){N=!0,_=E,w=D;break}F=F.sibling}if(!N){for(F=D.child;F;){if(F===w){N=!0,w=D,_=E;break}if(F===_){N=!0,_=D,w=E;break}F=F.sibling}if(!N)throw Error(n(189))}}if(w.alternate!==_)throw Error(n(190))}if(3!==w.tag)throw Error(n(188));return w.stateNode.current===w?o:S}function Ba(o){return null!==(o=Aa(o))?function Ca(o){if(5===o.tag||6===o.tag)return o;for(o=o.child;null!==o;){var S=Ca(o);if(null!==S)return S;o=o.sibling}return null}(o):null}var em,eg=Array.isArray,ev=o.getPublicInstance,ey=o.getRootHostContext,eb=o.getChildHostContext,eS=o.prepareForCommit,ex=o.resetAfterCommit,ew=o.createInstance,e_=o.appendInitialChild,eE=o.finalizeInitialChildren,eT=o.prepareUpdate,eP=
vendor: 13,921 bytes, line 42
42o.shouldSetTextContent,eC=o.createTextInstance,ek=o.scheduleTimeout,eO=o.cancelTimeout,eR=o.noTimeout,eA=o.isPrimaryRenderer,eM=o.supportsMutation,ej=o.supportsPersistence,eL=o.supportsHydration,eI=o.getInstanceFromNode,eD=o.preparePortalMount,eN=o.getCurrentEventPriority,eF=o.detachDeletedInstance,eV=o.supportsMicrotasks,ez=o.scheduleMicrotask,eB=o.supportsTestSelectors,eU=o.findFiberRoot,eH=o.getBoundingRect,e$=o.getTextContent,eW=o.isHiddenSubtree,eZ=o.matchAccessibilityRole,eG=o.setFocusIfFocusable,eq=o.setupIntersectionObserver,eK=o.appendChild,eX=o.appendChildToContainer,eQ=o.commitTextUpdate,eY=o.commitMount,eJ=o.commitUpdate,e0=o.insertBefore,e1=o.insertInContainerBefore,e2=o.removeChild,e3=o.removeChildFromContainer,e4=o.resetTextContent,e5=o.hideInstance,e6=o.hideTextInstance,e8=o.unhideInstance,e9=o.unhideTextInstance,e7=o.clearContainer,te=o.cloneInstance,tt=o.createContainerChildSet,tn=o.appendChildToContainerChildSet,tr=o.finalizeContainerChildren,ti=o.replaceContainerChildren,to=o.cloneHiddenInstance,ta=o.cloneHiddenTextInstance,ts=o.canHydrateInstance,tl=o.canHydrateTextInstance,tu=o.canHydrateSuspenseInstance,tc=o.isSuspenseInstancePending,tp=o.isSuspenseInstanceFallback,th=o.registerSuspenseInstanceRetry,tm=o.getNextHydratableSibling,tv=o.getFirstHydratableChild,ty=o.getFirstHydratableChildWithinContainer,tb=o.getFirstHydratableChildWithinSuspenseInstance,tS=o.hydrateInstance,tx=o.hydrateTextInstance,tw=o.hydrateSuspenseInstance,t_=o.getNextHydratableInstanceAfterSuspenseInstance,tE=o.commitHydratedContainer,tT=o.commitHydratedSuspenseInstance,tP=o.clearSuspenseBoundary,tC=o.clearSuspenseBoundaryFromContainer,tk=o.shouldDeleteUnhydratedTailInstances,tO=o.didNotMatchHydratedContainerTextInstance,tR=o.didNotMatchHydratedTextInstance;function ac(o){if(void 0===em)try{throw Error()}catch(o){var S=o.stack.trim().match(/\n( *(at )?)/);em=S&&S[1]||""}return"\n"+em+o}var tA=!1;function cc(o,S){if(!o||tA)return"";tA=!0;var w=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(S){if(S=function(){throw Error()},Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(S,[])}catch(o){var _=o}Reflect.construct(o,[],S)}else{try{S.call()}catch(o){_=o}o.call(S.prototype)}}else{try{throw Error()}catch(o){_=o}o()}}catch(S){if(S&&_&&"string"==typeof S.stack){for(var E=S.stack.split("\n"),D=_.stack.split("\n"),N=E.length-1,F=D.length-1;1<=N&&0<=F&&E[N]!==D[F];)F--;for(;1<=N&&0<=F;N--,F--)if(E[N]!==D[F]){if(1!==N||1!==F)do if(N--,0>--F||E[N]!==D[F]){var V="\n"+E[N].replace(" at new "," at ");return o.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",o.displayName)),V}while(1<=N&&0<=F);break}}}finally{tA=!1,Error.prepareStackTrace=w}return(o=o?o.displayName||o.name:"")?ac(o):""}var tM=Object.prototype.hasOwnProperty,tj=[],tL=-1;function gc(o){return{current:o}}function x(o){0>tL||(o.current=tj[tL],tj[tL]=null,tL--)}function y(o,S){tj[++tL]=o.current,o.current=S}var tI={},tD=gc(tI),tN=gc(!1),tF=tI;function jc(o,S){var w=o.type.contextTypes;if(!w)return tI;var _=o.stateNode;if(_&&_.__reactInternalMemoizedUnmaskedChildContext===S)return _.__reactInternalMemoizedMaskedChildContext;var E,D={};for(E in w)D[E]=S[E];return _&&((o=o.stateNode).__reactInternalMemoizedUnmaskedChildContext=S,o.__reactInternalMemoizedMaskedChildContext=D),D}function C(o){return null!=(o=o.childContextTypes)}function kc(){x(tN),x(tD)}function lc(o,S,w){if(tD.current!==tI)throw Error(n(168));y(tD,S),y(tN,w)}function mc(o,S,w){var _=o.stateNode;if(S=S.childContextTypes,"function"!=typeof _.getChildContext)return w;for(var E in _=_.getChildContext())if(!(E in S))throw Error(n(108,function(o){var S=o.type;switch(o.tag){case 24:return"Cache";case 9:return(S.displayName||"Context")+".Consumer";case 10:return(S._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=(o=S.render).displayName||o.name||"",S.displayName||(""!==o?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return S;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return va(S);case 8:return S===en?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof S)return S.displayName||S.name||null;if("string"==typeof S)return S}return null}(o)||"Unknown",E));return W({},w,_)}function nc(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||tI,tF=tD.current,y(tD,o),y(tN,tN.current),!0}function oc(o,S,w){var _=o.stateNode;if(!_)throw Error(n(169));w?(o=mc(o,S,tF),_.__reactInternalMemoizedMergedChildContext=o,x(tN),x(tD),y(tD,o)):x(tN),y(tN,w)}var tV=Math.clz32?Math.clz32:function(o){return 0==(o>>>=0)?32:31-(tz(o)/tB|0)|0},tz=Math.log,tB=Math.LN2,tU=64,tH=4194304;function vc(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&o;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&o;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function wc(o,S){var w=o.pendingLanes;if(0===w)return 0;var _=0,E=o.suspendedLanes,D=o.pingedLanes,N=268435455&w;if(0!==N){var F=N&~E;0!==F?_=vc(F):0!=(D&=N)&&(_=vc(D))}else 0!=(N=w&~E)?_=vc(N):0!==D&&(_=vc(D));if(0===_)return 0;if(0!==S&&S!==_&&0==(S&E)&&((E=_&-_)>=(D=S&-S)||16===E&&0!=(4194240&D)))return S;if(0!=(4&_)&&(_|=16&w),0!==(S=o.entangledLanes))for(o=o.entanglements,S&=_;0<S;)E=1<<(w=31-tV(S)),_|=o[w],S&=~E;return _}function zc(o){return 0!=(o=-1073741825&o.pendingLanes)?o:1073741824&o?1073741824:0}function Ac(o){for(var S=[],w=0;31>w;w++)S.push(o);return S}function Bc(o,S,w){o.pendingLanes|=S,536870912!==S&&(o.suspendedLanes=0,o.pingedLanes=0),(o=o.eventTimes)[S=31-tV(S)]=w}function Dc(o,S){var w=o.entangledLanes|=S;for(o=o.entanglements;w;){var _=31-tV(w),E=1<<_;E&S|o[_]&S&&(o[_]|=S),w&=~E}}var t$=0;function Ec(o){return 1<(o&=-o)?4<o?0!=(268435455&o)?16:536870912:4:1}var tW=U.unstable_scheduleCallback,tZ=U.unstable_cancelCallback,tG=U.unstable_shouldYield,tq=U.unstable_requestPaint,tK=U.unstable_now,tX=U.unstable_ImmediatePriority,tQ=U.unstable_UserBlockingPriority,tY=U.unstable_NormalPriority,tJ=U.unstable_IdlePriority,t0=null,t1=null,t2="function"==typeof Object.is?Object.is:function(o,S){return o===S&&(0!==o||1/o==1/S)||o!=o&&S!=S},t3=null,t4=!1,t5=!1;function Vc(o){null===t3?t3=[o]:t3.push(o)}function Xc(){if(!t5&&null!==t3){t5=!0;var o=0,S=t$;try{var w=t3;for(t$=1;o<w.length;o++){var _=w[o];do _=_(!0);while(null!==_)}t3=null,t4=!1}catch(S){throw null!==t3&&(t3=t3.slice(o+1)),tW(tX,Xc),S}finally{t$=S,t5=!1}}return null}var t6=q.ReactCurrentBatchConfig;function Zc(o,S){if(t2(o,S))return!0;if("object"!=typeof o||null===o||"object"!=typeof S||null===S)return!1;var w=Object.keys(o),_=Object.keys(S);if(w.length!==_.length)return!1;for(_=0;_<w.length;_++){var E=w[_];if(!tM.call(S,E)||!t2(o[E],S[E]))return!1}return!0}function ad(o,S){if(o&&o.defaultProps)for(var w in S=W({},S),o=o.defaultProps)void 0===S[w]&&(S[w]=o[w]);return S}var t8=gc(null),t9=null,t7=null,nn=null;function fd(){nn=t7=t9=null}function gd(o,S,w){eA?(y(t8,S._currentValue),S._currentValue=w):(y(t8,S._currentValue2),S._currentValue2=w)}function hd(o){var S=t8.current;x(t8),eA?o._currentValue=S:o._currentValue2=S}function id(o,S,w){for(;null!==o;){var _=o.alternate;if((o.childLanes&S)!==S?(o.childLanes|=S,null!==_&&(_.childLanes|=S)):null!==_&&(_.childLanes&S)!==S&&(_.childLanes|=S),o===w)break;o=o.return}}function jd(o,S){t9=o,nn=t7=null,null!==(o=o.dependencies)&&null!==o.firstContext&&(0!=(o.lanes&S)&&(nq=!0),o.firstContext=null)}function ld(o){var S=eA?o._currentValue:o._currentValue2;if(nn!==o){if(o={context:o,memoizedValue:S,next:null},null===t7){if(null===t9)throw Error(n(308));t7=o,t9.dependencies={lanes:0,firstContext:o}}else t7=t7.next=o}return S}var nr=null,ni=!1;function od(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function pd(o,S){o=o.updateQueue,S.updateQueue===o&&(S.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function qd(o,S){return{eventTime:o,lane:S,tag:0,payload:null,callback:null,next:null}}function rd(o,S){var w=o.updateQueue;null!==w&&(w=w.shared,null!==rr&&0!=(1&o.mode)&&0==(2&rn)?(null===(o=w.interleaved)?(S.next=S,null===nr?nr=[w]:nr.push(w)):(S.next=o.next,o.next=S),w.interleaved=S):(null===(o=w.pending)?S.next=S:(S.next=o.next,o.next=S),w.pending=S))}function sd(o,S,w){if(null!==(S=S.updateQueue)&&(S=S.shared,0!=(4194240&w))){var _=S.lanes;_&=o.pendingLanes,w|=_,S.lanes=w,Dc(o,w)}}function td(o,S){var w=o.updateQueue,_=o.alternate;if(null!==_&&w===(_=_.updateQueue)){var E=null,D=null;if(null!==(w=w.firstBaseUpdate)){do{var N={eventTime:w.eventTime,lane:w.lane,tag:w.tag,payload:w.payload,callback:w.callback,next:null};null===D?E=D=N:D=D.next=N,w=w.next}while(null!==w);null===D?E=D=S:D=D.next=S}else E=D=S;w={baseState:_.baseState,firstBaseUpdate:E,lastBaseUpdate:D,shared:_.shared,effects:_.effects},o.updateQueue=w;return}null===(o=w.lastBaseUpdate)?w.firstBaseUpdate=S:o.next=S,w.lastBaseUpdate=S}function ud(o,S,w,_){var E=o.updateQueue;ni=!1;var D=E.firstBaseUpdate,N=E.lastBaseUpdate,F=E.shared.pending;if(null!==F){E.shared.pending=null;var V=F,U=V.next;V.next=null,null===N?D=U:N.next=U,N=V;var q=o.alternate;null!==q&&(F=(q=q.updateQueue).lastBaseUpdate)!==N&&(null===F?q.firstBaseUpdate=U:F.next=U,q.lastBaseUpdate=V)}if(null!==D){var Q=E.baseState;for(N=0,q=U=V=null,F=D;;){var Y=F.lane,et=F.eventTime;if((_&Y)===Y){null!==q&&(q=q.next={eventTime:et,lane:0,tag:F.tag,payload:F.payload,callback:F.callback,next:null});e:{var en=o,er=F;switch(Y=S,et=w,er.tag){case 1:if("function"==typeof(en=er.payload)){Q=en.call(et,Q,Y);break e}Q=en;break e;case 3:en.flags=-65537&en.flags|128;case 0:if(null==(Y="function"==typeof(en=er.payload)?en.call(et,Q,Y):en))break e;Q=W({},Q,Y);break e;case 2:ni=!0}}null!==F.callback&&0!==F.lane&&(o.flags|=64,null===(Y=E.effects)?E.effects=[F]:Y.push(F))}else et={eventTime:et,lane:Y,tag:F.tag,payload:F.payload,callback:F.callback,next:null},null===q?(U=q=et,V=Q):q=q.next=et,N|=Y;if(null===(F=F.next)){if(null===(F=E.shared.pending))break;F=(Y=F).next,Y.next=null,E.lastBaseUpdate=Y,E.shared.pending=null}}if(null===q&&(V=Q),E.baseState=V,E.firstBaseUpdate=U,E.lastBaseUpdate=q,null!==(S=E.shared.interleaved)){E=S;do N|=E.lane,E=E.next;while(E!==S)}else null===D&&(E.shared.lanes=0);rc|=N,o.lanes=N,o.memoizedState=Q}}function wd(o,S,w){if(o=S.effects,S.effects=null,null!==o)for(S=0;S<o.length;S++){var _=o[S],E=_.callback;if(null!==E){if(_.callback=null,_=w,"function"!=typeof E)throw Error(n(191,E));E.call(_)}}}var no=(new V.Component).refs;function yd(o,S,w,_){w=null==(w=w(_,S=o.memoizedState))?S:W({},S,w),o.memoizedState=w,0===o.lanes&&(o.updateQueue.baseState=w)}var na={isMounted:function(o){return!!(o=o._reactInternals)&&ya(o)===o},enqueueSetState:function(o,S,w){o=o._reactInternals;var _=H(),E=zd(o),D=qd(_,E);D.payload=S,null!=w&&(D.callback=w),rd(o,D),null!==(S=Ad(o,E,_))&&sd(S,o,E)},enqueueReplaceState:function(o,S,w){o=o._reactInternals;var _=H(),E=zd(o),D=qd(_,E);D.tag=1,D.payload=S,null!=w&&(D.callback=w),rd(o,D),null!==(S=Ad(o,E,_))&&sd(S,o,E)},enqueueForceUpdate:function(o,S){o=o._reactInternals;var w=H(),_=zd(o),E=qd(w,_);E.tag=2,null!=S&&(E.callback=S),rd(o,E),null!==(S=Ad(o,_,w))&&sd(S,o,_)}};function Cd(o,S,w,_,E,D,N){return"function"==typeof(o=o.stateNode).shouldComponentUpdate?o.shouldComponentUpdate(_,D,N):!S.prototype||!S.prototype.isPureReactComponent||!Zc(w,_)||!Zc(E,D)}function Dd(o,S,w){var _=!1,E=tI,D=S.contextType;return"object"==typeof D&&null!==D?D=ld(D):(E=C(S)?tF:tD.current,D=(_=null!=(_=S.contextTypes))?jc(o,E):tI),S=new S(w,D),o.memoizedState=null!==S.state&&void 0!==S.state?S.state:null,S.updater=na,o.stateNode=S,S._reactInternals=o,_&&((o=o.stateNode).__reactInternalMemoizedUnmaskedChildContext=E,o.__reactInternalMemoizedMaskedChildContext=D),S}function Ed(o,S,w,_){o=S.state,"function"==typeof S.componentWillReceiveProps&&S.componentWillReceiveProps(w,_),"function"==typeof S.UNSAFE_componentWillReceiveProps&&S.UNSAFE_componentWillReceiveProps(w,_),S.state!==o&&na.enqueueReplaceState(S,S.state,null)}function Fd(o,S,w,_){var E=o.stateNode;E.props=w,E.state=o.memoizedState,E.refs=no,od(o);var D=S.contextType;"object"==typeof D&&null!==D?E.context=ld(D):(D=C(S)?tF:tD.current,E.context=jc(o,D)),E.state=o.memoizedState,"function"==typeof(D=S.getDerivedStateFromProps)&&(yd(o,S,D,w),E.state=o.memoizedState),"function"==typeof S.getDerivedStateFromProps||"function"==typeof E.getSnapshotBeforeUpdate||"function"!=typeof E.UNSAFE_componentWillMount&&"function"!=typeof E.componentWillMount||(S=E.state,"function"==typeof E.componentWillMount&&E.componentWillMount(),"function"==typeof E.UNSAFE_componentWillMount&&E.UNSAFE_componentWillMount(),S!==E.state&&na.enqueueReplaceState(E,E.state,null),ud(o,w,E,_),E.state=o.memoizedState),"function"==typeof E.componentDidMount&&(o.flags|=4194308)}var ns=[],nl=0,nu=null,nd=0,np=[],nh=0,nm=null,nv=1,ny="";function Pd(o,S){ns[nl++]=nd,ns[nl++]=nu,nu=o,nd=S}function Qd(o,S,w){np[nh++]=nv,np[nh++]=ny,np[nh++]=nm,nm=o;var _=nv;o=ny;var E=32-tV(_)-1;_&=~(1<<E),w+=1;var D=32-tV(S)+E;if(30<D){var N=E-E%5;D=(_&(1<<N)-1).toString(32),_>>=N,E-=N,nv=1<<32-tV(S)+E|w<<E|_,ny=D+o}else nv=1<<D|w<<E|_,ny=o}
42function Rd(o){null!==o.return&&(Pd(o,1),Qd(o,1,0))}function Sd(o){for(;o===nu;)nu=ns[--nl],ns[nl]=null,nd=ns[--nl],ns[nl]=null;for(;o===nm;)nm=np[--nh],np[nh]=null,ny=np[--nh],np[nh]=null,nv=np[--nh],np[nh]=null}var nb=null,nS=null,nx=!1,nw=!1,n_=null;function Xd(o,S){var w=Yd(5,null,null,0);w.elementType="DELETED",w.stateNode=S,w.return=o,null===(S=o.deletions)?(o.deletions=[w],o.flags|=16):S.push(w)}function Zd(o,S){switch(o.tag){case 5:return null!==(S=ts(S,o.type,o.pendingProps))&&(o.stateNode=S,nb=o,nS=tv(S),!0);case 6:return null!==(S=tl(S,o.pendingProps))&&(o.stateNode=S,nb=o,nS=null,!0);case 13:if(null!==(S=tu(S))){var w=null!==nm?{id:nv,overflow:ny}:null;return o.memoizedState={dehydrated:S,treeContext:w,retryLane:1073741824},(w=Yd(18,null,null,0)).stateNode=S,w.return=o,o.child=w,nb=o,nS=null,!0}return!1;default:return!1}}function $d(o){return 0!=(1&o.mode)&&0==(128&o.flags)}function ae(o){if(nx){var S=nS;if(S){var w=S;if(!Zd(o,S)){if($d(o))throw Error(n(418));S=tm(w);var _=nb;S&&Zd(o,S)?Xd(_,w):(o.flags=-4097&o.flags|2,nx=!1,nb=o)}}else{if($d(o))throw Error(n(418));o.flags=-4097&o.flags|2,nx=!1,nb=o}}}function be(o){for(o=o.return;null!==o&&5!==o.tag&&3!==o.tag&&13!==o.tag;)o=o.return;nb=o}function ce(o){if(!eL||o!==nb)return!1;if(!nx)return be(o),nx=!0,!1;if(3!==o.tag&&(5!==o.tag||tk(o.type)&&!eP(o.type,o.memoizedProps))){var S=nS;if(S){if($d(o)){for(o=nS;o;)o=tm(o);throw Error(n(418))}for(;S;)Xd(o,S),S=tm(S)}}if(be(o),13===o.tag){if(!eL)throw Error(n(316));if(!(o=null!==(o=o.memoizedState)?o.dehydrated:null))throw Error(n(317));nS=t_(o)}else nS=nb?tm(o.stateNode):null;return!0}function de(){eL&&(nS=nb=null,nw=nx=!1)}function ee(o){null===n_?n_=[o]:n_.push(o)}function fe(o,S,w){if(null!==(o=w.ref)&&"function"!=typeof o&&"object"!=typeof o){if(w._owner){if(w=w._owner){if(1!==w.tag)throw Error(n(309));var _=w.stateNode}if(!_)throw Error(n(147,o));var E=_,D=""+o;return null!==S&&null!==S.ref&&"function"==typeof S.ref&&S.ref._stringRef===D?S.ref:((S=function(o){var S=E.refs;S===no&&(S=E.refs={}),null===o?delete S[D]:S[D]=o})._stringRef=D,S)}if("string"!=typeof o)throw Error(n(284));if(!w._owner)throw Error(n(290,o))}return o}function ge(o,S){throw Error(n(31,"[object Object]"===(o=Object.prototype.toString.call(S))?"object with keys {"+Object.keys(S).join(", ")+"}":o))}function he(o){return(0,o._init)(o._payload)}function ie(o){function b(S,w){if(o){var _=S.deletions;null===_?(S.deletions=[w],S.flags|=16):_.push(w)}}function c(S,w){if(!o)return null;for(;null!==w;)b(S,w),w=w.sibling;return null}function d(o,S){for(o=new Map;null!==S;)null!==S.key?o.set(S.key,S):o.set(S.index,S),S=S.sibling;return o}function e(o,S){return(o=je(o,S)).index=0,o.sibling=null,o}function f(S,w,_){return(S.index=_,o)?null!==(_=S.alternate)?(_=_.index)<w?(S.flags|=2,w):_:(S.flags|=2,w):(S.flags|=1048576,w)}function g(S){return o&&null===S.alternate&&(S.flags|=2),S}function h(o,S,w,_){return null===S||6!==S.tag?(S=ke(w,o.mode,_)).return=o:(S=e(S,w)).return=o,S}function k(o,S,w,_){var E=w.type;return E===et?m(o,S,w.props.children,_,w.key):(null!==S&&(S.elementType===E||"object"==typeof E&&null!==E&&E.$$typeof===ed&&he(E)===S.type)?(_=e(S,w.props)).ref=fe(o,S,w):(_=le(w.type,w.key,w.props,null,o.mode,_)).ref=fe(o,S,w),_.return=o,_)}function l(o,S,w,_){return null===S||4!==S.tag||S.stateNode.containerInfo!==w.containerInfo||S.stateNode.implementation!==w.implementation?(S=me(w,o.mode,_)).return=o:(S=e(S,w.children||[])).return=o,S}function m(o,S,w,_,E){return null===S||7!==S.tag?(S=ne(w,o.mode,_,E)).return=o:(S=e(S,w)).return=o,S}function v(o,S,w){if("string"==typeof S&&""!==S||"number"==typeof S)return(S=ke(""+S,o.mode,w)).return=o,S;if("object"==typeof S&&null!==S){switch(S.$$typeof){case Q:return(w=le(S.type,S.key,S.props,null,o.mode,w)).ref=fe(o,null,S),w.return=o,w;case Y:return(S=me(S,o.mode,w)).return=o,S;case ed:return v(o,(0,S._init)(S._payload),w)}if(eg(S)||ua(S))return(S=ne(S,o.mode,w,null)).return=o,S;ge(o,S)}return null}function r(o,S,w,_){var E=null!==S?S.key:null;if("string"==typeof w&&""!==w||"number"==typeof w)return null!==E?null:h(o,S,""+w,_);if("object"==typeof w&&null!==w){switch(w.$$typeof){case Q:return w.key===E?k(o,S,w,_):null;case Y:return w.key===E?l(o,S,w,_):null;case ed:return r(o,S,(E=w._init)(w._payload),_)}if(eg(w)||ua(w))return null!==E?null:m(o,S,w,_,null);ge(o,w)}return null}function z(o,S,w,_,E){if("string"==typeof _&&""!==_||"number"==typeof _)return h(S,o=o.get(w)||null,""+_,E);if("object"==typeof _&&null!==_){switch(_.$$typeof){case Q:return k(S,o=o.get(null===_.key?w:_.key)||null,_,E);case Y:return l(S,o=o.get(null===_.key?w:_.key)||null,_,E);case ed:return z(o,S,w,(0,_._init)(_._payload),E)}if(eg(_)||ua(_))return m(S,o=o.get(w)||null,_,E,null);ge(S,_)}return null}return function da(S,w,_,E){if("object"==typeof _&&null!==_&&_.type===et&&null===_.key&&(_=_.props.children),"object"==typeof _&&null!==_){switch(_.$$typeof){case Q:e:{for(var D=_.key,N=w;null!==N;
vendor: 10,280 bytes, line 42
42){if(N.key===D){if((D=_.type)===et){if(7===N.tag){c(S,N.sibling),(w=e(N,_.props.children)).return=S,S=w;break e}}else if(N.elementType===D||"object"==typeof D&&null!==D&&D.$$typeof===ed&&he(D)===N.type){c(S,N.sibling),(w=e(N,_.props)).ref=fe(S,N,_),w.return=S,S=w;break e}c(S,N);break}b(S,N),N=N.sibling}_.type===et?((w=ne(_.props.children,S.mode,E,_.key)).return=S,S=w):((E=le(_.type,_.key,_.props,null,S.mode,E)).ref=fe(S,w,_),E.return=S,S=E)}return g(S);case Y:e:{for(N=_.key;null!==w;){if(w.key===N){if(4===w.tag&&w.stateNode.containerInfo===_.containerInfo&&w.stateNode.implementation===_.implementation){c(S,w.sibling),(w=e(w,_.children||[])).return=S,S=w;break e}c(S,w);break}b(S,w),w=w.sibling}(w=me(_,S.mode,E)).return=S,S=w}return g(S);case ed:return da(S,w,(N=_._init)(_._payload),E)}if(eg(_))return function(S,w,_,E){for(var D=null,N=null,F=w,V=w=0,U=null;null!==F&&V<_.length;V++){F.index>V?(U=F,F=null):U=F.sibling;var W=r(S,F,_[V],E);if(null===W){null===F&&(F=U);break}o&&F&&null===W.alternate&&b(S,F),w=f(W,w,V),null===N?D=W:N.sibling=W,N=W,F=U}if(V===_.length)return c(S,F),nx&&Pd(S,V),D;if(null===F){for(;V<_.length;V++)null!==(F=v(S,_[V],E))&&(w=f(F,w,V),null===N?D=F:N.sibling=F,N=F);return nx&&Pd(S,V),D}for(F=d(S,F);V<_.length;V++)null!==(U=z(F,S,V,_[V],E))&&(o&&null!==U.alternate&&F.delete(null===U.key?V:U.key),w=f(U,w,V),null===N?D=U:N.sibling=U,N=U);return o&&F.forEach(function(o){return b(S,o)}),nx&&Pd(S,V),D}(S,w,_,E);if(ua(_))return function(S,w,_,E){var D=ua(_);if("function"!=typeof D)throw Error(n(150));if(null==(_=D.call(_)))throw Error(n(151));for(var N=D=null,F=w,V=w=0,U=null,W=_.next();null!==F&&!W.done;V++,W=_.next()){F.index>V?(U=F,F=null):U=F.sibling;var q=r(S,F,W.value,E);if(null===q){null===F&&(F=U);break}o&&F&&null===q.alternate&&b(S,F),w=f(q,w,V),null===N?D=q:N.sibling=q,N=q,F=U}if(W.done)return c(S,F),nx&&Pd(S,V),D;if(null===F){for(;!W.done;V++,W=_.next())null!==(W=v(S,W.value,E))&&(w=f(W,w,V),null===N?D=W:N.sibling=W,N=W);return nx&&Pd(S,V),D}for(F=d(S,F);!W.done;V++,W=_.next())null!==(W=z(F,S,V,W.value,E))&&(o&&null!==W.alternate&&F.delete(null===W.key?V:W.key),w=f(W,w,V),null===N?D=W:N.sibling=W,N=W);return o&&F.forEach(function(o){return b(S,o)}),nx&&Pd(S,V),D}(S,w,_,E);ge(S,_)}return"string"==typeof _&&""!==_||"number"==typeof _?(_=""+_,null!==w&&6===w.tag?(c(S,w.sibling),(w=e(w,_)).return=S):(c(S,w),(w=ke(_,S.mode,E)).return=S),g(S=w)):c(S,w)}}var nE=ie(!0),nT=ie(!1),nP={},nC=gc(nP),nk=gc(nP),nO=gc(nP);function ue(o){if(o===nP)throw Error(n(174));return o}function ve(o,S){y(nO,S),y(nk,o),y(nC,nP),o=ey(S),x(nC),y(nC,o)}function we(){x(nC),x(nk),x(nO)}function xe(o){var S=ue(nO.current),w=ue(nC.current);S=eb(w,o.type,S),w!==S&&(y(nk,o),y(nC,S))}function ye(o){nk.current===o&&(x(nC),x(nk))}var nR=gc(0);function ze(o){for(var S=o;null!==S;){if(13===S.tag){var w=S.memoizedState;if(null!==w&&(null===(w=w.dehydrated)||tc(w)||tp(w)))return S}else if(19===S.tag&&void 0!==S.memoizedProps.revealOrder){if(0!=(128&S.flags))return S}else if(null!==S.child){S.child.return=S,S=S.child;continue}if(S===o)break;for(;null===S.sibling;){if(null===S.return||S.return===o)return null;S=S.return}S.sibling.return=S.return,S=S.sibling}return null}var nA=[];function Be(){for(var o=0;o<nA.length;o++){var S=nA[o];eA?S._workInProgressVersionPrimary=null:S._workInProgressVersionSecondary=null}nA.length=0}var nM=q.ReactCurrentDispatcher,nj=q.ReactCurrentBatchConfig,nL=0,nI=null,nD=null,nN=null,nF=!1,nV=!1,nz=0,nB=0;function O(){throw Error(n(321))}function Je(o,S){if(null===S)return!1;for(var w=0;w<S.length&&w<o.length;w++)if(!t2(o[w],S[w]))return!1;return!0}function Ke(o,S,w,_,E,D){if(nL=D,nI=S,S.memoizedState=null,S.updateQueue=null,S.lanes=0,nM.current=null===o||null===o.memoizedState?nH:n$,o=w(_,E),nV){D=0;do{if(nV=!1,nz=0,25<=D)throw Error(n(301));D+=1,nN=nD=null,S.updateQueue=null,nM.current=nW,o=w(_,E)}while(nV)}if(nM.current=nU,S=null!==nD&&null!==nD.next,nL=0,nN=nD=nI=null,nF=!1,S)throw Error(n(300));return o}function Pe(){var o=0!==nz;return nz=0,o}function Qe(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===nN?nI.memoizedState=nN=o:nN=nN.next=o,nN}function Re(){if(null===nD){var o=nI.alternate;o=null!==o?o.memoizedState:null}else o=nD.next;var S=null===nN?nI.memoizedState:nN.next;if(null!==S)nN=S,nD=o;else{if(null===o)throw Error(n(310));o={memoizedState:(nD=o).memoizedState,baseState:nD.baseState,baseQueue:nD.baseQueue,queue:nD.queue,next:null},null===nN?nI.memoizedState=nN=o:nN=nN.next=o}return nN}function Se(o,S){return"function"==typeof S?S(o):S}function Te(o){var S=Re(),w=S.queue;if(null===w)throw Error(n(311));w.lastRenderedReducer=o;var _=nD,E=_.baseQueue,D=w.pending;if(null!==D){if(null!==E){var N=E.next;E.next=D.next,D.next=N}_.baseQueue=E=D,w.pending=null}if(null!==E){D=E.next,_=_.baseState;var F=N=null,V=null,U=D;do{var W=U.lane;if((nL&W)===W)null!==V&&(V=V.next={lane:0,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null}),_=U.hasEagerState?U.eagerState:o(_,U.action);else{var q={lane:W,action:U.action,hasEagerState:U.hasEagerState,eagerState:U.eagerState,next:null};null===V?(F=V=q,N=_):V=V.next=q,nI.lanes|=W,rc|=W}U=U.next}while(null!==U&&U!==D);null===V?N=_:V.next=F,t2(_,S.memoizedState)||(nq=!0),S.memoizedState=_,S.baseState=N,S.baseQueue=V,w.lastRenderedState=_}if(null!==(o=w.interleaved)){E=o;do D=E.lane,nI.lanes|=D,rc|=D,E=E.next;while(E!==o)}else null===E&&(w.lanes=0);return[S.memoizedState,w.dispatch]}function Ue(o){var S=Re(),w=S.queue;if(null===w)throw Error(n(311));w.lastRenderedReducer=o;var _=w.dispatch,E=w.pending,D=S.memoizedState;if(null!==E){w.pending=null;var N=E=E.next;do D=o(D,N.action),N=N.next;while(N!==E);t2(D,S.memoizedState)||(nq=!0),S.memoizedState=D,null===S.baseQueue&&(S.baseState=D),w.lastRenderedState=D}return[D,_]}function Ve(){}function We(o,S){var w=nI,_=Re(),E=S(),D=!t2(_.memoizedState,E);if(D&&(_.memoizedState=E,nq=!0),_=_.queue,Xe(Ye.bind(null,w,_,o),[o]),_.getSnapshot!==S||D||null!==nN&&1&nN.memoizedState.tag){if(w.flags|=2048,Ze(9,$e.bind(null,w,_,E,S),void 0,null),null===rr)throw Error(n(349));0!=(30&nL)||af(w,S,E)}return E}function af(o,S,w){o.flags|=16384,o={getSnapshot:S,value:w},null===(S=nI.updateQueue)?(S={lastEffect:null,stores:null},nI.updateQueue=S,S.stores=[o]):null===(w=S.stores)?S.stores=[o]:w.push(o)}function $e(o,S,w,_){S.value=w,S.getSnapshot=_,bf(S)&&Ad(o,1,-1)}function Ye(o,S,w){return w(function(){bf(S)&&Ad(o,1,-1)})}function bf(o){var S=o.getSnapshot;o=o.value;try{var w=S();return!t2(o,w)}catch(o){return!0}}function cf(o){var S=Qe();return"function"==typeof o&&(o=o()),S.memoizedState=S.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Se,lastRenderedState:o},S.queue=o,o=o.dispatch=df.bind(null,nI,o),[S.memoizedState,o]}function Ze(o,S,w,_){return o={tag:o,create:S,destroy:w,deps:_,next:null},null===(S=nI.updateQueue)?(S={lastEffect:null,stores:null},nI.updateQueue=S,S.lastEffect=o.next=o):null===(w=S.lastEffect)?S.lastEffect=o.next=o:(_=w.next,w.next=o,o.next=_,S.lastEffect=o),o}function ef(){return Re().memoizedState}function ff(o,S,w,_){var E=Qe();nI.flags|=o,E.memoizedState=Ze(1|S,w,void 0,void 0===_?null:_)}function gf(o,S,w,_){var E=Re();_=void 0===_?null:_;var D=void 0;if(null!==nD){var N=nD.memoizedState;if(D=N.destroy,null!==_&&Je(_,N.deps)){E.memoizedState=Ze(S,w,D,_);return}}nI.flags|=o,E.memoizedState=Ze(1|S,w,D,_)}function hf(o,S){return ff(8390656,8,o,S)}function Xe(o,S){return gf(2048,8,o,S)}function jf(o,S){return gf(4,2,o,S)}function kf(o,S){return gf(4,4,o,S)}function lf(o,S){return"function"==typeof S?(S(o=o()),function(){S(null)}):null!=S?(o=o(),S.current=o,function(){S.current=null}):void 0}function mf(o,S,w){return w=null!=w?w.concat([o]):null,gf(4,4,lf.bind(null,S,o),w)}function nf(){}function of(o,S){var w=Re();S=void 0===S?null:S;var _=w.memoizedState;return null!==_&&null!==S&&Je(S,_[1])?_[0]:(w.memoizedState=[o,S],o)}function pf(o,S){var w=Re();S=void 0===S?null:S;var _=w.memoizedState;return null!==_&&null!==S&&Je(S,_[1])?_[0]:(o=o(),w.memoizedState=[o,S],o)}function qf(o,S){var w=t$;t$=0!==w&&4>w?w:4,o(!0);var _=nj.transition;nj.transition={};try{o(!1),S()}finally{t$=w,nj.transition=_}}function rf(){return Re().memoizedState}function sf(o,S,w){var _=zd(o);w={lane:_,action:w,hasEagerState:!1,eagerState:null,next:null},tf(o)?uf(S,w):(vf(o,S,w),null!==(o=Ad(o,_,w=H()))&&wf(o,S,_))}function df(o,S,w){var _=zd(o),E={lane:_,action:w,hasEagerState:!1,eagerState:null,next:null};if(tf(o))uf(S,E);else{vf(o,S,E);var D=o.alternate;if(0===o.lanes&&(null===D||0===D.lanes)&&null!==(D=S.lastRenderedReducer))try{var N=S.lastRenderedState,F=D(N,w);if(E.hasEagerState=!0,E.eagerState=F,t2(F,N))return}catch(o){}finally{}null!==(o=Ad(o,_,w=H()))&&wf(o,S,_)}}function tf(o){var S=o.alternate;return o===nI||null!==S&&S===nI}function uf(o,S){nV=nF=!0;var w=o.pending;null===w?S.next=S:(S.next=w.next,w.next=S),o.pending=S}function vf(o,S,w){null!==rr&&0!=(1&o.mode)&&0==(2&rn)?(null===(o=S.interleaved)?(w.next=w,null===nr?nr=[S]:nr.push(S)):(w.next=o.next,o.next=w),S.interleaved=w):(null===(o=S.pending)?w.next=w:(w.next=o.next,o.next=w),S.pending=w)}function wf(o,S,w){if(0!=(4194240&w)){var _=S.lanes;_&=o.pendingLanes,w|=_,S.lanes=w,Dc(o,w)}}var nU={readContext:ld,useCallback:O,useContext:O,useEffect:O,useImperativeHandle:O,useInsertionEffect:O,useLayoutEffect:O,useMemo:O,useReducer:O,useRef:O,useState:O,useDebugValue:O,useDeferredValue:O,useTransition:O,useMutableSource:O,useSyncExternalStore:O,useId:O,unstable_isNewReconciler:!1},nH={readContext:ld,useCallback:function(o,S){return Qe().memoizedState=[o,void 0===S?null:S],o},useContext:ld,useEffect:hf,useImperativeHandle:function(o,S,w){return w=null!=w?w.concat([o]):null,ff(4194308,4,lf.bind(null,S,o),w)},useLayoutEffect:function(o,S){return ff(4194308,4,o,S)},useInsertionEffect:function(o,S){return ff(4,2,o,S)},useMemo:function(o,S){var w=Qe();return S=void 0===S?null:S,o=o(),w.memoizedState=[o,S],o},useReducer:function(o,S,w){var _=Qe();return S=void 0!==w?w(S):S,_.memoizedState=_.baseState=S,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:S},_.queue=o,o=o.dispatch=sf.bind(null,nI,o),[_.memoizedState,o]}
42,useRef:function(o){return o={current:o},Qe().memoizedState=o},useState:cf,useDebugValue:nf,useDeferredValue:function(o){var S=cf(o),w=S[0],_=S[1];return hf(function(){var S=nj.transition;nj.transition={};try{_(o)}finally{nj.transition=S}},[o]),w},useTransition:function(){var o=cf(!1),S=o[0];return o=qf.bind(null,o[1]),Qe().memoizedState=o,[S,o]},useMutableSource:function(){},useSyncExternalStore:function(o,S,w){var _=nI,E=Qe();if(nx){if(void 0===w)throw Error(n(407));w=w()}else{if(w=S(),null===rr)throw Error(n(349));0!=(30&nL)||af(_,S,w)}E.memoizedState=w;var D={value:w,getSnapshot:S};return E.queue=D,hf(Ye.bind(null,_,D,o),[o]),_.flags|=2048,Ze(9,$e.bind(null,_,D,w,S),void 0,null),w},useId:function(){var o=Qe(),S=rr.identifierPrefix;if(nx){var w=ny,_=nv;S=":"+S+"R"+(w=(_&~(1<<32-tV(_)-1)).toString(32)+w),0<(w=nz++)&&(S+="H"+w.toString(32)),S+=":"}else S=":"+S+"r"+(w=nB++).toString(32)+":";return o.memoizedState=S},unstable_isNewReconciler:!1},n$={readContext:ld,useCallback:of,useContext:ld,useEffect:Xe,useImperativeHandle:mf,useInsertionEffect:jf,useLayoutEffect:kf,useMemo:pf,useReducer:Te,useRef:ef,useState:function(){return Te(Se)},useDebugValue:nf,useDeferredValue:function(o){var S=Te(Se),w=S[0],_=S[1];return Xe(function(){var S=nj.transition;nj.transition={};try{_(o)}finally{nj.transition=S}},[o]),w},useTransition:function(){return[Te(Se)[0],Re().memoizedState]},useMutableSource:Ve,useSyncExternalStore:We,useId:rf,unstable_isNewReconciler:!1},nW={readContext:ld,useCallback:of,useContext:ld,useEffect:Xe,useImperativeHandle:mf,useInsertionEffect:jf,useLayoutEffect:kf,useMemo:pf,useReducer:Ue,useRef:ef,useState:function(){return Ue(Se)},useDebugValue:nf,useDeferredValue:function(o){var S=Ue(Se),w=S[0],_=S[1];return Xe(function(){var S=nj.transition;nj.transition={};try{_(o)}finally{nj.transition=S}},[o]),w},useTransition:function(){return[Ue(Se)[0],Re().memoizedState]},useMutableSource:Ve,useSyncExternalStore:We,useId:rf,unstable_isNewReconciler:!1};function xf(o,S){try{var w="",_=S;do w+=function(o){switch(o.tag){case 5:return ac(o.type);case 16:return ac("Lazy");case 13:return ac("Suspense");case 19:return ac("SuspenseList");case 0:case 2:case 15:return o=cc(o.type,!1);case 11:return o=cc(o.type.render,!1);case 1:return o=cc(o.type,!0);default:return""}}(_),_=_.return;while(_);var E=w}catch(o){E="\nError generating stack: "+o.message+"\n"+o.stack}return{value:o,source:S,stack:E}}function yf(o,S){try{console.error(S.value)}catch(o){setTimeout(function(){throw o})}}var nZ="function"==typeof WeakMap?WeakMap:Map;function Af(o,S,w){(w=qd(-1,w)).tag=3,w.payload={element:null};var _=S.value;return w.callback=function(){rb||(rb=!0,rS=_),yf(o,S)},w}function Df(o,S,w){(w=qd(-1,w)).tag=3;var _=o.type.getDerivedStateFromError;if("function"==typeof _){var E=S.value;w.payload=function(){return _(E)},w.callback=function(){yf(o,S)}}var D=o.stateNode;return null!==D&&"function"==typeof D.componentDidCatch&&(w.callback=function(){yf(o,S),"function"!=typeof _&&(null===rx?rx=new Set([this]):rx.add(this));var w=S.stack;this.componentDidCatch(S.value,{componentStack:null!==w?w:""})}),w}function Ff(o,S,w){var _=o.pingCache;if(null===_){_=o.pingCache=new nZ;var E=new Set;_.set(S,E)}else void 0===(E=_.get(S))&&(E=new Set,_.set(S,E));E.has(w)||(E.add(w),o=Gf.bind(null,o,S,w),S.then(o,o))}function Hf(o){do{var S;if((S=13===o.tag)&&(S=null===(S=o.memoizedState)||null!==S.dehydrated),S)return o;o=o.return}while(null!==o);return null}function If(o,S,w,_,E){return 0==(1&o.mode)?o===S?o.flags|=65536:(o.flags|=128,w.flags|=131072,w.flags&=-52805,1===w.tag&&(null===w.alternate?w.tag=17:((S=qd(-1,1)).tag=2,rd(w,S))),w.lanes|=1):(o.flags|=65536,o.lanes=E),o}function Jf(o){o.flags|=4}function Kf(o,S){if(null!==o&&o.child===S.child)return!0;if(0!=(16&S.flags))return!1;for(o=S.child;null!==o;){if(0!=(12854&o.flags)||0!=(12854&o.subtreeFlags))return!1;o=o.sibling}return!0}if(eM)S=function(o,S){for(var w=S.child;null!==w;){if(5===w.tag||6===w.tag)e_(o,w.stateNode);else if(4!==w.tag&&null!==w.child){w.child.return=w,w=w.child;continue}if(w===S)break;for(;null===w.sibling;){if(null===w.return||w.return===S)return;w=w.return}w.sibling.return=w.return,w=w.sibling}},_=function(){},E=function(o,S,w,_,E){(o=o.memoizedProps)!==_&&(w=eT(S.stateNode,w,o,_,E,ue(nC.current)),(S.updateQueue=w)&&Jf(S))},D=function(o,S,w,_){w!==_&&Jf(S)};else if(ej){S=function(o,w,_,E){for(var D=w.child;null!==D;){if(5===D.tag){var N=D.stateNode;_&&E&&(N=to(N,D.type,D.memoizedProps,D)),e_(o,N)}else if(6===D.tag)N=D.stateNode,_&&E&&(N=ta(N,D.memoizedProps,D)),e_(o,N);else if(4!==D.tag){if(22===D.tag&&null!==D.memoizedState)null!==(N=D.child)&&(N.return=D),S(o,D,!0,
42!0);else if(null!==D.child){D.child.return=D,D=D.child;continue}}if(D===w)break;for(;null===D.sibling;){if(null===D.return||D.return===w)return;D=D.return}D.sibling.return=D.return,D=D.sibling}};var Pf=function(o,S,w,_){for(var E=S.child;null!==E;){if(5===E.tag){var D=E.stateNode;w&&_&&(D=to(D,E.type,E.memoizedProps,E)),tn(o,D)}else if(6===E.tag)D=E.stateNode,w&&_&&(D=ta(D,E.memoizedProps,E)),tn(o,D);else if(4!==E.tag){if(22===E.tag&&null!==E.memoizedState)null!==(D=E.child)&&(D.return=E),Pf(o,E,!0,!0);else if(null!==E.child){E.child.return=E,E=E.child;continue}}if(E===S)break;for(;null===E.sibling;){if(null===E.return||E.return===S)return;E=E.return}E.sibling.return=E.return,E=E.sibling}};_=function(o,S){var w=S.stateNode;if(!Kf(o,S)){var _=tt(o=w.containerInfo);Pf(_,S,!1,!1),w.pendingChildren=_,Jf(S),tr(o,_)}},E=function(o,w,_,E,D){var N=o.stateNode,F=o.memoizedProps;if((o=Kf(o,w))&&F===E)w.stateNode=N;else{var V=w.stateNode,U=ue(nC.current),W=null;F!==E&&(W=eT(V,_,F,E,D,U)),o&&null===W?w.stateNode=N:(eE(N=te(N,W,_,F,E,w,o,V),_,E,D,U)&&Jf(w),w.stateNode=N,o?Jf(w):S(N,w,!1,!1))}},D=function(o,S,w,_){w!==_?(o=ue(nO.current),w=ue(nC.current),S.stateNode=eC(_,o,w,S),Jf(S)):S.stateNode=o.stateNode}}else _=function(){},E=function(){},D=function(){};function Qf(o,S){if(!nx)switch(o.tailMode){case"hidden":S=o.tail;for(var w=null;null!==S;)null!==S.alternate&&(w=S),S=S.sibling;null===w?o.tail=null:w.sibling=null;break;case"collapsed":w=o.tail;for(var _=null;null!==w;)null!==w.alternate&&(_=w),w=w.sibling;null===_?S||null===o.tail?o.tail=null:o.tail.sibling=null:_.sibling=null}}function P(o){var S=null!==o.alternate&&o.alternate.child===o.child,w=0,_=0;if(S)for(var E=o.child;null!==E;)w|=E.lanes|E.childLanes,_|=14680064&E.subtreeFlags,_|=14680064&E.flags,E.return=o,E=E.sibling;else for(E=o.child;null!==E;)w|=E.lanes|E.childLanes,_|=E.subtreeFlags,_|=E.flags,E.return=o,E=E.sibling;return o.subtreeFlags|=_,o.childLanes=w,S}var nG=q.ReactCurrentOwner,nq=!1;function R(o,S,w,_){S.child=null===o?nT(S,null,w,_):nE(S,o.child,w,_)}function Yf(o,S,w,_,E){w=w.render;var D=S.ref;return(jd(S,E),_=Ke(o,S,w,_,D,E),w=Pe(),null===o||nq)?(nx&&w&&Rd(S),S.flags|=1,R(o,S,_,E),S.child):(S.updateQueue=o.updateQueue,S.flags&=-2053,o.lanes&=~E,Zf(o,S,E))}function $f(o,S,w,_,E){if(null===o){var D=w.type;return"function"!=typeof D||ag(D)||void 0!==D.defaultProps||null!==w.compare||void 0!==w.defaultProps?((o=le(w.type,null,_,S,S.mode,E)).ref=S.ref,o.return=S,S.child=o):(S.tag=15,S.type=D,bg(o,S,D,_,E))}if(D=o.child,0==(o.lanes&E)){var N=D.memoizedProps;if((w=null!==(w=w.compare)?w:Zc)(N,_)&&o.ref===S.ref)return Zf(o,S,E)}return S.flags|=1,(o=je(D,_)).ref=S.ref,o.return=S,S.child=o}function bg(o,S,w,_,E){if(null!==o&&Zc(o.memoizedProps,_)&&o.ref===S.ref){if(nq=!1,0==(o.lanes&E))return S.lanes=o.lanes,Zf(o,S,E);0!=(131072&o.flags)&&(nq=!0)}return cg(o,S,w,_,E)}function dg(o,S,w){var _=S.pendingProps,E=_.children,D=null!==o?o.memoizedState:null;if("hidden"===_.mode){if(0==(1&S.mode))S.memoizedState={baseLanes:0,cachePool:null},y(rs,ra),ra|=w;else{if(0==(1073741824&w))return o=null!==D?D.baseLanes|w:w,S.lanes=S.childLanes=1073741824,S.memoizedState={baseLanes:o,cachePool:null},S.updateQueue=null,y(rs,ra),ra|=o,null;S.memoizedState={baseLanes:0,cachePool:null},_=null!==D?D.baseLanes:w,y(rs,ra),ra|=_}}else null!==D?(_=D.baseLanes|w,S.memoizedState=null):_=w,y(rs,ra),ra|=_;return R(o,S,E,w),S.child}function fg(o,S){var w=S.ref;(null===o&&null!==w||null!==o&&o.ref!==w)&&(S.flags|=512,S.flags|=2097152)}function cg(o,S,w,_,E){var D=C(w)?tF:tD.current;return(D=jc(S,D),jd(S,E),w=Ke(o,S,w,_,D,E),_=Pe(),null===o||nq)?(nx&&_&&Rd(S),S.flags|=1,R(o,S,w,E),S.child):(S.updateQueue=o.updateQueue,S.flags&=-2053,o.lanes&=~E,Zf(o,S,E))}function gg(o,S,w,_,E){if(C(w)){var D=!0;nc(S)}else D=!1;if(jd(S,E),null===S.stateNode)null!==o&&(o.alternate=null,S.alternate=null,S.flags|=2),Dd(S,w,_),Fd(S,w,_,E),_=!0;else if(null===o){var N=S.stateNode,F=S.memoizedProps;N.props=F;var V=N.context,U=w.contextType;U="object"==typeof U&&null!==U?ld(U):jc(S,U=C(w)?tF:tD.current);var W=w.getDerivedStateFromProps,q="function"==typeof W||"function"==typeof N.getSnapshotBeforeUpdate;q||"function"!=typeof N.UNSAFE_componentWillReceiveProps&&"function"!=typeof N.c
42omponentWillReceiveProps||(F!==_||V!==U)&&Ed(S,N,_,U),ni=!1;var Q=S.memoizedState;N.state=Q,ud(S,_,N,E),V=S.memoizedState,F!==_||Q!==V||tN.current||ni?("function"==typeof W&&(yd(S,w,W,_),V=S.memoizedState),(F=ni||Cd(S,w,F,_,Q,V,U))?(q||"function"!=typeof N.UNSAFE_componentWillMount&&"function"!=typeof N.componentWillMount||("function"==typeof N.componentWillMount&&N.componentWillMount(),"function"==typeof N.UNSAFE_componentWillMount&&N.UNSAFE_componentWillMount()),"function"==typeof N.componentDidMount&&(S.flags|=4194308)):("function"==typeof N.componentDidMount&&(S.flags|=4194308),S.memoizedProps=_,S.memoizedState=V),N.props=_,N.state=V,N.context=U,_=F):("function"==typeof N.componentDidMount&&(S.flags|=4194308),_=!1)}else{N=S.stateNode,pd(o,S),F=S.memoizedProps,U=S.type===S.elementType?F:ad(S.type,F),N.props=U,q=S.pendingProps,Q=N.context,V="object"==typeof(V=w.contextType)&&null!==V?ld(V):jc(S,V=C(w)?tF:tD.current);var Y=w.getDerivedStateFromProps;(W="function"==typeof Y||"function"==typeof N.getSnapshotBeforeUpdate)||"function"!=typeof N.UNSAFE_componentWillReceiveProps&&"function"!=typeof N.componentWillReceiveProps||(F!==q||Q!==V)&&Ed(S,N,_,V),ni=!1,Q=S.memoizedState,N.state=Q,ud(S,_,N,E);var et=S.memoizedState;F!==q||Q!==et||tN.current||ni?("function"==typeof Y&&(yd(S,w,Y,_),et=S.memoizedState),(U=ni||Cd(S,w,U,_,Q,et,V)||!1)?(W||"function"!=typeof N.UNSAFE_componentWillUpdate&&"function"!=typeof N.componentWillUpdate||("function"==typeof N.componentWillUpdate&&N.componentWillUpdate(_,et,V),"function"==typeof N.UNSAFE_componentWillUpdate&&N.UNSAFE_componentWillUpdate(_,et,V)),"function"==typeof N.componentDidUpdate&&(S.flags|=4),"function"==typeof N.getSnapshotBeforeUpdate&&(S.flags|=1024)):("function"!=typeof N.componentDidUpdate||F===o.memoizedProps&&Q===o.memoizedState||(S.flags|=4),"function"!=typeof N.getSnapshotBeforeUpdate||F===o.memoizedProps&&Q===o.memoizedState||(S.flags|=1024),S.memoizedProps=_,S.memoizedState=et),N.props=_,N.state=et,N.context=V,_=U):("function"!=typeof N.componentDidUpdate||F===o.memoizedProps&&Q===o.memoizedState||(S.flags|=4),"function"!=typeof N.getSnapshotBeforeUpdate||F===o.memoizedProps&&Q===o.memoizedState||(S.flags|=1024),_=!1)}return hg(o,S,w,_,D,E)}function hg(o,S,w,_,E,D){fg(o,S);var N=0!=(128&S.flags);if(!_&&!N)return E&&oc(S,w,!1),Zf(o,S,D);_=S.stateNode,nG.current=S;var F=N&&"function"!=typeof w.getDerivedStateFromError?null:_.render();return S.flags|=1,null!==o&&N?(S.child=nE(S,o.child,null,D),S.child=nE(S,null,F,D)):R(o,S,F,D),S.memoizedState=_.state,E&&oc(S,w,!0),S.child}function ig(o){var S=o.stateNode;S.pendingContext?lc(o,S.pendingContext,S.pendingContext!==S.context):S.context&&lc(o,S.context,!1),ve(o,S.containerInfo)}function jg(o,S,w,_,E){return de(),ee(E),S.flags|=256,R(o,S,w,_),S.child}var nK={dehydrated:null,treeContext:null,retryLane:0};function lg(o){return{baseLanes:o,cachePool:null}}function mg(o,S,w){var _,E,D,N,F,V,U,W,q,Q,Y,et,en,er,eo=S.pendingProps,ea=nR.current,es=!1,el=0!=(128&S.flags);if((er=el)||(er=(null===o||null!==o.memoizedState)&&0!=(2&ea)),er?(es=!0,S.flags&=-129):(null===o||null!==o.memoizedState)&&(ea|=1),y(nR,1&ea),null===o)return(ae(S),null!==(o=S.memoizedState)&&null!==(o=o.dehydrated))?(0==(1&S.mode)?S.lanes=1:tp(o)?S.lanes=8:S.lanes=1073741824,null):(ea=eo.children,o=eo.fallback,es?(eo=S.mode,es=S.child,ea={mode:"hidden",children:ea},0==(1&eo)&&null!==es?(es.childLanes=0,es.pendingProps=ea):es=ng(ea,eo,0,null),o=ne(o,eo,w,null),es.return=S,o.return=S,es.sibling=o,S.child=es,S.child.memoizedState=lg(w),S.memoizedState=nK,o):og(S,ea));if(null!==(ea=o.memoizedState)&&null!==(er=ea.dehydrated)){if(el)return 256&S.flags?(S.flags&=-257,pg(o,S,w,Error(n(422)))):null!==S.memoizedState?(S.child=o.child,S.flags|=128,null):(es=eo.fallback,ea=S.mode,eo=ng({mode:"visible",children:eo.children},ea,0,null),es=ne(es,ea,w,null),es.flags|=2,eo.return=S,es.return=S,eo.sibling=es,S.child=eo,0!=(1&S.mode)&&nE(S,o.child,null,w),S.child.memoizedState=lg(w),S.memoizedState=nK,es);if(0==(1&S.mode))S=pg(o,S,w,null);else if(tp(er))S=pg(o,S,w,Error(n(419)));else if(eo=0!=(w&o.childLanes),nq||eo){if(null!==(eo=rr)){switch(w&-w){case 4:es=2;break;case 16:es=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:es=32;break;case 536870912:es=268435456;break;default:es=0}0!==(eo=0!=(es&(eo.suspendedLanes|w))?0:es)&&eo!==ea.retryLane&&(ea.retryLane=eo,Ad(o,eo,-1))}Tf(),S=pg(o,S,w,Error(n(421)))}else tc(er)?(S.flags|=128,S.child=o.child,th(er,S=qg.bind(null,o)),S=null):(w=ea.treeContext,eL&&(nS=tb(er),nb=S,nx=!0,n_=null,nw=!1,null!==w&&(np[nh++]=nv,np[nh++]=ny,np[nh++]=nm,nv=w.id,ny=w.overflow,nm=S)),S=og(S,S.pendingProps.children),S.flags|=4096);return S}return es?(_=o,E=S,D=eo.children,N=eo.fallback,F=w,V=E.mode,U=(_=_.child).sibling,W={mode:"hidden",children:D},0==(1&V)&&E.child!==_?((D=E.child).childLanes=0,D.pendingProps=W,E.deleti
42ons=null):(D=je(_,W)).subtreeFlags=14680064&_.subtreeFlags,null!==U?N=je(U,N):(N=ne(N,V,F,null),N.flags|=2),N.return=E,D.return=E,D.sibling=N,E.child=D,eo=N,es=S.child,ea=o.child.memoizedState,es.memoizedState=null===ea?lg(w):{baseLanes:ea.baseLanes|w,cachePool:null},es.childLanes=o.childLanes&~w,S.memoizedState=nK,eo):(q=o,Q=S,Y=eo.children,et=w,q=(en=q.child).sibling,Y=je(en,{mode:"visible",children:Y}),0==(1&Q.mode)&&(Y.lanes=et),Y.return=Q,Y.sibling=null,null!==q&&(null===(et=Q.deletions)?(Q.deletions=[q],Q.flags|=16):et.push(q)),w=Q.child=Y,S.memoizedState=null,w)}function og(o,S){return(S=ng({mode:"visible",children:S},o.mode,0,null)).return=o,o.child=S}function pg(o,S,w,_){return null!==_&&ee(_),nE(S,o.child,null,w),o=og(S,S.pendingProps.children),o.flags|=2,S.memoizedState=null,o}function tg(o,S,w){o.lanes|=S;var _=o.alternate;null!==_&&(_.lanes|=S),id(o.return,S,w)}function ug(o,S,w,_,E){var D=o.memoizedState;null===D?o.memoizedState={isBackwards:S,rendering:null,renderingStartTime:0,last:_,tail:w,tailMode:E}:(D.isBackwards=S,D.rendering=null,D.renderingStartTime=0,D.last=_,D.tail=w,D.tailMode=E)}function vg(o,S,w){var _=S.pendingProps,E=_.revealOrder,D=_.tail;if(R(o,S,_.children,w),0!=(2&(_=nR.current)))_=1&_|2,S.flags|=128;else{if(null!==o&&0!=(128&o.flags))e:for(o=S.child;null!==o;){if(13===o.tag)null!==o.memoizedState&&tg(o,w,S);else if(19===o.tag)tg(o,w,S);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===S)break;for(;null===o.sibling;){if(null===o.return||o.return===S)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}_&=1}if(y(nR,_),0==(1&S.mode))S.memoizedState=null;else switch(E){case"forwards":for(E=null,w=S.child;null!==w;)null!==(o=w.alternate)&&null===ze(o)&&(E=w),w=w.sibling;null===(w=E)?(E=S.child,S.child=null):(E=w.sibling,w.sibling=null),ug(S,!1,E,w,D);break;case"backwards":for(w=null,E=S.child,S.child=null;null!==E;){if(null!==(o=E.alternate)&&null===ze(o)){S.child=E;break}o=E.sibling,E.sibling=w,w=E,E=o}ug(S,!0,w,null,D);break;case"together":ug(S,!1,null,null,void 0);break;default:S.memoizedState=null}return S.child}function Zf(o,S,w){if(null!==o&&(S.dependencies=o.dependencies),rc|=S.lanes,0==(w&S.childLanes))return null;if(null!==o&&S.child!==o.child)throw Error(n(153));if(null!==S.child){for(w=je(o=S.child,o.pendingProps),S.child=w,w.return=S;null!==o.sibling;)o=o.sibling,(w=w.sibling=je(o,o.pendingProps)).return=S;w.sibling=null}return S.child}var nX=!1,nQ=!1,nY="function"==typeof WeakSet?WeakSet:Set,nJ=null;function Bg(o,S){var w=o.ref;if(null!==w){if("function"==typeof w)try{w(null)}catch(w){T(o,S,w)}else w.current=null}}function Cg(o,S,w){try{w()}catch(w){T(o,S,w)}}var n0=!1;function Fg(o,S,w){var _=S.updateQueue;if(null!==(_=null!==_?_.lastEffect:null)){var E=_=_.next;do{if((E.tag&o)===o){var D=E.destroy;E.destroy=void 0,void 0!==D&&Cg(S,w,D)}E=E.next}while(E!==_)}}function Gg(o,S){if(null!==(S=null!==(S=S.updateQueue)?S.lastEffect:null)){var w=S=S.next;do{if((w.tag&o)===o){var _=w.create;w.destroy=_()}w=w.next}while(w!==S)}}function Hg(o){var S=o.ref;if(null!==S){var w=o.stateNode;o=5===o.tag?ev(w):w,"function"==typeof S?S(o):S.current=o}}function Ig(o,S,w){if(t1&&"function"==typeof t1.onCommitFiberUnmount)try{t1.onCommitFiberUnmount(t0,S)}catch(o){}switch(S.tag){case 0:case 11:case 14:case 15:if(null!==(o=S.updateQueue)&&null!==(o=o.lastEffect)){var _=o=o.next;do{var E=_,D=E.destroy;E=E.tag,void 0!==D&&(0!=(2&E)?Cg(S,w,D):0!=(4&E)&&Cg(S,w,D)),_=_.next}while(_!==o)}break;case 1:if(Bg(S,w),"function"==typeof(o=S.stateNode).componentWillUnmount)try{o.props=S.memoizedProps,o.state=S.memoizedState,o.componentWillUnmount()}catch(o){T(S,w,o)}break;case 5:Bg(S,w);break;case 4:eM?Jg(o,S,w):ej&&ej&&(w=tt(S=S.stateNode.containerInfo),ti(S,w))}}function Kg(o,S,w){for(var _=S;;)if(Ig(o,_,w),null===_.child||eM&&4===_.tag){if(_===S)break;for(;null===_.sibling;){if(null===_.return||_.return===S)return;_=_.return}_.sibling.return=_.return,_=_.sibling}else _.child.return=_,_=_.child}function Mg(o){return 5===o.tag||3===o.tag||4===o.tag}function Ng(o){e:for(;;){for(;null===o.sibling;){if(null===o.return||Mg(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;5!==o.tag&&6!==o.tag&&18!==o.tag;){if(2&o.flags||null===o.child||4===o.tag)continue e;o.child.return=o,o=o.child}if(!(2&o.flags))return o.stateNode}}function Og(o){if(eM){e:{for(var S=o.return;null!==S;){if(Mg(S))break e;S=S.return}throw Error(n(160))}var w=S;switch(w.tag){case 5:S=w.stateNode,32&w.flags&&(e4(S),w.flags&=-33),w=Ng(o),function Pg(o,S,w){var _=o.tag;if(5===_||6===_)o=o.stateNode,S?e0(w,o,S):eK(w,o);else if(4!==_&&null!==(o=o.child))for(Pg(o,S,w),o=o.sibling;null!==o;)Pg(o,S,w),o=o.sibling}(o,w,S);break;case 3:case 4:S=w.stateNode.containerInfo,w=Ng(o),function Qg(o,S,w){var _=o.tag;
42if(5===_||6===_)o=o.stateNode,S?e1(w,o,S):eX(w,o);else if(4!==_&&null!==(o=o.child))for(Qg(o,S,w),o=o.sibling;null!==o;)Qg(o,S,w),o=o.sibling}(o,w,S);break;default:throw Error(n(161))}}}function Jg(o,S,w){for(var _,E,D=S,N=!1;;){if(!N){N=D.return;e:for(;;){if(null===N)throw Error(n(160));switch(_=N.stateNode,N.tag){case 5:E=!1;break e;case 3:case 4:_=_.containerInfo,E=!0;break e}N=N.return}N=!0}if(5===D.tag||6===D.tag)Kg(o,D,w),E?e3(_,D.stateNode):e2(_,D.stateNode);else if(18===D.tag)E?tC(_,D.stateNode):tP(_,D.stateNode);else if(4===D.tag){if(null!==D.child){_=D.stateNode.containerInfo,E=!0,D.child.return=D,D=D.child;continue}}else if(Ig(o,D,w),null!==D.child){D.child.return=D,D=D.child;continue}if(D===S)break;for(;null===D.sibling;){if(null===D.return||D.return===S)return;4===(D=D.return).tag&&(N=!1)}D.sibling.return=D.return,D=D.sibling}}function Rg(o,S){if(eM){switch(S.tag){case 0:case 11:case 14:case 15:Fg(3,S,S.return),Gg(3,S),Fg(5,S,S.return);return;case 1:case 12:case 17:return;case 5:var w=S.stateNode;if(null!=w){var _=S.memoizedProps;o=null!==o?o.memoizedProps:_;var E=S.type,D=S.updateQueue;S.updateQueue=null,null!==D&&eJ(w,D,E,o,_,S)}return;case 6:if(null===S.stateNode)throw Error(n(162));w=S.memoizedProps,eQ(S.stateNode,null!==o?o.memoizedProps:w,w);return;case 3:eL&&null!==o&&o.memoizedState.isDehydrated&&tE(S.stateNode.containerInfo);return;case 13:case 19:Sg(S);return}throw Error(n(163))}switch(S.tag){case 0:case 11:case 14:case 15:Fg(3,S,S.return),Gg(3,S),Fg(5,S,S.return);return;case 12:case 22:case 23:return;case 13:case 19:Sg(S);return;case 3:eL&&null!==o&&o.memoizedState.isDehydrated&&tE(S.stateNode.containerInfo)}e:if(ej){switch(S.tag){case 1:case 5:case 6:break e;case 3:case 4:ti((S=S.stateNode).containerInfo,S.pendingChildren);break e}throw Error(n(163))}}function Sg(o){var S=o.updateQueue;if(null!==S){o.updateQueue=null;var w=o.stateNode;null===w&&(w=o.stateNode=new nY),S.forEach(function(S){var _=Tg.bind(null,o,S);w.has(S)||(w.add(S),S.then(_,_))})}}function $g(o){for(;null!==nJ;){var S=nJ;if(0!=(8772&S.flags)){var w=S.alternate;try{if(0!=(8772&S.flags))switch(S.tag){case 0:case 11:case 15:nQ||Gg(5,S);break;case 1:var _=S.stateNode;if(4&S.flags&&!nQ){if(null===w)_.componentDidMount();else{var E=S.elementType===S.type?w.memoizedProps:ad(S.type,w.memoizedProps);_.componentDidUpdate(E,w.memoizedState,_.__reactInternalSnapshotBeforeUpdate)}}var D=S.updateQueue;null!==D&&wd(S,D,_);break;case 3:var N=S.updateQueue;if(null!==N){if(w=null,null!==S.child)switch(S.child.tag){case 5:w=ev(S.child.stateNode);break;case 1:w=S.child.stateNode}wd(S,N,w)}break;case 5:var F=S.stateNode;null===w&&4&S.flags&&eY(F,S.type,S.memoizedProps,S);break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(eL&&null===S.memoizedState){var V=S.alternate;if(null!==V){var U=V.memoizedState;if(null!==U){var W=U.dehydrated;null!==W&&tT(W)}}}break;default:throw Error(n(163))}nQ||512&S.flags&&Hg(S)}catch(o){T(S,S.return,o)}}if(S===o){nJ=null;break}if(null!==(w=S.sibling)){w.return=S.return,nJ=w;break}nJ=S.return}}function Wg(o){for(;null!==nJ;){var S=nJ;if(S===o){nJ=null;break}var w=S.sibling;if(null!==w){w.return=S.return,nJ=w;break}nJ=S.return}}function Zg(o){for(;null!==nJ;){var S=nJ;try{switch(S.tag){case 0:case 11:case 15:var w=S.return;try{Gg(4,S)}catch(o){T(S,w,o)}break;case 1:var _=S.stateNode;if("function"==typeof _.componentDidMount){var E=S.return;try{_.componentDidMount()}catch(o){T(S,E,o)}}var D=S.return;try{Hg(S)}catch(o){T(S,D,o)}break;case 5:var N=S.return;try{Hg(S)}catch(o){T(S,N,o)}}}catch(o){T(S,S.return,o)}if(S===o){nJ=null;break}var F=S.sibling;if(null!==F){F.return=S.return,nJ=F;break}nJ=S.return}}var n1=0,n2=1,n3=2,n4=3,n5=4;if("function"==typeof Symbol&&Symbol.for){var n6=Symbol.for;n1=n6("selector.component"),n2=n6("selector.has_pseudo_class"),n3=n6("selector.role"),n4=n6("selector.test_id"),n5=n6("selector.text")}function gh(o){var S=eI(o);if(null!=S){if("string"!=typeof S.memoizedProps["data-testname"])throw Error(n(364));return S}if(null===(o=eU(o)))throw Error(n(362));return o.stateNode.current}function hh(o,S){switch(S.$$typeof){case n1:if(o.type===S.value)return!0;break;case n2:e:{S=S.value,o=[o,0];for(var w=0;w<o.length;){var _=o[w++],E=o[w++],D=S[E];if(5!==_.tag||!eW(_)){for(;null!=D&&hh(_,D);)D=S[++E];if(E===S.length){S=!0;break e}for(_=_.child;null!==_;)o.push(_,E),_=_.sibling}}S=!1}return S;case n3:if(5===o.tag&&eZ(o.stateNode,S.value))return!0;break;case n5:if((5===o.tag||6===o.tag)&&null!==(o=e$(o))&&0<=o.indexOf(S.value))return!0;break;case n4:if(5===o.tag&&"string"==typeof(o=o.memoizedProps["data-testname"])&&o.toLowerCase()===S.value.toLowerCase())return!0;break;default:throw Error(n(365))}return!1}function ih(o){switch(o.$$typeof){case n1:return"<"+(va(o.value)||"Unknown")+">";case n2:return":has("+(ih(o)||"")+")";case n3:return'[role="'+o.value+'"]';
42case n5:return'"'+o.value+'"';case n4:return'[data-testname="'+o.value+'"]';default:throw Error(n(365))}}function jh(o,S){var w=[];o=[o,0];for(var _=0;_<o.length;){var E=o[_++],D=o[_++],N=S[D];if(5!==E.tag||!eW(E)){for(;null!=N&&hh(E,N);)N=S[++D];if(D===S.length)w.push(E);else for(E=E.child;null!==E;)o.push(E,D),E=E.sibling}}return w}function kh(o,S){if(!eB)throw Error(n(363));o=jh(o=gh(o),S),S=[],o=Array.from(o);for(var w=0;w<o.length;){var _=o[w++];if(5===_.tag)eW(_)||S.push(_.stateNode);else for(_=_.child;null!==_;)o.push(_),_=_.sibling}return S}var n8=Math.ceil,n9=q.ReactCurrentDispatcher,n7=q.ReactCurrentOwner,rt=q.ReactCurrentBatchConfig,rn=0,rr=null,ri=null,ro=0,ra=0,rs=gc(0),rl=0,ru=null,rc=0,rp=0,rh=0,rm=null,rg=null,rv=0,ry=1/0;function sh(){ry=tK()+500}var rb=!1,rS=null,rx=null,rw=!1,r_=null,rE=0,rT=0,rP=null,rC=-1,rk=0;function H(){return 0!=(6&rn)?tK():-1!==rC?rC:rC=tK()}function zd(o){return 0==(1&o.mode)?1:0!=(2&rn)&&0!==ro?ro&-ro:null!==t6.transition?(0===rk&&(o=tU,0==(4194240&(tU<<=1))&&(tU=64),rk=o),rk):0!==(o=t$)?o:eN()}function Ad(o,S,w){if(50<rT)throw rT=0,rP=null,Error(n(185));var _=Ah(o,S);return null===_?null:(Bc(_,S,w),(0==(2&rn)||_!==rr)&&(_===rr&&(0==(2&rn)&&(rp|=S),4===rl&&Bh(_,ro)),Z(_,w),1===S&&0===rn&&0==(1&o.mode)&&(sh(),t4&&Xc())),_)}function Ah(o,S){o.lanes|=S;var w=o.alternate;for(null!==w&&(w.lanes|=S),w=o,o=o.return;null!==o;)o.childLanes|=S,null!==(w=o.alternate)&&(w.childLanes|=S),w=o,o=o.return;return 3===w.tag?w.stateNode:null}function Z(o,S){var w,_,E,D=o.callbackNode;!function(o,S){for(var w=o.suspendedLanes,_=o.pingedLanes,E=o.expirationTimes,D=o.pendingLanes;0<D;){var N=31-tV(D),F=1<<N,V=E[N];-1===V?(0==(F&w)||0!=(F&_))&&(E[N]=function(o,S){switch(o){case 1:case 2:case 4:return S+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return S+5e3;default:return -1}}(F,S)):V<=S&&(o.expiredLanes|=F),D&=~F}}(o,S);var N=wc(o,o===rr?ro:0);if(0===N)null!==D&&tZ(D),o.callbackNode=null,o.callbackPriority=0;else if(S=N&-N,o.callbackPriority!==S){if(null!=D&&tZ(D),1===S)0===o.tag?(E=Ch.bind(null,o),t4=!0,Vc(E)):Vc(Ch.bind(null,o)),eV?ez(function(){0===rn&&Xc()}):tW(tX,Xc),D=null;else{switch(Ec(N)){case 1:D=tX;break;case 4:D=tQ;break;case 16:default:D=tY;break;case 536870912:D=tJ}D=tW(D,Eh.bind(null,o))}o.callbackPriority=S,o.callbackNode=D}}function Eh(o,S){if(rC=-1,rk=0,0!=(6&rn))throw Error(n(327));var w=o.callbackNode;if(Fh()&&o.callbackNode!==w)return null;var _=wc(o,o===rr?ro:0);if(0===_)return null;if(0!=(30&_)||0!=(_&o.expiredLanes)||S)S=Gh(o,_);else{S=_;var E=rn;rn|=2;var D=Hh();for((rr!==o||ro!==S)&&(sh(),Ih(o,S));;)try{!function(){for(;null!==ri&&!tG();)Rh(ri)}();break}catch(S){Kh(o,S)}fd(),n9.current=D,rn=E,null!==ri?S=0:(rr=null,ro=0,S=rl)}if(0!==S){if(2===S&&0!==(E=zc(o))&&(_=E,S=Lh(o,E)),1===S)throw w=ru,Ih(o,0),Bh(o,_),Z(o,tK()),w;if(6===S)Bh(o,_);else{if(E=o.current.alternate,0==(30&_)&&!function(o){for(var S=o;;){if(16384&S.flags){var w=S.updateQueue;if(null!==w&&null!==(w=w.stores))for(var _=0;_<w.length;_++){var E=w[_],D=E.getSnapshot;E=E.value;try{if(!t2(D(),E))return!1}catch(o){return!1}}}if(w=S.child,16384&S.subtreeFlags&&null!==w)w.return=S,S=w;else{if(S===o)break;for(;null===S.sibling;){if(null===S.return||S.return===o)return!0;S=S.return}S.sibling.return=S.return,S=S.sibling}}return!0}(E)&&(2===(S=Gh(o,_))&&0!==(D=zc(o))&&(_=D,S=Lh(o,D)),1===S))throw w=ru,Ih(o,0),Bh(o,_),Z(o,tK()),w;switch(o.finishedWork=E,o.finishedLanes=_,S){case 0:case 1:throw Error(n(345));case 2:case 5:Nh(o,rg);break;case 3:if(Bh(o,_),(130023424&_)===_&&10<(S=rv+500-tK())){if(0!==wc(o,0))break;if(((E=o.suspendedLanes)&_)!==_){H(),o.pingedLanes|=o.suspendedLanes&E;break}o.timeoutHandle=ek(Nh.bind(null,o,rg),S);break}Nh(o,rg);break;case 4:if(Bh(o,_),(4194240&_)===_)break;for(E=-1,S=o.eventTimes;0<_;){var N=31-tV(_);D=1<<N,(N=S[N])>E&&(E=N),_&=~D}if(_=E,10<(_=(120>(_=tK()-_)?120:480>_?480:1080>_?1080:1920>_?1920:3e3>_?3e3:4320>_?4320:1960*n8(_/1960))-_)){o.timeoutHandle=ek(Nh.bind(null,o,rg),_);break}Nh(o,rg);break;default:throw Error(n(329))}}}return Z(o,tK()),o.callbackNode===w?Eh.bind(null,o):null}function Lh(o,S){var w=rm;return o.current.memoizedState.isDehydrated&&(Ih(o,S).flags|=256),2!==(o=Gh(o,S))&&(S=rg,rg=w,null!==S&&Sf(S)),o}function Sf(o){null===rg?rg=o:rg.push.apply(rg,o)}function Bh(o,S){for(S&=~rh,S&=~rp,o.suspendedLanes|=S,o.pingedLanes&=~S,o=o.expirationTimes;0<S;){var w=31-tV(S),_=1<<w;o[w]=-1,S&=~_}}
42function Ch(o){if(0!=(6&rn))throw Error(n(327));Fh();var S=wc(o,0);if(0==(1&S))return Z(o,tK()),null;var w=Gh(o,S);if(0!==o.tag&&2===w){var _=zc(o);0!==_&&(S=_,w=Lh(o,_))}if(1===w)throw w=ru,Ih(o,0),Bh(o,S),Z(o,tK()),w;if(6===w)throw Error(n(345));return o.finishedWork=o.current.alternate,o.finishedLanes=S,Nh(o,rg),Z(o,tK()),null}function Oh(o){null!==r_&&0===r_.tag&&0==(6&rn)&&Fh();var S=rn;rn|=1;var w=rt.transition,_=t$;try{if(rt.transition=null,t$=1,o)return o()}finally{t$=_,rt.transition=w,0==(6&(rn=S))&&Xc()}}function Vf(){ra=rs.current,x(rs)}function Ih(o,S){o.finishedWork=null,o.finishedLanes=0;var w=o.timeoutHandle;if(w!==eR&&(o.timeoutHandle=eR,eO(w)),null!==ri)for(w=ri.return;null!==w;){var _=w;switch(Sd(_),_.tag){case 1:null!=(_=_.type.childContextTypes)&&kc();break;case 3:we(),x(tN),x(tD),Be();break;case 5:ye(_);break;case 4:we();break;case 13:case 19:x(nR);break;case 10:hd(_.type._context);break;case 22:case 23:Vf()}w=w.return}if(rr=o,ri=o=je(o.current,null),ro=ra=S,rl=0,ru=null,rh=rp=rc=0,rg=rm=null,null!==nr){for(S=0;S<nr.length;S++)if(null!==(_=(w=nr[S]).interleaved)){w.interleaved=null;var E=_.next,D=w.pending;if(null!==D){var N=D.next;D.next=E,_.next=N}w.pending=_}nr=null}return o}function Kh(o,S){for(;;){var w=ri;try{if(fd(),nM.current=nU,nF){for(var _=nI.memoizedState;null!==_;){var E=_.queue;null!==E&&(E.pending=null),_=_.next}nF=!1}if(nL=0,nN=nD=nI=null,nV=!1,nz=0,n7.current=null,null===w||null===w.return){rl=1,ru=S,ri=null;break}e:{var D=o,N=w.return,F=w,V=S;if(S=ro,F.flags|=32768,null!==V&&"object"==typeof V&&"function"==typeof V.then){var U=V,W=F,q=W.tag;if(0==(1&W.mode)&&(0===q||11===q||15===q)){var Q=W.alternate;Q?(W.updateQueue=Q.updateQueue,W.memoizedState=Q.memoizedState,W.lanes=Q.lanes):(W.updateQueue=null,W.memoizedState=null)}var Y=Hf(N);if(null!==Y){Y.flags&=-257,If(Y,N,F,D,S),1&Y.mode&&Ff(D,U,S),S=Y,V=U;var et=S.updateQueue;if(null===et){var en=new Set;en.add(V),S.updateQueue=en}else et.add(V);break e}if(0==(1&S)){Ff(D,U,S),Tf();break e}V=Error(n(426))}else if(nx&&1&F.mode){var er=Hf(N);if(null!==er){0==(65536&er.flags)&&(er.flags|=256),If(er,N,F,D,S),ee(V);break e}}D=V,4!==rl&&(rl=2),null===rm?rm=[D]:rm.push(D),V=xf(V,F),F=N;do{switch(F.tag){case 3:F.flags|=65536,S&=-S,F.lanes|=S;var eo=Af(F,V,S);td(F,eo);break e;case 1:D=V;var ea=F.type,es=F.stateNode;if(0==(128&F.flags)&&("function"==typeof ea.getDerivedStateFromError||null!==es&&"function"==typeof es.componentDidCatch&&(null===rx||!rx.has(es)))){F.flags|=65536,S&=-S,F.lanes|=S;var el=Df(F,D,S);td(F,el);break e}}F=F.return}while(null!==F)}Ph(w)}catch(o){S=o,ri===w&&null!==w&&(ri=w=w.return);continue}break}}function Hh(){var o=n9.current;return n9.current=nU,null===o?nU:o}function Tf(){(0===rl||3===rl||2===rl)&&(rl=4),null===rr||0==(268435455&rc)&&0==(268435455&rp)||Bh(rr,ro)}function Gh(o,S){var w=rn;rn|=2;var _=Hh();for(rr===o&&ro===S||Ih(o,S);;)try{!function(){for(;null!==ri;)Rh(ri)}();break}catch(S){Kh(o,S)}if(fd(),rn=w,n9.current=_,null!==ri)throw Error(n(261));return rr=null,ro=0,rl}function Rh(o){var S=N(o.alternate,o,ra);o.memoizedProps=o.pendingProps,null===S?Ph(o):ri=S,n7.current=null}function Ph(o){var w=o;do{var N=w.alternate;if(o=w.return,0==(32768&w.flags)){if(null!==(N=function(o,w,N){var F=w.pendingProps;switch(Sd(w),w.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return P(w),null;case 1:case 17:return C(w.type)&&kc(),P(w),null;case 3:return F=w.stateNode,we(),x(tN),x(tD),Be(),F.pendingContext&&(F.context=F.pendingContext,F.pendingContext=null),(null===o||null===o.child)&&(ce(w)?Jf(w):null===o||o.memoizedState.isDehydrated&&0==(256&w.flags)||(w.flags|=1024,null!==n_&&(Sf(n_),n_=null))),_(o,w),P(w),null;case 5:ye(w),N=ue(nO.current);var V=w.type;if(null!==o&&null!=w.stateNode)E(o,w,V,F,N),o.ref!==w.ref&&(w.flags|=512,w.flags|=2097152);else{if(!F){if(null===w.stateNode)throw Error(n(166));return P(w),null}if(o=ue(nC.current),ce(w)){if(!eL)throw Error(n(175));o=tS(w.stateNode,w.type,w.memoizedProps,N,o,w,!nw),w.updateQueue=o,null!==o&&Jf(w)}else{var U=ew(V,F,N,o,w);S(U,w,!1,!1),w.stateNode=U,eE(U,V,F,N,o)&&Jf(w)}null!==w.ref&&(w.flags|=512,w.flags|=2097152)}
42return P(w),null;case 6:if(o&&null!=w.stateNode)D(o,w,o.memoizedProps,F);else{if("string"!=typeof F&&null===w.stateNode)throw Error(n(166));if(o=ue(nO.current),N=ue(nC.current),ce(w)){if(!eL)throw Error(n(176));if((N=tx(o=w.stateNode,F=w.memoizedProps,w,!nw))&&null!==(V=nb))switch(U=0!=(1&V.mode),V.tag){case 3:tO(V.stateNode.containerInfo,o,F,U);break;case 5:tR(V.type,V.memoizedProps,V.stateNode,o,F,U)}N&&Jf(w)}else w.stateNode=eC(F,o,N,w)}return P(w),null;case 13:if(x(nR),F=w.memoizedState,nx&&null!==nS&&0!=(1&w.mode)&&0==(128&w.flags)){for(o=nS;o;)o=tm(o);return de(),w.flags|=98560,w}if(null!==F&&null!==F.dehydrated){if(F=ce(w),null===o){if(!F)throw Error(n(318));if(!eL)throw Error(n(344));if(!(o=null!==(o=w.memoizedState)?o.dehydrated:null))throw Error(n(317));tw(o,w)}else de(),0==(128&w.flags)&&(w.memoizedState=null),w.flags|=4;return P(w),null}if(null!==n_&&(Sf(n_),n_=null),0!=(128&w.flags))return w.lanes=N,w;return F=null!==F,N=!1,null===o?ce(w):N=null!==o.memoizedState,F&&!N&&(w.child.flags|=8192,0!=(1&w.mode)&&(null===o||0!=(1&nR.current)?0===rl&&(rl=3):Tf())),null!==w.updateQueue&&(w.flags|=4),P(w),null;case 4:return we(),_(o,w),null===o&&eD(w.stateNode.containerInfo),P(w),null;case 10:return hd(w.type._context),P(w),null;case 19:if(x(nR),null===(V=w.memoizedState))return P(w),null;if(F=0!=(128&w.flags),null===(U=V.rendering)){if(F)Qf(V,!1);else{if(0!==rl||null!==o&&0!=(128&o.flags))for(o=w.child;null!==o;){if(null!==(U=ze(o))){for(w.flags|=128,Qf(V,!1),null!==(o=U.updateQueue)&&(w.updateQueue=o,w.flags|=4),w.subtreeFlags=0,o=N,F=w.child;null!==F;)N=F,V=o,N.flags&=14680066,null===(U=N.alternate)?(N.childLanes=0,N.lanes=V,N.child=null,N.subtreeFlags=0,N.memoizedProps=null,N.memoizedState=null,N.updateQueue=null,N.dependencies=null,N.stateNode=null):(N.childLanes=U.childLanes,N.lanes=U.lanes,N.child=U.child,N.subtreeFlags=0,N.deletions=null,N.memoizedProps=U.memoizedProps,N.memoizedState=U.memoizedState,N.updateQueue=U.updateQueue,N.type=U.type,V=U.dependencies,N.dependencies=null===V?null:{lanes:V.lanes,firstContext:V.firstContext}),F=F.sibling;return y(nR,1&nR.current|2),w.child}o=o.sibling}null!==V.tail&&tK()>ry&&(w.flags|=128,F=!0,Qf(V,!1),w.lanes=4194304)}}else{if(!F){if(null!==(o=ze(U))){if(w.flags|=128,F=!0,null!==(o=o.updateQueue)&&(w.updateQueue=o,w.flags|=4),Qf(V,!0),null===V.tail&&"hidden"===V.tailMode&&!U.alternate&&!nx)return P(w),null}else 2*tK()-V.renderingStartTime>ry&&1073741824!==N&&(w.flags|=128,F=!0,Qf(V,!1),w.lanes=4194304)}V.isBackwards?(U.sibling=w.child,w.child=U):(null!==(o=V.last)?o.sibling=U:w.child=U,V.last=U)}if(null!==V.tail)return w=V.tail,V.rendering=w,V.tail=w.sibling,V.renderingStartTime=tK(),w.sibling=null,o=nR.current,y(nR,F?1&o|2:1&o),w;return P(w),null;case 22:case 23:return Vf(),F=null!==w.memoizedState,null!==o&&null!==o.memoizedState!==F&&(w.flags|=8192),F&&0!=(1&w.mode)?0!=(1073741824&ra)&&(P(w),eM&&6&w.subtreeFlags&&(w.flags|=8192)):P(w),null;case 24:case 25:return null}throw Error(n(156,w.tag))}(N,w,ra))){ri=N;return}}else{if(null!==(N=function(o,S){switch(Sd(S),S.tag){case 1:return C(S.type)&&kc(),65536&(o=S.flags)?(S.flags=-65537&o|128,S):null;case 3:return we(),x(tN),x(tD),Be(),0!=(65536&(o=S.flags))&&0==(128&o)?(S.flags=-65537&o|128,S):null;case 5:return ye(S),null;case 13:if(x(nR),null!==(o=S.memoizedState)&&null!==o.dehydrated){if(null===S.alternate)throw Error(n(340));de()}return 65536&(o=S.flags)?(S.flags=-65537&o|128,S):null;case 19:return x(nR),null;case 4:return we(),null;case 10:return hd(S.type._context),null;case 22:case 23:return Vf(),null;default:return null}}(N,w))){N.flags&=32767,ri=N;return}if(null!==o)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{rl=6,ri=null;return}}if(null!==(w=w.sibling)){ri=w;return}ri=w=o}while(null!==w);0===rl&&(rl=5)}function Nh(o,S){var w=t$,_=rt.transition;try{rt.transition=null,t$=1,function(o,S,w){do Fh();while(null!==r_);if(0!=(6&rn))throw Error(n(327));var _=o.finishedWork,E=o.finishedLanes;if(null!==_){if(o.finishedWork=null,o.finishedLanes=0,_===o.current)throw Error(n(177));o.callbackNode=null,o.callbackPriority=0;var D=_.lanes|_.childLanes;if(function(o,S){var w=o.pendingLanes&~S;o.pendingLanes=S,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=S,o.mutableReadLanes&=S,o.entangledLanes&=S,S=o.entanglements;var _=o.eventTimes;for(o=o.expirationTimes;0<w;){var E=31-tV(w),D=1<<E;S[E]=0,_[E]=-1,o[E]=-1,w&=~D}}(o,D),o===rr&&(ri=rr=null,ro=0),0==(2064&_.subtreeFlags)&&0==(2064&_.flags)||rw||(rw=!0,N=tY,F=function(){return Fh(),null},tW(N,F)),D=0!=(15990&_.flags),0!=(15990&_.subtreeFlags)||D){D=rt.transition,rt.transition=null;var N,F,V,U,W=t$;
42t$=1;var q=rn;rn|=4,n7.current=null,function(o,S){for(eS(o.containerInfo),nJ=S;null!==nJ;)if(S=(o=nJ).child,0!=(1028&o.subtreeFlags)&&null!==S)S.return=o,nJ=S;else for(;null!==nJ;){o=nJ;try{var w=o.alternate;if(0!=(1024&o.flags))switch(o.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==w){var _=w.memoizedProps,E=w.memoizedState,D=o.stateNode,N=D.getSnapshotBeforeUpdate(o.elementType===o.type?_:ad(o.type,_),E);D.__reactInternalSnapshotBeforeUpdate=N}break;case 3:eM&&e7(o.stateNode.containerInfo);break;default:throw Error(n(163))}}catch(S){T(o,o.return,S)}if(null!==(S=o.sibling)){S.return=o.return,nJ=S;break}nJ=o.return}w=n0,n0=!1}(o,_),function(o,S){for(nJ=S;null!==nJ;){var w=(S=nJ).deletions;if(null!==w)for(var _=0;_<w.length;_++){var E=w[_];try{var D=o;eM?Jg(D,E,S):Kg(D,E,S);var N=E.alternate;null!==N&&(N.return=null),E.return=null}catch(o){T(E,S,o)}}if(w=S.child,0!=(12854&S.subtreeFlags)&&null!==w)w.return=S,nJ=w;else for(;null!==nJ;){S=nJ;try{var F=S.flags;if(32&F&&eM&&e4(S.stateNode),512&F){var V=S.alternate;if(null!==V){var U=V.ref;null!==U&&("function"==typeof U?U(null):U.current=null)}}if(8192&F)switch(S.tag){case 13:if(null!==S.memoizedState){var W=S.alternate;(null===W||null===W.memoizedState)&&(rv=tK())}break;case 22:var q=null!==S.memoizedState,Q=S.alternate,Y=null!==Q&&null!==Q.memoizedState;if(w=S,eM){e:if(_=w,E=q,D=null,eM)for(var et=_;;){if(5===et.tag){if(null===D){D=et;var en=et.stateNode;E?e5(en):e8(et.stateNode,et.memoizedProps)}}else if(6===et.tag){if(null===D){var er=et.stateNode;E?e6(er):e9(er,et.memoizedProps)}}else if((22!==et.tag&&23!==et.tag||null===et.memoizedState||et===_)&&null!==et.child){et.child.return=et,et=et.child;continue}if(et===_)break;for(;null===et.sibling;){if(null===et.return||et.return===_)break e;D===et&&(D=null),et=et.return}D===et&&(D=null),et.sibling.return=et.return,et=et.sibling}}if(q&&!Y&&0!=(1&w.mode)){nJ=w;for(var eo=w.child;null!==eo;){for(w=nJ=eo;null!==nJ;){var ea=(_=nJ).child;switch(_.tag){case 0:case 11:case 14:case 15:Fg(4,_,_.return);break;case 1:Bg(_,_.return);var es=_.stateNode;if("function"==typeof es.componentWillUnmount){var el=_.return;try{es.props=_.memoizedProps,es.state=_.memoizedState,es.componentWillUnmount()}catch(o){T(_,el,o)}}break;case 5:Bg(_,_.return);break;case 22:if(null!==_.memoizedState){Wg(w);continue}}null!==ea?(ea.return=_,nJ=ea):Wg(w)}eo=eo.sibling}}}switch(4102&F){case 2:Og(S),S.flags&=-3;break;case 6:Og(S),S.flags&=-3,Rg(S.alternate,S);break;case 4096:S.flags&=-4097;break;case 4100:S.flags&=-4097,Rg(S.alternate,S);break;case 4:Rg(S.alternate,S)}}catch(o){T(S,S.return,o)}if(null!==(w=S.sibling)){w.return=S.return,nJ=w;break}nJ=S.return}}}(o,_,E),ex(o.containerInfo),o.current=_,V=_,U=o,nJ=V,function Yg(o,S,w){for(var _=0!=(1&o.mode);null!==nJ;){var E=nJ,D=E.child;if(22===E.tag&&_){var N=null!==E.memoizedState||nX;if(!N){var F=E.alternate,V=null!==F&&null!==F.memoizedState||nQ;F=nX;var U=nQ;if(nX=N,(nQ=V)&&!U)for(nJ=E;null!==nJ;)V=(N=nJ).child,22===N.tag&&null!==N.memoizedState?Zg(E):null!==V?(V.return=N,nJ=V):Zg(E);for(;null!==D;)nJ=D,Yg(D,S,w),D=D.sibling;nJ=E,nX=F,nQ=U}$g(o,S,w)}else 0!=(8772&E.subtreeFlags)&&null!==D?(D.return=E,nJ=D):$g(o,S,w)}}(V,U,E),tq(),rn=q,t$=W,rt.transition=D}else o.current=_;if(rw&&(rw=!1,r_=o,rE=E),0===(D=o.pendingLanes)&&(rx=null),function(o){if(t1&&"function"==typeof t1.onCommitFiberRoot)try{t1.onCommitFiberRoot(t0,o,void 0,128==(128&o.current.flags))}catch(o){}}(_.stateNode,w),Z(o,tK()),null!==S)for(w=o.onRecoverableError,_=0;_<S.length;_++)w(S[_]);if(rb)throw rb=!1,o=rS,rS=null,o;0!=(1&rE)&&0!==o.tag&&Fh(),0!=(1&(D=o.pendingLanes))?o===rP?rT++:(rT=0,rP=o):rT=0,Xc()}}(o,S,w)}finally{rt.transition=_,t$=w}return null}function Fh(){if(null!==r_){var o=Ec(rE),S=rt.transition,w=t$;try{if(rt.transition=null,t$=16>o?16:o,null===r_)var _=!1;else{if(o=r_,r_=null,rE=0,0!=(6&rn))throw Error(n(331));var E=rn;for(rn|=4,nJ=o.current;null!==nJ;){var D=nJ,N=D.child;if(0!=(16&nJ.flags)){var F=D.deletions;if(null!==F){for(var V=0;V<F.length;V++){var U=F[V];for(nJ=U;null!==nJ;){var W=nJ;switch(W.tag){case 0:case 11:case 15:Fg(8,W,D)}var q=W.child;if(null!==q)q.return=W,nJ=q;else for(;null!==nJ;){var Q=(W=nJ).sibling,Y=W.return;if(!function Lg(o){var S=o.alternate;null!==S&&(o.alternate=null,Lg(S)),o.child=null,o.deletions=null,o.sibling=null,5===o.tag&&null!==(S=o.stateNode)&&eF(S),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}(W),W===U){nJ=null;break}if(null!==Q){Q.return=Y,nJ=Q;break}nJ=Y}}}var et=D.alternate;if(null!==et){var en=et.child;if(null!==en){et.child=null;do{var er=en.sibling;en.sibling=null,en=er}while(null!==en)}}nJ=D}}if(0!=(2064&D.subtreeFlags)&&null!==N)N.return=D,nJ=N;else for(;null!==nJ;){if(D=nJ,0!=(2048&D.flags))switch(D.tag){case 0:case 11:case 15:Fg(9,D,D.return)}var eo=D.sibling;if(null!==eo){eo.return=D.return,nJ=eo;break}nJ=D.return}}var ea=o.current;for(nJ=ea;null!==nJ;){var es=(N=nJ).child;if(0!=(2064&N.subtreeFlags)&&null!==es)es.return=N,nJ=es;else for(N=ea;null!==nJ;){if(F=nJ,0!=(2048&F.flags))try{switch(F.tag){case 0:case 11:case 15:Gg(9,F)}}catch(o){T(F,F.return,o)}if(F===N){nJ=null;break}var el=F.sibling;if(null!==el){el.return=F.return,nJ=el;break}nJ=F.return}}if(rn=E,Xc(),t1&&"function"==typeof t1.onPostCommitFiberRoot)try{t1.onPostCommitFiberRoot(t0,o)}catch(o){}_=!0}return _}finally{t$=w,rt.transition=S}}return!1}function Uh(o,S,w){S=Af(o,S=xf(w,S),1),rd(o,S),S=H(),null!==(o=Ah(o,1))&&
vendor: 5,659 bytes, line 42
42(Bc(o,1,S),Z(o,S))}function T(o,S,w){if(3===o.tag)Uh(o,o,w);else for(;null!==S;){if(3===S.tag){Uh(S,o,w);break}if(1===S.tag){var _=S.stateNode;if("function"==typeof S.type.getDerivedStateFromError||"function"==typeof _.componentDidCatch&&(null===rx||!rx.has(_))){o=Df(S,o=xf(w,o),1),rd(S,o),o=H(),null!==(S=Ah(S,1))&&(Bc(S,1,o),Z(S,o));break}}S=S.return}}function Gf(o,S,w){var _=o.pingCache;null!==_&&_.delete(S),S=H(),o.pingedLanes|=o.suspendedLanes&w,rr===o&&(ro&w)===w&&(4===rl||3===rl&&(130023424&ro)===ro&&500>tK()-rv?Ih(o,0):rh|=w),Z(o,S)}function Vh(o,S){0===S&&(0==(1&o.mode)?S=1:(S=tH,0==(130023424&(tH<<=1))&&(tH=4194304)));var w=H();null!==(o=Ah(o,S))&&(Bc(o,S,w),Z(o,w))}function qg(o){var S=o.memoizedState,w=0;null!==S&&(w=S.retryLane),Vh(o,w)}function Tg(o,S){var w=0;switch(o.tag){case 13:var _=o.stateNode,E=o.memoizedState;null!==E&&(w=E.retryLane);break;case 19:_=o.stateNode;break;default:throw Error(n(314))}null!==_&&_.delete(S),Vh(o,w)}function Xh(o,S,w,_){this.tag=o,this.key=w,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=S,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=_,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yd(o,S,w,_){return new Xh(o,S,w,_)}function ag(o){return!(!(o=o.prototype)||!o.isReactComponent)}function je(o,S){var w=o.alternate;return null===w?((w=Yd(o.tag,S,o.key,o.mode)).elementType=o.elementType,w.type=o.type,w.stateNode=o.stateNode,w.alternate=o,o.alternate=w):(w.pendingProps=S,w.type=o.type,w.flags=0,w.subtreeFlags=0,w.deletions=null),w.flags=14680064&o.flags,w.childLanes=o.childLanes,w.lanes=o.lanes,w.child=o.child,w.memoizedProps=o.memoizedProps,w.memoizedState=o.memoizedState,w.updateQueue=o.updateQueue,S=o.dependencies,w.dependencies=null===S?null:{lanes:S.lanes,firstContext:S.firstContext},w.sibling=o.sibling,w.index=o.index,w.ref=o.ref,w}function le(o,S,w,_,E,D){var N=2;if(_=o,"function"==typeof o)ag(o)&&(N=1);else if("string"==typeof o)N=5;else e:switch(o){case et:return ne(w.children,E,D,S);case en:N=8,E|=8;break;case er:return(o=Yd(12,w,S,2|E)).elementType=er,o.lanes=D,o;case el:return(o=Yd(13,w,S,E)).elementType=el,o.lanes=D,o;case eu:return(o=Yd(19,w,S,E)).elementType=eu,o.lanes=D,o;case ep:return ng(w,E,D,S);default:if("object"==typeof o&&null!==o)switch(o.$$typeof){case eo:N=10;break e;case ea:N=9;break e;case es:N=11;break e;case ec:N=14;break e;case ed:N=16,_=null;break e}throw Error(n(130,null==o?o:typeof o,""))}return(S=Yd(N,w,S,E)).elementType=o,S.type=_,S.lanes=D,S}function ne(o,S,w,_){return(o=Yd(7,o,_,S)).lanes=w,o}function ng(o,S,w,_){return(o=Yd(22,o,_,S)).elementType=ep,o.lanes=w,o.stateNode={},o}function ke(o,S,w){return(o=Yd(6,o,null,S)).lanes=w,o}function me(o,S,w){return(S=Yd(4,null!==o.children?o.children:[],o.key,S)).lanes=w,S.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},S}function Yh(o,S,w,_,E){this.tag=S,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=eR,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ac(0),this.expirationTimes=Ac(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ac(0),this.identifierPrefix=_,this.onRecoverableError=E,eL&&(this.mutableSourceEagerHydrationData=null)}function Zh(o,S,w,_,E,D,N,F,V){return o=new Yh(o,S,w,F,V),1===S?(S=1,!0===D&&(S|=8)):S=0,D=Yd(3,null,null,S),o.current=D,D.stateNode=o,D.memoizedState={element:_,isDehydrated:w,cache:null,transitions:null},od(D),o}function $h(o){if(!o)return tI;o=o._reactInternals;e:{if(ya(o)!==o||1!==o.tag)throw Error(n(170));var S=o;do{switch(S.tag){case 3:S=S.stateNode.context;break e;case 1:if(C(S.type)){S=S.stateNode.__reactInternalMemoizedMergedChildContext;break e}}S=S.return}while(null!==S);throw Error(n(171))}if(1===o.tag){var w=o.type;if(C(w))return mc(o,w,S)}return S}function ai(o){var S=o._reactInternals;if(void 0===S){if("function"==typeof o.render)throw Error(n(188));throw Error(n(268,o=Object.keys(o).join(",")))}return null===(o=Ba(S))?null:o.stateNode}function bi(o,S){if(null!==(o=o.memoizedState)&&null!==o.dehydrated){var w=o.retryLane;o.retryLane=0!==w&&w<S?w:S}}function ci(o,S){bi(o,S),(o=o.alternate)&&bi(o,S)}function di(o){return null===(o=Ba(o))?null:o.stateNode}function ei(){return null}return N=function(o,S,w){if(null!==o){if(o.memoizedProps!==S.pendingProps||tN.current)nq=!0;else{if(0==(o.lanes&w)&&0==(128&S.flags))return nq=!1,function(o,S,w){switch(S.tag){case 3:ig(S),de();break;case 5:xe(S);break;case 1:C(S.type)&&nc(S);break;case 4:ve(S,S.stateNode.containerInfo);break;case 10:gd(S,S.type._context,S.memoizedProps.value);break;case 13:var _=S.memoizedState;if(null!==_){if(null!==_.dehydrated)return y(nR,1&nR.current),S.flags|=128,null;if(0!=(w&S.child.childLanes))return mg(o,S,w);return y(nR,1&nR.current),null!==(o=Zf(o,S,w))?o.sibling:null}y(nR,1&nR.current);break;case 19:if(_=0!=(w&S.childLanes),0!=(128&o.flags)){if(_)return vg(o,S,w);S.flags|=128}var E=S.memoizedState;if(null!==E&&(E.rendering=null,E.tail=null,E.lastEffect=null),y(nR,nR.current),!_)return null;break;case 22:case 23:return S.lanes=0,dg(o,S,w)}return Zf(o,S,w)}(o,S,w);nq=0!=(131072&o.flags)}}else nq=!1,nx&&0!=(1048576&S.flags)&&Qd(S,nd,S.index);switch(S.lanes=0,S.tag){case 2:var _=S.type;null!==o&&(o.alternate=null,S.alternate=null,S.flags|=2),o=S.pendingProps;var E=jc(S,tD.current);
42jd(S,w),E=Ke(null,S,_,o,E,w);var D=Pe();return S.flags|=1,"object"==typeof E&&null!==E&&"function"==typeof E.render&&void 0===E.$$typeof?(S.tag=1,S.memoizedState=null,S.updateQueue=null,C(_)?(D=!0,nc(S)):D=!1,S.memoizedState=null!==E.state&&void 0!==E.state?E.state:null,od(S),E.updater=na,S.stateNode=E,E._reactInternals=S,Fd(S,_,o,w),S=hg(null,S,_,!0,D,w)):(S.tag=0,nx&&D&&Rd(S),R(null,S,E,w),S=S.child),S;case 16:_=S.elementType;e:{switch(null!==o&&(o.alternate=null,S.alternate=null,S.flags|=2),o=S.pendingProps,_=(E=_._init)(_._payload),S.type=_,E=S.tag=function(o){if("function"==typeof o)return ag(o)?1:0;if(null!=o){if((o=o.$$typeof)===es)return 11;if(o===ec)return 14}return 2}(_),o=ad(_,o),E){case 0:S=cg(null,S,_,o,w);break e;case 1:S=gg(null,S,_,o,w);break e;case 11:S=Yf(null,S,_,o,w);break e;case 14:S=$f(null,S,_,ad(_.type,o),w);break e}throw Error(n(306,_,""))}return S;case 0:return _=S.type,E=S.pendingProps,E=S.elementType===_?E:ad(_,E),cg(o,S,_,E,w);case 1:return _=S.type,E=S.pendingProps,E=S.elementType===_?E:ad(_,E),gg(o,S,_,E,w);case 3:e:{if(ig(S),null===o)throw Error(n(387));_=S.pendingProps,E=(D=S.memoizedState).element,pd(o,S),ud(S,_,null,w);var N=S.memoizedState;if(_=N.element,eL&&D.isDehydrated){if(D={element:_,isDehydrated:!1,cache:N.cache,transitions:N.transitions},S.updateQueue.baseState=D,S.memoizedState=D,256&S.flags){S=jg(o,S,_,w,E=Error(n(423)));break e}if(_!==E){S=jg(o,S,_,w,E=Error(n(424)));break e}for(eL&&(nS=ty(S.stateNode.containerInfo),nb=S,nx=!0,n_=null,nw=!1),w=nT(S,null,_,w),S.child=w;w;)w.flags=-3&w.flags|4096,w=w.sibling}else{if(de(),_===E){S=Zf(o,S,w);break e}R(o,S,_,w)}S=S.child}return S;case 5:return xe(S),null===o&&ae(S),_=S.type,E=S.pendingProps,D=null!==o?o.memoizedProps:null,N=E.children,eP(_,E)?N=null:null!==D&&eP(_,D)&&(S.flags|=32),fg(o,S),R(o,S,N,w),S.child;case 6:return null===o&&ae(S),null;case 13:return mg(o,S,w);case 4:return ve(S,S.stateNode.containerInfo),_=S.pendingProps,null===o?S.child=nE(S,null,_,w):R(o,S,_,w),S.child;case 11:return _=S.type,E=S.pendingProps,E=S.elementType===_?E:ad(_,E),Yf(o,S,_,E,w);case 7:return R(o,S,S.pendingProps,w),S.child;case 8:case 12:return R(o,S,S.pendingProps.children,w),S.child;case 10:e:{if(_=S.type._context,E=S.pendingProps,D=S.memoizedProps,gd(S,_,N=E.value),null!==D){if(t2(D.value,N)){if(D.children===E.children&&!tN.current){S=Zf(o,S,w);break e}}else for(null!==(D=S.child)&&(D.return=S);null!==D;){var F=D.dependencies;if(null!==F){N=D.child;for(var V=F.firstContext;null!==V;){if(V.context===_){if(1===D.tag){(V=qd(-1,w&-w)).tag=2;var U=D.updateQueue;if(null!==U){var W=(U=U.shared).pending;null===W?V.next=V:(V.next=W.next,W.next=V),U.pending=V}}D.lanes|=w,null!==(V=D.alternate)&&(V.lanes|=w),id(D.return,w,S),F.lanes|=w;break}V=V.next}}else if(10===D.tag)N=D.type===S.type?null:D.child;else if(18===D.tag){if(null===(N=D.return))throw Error(n(341));N.lanes|=w,null!==(F=N.alternate)&&(F.lanes|=w),id(N,w,S),N=D.sibling}else N=D.child;if(null!==N)N.return=D;else for(N=D;null!==N;){if(N===S){N=null;break}if(null!==(D=N.sibling)){D.return=N.return,N=D;break}N=N.return}D=N}}R(o,S,E.children,w),S=S.child}return S;case 9:return E=S.type,_=S.pendingProps.children,jd(S,w),_=_(E=ld(E)),S.flags|=1,R(o,S,_,w),S.child;case 14:return E=ad(_=S.type,S.pendingProps),E=ad(_.type,E),$f(o,S,_,E,w);case 15:return bg(o,S,S.type,S.pendingProps,w);case 17:return _=S.type,E=S.pendingProps,E=S.elementType===_?E:ad(_,E),null!==o&&(o.alternate=null,S.alternate=null,S.flags|=2),S.tag=1,C(_)?(o=!0,nc(S)):o=!1,jd(S,w),Dd(S,_,E),Fd(S,_,E,w),hg(null,S,_,!0,o,w);case 19:return vg(o,S,w);case 22:return dg(o,S,w)}throw Error(n(156,S.tag))},F.attemptContinuousHydration=function(o){13===o.tag&&(Ad(o,134217728,H()),ci(o,134217728))},F.attemptHydrationAtCurrentPriority=function(o){if(13===o.tag){var S=H(),w=zd(o);Ad(o,w,S),ci(o,w)}},F.attemptSynchronousHydration=function(o){switch(o.tag){case 3:var S=o.stateNode;if(S.current.memoizedState.isDehydrated){var w=vc(S.pendingLanes);0!==w&&(Dc(S,1|w),Z(S,tK()),0==(6&rn)&&(sh(),Xc()))}break;case 13:var _=H();Oh(function(){return Ad(o,1,_)}),ci(o,1)}},F.batchedUpdates=function(o,S){var w=rn;rn|=1;try{return o(S)}finally{0===(rn=w)&&(sh(),t4&&Xc())}},F.createComponentSelector=function(o){return{$$typeof:n1,value:o}},F.createContainer=function(o,S,w,_,E,D,N){return Zh(o,S,!1,null,w,_,E,D,N)},F.createHasPseudoClassSelector=function(o){return{$$typeof:n2,value:o}},F.createHydrationContainer=function(o,S,w,_,E,D,N,F,V){return(o=Zh(w,_,!0,o,E,D,N,F,V)).context=$h(null),w=o.current,(D=qd(_=H(),E=zd(w))).callback=null!=S?S:null,rd(w,D),o.current.lanes=E,Bc(o,E,_),Z(o,_),o},F.createPortal=function(o,S,w){var _=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Y,key:null==_?null:""+_,children:o,containerInfo:S,implementation:w}},F.createRoleSelector=function(o){return{$$typeof:n3,value:o}},F.createTestNameSelector=function(o){return{$$typeof:n4,value:o}}
42,F.createTextSelector=function(o){return{$$typeof:n5,value:o}},F.deferredUpdates=function(o){var S=t$,w=rt.transition;try{return rt.transition=null,t$=16,o()}finally{t$=S,rt.transition=w}},F.discreteUpdates=function(o,S,w,_,E){var D=t$,N=rt.transition;try{return rt.transition=null,t$=1,o(S,w,_,E)}finally{t$=D,rt.transition=N,0===rn&&sh()}},F.findAllNodes=kh,F.findBoundingRects=function(o,S){if(!eB)throw Error(n(363));S=kh(o,S),o=[];for(var w=0;w<S.length;w++)o.push(eH(S[w]));for(S=o.length-1;0<S;S--){w=o[S];for(var _=w.x,E=_+w.width,D=w.y,N=D+w.height,F=S-1;0<=F;F--)if(S!==F){var V=o[F],U=V.x,W=U+V.width,q=V.y,Q=q+V.height;if(_>=U&&D>=q&&E<=W&&N<=Q){o.splice(S,1);break}if(_!==U||w.width!==V.width||Q<D||q>N){if(!(D!==q||w.height!==V.height||W<_||U>E)){U>_&&(V.width+=U-_,V.x=_),W<E&&(V.width=E-U),o.splice(S,1);break}}else{q>D&&(V.height+=q-D,V.y=D),Q<N&&(V.height=N-q),o.splice(S,1);break}}}return o},F.findHostInstance=ai,F.findHostInstanceWithNoPortals=function(o){return null===(o=null!==(o=Aa(o))?function Da(o){if(5===o.tag||6===o.tag)return o;for(o=o.child;null!==o;){if(4!==o.tag){var S=Da(o);if(null!==S)return S}o=o.sibling}return null}(o):null)?null:o.stateNode},F.findHostInstanceWithWarning=function(o){return ai(o)},F.flushControlled=function(o){var S=rn;rn|=1;var w=rt.transition,_=t$;try{rt.transition=null,t$=1,o()}finally{t$=_,rt.transition=w,0===(rn=S)&&(sh(),Xc())}},F.flushPassiveEffects=Fh,F.flushSync=Oh,F.focusWithin=function(o,S){if(!eB)throw Error(n(363));for(S=Array.from(S=jh(o=gh(o),S)),o=0;o<S.length;){var w=S[o++];if(!eW(w)){if(5===w.tag&&eG(w.stateNode))return!0;for(w=w.child;null!==w;)S.push(w),w=w.sibling}}return!1},F.getCurrentUpdatePriority=function(){return t$},F.getFindAllNodesFailureDescription=function(o,S){if(!eB)throw Error(n(363));var w=0,_=[];o=[gh(o),0];for(var E=0;E<o.length;){var D=o[E++],N=o[E++],F=S[N];if((5!==D.tag||!eW(D))&&(hh(D,F)&&(_.push(ih(F)),++N>w&&(w=N)),N<S.length))for(D=D.child;null!==D;)o.push(D,N),D=D.sibling}if(w<S.length){for(o=[];w<S.length;w++)o.push(ih(S[w]));return"findAllNodes was able to match part of the selector:\n "+_.join(" > ")+"\n\nNo matching component was found for:\n "+o.join(" > ")}return null},F.getPublicRootInstance=function(o){return(o=o.current).child?5===o.child.tag?ev(o.child.stateNode):o.child.stateNode:null},F.injectIntoDevTools=function(o){if(o={bundleType:o.bundleType,version:o.version,rendererPackageName:o.rendererPackageName,rendererConfig:o.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:q.ReactCurrentDispatcher,findHostInstanceByFiber:di,findFiberByHostInstance:o.findFiberByHostInstance||ei,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.0.0-fc46dba67-20220329"},"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)o=!1;else{var S=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(S.isDisabled||!S.supportsFiber)o=!0;else{try{t0=S.inject(o),t1=S}catch(o){}o=!!S.checkDCE}}return o},F.isAlreadyRendering=function(){return!1},F.observeVisibleRects=function(o,S,w,_){if(!eB)throw Error(n(363));var E=eq(o=kh(o,S),w,_).disconnect;return{disconnect:function(){E()}}},F.registerMutableSourceForHydration=function(o,S){var w=S._getVersion;w=w(S._source),null==o.mutableSourceEagerHydrationData?o.mutableSourceEagerHydrationData=[S,w]:o.mutableSourceEagerHydrationData.push(S,w)},F.runWithPriority=function(o,S){var w=t$;try{return t$=o,S()}finally{t$=w}},F.shouldError=function(){return null},F.shouldSuspend=function(){return!1},F.updateContainer=function(o,S,w,_){var E=S.current,D=H(),N=zd(E);return w=$h(w),null===S.context?S.context=w:S.pendingContext=w,(S=qd(D,N)).payload={element:o},null!==(_=void 0===_?null:_)&&(S.callback=_),rd(E,S),null!==(o=Ad(E,N,D))&&sd(o,E,N),N},F}},32576:function(o,S,w){"use strict";o.exports=w(46511)},76525:function(o,S,w){"use strict";o.exports=w(67287)},96775:function(o,S,w){"use strict";
42function _assertThisInitialized(o){if(void 0===o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return o}w.d(S,{KS:function(){return useScrollPercentage}});var _=w(75068);function _defineProperty(o,S,w){return S in o?Object.defineProperty(o,S,{value:w,enumerable:!0,configurable:!0,writable:!0}):o[S]=w,o}var E=w(67294);function _extends(){return(_extends=Object.assign||function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)Object.prototype.hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}).apply(this,arguments)}function _setPrototypeOf(o,S){return(_setPrototypeOf=Object.setPrototypeOf||function(o,S){return o.__proto__=S,o})(o,S)}var D=new Map,N=new WeakMap,F=0,V=void 0;function observe(o,S,w,_){if(void 0===w&&(w={}),void 0===_&&(_=V),void 0===window.IntersectionObserver&&void 0!==_){var E=o.getBoundingClientRect();return S(_,{isIntersecting:_,target:o,intersectionRatio:"number"==typeof w.threshold?w.threshold:0,time:0,boundingClientRect:E,intersectionRect:E,rootBounds:E}),function(){}}var U=function(o){var S=Object.keys(o).sort().filter(function(S){return void 0!==o[S]}).map(function(S){var w;return S+"_"+("root"===S?(w=o.root)?(N.has(w)||(F+=1,N.set(w,F.toString())),N.get(w)):"0":o[S])}).toString(),w=D.get(S);if(!w){var _,E=new Map,V=new IntersectionObserver(function(S){S.forEach(function(S){var w,D=S.isIntersecting&&_.some(function(o){return S.intersectionRatio>=o});o.trackVisibility&&void 0===S.isVisible&&(S.isVisible=D),null==(w=E.get(S.target))||w.forEach(function(o){o(D,S)})})},o);_=V.thresholds||(Array.isArray(o.threshold)?o.threshold:[o.threshold||0]),w={id:S,observer:V,elements:E},D.set(S,w)}return w}(w),W=U.id,q=U.observer,Q=U.elements,Y=Q.get(o)||[];return Q.has(o)||Q.set(o,Y),Y.push(S),q.observe(o),function(){Y.splice(Y.indexOf(S),1),0===Y.length&&(Q.delete(o),q.unobserve(o)),0===Q.size&&(q.disconnect(),D.delete(W))}}var U=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function isPlainChildren(o){return"function"!=typeof o.children}var W=function(o){function InView(S){var w;return(w=o.call(this,S)||this).node=null,w._unobserveCb=null,w.handleNode=function(o){!w.node||(w.unobserve(),o||w.props.triggerOnce||w.props.skip||w.setState({inView:!!w.props.initialInView,entry:void 0})),w.node=o||null,w.observeNode()},w.handleChange=function(o,S){o&&w.props.triggerOnce&&w.unobserve(),isPlainChildren(w.props)||w.setState({inView:o,entry:S}),w.props.onChange&&w.props.onChange(o,S)},w.state={inView:!!S.initialInView,entry:void 0},w}InView.prototype=Object.create(o.prototype),InView.prototype.constructor=InView,_setPrototypeOf(InView,o);var S=InView.prototype;return S.componentDidUpdate=function(o){(o.rootMargin!==this.props.rootMargin||o.root!==this.props.root||o.threshold!==this.props.threshold||o.skip!==this.props.skip||o.trackVisibility!==this.props.trackVisibility||o.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},S.componentWillUnmount=function(){this.unobserve(),this.node=null},S.observeNode=function(){if(this.node&&!this.props.skip){var o=this.props,S=o.threshold,w=o.root,_=o.rootMargin,E=o.trackVisibility,D=o.delay,N=o.fallbackInView;this._unobserveCb=observe(this.node,this.handleChange,{threshold:S,root:w,rootMargin:_,trackVisibility:E,delay:D},N)}},S.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},S.render=function(){if(!isPlainChildren(this.props)){var o=this.state,S=o.inView,w=o.entry;return this.props.children({inView:S,entry:w,ref:this.handleNode})}var _=this.props,D=_.children,N=_.as,F=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(_,U);return E.createElement(N||"div",_extends({ref:this.handleNode},F),D)},InView}(E.Component);function calculateVerticalPercentage(o,S,w){if(void 0===S&&(S=0),void 0===w&&(w=window),!w)return 0;var _=(w instanceof Element?w.clientHeight:w.innerHeight)||0,E=S*o.height;return 1-Math.max(0,Math.min(1,(o.bottom-E)/(_+o.height-2*E)))}function calculateHorizontalPercentage(o,S,w){if(void 0===S&&(S=0),void 0===w&&(w=window),!w)return 0;var _=(w instanceof Element?w.clientWidth:w.innerWidth)||0,E=S*o.width;return 1-Math.max(0,Math.min(1,(o.right-E)/(_+o.width-2*E)))}function react_scroll_percentage_esm_isPlainChildren(o){return"function"!=typeof o.children}W.displayName="InView",W.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1};var q=function(o){function ScrollPercentage(){for(var S,w=arguments.length,_=Array(w),E=0;E<w;E++)_[E]=arguments[E];return _defineProperty(_assertThisInitialized(S=o.call.apply(o,[this].concat(_))||this),"state",{percentage:0,inView:!1,entry:void 0}),_defineProperty(_assertThisInitialized(S),"node",void 0),_defineProperty(_assertThisInitialized(S),"monitoring",!1),_defineProperty(_assertThisInitialized(S),"handleScroll",function(){if(S.node){var o=S.node.getBoundingClientRect(),w=S.props.horizontal?calculateHorizontalPercentage(o,S.props.threshold,S.props.root):calculateVerticalPercentage(o,S.props.threshold,S.props.root);w!==S.state.percentage&&S.setState({percentage:w})}}),_defineProperty(_assertThisInitialized(S),"handleInView",function(o,w){S.node=w.target,S.setState({entry:w,inView:o})}),_defineProperty(_assertThisInitialized(S),"handleRenderProps",function(o){var w=o.ref,_=S.state,E=_.percentage,D=_.entry,N=_.inView;return react_scroll_percentage_esm_isPlainChildren(S.props)?null:S.props.children({percentage:E,entry:D,inView:N,ref:w})}),S}(0,_.Z)(ScrollPercentage,o);var S=ScrollPercentage.prototype;return S.componentDidUpdate=function(o,S){this.props.onChange&&(S.percentage!==this.state.percentage||S.inView!==this.state.inView)&&this.props.onChange(this.state.percentage,this.state.entry),o.root!==this.props.root&&this.monitoring&&(this.monitorScroll(!1,o.root),this.monitorScroll(this.state.inView)),S.inView!==this.state.inView&&this.monitorScroll(this.state.inView,o.root)},S.componentWillUnmount=function(){this.monitorScroll(!1)},S.monitorScroll=function(o,S){var w=S||this.props.root||window;if(o){if(this.monitoring)return;w.addEventListener("scroll",this.handleScroll,{passive:!0}),w.addEventListener("resize",this.handleScroll),this.handleScroll(),this.monitoring=!0}else{if(!this.monitoring)return;w.removeEventListener("scroll",this.handleScroll),w.removeEventListener("resize",this.handleScroll),this.monitoring=!1}},S.render=function(){return(0,E.createElement)(W,{onChange:this.handleInView},react_scroll_percentage_esm_isPlainChildren(this.props)?this.props.children:this.handleRenderProps)},ScrollPercentage}(E.Component);function useScrollPercentage(o){void 0===o&&(o={});var S,w,_,D,N,F,V,U,W,q,Q,Y,et,en,er,eo,ea,es=(_=(w=void 0===(S=o)?{}:S).threshold,D=w.delay,N=w.trackVisibility,F=w.rootMargin,V=w.root,U=w.triggerOnce,W=w.skip,q=w.initialInView,Q=w.fallbackInView,Y=E.useRef(),en=(et=E.useState({inView:!!q}))[0],er=et[1],eo=E.useCallback(function(o){void 0!==Y.current&&(Y.current(),Y.current=void 0),!W&&o&&(Y.current=observe(o,function(o,S){er({inView:o,entry:S}),S.isIntersecting&&U&&Y.current&&(Y.current(),Y.current=void 0)},{root:V,rootMargin:F,threshold:_,trackVisibility:N,delay:D},Q))},[Array.isArray(_)?_.toString():_,V,F,U,W,N,Q,D]),(0,E.useEffect)(function(){Y.current||!en.entry||U||W||er({inView:!!q})}),(ea=[eo,en.inView,en.entry]).ref=ea[0],ea.inView=ea[1],ea.entry=ea[2],ea),el=es[0],eu=es[1],ec=es[2],ed=(0,E.useState)(0),ep=ed[0],eh=ed[1],em=ec&&ec.target;return(0,E.useEffect)(function(){var handleScroll=function(){if(em){var S=em.getBoundingClientRect();eh(o.horizontal?calculateHorizontalPercentage(S,o.threshold,o.root):calculateVerticalPercentage(S,o.threshold,o.root))}};if(eu){var S=o.root||window;return S.addEventListener("scroll",handleScroll,{passive:!0}),S.addEventListener("resize",handleScroll),function(){S.removeEventListener("scroll",handleScroll),S.removeEventListener("resize",handleScroll)}}handleScroll()},[eu,o.root,o.horizontal,o.threshold,em]),[el,ep,ec]}_defineProperty(q,"displayName","ScrollPercentage"),_defineProperty(q,"defaultProps",{threshold:0})},8205:function(o,S,w){"use strict";function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}Object.defineProperty(S,"__esModule",{value:!0}),S.PrevArrow=S.NextArrow=void 0;var _=_interopRequireDefault(w(67294)),E=_interopRequireDefault(w(94184)),D=w(15518);function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function _extends(){return(_extends=Object.assign||function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)Object.prototype.hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}
42).apply(this,arguments)}function ownKeys(o,S){var w=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);S&&(_=_.filter(function(S){return Object.getOwnPropertyDescriptor(o,S).enumerable})),w.push.apply(w,_)}return w}function _objectSpread(o){for(var S=1;S<arguments.length;S++){var w=null!=arguments[S]?arguments[S]:{};S%2?ownKeys(Object(w),!0).forEach(function(S){var _;_=w[S],S in o?Object.defineProperty(o,S,{value:_,enumerable:!0,configurable:!0,writable:!0}):o[S]=_}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(w)):ownKeys(Object(w)).forEach(function(S){Object.defineProperty(o,S,Object.getOwnPropertyDescriptor(w,S))})}return o}function _classCallCheck(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")}function _defineProperties(o,S){for(var w=0;w<S.length;w++){var _=S[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(o,_.key,_)}}function _createClass(o,S,w){return S&&_defineProperties(o.prototype,S),w&&_defineProperties(o,w),Object.defineProperty(o,"prototype",{writable:!1}),o}function _inherits(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(S&&S.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),S&&_setPrototypeOf(o,S)}function _setPrototypeOf(o,S){return(_setPrototypeOf=Object.setPrototypeOf||function(o,S){return o.__proto__=S,o})(o,S)}function _createSuper(o){var S=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(o){return!1}}();return function(){var w,_=_getPrototypeOf(o);if(S){var E=_getPrototypeOf(this).constructor;w=Reflect.construct(_,arguments,E)}else w=_.apply(this,arguments);return function(o,S){if(S&&("object"===_typeof(S)||"function"==typeof S))return S;if(void 0!==S)throw TypeError("Derived constructors may only return object or undefined");return function(o){if(void 0===o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(o)}(this,w)}}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}var N=function(o){_inherits(PrevArrow,o);var S=_createSuper(PrevArrow);function PrevArrow(){return _classCallCheck(this,PrevArrow),S.apply(this,arguments)}return _createClass(PrevArrow,[{key:"clickHandler",value:function(o,S){S&&S.preventDefault(),this.props.clickHandler(o,S)}},{key:"render",value:function(){var o={"slick-arrow":!0,"slick-prev":!0},S=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(o["slick-disabled"]=!0,S=null);var w={key:"0","data-role":"none",className:(0,E.default)(o),style:{display:"block"},onClick:S},D={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?_.default.cloneElement(this.props.prevArrow,_objectSpread(_objectSpread({},w),D)):_.default.createElement("button",_extends({key:"0",type:"button"},w)," ","Previous")}}]),PrevArrow}(_.default.PureComponent);S.PrevArrow=N;var F=function(o){_inherits(NextArrow,o);var S=_createSuper(NextArrow);function NextArrow(){return _classCallCheck(this,NextArrow),S.apply(this,arguments)}return _createClass(NextArrow,[{key:"clickHandler",value:function(o,S){S&&S.preventDefault(),this.props.clickHandler(o,S)}},{key:"render",value:function(){var o={"slick-arrow":!0,"slick-next":!0},S=this.clickHandler.bind(this,{message:"next"});(0,D.canGoNext)(this.props)||(o["slick-disabled"]=!0,S=null);var w={key:"1","data-role":"none",className:(0,E.default)(o),style:{display:"block"},onClick:S},N={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?_.default.cloneElement(this.props.nextArrow,_objectSpread(_objectSpread({},w),N)):_.default.createElement("button",_extends({key:"1",type:"button"},w)," ","Next")}}]),NextArrow}(_.default.PureComponent);S.NextArrow=F},23492:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=void 0;
42var _,E=(_=w(67294))&&_.__esModule?_:{default:_};S.default={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(o){return E.default.createElement("ul",{style:{display:"block"}},o)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(o){return E.default.createElement("button",null,o+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0}},16329:function(o,S,w){"use strict";function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}Object.defineProperty(S,"__esModule",{value:!0}),S.Dots=void 0;var _=_interopRequireDefault(w(67294)),E=_interopRequireDefault(w(94184)),D=w(15518);function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function ownKeys(o,S){var w=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);S&&(_=_.filter(function(S){return Object.getOwnPropertyDescriptor(o,S).enumerable})),w.push.apply(w,_)}return w}function _defineProperties(o,S){for(var w=0;w<S.length;w++){var _=S[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(o,_.key,_)}}function _setPrototypeOf(o,S){return(_setPrototypeOf=Object.setPrototypeOf||function(o,S){return o.__proto__=S,o})(o,S)}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}var N=function(o){!function(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(S&&S.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),S&&_setPrototypeOf(o,S)}(Dots,o);var S,w,N,F=(S=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(o){return!1}}(),function(){var o,w=_getPrototypeOf(Dots);if(S){var _=_getPrototypeOf(this).constructor;o=Reflect.construct(w,arguments,_)}else o=w.apply(this,arguments);return function(o,S){if(S&&("object"===_typeof(S)||"function"==typeof S))return S;if(void 0!==S)throw TypeError("Derived constructors may only return object or undefined");return function(o){if(void 0===o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return o}(o)}(this,o)});function Dots(){return!function(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")}(this,Dots),F.apply(this,arguments)}return w=[{key:"clickHandler",value:function(o,S){S.preventDefault(),this.props.clickHandler(o)}},{key:"render",value:function(){for(var o,S=this.props,w=S.onMouseEnter,N=S.onMouseOver,F=S.onMouseLeave,V=S.infinite,U=S.slidesToScroll,W=S.slidesToShow,q=S.slideCount,Q=S.currentSlide,Y=(o={slideCount:q,slidesToScroll:U,slidesToShow:W,infinite:V}).infinite?Math.ceil(o.slideCount/o.slidesToScroll):Math.ceil((o.slideCount-o.slidesToShow)/o.slidesToScroll)+1,et=[],en=0;en<Y;en++){var er=(en+1)*U-1,eo=V?er:(0,D.clamp)(er,0,q-1),ea=eo-(U-1),es=V?ea:(0,D.clamp)(ea,0,q-1),el=(0,E.default)({"slick-active":V?Q>=es&&Q<=eo:Q===es}),eu={message:"dots",index:en,slidesToScroll:U,currentSlide:Q},ec=this.clickHandler.bind(this,eu);et=et.concat(_.default.createElement("li",{key:en,className:el}
42,_.default.cloneElement(this.props.customPaging(en),{onClick:ec})))}return _.default.cloneElement(this.props.appendDots(et),function(o){for(var S=1;S<arguments.length;S++){var w=null!=arguments[S]?arguments[S]:{};S%2?ownKeys(Object(w),!0).forEach(function(S){var _;_=w[S],S in o?Object.defineProperty(o,S,{value:_,enumerable:!0,configurable:!0,writable:!0}):o[S]=_}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(w)):ownKeys(Object(w)).forEach(function(S){Object.defineProperty(o,S,Object.getOwnPropertyDescriptor(w,S))})}return o}({className:this.props.dotsClass},{onMouseEnter:w,onMouseOver:N,onMouseLeave:F}))}}],_defineProperties(Dots.prototype,w),N&&_defineProperties(Dots,N),Object.defineProperty(Dots,"prototype",{writable:!1}),Dots}(_.default.PureComponent);S.Dots=N},46066:function(o,S,w){"use strict";S.Z=void 0;var _,E=((_=w(5798))&&_.__esModule?_:{default:_}).default;S.Z=E},46948:function(o,S){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.default=void 0,S.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},58517:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.InnerSlider=void 0;var _=_interopRequireDefault(w(67294)),E=_interopRequireDefault(w(46948)),D=_interopRequireDefault(w(91296)),N=_interopRequireDefault(w(94184)),F=w(15518),V=w(64740),U=w(16329),W=w(8205),q=_interopRequireDefault(w(91033));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}function _extends(){return(_extends=Object.assign||function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)Object.prototype.hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}).apply(this,arguments)}function ownKeys(o,S){var w=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);S&&(_=_.filter(function(S){return Object.getOwnPropertyDescriptor(o,S).enumerable})),w.push.apply(w,_)}return w}function _objectSpread(o){for(var S=1;S<arguments.length;S++){var w=null!=arguments[S]?arguments[S]:{};S%2?ownKeys(Object(w),!0).forEach(function(S){_defineProperty(o,S,w[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(w)):ownKeys(Object(w)).forEach(function(S){Object.defineProperty(o,S,Object.getOwnPropertyDescriptor(w,S))})}return o}function _defineProperties(o,S){for(var w=0;w<S.length;w++){var _=S[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(o,_.key,_)}}function _setPrototypeOf(o,S){return(_setPrototypeOf=Object.setPrototypeOf||function(o,S){return o.__proto__=S,o})(o,S)}function _assertThisInitialized(o){if(void 0===o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _defineProperty(o,S,w){return S in o?Object.defineProperty(o,S,{value:w,enumerable:!0,configurable:!0,writable:!0}):o[S]=w,o}var Q=function(o){!function(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(S&&S.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),S&&_setPrototypeOf(o,S)}(InnerSlider,o);var S,w,Q,Y=(S=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(o){return!1}}(),function(){var o,w=_getPrototypeOf(InnerSlider);if(S){var _=_getPrototypeOf(this).constructor;o=Reflect.construct(w,arguments,_)}else o=w.apply(this,arguments);return function(o,S){if(S&&("object"===_typeof(S)||"function"==typeof S))return S;if(void 0!==S)throw TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(o)}(this,o)});function InnerSlider(o){!function(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")}(this,InnerSlider),_defineProperty(_assertThisInitialized(S=Y.call(this,o)),"listRefHandler",function(o){return S.list=o}),_defineProperty(_assertThisInitialized(S),"trackRefHandler",function(o){return S.track=o}),_defineProperty(_assertThisInitialized(S),"adaptHeight",function(){if(S.props.adaptiveHeight&&S.list){var o=S.list.querySelector('[data-index="'.concat(S.state.currentSlide,'"]'));S.list.style.height=(0,F.getHeight)(o)+"px"}}),_defineProperty(_assertThisInitialized(S),"componentDidMount",function(){if(S.props.onInit&&S.props.onInit(),S.props.lazyLoad){var o=(0,F.getOnDemandLazySlides)(_objectSpread(_objectSpread({},S.props),S.state));o.length>0&&(S.setState(function(S){return{lazyLoadedList:S.lazyLoadedList.concat(o)}}),S.props.onLazyLoad&&S.props.onLazyLoad(o))}var w=_objectSpread({listRef:S.list,trackRef:S.track},S.props);S.updateState(w,!0,function(){S.adaptHeight(),S.props.autoplay&&S.autoPlay("update")}),"progressive"===S.props.lazyLoad&&(S.lazyLoadTimer=setInterval(S.progressiveLazyLoad,1e3)),S.ro=new q.default(function(){S.state.animating?(S.onWindowResized(!1),S.callbackTimers.push(setTimeout(function(){return S.onWindowResized()},S.props.speed))):S.onWindowResized()}),S.ro.observe(S.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(o){o.onfocus=S.props.pauseOnFocus?S.onSlideFocus:null,o.onblur
42=S.props.pauseOnFocus?S.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",S.onWindowResized):window.attachEvent("onresize",S.onWindowResized)}),_defineProperty(_assertThisInitialized(S),"componentWillUnmount",function(){S.animationEndCallback&&clearTimeout(S.animationEndCallback),S.lazyLoadTimer&&clearInterval(S.lazyLoadTimer),S.callbackTimers.length&&(S.callbackTimers.forEach(function(o){return clearTimeout(o)}),S.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",S.onWindowResized):window.detachEvent("onresize",S.onWindowResized),S.autoplayTimer&&clearInterval(S.autoplayTimer),S.ro.disconnect()}),_defineProperty(_assertThisInitialized(S),"componentDidUpdate",function(o){if(S.checkImagesLoad(),S.props.onReInit&&S.props.onReInit(),S.props.lazyLoad){var w=(0,F.getOnDemandLazySlides)(_objectSpread(_objectSpread({},S.props),S.state));w.length>0&&(S.setState(function(o){return{lazyLoadedList:o.lazyLoadedList.concat(w)}}),S.props.onLazyLoad&&S.props.onLazyLoad(w))}S.adaptHeight();var E=_objectSpread(_objectSpread({listRef:S.list,trackRef:S.track},S.props),S.state),D=S.didPropsChange(o);D&&S.updateState(E,D,function(){S.state.currentSlide>=_.default.Children.count(S.props.children)&&S.changeSlide({message:"index",index:_.default.Children.count(S.props.children)-S.props.slidesToShow,currentSlide:S.state.currentSlide}),S.props.autoplay?S.autoPlay("update"):S.pause("paused")})}),_defineProperty(_assertThisInitialized(S),"onWindowResized",function(o){S.debouncedResize&&S.debouncedResize.cancel(),S.debouncedResize=(0,D.default)(function(){return S.resizeWindow(o)},50),S.debouncedResize()}),_defineProperty(_assertThisInitialized(S),"resizeWindow",function(){var o=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(S.track&&S.track.node){var w=_objectSpread(_objectSpread({listRef:S.list,trackRef:S.track},S.props),S.state);S.updateState(w,o,function(){S.props.autoplay?S.autoPlay("update"):S.pause("paused")}),S.setState({animating:!1}),clearTimeout(S.animationEndCallback),delete S.animationEndCallback}}),_defineProperty(_assertThisInitialized(S),"updateState",function(o,w,E){var D=(0,F.initializedState)(o);o=_objectSpread(_objectSpread(_objectSpread({},o),D),{},{slideIndex:D.currentSlide});var N=(0,F.getTrackLeft)(o);o=_objectSpread(_objectSpread({},o),{},{left:N});var V=(0,F.getTrackCSS)(o);(w||_.default.Children.count(S.props.children)!==_.default.Children.count(o.children))&&(D.trackStyle=V),S.setState(D,E)}),_defineProperty(_assertThisInitialized(S),"ssrInit",function(){if(S.props.variableWidth){var o=0,w=0,E=[],D=(0,F.getPreClones)(_objectSpread(_objectSpread(_objectSpread({},S.props),S.state),{},{slideCount:S.props.children.length})),N=(0,F.getPostClones)(_objectSpread(_objectSpread(_objectSpread({},S.props),S.state),{},{slideCount:S.props.children.length}));S.props.children.forEach(function(S){E.push(S.props.style.width),o+=S.props.style.width});for(var V=0;V<D;V++)w+=E[E.length-1-V],o+=E[E.length-1-V];for(var U=0;U<N;U++)o+=E[U];for(var W=0;W<S.state.currentSlide;W++)w+=E[W];var q={width:o+"px",left:-w+"px"};if(S.props.centerMode){var Q="".concat(E[S.state.currentSlide],"px");q.left="calc(".concat(q.left," + (100% - ").concat(Q,") / 2 ) ")}return{trackStyle:q}}var Y=_.default.Children.count(S.props.children),et=_objectSpread(_objectSpread(_objectSpread({},S.props),S.state),{},{slideCount:Y}),en=(0,F.getPreClones)(et)+(0,F.getPostClones)(et)+Y,er=100/S.props.slidesToShow*en,eo=100/en,ea=-eo*((0,F.getPreClones)(et)+S.state.currentSlide)*er/100;return S.props.centerMode&&(ea+=(100-eo*er/100)/2),{slideWidth:eo+"%",trackStyle:{width:er+"%",left:ea+"%"}}}),_defineProperty(_assertThisInitialized(S),"checkImagesLoad",function(){var o=S.list&&S.list.querySelectorAll&&S.list.querySelectorAll(".slick-slide img")||[],w=o.length,_=0;Array.prototype.forEach.call(o,function(o){var handler=function(){return++_&&_>=w&&S.onWindowResized()};if(o.onclick){var E=o.onclick;o.onclick=function(){E(),o.parentNode.focus()}}else o.onclick=function(){return o.parentNode.focus()};o.onload||(S.props.lazyLoad?o.onload=function(){S.adaptHeight(),S.callbackTimers.push(setTimeout(S.onWindowResized,S.props.speed))}
42:(o.onload=handler,o.onerror=function(){handler(),S.props.onLazyLoadError&&S.props.onLazyLoadError()}))})}),_defineProperty(_assertThisInitialized(S),"progressiveLazyLoad",function(){for(var o=[],w=_objectSpread(_objectSpread({},S.props),S.state),_=S.state.currentSlide;_<S.state.slideCount+(0,F.getPostClones)(w);_++)if(0>S.state.lazyLoadedList.indexOf(_)){o.push(_);break}for(var E=S.state.currentSlide-1;E>=-(0,F.getPreClones)(w);E--)if(0>S.state.lazyLoadedList.indexOf(E)){o.push(E);break}o.length>0?(S.setState(function(S){return{lazyLoadedList:S.lazyLoadedList.concat(o)}}),S.props.onLazyLoad&&S.props.onLazyLoad(o)):S.lazyLoadTimer&&(clearInterval(S.lazyLoadTimer),delete S.lazyLoadTimer)}),_defineProperty(_assertThisInitialized(S),"slideHandler",function(o){var w=arguments.length>1&&void 0!==arguments[1]&&arguments[1],_=S.props,E=_.asNavFor,D=_.beforeChange,N=_.onLazyLoad,V=_.speed,U=_.afterChange,W=S.state.currentSlide,q=(0,F.slideHandler)(_objectSpread(_objectSpread(_objectSpread({index:o},S.props),S.state),{},{trackRef:S.track,useCSS:S.props.useCSS&&!w})),Q=q.state,Y=q.nextState;if(Q){D&&D(W,Q.currentSlide);var et=Q.lazyLoadedList.filter(function(o){return 0>S.state.lazyLoadedList.indexOf(o)});N&&et.length>0&&N(et),!S.props.waitForAnimate&&S.animationEndCallback&&(clearTimeout(S.animationEndCallback),U&&U(W),delete S.animationEndCallback),S.setState(Q,function(){E&&S.asNavForIndex!==o&&(S.asNavForIndex=o,E.innerSlider.slideHandler(o)),Y&&(S.animationEndCallback=setTimeout(function(){var o=Y.animating,w=function(o,S){if(null==o)return{};var w,_,E=function(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}(o,S);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(o);for(_=0;_<D.length;_++)w=D[_],!(S.indexOf(w)>=0)&&Object.prototype.propertyIsEnumerable.call(o,w)&&(E[w]=o[w])}return E}(Y,["animating"]);S.setState(w,function(){S.callbackTimers.push(setTimeout(function(){return S.setState({animating:o})},10)),U&&U(Q.currentSlide),delete S.animationEndCallback})},V))})}}),_defineProperty(_assertThisInitialized(S),"changeSlide",function(o){var w=arguments.length>1&&void 0!==arguments[1]&&arguments[1],_=_objectSpread(_objectSpread({},S.props),S.state),E=(0,F.changeSlide)(_,o);if((0===E||E)&&(!0===w?S.slideHandler(E,w):S.slideHandler(E),S.props.autoplay&&S.autoPlay("update"),S.props.focusOnSelect)){var D=S.list.querySelectorAll(".slick-current");D[0]&&D[0].focus()}}),_defineProperty(_assertThisInitialized(S),"clickHandler",function(o){!1===S.clickable&&(o.stopPropagation(),o.preventDefault()),S.clickable=!0}),_defineProperty(_assertThisInitialized(S),"keyHandler",function(o){var w=(0,F.keyHandler)(o,S.props.accessibility,S.props.rtl);""!==w&&S.changeSlide({message:w})}),_defineProperty(_assertThisInitialized(S),"selectHandler",function(o){S.changeSlide(o)}),_defineProperty(_assertThisInitialized(S),"disableBodyScroll",function(){window.ontouchmove=function(o){(o=o||window.event).preventDefault&&o.preventDefault(),o.returnValue=!1}}),_defineProperty(_assertThisInitialized(S),"enableBodyScroll",function(){window.ontouchmove=null}),_defineProperty(_assertThisInitialized(S),"swipeStart",function(o){S.props.verticalSwiping&&S.disableBodyScroll();var w=(0,F.swipeStart)(o,S.props.swipe,S.props.draggable);""!==w&&S.setState(w)}),_defineProperty(_assertThisInitialized(S),"swipeMove",function(o){var w=(0,F.swipeMove)(o,_objectSpread(_objectSpread(_objectSpread({},S.props),S.state),{},{trackRef:S.track,listRef:S.list,slideIndex:S.state.currentSlide}));w&&(w.swiping&&(S.clickable=!1),S.setState(w))}),_defineProperty(_assertThisInitialized(S),"swipeEnd",function(o){var w=(0,F.swipeEnd)(o,_objectSpread(_objectSpread(_objectSpread({},S.props),S.state),{},{trackRef:S.track,listRef:S.list,slideIndex:S.state.currentSlide}));if(w){var _=w.triggerSlideHandler;delete w.triggerSlideHandler,S.setState(w),void 0!==_&&(S.slideHandler(_),S.props.verticalSwiping&&S.enableBodyScroll())}}),_defineProperty(_assertThisInitialized(S),"touchEnd",function(o){S.swipeEnd(o),S.clickable=!0}),_defineProperty(_assertThisInitialized(S),"slickPrev",function(){S.callbackTimers.push(setTimeout(function(){return S.changeSlide({message:"previous"})},0))}),_defineProperty(_assertThisInitialized(S),"slickNext",function(){S.callbackTimers.push(setTimeout(function(){return S.changeSlide({message:"next"})},0))}),_defineProperty(_assertThisInitialized(S),"slickGoTo",function(o){var w=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(o=Number(o)))return"";S.callbackTimers.push(setTimeout(function(){return S.changeSlide({message:"index",index:o,currentSlide:S.state.currentSlide},w)}
vendor: 4,757 bytes, line 42
42,0))}),_defineProperty(_assertThisInitialized(S),"play",function(){var o;if(S.props.rtl)o=S.state.currentSlide-S.props.slidesToScroll;else{if(!(0,F.canGoNext)(_objectSpread(_objectSpread({},S.props),S.state)))return!1;o=S.state.currentSlide+S.props.slidesToScroll}S.slideHandler(o)}),_defineProperty(_assertThisInitialized(S),"autoPlay",function(o){S.autoplayTimer&&clearInterval(S.autoplayTimer);var w=S.state.autoplaying;if("update"===o){if("hovered"===w||"focused"===w||"paused"===w)return}else if("leave"===o){if("paused"===w||"focused"===w)return}else if("blur"===o&&("paused"===w||"hovered"===w))return;S.autoplayTimer=setInterval(S.play,S.props.autoplaySpeed+50),S.setState({autoplaying:"playing"})}),_defineProperty(_assertThisInitialized(S),"pause",function(o){S.autoplayTimer&&(clearInterval(S.autoplayTimer),S.autoplayTimer=null);var w=S.state.autoplaying;"paused"===o?S.setState({autoplaying:"paused"}):"focused"===o?("hovered"===w||"playing"===w)&&S.setState({autoplaying:"focused"}):"playing"===w&&S.setState({autoplaying:"hovered"})}),_defineProperty(_assertThisInitialized(S),"onDotsOver",function(){return S.props.autoplay&&S.pause("hovered")}),_defineProperty(_assertThisInitialized(S),"onDotsLeave",function(){return S.props.autoplay&&"hovered"===S.state.autoplaying&&S.autoPlay("leave")}),_defineProperty(_assertThisInitialized(S),"onTrackOver",function(){return S.props.autoplay&&S.pause("hovered")}),_defineProperty(_assertThisInitialized(S),"onTrackLeave",function(){return S.props.autoplay&&"hovered"===S.state.autoplaying&&S.autoPlay("leave")}),_defineProperty(_assertThisInitialized(S),"onSlideFocus",function(){return S.props.autoplay&&S.pause("focused")}),_defineProperty(_assertThisInitialized(S),"onSlideBlur",function(){return S.props.autoplay&&"focused"===S.state.autoplaying&&S.autoPlay("blur")}),_defineProperty(_assertThisInitialized(S),"render",function(){var o,w,E,D=(0,N.default)("slick-slider",S.props.className,{"slick-vertical":S.props.vertical,"slick-initialized":!0}),q=_objectSpread(_objectSpread({},S.props),S.state),Q=(0,F.extractObject)(q,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),Y=S.props.pauseOnHover;if(Q=_objectSpread(_objectSpread({},Q),{},{onMouseEnter:Y?S.onTrackOver:null,onMouseLeave:Y?S.onTrackLeave:null,onMouseOver:Y?S.onTrackOver:null,focusOnSelect:S.props.focusOnSelect&&S.clickable?S.selectHandler:null}),!0===S.props.dots&&S.state.slideCount>=S.props.slidesToShow){var et=(0,F.extractObject)(q,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),en=S.props.pauseOnDotsHover;et=_objectSpread(_objectSpread({},et),{},{clickHandler:S.changeSlide,onMouseEnter:en?S.onDotsLeave:null,onMouseOver:en?S.onDotsOver:null,onMouseLeave:en?S.onDotsLeave:null}),o=_.default.createElement(U.Dots,et)}var er=(0,F.extractObject)(q,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);er.clickHandler=S.changeSlide,S.props.arrows&&(w=_.default.createElement(W.PrevArrow,er),E=_.default.createElement(W.NextArrow,er));var eo=null;S.props.vertical&&(eo={height:S.state.listHeight});var ea=null;!1===S.props.vertical?!0===S.props.centerMode&&(ea={padding:"0px "+S.props.centerPadding}):!0===S.props.centerMode&&(ea={padding:S.props.centerPadding+" 0px"});var es=_objectSpread(_objectSpread({},eo),ea),el=S.props.touchMove,eu={className:"slick-list",style:es,onClick:S.clickHandler,onMouseDown:el?S.swipeStart:null,onMouseMove:S.state.dragging&&el?S.swipeMove:null,onMouseUp:el?S.swipeEnd:null,onMouseLeave:S.state.dragging&&el?S.swipeEnd:null,onTouchStart:el?S.swipeStart:null,onTouchMove:S.state.dragging&&el?S.swipeMove:null,onTouchEnd:el?S.touchEnd:null,onTouchCancel:S.state.dragging&&el?S.swipeEnd:null,onKeyDown:S.props.accessibility?S.keyHandler:null},ec={className:D,dir:"ltr",style:S.props.style};return S.props.unslick&&(eu={className:"slick-list"},ec={className:D}),_.default.createElement("div",ec,S.props.unslick?"":w,_.default.createElement("div",_extends({ref:S.listRefHandler},eu),_.default.createElement(V.Track,_extends({ref:S.trackRefHandler},Q),S.props.children)),S.props.unslick?"":E,S.props.unslick?"":o)}),S.list=null,S.track=null,S.state=_objectSpread(_objectSpread({},E.default),{},{currentSlide:S.props.initialSlide,slideCount:_.default.Children.count(S.props.children)}),S.callbackTimers=[],S.clickable=!0,S.debouncedResize=null;var S,w=S.ssrInit();return S.state=_objectSpread(_objectSpread({},S.state),w),S}
42return w=[{key:"didPropsChange",value:function(o){for(var S=!1,w=0,E=Object.keys(this.props);w<E.length;w++){var D=E[w];if(!o.hasOwnProperty(D)||"object"!==_typeof(o[D])&&"function"!=typeof o[D]&&o[D]!==this.props[D]){S=!0;break}}return S||_.default.Children.count(this.props.children)!==_.default.Children.count(o.children)}}],_defineProperties(InnerSlider.prototype,w),Q&&_defineProperties(InnerSlider,Q),Object.defineProperty(InnerSlider,"prototype",{writable:!1}),InnerSlider}(_.default.Component);S.InnerSlider=Q},5798:function(o,S,w){"use strict";function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}Object.defineProperty(S,"__esModule",{value:!0}),S.default=void 0;var _=_interopRequireDefault(w(67294)),E=w(58517),D=_interopRequireDefault(w(80973)),N=_interopRequireDefault(w(23492)),F=w(15518);function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function _extends(){return(_extends=Object.assign||function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)Object.prototype.hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}).apply(this,arguments)}function ownKeys(o,S){var w=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);S&&(_=_.filter(function(S){return Object.getOwnPropertyDescriptor(o,S).enumerable})),w.push.apply(w,_)}return w}function _objectSpread(o){for(var S=1;S<arguments.length;S++){var w=null!=arguments[S]?arguments[S]:{};S%2?ownKeys(Object(w),!0).forEach(function(S){_defineProperty(o,S,w[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(w)):ownKeys(Object(w)).forEach(function(S){Object.defineProperty(o,S,Object.getOwnPropertyDescriptor(w,S))})}return o}function _defineProperties(o,S){for(var w=0;w<S.length;w++){var _=S[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(o,_.key,_)}}function _setPrototypeOf(o,S){return(_setPrototypeOf=Object.setPrototypeOf||function(o,S){return o.__proto__=S,o})(o,S)}function _assertThisInitialized(o){if(void 0===o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _defineProperty(o,S,w){return S in o?Object.defineProperty(o,S,{value:w,enumerable:!0,configurable:!0,writable:!0}):o[S]=w,o}var V=(0,F.canUseDOM)()&&w(24974),U=function(o){!function(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(S&&S.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),S&&_setPrototypeOf(o,S)}(Slider,o);var S,w,U,W=(S=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(o){return!1}}(),function(){var o,w=_getPrototypeOf(Slider);if(S){var _=_getPrototypeOf(this).constructor;o=Reflect.construct(w,arguments,_)}else o=w.apply(this,arguments);return function(o,S){if(S&&("object"===_typeof(S)||"function"==typeof S))return S;if(void 0!==S)throw TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(o)}(this,o)});function Slider(o){var S;return!function(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")}(this,Slider),_defineProperty(_assertThisInitialized(S=W.call(this,o)),"innerSliderRefHandler",function(o){return S.innerSlider=o}),_defineProperty(_assertThisInitialized(S),"slickPrev",function(){return S.innerSlider.slickPrev()}),_defineProperty(_assertThisInitialized(S),"slickNext",function(){return S.innerSlider.slickNext()}),_defineProperty(_assertThisInitialized(S),"slickGoTo",function(o){var w=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return S.innerSlider.slickGoTo(o,w)}),_defineProperty(_assertThisInitialized(S),"slickPause",function(){return S.innerSlider.pause("paused")}),_defineProperty(_assertThisInitialized(S),"slickPlay",function(){return S.innerSlider.autoPlay("play")}),S.state={breakpoint:null},S._responsiveMediaHandlers=[],S}return w=[{key:"media",value:function(o,S){V.register(o,S),this._responsiveMediaHandlers.push({query:o,handler:S})}},{key:"componentDidMount",value:function(){var o=this;if(this.props.responsive){var S=this.props.responsive.map(function(o){return o.breakpoint});S.sort(function(o,S){return o-S}
42),S.forEach(function(w,_){var E;E=0===_?(0,D.default)({minWidth:0,maxWidth:w}):(0,D.default)({minWidth:S[_-1]+1,maxWidth:w}),(0,F.canUseDOM)()&&o.media(E,function(){o.setState({breakpoint:w})})});var w=(0,D.default)({minWidth:S.slice(-1)[0]});(0,F.canUseDOM)()&&this.media(w,function(){o.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(o){V.unregister(o.query,o.handler)})}},{key:"render",value:function(){var o,S,w=this;(o=this.state.breakpoint?"unslick"===(S=this.props.responsive.filter(function(o){return o.breakpoint===w.state.breakpoint}))[0].settings?"unslick":_objectSpread(_objectSpread(_objectSpread({},N.default),this.props),S[0].settings):_objectSpread(_objectSpread({},N.default),this.props)).centerMode&&(o.slidesToScroll,o.slidesToScroll=1),o.fade&&(o.slidesToShow,o.slidesToScroll,o.slidesToShow=1,o.slidesToScroll=1);var D=_.default.Children.toArray(this.props.children);D=D.filter(function(o){return"string"==typeof o?!!o.trim():!!o}),o.variableWidth&&(o.rows>1||o.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),o.variableWidth=!1);for(var F=[],V=null,U=0;U<D.length;U+=o.rows*o.slidesPerRow){for(var W=[],q=U;q<U+o.rows*o.slidesPerRow;q+=o.slidesPerRow){for(var Q=[],Y=q;Y<q+o.slidesPerRow&&(o.variableWidth&&D[Y].props.style&&(V=D[Y].props.style.width),!(Y>=D.length));Y+=1)Q.push(_.default.cloneElement(D[Y],{key:100*U+10*q+Y,tabIndex:-1,style:{width:"".concat(100/o.slidesPerRow,"%"),display:"inline-block"}}));W.push(_.default.createElement("div",{key:10*U+q},Q))}o.variableWidth?F.push(_.default.createElement("div",{key:U,style:{width:V}},W)):F.push(_.default.createElement("div",{key:U},W))}if("unslick"===o){var et="regular slider "+(this.props.className||"");return _.default.createElement("div",{className:et},D)}return F.length<=o.slidesToShow&&(o.unslick=!0),_.default.createElement(E.InnerSlider,_extends({style:this.props.style,ref:this.innerSliderRefHandler},o),F)}}],_defineProperties(Slider.prototype,w),U&&_defineProperties(Slider,U),Object.defineProperty(Slider,"prototype",{writable:!1}),Slider}(_.default.Component);S.default=U},64740:function(o,S,w){"use strict";function _typeof(o){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o})(o)}Object.defineProperty(S,"__esModule",{value:!0}),S.Track=void 0;var _=_interopRequireDefault(w(67294)),E=_interopRequireDefault(w(94184)),D=w(15518);function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function _extends(){return(_extends=Object.assign||function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)Object.prototype.hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}).apply(this,arguments)}function _defineProperties(o,S){for(var w=0;w<S.length;w++){var _=S[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(o,_.key,_)}}function _setPrototypeOf(o,S){return(_setPrototypeOf=Object.setPrototypeOf||function(o,S){return o.__proto__=S,o})(o,S)}function _assertThisInitialized(o){if(void 0===o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function ownKeys(o,S){var w=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);S&&(_=_.filter(function(S){return Object.getOwnPropertyDescriptor(o,S).enumerable})),w.push.apply(w,_)}return w}function _objectSpread(o){for(var S=1;S<arguments.length;S++){var w=null!=arguments[S]?arguments[S]:{};S%2?ownKeys(Object(w),!0).forEach(function(S){_defineProperty(o,S,w[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(w)):ownKeys(Object(w)).forEach(function(S){Object.defineProperty(o,S,Object.getOwnPropertyDescriptor(w,S))})}return o}function _defineProperty(o,S,w){return S in o?Object.defineProperty(o,S,{value:w,enumerable:!0,configurable:!0,writable:!0}):o[S]=w,o}var getSlideClasses=function(o){var S,w,_,E,D;return _=(D=o.rtl?o.slideCount-1-o.index:o.index)<0||D>=o.slideCount,o.centerMode?(E=Math.floor(o.slidesToShow/2),w=(D-o.currentSlide)%o.slideCount==0,D>o.currentSlide-E-1&&D<=o.currentSlide+E&&(S=!0)):S=o.currentSlide<=D&&D<o.currentSlide+o.slidesToShow,{"slick-slide":!0,"slick-active":S,"slick-center":w,"slick-cloned":_,"slick-current":D===(o.targetSlide<0?o.targetSlide+o.slideCount:o.targetSlide>=o.slideCount?o.targetSlide-o.slideCount:o.targetSlide)}},getSlideStyle=function(o){var S={};return(void 0===o.variableWidth||!1===o.variableWidth)&&(S.width=o.slideWidth),o.fade&&(S.position="relative",o.vertical?S.top=-o.index*parseInt(o.slideHeight):S.left=-o.index*parseInt(o.slideWidth),S.opacity=o.currentSlide===o.index?1:0,o.useCSS&&(S.transition="opacity "+o.speed+"ms "+o.cssEase+", visibility "+o.speed+"ms "+o.cssEase)),S},getKey=function(o,S){return o.key||S},renderSlides=function(o){var S,w=[],N=[],F=[],V=_.default.Children.count(o.children),U=(0,D.lazyStartIndex)(o),W=(0,D.lazyEndIndex)(o);
42return(_.default.Children.forEach(o.children,function(q,Q){var Y,et={message:"children",index:Q,slidesToScroll:o.slidesToScroll,currentSlide:o.currentSlide};Y=!o.lazyLoad||o.lazyLoad&&o.lazyLoadedList.indexOf(Q)>=0?q:_.default.createElement("div",null);var en=getSlideStyle(_objectSpread(_objectSpread({},o),{},{index:Q})),er=Y.props.className||"",eo=getSlideClasses(_objectSpread(_objectSpread({},o),{},{index:Q}));if(w.push(_.default.cloneElement(Y,{key:"original"+getKey(Y,Q),"data-index":Q,className:(0,E.default)(eo,er),tabIndex:"-1","aria-hidden":!eo["slick-active"],style:_objectSpread(_objectSpread({outline:"none"},Y.props.style||{}),en),onClick:function(S){Y.props&&Y.props.onClick&&Y.props.onClick(S),o.focusOnSelect&&o.focusOnSelect(et)}})),o.infinite&&!1===o.fade){var ea=V-Q;ea<=(0,D.getPreClones)(o)&&V!==o.slidesToShow&&((S=-ea)>=U&&(Y=q),eo=getSlideClasses(_objectSpread(_objectSpread({},o),{},{index:S})),N.push(_.default.cloneElement(Y,{key:"precloned"+getKey(Y,S),"data-index":S,tabIndex:"-1",className:(0,E.default)(eo,er),"aria-hidden":!eo["slick-active"],style:_objectSpread(_objectSpread({},Y.props.style||{}),en),onClick:function(S){Y.props&&Y.props.onClick&&Y.props.onClick(S),o.focusOnSelect&&o.focusOnSelect(et)}}))),V!==o.slidesToShow&&((S=V+Q)<W&&(Y=q),eo=getSlideClasses(_objectSpread(_objectSpread({},o),{},{index:S})),F.push(_.default.cloneElement(Y,{key:"postcloned"+getKey(Y,S),"data-index":S,tabIndex:"-1",className:(0,E.default)(eo,er),"aria-hidden":!eo["slick-active"],style:_objectSpread(_objectSpread({},Y.props.style||{}),en),onClick:function(S){Y.props&&Y.props.onClick&&Y.props.onClick(S),o.focusOnSelect&&o.focusOnSelect(et)}})))}}),o.rtl)?N.concat(w,F).reverse():N.concat(w,F)},N=function(o){!function(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Super expression must either be null or a function");o.prototype=Object.create(S&&S.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),S&&_setPrototypeOf(o,S)}(Track,o);var S,w,E,D=(S=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(o){return!1}}(),function(){var o,w=_getPrototypeOf(Track);if(S){var _=_getPrototypeOf(this).constructor;o=Reflect.construct(w,arguments,_)}else o=w.apply(this,arguments);return function(o,S){if(S&&("object"===_typeof(S)||"function"==typeof S))return S;if(void 0!==S)throw TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(o)}(this,o)});function Track(){var o;!function(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")}(this,Track);for(var S=arguments.length,w=Array(S),_=0;_<S;_++)w[_]=arguments[_];return _defineProperty(_assertThisInitialized(o=D.call.apply(D,[this].concat(w))),"node",null),_defineProperty(_assertThisInitialized(o),"handleRef",function(S){o.node=S}),o}return w=[{key:"render",value:function(){var o=renderSlides(this.props),S=this.props,w=S.onMouseEnter,E=S.onMouseOver,D=S.onMouseLeave;return _.default.createElement("div",_extends({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},{onMouseEnter:w,onMouseOver:E,onMouseLeave:D}),o)}}],_defineProperties(Track.prototype,w),E&&_defineProperties(Track,E),Object.defineProperty(Track,"prototype",{writable:!1}),Track}(_.default.PureComponent);S.Track=N},15518:function(o,S,w){"use strict";Object.defineProperty(S,"__esModule",{value:!0}),S.checkSpecKeys=S.checkNavigable=S.changeSlide=S.canUseDOM=S.canGoNext=void 0,S.clamp=clamp,S.swipeStart=S.swipeMove=S.swipeEnd=S.slidesOnRight=S.slidesOnLeft=S.slideHandler=S.siblingDirection=S.safePreventDefault=S.lazyStartIndex=S.lazySlidesOnRight=S.lazySlidesOnLeft=S.lazyEndIndex=S.keyHandler=S.initializedState=S.getWidth=S.getTrackLeft=S.getTrackCSS=S.getTrackAnimateCSS=S.getTotalSlides=S.getSwipeDirection=S.getSlideCount=S.getRequiredLazySlides=S.getPreClones=S.getPostClones=S.getOnDemandLazySlides=S.getNavigableIndexes=S.getHeight=S.extractObject=void 0;
42var _,E=(_=w(67294))&&_.__esModule?_:{default:_};function ownKeys(o,S){var w=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);S&&(_=_.filter(function(S){return Object.getOwnPropertyDescriptor(o,S).enumerable})),w.push.apply(w,_)}return w}function _objectSpread(o){for(var S=1;S<arguments.length;S++){var w=null!=arguments[S]?arguments[S]:{};S%2?ownKeys(Object(w),!0).forEach(function(S){var _;_=w[S],S in o?Object.defineProperty(o,S,{value:_,enumerable:!0,configurable:!0,writable:!0}):o[S]=_}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(w)):ownKeys(Object(w)).forEach(function(S){Object.defineProperty(o,S,Object.getOwnPropertyDescriptor(w,S))})}return o}function clamp(o,S,w){return Math.max(S,Math.min(o,w))}var safePreventDefault=function(o){["onTouchStart","onTouchMove","onWheel"].includes(o._reactName)||o.preventDefault()};S.safePreventDefault=safePreventDefault;var getOnDemandLazySlides=function(o){for(var S=[],w=lazyStartIndex(o),_=lazyEndIndex(o),E=w;E<_;E++)0>o.lazyLoadedList.indexOf(E)&&S.push(E);return S};S.getOnDemandLazySlides=getOnDemandLazySlides,S.getRequiredLazySlides=function(o){for(var S=[],w=lazyStartIndex(o),_=lazyEndIndex(o),E=w;E<_;E++)S.push(E);return S};var lazyStartIndex=function(o){return o.currentSlide-lazySlidesOnLeft(o)};S.lazyStartIndex=lazyStartIndex;var lazyEndIndex=function(o){return o.currentSlide+lazySlidesOnRight(o)};S.lazyEndIndex=lazyEndIndex;var lazySlidesOnLeft=function(o){return o.centerMode?Math.floor(o.slidesToShow/2)+(parseInt(o.centerPadding)>0?1:0):0};S.lazySlidesOnLeft=lazySlidesOnLeft;var lazySlidesOnRight=function(o){return o.centerMode?Math.floor((o.slidesToShow-1)/2)+1+(parseInt(o.centerPadding)>0?1:0):o.slidesToShow};S.lazySlidesOnRight=lazySlidesOnRight;var getWidth=function(o){return o&&o.offsetWidth||0};S.getWidth=getWidth;var getHeight=function(o){return o&&o.offsetHeight||0};S.getHeight=getHeight;var getSwipeDirection=function(o){var S,w,_=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(S=o.startX-o.curX,(w=Math.round(180*Math.atan2(o.startY-o.curY,S)/Math.PI))<0&&(w=360-Math.abs(w)),w<=45&&w>=0||w<=360&&w>=315)?"left":w>=135&&w<=225?"right":!0===_?w>=35&&w<=135?"up":"down":"vertical"};S.getSwipeDirection=getSwipeDirection;var canGoNext=function(o){var S=!0;return!o.infinite&&(o.centerMode&&o.currentSlide>=o.slideCount-1?S=!1:(o.slideCount<=o.slidesToShow||o.currentSlide>=o.slideCount-o.slidesToShow)&&(S=!1)),S};S.canGoNext=canGoNext,S.extractObject=function(o,S){var w={};return S.forEach(function(S){return w[S]=o[S]}),w},S.initializedState=function(o){var S,w=E.default.Children.count(o.children),_=o.listRef,D=Math.ceil(getWidth(_)),N=Math.ceil(getWidth(o.trackRef&&o.trackRef.node));if(o.vertical)S=D;else{var F=o.centerMode&&2*parseInt(o.centerPadding);"string"==typeof o.centerPadding&&"%"===o.centerPadding.slice(-1)&&(F*=D/100),S=Math.ceil((D-F)/o.slidesToShow)}var V=_&&getHeight(_.querySelector('[data-index="0"]')),U=V*o.slidesToShow,W=void 0===o.currentSlide?o.initialSlide:o.currentSlide;o.rtl&&void 0===o.currentSlide&&(W=w-1-o.initialSlide);var q=o.lazyLoadedList||[],Q=getOnDemandLazySlides(_objectSpread(_objectSpread({},o),{},{currentSlide:W,lazyLoadedList:q})),Y={slideCount:w,slideWidth:S,listWidth:D,trackWidth:N,currentSlide:W,slideHeight:V,listHeight:U,lazyLoadedList:q=q.concat(Q)};return null===o.autoplaying&&o.autoplay&&(Y.autoplaying="playing"),Y},S.slideHandler=function(o){var S=o.waitForAnimate,w=o.animating,_=o.fade,E=o.infinite,D=o.index,N=o.slideCount,F=o.lazyLoad,V=o.currentSlide,U=o.centerMode,W=o.slidesToScroll,q=o.slidesToShow,Q=o.useCSS,Y=o.lazyLoadedList;if(S&&w)return{};var et,en,er,eo=D,ea={},es={},el=E?D:clamp(D,0,N-1);if(_){if(!E&&(D<0||D>=N))return{};D<0?eo=D+N:D>=N&&(eo=D-N),F&&0>Y.indexOf(eo)&&(Y=Y.concat(eo)),ea={animating:!0,currentSlide:eo,lazyLoadedList:Y,targetSlide:eo},es={animating:!1,targetSlide:eo}}else et=eo,eo<0?(et=eo+N,E?N%W!=0&&(et=N-N%W):et=0):!canGoNext(o)&&eo>V?eo=et=V:U&&eo>=N?(eo=E?N:N-1,et=E?0:N-1):eo>=N&&(et=eo-N,E?N%W!=0&&(et=0):et=N-q),!E&&eo+q>=N&&(et=N-q),en=getTrackLeft(_objectSpread(_objectSpread({},o),{},{slideIndex:eo})),er=getTrackLeft(_objectSpread(_objectSpread({},o),{},{slideIndex:et})),E||(en===er&&(eo=et),en=er),F&&(Y=Y.concat(getOnDemandLazySlides(_objectSpread(_objectSpread({},o),{},{currentSlide:eo})))),Q?(ea={animating:!0,currentSlide:et,trackStyle:getTrackAnimateCSS(_objectSpread(_objectSpread({},o),{},{left:en})),lazyLoadedList:Y,targetSlide:el},es={animating:!1,currentSlide:et,trackStyle:getTrackCSS(_objectSpread(_objectSpread({},o),{},{left:er})),swipeLeft:null,targetSlide:el}):ea={currentSlide:et,trackStyle:getTrackCSS(_objectSpread(_objectSpread({},o),{},{left:er})),lazyLoadedList:Y,targetSlide:el};return{state:ea,nextState:es}},S.changeSlide=function(o,S){var w,_,E,D,N=o.slidesToScroll,F=o.slidesToShow,V=o.slideCount,U=o.currentSlide,W=o.targetSlide,q=o.lazyLoad,Q=o.infinite;if(w=V%N!=0?0:(V-U)%N,"previous"===S.message)D=U-(E=0===w?N:F-w),q&&!Q&&(D=-1==(_=U-E)?V-1:_),Q||(D=W-N);else if("next"===S.message)D=U+(E=0===w?N:w),q&&!Q&&(D=(U+N)%V+w),Q||(D=W+N);else if("dots"===S.message)D=S.index*S.slidesToScroll;else if("children"===S.message){if(D=S.index,Q){var Y=siblingDirection(_objectSpread(_objectSpread({},o),{},{targetSlide:D}));D>S.currentSlide&&"left"===Y?D-=V:D<S.currentSlide&&"right"===Y&&(D+=V)}}else"index"===S.message&&(D=Number(S.index));return D},S.keyHandler=function(o,S,w){return o.target.tagName.match("TEXTAREA|INPUT|SELECT")||!S?"":37===o.keyCode?w?"next":"previous":39===o.keyCode?w?"previous":"next":""},S.swipeStart=function(o,S,w){return("IMG"===o.target.tagName&&safePreventDefault(o),S&&(w||-1===o.type.indexOf("mou
42se")))?{dragging:!0,touchObject:{startX:o.touches?o.touches[0].pageX:o.clientX,startY:o.touches?o.touches[0].pageY:o.clientY,curX:o.touches?o.touches[0].pageX:o.clientX,curY:o.touches?o.touches[0].pageY:o.clientY}}:""},S.swipeMove=function(o,S){var w=S.scrolling,_=S.animating,E=S.vertical,D=S.swipeToSlide,N=S.verticalSwiping,F=S.rtl,V=S.currentSlide,U=S.edgeFriction,W=S.edgeDragged,q=S.onEdge,Q=S.swiped,Y=S.swiping,et=S.slideCount,en=S.slidesToScroll,er=S.infinite,eo=S.touchObject,ea=S.swipeEvent,es=S.listHeight,el=S.listWidth;if(!w){if(_)return safePreventDefault(o);E&&D&&N&&safePreventDefault(o);var eu,ec={},ed=getTrackLeft(S);eo.curX=o.touches?o.touches[0].pageX:o.clientX,eo.curY=o.touches?o.touches[0].pageY:o.clientY,eo.swipeLength=Math.round(Math.sqrt(Math.pow(eo.curX-eo.startX,2)));var ep=Math.round(Math.sqrt(Math.pow(eo.curY-eo.startY,2)));if(!N&&!Y&&ep>10)return{scrolling:!0};N&&(eo.swipeLength=ep);var eh=(F?-1:1)*(eo.curX>eo.startX?1:-1);N&&(eh=eo.curY>eo.startY?1:-1);var em=getSwipeDirection(S.touchObject,N),eg=eo.swipeLength;return!er&&(0===V&&("right"===em||"down"===em)||V+1>=Math.ceil(et/en)&&("left"===em||"up"===em)||!canGoNext(S)&&("left"===em||"up"===em))&&(eg=eo.swipeLength*U,!1===W&&q&&(q(em),ec.edgeDragged=!0)),!Q&&ea&&(ea(em),ec.swiped=!0),eu=E?ed+eg*(es/el)*eh:F?ed-eg*eh:ed+eg*eh,N&&(eu=ed+eg*eh),ec=_objectSpread(_objectSpread({},ec),{},{touchObject:eo,swipeLeft:eu,trackStyle:getTrackCSS(_objectSpread(_objectSpread({},S),{},{left:eu}))}),Math.abs(eo.curX-eo.startX)<.8*Math.abs(eo.curY-eo.startY)||eo.swipeLength>10&&(ec.swiping=!0,safePreventDefault(o)),ec}},S.swipeEnd=function(o,S){var w=S.dragging,_=S.swipe,E=S.touchObject,D=S.listWidth,N=S.touchThreshold,F=S.verticalSwiping,V=S.listHeight,U=S.swipeToSlide,W=S.scrolling,q=S.onSwipe,Q=S.targetSlide,Y=S.currentSlide,et=S.infinite;if(!w)return _&&safePreventDefault(o),{};var en=F?V/N:D/N,er=getSwipeDirection(E,F),eo={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(W||!E.swipeLength)return eo;if(E.swipeLength>en){safePreventDefault(o),q&&q(er);var ea,es,el=et?Y:Q;switch(er){case"left":case"up":es=el+getSlideCount(S),ea=U?checkNavigable(S,es):es,eo.currentDirection=0;break;case"right":case"down":es=el-getSlideCount(S),ea=U?checkNavigable(S,es):es,eo.currentDirection=1;break;default:ea=el}eo.triggerSlideHandler=ea}else{var eu=getTrackLeft(S);eo.trackStyle=getTrackAnimateCSS(_objectSpread(_objectSpread({},S),{},{left:eu}))}return eo};var getNavigableIndexes=function(o){for(var S=o.infinite?2*o.slideCount:o.slideCount,w=o.infinite?-1*o.slidesToShow:0,_=o.infinite?-1*o.slidesToShow:0,E=[];w<S;)E.push(w),w=_+o.slidesToScroll,_+=Math.min(o.slidesToScroll,o.slidesToShow);return E};S.getNavigableIndexes=getNavigableIndexes;var checkNavigable=function(o,S){var w=getNavigableIndexes(o),_=0;if(S>w[w.length-1])S=w[w.length-1];else for(var E in w){if(S<w[E]){S=_;break}_=w[E]}return S};S.checkNavigable=checkNavigable;var getSlideCount=function(o){var S=o.centerMode?o.slideWidth*Math.floor(o.slidesToShow/2):0;if(!o.swipeToSlide)return o.slidesToScroll;var w,_=o.listRef;if(Array.from(_.querySelectorAll&&_.querySelectorAll(".slick-slide")||[]).every(function(_){if(o.vertical){if(_.offsetTop+getHeight(_)/2>-1*o.swipeLeft)return w=_,!1}else if(_.offsetLeft-S+getWidth(_)/2>-1*o.swipeLeft)return w=_,!1;return!0}),!w)return 0;var E=!0===o.rtl?o.slideCount-o.currentSlide:o.currentSlide;return Math.abs(w.dataset.index-E)||1};S.getSlideCount=getSlideCount;var checkSpecKeys=function(o,S){return S.reduce(function(S,w){return S&&o.hasOwnProperty(w)},!0)?null:console.error("Keys Missing:",o)};S.checkSpecKeys=checkSpecKeys;var getTrackCSS=function(o){checkSpecKeys(o,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var S,w,_=o.slideCount+2*o.slidesToShow;o.vertical?w=_*o.slideHeight:S=getTotalSlides(o)*o.slideWidth;var E={opacity:1,transition:"",WebkitTransition:""};if(o.useTransform){var D=o.vertical?"translate3d(0px, "+o.left+"px, 0px)":"translate3d("+o.left+"px, 0px, 0px)",N=o.vertical?"translate3d(0px, "+o.left+"px, 0px)":"translate3d("+o.left+"px, 0px, 0px)",F=o.vertical?"translateY("+o.left+"px)":"translateX("+o.left+"px)";E=_objectSpread(_objectSpread({},E),{},{WebkitTransform:D,transform:N,msTransform:F})}
42else o.vertical?E.top=o.left:E.left=o.left;return o.fade&&(E={opacity:1}),S&&(E.width=S),w&&(E.height=w),window&&!window.addEventListener&&window.attachEvent&&(o.vertical?E.marginTop=o.left+"px":E.marginLeft=o.left+"px"),E};S.getTrackCSS=getTrackCSS;var getTrackAnimateCSS=function(o){checkSpecKeys(o,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var S=getTrackCSS(o);return o.useTransform?(S.WebkitTransition="-webkit-transform "+o.speed+"ms "+o.cssEase,S.transition="transform "+o.speed+"ms "+o.cssEase):o.vertical?S.transition="top "+o.speed+"ms "+o.cssEase:S.transition="left "+o.speed+"ms "+o.cssEase,S};S.getTrackAnimateCSS=getTrackAnimateCSS;var getTrackLeft=function(o){if(o.unslick)return 0;checkSpecKeys(o,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var S=o.slideIndex,w=o.trackRef,_=o.infinite,E=o.centerMode,D=o.slideCount,N=o.slidesToShow,F=o.slidesToScroll,V=o.slideWidth,U=o.listWidth,W=o.variableWidth,q=o.slideHeight,Q=o.fade,Y=o.vertical,et=0,en=0;if(Q||1===o.slideCount)return 0;var er=0;if(_?(er=-getPreClones(o),D%F!=0&&S+F>D&&(er=-(S>D?N-(S-D):D%F)),E&&(er+=parseInt(N/2))):(D%F!=0&&S+F>D&&(er=N-D%F),E&&(er=parseInt(N/2))),et=er*V,en=er*q,eo=Y?-(S*q*1)+en:-(S*V*1)+et,!0===W){var eo,ea,es,el=w&&w.node;if(es=S+getPreClones(o),eo=(ea=el&&el.childNodes[es])?-1*ea.offsetLeft:0,!0===E){es=_?S+getPreClones(o):S,ea=el&&el.children[es],eo=0;for(var eu=0;eu<es;eu++)eo-=el&&el.children[eu]&&el.children[eu].offsetWidth;eo-=parseInt(o.centerPadding),eo+=ea&&(U-ea.offsetWidth)/2}}return eo};S.getTrackLeft=getTrackLeft;var getPreClones=function(o){return o.unslick||!o.infinite?0:o.variableWidth?o.slideCount:o.slidesToShow+(o.centerMode?1:0)};S.getPreClones=getPreClones;var getPostClones=function(o){return o.unslick||!o.infinite?0:o.slideCount};S.getPostClones=getPostClones;var getTotalSlides=function(o){return 1===o.slideCount?1:getPreClones(o)+o.slideCount+getPostClones(o)};S.getTotalSlides=getTotalSlides;var siblingDirection=function(o){return o.targetSlide>o.currentSlide?o.targetSlide>o.currentSlide+slidesOnRight(o)?"left":"right":o.targetSlide<o.currentSlide-slidesOnLeft(o)?"right":"left"};S.siblingDirection=siblingDirection;var slidesOnRight=function(o){var S=o.slidesToShow,w=o.centerMode,_=o.rtl,E=o.centerPadding;if(w){var D=(S-1)/2+1;return parseInt(E)>0&&(D+=1),_&&S%2==0&&(D+=1),D}return _?0:S-1};S.slidesOnRight=slidesOnRight;var slidesOnLeft=function(o){var S=o.slidesToShow,w=o.centerMode,_=o.rtl,E=o.centerPadding;if(w){var D=(S-1)/2+1;return parseInt(E)>0&&(D+=1),_||S%2!=0||(D+=1),D}return _?S-1:0};S.slidesOnLeft=slidesOnLeft,S.canUseDOM=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}},26273:function(o,S,w){"use strict";w.d(S,{cn:function(){return Q},d0:function(){return q},Wj:function(){return W},Ix:function(){return Y},ZP:function(){return en}});var _=w(63366),E=w(75068),D=w(67294),N=w(73935),F={disabled:!1},V=D.createContext(null),U="unmounted",W="exited",q="entering",Q="entered",Y="exiting",et=function(o){function Transition(S,w){_=o.call(this,S,w)||this;var _,E,D=w&&!w.isMounting?S.enter:S.appear;return _.appearStatus=null,S.in?D?(E=W,_.appearStatus=q):E=Q:E=S.unmountOnExit||S.mountOnEnter?U:W,_.state={status:E},_.nextCallback=null,_}(0,E.Z)(Transition,o),Transition.getDerivedStateFromProps=function(o,S){return o.in&&S.status===U?{status:W}:null};var S=Transition.prototype;return S.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},S.componentDidUpdate=function(o){var S=null;if(o!==this.props){var w=this.state.status;this.props.in?w!==q&&w!==Q&&(S=q):(w===q||w===Q)&&(S=Y)}this.updateStatus(!1,S)},S.componentWillUnmount=function(){this.cancelNextCallback()},S.getTimeouts=function(){var o,S,w,_=this.props.timeout;return o=S=w=_,null!=_&&"number"!=typeof _&&(o=_.exit,S=_.enter,w=void 0!==_.appear?_.appear:S),{exit:o,enter:S,appear:w}},S.updateStatus=function(o,S){if(void 0===o&&(o=!1),null!==S){if(this.cancelNextCallback(),S===q){if(this.props.unmountOnExit||this.props.mountOnEnter){var w=this.props.nodeRef?this.props.nodeRef.current:N.findDOMNode(this);w&&w.scrollTop}this.performEnter(o)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===W&&this.setState({status:U})},S.performEnter=function(o){var S=this,w=this.props.enter,_=this.context?this.context.
42isMounting:o,E=this.props.nodeRef?[_]:[N.findDOMNode(this),_],D=E[0],V=E[1],U=this.getTimeouts(),W=_?U.appear:U.enter;if(!o&&!w||F.disabled){this.safeSetState({status:Q},function(){S.props.onEntered(D)});return}this.props.onEnter(D,V),this.safeSetState({status:q},function(){S.props.onEntering(D,V),S.onTransitionEnd(W,function(){S.safeSetState({status:Q},function(){S.props.onEntered(D,V)})})})},S.performExit=function(){var o=this,S=this.props.exit,w=this.getTimeouts(),_=this.props.nodeRef?void 0:N.findDOMNode(this);if(!S||F.disabled){this.safeSetState({status:W},function(){o.props.onExited(_)});return}this.props.onExit(_),this.safeSetState({status:Y},function(){o.props.onExiting(_),o.onTransitionEnd(w.exit,function(){o.safeSetState({status:W},function(){o.props.onExited(_)})})})},S.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},S.safeSetState=function(o,S){S=this.setNextCallback(S),this.setState(o,S)},S.setNextCallback=function(o){var S=this,w=!0;return this.nextCallback=function(_){w&&(w=!1,S.nextCallback=null,o(_))},this.nextCallback.cancel=function(){w=!1},this.nextCallback},S.onTransitionEnd=function(o,S){this.setNextCallback(S);var w=this.props.nodeRef?this.props.nodeRef.current:N.findDOMNode(this),_=null==o&&!this.props.addEndListener;if(!w||_){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var E=this.props.nodeRef?[this.nextCallback]:[w,this.nextCallback],D=E[0],F=E[1];
42this.props.addEndListener(D,F)}null!=o&&setTimeout(this.nextCallback,o)},S.render=function(){var o=this.state.status;if(o===U)return null;var S=this.props,w=S.children,E=(S.in,S.mountOnEnter,S.unmountOnExit,S.appear,S.enter,S.exit,S.timeout,S.addEndListener,S.onEnter,S.onEntering,S.onEntered,S.onExit,S.onExiting,S.onExited,S.nodeRef,(0,_.Z)(S,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return D.createElement(V.Provider,{value:null},"function"==typeof w?w(o,E):D.cloneElement(D.Children.only(w),E))},Transition}(D.Component);function noop(){}et.contextType=V,et.propTypes={},et.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop,onEntering:noop,onEntered:noop,onExit:noop,onExiting:noop,onExited:noop},et.UNMOUNTED=U,et.EXITED=W,et.ENTERING=q,et.ENTERED=Q,et.EXITING=Y;var en=et},34699:function(o,S,w){"use strict";w.d(S,{D:function(){return useUID}});var _=w(67294),generateUID=function(){var o=1,S=new WeakMap,uid=function(w,_){return"number"==typeof w||"string"==typeof w?_?"idx-"+_:"val-"+w:S.has(w)?"uid"+S.get(w):(S.set(w,o++),uid(w))};return uid};generateUID();var createSource=function(o){return void 0===o&&(o=""),{value:1,prefix:o,uid:generateUID()}},E=createSource(),D=_.createContext(createSource()),hooks_generateUID=function(o){var S=o||E,w=(S?S.prefix:"")+S.value++;return{uid:w,gen:function(o){return w+S.uid(o)}}},useUID=function(){return _.useState(hooks_generateUID(_.useContext(D)))[0].uid}},60053:function(o,S){"use strict";/** 43 * @license React 44 * scheduler.production.min.js 45 * 46 * Copyright (c) Facebook, Inc. and its affiliates. 47 * 48 * This source code is licensed under the MIT license found in the 49 * LICENSE file in the root directory of this source tree. 50 */function f(o,S){var w=o.length;for(o.push(S);0<w;){var _=w-1>>>1,E=o[_];if(0<g(E,S))o[_]=S,o[w]=E,w=_;else break}}function h(o){return 0===o.length?null:o[0]}function k(o){if(0===o.length)return null;var S=o[0],w=o.pop();if(w!==S){o[0]=w;for(var _=0,E=o.length,D=E>>>1;_<D;){var N=2*(_+1)-1,F=o[N],V=N+1,U=o[V];if(0>g(F,w))V<E&&0>g(U,F)?(o[_]=U,o[V]=w,_=V):(o[_]=F,o[N]=w,_=N);else if(V<E&&0>g(U,w))o[_]=U,o[V]=w,_=V;else break}}return S}function g(o,S){var w=o.sortIndex-S.sortIndex;return 0!==w?w:o.id-S.id}if("object"==typeof performance&&"function"==typeof performance.now){var w,_=performance;S.unstable_now=function(){return _.now()}}else{var E=Date,D=E.now();S.unstable_now=function(){return E.now()-D}}var N=[],F=[],V=1,U=null,W=3,q=!1,Q=!1,Y=!1,et="function"==typeof setTimeout?setTimeout:null,en="function"==typeof clearTimeout?clearTimeout:null,er="undefined"!=typeof setImmediate?setImmediate:null;function G(o){for(var S=h(F);null!==S;){if(null===S.callback)k(F);else if(S.startTime<=o)k(F),S.sortIndex=S.expirationTime,f(N,S);else break;S=h(F)}}function H(o){if(Y=!1,G(o),!Q){if(null!==h(N))Q=!0,I(J);else{var S=h(F);null!==S&&K(H,S.startTime-o)}}}function J(o,w){Q=!1,Y&&(Y=!1,en(es),es=-1),q=!0;var _=W;try{for(G(w),U=h(N);null!==U&&(!(U.expirationTime>w)||o&&!M());){var E=U.callback;if("function"==typeof E){U.callback=null,W=U.priorityLevel;var D=E(U.expirationTime<=w);w=S.unstable_now(),"function"==typeof D?U.callback=D:U===h(N)&&k(N),G(w)}else k(N);U=h(N)}if(null!==U)var V=!0;else{var et=h(F);null!==et&&K(H,et.startTime-w),V=!1}return V}finally{U=null,W=_,q=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var eo=!1,ea=null,es=-1,el=5,eu=-1;function M(){return!(S.unstable_now()-eu<el)}function R(){if(null!==ea){var o=S.unstable_now();eu=o;var _=!0;try{_=ea(!0,o)}finally{_?w():(eo=!1,ea=null)}}else eo=!1}if("function"==typeof er)w=function(){er(R)};else if("undefined"!=typeof MessageChannel){var ec=new MessageChannel,ed=ec.port2;ec.port1.onmessage=R,w=function(){ed.postMessage(null)}}else w=function(){et(R,0)};function I(o){ea=o,eo||(eo=!0,w())}function K(o,w){es=et(function(){o(S.unstable_now())},w)}S.unstable_IdlePriority=5,S.unstable_ImmediatePriority=1,S.unstable_LowPriority=4,S.unstable_NormalPriority=3,S.unstable_Profiling=null,S.unstable_UserBlockingPriority=2,S.unstable_cancelCallback=function(o){o.callback=null},S.unstable_continueExecution=function(){Q||q||(Q=!0,I(J))},S.unstable_forceFrameRate=function(o){0>o||125<o?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):el=0<o?Math.floor(1e3/o):5},S.unstable_getCurrentPriorityLevel=function(){return W},S.unstable_getFirstCallbackNode=function(){return h(N)},S.unstable_next=function(o){switch(W){case 1:case 2:case 3:var S=3;break;default:S=W}var w=W;W=S;try{return o()}finally{W=w}},S.unstable_pauseExecution=function(){},S.unstable_requestPaint=function(){},S.unstable_runWithPriority=function(o,S){switch(o){case 1:case 2:case 3:case 4:case 5:break;default:o=3}var w=W;W=o;try{return S()}finally{W=w}},S.unstable_scheduleCallback=function(o,w,_){var E=S.unstable_now();switch(_="object"==typeof _&&null!==_&&"number"==typeof(_=_.delay)&&0<_?E+_:E,o){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=_+D,o={id:V++,callback:w,priorityLevel:o,startTime:_,expirationTime:D,sortIndex:-1},_>E?(o.sortIndex=_,f(F,o),null===h(N)&&o===h(F)&&(Y?(en(es),es=-1):Y=!0,K(H,_-E))):(o.sortIndex=D,f(N,o),Q||q||(Q=!0,I(J))),o},S.unstable_shouldYield=M,S.unstable_wrapCallback=function(o){var S=W;return function(){var w=W;W=S;try{return o.apply(this,arguments)}finally{W=w}}}},63840:function(o,S,w){"use strict";o.exports=w(60053)}
50,96774:function(o){o.exports=function(o,S,w,_){var E=w?w.call(_,o,S):void 0;if(void 0!==E)return!!E;if(o===S)return!0;if("object"!=typeof o||!o||"object"!=typeof S||!S)return!1;var D=Object.keys(o),N=Object.keys(S);if(D.length!==N.length)return!1;for(var F=Object.prototype.hasOwnProperty.bind(S),V=0;V<D.length;V++){var U=D[V];if(!F(U))return!1;var W=o[U],q=S[U];if(!1===(E=w?w.call(_,W,q,U):void 0)||void 0===E&&W!==q)return!1}return!0}},18297:function(o,S,w){"use strict";var _=function(){function defineProperties(o,S){for(var w=0;w<S.length;w++){var _=S[w];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(o,_.key,_)}}return function(o,S,w){return S&&defineProperties(o.prototype,S),w&&defineProperties(o,w),o}}(),E=_interopRequireDefault(w(67294)),D=_interopRequireDefault(w(73935));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var N=function(o){function SbEditable(o){return!function(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")}(this,SbEditable),function(o,S){if(!o)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return S&&("object"==typeof S||"function"==typeof S)?S:o}(this,(SbEditable.__proto__||Object.getPrototypeOf(SbEditable)).call(this,o))}return!function(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Super expression must either be null or a function, not "+typeof S);o.prototype=Object.create(S&&S.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),S&&(Object.setPrototypeOf?Object.setPrototypeOf(o,S):o.__proto__=S)}
50(SbEditable,o),_(SbEditable,[{key:"componentDidMount",value:function(){this.addPropsOnChildren()}},{key:"componentDidUpdate",value:function(){this.addPropsOnChildren()}},{key:"addPropsOnChildren",value:function(){if(void 0!==this.props.content._editable&&window.location!==window.parent.location){var o=D.default.findDOMNode(this),S=JSON.parse(this.props.content._editable.replace(/^<!--#storyblok#/,"").replace(/-->$/,""));o instanceof Object&&"function"==typeof o.setAttribute?(o.setAttribute("data-blok-c",JSON.stringify(S)),o.setAttribute("data-blok-uid",S.id+"-"+S.uid),this.addClass(o,"storyblok__outline")):console.warn("It seems that you are using a DOM text-node inside the SbEditable wrapper. Please wrap it with an HTML DOM element.",this.props.children)}}},{key:"addClass",value:function(o,S){o.classList?o.classList.add(S):RegExp("\\b"+S+"\\b").test(o.className)||(o.className+=" "+S)}},{key:"render",value:function(){return this.props.children}}]),SbEditable}(E.default.PureComponent);S.Z=N},90455:function(o,S,w){"use strict";w.d(S,{Bo:function(){return F},Eu:function(){return V},Kp:function(){return Q},ME:function(){return W},S2:function(){return q},aJ:function(){return Y},bw:function(){return U},e3:function(){return N},sY:function(){return render},tw:function(){return D}});var _=w(67294);function ownKeys(o,S){var w=Object.keys(o);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(o);S&&(_=_.filter(function(S){return Object.getOwnPropertyDescriptor(o,S).enumerable})),w.push.apply(w,_)}return w}function _objectSpread2(o){for(var S=1;S<arguments.length;S++){var w=null!=arguments[S]?arguments[S]:{};S%2?ownKeys(Object(w),!0).forEach(function(S){var _,E;_=S,E=w[S],(_=function(o){var S=function(o,S){if("object"!=typeof o||!o)return o;var w=o[Symbol.toPrimitive];if(void 0!==w){var _=w.call(o,S);if("object"!=typeof _)return _;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===S?String:Number)(o)}(o,"string");return"symbol"==typeof S?S:S+""}(_))in o?Object.defineProperty(o,_,{value:E,enumerable:!0,configurable:!0,writable:!0}):o[_]=E}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(w)):ownKeys(Object(w)).forEach(function(S){Object.defineProperty(o,S,Object.getOwnPropertyDescriptor(w,S))})}return o}let E=["component"],D="heading",N="paragraph",F="blockquote",V="table",U="tableHeader",W="tableRow",q="tableCell",Q="highlight",Y="textStyle";function render(o,S={}){if("object"==typeof o&&"doc"===o.type&&Array.isArray(o.content)){let w=S.blokResolvers,D=void 0===w?{}:w,N=S.defaultBlokResolver,F=void 0===N?function(){return null}:N,V=S.nodeResolvers,U=S.markResolvers,W=S.textResolver,q=void 0===W?function(o){return o}:W,Q=_objectSpread2(_objectSpread2({},et),void 0===V?{}:V),Y=_objectSpread2(_objectSpread2({},en),void 0===U?{}:U),er=0,addKey=function(o){return _.isValidElement(o)?_.cloneElement(o,{key:er++}):o},renderNodes=function(o){let S=o?o.map(renderNode).filter(function(o){return null!=o}):null;return Array.isArray(S)&&0===S.length?null:S},renderNode=function(o){if("blok"===o.type){let S=o.attrs.body;return S.map(function(o){let S=o.component,w=function(o,S){if(null==o)return{};var w,_,E=function(o,S){if(null==o)return{};var w={};for(var _ in o)if(({}).hasOwnProperty.call(o,_)){if(-1!==S.indexOf(_))continue;w[_]=o[_]}return w}(o,S);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(o);for(_=0;_<D.length;_++)w=D[_],-1===S.indexOf(w)&&({}).propertyIsEnumerable.call(o,w)&&(E[w]=o[w])}return E}(o,E),_=D[S],N=_?_(w):F(S,w);return addKey(N)})}{var S;let w;if("text"===o.type)w=q(o.text);else{let S=Q[o.type];w=S?addKey(S(renderNodes(o.content),o.attrs)):null}let _=null!==(S=o.marks)&&void 0!==S?S:[];return _.reduceRight(function(o,S){let w=Y[S.type];return w?addKey(w(o,S.attrs)):o},w)}};return renderNodes(o.content)}if("string"==typeof o){let w=S.defaultStringResolver,_=S.textResolver,E=void 0===_?function(o){return o}:_;return(void 0===w?function(o){return o}:w)(E(o))}return null}let simpleNodeResolver=function(o){return function(S){return null!=S?_.createElement(o,null,S):null}},emptyNodeResolver=function(o){return function(){return _.createElement(o)}},tableCellNodeResolver=function(o){return function(S,w){let E={},D={};return 1!==w.colspan&&(E.colspan=w.colspan),1!==w.rowspan&&(E.rowspan=w.rowspan),w.backgroundColor&&(D.backgroundColor=w.backgroundColor),Array.isArray(w.colwidth)&&(1===w.colwidth.length?D.width=w.colwidth[0]+"px":E["data-colwidth"]=w.colwidth.join(",")),Object.keys(D).length>0&&(E.style=D),_.createElement(o,E,S)}},simpleMarkResolver=function(o){return function(S){return _.createElement(o,null,S)}},et={[D]:function(o,S){return _.createElement(`h${S.level}`,null,o)},code_block:function(o,S){let w={className:S.class},E=_.createElement("code",w,o);return _.createElement("pre",null,E)},image:function(o,S){return _.createElement("img",S,o)},[N]:simpleNodeResolver("p"),[F]:simpleNodeResolver("blockquote"),ordered_list:simpleNodeResolver("ol"),bullet_list:simpleNodeResolver("ul"),list_item:simpleNodeResolver("li"),horizontal_rule:emptyNodeResolver("hr"),hard_break:emptyNodeResolver("br"),emoji:function(o,S){if(!S)return null;let w={"data-type":"emoji","data-name":S.name,emoji:S.emoji};if(S.emoji||!S.fallbackImage)return _.createElement("span",w,S.emoji);{let o={src:S.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle",alt:S.name},E=_.createElement("img",o);return _.createElement("span",w,E)}},[V]:simpleNodeResolver("table"),[W]:simpleNodeResolver("tr"),[U]:tableCellNodeResolver("th"),[q]:tableCellNodeResolver("td")},en={link:function(o,S){let w=S?{href:"email"===S.linktype?`mailto:${S.href}`:S.href,target:S.target}:{};return _.createElement("a",w,o)},styled:function(o,S){let w=S?{className:S.class}:{};return _.createElement("span",w,o)},bold:simpleMarkResolver("b"),italic:simpleMarkResolver("i"),strike:simpleMarkResolver("s"),underline:simpleMarkResolver("u"),code:simpleMarkResolver("co
50de"),subscript:simpleMarkResolver("sub"),superscript:simpleMarkResolver("sup"),[Q]:function(o,S){let w=S?{style:{backgroundColor:S.color}}:{};return _.createElement("span",w,o)},[Y]:function(o,S){let w=S?.color?{style:{color:S.color}}:{};return _.createElement("span",w,o)},anchor:function(o,S){let w=S?{id:S.id}:{};return _.createElement("span",w,o)}}},71169:function(o){o.exports=function(o){return o.replace(/[A-Z]/g,function(o){return"-"+o.toLowerCase()}).toLowerCase()}},41686:function(o,S,w){"use strict";w.r(S),w.d(S,{ServerStyleSheet:function(){return ti},StyleSheetConsumer:function(){return e4},StyleSheetContext:function(){return e3},StyleSheetManager:function(){return Ye},ThemeConsumer:function(){return te},ThemeContext:function(){return e7},ThemeProvider:function(){return ot},__PRIVATE__:function(){return to},createGlobalStyle:function(){return ft},css:function(){return lt},default:function(){return tn},isStyledComponent:function(){return se},keyframes:function(){return mt},styled:function(){return tn},useTheme:function(){return nt},version:function(){return eg},withTheme:function(){return yt}});var __assign=function(){return(__assign=Object.assign||function(o){for(var S,w=1,_=arguments.length;w<_;w++)for(var E in S=arguments[w])Object.prototype.hasOwnProperty.call(S,E)&&(o[E]=S[E]);return o}).apply(this,arguments)};function __spreadArray(o,S,w){if(w||2==arguments.length)for(var _,E=0,D=S.length;E<D;E++)!_&&E in S||(_||(_=Array.prototype.slice.call(S,0,E)),_[E]=S[E]);return o.concat(_||Array.prototype.slice.call(S))}"function"==typeof SuppressedError&&SuppressedError;var _=w(67294),E=w(96774),D=w.n(E),N="-ms-",F="-moz-",V="-webkit-",U="comm",W="rule",q="decl",Q="@keyframes",Y=Math.abs,et=String.fromCharCode,en=Object.assign;function match(o,S){return(o=S.exec(o))?o[0]:o}function replace(o,S,w){return o.replace(S,w)}function indexof(o,S,w){return o.indexOf(S,w)}function Utility_charat(o,S){return 0|o.charCodeAt(S)}function Utility_substr(o,S,w){return o.slice(S,w)}function Utility_strlen(o){return o.length}function Utility_append(o,S){return S.push(o),o}function filter(o,S){return o.filter(function(o){return!match(o,S)})}var er=1,eo=1,ea=0,es=0,el=0,eu="";function node(o,S,w,_,E,D,N,F){return{value:o,root:S,parent:w,type:_,props:E,children:D,line:er,column:eo,length:N,return:"",siblings:F}}function copy(o,S){return en(node("",null,null,"",null,null,0,o.siblings),o,{length:-o.length},S)}function lift(o){for(;o.root;)o=copy(o.root,{children:[o]});Utility_append(o,o.siblings)}function next(){return el=es<ea?Utility_charat(eu,es++):0,eo++,10===el&&(eo=1,er++),el}function peek(){return Utility_charat(eu,es)}function token(o){switch(o){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function delimit(o){var S,w;return(S=es-1,w=function delimiter(o){for(;next();)switch(el){case o:return es;case 34:case 39:34!==o&&39!==o&&delimiter(el);break;case 40:41===o&&delimiter(o);break;case 92:next()}return es}(91===o?o+2:40===o?o+1:o),Utility_substr(eu,S,w)).trim()}function serialize(o,S){for(var w="",_=0;_<o.length;_++)w+=S(o[_],_,o,S)||"";return w}function stringify(o,S,w,_){switch(o.type){case"@layer":if(o.children.length)break;case"@import":case q:return o.return=o.return||o.value;case U:return"";case Q:return o.return=o.value+"{"+serialize(o.children,_)+"}";case W:if(!Utility_strlen(o.value=o.props.join(",")))return""}return Utility_strlen(w=serialize(o.children,_))?o.return=o.value+"{"+w+"}":""}function prefixer(o,S,w,_){if(o.length>-1&&!o.return)switch(o.type){case q:o.return=function prefix(o,S,w){var _;switch(_=S,45^Utility_charat(o,0)?(((_<<2^Utility_charat(o,0))<<2^Utility_charat(o,1))<<2^Utility_charat(o,2))<<2^Utility_charat(o,3):0){case 5103:return V+"print-"+o+o;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return V+o+o;case 4789:return F+o+o;
vendor: 9,395 bytes, line 50
50case 5349:case 4246:case 4810:case 6968:case 2756:return V+o+F+o+N+o+o;case 5936:switch(Utility_charat(o,S+11)){case 114:return V+o+N+replace(o,/[svh]\w+-[tblr]{2}/,"tb")+o;case 108:return V+o+N+replace(o,/[svh]\w+-[tblr]{2}/,"tb-rl")+o;case 45:return V+o+N+replace(o,/[svh]\w+-[tblr]{2}/,"lr")+o}case 6828:case 4268:case 2903:return V+o+N+o+o;case 6165:return V+o+N+"flex-"+o+o;case 5187:return V+o+replace(o,/(\w+).+(:[^]+)/,V+"box-$1$2"+N+"flex-$1$2")+o;case 5443:return V+o+N+"flex-item-"+replace(o,/flex-|-self/g,"")+(match(o,/flex-|baseline/)?"":N+"grid-row-"+replace(o,/flex-|-self/g,""))+o;case 4675:return V+o+N+"flex-line-pack"+replace(o,/align-content|flex-|-self/g,"")+o;case 5548:return V+o+N+replace(o,"shrink","negative")+o;case 5292:return V+o+N+replace(o,"basis","preferred-size")+o;case 6060:return V+"box-"+replace(o,"-grow","")+V+o+N+replace(o,"grow","positive")+o;case 4554:return V+replace(o,/([^-])(transform)/g,"$1"+V+"$2")+o;case 6187:return replace(replace(replace(o,/(zoom-|grab)/,V+"$1"),/(image-set)/,V+"$1"),o,"")+o;case 5495:case 3959:return replace(o,/(image-set\([^]*)/,V+"$1$`$1");case 4968:return replace(replace(o,/(.+:)(flex-)?(.*)/,V+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+V+o+o;case 4200:if(!match(o,/flex-|baseline/))return N+"grid-column-align"+Utility_substr(o,S)+o;break;case 2592:case 3360:return N+replace(o,"template-","")+o;case 4384:case 3616:if(w&&w.some(function(o,w){return S=w,match(o.props,/grid-\w+-end/)}))return~indexof(o+(w=w[S].value),"span",0)?o:N+replace(o,"-start","")+o+N+"grid-row-span:"+(~indexof(w,"span",0)?match(w,/\d+/):+match(w,/\d+/)-+match(o,/\d+/))+";";return N+replace(o,"-start","")+o;case 4896:case 4128:return w&&w.some(function(o){return match(o.props,/grid-\w+-start/)})?o:N+replace(replace(o,"-end","-span"),"span ","")+o;case 4095:case 3583:case 4068:case 2532:return replace(o,/(.+)-inline(.+)/,V+"$1$2")+o;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Utility_strlen(o)-1-S>6)switch(Utility_charat(o,S+1)){case 109:if(45!==Utility_charat(o,S+4))break;case 102:return replace(o,/(.+:)(.+)-([^]+)/,"$1"+V+"$2-$3$1"+F+(108==Utility_charat(o,S+3)?"$3":"$2-$3"))+o;case 115:return~indexof(o,"stretch",0)?prefix(replace(o,"stretch","fill-available"),S,w)+o:o}break;case 5152:case 5920:return replace(o,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(S,w,_,E,D,F,V){return N+w+":"+_+V+(E?N+w+"-span:"+(D?F:+F-+_)+V:"")+o});case 4949:if(121===Utility_charat(o,S+6))return replace(o,":",":"+V)+o;break;case 6444:switch(Utility_charat(o,45===Utility_charat(o,14)?18:11)){case 120:return replace(o,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+V+(45===Utility_charat(o,14)?"inline-":"")+"box$3$1"+V+"$2$3$1"+N+"$2box$3")+o;case 100:return replace(o,":",":"+N)+o}break;case 5719:case 2647:case 2135:case 3927:case 2391:return replace(o,"scroll-","scroll-snap-")+o}return o}(o.value,o.length,w);return;case Q:return serialize([copy(o,{value:replace(o.value,"@","@"+V)})],_);case W:if(o.length)return(w=o.props).map(function(S){switch(match(S,_=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":lift(copy(o,{props:[replace(S,/:(read-\w+)/,":"+F+"$1")]})),lift(copy(o,{props:[S]})),en(o,{props:filter(w,_)});break;case"::placeholder":lift(copy(o,{props:[replace(S,/:(plac\w+)/,":"+V+"input-$1")]})),lift(copy(o,{props:[replace(S,/:(plac\w+)/,":"+F+"$1")]})),lift(copy(o,{props:[replace(S,/:(plac\w+)/,N+"input-$1")]})),lift(copy(o,{props:[S]})),en(o,{props:filter(w,_)})}return""}).join("")}}function ruleset(o,S,w,_,E,D,N,F,V,U,q,Q){for(var et=E-1,en=0===E?D:[""],er=en.length,eo=0,ea=0,es=0;eo<_;++eo)for(var el=0,eu=Utility_substr(o,et+1,et=Y(ea=N[eo])),ec=o;el<er;++el)(ec=(ea>0?en[el]+" "+eu:replace(eu,/&\f/g,en[el])).trim())&&(V[es++]=ec);return node(o,S,w,0===E?W:F,V,U,q,Q)}function declaration(o,S,w,_,E){return node(o,S,w,q,Utility_substr(o,0,_),Utility_substr(o,_+1,-1),_,E)}var ec={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ed=w(34155),ep=void 0!==ed&&void 0!==ed.env&&(ed.env.REACT_APP_SC_ATTR||ed.env.SC_ATTR)||"data-styled",eh="active",em="data-styled-version",eg="6.1.13",ev="/*!sc*/\n",ey="undefined"!=typeof window&&"HTMLElement"in window,eb=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==ed&&void 0!==ed.env&&void 0!==ed.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==ed.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==ed.env.REACT_APP_SC_DISABLE_SPEEDY&&ed.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==ed&&void 0!==ed.env&&void 0!==ed.env.SC_DISABLE_SPEEDY&&""!==ed.env.SC_DISABLE_SPEEDY&&"false"!==ed.env.SC_DISABLE_SPEEDY&&ed.env.SC_DISABLE_SPEEDY),eS={},ex=Object.freeze([]),ew=Object.freeze({});function I(o,S,w){return void 0===w&&(w=ew),o.theme!==w.theme&&o.theme||S||w.theme}var e_=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),eE=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,eT=/(^-|-$)/g;function R(o){return o.replace(eE,"-").replace(eT,"")}var eP=/(a)(d)/gi,j=function(o){return String.fromCharCode(o+(o>25?39:97))};function x(o){var S,w="";for(S=Math.abs(o);S>52;S=S/52|0)w=j(S%52)+w;return(j(S%52)+w).replace(eP,"$1-$2")}var eC,M=function(o,S){for(var w=S.length;w;)o=33*o^S.charCodeAt(--w);return o},z=function(o){return M(5381,o)};function $(o){return x(z(o)>>>0)}function B(o){return o.displayName||o.name||"Component"}function L(o){return"string"==typeof o}var ek="function"==typeof Symbol&&Symbol.for,eO=ek?Symbol.for("react.memo"):60115,eR=ek?Symbol.for("react.forward_ref"):60112,eA={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},eM={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ej={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eL=((eC={})[eR]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eC[eO]=ej,eC);function X(o){return("type"in o&&o.type.$$typeof)===eO?ej:"$$typeof"in o?eL[o.$$typeof]:eA}var eI=Object.defineProperty,eD=Object.getOwnPropertyNames,eN=Object.getOwnPropertySymbols,eF=Object.getOwnPropertyDescriptor,eV=Object.getPrototypeOf,ez=Object.prototype;function oe(o,S,w){if("string"!=typeof S){if(ez){var _=eV(S);_&&_!==ez&&oe(o,_,w)}var E=eD(S);eN&&(E=E.concat(eN(S)));for(var D=X(o),N=X(S),F=0;F<E.length;++F){var V=E[F];if(!(V in eM||w&&w[V]||N&&V in N||D&&V in D)){var U=eF(S,V);try{eI(o,V,U)}catch(o){}}}}return o}function re(o){return"function"==typeof o}function se(o){return"object"==typeof o&&"styledComponentId"in o}function ie(o,S){return o&&S?"".concat(o," ").concat(S):o||S||""}function ae(o,S){if(0===o.length)return"";for(var w=o[0],_=1;_<o.length;_++)w+=S?S+o[_]:o[_];return w}function ce(o){return null!==o&&"object"==typeof o&&o.constructor.name===Object.name&&!("props"in o&&o.$$typeof)}function ue(o,S){Object.defineProperty(o,"toString",{value:S})}function he(o){for(var S=[],w=1;w<arguments.length;w++)S[w-1]=arguments[w];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(o," for more information.").concat(S.length>0?" Args: ".concat(S.join(", ")):""))}var eB=function(){function e(o){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=o}return e.prototype.indexOfGroup=function(o){for(var S=0,w=0;w<o;w++)S+=this.groupSizes[w];return S},e.prototype.insertRules=function(o,S){if(o>=this.groupSizes.length){for(var w=this.groupSizes,_=w.length,E=_;o>=E;)if((E<<=1)<0)throw he(16,"".concat(o));this.groupSizes=new Uint32Array(E),this.groupSizes.set(w),this.length=E;for(var D=_;D<E;D++)this.groupSizes[D]=0}for(var N=this.indexOfGroup(o+1),F=(D=0,S.length);D<F;D++)this.tag.insertRule(N,S[D])&&(this.groupSizes[o]++,N++)}
50,e.prototype.clearGroup=function(o){if(o<this.length){var S=this.groupSizes[o],w=this.indexOfGroup(o),_=w+S;this.groupSizes[o]=0;for(var E=w;E<_;E++)this.tag.deleteRule(w)}},e.prototype.getGroup=function(o){var S="";if(o>=this.length||0===this.groupSizes[o])return S;for(var w=this.groupSizes[o],_=this.indexOfGroup(o),E=_+w,D=_;D<E;D++)S+="".concat(this.tag.getRule(D)).concat(ev);return S},e}(),eU=new Map,eH=new Map,e$=1,Se=function(o){if(eU.has(o))return eU.get(o);for(;eH.has(e$);)e$++;var S=e$++;return eU.set(o,S),eH.set(S,o),S},we=function(o,S){e$=S+1,eU.set(o,S),eH.set(S,o)},eW="style[".concat(ep,"][").concat(em,'="').concat(eg,'"]'),eZ=new RegExp("^".concat(ep,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(o,S,w){for(var _,E=w.split(","),D=0,N=E.length;D<N;D++)(_=E[D])&&o.registerName(S,_)},Pe=function(o,S){for(var w,_=(null!==(w=S.textContent)&&void 0!==w?w:"").split(ev),E=[],D=0,N=_.length;D<N;D++){var F=_[D].trim();if(F){var V=F.match(eZ);if(V){var U=0|parseInt(V[1],10),W=V[2];0!==U&&(we(W,U),Ne(o,W,V[3]),o.getTag().insertRules(U,E)),E.length=0}else E.push(F)}}},_e=function(o){for(var S=document.querySelectorAll(eW),w=0,_=S.length;w<_;w++){var E=S[w];E&&E.getAttribute(ep)!==eh&&(Pe(o,E),E.parentNode&&E.parentNode.removeChild(E))}},Ie=function(o){var S,_=document.head,E=o||_,D=document.createElement("style"),N=(S=Array.from(E.querySelectorAll("style[".concat(ep,"]"))))[S.length-1],F=void 0!==N?N.nextSibling:null;D.setAttribute(ep,eh),D.setAttribute(em,eg);var V=w.nc;return V&&D.setAttribute("nonce",V),E.insertBefore(D,F),D},eG=function(){function e(o){this.element=Ie(o),this.element.appendChild(document.createTextNode("")),this.sheet=function(o){if(o.sheet)return o.sheet;for(var S=document.styleSheets,w=0,_=S.length;w<_;w++){var E=S[w];if(E.ownerNode===o)return E}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(o,S){try{return this.sheet.insertRule(S,o),this.length++,!0}catch(o){return!1}},e.prototype.deleteRule=function(o){this.sheet.deleteRule(o),this.length--},e.prototype.getRule=function(o){var S=this.sheet.cssRules[o];return S&&S.cssText?S.cssText:""},e}(),eq=function(){function e(o){this.element=Ie(o),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(o,S){if(o<=this.length&&o>=0){var w=document.createTextNode(S);return this.element.insertBefore(w,this.nodes[o]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(o){this.element.removeChild(this.nodes[o]),this.length--},e.prototype.getRule=function(o){return o<this.length?this.nodes[o].textContent:""},e}(),eK=function(){function e(o){this.rules=[],this.length=0}return e.prototype.insertRule=function(o,S){return o<=this.length&&(this.rules.splice(o,0,S),this.length++,!0)},e.prototype.deleteRule=function(o){this.rules.splice(o,1),this.length--},e.prototype.getRule=function(o){return o<this.length?this.rules[o]:""},e}(),eX=ey,eQ={isServer:!ey,useCSSOMInjection:!eb},eY=function(){function e(o,S,w){void 0===o&&(o=ew),void 0===S&&(S={});var _=this;this.options=__assign(__assign({},eQ),o),this.gs=S,this.names=new Map(w),this.server=!!o.isServer,!this.server&&ey&&eX&&(eX=!1,_e(this)),ue(this,function(){return function(o){for(var S=o.getTag(),w=S.length,_="",E=0;E<w;E++)(function(w){var E=eH.get(w);if(void 0!==E){var D=o.names.get(E),N=S.getGroup(w);if(void 0!==D&&D.size&&0!==N.length){var F="".concat(ep,".g").concat(w,'[id="').concat(E,'"]'),V="";void 0!==D&&D.forEach(function(o){o.length>0&&(V+="".concat(o,","))}),_+="".concat(N).concat(F,'{content:"').concat(V,'"}').concat(ev)}}})(E);return _}(_)})}return e.registerId=function(o){return Se(o)},e.prototype.rehydrate=function(){!this.server&&ey&&_e(this)},e.prototype.reconstructWithOptions=function(o,S){return void 0===S&&(S=!0),new e(__assign(__assign({},this.options),o),this.gs,S&&this.names||void 0)},e.prototype.allocateGSInstance=function(o){return this.gs[o]=(this.gs[o]||0)+1},e.prototype.getTag=function(){var o,S,w,_;return this.tag||(this.tag=(w=(S=this.options).useCSSOMInjection,_=S.target,o=S.isServer?new eK(_):w?new eG(_):new eq(_),new eB(o)))},e.prototype.hasNameForId=function(o,S){return this.names.has(o)&&this.names.get(o).has(S)},e.prototype.registerName=function(o,S){if(Se(o),this.names.has(o))this.names.get(o).add(S);else{var w=new Set;w.add(S),this.names.set(o,w)}},e.prototype.insertRules=function(o,S,w){this.registerName(o,S),this.getTag().insertRules(Se(o),w)},e.prototype.clearNames=function(o){this.names.has(o)&&this.names.get(o).clear()},e.prototype.clearRules=function(o){this.getTag().clearGroup(Se(o)),this.clearNames(o)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eJ=/&/g,e0=/^\s*\/\/.*$/gm;function Fe(o){var S,w,_,E=void 0===o?ew:o,D=E.options,N=void 0===D?ew:D,F=E.plugins,V=void 0===F?ex:F,l=function(o,_,E){return E.startsWith(w)&&E.endsWith(w)&&E.replaceAll(w,"").length>0?".".concat(S):o},q=V.slice();q.push(function(o){o.type===W&&o.value.includes("&")&&(o.props[0]=o.props[0].replace(eJ,w).replace(_,l))}),N.prefix&&q.push(prefixer),q.push(stringify);var p=function(o,E,D,F){void 0===E&&(E=""),void 0===D&&(D=""),void 0===F&&(F="&"),S=F,w=E,_=RegExp("\\".concat(w,"\\b"),"g");var V,W,Q,en,ec,ed=o.replace(e0,""),ep=(ec=function parse(o,S,w,_,E,D,N,F,V){for(var W,q=0,Q=0,en=N,ea=0,ec=0,ed=0,ep=1,eh=1,em=1,eg=0,ev="",ey=E,eb=D,eS=_,ex=ev;eh;)switch(ed=eg,eg=next()){case 40:if(108!=ed&&58==Utility_charat(ex,en-1)){-1!=indexof(ex+=replace(delimit(eg),"&","&\f"),"&\f",Y(q?F[q-1]:0))&&(em=-1);break}case 34:case 39:case 91:ex+=delimit(eg);break;case 9:case 10:case 13:case 32:ex+=function(o){for(;el=peek();)if(el<33)next();else break;return token(o)>2||token(el)>3?"":" "}(ed);break;case 92:ex+=function(o,S){for(var w;--S&&next()&&!(el<48)&&!(el>102)&&(!(el>
5057)||!(el<65))&&(!(el>70)||!(el<97)););return w=es+(S<6&&32==peek()&&32==next()),Utility_substr(eu,o,w)}(es-1,7);continue;case 47:switch(peek()){case 42:case 47:Utility_append(node(W=function(o,S){for(;next();)if(o+el===57)break;else if(o+el===84&&47===peek())break;return"/*"+Utility_substr(eu,S,es-1)+"*"+et(47===o?o:next())}(next(),es),S,w,U,et(el),Utility_substr(W,2,-2),0,V),V);break;default:ex+="/"}break;case 123*ep:F[q++]=Utility_strlen(ex)*em;case 125*ep:case 59:case 0:switch(eg){case 0:case 125:eh=0;case 59+Q:-1==em&&(ex=replace(ex,/\f/g,"")),ec>0&&Utility_strlen(ex)-en&&Utility_append(ec>32?declaration(ex+";",_,w,en-1,V):declaration(replace(ex," ","")+";",_,w,en-2,V),V);break;case 59:ex+=";";default:if(Utility_append(eS=ruleset(ex,S,w,q,Q,E,F,ev,ey=[],eb=[],en,D),D),123===eg){if(0===Q)parse(ex,S,eS,eS,ey,D,en,F,eb);else switch(99===ea&&110===Utility_charat(ex,3)?100:ea){case 100:case 108:case 109:case 115:parse(o,eS,eS,_&&Utility_append(ruleset(o,eS,eS,0,0,E,F,ev,E,ey=[],en,eb),eb),E,eb,en,F,_?ey:eb);break;default:parse(ex,eS,eS,eS,[""],eb,0,F,eb)}}}q=Q=ec=0,ep=em=1,ev=ex="",en=N;break;case 58:en=1+Utility_strlen(ex),ec=ed;default:if(ep<1){if(123==eg)--ep;else if(125==eg&&0==ep++&&125==(el=es>0?Utility_charat(eu,--es):0,eo--,10===el&&(eo=1,er--),el))continue}switch(ex+=et(eg),eg*ep){case 38:em=Q>0?1:(ex+="\f",-1);break;case 44:F[q++]=(Utility_strlen(ex)-1)*em,em=1;break;case 64:45===peek()&&(ex+=delimit(next())),ea=peek(),Q=en=Utility_strlen(ev=ex+=function(o){for(;!token(peek());)next();return Utility_substr(eu,o,es)}(es)),eg++;break;case 45:45===ed&&2==Utility_strlen(ex)&&(ep=0)}}return D}("",null,null,null,[""],(en=Q=D||E?"".concat(D," ").concat(E," { ").concat(ed," }"):ed,er=eo=1,ea=Utility_strlen(eu=en),es=0,Q=[]),0,[0],Q),eu="",ec);N.namespace&&(ep=function Ve(o,S){return o.map(function(o){return"rule"===o.type&&(o.value="".concat(S," ").concat(o.value),o.value=o.value.replaceAll(",",",".concat(S," ")),o.props=o.props.map(function(o){return"".concat(S," ").concat(o)})),Array.isArray(o.children)&&"@keyframes"!==o.type&&(o.children=Ve(o.children,S)),o})}(ep,N.namespace));var eh=[];return serialize(ep,(W=(V=q.concat(function(o){var S;!o.root&&(o=o.return)&&(S=o,eh.push(S))})).length,function(o,S,w,_){for(var E="",D=0;D<W;D++)E+=V[D](o,S,w,_)||"";return E})),eh};return p.hash=V.length?V.reduce(function(o,S){return S.name||he(15),M(o,S.name)},5381).toString():"",p}var e1=new eY,e2=Fe(),e3=_.createContext({shouldForwardProp:void 0,styleSheet:e1,stylis:e2}),e4=e3.Consumer,e5=_.createContext(void 0);function Ge(){return(0,_.useContext)(e3)}function Ye(o){var S=(0,_.useState)(o.stylisPlugins),w=S[0],E=S[1],N=Ge().styleSheet,F=(0,_.useMemo)(function(){var S=N;return o.sheet?S=o.sheet:o.target&&(S=S.reconstructWithOptions({target:o.target},!1)),o.disableCSSOMInjection&&(S=S.reconstructWithOptions({useCSSOMInjection:!1})),S},[o.disableCSSOMInjection,o.sheet,o.target,N]),V=(0,_.useMemo)(function(){return Fe({options:{namespace:o.namespace,prefix:o.enableVendorPrefixes},plugins:w})},[o.enableVendorPrefixes,o.namespace,w]);(0,_.useEffect)(function(){D()(w,o.stylisPlugins)||E(o.stylisPlugins)},[o.stylisPlugins]);var U=(0,_.useMemo)(function(){return{shouldForwardProp:o.shouldForwardProp,styleSheet:F,stylis:V}},[o.shouldForwardProp,F,V]);return _.createElement(e3.Provider,{value:U},_.createElement(e5.Provider,{value:V},o.children))}var e6=function(){function e(o,S){var w=this;this.inject=function(o,S){void 0===S&&(S=e2);var _=w.name+S.hash;o.hasNameForId(w.id,_)||o.insertRules(w.id,_,S(w.rules,_,"@keyframes"))},this.name=o,this.id="sc-keyframes-".concat(o),this.rules=S,ue(this,function(){throw he(12,String(w.name))})}return e.prototype.getName=function(o){return void 0===o&&(o=e2),this.name+o.hash},e}();function He(o){for(var S="",w=0;w<o.length;w++){var _=o[w];if(1===w&&"-"===_&&"-"===o[0])return o;_>="A"&&_<="Z"?S+="-"+_.toLowerCase():S+=_}return S.startsWith("ms-")?"-"+S:S}var Ue=function(o){return null==o||!1===o||""===o},Je=function(o){var S=[];for(var w in o){var _=o[w];o.hasOwnProperty(w)&&!Ue(_)&&(Array.isArray(_)&&_.isCss||re(_)?S.push("".concat(He(w),":"),_,";"):ce(_)?S.push.apply(S,__spreadArray(__spreadArray(["".concat(w," {")],Je(_),!1),["}"],!1)):S.push("".concat(He(w),": ").concat(null==_||"boolean"==typeof _||""===_?"":"number"!=typeof _||0===_||w in ec||w.startsWith("--")?String(_).trim():"".concat(_,"px"),";")))}return S};function Xe(o,S,w,_){return Ue(o)?[]:se(o)?[".".concat(o.styledComponentId)]:re(o)?!re(o)||o.prototype&&o.prototype.isReactComponent||!S?[o]:Xe(o(S),S,w,_):o instanceof e6?w?(o.inject(w,_),[o.getName(_)]):[o]:ce(o)?Je(o):Array.isArray(o)?Array.prototype.concat.apply(ex,o.map(function(o){return Xe(o,S,w,_)})):[o.toString()]}function Ze(o){for(var S=0;S<o.length;S+=1){var w=o[S];if(re(w)&&!se(w))return!1}return!0}var e8=z(eg),e9=function(){function e(o,S,w){this.rules=o,this.staticRulesId="",this.isStatic=(void 0===w||w.isStatic)&&Ze(o),this.componentId=S,this.baseHash=M(e8,S),this.baseStyle=w,eY.registerId(S)}return e.prototype.generateAndInjectStyles=function(o,S,w){var _=this.baseStyle?this.baseStyle.generateAndInjectStyles(o,S,w):"";if(this.isStatic&&!w.hash){if(this.staticRulesId&&S.hasNameForId(this.componentId,this.staticRulesId))_=ie(_,this.staticRulesId);else{var E=ae(Xe(this.rules,o,S,w)),D=x(M(this.baseHash,E)>>>0);if(!S.hasNameForId(this.componentId,D)){var N=w(E,".".concat(D),void 0,this.componentId);S.insertRules(this.componentId,D,N)}_=ie(_,D),this.staticRulesId=D}}else{for(var F=M(this.baseHash,w.hash),V="",U=0;U<this.rules.length;U++){var W=this.rules[U];if("string"==typeof W)V+=W;else if(W){var q=ae(Xe(W,o,S,w));F=M(F,q+U),V+=q}}if(V){var Q=x(F>>>0);S.hasNameForId(this.componentId,Q)||S.insertRules(this.componentId,Q,w(V,".".concat(Q),void 0,this.componentId)),_=ie(_,Q)}}return _},e}(),e7=_.createContext(void 0),te=e7.Consumer;function nt(){var o=(0,_.useContext)(e7);if(!o)throw he(18);return o}function ot(o){var S=_.useContext(e7),w=(0,_.useMemo)(function(){return function(o,S){if(!o)throw he(14);if(re(o))return o(S);if(Array.isArray(o)||"object"!=typeof o)throw he(8);return S?__assign(__assign({},S),o):o}(o.theme,S)},[o.theme,S]);return o.children?_.createElement(e7.Provider,{value:w},o.children):null}var tt={};function it(o,S,w){var E,D,N,F,V=se(o),U=!L(o),W=S.attrs,q=void 0===W?ex:W,Q=S.componentId,Y=void 0===Q?(E=S.displayName,D=S.parentComponentId,tt[N="string"!=typeof E?"sc":R(E)]=(tt[N]||0)+1,F="".concat(N,"-").concat($(eg+N+tt[N])),D?"".concat(D,"-").concat(F):F):Q,et=S.displayName,en=void 0===et?L(o)?"styled.".concat(o):"Styled(".concat(B(o),")"):et,er=S.displayName&&S.componentId?"".concat(R(S.displayName),"-").concat(S.componentId):S.componentId||Y,eo=V&&o.attrs?o.attrs.concat(q).filter(
vendor: 1,855 bytes, line 50
50Boolean):q,ea=S.shouldForwardProp;if(V&&o.shouldForwardProp){var es=o.shouldForwardProp;if(S.shouldForwardProp){var el=S.shouldForwardProp;ea=function(o,S){return es(o,S)&&el(o,S)}}else ea=es}var eu=new e9(w,er,V?o.componentStyle:void 0);function O(o,S){return function(o,S,w){var E,D=o.attrs,N=o.componentStyle,F=o.defaultProps,V=o.foldedComponentIds,U=o.styledComponentId,W=o.target,q=_.useContext(e7),Q=Ge(),Y=o.shouldForwardProp||Q.shouldForwardProp,et=I(S,q,F)||ew,en=function(o,S,w){for(var _,E=__assign(__assign({},S),{className:void 0,theme:w}),D=0;D<o.length;D+=1){var N=re(_=o[D])?_(E):_;for(var F in N)E[F]="className"===F?ie(E[F],N[F]):"style"===F?__assign(__assign({},E[F]),N[F]):N[F]}return S.className&&(E.className=ie(E.className,S.className)),E}(D,S,et),er=en.as||W,eo={};for(var ea in en)void 0===en[ea]||"$"===ea[0]||"as"===ea||"theme"===ea&&en.theme===et||("forwardedAs"===ea?eo.as=en.forwardedAs:Y&&!Y(ea,er)||(eo[ea]=en[ea]));var es=(E=Ge(),N.generateAndInjectStyles(en,E.styleSheet,E.stylis)),el=ie(V,U);return es&&(el+=" "+es),en.className&&(el+=" "+en.className),eo[L(er)&&!e_.has(er)?"class":"className"]=el,eo.ref=w,(0,_.createElement)(er,eo)}(ec,o,S)}O.displayName=en;var ec=_.forwardRef(O);return ec.attrs=eo,ec.componentStyle=eu,ec.displayName=en,ec.shouldForwardProp=ea,ec.foldedComponentIds=V?ie(o.foldedComponentIds,o.styledComponentId):"",ec.styledComponentId=er,ec.target=V?o.target:o,Object.defineProperty(ec,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(S){this._foldedDefaultProps=V?function(o){for(var S=[],w=1;w<arguments.length;w++)S[w-1]=arguments[w];for(var _=0;_<S.length;_++)(function le(o,S,w){if(void 0===w&&(w=!1),!w&&!ce(o)&&!Array.isArray(o))return S;if(Array.isArray(S))for(var _=0;_<S.length;_++)o[_]=le(o[_],S[_]);else if(ce(S))for(var _ in S)o[_]=le(o[_],S[_]);return o}
50)(o,S[_],!0);return o}({},o.defaultProps,S):S}}),ue(ec,function(){return".".concat(ec.styledComponentId)}),U&&oe(ec,o,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),ec}function at(o,S){for(var w=[o[0]],_=0,E=S.length;_<E;_+=1)w.push(S[_],o[_+1]);return w}var ct=function(o){return Object.assign(o,{isCss:!0})};function lt(o){for(var S=[],w=1;w<arguments.length;w++)S[w-1]=arguments[w];return re(o)||ce(o)?ct(Xe(at(ex,__spreadArray([o],S,!0)))):0===S.length&&1===o.length&&"string"==typeof o[0]?Xe(o):ct(Xe(at(o,S)))}var pt=function(o){return function ut(o,S,w){if(void 0===w&&(w=ew),!S)throw he(1,S);var s=function(_){for(var E=[],D=1;D<arguments.length;D++)E[D-1]=arguments[D];return o(S,w,lt.apply(void 0,__spreadArray([_],E,!1)))};return s.attrs=function(_){return ut(o,S,__assign(__assign({},w),{attrs:Array.prototype.concat(w.attrs,_).filter(Boolean)}))},s.withConfig=function(_){return ut(o,S,__assign(__assign({},w),_))},s}(it,o)},tn=pt;e_.forEach(function(o){tn[o]=pt(o)});var tr=function(){function e(o,S){this.rules=o,this.componentId=S,this.isStatic=Ze(o),eY.registerId(this.componentId+1)}return e.prototype.createStyles=function(o,S,w,_){var E=_(ae(Xe(this.rules,S,w,_)),""),D=this.componentId+o;w.insertRules(D,D,E)},e.prototype.removeStyles=function(o,S){S.clearRules(this.componentId+o)},e.prototype.renderStyles=function(o,S,w,_){o>2&&eY.registerId(this.componentId+o),this.removeStyles(o,w),this.createStyles(o,S,w,_)},e}();function ft(o){for(var S=[],w=1;w<arguments.length;w++)S[w-1]=arguments[w];var E=lt.apply(void 0,__spreadArray([o],S,!1)),D="sc-global-".concat($(JSON.stringify(E))),N=new tr(E,D),l=function(o){var S=Ge(),w=_.useContext(e7),E=_.useRef(S.styleSheet.allocateGSInstance(D)).current;return S.styleSheet.server&&u(E,o,S.styleSheet,w,S.stylis),_.useLayoutEffect(function(){if(!S.styleSheet.server)return u(E,o,S.styleSheet,w,S.stylis),function(){return N.removeStyles(E,S.styleSheet)}},[E,o,S.styleSheet,w,S.stylis]),null};function u(o,S,w,_,E){if(N.isStatic)N.renderStyles(o,eS,w,E);else{var D=__assign(__assign({},S),{theme:I(S,_,l.defaultProps)});N.renderStyles(o,D,w,E)}}return _.memo(l)}function mt(o){for(var S=[],w=1;w<arguments.length;w++)S[w-1]=arguments[w];var _=ae(lt.apply(void 0,__spreadArray([o],S,!1))),E=$(_);return new e6(E,_)}function yt(o){var S=_.forwardRef(function(S,w){var E=I(S,_.useContext(e7),o.defaultProps);return _.createElement(o,__assign({},S,{theme:E,ref:w}))});return S.displayName="WithTheme(".concat(B(o),")"),oe(S,o)}var ti=function(){function e(){var o=this;this._emitSheetCSS=function(){var S=o.instance.toString();if(!S)return"";var _=w.nc,E=ae([_&&'nonce="'.concat(_,'"'),"".concat(ep,'="true"'),"".concat(em,'="').concat(eg,'"')].filter(Boolean)," ");return"<style ".concat(E,">").concat(S,"</style>")},this.getStyleTags=function(){if(o.sealed)throw he(2);return o._emitSheetCSS()}
50,this.getStyleElement=function(){if(o.sealed)throw he(2);var S,E=o.instance.toString();if(!E)return[];var D=((S={})[ep]="",S[em]=eg,S.dangerouslySetInnerHTML={__html:E},S),N=w.nc;return N&&(D.nonce=N),[_.createElement("style",__assign({},D,{key:"sc-0-0"}))]},this.seal=function(){o.sealed=!0},this.instance=new eY({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(o){if(this.sealed)throw he(2);return _.createElement(Ye,{sheet:this.instance},o)},e.prototype.interleaveWithNodeStream=function(o){throw he(3)},e}(),to={StyleSheet:eY,mainSheet:e1}},77635:function(o){"undefined"!=typeof self&&self,o.exports=function(o){function t(w){if(S[w])return S[w].exports;var _=S[w]={i:w,l:!1,exports:{}};return o[w].call(_.exports,_,_.exports,t),_.l=!0,_.exports}var S={};return t.m=o,t.c=S,t.d=function(o,S,w){t.o(o,S)||Object.defineProperty(o,S,{configurable:!1,enumerable:!0,get:w})},t.n=function(o){var S=o&&o.__esModule?function(){return o.default}:function(){return o};return t.d(S,"a",S),S},t.o=function(o,S){return Object.prototype.hasOwnProperty.call(o,S)},t.p="",t(t.s=0)}([function(o,S,w){"use strict";function r(o,S,w,E,D){var N=E&&D.arrayPrefix||"";return"object"===(void 0===S?"undefined":_(S))?""+u(S,""+w+(""+o)+N+(w&&"]")+"[",D):w&&w.length?""+w+o+"]"+N+"="+encodeURIComponent(S):""+o+N+"="+encodeURIComponent(S)}function u(o){var S=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",w=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(Array.isArray(o)?o.map(function(o,_){return r(""+_,o,S,!0,w)}):Object.keys(o).filter(function(S){return void 0!==o[S]}).map(function(_){return o[_]&&Array.isArray(o[_])?function(o,S,w){var _=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return S.map(function(S){return r(o,S,w,!0,_)}).join("&")}(""+_,o[_],S,w):r(_,o[_],S,!1,w)})).join("&").replace(/%20/g,"+")}Object.defineProperty(S,"__esModule",{value:!0});var _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o};S.default=u}])},15446:function(o,S,w){"use strict";function extends_extends(){return(extends_extends=Object.assign||function(o){for(var S=1;S<arguments.length;S++){var w=arguments[S];for(var _ in w)Object.prototype.hasOwnProperty.call(w,_)&&(o[_]=w[_])}return o}).apply(this,arguments)}w.d(S,{Ch:function(){return useUncontrolled}});var _=w(63366),E=w(67294);function defaultKey(o){return"default"+o.charAt(0).toUpperCase()+o.substr(1)}function _toPropertyKey(o){var S=function(o,S){if("object"!=typeof o||null===o)return o;var w=o[Symbol.toPrimitive];if(void 0!==w){var _=w.call(o,S||"default");if("object"!=typeof _)return _;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===S?String:Number)(o)}(o,"string");return"symbol"==typeof S?S:String(S)}function useUncontrolled(o,S){return Object.keys(S).reduce(function(w,D){var N,F,V,U,W,q,Q,Y,et=w[defaultKey(D)],en=w[D],er=(0,_.Z)(w,[defaultKey(D),D].map(_toPropertyKey)),eo=S[D],ea=(N=o[eo],F=(0,E.useRef)(void 0!==en),U=(V=(0,E.useState)(et))[0],W=V[1],q=void 0!==en,Q=F.current,F.current=q,!q&&Q&&U!==et&&W(et),[q?en:U,(0,E.useCallback)(function(o){for(var S=arguments.length,w=Array(S>1?S-1:0),_=1;_<S;_++)w[_-1]=arguments[_];N&&N.apply(void 0,[o].concat(w)),W(o)},[N])]),es=ea[0],el=ea[1];return extends_extends({},er,((Y={})[D]=es,Y[eo]=el,Y))},o)}w(41143)},59486:function(o,S){var w,_;void 0!==(_="function"==typeof(w=function(){"use strict";var o={linear:function(o){return o},easeInQuad:function(o){return o*o},easeOutQuad:function(o){return o*(2-o)},easeInOutQuad:function(o){return .5>o?2*o*o:-1+(4-2*o)*o},easeInCubic:function(o){return o*o*o},easeOutCubic:function(o){return--o*o*o+1},easeInOutCubic:function(o){return .5>o?4*o*o*o:(o-1)*(2*o-2)*(2*o-2)+1},easeInQuart:function(o){return o*o*o*o},easeOutQuart:function(o){return 1- --o*o*o*o},easeInOutQuart:function(o){return .5>o?8*o*o*o*o:1-8*--o*o*o*o},easeInQuint:function(o){return o*o*o*o*o},easeOutQuint:function(o){return 1+--o*o*o*o*o},easeInOutQuint:function(o){return .5>o?16*o*o*o*o*o:1+16*--o*o*o*o*o}},e=function(o,S,w){S&&Object.defineProperties(o,S),w&&Object.defineProperties(o.prototype,w)},i=function(o,S){if(!(o instanceof S))throw TypeError("Cannot call a class as a function")};return function(){function n(S){var w=this,_=S.el,E=S.transitionTime,D=S.invert,N=S.scrollTimeout,F=S.easingFunction,V=void 0===F?o.easeOutQuint:F,U=S.debug;if(i(this,n),!_)throw Error("Missing video element ref.");this.el=_,this.transitionTime=void 0===E?2e3:E,this.invert=void 0!==D&&D,this.scrollTimeout=void 0===N?300:N,this.easingFunction="function"==typeof V?V:o[V],this.debug=void 0!==U&&U,n.isCompatibleWithCurrentBrowser()&&(this.el.getAttribute("data-src")?this.getVideo():this.el.readyState>1?this.init():this.el.addEventListener("loadeddata",function(){return w.init()}))}return e(n,{isCompatibleWithCurrentBrowser:{value:function(){return!!(window.URL&&window.URL.createObjectURL&&XMLHttpRequest)},writable:!0,configurable:!0}},{getVideo:{value:function(){var o=this,S=new XMLHttpRequest;S.open("get",this.el.getAttribute("data-src"),!0),S.responseType="blob",S.withCredentials=!1,S.onload=function(){o.el.addEventListener("loadeddata",function(){return o.init()}),o.el.src=window.URL.createObjectURL(S.response)},S.onprogress=function(S){var w=Math.round(S.loaded/S.total*100);o.debug&&console.log("onprogress",w+"%")},S.onreadystatechange=function(){o.debug&&console.log("onreadystatechange",S.readyState)},S.send()},writable:!0,configurable:!0},init:{value:function(){var o=this;this.videoDuration=this.el.duration,this.debug&&(this.el.controls=!0),this.el.className=this.el.className+" video-scroller-ready",window.addEventListener("scroll",function(){return o.onScroll()},!1),this.start(this.inView(this.el))},writable:!0,configurable:!0},start:{value:function(o){var S=this;this.startTime=Date.now(),this.currentTime=this.el.currentTime,this.targetDuration=this.videoDuration*o-this.el.currentTime,this.debug&&console.log("time=",o,"targetTime=",this.currentTime,"targetDuration",this.targetDuration),this.intervalTimer||(this.intervalTimer=setInterval(function(){return S.loop()},60))},writable:!0,configurable:!0},loop:{value:function(){var o=(Date.now()-this.startTime)/this.transitionTime,S=this.easingFunction(o);o>=1||(this.el.currentTime=this.currentTime+this.targetDuration*S,this.el.pause())},writable:!0,configurable:!0},inView:{value:function(){var o=window.innerHeight,S=this.el.getBoundingClientRect().top,w=this.el.offsetHeight,_=S-o;_>0&&(_=0);var E=Math.abs(_)/(o+w);return this.invert||(E=1-E),E>1?1:0>E?0:E},writable:!0,configurable:!0},onScroll:{value:function(){var o=this;this.isWaiting||(this.isWaiting=!0,setTimeout(function(){o.isWaiting=!1;var S=o.inView(o.el);void 0!==S&&o.start(S)},this.scrollTimeout))},writable:!0,configurable:!0}}),n}()})?w.apply(S,[]):w)&&(o.exports=_)},42473:function(o){"use strict";o.exports=function(){}},75068:function(o,S,w){"use strict";function _setPrototypeOf(o,S){return(_setPrototypeOf=Object.setPrototypeOf||function(o,S){return o.__proto__=S,o})(o,S)}function _inheritsLoose(o,S){o.prototype=Object.create(S.prototype),o.prototype.constructor=o,_setPrototypeOf(o,S)}w.d(S,{Z:function(){return _inheritsLoose}})},63366:function(o,S,w){"use strict";
50function _objectWithoutPropertiesLoose(o,S){if(null==o)return{};var w,_,E={},D=Object.keys(o);for(_=0;_<D.length;_++)w=D[_],S.indexOf(w)>=0||(E[w]=o[w]);return E}w.d(S,{Z:function(){return _objectWithoutPropertiesLoose}})},62212:function(o,S,w){"use strict";w.d(S,{Nc:function(){return q}});var _=w(67294),E=w(85893),D=(0,_.forwardRef)(({as:o="div",...S},w)=>(0,E.jsx)(o,{...S,ref:w}));let N="onloadTurnstileCallback",p=o=>!!document.getElementById(o),m=({render:o="explicit",onLoadCallbackName:S=N,scriptOptions:{nonce:w="",defer:_=!0,async:E=!0,id:D="",appendTo:F,onError:V,crossOrigin:U=""}={}})=>{let W=D||"cf-turnstile-script";if(p(W))return;let q=document.createElement("script");q.id=W,q.src=`https://challenges.cloudflare.com/turnstile/v0/api.js?onload=${S}&render=${o}`,document.querySelector(`script[src="${q.src}"]`)||(q.defer=!!_,q.async=!!E,w&&q.setAttribute("nonce",w),U&&(q.crossOrigin=U),V&&(q.onerror=V,delete window[S]),("body"===F?document.body:document.getElementsByTagName("head")[0]).appendChild(q))},F={normal:{width:300,height:65},compact:{width:150,height:140},invisible:{width:0,height:0,overflow:"hidden"},flexible:{minWidth:300,width:"100%",height:65}},V="unloaded",U,W=new Promise((o,S)=>{U={resolve:o,reject:S},"ready"===V&&o(void 0)}),x=(o=N)=>("unloaded"===V&&(V="loading",window[o]=()=>{U.resolve(),V="ready",delete window[o]}),W),q=(0,_.forwardRef)((o,S)=>{let{scriptOptions:w,options:N={},siteKey:U,onWidgetLoad:W,onSuccess:q,onExpire:Q,onError:Y,onBeforeInteractive:et,onAfterInteractive:en,onUnsupported:er,onTimeout:eo,onLoadScript:ea,id:es,style:el,as:eu="div",injectScript:ec=!0,rerenderOnCallbackChange:ed=!1,...ep}=o,eh=N.size,em=(0,_.useMemo)(()=>{if(void 0===eh)return{};let o=F[eh];return"interaction-only"===N.appearance?{...o,height:"auto"}:o},[eh,N.appearance]),eg="execute"===N.execution?F.invisible:em,[ev,ey]=(0,_.useState)(eg),eb=(0,_.useRef)(null),[eS,ex]=(0,_.useState)(!1),ew=(0,_.useRef)(void 0),e_=(0,_.useRef)(!1),eE=es||"cf-turnstile",eT=(0,_.useRef)({onSuccess:q,onError:Y,onExpire:Q,onBeforeInteractive:et,onAfterInteractive:en,onUnsupported:er,onTimeout:eo});(0,_.useEffect)(()=>{ed||(eT.current={onSuccess:q,onError:Y,onExpire:Q,onBeforeInteractive:et,onAfterInteractive:en,onUnsupported:er,onTimeout:eo})});let eP=w?.id||"cf-turnstile-script",eC=function(o="cf-turnstile-script"){let[S,w]=(0,_.useState)(!1);return(0,_.useEffect)(()=>{let t=()=>{p(o)&&w(!0)},S=new MutationObserver(t);return S.observe(document,{childList:!0,subtree:!0}),t(),()=>{S.disconnect()}},[o]),S}(eP),ek=w?.onLoadCallbackName||"onloadTurnstileCallback",eO=(0,_.useMemo)(()=>({sitekey:U,action:N.action,cData:N.cData,theme:N.theme||"auto",language:N.language||"auto",tabindex:N.tabIndex,"response-field":N.responseField,"response-field-name":N.responseFieldName,size:function(o){if("invisible"!==o)return o}(eh),retry:N.retry||"auto","retry-interval":N.retryInterval||8e3,"refresh-expired":N.refreshExpired||"auto","refresh-timeout":N.refreshTimeout||"auto",execution:N.execution||"render",appearance:N.appearance||"always","feedback-enabled":N.feedbackEnabled??!0,"offlabel-show-privacy":N.offlabelShowPrivacy??!0,"offlabel-show-help":N.offlabelShowHelp??!0,callback:o=>{e_.current=!0,ed?q?.(o):eT.current.onSuccess?.(o)},"error-callback":ed?Y:(...o)=>eT.current.onError?.(...o),"expired-callback":ed?Q:(...o)=>eT.current.onExpire?.(...o),"before-interactive-callback":ed?et:(...o)=>eT.current.onBeforeInteractive?.(...o),"after-interactive-callback":ed?en:(...o)=>eT.current.onAfterInteractive?.(...o),"unsupported-callback":ed?er:(...o)=>eT.current.onUnsupported?.(...o),"timeout-callback":ed?eo:(...o)=>eT.current.onTimeout?.(...o)}),[N.action,N.appearance,N.cData,N.execution,N.language,N.refreshExpired,N.responseField,N.responseFieldName,N.retry,N.retryInterval,N.tabIndex,N.theme,N.feedbackEnabled,N.offlabelShowPrivacy,N.offlabelShowHelp,N.refreshTimeout,U,eh,ed,ed?q:null,ed?Y:null,ed?Q:null,ed?et:null,ed?en:null,ed?er:null,ed?eo:null]),eR=(0,_.useCallback)(()=>"u">typeof window&&!!window.turnstile,[]),eA=(0,_.useCallback)((o,S)=>{try{return window.turnstile.render(o,S)}catch(S){let o=ed?Y:eT.current.onError;o?o(S instanceof Error?S.message:String(S)):console.error(S);return}},[ed,ed?Y:null]);return(0,_.useEffect)(function(){ec&&!eS&&(x(ek),m({onLoadCallbackName:ek,scriptOptions:{...w,id:eP}}))},[ec,eS,w,eP,ek]),(0,_.useEffect)(function(){"ready"!==V&&x(ek).then(()=>ex(!0)).catch(console.error)},[ek]),(0,_.useEffect)(function(){if(!eb.current||!eS)return;let o=!1;return(async()=>
50{if(o||!eb.current)return;let S=eA(eb.current,eO);ew.current=S,ey(eg),ew.current&&W?.(ew.current)})(),()=>{o=!0,ew.current&&(window.turnstile.remove(ew.current),e_.current=!1)}},[eE,eS,eO,eg,eA]),(0,_.useImperativeHandle)(S,()=>{let{turnstile:o}=window;return{getResponse(){if(!o?.getResponse||!ew.current||!eR()){console.warn("Turnstile has not been loaded");return}return o.getResponse(ew.current)},getResponsePromise:async(o=3e4,S=100)=>new Promise((w,_)=>{let E,a=async()=>{if(e_.current&&window.turnstile&&ew.current)try{let o=window.turnstile.getResponse(ew.current);return E&&clearTimeout(E),o?w(o):_(Error("No response received"))}catch(o){return E&&clearTimeout(E),console.warn("Failed to get response",o),_(Error("Failed to get response"))}E||=setTimeout(()=>{E&&clearTimeout(E),_(Error("Timeout"))},o),await new Promise(o=>setTimeout(o,S)),await a()};a()}),reset(){if(!o?.reset||!ew.current||!eR()){console.warn("Turnstile has not been loaded");return}ey(eg);try{e_.current=!1,o.reset(ew.current)}catch(o){console.warn(`Failed to reset Turnstile widget ${ew.current}`,o)}},remove(){if(!o?.remove||!ew.current||!eR()){console.warn("Turnstile has not been loaded");return}ey(F.invisible),e_.current=!1,o.remove(ew.current),ew.current=null},render(){if(!o?.render||!eb.current||!eR()||ew.current){console.warn("Turnstile has not been loaded or container not found");return}let S=eA(eb.current,eO);return ew.current=S,ew.current&&W?.(ew.current),ey(eg),S},execute(){if("execute"!==N.execution){console.warn('Execution mode is not set to "execute"');return}if(!o?.execute||!eb.current||!ew.current||!eR()){console.warn("Turnstile has not been loaded or container not found");return}o.execute(eb.current),ey(em)},isExpired:()=>o?.isExpired&&ew.current&&eR()?o.isExpired(ew.current):(console.warn("Turnstile has not been loaded"),!1)}},[ew,N.execution,eO,eb,eR,eA,eS,W,eg,em]),(0,_.useEffect)(()=>{if(eS||!eC)return;if(window.turnstile){ex(!0);return}let o=setInterval(()=>{window.turnstile&&(ex(!0),clearInterval(o))},50);return()=>{clearInterval(o)}},[eS,eC]),(0,_.useEffect)(()=>{ey(eg)},[eg]),(0,_.useEffect)(()=>{eC&&"function"==typeof ea&&ea()},[eC]),(0,E.jsx)(D,{ref:eb,as:eu,id:eE,style:{...ev,...el},...ep})});q.displayName="Turnstile"},52855:function(o,S,w){"use strict";w.d(S,{E:function(){return nT}});var _,E,D,N,F,V=w(2888),U=w(67294),W=w(34155),q=(void 0===W||W.env,"production"),createDefinition=function(o){return{isEnabled:function(S){return o.some(function(o){return!!S[o]})}}},Q={measureLayout:createDefinition(["layout","layoutId","drag"]),animation:createDefinition(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:createDefinition(["exit"]),drag:createDefinition(["drag","dragControls"]),focus:createDefinition(["whileFocus"]),hover:createDefinition(["whileHover","onHoverStart","onHoverEnd"]),tap:createDefinition(["whileTap","onTap","onTapStart","onTapCancel"]),pan:createDefinition(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:createDefinition(["whileInView","onViewportEnter","onViewportLeave"])},warning=function(){},invariant=function(){},Y=(0,U.createContext)({strict:!1}),et=Object.keys(Q),en=et.length,er=(0,U.createContext)({transformPagePoint:function(o){return o},isStatic:!1,reducedMotion:"never"}),eo=(0,U.createContext)({}),ea=(0,U.createContext)(null),es="undefined"!=typeof document,el=es?U.useLayoutEffect:U.useEffect,eu={current:null},ec=!1;function isRefObject(o){return"object"==typeof o&&Object.prototype.hasOwnProperty.call(o,"current")}function isVariantLabels(o){return Array.isArray(o)}function isVariantLabel(o){return"string"==typeof o||isVariantLabels(o)}function resolveVariantFromProps(o,S,w,_,E){var D;return void 0===_&&(_={}),void 0===E&&(E={}),"function"==typeof S&&(S=S(null!=w?w:o.custom,_,E)),"string"==typeof S&&(S=null===(D=o.variants)||void 0===D?void 0:D[S]),"function"==typeof S&&(S=S(null!=w?w:o.custom,_,E)),S}function resolveVariant(o,S,w){var _,E,D=o.getProps();return resolveVariantFromProps(D,S,null!=w?w:D.custom,(_={},o.forEachValue(function(o,S){return _[S]=o.get()}),_),(E={},o.forEachValue(function(o,S){return E[S]=o.getVelocity()}),E))}function checkIfControllingVariants(o){var S;return"function"==typeof(null===(S=o.animate)||void 0===S?void 0:S.start)||isVariantLabel(o.initial)||isVariantLabel(o.animate)||isVariantLabel(o.whileHover)||isVariantLabel(o.whileDrag)||isVariantLabel(o.whileTap)||isVariantLabel(o.whileFocus)||isVariantLabel(o.exit)}function checkIfVariantNode(o){return!!(checkIfControllingVariants(o)||o.variants)}function variantLabelsAsDependency(o){return Array.isArray(o)?o.join(" "):o}function useConstant(o){var S=(0,U.useRef)(null);return null===S.current&&(S.current=o()),S.current}var ed={hasAnimatedSinceResize:!0,hasEverUpdated:!1},ep=1,eh=(0,U.createContext)({}),em=(0,U.createContext)({}),eg=function(o){function VisualElementHandler(){return null!==o&&o.apply(this,arguments)||this}return(0,V.ZT)(VisualElementHandler,o),VisualElementHandler.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},VisualElementHandler.prototype.componentDidUpdate=function(){},VisualElementHandler.prototype.updateProps=function(){var o=this.props,S=o.visualElement,w=o.props;S&&S.setProps(w)},VisualElementHandler.prototype.render=function(){return this.props.children},VisualElementHandler}(U.Component),ev=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function isSVGComponent(o){if("string"!=typeof o||o.includes("-"));else if(ev.indexOf(o)>-1||/[A-Z]/.test(o))return!0;return!1}var ey={},eb=["","X","Y","Z"],eS=["transformPerspective","x","y","z"];function sortTransformProps(o,S){return eS.indexOf(o)-eS.indexOf(S)}["translate","scale","rotate","skew"].forEach(function(o){return eb.forEach(function(S){return eS.push(o+S)})});var ex=new Set(eS);function isTransformProp(o){return ex.has(o)}var ew=new Set(["originX","originY","originZ"]);function isForcedMotionValue(o,S){var w=S.layout,_=S.layoutId;
50return isTransformProp(o)||ew.has(o)||(w||void 0!==_)&&(!!ey[o]||"opacity"===o)}var isMotionValue=function(o){return!!(null!==o&&"object"==typeof o&&o.getVelocity)},e_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function isCSSVariable(o){return o.startsWith("--")}let clamp=(o,S)=>w=>Math.max(Math.min(w,S),o),sanitize=o=>o%1?Number(o.toFixed(5)):o,eE=/(-)?([\d]*\.?[\d])+/g,eT=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,eP=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function isString(o){return"string"==typeof o}let createUnitType=o=>({test:S=>isString(S)&&S.endsWith(o)&&1===S.split(" ").length,parse:parseFloat,transform:S=>`${S}${o}`}),eC=createUnitType("deg"),ek=createUnitType("%"),eO=createUnitType("px"),eR=createUnitType("vh"),eA=createUnitType("vw"),eM=Object.assign(Object.assign({},ek),{parse:o=>ek.parse(o)/100,transform:o=>ek.transform(100*o)}),ej={test:o=>"number"==typeof o,parse:parseFloat,transform:o=>o},eL=Object.assign(Object.assign({},ej),{transform:clamp(0,1)}),eI=Object.assign(Object.assign({},ej),{default:1});var eD=(0,V.pi)((0,V.pi)({},ej),{transform:Math.round}),eN={borderWidth:eO,borderTopWidth:eO,borderRightWidth:eO,borderBottomWidth:eO,borderLeftWidth:eO,borderRadius:eO,radius:eO,borderTopLeftRadius:eO,borderTopRightRadius:eO,borderBottomRightRadius:eO,borderBottomLeftRadius:eO,width:eO,maxWidth:eO,height:eO,maxHeight:eO,size:eO,top:eO,right:eO,bottom:eO,left:eO,padding:eO,paddingTop:eO,paddingRight:eO,paddingBottom:eO,paddingLeft:eO,margin:eO,marginTop:eO,marginRight:eO,marginBottom:eO,marginLeft:eO,rotate:eC,rotateX:eC,rotateY:eC,rotateZ:eC,scale:eI,scaleX:eI,scaleY:eI,scaleZ:eI,skew:eC,skewX:eC,skewY:eC,distance:eO,translateX:eO,translateY:eO,translateZ:eO,x:eO,y:eO,z:eO,perspective:eO,transformPerspective:eO,opacity:eL,originX:eM,originY:eM,originZ:eO,zIndex:eD,fillOpacity:eL,strokeOpacity:eL,numOctaves:eD};function buildHTMLStyles(o,S,w,_){var E,D,N,F,V,U,W=o.style,q=o.vars,Q=o.transform,Y=o.transformKeys,et=o.transformOrigin;Y.length=0;var en=!1,er=!1,eo=!0;for(var ea in S){var es=S[ea];if(isCSSVariable(ea)){q[ea]=es;continue}var el=eN[ea],eu=el&&"number"==typeof es?el.transform(es):es;if(isTransformProp(ea)){if(en=!0,Q[ea]=eu,Y.push(ea),!eo)continue;es!==(null!==(U=el.default)&&void 0!==U?U:0)&&(eo=!1)}else ew.has(ea)?(et[ea]=eu,er=!0):W[ea]=eu}en?W.transform=function(o,S,w,_){var E=o.transform,D=o.transformKeys,N=S.enableHardwareAcceleration,F=S.allowTransformNone,V="";D.sort(sortTransformProps);for(var U=!1,W=D.length,q=0;q<W;q++){var Q=D[q];V+="".concat(e_[Q]||Q,"(").concat(E[Q],") "),"z"===Q&&(U=!0)}return!U&&(void 0===N||N)?V+="translateZ(0)":V=V.trim(),_?V=_(E,w?"":V):(void 0===F||F)&&w&&(V="none"),V}(o,w,eo,_):_?W.transform=_({},""):!S.transform&&W.transform&&(W.transform="none"),er&&(W.transformOrigin=(E=et.originX,N=void 0===(D=et.originY)?"50%":D,V=void 0===(F=et.originZ)?0:F,"".concat(void 0===E?"50%":E," ").concat(N," ").concat(V)))}var createHtmlRenderState=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function copyRawValuesOnly(o,S,w){for(var _ in S)isMotionValue(S[_])||isForcedMotionValue(_,w)||(o[_]=S[_])}var eF=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function isValidMotionProp(o){return eF.has(o)}var shouldForward=function(o){return!isValidMotionProp(o)};try{(_=require("@emotion/is-prop-valid").default)&&(shouldForward=function(o){return o.startsWith("on")?!isValidMotionProp(o):_(o)})}catch(o){}function calcOrigin(o,S,w){return"string"==typeof o?o:eO.transform(S+w*o)}var eV={offset:"stroke-dashoffset",array:"stroke-dasharray"},ez={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGAttrs(o,S,w,_){var E,D,N,F,U,W,q,Q,Y,et,en=S.attrX,er=S.attrY,eo=S.originX,ea=S.originY,es=S.pathLength,el=S.pathSpacing,eu=S.pathOffset;buildHTMLStyles(o,(0,V._T)(S,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),w,_),o.attrs=o.style,o.style={};var ec=o.attrs,ed=o.style,ep=o.dimensions;ec.transform&&(ep&&(ed.transform=ec.transform),delete ec.transform),ep&&(void 0!==eo||void 0!==ea||ed.transform)&&(ed.transformOrigin=(E=void 0!==eo?eo:.5,D=void 0!==ea?ea:.5,N=calcOrigin(E,ep.x,ep.width),F=calcOrigin(D,ep.y,ep.height),"".concat(N," ").concat(F))),void 0!==en&&(ec.x=en),void 0!==er&&(ec.y=er),void 0!==es&&(q
50=!1,void 0===(U=void 0===el?1:el)&&(U=1),void 0===(W=void 0===eu?0:eu)&&(W=0),void 0===q&&(q=!0),ec.pathLength=1,ec[(Q=q?eV:ez).offset]=eO.transform(-W),Y=eO.transform(es),et=eO.transform(U),ec[Q.array]="".concat(Y," ").concat(et))}var createSvgRenderState=function(){return(0,V.pi)((0,V.pi)({},createHtmlRenderState()),{attrs:{}})},eB=/([a-z])([A-Z])/g,camelToDash=function(o){return o.replace(eB,"$1-$2").toLowerCase()};function renderHTML(o,S,w,_){var E=S.style,D=S.vars;for(var N in Object.assign(o.style,E,_&&_.getProjectionStyles(w)),D)o.style.setProperty(N,D[N])}var eU=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function renderSVG(o,S,w,_){for(var E in renderHTML(o,S,void 0,_),S.attrs)o.setAttribute(eU.has(E)?E:camelToDash(E),S.attrs[E])}function scrapeMotionValuesFromProps(o){var S=o.style,w={};for(var _ in S)(isMotionValue(S[_])||isForcedMotionValue(_,o))&&(w[_]=S[_]);return w}function scrape_motion_values_scrapeMotionValuesFromProps(o){var S=scrapeMotionValuesFromProps(o);for(var w in o)isMotionValue(o[w])&&(S["x"===w||"y"===w?"attr"+w.toUpperCase():w]=o[w]);return S}function isAnimationControls(o){return"object"==typeof o&&"function"==typeof o.start}var isKeyframesTarget=function(o){return Array.isArray(o)},resolveFinalValueInKeyframes=function(o){return isKeyframesTarget(o)?o[o.length-1]||0:o};function resolveMotionValue(o){var S=isMotionValue(o)?o.get():o;return S&&"object"==typeof S&&S.mix&&S.toValue?S.toValue():S}function makeState(o,S,w,_){var E=o.scrapeMotionValuesFromProps,D=o.createRenderState,N=o.onMount,F={latestValues:function(o,S,w,_){var E={},D=(null==w?void 0:w.initial)===!1,N=_(o);for(var F in N)E[F]=resolveMotionValue(N[F]);var U=o.initial,W=o.animate,q=checkIfControllingVariants(o),Q=checkIfVariantNode(o);S&&Q&&!q&&!1!==o.inherit&&(null!=U||(U=S.initial),null!=W||(W=S.animate));var Y=D||!1===U,et=Y?W:U;return et&&"boolean"!=typeof et&&!isAnimationControls(et)&&(Array.isArray(et)?et:[et]).forEach(function(S){var w=resolveVariantFromProps(o,S);if(w){var _=w.transitionEnd;w.transition;var D=(0,V._T)(w,["transitionEnd","transition"]);for(var N in D){var F=D[N];if(Array.isArray(F)){var U=Y?F.length-1:0;F=F[U]}null!==F&&(E[N]=F)}for(var N in _)E[N]=_[N]}}),E}(S,w,_,E),renderState:D()};return N&&(F.mount=function(o){return N(S,o,F)}),F}var makeUseVisualState=function(o){return function(S,w){var _=(0,U.useContext)(eo),E=(0,U.useContext)(ea);return w?makeState(o,S,_,E):useConstant(function(){return makeState(o,S,_,E)})}},eH={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:scrape_motion_values_scrapeMotionValuesFromProps,createRenderState:createSvgRenderState,onMount:function(o,S,w){var _=w.renderState,E=w.latestValues;try{_.dimensions="function"==typeof S.getBBox?S.getBBox():S.getBoundingClientRect()}catch(o){_.dimensions={x:0,y:0,width:0,height:0}}buildSVGAttrs(_,E,{enableHardwareAcceleration:!1},o.transformTemplate),renderSVG(S,_)}})},e$={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:scrapeMotionValuesFromProps,createRenderState:createHtmlRenderState})};function addDomEvent(o,S,w,_){return void 0===_&&(_={passive:!0}),o.addEventListener(S,w,_),function(){return o.removeEventListener(S,w)}}function useDomEvent(o,S,w,_){(0,U.useEffect)(function(){var E=o.current;if(w&&E)return addDomEvent(E,S,w,_)},[o,S,w,_])}function isMouseEvent(o){return"undefined"!=typeof PointerEvent&&o instanceof PointerEvent?!("mouse"!==o.pointerType):o instanceof MouseEvent}(E=N||(N={})).Animate="animate",E.Hover="whileHover",E.Tap="whileTap",E.Drag="whileDrag",E.Focus="whileFocus",E.InView="whileInView",E.Exit="exit";var eW={pageX:0,pageY:0};function extractEventInfo(o,S){var w,_,E;return void 0===S&&(S="page"),{point:o.touches?(void 0===(w=S)&&(w="page"),{x:(_=o.touches[0]||o.changedTouches[0]||eW)[w+"X"],y:_[w+"Y"]}):(void 0===(E=S)&&(E="page"),{x:o[E+"X"],y:o[E+"Y"]})}}var wrapHandler=function(o,S){void 0===S&&(S=!1);var listener=function(S){return o(S,extractEventInfo(S))};return S?function(o){var S=o instanceof MouseEvent;(!S||S&&0===o.button)&&listener(o)}:listener}
50,eZ={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},eG={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function getPointerEventName(o){if(es&&null===window.onpointerdown);else if(es&&null===window.ontouchstart)return eG[o];else if(es&&null===window.onmousedown)return eZ[o];return o}function addPointerEvent(o,S,w,_){return addDomEvent(o,getPointerEventName(S),wrapHandler(w,"pointerdown"===S),_)}function usePointerEvent(o,S,w,_){return useDomEvent(o,getPointerEventName(S),w&&wrapHandler(w,"pointerdown"===S),_)}function createLock(o){var S=null;return function(){return null===S&&(S=o,function(){S=null})}}var eq=createLock("dragHorizontal"),eK=createLock("dragVertical");function getGlobalLock(o){var S=!1;if("y"===o)S=eK();else if("x"===o)S=eq();else{var w=eq(),_=eK();w&&_?S=function(){w(),_()}:(w&&w(),_&&_())}return S}function isDragActive(){var o=getGlobalLock(!0);return!o||(o(),!1)}function createHoverEvent(o,S,w){return function(_,E){var D;!isMouseEvent(_)||isDragActive()||(null===(D=o.animationState)||void 0===D||D.setActive(N.Hover,S),null==w||w(_,E))}}var isNodeOrChild=function(o,S){return!!S&&(o===S||isNodeOrChild(o,S.parentElement))};function useUnmountEffect(o){return(0,U.useEffect)(function(){return function(){return o()}},[])}let combineFunctions=(o,S)=>w=>S(o(w)),pipe=(...o)=>o.reduce(combineFunctions);var eX=new Set,eQ=new WeakMap,eY=new WeakMap,fireObserverCallback=function(o){var S;null===(S=eQ.get(o.target))||void 0===S||S(o)},fireAllObserverCallbacks=function(o){o.forEach(fireObserverCallback)},eJ={some:0,all:1},makeRenderlessComponent=function(o){return function(S){return o(S),null}},e0={inView:makeRenderlessComponent(function(o){var S=o.visualElement,w=o.whileInView,_=o.onViewportEnter,E=o.onViewportLeave,D=o.viewport,F=void 0===D?{}:D,W=(0,U.useRef)({hasEnteredView:!1,isInView:!1}),Q=!!(w||_||E);F.once&&W.current.hasEnteredView&&(Q=!1),("undefined"==typeof IntersectionObserver?function(o,S,w,_){var E=_.fallback,D=void 0===E||E;(0,U.useEffect)(function(){if(o&&D){if("production"!==q){var _,E;_="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",eX.has(_)||(console.warn(_),E&&console.warn(E),eX.add(_))}requestAnimationFrame(function(){S.hasEnteredView=!0;var o,_=w.getProps().onViewportEnter;null==_||_(null),null===(o=w.animationState)||void 0===o||o.setActive(N.InView,!0)})}},[o])}:function(o,S,w,_){var E=_.root,D=_.margin,F=_.amount,W=void 0===F?"some":F,q=_.once;(0,U.useEffect)(function(){if(o){var _,F,U,Q,Y,et,en,er={root:null==E?void 0:E.current,rootMargin:D,threshold:"number"==typeof W?W:eJ[W]};return _=w.getInstance(),F=er.root,U=(0,V._T)(er,["root"]),Q=F||document,eY.has(Q)||eY.set(Q,{}),(Y=eY.get(Q))[et=JSON.stringify(U)]||(Y[et]=new IntersectionObserver(fireAllObserverCallbacks,(0,V.pi)({root:F},U))),en=Y[et],eQ.set(_,function(o){var _,E=o.isIntersecting;if(S.isInView!==E){if(S.isInView=E,q&&!E&&S.hasEnteredView)return;E&&(S.hasEnteredView=!0),null===(_=w.animationState)||void 0===_||_.setActive(N.InView,E);var D=w.getProps(),F=E?D.onViewportEnter:D.onViewportLeave;null==F||F(o)}}),en.observe(_),function(){eQ.delete(_),en.unobserve(_)}}},[o,E,D,W])})(Q,W.current,S,F)}),tap:makeRenderlessComponent(function(o){var S=o.onTap,w=o.onTapStart,_=o.onTapCancel,E=o.whileTap,D=o.visualElement,F=S||w||_||E,V=(0,U.useRef)(!1),W=(0,U.useRef)(null),q={passive:!(w||S||_||onPointerDown)};function removePointerEndListener(){var o;null===(o=W.current)||void 0===o||o.call(W),W.current=null}function checkPointerEnd(){var o;return removePointerEndListener(),V.current=!1,null===(o=D.animationState)||void 0===o||o.setActive(N.Tap,!1),!isDragActive()}function onPointerUp(o,w){checkPointerEnd()&&(isNodeOrChild(D.getInstance(),o.target)?null==S||S(o,w):null==_||_(o,w))}function onPointerCancel(o,S){checkPointerEnd()&&(null==_||_(o,S))}function onPointerDown(o,S){var _;removePointerEndListener(),V.current||(V.current=!0,W.current=pipe(addPointerEvent(window,"pointerup",onPointerUp,q),addPointerEvent(window,"pointercancel",onPointerCancel,q)),null===(_=D.animationState)||void 0===_||_.setActive(N.Tap,!0),null==w||w(o,S))}usePointerEvent(D,"pointerdown",F?onPointerDown:void 0,q),useUnmountEffect(removePointerEndListener)}),focus:makeRenderlessComponent(function(o){var S=o.whileFocus,w=o.visualElement;
50useDomEvent(w,"focus",S?function(){var o;null===(o=w.animationState)||void 0===o||o.setActive(N.Focus,!0)}:void 0),useDomEvent(w,"blur",S?function(){var o;null===(o=w.animationState)||void 0===o||o.setActive(N.Focus,!1)}:void 0)}),hover:makeRenderlessComponent(function(o){var S=o.onHoverStart,w=o.onHoverEnd,_=o.whileHover,E=o.visualElement;usePointerEvent(E,"pointerenter",S||_?createHoverEvent(E,!0,S):void 0,{passive:!S}),usePointerEvent(E,"pointerleave",w||_?createHoverEvent(E,!1,w):void 0,{passive:!w})})},e1=0,incrementId=function(){return e1++};function usePresence(){var o=(0,U.useContext)(ea);if(null===o)return[!0,null];var S=o.isPresent,w=o.onExitComplete,_=o.register,E=useConstant(incrementId);return(0,U.useEffect)(function(){return _(E)},[]),!S&&w?[!1,function(){return null==w?void 0:w(E)}]:[!0]}function shallowCompare(o,S){if(!Array.isArray(S))return!1;var w=S.length;if(w!==o.length)return!1;for(var _=0;_<w;_++)if(S[_]!==o[_])return!1;return!0}function __rest(o,S){var w={};for(var _ in o)Object.prototype.hasOwnProperty.call(o,_)&&0>S.indexOf(_)&&(w[_]=o[_]);if(null!=o&&"function"==typeof Object.getOwnPropertySymbols)for(var E=0,_=Object.getOwnPropertySymbols(o);E<_.length;E++)0>S.indexOf(_[E])&&Object.prototype.propertyIsEnumerable.call(o,_[E])&&(w[_[E]]=o[_[E]]);return w}"function"==typeof SuppressedError&&SuppressedError;let clamp_clamp=(o,S,w)=>Math.min(Math.max(w,o),S);function calcAngularFreq(o,S){return o*Math.sqrt(1-S*S)}let e2=["duration","bounce"],e3=["stiffness","damping","mass"];function isSpringType(o,S){return S.some(S=>void 0!==o[S])}function spring(o){var{from:S=0,to:w=1,restSpeed:_=2,restDelta:E}=o,D=__rest(o,["from","to","restSpeed","restDelta"]);let N={done:!1,value:S},{stiffness:F,damping:V,mass:U,velocity:W,duration:q,isResolvedFromDuration:Q}=function(o){let S=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},o);if(!isSpringType(o,e3)&&isSpringType(o,e2)){let w=function({duration:o=800,bounce:S=.25,velocity:w=0,mass:_=1}){let E,D;warning(o<=1e4,"Spring duration must be 10 seconds or less");let N=1-S;N=clamp_clamp(.05,1,N),o=clamp_clamp(.01,10,o/1e3),N<1?(E=S=>{let _=S*N,E=_*o,D=calcAngularFreq(S,N);return .001-(_-w)/D*Math.exp(-E)},D=S=>{let _=S*N,D=_*o,F=Math.pow(N,2)*Math.pow(S,2)*o,V=calcAngularFreq(Math.pow(S,2),N),U=-E(S)+.001>0?-1:1;return U*((D*w+w-F)*Math.exp(-D))/V}):(E=S=>{let _=Math.exp(-S*o),E=(S-w)*o+1;return -.001+_*E},D=S=>{let _=Math.exp(-S*o),E=(w-S)*(o*o);return _*E});let F=5/o,V=function(o,S,w){let _=w;for(let w=1;w<12;w++)_-=o(_)/S(_);return _}(E,D,F);if(o*=1e3,isNaN(V))return{stiffness:100,damping:10,duration:o};{let S=Math.pow(V,2)*_;return{stiffness:S,damping:2*N*Math.sqrt(_*S),duration:o}}}(o);(S=Object.assign(Object.assign(Object.assign({},S),w),{velocity:0,mass:1})).isResolvedFromDuration=!0}return S}(D),Y=zero,et=zero;function createSpring(){let o=W?-(W/1e3):0,_=w-S,D=V/(2*Math.sqrt(F*U)),N=Math.sqrt(F/U)/1e3;if(void 0===E&&(E=Math.min(Math.abs(w-S)/100,.4)),D<1){let S=calcAngularFreq(N,D);Y=E=>{let F=Math.exp(-D*N*E);return w-F*((o+D*N*_)/S*Math.sin(S*E)+_*Math.cos(S*E))},et=w=>{let E=Math.exp(-D*N*w);return D*N*E*(Math.sin(S*w)*(o+D*N*_)/S+_*Math.cos(S*w))-E*(Math.cos(S*w)*(o+D*N*_)-S*_*Math.sin(S*w))}}else if(1===D)Y=S=>w-Math.exp(-N*S)*(_+(o+N*_)*S);else{let S=N*Math.sqrt(D*D-1);Y=E=>{let F=Math.exp(-D*N*E),V=Math.min(S*E,300);return w-F*((o+D*N*_)*Math.sinh(V)+S*_*Math.cosh(V))/S}}}return createSpring(),{next:o=>{let S=Y(o);if(Q)N.done=o>=q;else{let D=1e3*et(o),F=Math.abs(w-S)<=E;N.done=Math.abs(D)<=_&&F}return N.value=N.done?w:S,N},flipTarget:()=>{W=-W,[S,w]=[w,S],createSpring()}}}spring.needsInterpolation=(o,S)=>"string"==typeof o||"string"==typeof S;let zero=o=>0,progress=(o,S,w)=>{let _=S-o;return 0===_?1:(w-o)/_},mix=(o,S,w)=>-w*o+w*S+o,isColorString=(o,S)=>w=>!!(isString(w)&&eP.test(w)&&w.startsWith(o)||S&&Object.prototype.hasOwnProperty.call(w,S)),splitColor=(o,S,w)=>_=>{if(!isString(_))return _;let[E,D,N,F]=_.match(eE);return{[o]:parseFloat(E),[S]:parseFloat(D),[w]:parseFloat(N),alpha:void 0!==F?parseFloat(F):1}},e4=clamp(0,255),e5=Object.assign(Object.assign({},ej),{transform:o=>Math.round(e4(o))}),e6={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:o,green:S,blue:w,alpha:_=1})=>"rgba("+e5.transform(o)+", "+e5.transform(S)+", "+e5.transform(w)+", "+sanitize(eL.transform(_))+")"},e8={test:isColorString("#"),parse:function(o){let S="",w="",_="",E="";return o.length>5?(S=o.substr(1,2),w=o.substr(3,2),_=o.substr(5,2),E=o.substr(7,2)):(S=o.substr(1,1),w=o.substr(2,1),_=o.substr(3,1),E=o.substr(4,1),S+=S,w+=w,_+=_,E+=E),{red:parseInt(S,16),green:parseInt(w,16),blue:parseInt(_,16),alph
50a:E?parseInt(E,16)/255:1}},transform:e6.transform},e9={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:o,saturation:S,lightness:w,alpha:_=1})=>"hsla("+Math.round(o)+", "+ek.transform(sanitize(S))+", "+ek.transform(sanitize(w))+", "+sanitize(eL.transform(_))+")"};function hueToRgb(o,S,w){return(w<0&&(w+=1),w>1&&(w-=1),w<1/6)?o+(S-o)*6*w:w<.5?S:w<2/3?o+(S-o)*(2/3-w)*6:o}function hslaToRgba({hue:o,saturation:S,lightness:w,alpha:_}){o/=360,w/=100;let E=0,D=0,N=0;if(S/=100){let _=w<.5?w*(1+S):w+S-w*S,F=2*w-_;E=hueToRgb(F,_,o+1/3),D=hueToRgb(F,_,o),N=hueToRgb(F,_,o-1/3)}else E=D=N=w;return{red:Math.round(255*E),green:Math.round(255*D),blue:Math.round(255*N),alpha:_}}let mixLinearColor=(o,S,w)=>{let _=o*o;return Math.sqrt(Math.max(0,w*(S*S-_)+_))},e7=[e8,e6,e9],getColorType=o=>e7.find(S=>S.test(o)),notAnimatable=o=>`'${o}' is not an animatable color. Use the equivalent color code instead.`,mixColor=(o,S)=>{let w=getColorType(o),_=getColorType(S);invariant(!!w,notAnimatable(o)),invariant(!!_,notAnimatable(S));let E=w.parse(o),D=_.parse(S);w===e9&&(E=hslaToRgba(E),w=e6),_===e9&&(D=hslaToRgba(D),_=e6);let N=Object.assign({},E);return o=>{for(let S in N)"alpha"!==S&&(N[S]=mixLinearColor(E[S],D[S],o));return N.alpha=mix(E.alpha,D.alpha,o),w.transform(N)}},te={test:o=>e6.test(o)||e8.test(o)||e9.test(o),parse:o=>e6.test(o)?e6.parse(o):e9.test(o)?e9.parse(o):e8.parse(o),transform:o=>isString(o)?o:o.hasOwnProperty("red")?e6.transform(o):e9.transform(o)},tt="${c}",tn="${n}";function analyse(o){"number"==typeof o&&(o=`${o}`);let S=[],w=0,_=o.match(eT);_&&(w=_.length,o=o.replace(eT,tt),S.push(..._.map(te.parse)));let E=o.match(eE);return E&&(o=o.replace(eE,tn),S.push(...E.map(ej.parse))),{values:S,numColors:w,tokenised:o}}function parse(o){return analyse(o).values}function createTransformer(o){let{values:S,numColors:w,tokenised:_}=analyse(o),E=S.length;return o=>{let S=_;for(let _=0;_<E;_++)S=S.replace(_<w?tt:tn,_<w?te.transform(o[_]):sanitize(o[_]));return S}}let convertNumbersToZero=o=>"number"==typeof o?0:o,tr={test:function(o){var S,w,_,E;return isNaN(o)&&isString(o)&&(null!==(w=null===(S=o.match(eE))||void 0===S?void 0:S.length)&&void 0!==w?w:0)+(null!==(E=null===(_=o.match(eT))||void 0===_?void 0:_.length)&&void 0!==E?E:0)>0},parse,createTransformer,getAnimatableNone:function(o){let S=parse(o),w=createTransformer(o);return w(S.map(convertNumbersToZero))}},isNum=o=>"number"==typeof o;function getMixer(o,S){return isNum(o)?w=>mix(o,S,w):te.test(o)?mixColor(o,S):mixComplex(o,S)}let mixArray=(o,S)=>{let w=[...o],_=w.length,E=o.map((o,w)=>getMixer(o,S[w]));return o=>{for(let S=0;S<_;S++)w[S]=E[S](o);return w}},mixObject=(o,S)=>{let w=Object.assign(Object.assign({},o),S),_={};for(let E in w)void 0!==o[E]&&void 0!==S[E]&&(_[E]=getMixer(o[E],S[E]));return o=>{for(let S in _)w[S]=_[S](o);return w}};function mix_complex_analyse(o){let S=tr.parse(o),w=S.length,_=0,E=0,D=0;for(let o=0;o<w;o++)_||"number"==typeof S[o]?_++:void 0!==S[o].hue?D++:E++;return{parsed:S,numNumbers:_,numRGB:E,numHSL:D}}let mixComplex=(o,S)=>{let w=tr.createTransformer(S),_=mix_complex_analyse(o),E=mix_complex_analyse(S),D=_.numHSL===E.numHSL&&_.numRGB===E.numRGB&&_.numNumbers>=E.numNumbers;return D?pipe(mixArray(_.parsed,E.parsed),w):(warning(!0,`Complex values '${o}' and '${S}' 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.`),w=>`${w>0?S:o}`)},mixNumber=(o,S)=>w=>mix(o,S,w);function interpolate(o,S,{clamp:w=!0,ease:_,mixer:E}={}){let D=o.length;invariant(D===S.length,"Both input and output ranges must be the same length"),invariant(!_||!Array.isArray(_)||_.length===D-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),o[0]>o[D-1]&&(o=[].concat(o),S=[].concat(S),o.reverse(),S.reverse());let N=function(o,S,w){var _;let E=[],D=w||("number"==typeof(_=o[0])?mixNumber:"string"==typeof _?te.test(_)?mixColor:mixComplex:Array.isArray(_)?mixArray:"object"==typeof _?mixObject:void 0),N=o.length-1;for(let w=0;w<N;w++){let _=D(o[w],o[w+1]);if(S){let o=Array.isArray(S)?S[w]:S;_=pipe(o,_)}E.push(_)}return E}(S,_,E),F=2===D?function([o,S],[w]){return _=>w(progress(o,S,_))}(o,N):function(o,S){let w=o.length,_=w-1;return E=>{let D=0,N=!1;if(E<=o[0]?N=!0:E>=o[_]&&(D=_-1,N=!0),!N){let S=1;for(;S<w&&!(o[S]>E)&&S!==_;S++);D=S-1}let F=progress(o[D],o[D+1],E);return S[D](F)}}(o,N);return w?S=>F(clamp_clamp(o[0],o[D-1],S)):F}let reverseEasing=o=>S=>1-o(1-S),mirrorEasing=o=>S=>S<=.5?o(2*S)/2:(2-o(2*(1-S)))/2,createBackIn=o=>S=>S*S*((o+1)*S-o),ti=4/11,to=8/11,linear=o=>o,easeIn=o=>Math.pow(o,2),ta=reverseEasing(easeIn),ts=mirrorEasing(easeIn),circIn=o=>1-Math.sin(Math.acos(o)),tl=reverseEasing(circIn),tu=mirrorEasing(tl),tc=createBackIn(1.525),tp=reverseEasing(tc),th=mirrorEasing(tc),tm=(o=>{let S=createBackIn(1.525);return o=>(o*=2)<1?.5*S(o):.5*(2-Math.pow(2,-10*(o-1)))})(0),tv=4356/361,ty=35442/1805,tb=16061/1805,bounceOut=o=>{if(1===o||0===o)return o;let S=o*o;
50return o<ti?7.5625*S:o<to?9.075*S-9.9*o+3.4:o<.9?tv*S-ty*o+tb:10.8*o*o-20.52*o+10.72},tS=reverseEasing(bounceOut);function keyframes({from:o=0,to:S=1,ease:w,offset:_,duration:E=300}){let D={done:!1,value:o},N=Array.isArray(S)?S:[o,S],F=(_&&_.length===N.length?_:function(o){let S=o.length;return o.map((o,w)=>0!==w?w/(S-1):0)}(N)).map(o=>o*E);function createInterpolator(){return interpolate(F,N,{ease:Array.isArray(w)?w:N.map(()=>w||ts).splice(0,N.length-1)})}let V=createInterpolator();return{next:o=>(D.value=V(o),D.done=o>=E,D),flipTarget:()=>{N.reverse(),V=createInterpolator()}}}let tx={keyframes:keyframes,spring:spring,decay:function({velocity:o=0,from:S=0,power:w=.8,timeConstant:_=350,restDelta:E=.5,modifyTarget:D}){let N={done:!1,value:S},F=w*o,V=S+F,U=void 0===D?V:D(V);return U!==V&&(F=U-S),{next:o=>{let S=-F*Math.exp(-o/_);return N.done=!(S>E||S<-E),N.value=N.done?U:U+S,N},flipTarget:()=>{}}}},tw=1/60*1e3,t_="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),tE="undefined"!=typeof window?o=>window.requestAnimationFrame(o):o=>setTimeout(()=>o(t_()),tw),tT=!0,tP=!1,tC=!1,tk={delta:0,timestamp:0},tO=["read","update","preRender","render","postRender"],tR=tO.reduce((o,S)=>(o[S]=function(o){let S=[],w=[],_=0,E=!1,D=!1,N=new WeakSet,F={schedule:(o,D=!1,F=!1)=>{let V=F&&E,U=V?S:w;return D&&N.add(o),-1===U.indexOf(o)&&(U.push(o),V&&E&&(_=S.length)),o},cancel:o=>{let S=w.indexOf(o);-1!==S&&w.splice(S,1),N.delete(o)},process:V=>{if(E){D=!0;return}if(E=!0,[S,w]=[w,S],w.length=0,_=S.length)for(let w=0;w<_;w++){let _=S[w];_(V),N.has(_)&&(F.schedule(_),o())}E=!1,D&&(D=!1,F.process(V))}};return F}(()=>tP=!0),o),{}),tA=tO.reduce((o,S)=>{let w=tR[S];return o[S]=(o,S=!1,_=!1)=>(tP||startLoop(),w.schedule(o,S,_)),o},{}),tM=tO.reduce((o,S)=>(o[S]=tR[S].cancel,o),{}),tj=tO.reduce((o,S)=>(o[S]=()=>tR[S].process(tk),o),{}),processStep=o=>tR[o].process(tk),processFrame=o=>{tP=!1,tk.delta=tT?tw:Math.max(Math.min(o-tk.timestamp,40),1),tk.timestamp=o,tC=!0,tO.forEach(processStep),tC=!1,tP&&(tT=!1,tE(processFrame))},startLoop=()=>{tP=!0,tT=!0,tC||tE(processFrame)},getFrameData=()=>tk;function loopElapsed(o,S,w=0){return o-S-w}let framesync=o=>{let passTimestamp=({delta:S})=>o(S);return{start:()=>tA.update(passTimestamp,!0),stop:()=>tM.update(passTimestamp)}};function animate(o){let S,w,_;var E,{from:D,autoplay:N=!0,driver:F=framesync,elapsed:V=0,repeat:U=0,repeatType:W="loop",repeatDelay:q=0,onPlay:Q,onStop:Y,onComplete:et,onRepeat:en,onUpdate:er}=o,eo=__rest(o,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:ea}=eo,es=0,el=eo.duration,eu=!1,ec=!0,ed=function(o){if(Array.isArray(o.to))return keyframes;if(tx[o.type])return tx[o.type];let S=new Set(Object.keys(o));if(S.has("ease")||S.has("duration")&&!S.has("dampingRatio"));else if(S.has("dampingRatio")||S.has("stiffness")||S.has("mass")||S.has("damping")||S.has("restSpeed")||S.has("restDelta"))return spring;return keyframes}(eo);(null===(E=ed.needsInterpolation)||void 0===E?void 0:E.call(ed,D,ea))&&(_=interpolate([0,100],[D,ea],{clamp:!1}),D=0,ea=100);let ep=ed(Object.assign(Object.assign({},eo),{from:D,to:ea}));return N&&(null==Q||Q(),(S=F(function(o){if(ec||(o=-o),V+=o,!eu){let o=ep.next(Math.max(0,V));w=o.value,_&&(w=_(w)),eu=ec?o.done:V<=0}if(null==er||er(w),eu){if(0===es&&(null!=el||(el=V)),es<U){var E,D;E=V,D=el,(ec?E>=D+q:E<=-q)&&(es++,"reverse"===W?V=function(o,S,w=0,_=!0){return _?loopElapsed(S+-o,S,w):S-(o-S)+w}(V,el,q,ec=es%2==0):(V=loopElapsed(V,el,q),"mirror"===W&&ep.flipTarget()),eu=!1,en&&en())}else S.stop(),et&&et()}})).start()),{stop:()=>{null==Y||Y(),S.stop()}}}var secondsToMilliseconds=function(o){return 1e3*o};let a=(o,S)=>1-3*S+3*o,b=(o,S)=>3*S-6*o,c=o=>3*o,calcBezier=(o,S,w)=>((a(S,w)*o+b(S,w))*o+c(S))*o,getSlope=(o,S,w)=>3*a(S,w)*o*o+2*b(S,w)*o+c(S);var tL={linear:linear,easeIn:easeIn,easeInOut:ts,easeOut:ta,circIn:circIn,circInOut:tu,circOut:tl,backIn:tc,backInOut:th,backOut:tp,anticipate:tm,bounceIn:tS,bounceInOut:o=>o<.5?.5*(1-bounceOut(1-2*o)):.5*bounceOut(2*o-1)+.5,bounceOut:bounceOut}
50,easingDefinitionToFunction=function(o){if(Array.isArray(o)){invariant(4===o.length,"Cubic bezier arrays must contain four numerical values.");var S=(0,V.CR)(o,4);return function(o,S,w,_){if(o===S&&w===_)return linear;let E=new Float32Array(11);for(let S=0;S<11;++S)E[S]=calcBezier(.1*S,o,w);return D=>0===D||1===D?D:calcBezier(function(S){let _=0,D=1;for(;10!==D&&E[D]<=S;++D)_+=.1;--D;let N=(S-E[D])/(E[D+1]-E[D]),F=_+.1*N,V=getSlope(F,o,w);return V>=.001?function(o,S,w,_){for(let E=0;E<8;++E){let E=getSlope(S,w,_);if(0===E)break;let D=calcBezier(S,w,_)-o;S-=D/E}return S}(S,F,o,w):0===V?F:function(o,S,w,_,E){let D,N;let F=0;do(D=calcBezier(N=S+(w-S)/2,_,E)-o)>0?w=N:S=N;while(Math.abs(D)>1e-7&&++F<10);return N}(S,_,_+.1,o,w)}(D),S,_)}(S[0],S[1],S[2],S[3])}return"string"==typeof o?(invariant(void 0!==tL[o],"Invalid easing type '".concat(o,"'")),tL[o]):o},isAnimatable=function(o,S){return"zIndex"!==o&&!!("number"==typeof S||Array.isArray(S)||"string"==typeof S&&tr.test(S)&&!S.startsWith("url("))},underDampedSpring=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},criticallyDampedSpring=function(o){return{type:"spring",stiffness:550,damping:0===o?2*Math.sqrt(550):30,restSpeed:10}},linearTween=function(){return{type:"keyframes",ease:"linear",duration:.3}},default_transitions_keyframes=function(o){return{type:"keyframes",duration:.8,values:o}},tI={x:underDampedSpring,y:underDampedSpring,z:underDampedSpring,rotate:underDampedSpring,rotateX:underDampedSpring,rotateY:underDampedSpring,rotateZ:underDampedSpring,scaleX:criticallyDampedSpring,scaleY:criticallyDampedSpring,scale:criticallyDampedSpring,opacity:linearTween,backgroundColor:linearTween,color:linearTween,default:criticallyDampedSpring},getDefaultTransition=function(o,S){var w;return w=isKeyframesTarget(S)?default_transitions_keyframes:tI[o]||tI.default,(0,V.pi)({to:S},w(S))};let tD=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(o){let[S,w]=o.slice(0,-1).split("(");if("drop-shadow"===S)return o;let[_]=w.match(eE)||[];if(!_)return o;let E=w.replace(_,""),D=tD.has(S)?1:0;return _!==w&&(D*=100),S+"("+D+E+")"}let tN=/([a-z-]*)\(.*?\)/g,tF=Object.assign(Object.assign({},tr),{getAnimatableNone:o=>{let S=o.match(tN);return S?S.map(applyDefaultFilter).join(" "):o}});var tV=(0,V.pi)((0,V.pi)({},eN),{color:te,backgroundColor:te,outlineColor:te,fill:te,stroke:te,borderColor:te,borderTopColor:te,borderRightColor:te,borderBottomColor:te,borderLeftColor:te,filter:tF,WebkitFilter:tF}),getDefaultValueType=function(o){return tV[o]};function animatable_none_getAnimatableNone(o,S){var w,_=getDefaultValueType(o);return _!==tF&&(_=tr),null===(w=_.getAnimatableNone)||void 0===w?void 0:w.call(_,S)}var tz={current:!1},tB=!1;function isZero(o){return 0===o||"string"==typeof o&&0===parseFloat(o)&&-1===o.indexOf(" ")}function getZeroUnit(o){return"number"==typeof o?0:animatable_none_getAnimatableNone("",o)}function getValueTransition(o,S){return o[S]||o.default||o}function startAnimation(o,S,w,_){return void 0===_&&(_={}),tz.current&&(_={type:!1}),S.start(function(E){var D,N,F,U,W,q,Q,Y,et,en,er,eo=(U=w,Q=null!==(W=(q=getValueTransition(_,o)).from)&&void 0!==W?W:S.get(),Y=isAnimatable(o,U),"none"===Q&&Y&&"string"==typeof U?Q=animatable_none_getAnimatableNone(o,U):isZero(Q)&&"string"==typeof U?Q=getZeroUnit(U):!Array.isArray(U)&&isZero(U)&&"string"==typeof Q&&(U=getZeroUnit(Q)),warning((et=isAnimatable(o,Q))===Y,"You are trying to animate ".concat(o,' from "').concat(Q,'" to "').concat(U,'". ').concat(Q," is not an animatable value - to enable this animation set ").concat(Q," to a value animatable to ").concat(U," via the `style` property.")),et&&Y&&!1!==q.type?function(){var w,_,D,N,F,W,Y,et,en,er,eo,ea,es,el={from:Q,to:U,velocity:S.getVelocity(),onComplete:E,onUpdate:function(o){return S.set(o)}};return"inertia"===q.type||"decay"===q.type?function({from:o=0,velocity:S=0,min:w,max:_,power:E=.8,timeConstant:D=750,bounceStiffness:N=500,bounceDamping:F=10,restDelta:V=1,modifyTarget:U,driver:W,onUpdate:q,onComplete:Q,onStop:Y}){let et;function isOutOfBounds(o){return void 0!==w&&o<w||void 0!==_&&o>_}function boundaryNearest(o){return void 0===w?_:void 0===_?w:Math.abs(w-o)<Math.abs(_-o)?w:_}function startAnimation(o){null==et||et.stop(),et=animate(Object.assign(Object.assign({},o),{driver:W,onUpdate:S=>{var w;null==q||q(S),null===(w=o.onUpdate)||void 0===w||w.call(o,S)},onComplete:Q,onStop:Y}))}function startSpring(o){startAnimation(Object.assign({type:"spring",stiffness:N,damping:F,restDelta:V},o))}if(isOutOfBounds(o))startSpring({from:o,velocity:S,to:boundaryNearest(o)});else{let _,N,F=E*S+o;void 0!==U&&(F=U(F));let W=boundaryNearest(F),q=W===w?-1:1;startAnimation({type:"decay",from:o,velocity:S,timeConstant:D,power:E,restDelta:V,modifyTarget:U,onUpdate:isOutOfBounds(F)?o=>{var w;_=N,N=o,S=(w=getFrameData().delta)?(o-_)*(1e3/w):0,(1===q&&o>W||-1===q&&o<W)&&startSpring({from:o,to:W,velocity:S})}:void 0})}return{stop:()=>null==et?void 0:et.stop()}}((0,V.pi)((0,V.pi)({},el),q)):animate((0,V.pi)((0,V.pi)({},(w=q,_=el,D=o,Array.isArray(_.to)&&(null!==(N=w.duration)&&void 0!==N||(w.duration=.8)),Array.isArray(_.to)&&null===_.to[0]&&(_.to=(0,V.ev)([],(0,V.CR)(_.to),!1),_.to[0]=_.from),(F=w).when,F.delay,F.delayChildren,F.staggerChildren,F.staggerDirection,F.repeat,F.repeatType,F.repeatDelay,F.from,Object.keys((0,V._T)(F,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(w=(0,V.pi)((0,V.pi)({},w),getDefaultTransition(D,_.to))),(0,V.pi)((0,V.pi)({},_),(Y=(W=w).ease,et=W.times,en=W.yoyo,er=W.flip,eo=W.loop,ea=(0,V._T)(W,["ease","times","yoyo","flip","loop"]),es=(0,V.pi)({},ea),et&&(es.offset=et),ea.duration&&(es.duration=secondsToMilliseconds(ea.duration)),ea.repeatDelay&&(es.repeatDelay=secondsToMilliseconds(ea.repeatDelay)),Y&&(es.ease=Array.isArray(Y)&&"number"!=typeof Y[0]?Y.map(easingDefinitionToFunction):easingDefinitionToFunction(Y)),"tween"===ea.type&&(es.type="keyframes"),(en||eo||er)&&(warning(!tB,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),tB=!0,en?es.repeatType="reverse":eo?es.repeatType="loop":er&&(es.repeatType="mirror"),es.repeat=eo||en||er||ea.repeat),"spring"!==ea.type&&(es.type="keyframes"),es)))),{onUpdate:function(o){var S;el.onUpdate(o),null===(S=q.onUpdate)||void 0===S||S.call(q,o)},onComplete:function(){var o;el.onComplete(),null===(o=q.onComplete)||void 0===o||o.call(q)}}))}:function(){var o,w,_=resolveFinalValueInKeyframes(U);return S.set(_),E(),null===(o=null==q?void 0:q.onUpdate)||void 0===o||o.call(q,_),null===(w=null==q?void 0:q.onComplete)||void 0===w||w.call(q),{stop:function(){}}}),ea=null!==(F=null!==(N=(getValueTransition(D=_,o)||{}).delay)&&void 0!==N?N:D.delay)&&void 0!==F?F:0,start=function(){return er=eo()};return ea?en=window.setTimeout(start,secondsToMilliseconds(ea)):start(),function(){clearTimeout(en),null==er||er.stop()}})}function addUniqueItem(o,S){-1===o.indexOf(S)&&o.push(S)}function removeItem(o,S){var w=o.indexOf(S);w>-1&&o.splice(w,1)}var tU=function(){function SubscriptionManager(){this.subscriptions=[]}return SubscriptionManager.prototype.add=function(o){var S=this;return addUniqueItem(this.subscriptions,o),function(){return removeItem(S.subscriptions,o)}},SubscriptionManager.prototype.notify=function(o,S,w){var _=this.subscriptions.length;if(_){if(1===_)this.subscriptions[0](o,S,w);else for(var E=0;E<_;E++){var D=this.subscriptions[E];D&&D(o,S,w)}}},SubscriptionManager.prototype.getSize=function(){return this.subscriptions.length},SubscriptionManager.prototype.clear=function(){this.subscriptions.length=0},SubscriptionManager}(),tH=function(){function MotionValue(o){var S=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new tU,this.velocityUpdateSubscribers=new tU,this.renderSubscribers=new tU,this.canTrackVelocity=!1,this.updateAndNotify=function(o,w){void 0===w&&(w=!0),S.prev=S.current,S.current=o;var _=getFrameData(),E=_.delta,D=_.timestamp;S.lastUpdated!==D&&(S.timeDelta=E,S.lastUpdated=D,tA.postRender(S.scheduleVelocityCheck)),S.prev!==S.current&&S.updateSubscribers.notify(S.current),S.velocityUpdateSubscribers.getSize()&&S.velocityUpdateSubscribers.notify(S.getVelocity()),w&&S.renderSubscribers.notify(S.current)},this.scheduleVelocityCheck=function(){return tA.postRender(S.velocityCheck)},this.velocityCheck=function(o){o.timestamp!==S.lastUpdated&&(S.prev=S.current,S.velocityUpdateSubscribers.notify(S.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=o,this.canTrackVelocity=!isNaN(parseFloat(this.current))}return MotionValue.prototype.onChange=function(o){return this.updateSubscribers.add(o)},MotionValue.prototype.clearListeners=function(){this.updateSubscribers.clear()},MotionValue.prototype.onRenderRequest=function(o){return o(this.get()),this.renderSubscribers.add(o)},MotionValue.prototype.attach=function(o){this.passiveEffect=o},MotionValue.prototype.set=function(o,S){void 0===S&&(S=!0),S&&this.passiveEffect?this.passiveEffect(o,this.updateAndNotify):this.updateAndNotify(o,S)},MotionValue.prototype.get=function(){return this.current},MotionValue.prototype.getPrevious=function(){return this.prev},MotionValue.prototype.getVelocity=function(){var o,S;return this.canTrackVelocity?(o=parseFloat(this.current)-parseFloat(this.prev),(S=this.timeDelta)?o*(1e3/S):0):0},MotionValue.prototype.start=function(o){var S=this;return this.stop(),new Promise(function(w){S.hasAnimated=!0,S.stopAnimation=o(w)}).then(function(){return S.clearAnimation()})},MotionValue.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},MotionValue.prototype.isAnimating=function(){return!!this.stopAnimation},MotionValue.prototype.clearAnimation=function(){this.stopAnimation=null},MotionValue.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},MotionValue}();function motionValue(o){return new tH(o)}var testValueType=function(o){return function(S){return S.test(o)}},t$=[ej,eO,ek,eC,eA,eR,{test:function(o){return"auto"===o},parse:function(o){return o}}
50],findDimensionValueType=function(o){return t$.find(testValueType(o))},tW=(0,V.ev)((0,V.ev)([],(0,V.CR)(t$),!1),[te,tr],!1);function animateVariant(o,S,w){void 0===w&&(w={});var _,E=resolveVariant(o,S,w.custom),D=(E||{}).transition,N=void 0===D?o.getDefaultTransition()||{}:D;w.transitionOverride&&(N=w.transitionOverride);var F=E?function(){return animateTarget(o,E,w)}:function(){return Promise.resolve()},U=(null===(_=o.variantChildren)||void 0===_?void 0:_.size)?function(_){void 0===_&&(_=0);var E,D,F,U,W,q,Q,Y=N.delayChildren;return E=(void 0===Y?0:Y)+_,D=N.staggerChildren,F=N.staggerDirection,U=w,void 0===E&&(E=0),void 0===D&&(D=0),void 0===F&&(F=1),W=[],q=(o.variantChildren.size-1)*D,Q=1===F?function(o){return void 0===o&&(o=0),o*D}:function(o){return void 0===o&&(o=0),q-o*D},Array.from(o.variantChildren).sort(sortByTreeOrder).forEach(function(o,w){W.push(animateVariant(o,S,(0,V.pi)((0,V.pi)({},U),{delay:E+Q(w)})).then(function(){return o.notifyAnimationComplete(S)}))}),Promise.all(W)}:function(){return Promise.resolve()},W=N.when;if(!W)return Promise.all([F(),U(w.delay)]);var q=(0,V.CR)("beforeChildren"===W?[F,U]:[U,F],2),Q=q[0],Y=q[1];return Q().then(Y)}function animateTarget(o,S,w){var _,E=void 0===w?{}:w,D=E.delay,N=void 0===D?0:D,F=E.transitionOverride,U=E.type,W=o.makeTargetAnimatable(S),q=W.transition,Q=void 0===q?o.getDefaultTransition():q,Y=W.transitionEnd,et=(0,V._T)(W,["transition","transitionEnd"]);F&&(Q=F);var en=[],er=U&&(null===(_=o.animationState)||void 0===_?void 0:_.getState()[U]);for(var eo in et){var ea=o.getValue(eo),es=et[eo];if(!(!ea||void 0===es||er&&function(o,S){var w=o.protectedKeys,_=o.needsAnimating,E=w.hasOwnProperty(S)&&!0!==_[S];return _[S]=!1,E}(er,eo))){var el=(0,V.pi)({delay:N},Q);o.shouldReduceMotion&&isTransformProp(eo)&&(el=(0,V.pi)((0,V.pi)({},el),{type:!1,delay:0}));var eu=startAnimation(eo,ea,es,el);en.push(eu)}}return Promise.all(en).then(function(){Y&&function(o,S){var w=resolveVariant(o,S),_=w?o.makeTargetAnimatable(w,!1):{},E=_.transitionEnd,D=void 0===E?{}:E;_.transition;var N=(0,V._T)(_,["transitionEnd","transition"]);for(var F in N=(0,V.pi)((0,V.pi)({},N),D)){var U=resolveFinalValueInKeyframes(N[F]);o.hasValue(F)?o.getValue(F).set(U):o.addValue(F,motionValue(U))}}(o,Y)})}function sortByTreeOrder(o,S){return o.sortNodePosition(S)}var tZ=[N.Animate,N.InView,N.Focus,N.Hover,N.Tap,N.Drag,N.Exit],tG=(0,V.ev)([],(0,V.CR)(tZ),!1).reverse(),tq=tZ.length;function createTypeState(o){return void 0===o&&(o=!1),{isActive:o,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var tK={animation:makeRenderlessComponent(function(o){var S=o.visualElement,w=o.animate;S.animationState||(S.animationState=function(o){var S,animate=function(S){return Promise.all(S.map(function(S){return function(o,S,w){if(void 0===w&&(w={}),o.notifyAnimationStart(S),Array.isArray(S)){var _;_=Promise.all(S.map(function(S){return animateVariant(o,S,w)}))}else if("string"==typeof S)_=animateVariant(o,S,w);else{var E="function"==typeof S?resolveVariant(o,S,w.custom):S;_=animateTarget(o,E,w)}return _.then(function(){return o.notifyAnimationComplete(S)})}(o,S.animation,S.options)}))},w=((S={})[N.Animate]=createTypeState(!0),S[N.InView]=createTypeState(),S[N.Hover]=createTypeState(),S[N.Tap]=createTypeState(),S[N.Drag]=createTypeState(),S[N.Focus]=createTypeState(),S[N.Exit]=createTypeState(),S),_={},E=!0,buildResolvedTypeValues=function(S,w){var _=resolveVariant(o,w);if(_){_.transition;var E=_.transitionEnd,D=(0,V._T)(_,["transition","transitionEnd"]);S=(0,V.pi)((0,V.pi)((0,V.pi)({},S),D),E)}return S};function animateChanges(S,D){for(var N,F=o.getProps(),U=o.getVariantContext(!0)||{},W=[],q=new Set,Q={},Y=1/0,et=0;et<tq;et++)!function(_){var et,en=tG[_],er=w[en],eo=null!==(N=F[en])&&void 0!==N?N:U[en],ea=isVariantLabel(eo),es=en===D?er.isActive:null;!1===es&&(Y=_);var el=eo===U[en]&&eo!==F[en]&&ea;if(el&&E&&o.manuallyAnimateOnMount&&(el=!1),er.protectedKeys=(0,V.pi)({},Q),!(!er.isActive&&null===es||!eo&&!er.prevProp||isAnimationControls(eo))&&"boolean"!=typeof eo){var eu=(et=er.prevProp,"string"==typeof eo?eo!==et:!!isVariantLabels(eo)&&!shallowCompare(eo,et)),ec=eu||en===D&&er.isActive&&!el&&ea||_>Y&&ea,ed=Array.isArray(eo)?eo:[eo],ep=ed.reduce(buildResolvedTypeValues,{});!1===es&&(ep={});var eh=er.prevResolvedValues,em=void 0===eh?{}:eh,eg=(0,V.pi)((0,V.pi)({},em),ep),markToAnimate=function(o){ec=!0,q.delete(o),er.needsAnimating[o]=!0};for(var ev in eg){var ey=ep[ev],eb=em[ev];Q.hasOwnProperty(ev)||(ey!==eb?isKeyframesTarget(ey)&&isKeyframesTarget(eb)?!shallowCompare(ey,eb)||eu?markToAnimate(ev):er.protectedKeys[ev]=!0:void 0!==ey?markToAnimate(ev):q.add(ev):void 0!==ey&&q.has(ev)?markToAnimate(ev):er.protectedKeys[ev]=!0)}er.prevProp=eo,er.prevResolvedValues=ep,er.isActive&&(Q=(0,V.pi)((0,V.pi)({},Q),ep)),E&&o.blockInitialAnimation&&(ec=!1),ec&&!el&&W.push.apply(W,(0,V.ev)([],(0,V.CR)(ed.map(function(o){return{animation:o,options:(0,V.pi)({type:en},S)}})),!1))}}(et);if(_=(0,V.pi)({},Q),q.size){var en={};q.forEach(function(S){var w=o.getBaseTarget(S);void 0!==w&&(en[S]=w)}),W.push({animation:en})}var er=!!W.length;return E&&!1===F.initial&&!o.manuallyAnimateOnMount&&(er=!1),E=!1,er?animate(W):Prom
50ise.resolve()}return{isAnimated:function(o){return void 0!==_[o]},animateChanges:animateChanges,setActive:function(S,_,E){if(w[S].isActive===_)return Promise.resolve();null===(D=o.variantChildren)||void 0===D||D.forEach(function(o){var w;return null===(w=o.animationState)||void 0===w?void 0:w.setActive(S,_)}),w[S].isActive=_;var D,N=animateChanges(E,S);for(var F in w)w[F].protectedKeys={};return N},setAnimateFunction:function(S){animate=S(o)},getState:function(){return w}}}(S)),isAnimationControls(w)&&(0,U.useEffect)(function(){return w.subscribe(S)},[w])}),exit:makeRenderlessComponent(function(o){var S=o.custom,w=o.visualElement,_=(0,V.CR)(usePresence(),2),E=_[0],D=_[1],F=(0,U.useContext)(ea);(0,U.useEffect)(function(){w.isPresent=E;var o,_,V=null===(o=w.animationState)||void 0===o?void 0:o.setActive(N.Exit,!E,{custom:null!==(_=null==F?void 0:F.custom)&&void 0!==_?_:S});E||null==V||V.then(D)},[E])})};let isPoint=o=>o.hasOwnProperty("x")&&o.hasOwnProperty("y"),isPoint3D=o=>isPoint(o)&&o.hasOwnProperty("z"),distance1D=(o,S)=>Math.abs(o-S);function distance(o,S){if(isNum(o)&&isNum(S))return distance1D(o,S);if(isPoint(o)&&isPoint(S)){let w=distance1D(o.x,S.x),_=distance1D(o.y,S.y),E=isPoint3D(o)&&isPoint3D(S)?distance1D(o.z,S.z):0;return Math.sqrt(Math.pow(w,2)+Math.pow(_,2)+Math.pow(E,2))}}var tX=function(){function PanSession(o,S,w){var _=this,E=(void 0===w?{}:w).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(_.lastMoveEvent&&_.lastMoveEventInfo){var o=getPanInfo(_.lastMoveEventInfo,_.history),S=null!==_.startEvent,w=distance(o.offset,{x:0,y:0})>=3;if(S||w){var E=o.point,D=getFrameData().timestamp;_.history.push((0,V.pi)((0,V.pi)({},E),{timestamp:D}));var N=_.handlers,F=N.onStart,U=N.onMove;S||(F&&F(_.lastMoveEvent,o),_.startEvent=_.lastMoveEvent),U&&U(_.lastMoveEvent,o)}}},this.handlePointerMove=function(o,S){if(_.lastMoveEvent=o,_.lastMoveEventInfo=transformPoint(S,_.transformPagePoint),isMouseEvent(o)&&0===o.buttons){_.handlePointerUp(o,S);return}tA.update(_.updatePoint,!0)},this.handlePointerUp=function(o,S){_.end();var w=_.handlers,E=w.onEnd,D=w.onSessionEnd,N=getPanInfo(transformPoint(S,_.transformPagePoint),_.history);_.startEvent&&E&&E(o,N),D&&D(o,N)},!o.touches||!(o.touches.length>1)){this.handlers=S,this.transformPagePoint=E;var D=transformPoint(extractEventInfo(o),this.transformPagePoint),N=D.point,F=getFrameData().timestamp;this.history=[(0,V.pi)((0,V.pi)({},N),{timestamp:F})];var U=S.onSessionStart;U&&U(o,getPanInfo(D,this.history)),this.removeListeners=pipe(addPointerEvent(window,"pointermove",this.handlePointerMove),addPointerEvent(window,"pointerup",this.handlePointerUp),addPointerEvent(window,"pointercancel",this.handlePointerUp))}}return PanSession.prototype.updateHandlers=function(o){this.handlers=o},PanSession.prototype.end=function(){this.removeListeners&&this.removeListeners(),tM.update(this.updatePoint)},PanSession}();function transformPoint(o,S){return S?{point:S(o.point)}:o}function subtractPoint(o,S){return{x:o.x-S.x,y:o.y-S.y}}function getPanInfo(o,S){var w=o.point;return{point:w,delta:subtractPoint(w,lastDevicePoint(S)),offset:subtractPoint(w,S[0]),velocity:function(o,S){if(o.length<2)return{x:0,y:0};for(var w=o.length-1,_=null,E=lastDevicePoint(o);w>=0&&(_=o[w],!(E.timestamp-_.timestamp>secondsToMilliseconds(.1)));)w--;if(!_)return{x:0,y:0};var D=(E.timestamp-_.timestamp)/1e3;if(0===D)return{x:0,y:0};var N={x:(E.x-_.x)/D,y:(E.y-_.y)/D};return N.x===1/0&&(N.x=0),N.y===1/0&&(N.y=0),N}(S,0)}}function lastDevicePoint(o){return o[o.length-1]}function calcLength(o){return o.max-o.min}function isNear(o,S,w){return void 0===S&&(S=0),void 0===w&&(w=.01),distance(o,S)<w}function calcAxisDelta(o,S,w,_){void 0===_&&(_=.5),o.origin=_,o.originPoint=mix(S.min,S.max,o.origin),o.scale=calcLength(w)/calcLength(S),(isNear(o.scale,1,1e-4)||isNaN(o.scale))&&(o.scale=1),o.translate=mix(w.min,w.max,o.origin)-o.originPoint,(isNear(o.translate)||isNaN(o.translate))&&(o.translate=0)}function calcBoxDelta(o,S,w,_){calcAxisDelta(o.x,S.x,w.x,null==_?void 0:_.originX),calcAxisDelta(o.y,S.y,w.y,null==_?void 0:_.originY)}function calcRelativeAxis(o,S,w){o.min=w.min+S.min,o.max=o.min+calcLength(S)}function calcRelativeAxisPosition(o,S,w){o.min=S.min-w.min,o.max=o.min+calcLength(S)}function calcRelativePosition(o,S,w){calcRelativeAxisPosition(o.x,S.x,w.x),calcRelativeAxisPosition(o.y,S.y,w.y)}function calcRelativeAxisConstraints(o,S,w){return{min:void 0!==S?o.min+S:void 0,max:void 0!==w?o.max+w-(o.max-o.min):void 0}}function calcViewportAxisConstraints(o,S){var w,_=S.min-o.min,E=S.max-o.max;return S.max-S.min<o.max-o.min&&(_=(w=(0,V.CR)([E,_],2))[0],E=w[1]),{min:_,max:E}}function resolveAxisElastic(o,S,w){return{min:resolvePointElastic(o,S),max:resolvePointElastic(o,w)}}function resolvePointElastic(o,S){var w;return"number"==typeof o?o:null!==(w=o[S])&&void 0!==w?w:0}var createAxisDelta=function(){return{translate:0,scale:1,origin:0,originPoint:0}},createDelta=function(){return{x:createAxisDelta(),y:createAxisDelta()}},createAxis=function(){return{min:0,max:0}},createBox=function(){return{x:createAxis(),y:createAxis()}};function eachAxis(o){return[o("x"),o("y")]}function convertBoundingBoxToBox(o){var S=o.top;return{x:{min:o.left,max:o.right},y:{min:S,max:o.bottom}}}function isIdentityScale(o){return void 0===o||1===o}function hasScale(o){var S=o.scale,w=o.scaleX,_=o.scaleY;return!isIdentityScale(S)||!isIdentityScale(w)||!isIdentityScale(_)}function hasTransform(o){var S,w;return hasScale(o)||(S=o.x)&&"0%"!==S||(w=o.y)&&"0%"!==w||o.z||o.rotate||o.rotateX||o.rotateY}function applyPointDelta(o,S,w,_,E){return void 0!==E&&(o=_+E*(o-_)),_+w*(o-_)+S}function applyAxisDelta(o,S,w,_,E){void 0===S&&(S=0),void 0===w&&(w=1),o.min=applyPointDelta(o.min,S,w,_,E),o.max=applyPointDelta(o.max,S,w,_,E)}function applyBoxDelta(o,S){var w=S.x,_=S.y;applyAxisDelta(o.x,w.translate,w.scale,w.originPoint),applyAxisDelta(o.y,_.translate,_.scale,_.originPoint)}function translateAxis(o,S){o.min=o.min+S,o.max=o.max+S}function transformAxis(o,S,w){var _=(0,V.CR)(w,3),E=_[0],D=_[1],N=_[2],F=void 0!==S[N]?S[N]:.5,U=mix(o.min,o.max,F);applyAxisDelta(o,S[E],S[D],U,S.scale)}
50var tQ=["x","scaleX","originX"],tY=["y","scaleY","originY"];function transformBox(o,S){transformAxis(o.x,S,tQ),transformAxis(o.y,S,tY)}function measureViewportBox(o,S){return convertBoundingBoxToBox(function(o,S){if(!S)return o;var w=S({x:o.left,y:o.top}),_=S({x:o.right,y:o.bottom});return{top:w.y,left:w.x,bottom:_.y,right:_.x}}(o.getBoundingClientRect(),S))}var tJ=new WeakMap,t0=function(){function VisualElementDragControls(o){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=createBox(),this.visualElement=o}return VisualElementDragControls.prototype.start=function(o,S){var w=this,_=(void 0===S?{}:S).snapToCursor,E=void 0!==_&&_;!1!==this.visualElement.isPresent&&(this.panSession=new tX(o,{onSessionStart:function(o){w.stopAnimation(),E&&w.snapToCursor(extractEventInfo(o,"page").point)},onStart:function(o,S){var _,E=w.getProps(),D=E.drag,F=E.dragPropagation,V=E.onDragStart;(!D||F||(w.openGlobalLock&&w.openGlobalLock(),w.openGlobalLock=getGlobalLock(D),w.openGlobalLock))&&(w.isDragging=!0,w.currentDirection=null,w.resolveConstraints(),w.visualElement.projection&&(w.visualElement.projection.isAnimationBlocked=!0,w.visualElement.projection.target=void 0),eachAxis(function(o){var S,_,E=w.getAxisMotionValue(o).get()||0;if(ek.test(E)){var D=null===(_=null===(S=w.visualElement.projection)||void 0===S?void 0:S.layout)||void 0===_?void 0:_.actual[o];D&&(E=calcLength(D)*(parseFloat(E)/100))}w.originPoint[o]=E}),null==V||V(o,S),null===(_=w.visualElement.animationState)||void 0===_||_.setActive(N.Drag,!0))},onMove:function(o,S){var _=w.getProps(),E=_.dragPropagation,D=_.dragDirectionLock,N=_.onDirectionLock,F=_.onDrag;if(E||w.openGlobalLock){var V,U,W=S.offset;if(D&&null===w.currentDirection){w.currentDirection=(void 0===V&&(V=10),U=null,Math.abs(W.y)>V?U="y":Math.abs(W.x)>V&&(U="x"),U),null!==w.currentDirection&&(null==N||N(w.currentDirection));return}w.updateAxis("x",S.point,W),w.updateAxis("y",S.point,W),w.visualElement.syncRender(),null==F||F(o,S)}},onSessionEnd:function(o,S){return w.stop(o,S)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},VisualElementDragControls.prototype.stop=function(o,S){var w=this.isDragging;if(this.cancel(),w){var _=S.velocity;this.startAnimation(_);var E=this.getProps().onDragEnd;null==E||E(o,S)}},VisualElementDragControls.prototype.cancel=function(){var o,S;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(o=this.panSession)||void 0===o||o.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(S=this.visualElement.animationState)||void 0===S||S.setActive(N.Drag,!1)},VisualElementDragControls.prototype.updateAxis=function(o,S,w){var _=this.getProps().drag;if(w&&shouldDrag(o,_,this.currentDirection)){var E,D,N,F,V,U=this.getAxisMotionValue(o),W=this.originPoint[o]+w[o];this.constraints&&this.constraints[o]&&(E=W,D=this.constraints[o],N=this.elastic[o],F=D.min,V=D.max,void 0!==F&&E<F?E=N?mix(F,E,N.min):Math.max(E,F):void 0!==V&&E>V&&(E=N?mix(V,E,N.max):Math.min(E,V)),W=E),U.set(W)}},VisualElementDragControls.prototype.resolveConstraints=function(){var o,S,w,_,E,D,N=this,F=this.getProps(),V=F.dragConstraints,U=F.dragElastic,W=(this.visualElement.projection||{}).layout,q=this.constraints;V&&isRefObject(V)?this.constraints||(this.constraints=this.resolveRefConstraints()):V&&W?this.constraints=(o=W.actual,S=V.top,w=V.left,_=V.bottom,E=V.right,{x:calcRelativeAxisConstraints(o.x,w,E),y:calcRelativeAxisConstraints(o.y,S,_)}):this.constraints=!1,this.elastic=(void 0===(D=U)&&(D=.35),!1===D?D=0:!0===D&&(D=.35),{x:resolveAxisElastic(D,"left","right"),y:resolveAxisElastic(D,"top","bottom")}),q!==this.constraints&&W&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(function(o){if(N.getAxisMotionValue(o)){var S,w,_;N.constraints[o]=(S=W.actual[o],w=N.constraints[o],_={},void 0!==w.min&&(_.min=w.min-S.min),void 0!==w.max&&(_.max=w.max-S.min),_)}})},VisualElementDragControls.prototype.resolveRefConstraints=function(){var o=this.getProps(),S=o.dragConstraints,w=o.onMeasureDragConstraints;if(!S||!isRefObject(S))return!1;var _=S.current;invariant(null!==_,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var E=this.visualElement.projection;if(!E||!E.layout)return!1;var D=(F=E.root,V=measureViewportBox(_,this.visualElement.getTransformPagePoint()),(U=F.scroll)&&(translateAxis(V.x,U.x),translateAxis(V.y,U.y)),V),N={x:calcViewportAxisConstraints((W=E.layout.actual).x,D.x),y:calcViewportAxisConstraints(W.y,D.y)};if(w){var F,V,U,W,q,Q,Y,et=w((Q=(q=N).x,{top:(Y=q.y).min,right:Q.max,bottom:Y.max,left:Q.min}));this.hasMutatedConstraints=!!et,et&&(N=convertBoundingBoxToBox(et))}return N},VisualElementDragControls.prototype.startAnimation=function(o){var S=this,w=this.getProps(),_=w.drag,E=w.dragMomentum,D=w.dragElastic,N=w.dragTransition,F=w.dragSnapToOrigin,U=w.onDragTransitionEnd,W=this.constraints||{};return Promise.all(eachAxis(function(w){if(shouldDrag(w,_,S.currentDirection)){var U,q=null!==(U=null==W?void 0:W[w])&&void 0!==U?U:{};F&&(q={min:0,max:0});var Q=(0,V.pi)((0,V.pi)({type:"inertia",velocity:E?o[w]:0,bounceStiffness:D?200:1e6,bounceDamping:D?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},N),q);return S.startAxisValueAnimation(w,Q)}})).then(U)},VisualElementDragControls.prototype.startAxisValueAnimation=function(o,S){var w=this.getAxisMotionValue(o);return startAnimation(o,w,0,S)},VisualElementDragControls.prototype.stopAnimation=function(){var o=this;eachAxis(function(S){return o.getAxisMotionValue(S).stop()})},VisualElementDragControls.prototype.getAxisMotionValue=function(o){var S,w,_="_drag"+o.toUpperCase();return this.visualElement.getProps()[_]||this.visualElement.getValue(o,null!==(w=null===(S=this.visualElement.getProps().initial)||void 0===S?void 0:S[o])&&void 0!==w?w:0)},VisualElementDragControls.prototype.snapToCursor=function(o){var S=this;eachAxis(function(w){if(shouldDrag(w,S.getProps().drag,S.currentDirection)){var _=S.visualElement.projection,E=S.getAxisMotionValue(w);if(_&&_.layout){var D=_.layout.actual[w],N=D.min,F=D.max;E.set(o[w]-mix(N,F,.5))}}})},VisualElementDragControls.prototype.scalePositionWithinConstraints=function(){var o,S=this,w=this.getProps(),_=w.drag,E=w.dragConstraints,D=this.visualElement.projection;if(isRefObject(E)&&D&&this.constraints){this.stopAnimation();var N={x:0,y:0};eachAxis(function(o){var w=S.getAxisMotionValue(o);if(w){var _,E,D,F,V,U=w.get();N[o]=(_={min:U,max:U},E=S.constraints[o],D=.5,F=calcLength(_),(V=calcLength(E))>F?D=progress(E.min,E.max-F,_.min):F>V&&(D=progress(_.min,_.max-V,E.min)),clamp_clamp(0,1,D))}});var F=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=F?F({},""):"none",null===(o=D.root)||void 0===o||o.updateScroll(),D.updateLayout(),this.resolveConstraints(),eachAxis(function(o){if
50(shouldDrag(o,_,null)){var w=S.getAxisMotionValue(o),E=S.constraints[o],D=E.min,F=E.max;w.set(mix(D,F,N[o]))}})}},VisualElementDragControls.prototype.addListeners=function(){var o,S=this;tJ.set(this.visualElement,this);var w=addPointerEvent(this.visualElement.getInstance(),"pointerdown",function(o){var w=S.getProps(),_=w.drag,E=w.dragListener;_&&(void 0===E||E)&&S.start(o)}),measureDragConstraints=function(){isRefObject(S.getProps().dragConstraints)&&(S.constraints=S.resolveRefConstraints())},_=this.visualElement.projection,E=_.addEventListener("measure",measureDragConstraints);_&&!_.layout&&(null===(o=_.root)||void 0===o||o.updateScroll(),_.updateLayout()),measureDragConstraints();var D=addDomEvent(window,"resize",function(){return S.scalePositionWithinConstraints()});return _.addEventListener("didUpdate",function(o){var w=o.delta,_=o.hasLayoutChanged;S.isDragging&&_&&(eachAxis(function(o){var _=S.getAxisMotionValue(o);_&&(S.originPoint[o]+=w[o].translate,_.set(_.get()+w[o].translate))}),S.visualElement.syncRender())}),function(){D(),w(),E()}},VisualElementDragControls.prototype.getProps=function(){var o=this.visualElement.getProps(),S=o.drag,w=o.dragDirectionLock,_=o.dragPropagation,E=o.dragConstraints,D=o.dragElastic,N=o.dragMomentum;return(0,V.pi)((0,V.pi)({},o),{drag:void 0!==S&&S,dragDirectionLock:void 0!==w&&w,dragPropagation:void 0!==_&&_,dragConstraints:void 0!==E&&E,dragElastic:void 0===D?.35:D,dragMomentum:void 0===N||N})},VisualElementDragControls}();function shouldDrag(o,S,w){return(!0===S||S===o)&&(null===w||w===o)}var t1={pan:makeRenderlessComponent(function(o){var S=o.onPan,w=o.onPanStart,_=o.onPanEnd,E=o.onPanSessionStart,D=o.visualElement,N=S||w||_||E,F=(0,U.useRef)(null),V=(0,U.useContext)(er).transformPagePoint,W={onSessionStart:E,onStart:w,onMove:S,onEnd:function(o,S){F.current=null,_&&_(o,S)}};(0,U.useEffect)(function(){null!==F.current&&F.current.updateHandlers(W)}),usePointerEvent(D,"pointerdown",N&&function(o){F.current=new tX(o,W,{transformPagePoint:V})}),useUnmountEffect(function(){return F.current&&F.current.end()})}),drag:makeRenderlessComponent(function(o){var S=o.dragControls,w=o.visualElement,_=useConstant(function(){return new t0(w)});(0,U.useEffect)(function(){return S&&S.subscribe(_)},[_,S]),(0,U.useEffect)(function(){return _.addListeners()},[_])})},t2=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],visualElement=function(o){var S=o.treeType,w=void 0===S?"":S,_=o.build,E=o.getBaseTarget,D=o.makeTargetAnimatable,N=o.measureViewportBox,F=o.render,U=o.readValueFromInstance,W=o.removeValueFromRenderState,q=o.sortNodePosition,Q=o.scrapeMotionValuesFromProps;return function(o,S){var Y,et,en,er,eo,ea=o.parent,es=o.props,el=o.presenceId,eu=o.blockInitialAnimation,ec=o.visualState,ed=o.shouldReduceMotion;void 0===S&&(S={});var ep=!1,eh=ec.latestValues,em=ec.renderState,eg=(Y=t2.map(function(){return new tU}),et={},en={clearAllListeners:function(){return Y.forEach(function(o){return o.clear()})},updatePropListeners:function(o){t2.forEach(function(S){var w,_="on"+S,E=o[_];null===(w=et[S])||void 0===w||w.call(et),E&&(et[S]=en[_](E))})}},Y.forEach(function(o,S){en["on"+t2[S]]=function(S){return o.add(S)},en["notify"+t2[S]]=function(){for(var S=[],w=0;w<arguments.length;w++)S[w]=arguments[w];return o.notify.apply(o,(0,V.ev)([],(0,V.CR)(S),!1))}}),en),ev=new Map,ey=new Map,eb={},eS=(0,V.pi)({},eh);function render(){er&&ep&&(triggerBuild(),F(er,em,es.style,eP.projection))}function triggerBuild(){_(eP,em,eh,S,es)}function update(){eg.notifyUpdate(eh)}function bindToMotionValue(o,S){var w=S.onChange(function(S){eh[o]=S,es.onUpdate&&tA.update(update,!1,!0)}),_=S.onRenderRequest(eP.scheduleRender);ey.set(o,function(){w(),_()})}var ex=Q(es);for(var ew in ex){var e_=ex[ew];void 0!==eh[ew]&&isMotionValue(e_)&&e_.set(eh[ew],!1)}var eE=checkIfControllingVariants(es),eT=checkIfVariantNode(es),eP=(0,V.pi)((0,V.pi)({treeType:w,current:null,depth:ea?ea.depth+1:0,parent:ea,children:new Set,presenceId:el,shouldReduceMotion:ed,variantChildren:eT?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(null==ea?void 0:ea.isMounted()),blockInitialAnimation:eu,isMounted:function(){return!!er},mount:function(o){ep=!0,er=eP.current=o,eP.projection&&eP.projection.mount(o),eT&&ea&&!eE&&(eo=null==ea?void 0:ea.addVariantChild(eP)),ev.forEach(function(o,S){return bindToMotionValue(S,o)}),null==ea||ea.children.add(eP),eP.setProps(es)},unmount:function(){var o;null===(o=eP.projection)||void 0===o||o.unmount(),tM.update(update),tM.render(render),ey.forEac
vendor: 1,895 bytes, line 50
50h(function(o){return o()}),null==eo||eo(),null==ea||ea.children.delete(eP),eg.clearAllListeners(),er=void 0,ep=!1},addVariantChild:function(o){var S,w=eP.getClosestVariantNode();if(w)return null===(S=w.variantChildren)||void 0===S||S.add(o),function(){return w.variantChildren.delete(o)}},sortNodePosition:function(o){return q&&w===o.treeType?q(eP.getInstance(),o.getInstance()):0},getClosestVariantNode:function(){return eT?eP:null==ea?void 0:ea.getClosestVariantNode()},getLayoutId:function(){return es.layoutId},getInstance:function(){return er},getStaticValue:function(o){return eh[o]},setStaticValue:function(o,S){return eh[o]=S},getLatestValues:function(){return eh},setVisibility:function(o){eP.isVisible!==o&&(eP.isVisible=o,eP.scheduleRender())},makeTargetAnimatable:function(o,S){return void 0===S&&(S=!0),D(eP,o,es,S)},measureViewportBox:function(){return N(er,es)},addValue:function(o,S){eP.hasValue(o)&&eP.removeValue(o),ev.set(o,S),eh[o]=S.get(),bindToMotionValue(o,S)},removeValue:function(o){var S;ev.delete(o),null===(S=ey.get(o))||void 0===S||S(),ey.delete(o),delete eh[o],W(o,em)},hasValue:function(o){return ev.has(o)},getValue:function(o,S){var w=ev.get(o);return void 0===w&&void 0!==S&&(w=motionValue(S),eP.addValue(o,w)),w},forEachValue:function(o){return ev.forEach(o)},readValue:function(o){var w;return null!==(w=eh[o])&&void 0!==w?w:U(er,o,S)},setBaseTarget:function(o,S){eS[o]=S},getBaseTarget:function(o){if(E){var S=E(es,o);if(void 0!==S&&!isMotionValue(S))return S}return eS[o]}},eg),{build:function(){return triggerBuild(),em},scheduleRender:function(){tA.render(render,!1,!0)},syncRender:render,setProps:function(o){(o.transformTemplate||es.transformTemplate)&&eP.scheduleRender(),es=o,eg.updatePropListeners(o),eb=function(o,S,w){var _;for(var E in S){var D=S[E],N=w[E];if(isMotionValue(D))o.addValue(E,D);else if(isMotionValue(N))o.addValue(E,motionValue(D));
50else if(N!==D){if(o.hasValue(E)){var F=o.getValue(E);F.hasAnimated||F.set(D)}else o.addValue(E,motionValue(null!==(_=o.getStaticValue(E))&&void 0!==_?_:D))}}for(var E in w)void 0===S[E]&&o.removeValue(E);return S}(eP,Q(es),eb)},getProps:function(){return es},getVariant:function(o){var S;return null===(S=es.variants)||void 0===S?void 0:S[o]},getDefaultTransition:function(){return es.transition},getTransformPagePoint:function(){return es.transformPagePoint},getVariantContext:function(o){if(void 0===o&&(o=!1),o)return null==ea?void 0:ea.getVariantContext();if(!eE){var S=(null==ea?void 0:ea.getVariantContext())||{};return void 0!==es.initial&&(S.initial=es.initial),S}for(var w={},_=0;_<t4;_++){var E=t3[_],D=es[E];(isVariantLabel(D)||!1===D)&&(w[E]=D)}return w}});return eP}},t3=(0,V.ev)(["initial"],(0,V.CR)(tZ),!1),t4=t3.length;function css_variables_conversion_isCSSVariable(o){return"string"==typeof o&&o.startsWith("var(--")}var t5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function getVariableValue(o,S,w){void 0===w&&(w=1),invariant(w<=4,'Max CSS variable fallback depth detected in property "'.concat(o,'". This may indicate a circular fallback dependency.'));var _=(0,V.CR)(function(o){var S=t5.exec(o);if(!S)return[,];var w=(0,V.CR)(S,3);return[w[1],w[2]]}(o),2),E=_[0],D=_[1];if(E){var N=window.getComputedStyle(S).getPropertyValue(E);return N?N.trim():css_variables_conversion_isCSSVariable(D)?getVariableValue(D,S,w+1):D}}var t6=new Set(["width","height","top","left","right","bottom","x","y"]),isPositionalKey=function(o){return t6.has(o)},setAndResetVelocity=function(o,S){o.set(S,!1),o.set(S)},isNumOrPxType=function(o){return o===ej||o===eO};(D=F||(F={})).width="width",D.height="height",D.left="left",D.right="right",D.top="top",D.bottom="bottom";var getPosFromMatrix=function(o,S){return parseFloat(o.split(", ")[S])},getTranslateFromMatrix=function(o,S){return function(w,_){var E=_.transform;if("none"===E||!E)return 0;var D=E.match(/^matrix3d\((.+)\)$/);if(D)return getPosFromMatrix(D[1],S);var N=E.match(/^matrix\((.+)\)$/);return N?getPosFromMatrix(N[1],o):0}},t8=new Set(["x","y","z"]),t9=eS.filter(function(o){return!t8.has(o)}),t7={width:function(o,S){var w=o.x,_=S.paddingLeft,E=S.paddingRight;return w.max-w.min-parseFloat(void 0===_?"0":_)-parseFloat(void 0===E?"0":E)},height:function(o,S){var w=o.y,_=S.paddingTop,E=S.paddingBottom;return w.max-w.min-parseFloat(void 0===_?"0":_)-parseFloat(void 0===E?"0":E)},top:function(o,S){return parseFloat(S.top)},left:function(o,S){return parseFloat(S.left)},bottom:function(o,S){var w=o.y;return parseFloat(S.top)+(w.max-w.min)},right:function(o,S){var w=o.x;return parseFloat(S.left)+(w.max-w.min)},x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)},convertChangedValueTypes=function(o,S,w){var _=S.measureViewportBox(),E=S.getInstance(),D=getComputedStyle(E),N=D.display,F={};"none"===N&&S.setStaticValue("display",o.display||"block"),w.forEach(function(o){F[o]=t7[o](_,D)}),S.syncRender();var V=S.measureViewportBox();return w.forEach(function(w){setAndResetVelocity(S.getValue(w),F[w]),o[w]=t7[w](V,D)}),o},checkAndConvertChangedValueTypes=function(o,S,w,_){void 0===w&&(w={}),void 0===_&&(_={}),S=(0,V.pi)({},S),_=(0,V.pi)({},_);var E=Object.keys(S).filter(isPositionalKey),D=[],N=!1,F=[];if(E.forEach(function(E){var V,U=o.getValue(E);if(o.hasValue(E)){var W=w[E],q=findDimensionValueType(W),Q=S[E];if(isKeyframesTarget(Q)){var Y=Q.length,et=null===Q[0]?1:0;q=findDimensionValueType(W=Q[et]);for(var en=et;en<Y;en++)V?invariant(findDimensionValueType(Q[en])===V,"All keyframes must be of the same type"):invariant((V=findDimensionValueType(Q[en]))===q||isNumOrPxType(q)&&isNumOrPxType(V),"Keyframes must be of the same dimension as the current value")}else V=findDimensionValueType(Q);if(q!==V){if(isNumOrPxType(q)&&isNumOrPxType(V)){var er,eo=U.get();"string"==typeof eo&&U.set(parseFloat(eo)),"string"==typeof Q?S[E]=parseFloat(Q):Array.isArray(Q)&&V===eO&&(S[E]=Q.map(parseFloat))}else(null==q?void 0:q.transform)&&(null==V?void 0:V.transform)&&(0===W||0===Q)?0===W?U.set(V.transform(W)):S[E]=q.transform(Q):(N||(er=[],t9.forEach(function(S){var w=o.getValue(S);void 0!==w&&(er.push([S,w.get()]),w.set(S.startsWith("scale")?1:0))}),er.length&&o.syncRender(),D=er,N=!0),F.push(E),_[E]=void 0!==_[E]?_[E]:S[E],setAndResetVelocity(U,Q))}}}),!F.length)return{target:S,transitionEnd:_};var U=F.indexOf("height")>=0?window.pageYOffset:null,W=convertChangedValueTypes(S,o,F);return D.length&&D.forEach(function(S){var w=(0,V.CR)(S,2),_=w[0],E=w[1];o.getValue(_).set(E)}),o.syncRender(),null!==U&&window.scrollTo({top:U}),{target:W,transitionEnd:_}},parseDomVariant=function(o,S,w,_){var E,D,N=function(o,S,w){var _,E=(0,V._T)(S,[]),D=o.getInstance();if(!(D instanceof Element))return{target:E,transitionEnd:w};for(var N in w&&(w=(0,V.pi)({},w)),o.forEachValue(function(o){var S=o.get();if(css_variables_conversion_isCSSVariable(S)){var w=getVariableValue(S,D);w&&o.set(w)}}),E){var F=E[N];if(css_variables_conversion_isCSSVariable(F)){var U=getVariableValue(F,D);U&&(E[N]=U,w&&(null!==(_=w[N])&&void 0!==_||(w[N]=F)))}}return{target:E,transitionEnd:w}}(o,S,_);return E=S=N.target,D=_=N.transitionEnd,Object.keys(E).some(isPositionalKey)?checkAndConvertChangedValueTypes(o,E,w,D):{target:E,transitionEnd:D}},nn={treeType:"dom",readValueFromInstance:function(o,S){if(isTransformProp(S)){var w=getDefaultValueType(S);return w&&w.default||0}var _=window.getComputedStyle(o);return(isCSSVariable(S)?_.getPropertyValue(S):_[S])||0},sortNodePosition:function(o,S){return 2&o.compareDocumentPosition(S)?1:-1},getBaseTarget:function(o,S){var w;return null===(w=o.style)||void 0===w?void 0:w[S]},measureViewportBox:function(o,S){return measureViewportBox(o,S.transformPagePoint)},resetTransform:function(o,S,w){var _=w.transformTemplate;S.style.transform=_?_({},""):"none",o.scheduleRender()},restoreTransform:function(o,S){o.style.transform=S.style.transform},removeValueFromRenderState:function(o,S){var w=S.vars,_=S.style;
50delete w[o],delete _[o]},makeTargetAnimatable:function(o,S,w,_){var E=w.transformValues;void 0===_&&(_=!0);var D=S.transition,N=S.transitionEnd,F=(0,V._T)(S,["transition","transitionEnd"]),U=function(o,S,w){var _,E,D={};for(var N in o)D[N]=null!==(_=function(o,S){if(S)return(S[o]||S.default||S).from}(N,S))&&void 0!==_?_:null===(E=w.getValue(N))||void 0===E?void 0:E.get();return D}(F,D||{},o);if(E&&(N&&(N=E(N)),F&&(F=E(F)),U&&(U=E(U))),_){!function(o,S,w){var _,E,D,N=Object.keys(S).filter(function(S){return!o.hasValue(S)}),F=N.length;if(F)for(var V=0;V<F;V++){var U,W,q,Q=N[V],Y=S[Q],et=null;Array.isArray(Y)&&(et=Y[0]),null===et&&(et=null!==(E=null!==(_=w[Q])&&void 0!==_?_:o.readValue(Q))&&void 0!==E?E:S[Q]),null!=et&&("string"==typeof et&&(U=et,/^\-?\d*\.?\d+$/.test(U)||(W=et,/^0[^.\s]+$/.test(W)))?et=parseFloat(et):(q=et,!tW.find(testValueType(q))&&tr.test(Y)&&(et=animatable_none_getAnimatableNone(Q,Y))),o.addValue(Q,motionValue(et)),null!==(D=w[Q])&&void 0!==D||(w[Q]=et),o.setBaseTarget(Q,et))}}(o,F,U);var W=parseDomVariant(o,F,U,N);N=W.transitionEnd,F=W.target}return(0,V.pi)({transition:D,transitionEnd:N},F)},scrapeMotionValuesFromProps:scrapeMotionValuesFromProps,build:function(o,S,w,_,E){void 0!==o.isVisible&&(S.style.visibility=o.isVisible?"visible":"hidden"),buildHTMLStyles(S,w,_,E.transformTemplate)},render:renderHTML},nr=visualElement(nn),ni=visualElement((0,V.pi)((0,V.pi)({},nn),{getBaseTarget:function(o,S){return o[S]},readValueFromInstance:function(o,S){var w;return isTransformProp(S)?(null===(w=getDefaultValueType(S))||void 0===w?void 0:w.default)||0:(S=eU.has(S)?S:camelToDash(S),o.getAttribute(S))},scrapeMotionValuesFromProps:scrape_motion_values_scrapeMotionValuesFromProps,build:function(o,S,w,_,E){buildSVGAttrs(S,w,_,E.transformTemplate)},render:renderSVG})),create_visual_element_createDomVisualElement=function(o,S){return isSVGComponent(o)?ni(S,{enableHardwareAcceleration:!1}):nr(S,{enableHardwareAcceleration:!0})};function pixelsToPercent(o,S){return S.max===S.min?0:o/(S.max-S.min)*100}var no={correct:function(o,S){if(!S.target)return o;if("string"==typeof o){if(!eO.test(o))return o;o=parseFloat(o)}var w=pixelsToPercent(o,S.target.x),_=pixelsToPercent(o,S.target.y);return"".concat(w,"% ").concat(_,"%")}},na="_$css",ns=function(o){function MeasureLayoutWithContext(){return null!==o&&o.apply(this,arguments)||this}return(0,V.ZT)(MeasureLayoutWithContext,o),MeasureLayoutWithContext.prototype.componentDidMount=function(){var o=this,S=this.props,w=S.visualElement,_=S.layoutGroup,E=S.switchLayoutGroup,D=S.layoutId,N=w.projection;Object.assign(ey,nl),N&&((null==_?void 0:_.group)&&_.group.add(N),(null==E?void 0:E.register)&&D&&E.register(N),N.root.didUpdate(),N.addEventListener("animationComplete",function(){o.safeToRemove()}),N.setOptions((0,V.pi)((0,V.pi)({},N.options),{onExitComplete:function(){return o.safeToRemove()}}))),ed.hasEverUpdated=!0},MeasureLayoutWithContext.prototype.getSnapshotBeforeUpdate=function(o){var S=this,w=this.props,_=w.layoutDependency,E=w.visualElement,D=w.drag,N=w.isPresent,F=E.projection;return F&&(F.isPresent=N,D||o.layoutDependency!==_||void 0===_?F.willUpdate():this.safeToRemove(),o.isPresent===N||(N?F.promote():F.relegate()||tA.postRender(function(){var o;(null===(o=F.getStack())||void 0===o?void 0:o.members.length)||S.safeToRemove()}))),null},MeasureLayoutWithContext.prototype.componentDidUpdate=function(){var o=this.props.visualElement.projection;o&&(o.root.didUpdate(),!o.currentAnimation&&o.isLead()&&this.safeToRemove())},MeasureLayoutWithContext.prototype.componentWillUnmount=function(){var o=this.props,S=o.visualElement,w=o.layoutGroup,_=o.switchLayoutGroup,E=S.projection;E&&(E.scheduleCheckAfterUnmount(),(null==w?void 0:w.group)&&w.group.remove(E),(null==_?void 0:_.deregister)&&_.deregister(E))},MeasureLayoutWithContext.prototype.safeToRemove=function(){var o=this.props.safeToRemove;null==o||o()},MeasureLayoutWithContext.prototype.render=function(){return null},MeasureLayoutWithContext}(U.Component),nl={borderRadius:(0,V.pi)((0,V.pi)({},no),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:no,borderTopRightRadius:no,borderBottomLeftRadius:no,borderBottomRightRadius:no,boxShadow:{correct:function(o,S){var w=S.treeScale,_=S.projectionDelta,E=o,D=o.includes("var("),N=[];D&&(o=o.replace(t5,function(o){return N.push(o),na}));var F=tr.parse(o);if(F.length>5)return E;var V=tr.createTransformer(o),U="number"!=typeof F[0]?1:0,W=_.x.scale*w.x,q=_.y.scale*w.y;F[0+U]/=W,F[1+U]/=q;
50var Q=mix(W,q,.5);"number"==typeof F[2+U]&&(F[2+U]/=Q),"number"==typeof F[3+U]&&(F[3+U]/=Q);var Y=V(F);if(D){var et=0;Y=Y.replace(na,function(){var o=N[et];return et++,o})}return Y}}},nu=["TopLeft","TopRight","BottomLeft","BottomRight"],nd=nu.length,asNumber=function(o){return"string"==typeof o?parseFloat(o):o},isPx=function(o){return"number"==typeof o||eO.test(o)};function getRadius(o,S){var w;return null!==(w=o[S])&&void 0!==w?w:o.borderRadius}var np=compress(0,.5,tl),nh=compress(.5,.95,linear);function compress(o,S,w){return function(_){return _<o?0:_>S?1:w(progress(o,S,_))}}function copyAxisInto(o,S){o.min=S.min,o.max=S.max}function copyBoxInto(o,S){copyAxisInto(o.x,S.x),copyAxisInto(o.y,S.y)}function removePointDelta(o,S,w,_,E){return o-=S,o=_+1/w*(o-_),void 0!==E&&(o=_+1/E*(o-_)),o}function removeAxisTransforms(o,S,w,_,E){var D=(0,V.CR)(w,3),N=D[0],F=D[1],U=D[2];!function(o,S,w,_,E,D,N){if(void 0===S&&(S=0),void 0===w&&(w=1),void 0===_&&(_=.5),void 0===D&&(D=o),void 0===N&&(N=o),ek.test(S)&&(S=parseFloat(S),S=mix(N.min,N.max,S/100)-N.min),"number"==typeof S){var F=mix(D.min,D.max,_);o===D&&(F-=S),o.min=removePointDelta(o.min,S,w,F,E),o.max=removePointDelta(o.max,S,w,F,E)}}(o,S[N],S[F],S[U],S.scale,_,E)}var nm=["x","scaleX","originX"],nv=["y","scaleY","originY"];function removeBoxTransforms(o,S,w,_){removeAxisTransforms(o.x,S,nm,null==w?void 0:w.x,null==_?void 0:_.x),removeAxisTransforms(o.y,S,nv,null==w?void 0:w.y,null==_?void 0:_.y)}function isAxisDeltaZero(o){return 0===o.translate&&1===o.scale}function isDeltaZero(o){return isAxisDeltaZero(o.x)&&isAxisDeltaZero(o.y)}function boxEquals(o,S){return o.x.min===S.x.min&&o.x.max===S.x.max&&o.y.min===S.y.min&&o.y.max===S.y.max}var ny=function(){function NodeStack(){this.members=[]}return NodeStack.prototype.add=function(o){addUniqueItem(this.members,o),o.scheduleRender()},NodeStack.prototype.remove=function(o){if(removeItem(this.members,o),o===this.prevLead&&(this.prevLead=void 0),o===this.lead){var S=this.members[this.members.length-1];S&&this.promote(S)}},NodeStack.prototype.relegate=function(o){var S,w=this.members.findIndex(function(S){return o===S});if(0===w)return!1;for(var _=w;_>=0;_--){var E=this.members[_];if(!1!==E.isPresent){S=E;break}}return!!S&&(this.promote(S),!0)},NodeStack.prototype.promote=function(o,S){var w,_=this.lead;o!==_&&(this.prevLead=_,this.lead=o,o.show(),_&&(_.instance&&_.scheduleRender(),o.scheduleRender(),o.resumeFrom=_,S&&(o.resumeFrom.preserveOpacity=!0),_.snapshot&&(o.snapshot=_.snapshot,o.snapshot.latestValues=_.animationValues||_.latestValues,o.snapshot.isShared=!0),(null===(w=o.root)||void 0===w?void 0:w.isUpdating)&&(o.isLayoutDirty=!0),!1===o.options.crossfade&&_.hide()))},NodeStack.prototype.exitAnimationComplete=function(){this.members.forEach(function(o){var S,w,_,E,D;null===(w=(S=o.options).onExitComplete)||void 0===w||w.call(S),null===(D=null===(_=o.resumingFrom)||void 0===_?void 0:(E=_.options).onExitComplete)||void 0===D||D.call(E)})},NodeStack.prototype.scheduleRender=function(){this.members.forEach(function(o){o.instance&&o.scheduleRender(!1)})},NodeStack.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},NodeStack}();function buildProjectionTransform(o,S,w){var _=o.x.translate/S.x,E=o.y.translate/S.y,D="translate3d(".concat(_,"px, ").concat(E,"px, 0) ");if(D+="scale(".concat(1/S.x,", ").concat(1/S.y,") "),w){var N=w.rotate,F=w.rotateX,V=w.rotateY;N&&(D+="rotate(".concat(N,"deg) ")),F&&(D+="rotateX(".concat(F,"deg) ")),V&&(D+="rotateY(".concat(V,"deg) "))}var U=o.x.scale*S.x,W=o.y.scale*S.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(D+="scale(".concat(U,", ").concat(W,")"))?"none":D}var compareByDepth=function(o,S){return o.depth-S.depth},nb=function(){function FlatTree(){this.children=[],this.isDirty=!1}return FlatTree.prototype.add=function(o){addUniqueItem(this.children,o),this.isDirty=!0},FlatTree.prototype.remove=function(o){removeItem(this.children,o),this.isDirty=!0},FlatTree.prototype.forEach=function(o){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEac
50h(o)},FlatTree}();function createProjectionNode(o){var S=o.attachResizeListener,w=o.defaultParent,_=o.measureScroll,E=o.checkIsScrollRoot,D=o.resetTransform;return function(){function ProjectionNode(o,S,_){var E=this;void 0===S&&(S={}),void 0===_&&(_=null==w?void 0:w()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){E.isUpdating&&(E.isUpdating=!1,E.clearAllSnapshots())},this.updateProjection=function(){E.nodes.forEach(resolveTargetDelta),E.nodes.forEach(calcProjection)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=o,this.latestValues=S,this.root=_?_.root||_:this,this.path=_?(0,V.ev)((0,V.ev)([],(0,V.CR)(_.path),!1),[_],!1):[],this.parent=_,this.depth=_?_.depth+1:0,o&&this.root.registerPotentialNode(o,this);for(var D=0;D<this.path.length;D++)this.path[D].shouldResetTransform=!0;this.root===this&&(this.nodes=new nb)}return ProjectionNode.prototype.addEventListener=function(o,S){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new tU),this.eventHandlers.get(o).add(S)},ProjectionNode.prototype.notifyListeners=function(o){for(var S=[],w=1;w<arguments.length;w++)S[w-1]=arguments[w];var _=this.eventHandlers.get(o);null==_||_.notify.apply(_,(0,V.ev)([],(0,V.CR)(S),!1))},ProjectionNode.prototype.hasListeners=function(o){return this.eventHandlers.has(o)},ProjectionNode.prototype.registerPotentialNode=function(o,S){this.potentialNodes.set(o,S)},ProjectionNode.prototype.mount=function(o,w){var _=this;if(void 0===w&&(w=!1),!this.instance){this.isSVG=o instanceof SVGElement&&"svg"!==o.tagName,this.instance=o;var E=this.options,D=E.layoutId,N=E.layout,F=E.visualElement;if(F&&!F.getInstance()&&F.mount(o),this.root.nodes.add(this),null===(U=this.parent)||void 0===U||U.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),w&&(N||D)&&(this.isLayoutDirty=!0),S){var U,W,resizeUnblockUpdate_1=function(){return _.root.updateBlockedByResize=!1};S(o,function(){_.root.updateBlockedByResize=!0,clearTimeout(W),W=window.setTimeout(resizeUnblockUpdate_1,250),ed.hasAnimatedSinceResize&&(ed.hasAnimatedSinceResize=!1,_.nodes.forEach(finishAnimation))})}D&&this.root.registerSharedNode(D,this),!1!==this.options.animate&&F&&(D||N)&&this.addEventListener("didUpdate",function(o){var S,w,E,D,N,U=o.delta,W=o.hasLayoutChanged,q=o.hasRelativeTargetChanged,Q=o.layout;if(_.isTreeAnimationBlocked()){_.target=void 0,_.relativeTarget=void 0;return}var Y=null!==(w=null!==(S=_.options.transition)&&void 0!==S?S:F.getDefaultTransition())&&void 0!==w?w:nS,et=F.getProps(),en=et.onLayoutAnimationStart,er=et.onLayoutAnimationComplete,eo=!_.targetLayout||!boxEquals(_.targetLayout,Q)||q,ea=!W&&q;if((null===(E=_.resumeFrom)||void 0===E?void 0:E.instance)||ea||W&&(eo||!_.currentAnimation)){_.resumeFrom&&(_.resumingFrom=_.resumeFrom,_.resumingFrom.resumingFrom=void 0),_.setAnimationOrigin(U,ea);var es=(0,V.pi)((0,V.pi)({},getValueTransition(Y,"layout")),{onPlay:en,onComplete:er});F.shouldReduceMotion&&(es.delay=0,es.type=!1),_.startAnimation(es)}else W||0!==_.animationProgress||_.finishAnimation(),_.isLead()&&(null===(N=(D=_.options).onExitComplete)||void 0===N||N.call(D));_.targetLayout=Q})}},ProjectionNode.prototype.unmount=function(){var o,S;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(o=this.getStack())||void 0===o||o.remove(this),null===(S=this.parent)||void 0===S||S.children.delete(this),this.instance=void 0,tM.preRender(this.updateProjection)},ProjectionNode.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},ProjectionNode.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},ProjectionNode.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},ProjectionNode.prototype.isTreeAnimationBlocked=function(){var o;return this.isAnimationBlocked||(null===(o=this.parent)||void 0===o?void 0:o.isTreeAnimationBlocked())||!1}
50,ProjectionNode.prototype.startUpdate=function(){var o;this.isUpdateBlocked()||(this.isUpdating=!0,null===(o=this.nodes)||void 0===o||o.forEach(resetRotation))},ProjectionNode.prototype.willUpdate=function(o){if(void 0===o&&(o=!0),this.root.isUpdateBlocked()){null===(w=(S=this.options).onExitComplete)||void 0===w||w.call(S);return}if(this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var S,w,_,E=0;E<this.path.length;E++){var D=this.path[E];D.shouldResetTransform=!0,D.updateScroll()}var N=this.options,F=N.layoutId,V=N.layout;if(void 0!==F||V){var U=null===(_=this.options.visualElement)||void 0===_?void 0:_.getProps().transformTemplate;this.prevTransformTemplateValue=null==U?void 0:U(this.latestValues,""),this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}}},ProjectionNode.prototype.didUpdate=function(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(clearMeasurements);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(mountNodeEarly),this.potentialNodes.clear()),this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate),this.clearAllSnapshots(),tj.update(),tj.preRender(),tj.render())},ProjectionNode.prototype.clearAllSnapshots=function(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)},ProjectionNode.prototype.scheduleUpdateProjection=function(){tA.preRender(this.updateProjection,!1,!0)},ProjectionNode.prototype.scheduleCheckAfterUnmount=function(){var o=this;tA.postRender(function(){o.isLayoutDirty?o.root.didUpdate():o.root.checkUpdateFailed()})},ProjectionNode.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var o=this.measure(),S=this.removeTransform(this.removeElementScroll(o));roundBox(S),this.snapshot={measured:o,layout:S,latestValues:{}}}},ProjectionNode.prototype.updateLayout=function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var o,S=0;S<this.path.length;S++)this.path[S].updateScroll();var w=this.measure();roundBox(w);var _=this.layout;this.layout={measured:w,actual:this.removeElementScroll(w)},this.layoutCorrected=createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(o=this.options.visualElement)||void 0===o||o.notifyLayoutMeasure(this.layout.actual,null==_?void 0:_.actual)}},ProjectionNode.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=E(this.instance),this.scroll=_(this.instance))},ProjectionNode.prototype.resetTransform=function(){if(D){var o,S=this.isLayoutDirty||this.shouldResetTransform,w=this.projectionDelta&&!isDeltaZero(this.projectionDelta),_=null===(o=this.options.visualElement)||void 0===o?void 0:o.getProps().transformTemplate,E=null==_?void 0:_(this.latestValues,""),N=E!==this.prevTransformTemplateValue;S&&(w||hasTransform(this.latestValues)||N)&&(D(this.instance,E),this.shouldResetTransform=!1,this.scheduleRender())}},ProjectionNode.prototype.measure=function(){var o=this.options.visualElement;if(!o)return createBox();var S=o.measureViewportBox(),w=this.root.scroll;return w&&(translateAxis(S.x,w.x),translateAxis(S.y,w.y)),S},ProjectionNode.prototype.removeElementScroll=function(o){var S=createBox();copyBoxInto(S,o);for(var w=0;w<this.path.length;w++){var _=this.path[w],E=_.scroll,D=_.options,N=_.isScrollRoot;if(_!==this.root&&E&&D.layoutScroll){if(N){copyBoxInto(S,o);var F=this.root.scroll;F&&(translateAxis(S.x,-F.x),translateAxis(S.y,-F.y))}translateAxis(S.x,E.x),translateAxis(S.y,E.y)}}return S},ProjectionNode.prototype.applyTransform=function(o,S){void 0===S&&(S=!1);var w=createBox();copyBoxInto(w,o);for(var _=0;_<this.path.length;_++){var E=this.path[_];!S&&E.options.layoutScroll&&E.scroll&&E!==E.root&&transformBox(w,{x:-E.scroll.x,y:-E.scroll.y}),hasTransform(E.latestValues)&&transformBox(w,E.latestValues)}return hasTransform(this.latestValues)&&transformBox(w,this.latestValues),w},ProjectionNode.prototype.removeTransform=function(o){var S,w=createBox();copyBoxInto(w,o);for(var _=0;_<this.path.length;_++){var E=this.path[_];if(E.instance&&hasTransform(E.latestValues)){hasScale(E.latestValues)&&E.updateSnapshot();var D=createBox();copyBoxInto(D,E.measure()),removeBoxTransforms(w,E.latestValues,null===(S=E.snapshot)||void 0===S?void 0:S.layout,D)}}return hasTransform(this.latestValues)&&removeBoxTransforms(w,this.latestValues),w},ProjectionNode.prototype.setTargetDelta=function(o){this.targetDelta=o,this.root.scheduleUpdateProjection()},ProjectionNode.prototype.setOptions=function(o){var S;this.options=(0,V.pi)((0,V.pi)((0,V.pi)({},this.options),o),{crossfade:null===(S=o.crossfade)||void 0===S||S})},ProjectionNode.prototype.clearMeasurements=function(){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},ProjectionNode.prototype.resolveTargetDelta=function(){var o,S,w,_,E=this.options,D=E.layout,N=E.layoutId;this.layout&&(D||N)&&(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&((this.target||(this.target=createBox(),this.targetWithTransforms=createBox()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(_=this.relativeParent)||void 0===_?void 0:_.target))?(o=this.target,S=this.relativeTarget,w=this.relativeParent.target,calcRelativeAxis(o.x,S.x,w.x),calcRelativeAxis(o.y,S.y,w.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.actual):copyBoxInto(this.target,this.layout.actual),applyBoxDelta(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&!!this.relativeParent.resumingFrom==!!this.resumingFrom&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.target,this.relativeParent.target),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)))))},ProjectionNode.prototype.getClosestProjectingParent=function(){if(!(!this.parent||hasTransform(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},ProjectionNode.prototype.calcProjection=function(){var o,S=this.options,w=S.layout,_=S.layoutId;if(this.isTreeAnimating=!!((null===(o=this.parent)||void 0===o?void 0:o.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(w||_)){var E=this.getLead();copyBoxInto(this.layoutCorrected,this.layout.actual),function(o,S,w,_){void 0===_&&(_=!1);var E,D,N,F,V=w.length;if(V){S.x=S.y=1;for(var U=0;U<V;U++)F=(N=w[U]).projectionDelta,(null===(D=null===(E=N.instance)||void 0===E?void 0:E.style)||void 0===D?void 0:D.display)!=="contents"&&(_&&N.options.layoutScroll&&N.scroll&&N!==N.root&&transformBox(o,{x:-N.scroll.x,y:-N.scroll.y}),F&&(S.x*=F.x.scale,S.y*=F.y.scale,applyBoxDelta(o,F)),_&&hasTransform(N.latestValues)&&transformBox(o,N.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,!!this.resumingFrom||this!==E);var D=E.target;if(D){this.projectionDelta||(this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta());var N=this.treeScale.x,F=this.treeScale.y,V=this.projectionTransform;calcBoxDelta(this.projectionDelta,this.layoutCorrected,D,this.latestValues),this.projectionTransform=buildProjectionTransform(this.projectionDelta,this.treeScale),(this.projectionTransform!==V||this.treeScale.x!==N||this.treeScale.y!==F)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",D))}}},ProjectionNode.prototype.hide=function(){this.isVisible=!1},ProjectionNode.prototype.show=function(){this.isVisible=!0},ProjectionNode.prototype.scheduleRender=function(o){var S,w,_;void 0===o&&(o=!0),null===(w=(S=this.options).scheduleRender)||void 0===w||w.call(S),o&&(null===(_=this.getStack())||void 0===_||_.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},ProjectionNode.prototype.setAnimationOrigin=function(o,S){var w,_=this;void 0===S&&(S=!1);var E=this.snapshot,D=(null==E?void 0:E.latestValues)||{},N=(0,V.pi)({},this.latestValues),F=createDelta();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!S;
50var U=createBox(),W=null==E?void 0:E.isShared,q=1>=((null===(w=this.getStack())||void 0===w?void 0:w.members.length)||0),Q=!!(W&&!q&&!0===this.options.crossfade&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0,this.mixTargetDelta=function(S){var w,E,V,Y=S/1e3;mixAxisDelta(F.x,o.x,Y),mixAxisDelta(F.y,o.y,Y),_.setTargetDelta(F),_.relativeTarget&&_.relativeTargetOrigin&&_.layout&&(null===(V=_.relativeParent)||void 0===V?void 0:V.layout)&&(calcRelativePosition(U,_.layout.actual,_.relativeParent.layout.actual),w=_.relativeTarget,E=_.relativeTargetOrigin,mixAxis(w.x,E.x,U.x,Y),mixAxis(w.y,E.y,U.y,Y)),W&&(_.animationValues=N,function(o,S,w,_,E,D){var N,F,V,U;E?(o.opacity=mix(0,null!==(N=w.opacity)&&void 0!==N?N:1,np(_)),o.opacityExit=mix(null!==(F=S.opacity)&&void 0!==F?F:1,0,nh(_))):D&&(o.opacity=mix(null!==(V=S.opacity)&&void 0!==V?V:1,null!==(U=w.opacity)&&void 0!==U?U:1,_));for(var W=0;W<nd;W++){var q="border".concat(nu[W],"Radius"),Q=getRadius(S,q),Y=getRadius(w,q);(void 0!==Q||void 0!==Y)&&(Q||(Q=0),Y||(Y=0),0===Q||0===Y||isPx(Q)===isPx(Y)?(o[q]=Math.max(mix(asNumber(Q),asNumber(Y),_),0),(ek.test(Y)||ek.test(Q))&&(o[q]+="%")):o[q]=Y)}(S.rotate||w.rotate)&&(o.rotate=mix(S.rotate||0,w.rotate||0,_))}(N,D,_.latestValues,Y,Q,q)),_.root.scheduleUpdateProjection(),_.scheduleRender(),_.animationProgress=Y},this.mixTargetDelta(0)},ProjectionNode.prototype.startAnimation=function(o){var S,w,_=this;this.notifyListeners("animationStart"),null===(S=this.currentAnimation)||void 0===S||S.stop(),this.resumingFrom&&(null===(w=this.resumingFrom.currentAnimation)||void 0===w||w.stop()),this.pendingAnimation&&(tM.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tA.update(function(){var S,w;ed.hasAnimatedSinceResize=!0,_.currentAnimation=(void 0===(S=(0,V.pi)((0,V.pi)({},o),{onUpdate:function(S){var w;_.mixTargetDelta(S),null===(w=o.onUpdate)||void 0===w||w.call(o,S)},onComplete:function(){var S;null===(S=o.onComplete)||void 0===S||S.call(o),_.completeAnimation()}}))&&(S={}),startAnimation("",w=isMotionValue(0)?0:motionValue(0),1e3,S),{stop:function(){return w.stop()},isAnimating:function(){return w.isAnimating()}}),_.resumingFrom&&(_.resumingFrom.currentAnimation=_.currentAnimation),_.pendingAnimation=void 0})},ProjectionNode.prototype.completeAnimation=function(){var o;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(o=this.getStack())||void 0===o||o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},ProjectionNode.prototype.finishAnimation=function(){var o;this.currentAnimation&&(null===(o=this.mixTargetDelta)||void 0===o||o.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},ProjectionNode.prototype.applyTransformsToTarget=function(){var o=this.getLead(),S=o.targetWithTransforms,w=o.target,_=o.layout,E=o.latestValues;S&&w&&_&&(copyBoxInto(S,w),transformBox(S,E),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,S,E))},ProjectionNode.prototype.registerSharedNode=function(o,S){var w,_,E;this.sharedNodes.has(o)||this.sharedNodes.set(o,new ny),this.sharedNodes.get(o).add(S),S.promote({transition:null===(w=S.options.initialPromotionConfig)||void 0===w?void 0:w.transition,preserveFollowOpacity:null===(E=null===(_=S.options.initialPromotionConfig)||void 0===_?void 0:_.shouldPreserveFollowOpacity)||void 0===E?void 0:E.call(_,S)})},ProjectionNode.prototype.isLead=function(){var o=this.getStack();return!o||o.lead===this},ProjectionNode.prototype.getLead=function(){var o;return this.options.layoutId&&(null===(o=this.getStack())||void 0===o?void 0:o.lead)||this},ProjectionNode.prototype.getPrevLead=function(){var o;return this.options.layoutId?null===(o=this.getStack())||void 0===o?void 0:o.prevLead:void 0},ProjectionNode.prototype.getStack=function(){var o=this.options.layoutId;if(o)return this.root.sharedNodes.get(o)},ProjectionNode.prototype.promote=function(o){var S=void 0===o?{}:o,w=S.needsReset,_=S.transition,E=S.preserveFollowOpacity,D=this.getStack();D&&D.promote(this,E),w&&(this.projectionDelta=void 0,this.needsReset=!0),_&&this.setOptions({transition:_})},ProjectionNode.prototype.relegate=function(){var o=this.getStack();return!!o&&o.relegate(this)},ProjectionNode.prototype.resetRotation=function(){var o=this.options.visualElement;if(o){for(var S=!1,w={},_=0;_<eb.length;_++){var E="rotate"+eb[_];
50o.getStaticValue(E)&&(S=!0,w[E]=o.getStaticValue(E),o.setStaticValue(E,0))}if(S){for(var E in null==o||o.syncRender(),w)o.setStaticValue(E,w[E]);o.scheduleRender()}}},ProjectionNode.prototype.getProjectionStyles=function(o){void 0===o&&(o={});var S,w,_,E,D,N,F={};if(!this.instance||this.isSVG)return F;if(!this.isVisible)return{visibility:"hidden"};F.visibility="";var V=null===(S=this.options.visualElement)||void 0===S?void 0:S.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,F.opacity="",F.pointerEvents=resolveMotionValue(o.pointerEvents)||"",F.transform=V?V(this.latestValues,""):"none",F;var U=this.getLead();if(!this.projectionDelta||!this.layout||!U.target){var W={};return this.options.layoutId&&(W.opacity=null!==(w=this.latestValues.opacity)&&void 0!==w?w:1,W.pointerEvents=resolveMotionValue(o.pointerEvents)||""),this.hasProjected&&!hasTransform(this.latestValues)&&(W.transform=V?V({},""):"none",this.hasProjected=!1),W}var q=U.animationValues||U.latestValues;this.applyTransformsToTarget(),F.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,q),V&&(F.transform=V(q,F.transform));var Q=this.projectionDelta,Y=Q.x,et=Q.y;for(var en in F.transformOrigin="".concat(100*Y.origin,"% ").concat(100*et.origin,"% 0"),U.animationValues?F.opacity=U===this?null!==(E=null!==(_=q.opacity)&&void 0!==_?_:this.latestValues.opacity)&&void 0!==E?E:1:this.preserveOpacity?this.latestValues.opacity:q.opacityExit:F.opacity=U===this?null!==(D=q.opacity)&&void 0!==D?D:"":null!==(N=q.opacityExit)&&void 0!==N?N:0,ey)if(void 0!==q[en]){var er=ey[en],eo=er.correct,ea=er.applyTo,es=eo(q[en],U);if(ea)for(var el=ea.length,eu=0;eu<el;eu++)F[ea[eu]]=es;else F[en]=es}return this.options.layoutId&&(F.pointerEvents=U===this?resolveMotionValue(o.pointerEvents)||"":"none"),F},ProjectionNode.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},ProjectionNode.prototype.resetTree=function(){this.root.nodes.forEach(function(o){var S;return null===(S=o.currentAnimation)||void 0===S?void 0:S.stop()}),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()},ProjectionNode}()}function updateLayout(o){o.updateLayout()}function notifyLayoutUpdate(o){var S,w,_,E,D=null!==(w=null===(S=o.resumeFrom)||void 0===S?void 0:S.snapshot)&&void 0!==w?w:o.snapshot;if(o.isLead()&&o.layout&&D&&o.hasListeners("didUpdate")){var N=o.layout,F=N.actual,V=N.measured;"size"===o.options.animationType?eachAxis(function(o){var S=D.isShared?D.measured[o]:D.layout[o],w=calcLength(S);S.min=F[o].min,S.max=S.min+w}):"position"===o.options.animationType&&eachAxis(function(o){var S=D.isShared?D.measured[o]:D.layout[o],w=calcLength(F[o]);S.max=S.min+w});var U=createDelta();calcBoxDelta(U,F,D.layout);var W=createDelta();D.isShared?calcBoxDelta(W,o.applyTransform(V,!0),D.measured):calcBoxDelta(W,F,D.layout);var q=!isDeltaZero(U),Q=!1;if(!o.resumeFrom&&(o.relativeParent=o.getClosestProjectingParent(),o.relativeParent&&!o.relativeParent.resumeFrom)){var Y=o.relativeParent,et=Y.snapshot,en=Y.layout;if(et&&en){var er=createBox();calcRelativePosition(er,D.layout,et.layout);var eo=createBox();calcRelativePosition(eo,F,en.actual),boxEquals(er,eo)||(Q=!0)}}o.notifyListeners("didUpdate",{layout:F,snapshot:D,delta:W,layoutDelta:U,hasLayoutChanged:q,hasRelativeTargetChanged:Q})}else o.isLead()&&(null===(E=(_=o.options).onExitComplete)||void 0===E||E.call(_));o.options.transition=void 0}function clearSnapshot(o){o.clearSnapshot()}function clearMeasurements(o){o.clearMeasurements()}function resetTransformStyle(o){var S=o.options.visualElement;(null==S?void 0:S.getProps().onBeforeLayoutMeasure)&&S.notifyBeforeLayoutMeasure(),o.resetTransform()}function finishAnimation(o){o.finishAnimation(),o.targetDelta=o.relativeTarget=o.target=void 0}function resolveTargetDelta(o){o.resolveTargetDelta()}function calcProjection(o){o.calcProjection()}function resetRotation(o){o.resetRotation()}function removeLeadSnapshots(o){o.removeLeadSnapshot()}function mixAxisDelta(o,S,w){o.translate=mix(S.translate,0,w),o.scale=mix(S.scale,1,w),o.origin=S.origin,o.originPoint=S.originPoint}function mixAxis(o,S,w,_){o.min=mix(S.min,w.min,_),o.max=mix(S.max,w.max,_)}function hasOpacityCrossfade(o){return o.animationValues&&void 0!==o.animationValues.opacityExit}var nS={duration:.45,ease:[.4,0,.1,1]};function mountNodeEarly(o,S){for(var w=o.root,_=o.path.length-1;_>=0;_--)if(o.path[_].instance){w=o.path[_];break}var E=(w&&w!==o.root?w.instance:document).querySelector('[data-projection-id="'.concat(S,'"]'));E&&o.mount(E,!0)}function roundAxis(o){o.min=Math.round(o.min),o.max=Math.round(o.max)}function roundBox(o){roundAxis(o.x),roundAxis(o.y)}var nx=createProjectionNode({attachResizeListener:function(o,S){return addDomEvent(o,"resize",S)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),nw={current:void 0},n_=createProjectionNode({measureScroll:function(o){return{x:o.scrollLeft,y:o.scrollTop}},defaultParent:function(){if(!nw.current){var o=new nx(0,{});o.mount(window),o.setOptions({layoutScroll:!0}),nw.current=o}return nw.current},resetTransform:function(o,S){o.style.transform=null!=S?S:"none"},checkIsScrollRoot:function(o){return"fixed"===window.getComputedStyle(o).position}}),nE=(0,V.pi)((0,V.pi)((0,V.pi)((0,V.pi)({},tK),e0),t1),{measureLayout:function(o){var S=(0,V.CR)(usePresence(),2),w=S[0],_=S[1],E=(0,U.useContext)(eh);return U.createElement(ns,(0,V.pi)({},o,{layoutGroup:E,switchLayoutGroup:(0,U.useContext)(em),isPresent:w,safeToRemove:_}))}}),nT=function(o){function custom(S,w){var _,E,D,N,F,W,ev;return void 0===w&&(w={}),E=(_=o(S,w)).preloadedFeatures,D=_.createVisualElement,N=_.projectionNodeConstructor,F=_.useRender,W=_.useVisualState,ev=_.Component,E&&function(o){for(var S in o)null!==o[S]&&("projectionNodeConstructor"===S?Q.projectionNodeConstructor=o[S]:Q[S].Component=o[S])}(E),(0,U.forwardRef)(function(o,S){var w,_,ey,eb,eS,ex,ew,e_,eE,eT,eP,eC,ek,eO,eR,eA,eM,ej,eL,eI,eD,eN,eF,eV,ez,eB,eU,eH=(eC=o.layoutId,(ek=null===(eP=(0,U.useContext)(eh))||void 0===eP?void 0:eP.id)&&void 0!==eC?ek+"-"+eC:eC);o=(0,V.pi)((0,V.pi)({},o),{layoutId:eH}
50);var e$=(0,U.useContext)(er),eW=null,eZ=(eR=(eO=function(o,S){if(checkIfControllingVariants(o)){var w=o.initial,_=o.animate;return{initial:!1===w||isVariantLabel(w)?w:void 0,animate:isVariantLabel(_)?_:void 0}}return!1!==o.inherit?S:{}}(o,(0,U.useContext)(eo))).initial,eA=eO.animate,(0,U.useMemo)(function(){return{initial:eR,animate:eA}},[variantLabelsAsDependency(eR),variantLabelsAsDependency(eA)])),eG=e$.isStatic?void 0:useConstant(function(){if(ed.hasEverUpdated)return ep++}),eq=W(o,e$.isStatic);return!e$.isStatic&&es&&(eZ.visualElement=(eM=(0,V.pi)((0,V.pi)({},e$),o),ej=D,eL=(0,U.useContext)(Y),eI=(0,U.useContext)(eo).visualElement,eD=(0,U.useContext)(ea),ec||function(){if(ec=!0,es){if(window.matchMedia){var o=window.matchMedia("(prefers-reduced-motion)"),setReducedMotionPreferences=function(){return eu.current=o.matches};o.addListener(setReducedMotionPreferences),setReducedMotionPreferences()}else eu.current=!1}}(),eN=(0,V.CR)((0,U.useState)(eu.current),1)[0],eV="never"!==(eF=(0,U.useContext)(er).reducedMotion)&&("always"===eF||eN),ez=(0,U.useRef)(void 0),ej||(ej=eL.renderer),!ez.current&&ej&&(ez.current=ej(ev,{visualState:eq,parent:eI,props:eM,presenceId:null==eD?void 0:eD.id,blockInitialAnimation:(null==eD?void 0:eD.initial)===!1,shouldReduceMotion:eV})),eB=ez.current,el(function(){null==eB||eB.syncRender()}),(0,U.useEffect)(function(){var o;null===(o=null==eB?void 0:eB.animationState)||void 0===o||o.animateChanges()}),el(function(){return function(){return null==eB?void 0:eB.notifyUnmount()}},[]),eB),w=o,_=eZ.visualElement,ey=N||Q.projectionNodeConstructor,eS=w.layoutId,ex=w.layout,ew=w.drag,e_=w.dragConstraints,eE=w.layoutScroll,eT=(0,U.useContext)(em),!ey||!_||(null==_?void 0:_.projection)||(_.projection=new ey(eG,_.getLatestValues(),null===(eb=_.parent)||void 0===eb?void 0:eb.projection),_.projection.setOptions({layoutId:eS,layout:ex,alwaysMeasureLayout:!!ew||e_&&isRefObject(e_),visualElement:_,scheduleRender:function(){return _.scheduleRender()},animationType:"string"==typeof ex?ex:"both",initialPromotionConfig:eT,layoutScroll:eE})),eW=function(o,S,w){var _=[],E=(0,U.useContext)(Y);if(!S)return null;"production"!==q&&w&&E.strict&&invariant(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var D=0;D<en;D++){var N=et[D],F=Q[N],W=F.isEnabled,er=F.Component;W(o)&&er&&_.push(U.createElement(er,(0,V.pi)({key:N},o,{visualElement:S})))}return _}(o,eZ.visualElement,E)),U.createElement(eg,{visualElement:eZ.visualElement,props:(0,V.pi)((0,V.pi)({},e$),o)},eW,U.createElement(eo.Provider,{value:eZ},F(ev,o,eG,(eU=eZ.visualElement,(0,U.useCallback)(function(o){var w;o&&(null===(w=eq.mount)||void 0===w||w.call(eq,o)),eU&&(o?eU.mount(o):eU.unmount()),S&&("function"==typeof S?S(o):isRefObject(S)&&(S.current=o))},[eU])),eq,e$.isStatic,eZ.visualElement)))})}if("undefined"==typeof Proxy)return custom;var S=new Map;return new Proxy(custom,{get:function(o,w){return S.has(w)||S.set(w,custom(w)),S.get(w)}})}(function(o,S){var w,_,E,D;return _=void 0!==(w=S.forwardMotionProps)&&w,E=isSVGComponent(o)?eH:e$,(0,V.pi)((0,V.pi)({},E),{preloadedFeatures:nE,useRender:(void 0===(D=_)&&(D=!1),function(o,S,w,_,E,N){var F=E.latestValues,W=(isSVGComponent(o)?function(o,S){var w=(0,U.useMemo)(function(){var w=createSvgRenderState();return buildSVGAttrs(w,S,{enableHardwareAcceleration:!1},o.transformTemplate),(0,V.pi)((0,V.pi)({},w.attrs),{style:(0,V.pi)({},w.style)})},[S]);if(o.style){var _={};copyRawValuesOnly(_,o.style,o),w.style=(0,V.pi)((0,V.pi)({},_),w.style)}return w}:function(o,S,w){var _,E,D={},N=(copyRawValuesOnly(_={},o.style||{},o),Object.assign(_,(E=o.transformTemplate,(0,U.useMemo)(function(){var o=createHtmlRenderState();buildHTMLStyles(o,S,{enableHardwareAcceleration:!w},E);var _=o.vars,D=o.style;return(0,V.pi)((0,V.pi)({},_),D)},[S]))),o.transformValues&&(_=o.transformValues(_)),_);return o.drag&&!1!==o.dragListener&&(D.draggable=!1,N.userSelect=N.WebkitUserSelect=N.WebkitTouchCallout="none",N.touchAction=!0===o.drag?"none":"pan-".concat("x"===o.drag?"y":"x")),D.style=N,D})(S,F,N),q=function(o,S,w){var _={};
50for(var E in o)(shouldForward(E)||!0===w&&isValidMotionProp(E)||!S&&!isValidMotionProp(E)||o.draggable&&E.startsWith("onDrag"))&&(_[E]=o[E]);return _}(S,"string"==typeof o,D),Q=(0,V.pi)((0,V.pi)((0,V.pi)({},q),W),{ref:_});return w&&(Q["data-projection-id"]=w),(0,U.createElement)(o,Q)}),createVisualElement:create_visual_element_createDomVisualElement,projectionNodeConstructor:n_,Component:o})})},60624:function(o,S,w){"use strict";w.d(S,{Y:function(){return useInView}});var _=w(2888),E=w(67294);let D={any:0,all:1};function useInView(o,S){var w=void 0===S?{}:S,N=w.root,F=w.margin,V=w.amount,U=w.once,W=void 0!==U&&U,q=(0,_.CR)((0,E.useState)(!1),2),Q=q[0],Y=q[1];return(0,E.useEffect)(function(){if(o.current&&(!W||!Q)){var S,w={root:null!==(S=null==N?void 0:N.current)&&void 0!==S?S:void 0,margin:F,amount:"some"===V?"any":V};return function(o,S,{root:w,margin:_,amount:E="any"}={}){var N,F,V;if("undefined"==typeof IntersectionObserver)return()=>{};let U=("string"==typeof(N=o)?F?(null!==(V=F[N])&&void 0!==V||(F[N]=document.querySelectorAll(N)),N=F[N]):N=document.querySelectorAll(N):N instanceof Element&&(N=[N]),Array.from(N||[])),W=new WeakMap,q=new IntersectionObserver(o=>{o.forEach(o=>{let w=W.get(o.target);if(!!w!==o.isIntersecting){if(o.isIntersecting){let w=S(o);"function"==typeof w?W.set(o.target,w):q.unobserve(o.target)}else w&&(w(o),W.delete(o.target))}})},{root:w,rootMargin:_,threshold:"number"==typeof E?E:D[E]});return U.forEach(o=>q.observe(o)),()=>q.disconnect()}(o.current,function(){return Y(!0),W?void 0:function(){return Y(!1)}},w)}},[N,o,F,W]),Q}},2888:function(o,S,w){"use strict";w.d(S,{CR:function(){return __read},ZT:function(){return __extends},_T:function(){return __rest},ev:function(){return __spreadArray},pi:function(){return __assign}});var extendStatics=function(o,S){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(o,S){o.__proto__=S}||function(o,S){for(var w in S)Object.prototype.hasOwnProperty.call(S,w)&&(o[w]=S[w])})(o,S)};function __extends(o,S){if("function"!=typeof S&&null!==S)throw TypeError("Class extends value "+String(S)+" is not a constructor or null");function __(){this.constructor=o}extendStatics(o,S),o.prototype=null===S?Object.create(S):(__.prototype=S.prototype,new __)}var __assign=function(){return(__assign=Object.assign||function(o){for(var S,w=1,_=arguments.length;w<_;w++)for(var E in S=arguments[w])Object.prototype.hasOwnProperty.call(S,E)&&(o[E]=S[E]);return o}).apply(this,arguments)};function __rest(o,S){var w={};for(var _ in o)Object.prototype.hasOwnProperty.call(o,_)&&0>S.indexOf(_)&&(w[_]=o[_]);if(null!=o&&"function"==typeof Object.getOwnPropertySymbols)for(var E=0,_=Object.getOwnPropertySymbols(o);E<_.length;E++)0>S.indexOf(_[E])&&Object.prototype.propertyIsEnumerable.call(o,_[E])&&(w[_[E]]=o[_[E]]);return w}function __read(o,S){var w="function"==typeof Symbol&&o[Symbol.iterator];if(!w)return o;var _,E,D=w.call(o),N=[];try{for(;(void 0===S||S-- >0)&&!(_=D.next()).done;)N.push(_.value)}catch(o){E={error:o}}finally{try{_&&!_.done&&(w=D.return)&&w.call(D)}finally{if(E)throw E.error}}return N}function __spreadArray(o,S,w){if(w||2==arguments.length)for(var _,E=0,D=S.length;E<D;E++)!_&&E in S||(_||(_=Array.prototype.slice.call(S,0,E)),_[E]=S[E]);return o.concat(_||Array.prototype.slice.call(S))}"function"==typeof SuppressedError&&SuppressedError},87536:function(o,S,w){"use strict";w.d(S,{cI:function(){return useForm}});var _=w(67294),isCheckBoxInput=o=>"checkbox"===o.type,isDateObject=o=>o instanceof Date,isNullOrUndefined=o=>null==o;let isObjectType=o=>"object"==typeof o;var isObject=o=>!isNullOrUndefined(o)&&!Array.isArray(o)&&isObjectType(o)&&!isDateObject(o),getEventValue=o=>isObject(o)&&o.target?isCheckBoxInput(o.target)?o.target.checked:o.target.value:o,getNodeParentName=o=>o.substring(0,o.search(/\.\d+(\.|$)/))||o,isNameInFieldArray=(o,S)=>o.has(getNodeParentName(S)),compact=o=>
50Array.isArray(o)?o.filter(Boolean):[],isUndefined=o=>void 0===o,get=(o,S,w)=>{if(!S||!isObject(o))return w;let _=compact(S.split(/[,[\].]+?/)).reduce((o,S)=>isNullOrUndefined(o)?o:o[S],o);return isUndefined(_)||_===o?isUndefined(o[S])?w:o[S]:_};let E={BLUR:"blur",FOCUS_OUT:"focusout"},D={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},N={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};_.createContext(null);var getProxyFormState=(o,S,w,_=!0)=>{let E={};for(let N in o)Object.defineProperty(E,N,{get:()=>(S[N]!==D.all&&(S[N]=!_||D.all),w&&(w[N]=!0),o[N])});return E},isEmptyObject=o=>isObject(o)&&!Object.keys(o).length,shouldRenderFormState=(o,S,w)=>{let{name:_,...E}=o;return isEmptyObject(E)||Object.keys(E).length>=Object.keys(S).length||Object.keys(E).find(o=>S[o]===(!w||D.all))},convertToArrayPayload=o=>Array.isArray(o)?o:[o],isString=o=>"string"==typeof o,generateWatchOutput=(o,S,w,_)=>{let E=Array.isArray(o);return isString(o)?(_&&S.watch.add(o),get(w,o)):E?o.map(o=>(_&&S.watch.add(o),get(w,o))):(_&&(S.watchAll=!0),w)},isFunction=o=>"function"==typeof o,objectHasFunction=o=>{for(let S in o)if(isFunction(o[S]))return!0;return!1},appendErrors=(o,S,w,_,E)=>S?{...w[o],types:{...w[o]&&w[o].types?w[o].types:{},[_]:E||!0}}:{},isKey=o=>/^\w*$/.test(o),stringToPath=o=>compact(o.replace(/["|']|\]/g,"").split(/\.|\[/));function set(o,S,w){let _=-1,E=isKey(S)?[S]:stringToPath(S),D=E.length,N=D-1;for(;++_<D;){let S=E[_],D=w;if(_!==N){let w=o[S];D=isObject(w)||Array.isArray(w)?w:isNaN(+E[_+1])?{}:[]}o[S]=D,o=o[S]}return o}let focusFieldBy=(o,S,w)=>{for(let _ of w||Object.keys(o)){let w=get(o,_);if(w){let{_f:o,..._}=w;if(o&&S(o.name)){if(o.ref.focus&&isUndefined(o.ref.focus()))break;if(o.refs){o.refs[0].focus();break}}else isObject(_)&&focusFieldBy(_,S)}}};var isWatched=(o,S,w)=>!w&&(S.watchAll||S.watch.has(o)||[...S.watch].some(S=>o.startsWith(S)&&/^\.\w+/.test(o.slice(S.length))));function cloneObject(o){let S;let w=Array.isArray(o);if(o instanceof Date)S=new Date(o);else if(o instanceof Set)S=new Set(o);else if(!(w||isObject(o)))return o;else for(let _ in S=w?[]:{},o){if(isFunction(o[_])){S=o;break}S[_]=cloneObject(o[_])}return S}function createSubject(){let o=[];return{get observers(){return o},next:S=>{for(let w of o)w.next(S)},subscribe:S=>(o.push(S),{unsubscribe:()=>{o=o.filter(o=>o!==S)}}),unsubscribe:()=>{o=[]}}}var isPrimitive=o=>isNullOrUndefined(o)||!isObjectType(o);function deepEqual(o,S){if(isPrimitive(o)||isPrimitive(S))return o===S;if(isDateObject(o)&&isDateObject(S))return o.getTime()===S.getTime();let w=Object.keys(o),_=Object.keys(S);if(w.length!==_.length)return!1;for(let E of w){let w=o[E];if(!_.includes(E))return!1;if("ref"!==E){let o=S[E];if(isDateObject(w)&&isDateObject(o)||isObject(w)&&isObject(o)||Array.isArray(w)&&Array.isArray(o)?!deepEqual(w,o):w!==o)return!1}}return!0}var getValidationModes=o=>({isOnSubmit:!o||o===D.onSubmit,isOnBlur:o===D.onBlur,isOnChange:o===D.onChange,isOnAll:o===D.all,isOnTouch:o===D.onTouched}),isBoolean=o=>"boolean"==typeof o,isFileInput=o=>"file"===o.type,isHTMLElement=o=>o instanceof HTMLElement,isMultipleSelect=o=>"select-multiple"===o.type,isRadioInput=o=>"radio"===o.type,isRadioOrCheckbox=o=>isRadioInput(o)||isCheckBoxInput(o),F="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document,live=o=>isHTMLElement(o)&&o.isConnected;function unset(o,S){let w;let _=isKey(S)?[S]:stringToPath(S),E=1==_.length?o:function(o,S){let w=S.slice(0,-1).length,_=0;for(;_<w;)o=isUndefined(o)?_++:o[S[_++]];return o}(o,_),D=_[_.length-1];E&&delete E[D];for(let S=0;S<_.slice(0,-1).length;S++){let E,D=-1,N=_.slice(0,-(S+1)),F=N.length-1;for(S>0&&(w=o);++D<N.length;){let S=N[D];E=E?E[S]:o[S],F===D&&(isObject(E)&&isEmptyObject(E)||Array.isArray(E)&&!E.filter(o=>!isUndefined(o)).length)&&(w?delete w[S]:delete o[S]),w=E}}return o}function markFieldsDirty(o,S={}){let w=Array.isArray(o);if(isObject(o)||w)for(let w in o)Array.isArray(o[w])||isObject(o[w])&&!objectHasFunction(o[w])?(S[w]=Array.isArray(o[w])?[]:{},markFieldsDirty(o[w],S[w])):isNullOrUndefined(o[w])||(S[w]=!0);return S}var getDirtyFields=(o,S)=>(function getDirtyFieldsFromDefaultValues(o,S,w){let _=Array.isArray(o);if(isObject(o)||_)for(let _ in o)Array.isArray(o[_])||isObject(o[_])&&!objectHasFunction(o[_])?isUndefined(S)||isPrimitive(w[_])?w[_]=Array.isArray(o[_])?markFieldsDirty(o[_],[]):{...markFieldsDirty(o[_])}:getDirtyFieldsFromDefaultValues(o[_],isNullOrUndefined(S)?{}:S[_],w[_]):w[_]=!deepEqual(o[_],S[_]);return w})(o,S,markFieldsDirty(S));let V={value:!1,isValid:!1},U={value:!0,isValid:!0};var getCheckboxValue=o=>{if(Array.isArray(o)){if(o.length>1){let S=o.filter(o=>o&&o.checked&&!o.disabled).map(o=>o.value);return{value:S,isValid:!!S.length}}return o[0].checked&&!o[0].disabled?o[0].attributes&&!isUndefined(o[0].attributes.value)?isUndefined(o[0].value)||""===o[0].value?U:{value:o[0].value,isValid:!0}:U:V}return V},getFieldValueAs=(o,{valueAsNumber:S,valueAsDate:w,setValueAs:_})=>isUndefined(o)?o:S?""===o?NaN:+o:w&&isString(o)?new Date(o):_?_(o):o;let W={isValid:!1,value:null};var getRadioValue=o=>Array.isArray(o)?o.reduce((o,S)=>S&&S.checked&&!S.disabled?{isValid:!0,value:S.value}:o,W):W;function getFieldValue(o){let S=o.ref;return(o.refs?o.refs.every(o=>o.disabled):S.disabled)?void 0:isFileInput(S)?S.files:isRadioInput(S)?getRadioValue(o.refs).value:isMultipleSelect(S)?[...S.selectedOptions].map(({value:o})=>o):isCheckBoxInput(S)?getCheckboxValue(o.refs).value:getFieldValueAs(isUndefined(S.value)?o.ref.value:S.value,o)}var getResolverOptions=(o,S,w,_)=>{let E={};for(let w of o){let o=get(S,w);o&&set(E,w,o._f)}return{criteriaMode:w,names:[...o],fields:E,shouldUseNativeValidation:_}},isRegex=o=>o instanceof RegExp,getRuleValue=o=>isUndefined(o)?void 0:isRegex(o)?o.source:isObject(o)?isRegex(o.value)?o.value.source:o.value:o,hasValidation=o=>
50o.mount&&(o.required||o.min||o.max||o.maxLength||o.minLength||o.pattern||o.validate);function schemaErrorLookup(o,S,w){let _=get(o,w);if(_||isKey(w))return{error:_,name:w};let E=w.split(".");for(;E.length;){let _=E.join("."),D=get(S,_),N=get(o,_);if(D&&!Array.isArray(D)&&w!==_)break;if(N&&N.type)return{name:_,error:N};E.pop()}return{name:w}}var skipValidation=(o,S,w,_,E)=>!E.isOnAll&&(!w&&E.isOnTouch?!(S||o):(w?_.isOnBlur:E.isOnBlur)?!o:(w?!_.isOnChange:!E.isOnChange)||o),unsetEmptyArray=(o,S)=>!compact(get(o,S)).length&&unset(o,S),isMessage=o=>isString(o)||_.isValidElement(o);function getValidateError(o,S,w="validate"){if(isMessage(o)||Array.isArray(o)&&o.every(isMessage)||isBoolean(o)&&!o)return{type:w,message:isMessage(o)?o:"",ref:S}}var getValueAndMessage=o=>isObject(o)&&!isRegex(o)?o:{value:o,message:""},validateField=async(o,S,w,_)=>{let{ref:E,refs:D,required:F,maxLength:V,minLength:U,min:W,max:q,pattern:Q,validate:Y,name:et,valueAsNumber:en,mount:er,disabled:eo}=o._f;if(!er||eo)return{};let ea=D?D[0]:E,setCustomValidity=o=>{_&&ea.reportValidity&&(ea.setCustomValidity(isBoolean(o)?"":o||" "),ea.reportValidity())},es={},el=isRadioInput(E),eu=isCheckBoxInput(E),ec=(en||isFileInput(E))&&!E.value||""===S||Array.isArray(S)&&!S.length,ed=appendErrors.bind(null,et,w,es),getMinMaxMessage=(o,S,w,_=N.maxLength,D=N.minLength)=>{let F=o?S:w;es[et]={type:o?_:D,message:F,ref:E,...ed(o?_:D,F)}};if(F&&(!(el||eu)&&(ec||isNullOrUndefined(S))||isBoolean(S)&&!S||eu&&!getCheckboxValue(D).isValid||el&&!getRadioValue(D).isValid)){let{value:o,message:S}=isMessage(F)?{value:!!F,message:F}:getValueAndMessage(F);if(o&&(es[et]={type:N.required,message:S,ref:ea,...ed(N.required,S)},!w))return setCustomValidity(S),es}if(!ec&&(!isNullOrUndefined(W)||!isNullOrUndefined(q))){let o,_;let D=getValueAndMessage(q),F=getValueAndMessage(W);if(isNaN(S)){let w=E.valueAsDate||new Date(S);isString(D.value)&&(o=w>new Date(D.value)),isString(F.value)&&(_=w<new Date(F.value))}else{let w=E.valueAsNumber||+S;isNullOrUndefined(D.value)||(o=w>D.value),isNullOrUndefined(F.value)||(_=w<F.value)}if((o||_)&&(getMinMaxMessage(!!o,D.message,F.message,N.max,N.min),!w))return setCustomValidity(es[et].message),es}if((V||U)&&!ec&&isString(S)){let o=getValueAndMessage(V),_=getValueAndMessage(U),E=!isNullOrUndefined(o.value)&&S.length>o.value,D=!isNullOrUndefined(_.value)&&S.length<_.value;if((E||D)&&(getMinMaxMessage(E,o.message,_.message),!w))return setCustomValidity(es[et].message),es}if(Q&&!ec&&isString(S)){let{value:o,message:_}=getValueAndMessage(Q);if(isRegex(o)&&!S.match(o)&&(es[et]={type:N.pattern,message:_,ref:E,...ed(N.pattern,_)},!w))return setCustomValidity(_),es}if(Y){if(isFunction(Y)){let o=await Y(S),_=getValidateError(o,ea);if(_&&(es[et]={..._,...ed(N.validate,_.message)},!w))return setCustomValidity(_.message),es}else if(isObject(Y)){let o={};for(let _ in Y){if(!isEmptyObject(o)&&!w)break;let E=getValidateError(await Y[_](S),ea,_);E&&(o={...E,...ed(_,E.message)},setCustomValidity(E.message),w&&(es[et]=o))}if(!isEmptyObject(o)&&(es[et]={ref:ea,...o},!w))return es}}return setCustomValidity(!0),es};let q={mode:D.onSubmit,reValidateMode:D.onChange,shouldFocusError:!0};function useForm(o={}){let S=_.useRef(),[w,N]=_.useState({isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}});S.current?S.current.control._options=o:S.current={...function(o={}){let S,w={...q,...o},_={isDirty:!1,isValidating:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touchedFields:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,errors:{}},N={},V=cloneObject(w.defaultValues)||{},U=w.shouldUnregister?{}:cloneObject(V),W={action:!1,mount:!1,watch:!1},Q={mount:new Set,unMount:new Set,array:new Set,watch:new Set},Y=0,et={},en={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},er={watch:createSubject(),array:createSubject(),state:createSubject()},eo=getValidationModes(w.mode),ea=getValidationModes(w.reValidateMode),es=w.criteriaMode===D.all,debounce=(o,S)=>(...w)=>{clearTimeout(Y),Y=window.setTimeout(()=>
50o(...w),S)},_updateValid=async o=>{let S=!1;return en.isValid&&(S=w.resolver?isEmptyObject((await _executeSchema()).errors):await executeBuildInValidation(N,!0),o||S===_.isValid||(_.isValid=S,er.state.next({isValid:S}))),S},updateErrors=(o,S)=>(set(_.errors,o,S),er.state.next({errors:_.errors})),updateValidAndValue=(o,S,w,_)=>{let E=get(N,o);if(E){let D=get(U,o,isUndefined(w)?get(V,o):w);isUndefined(D)||_&&_.defaultChecked||S?set(U,o,S?D:getFieldValue(E._f)):setFieldValue(o,D),W.mount&&_updateValid()}},updateTouchAndDirty=(o,S,w,E,D)=>{let N=!1,F={name:o},U=get(_.touchedFields,o);if(en.isDirty){let o=_.isDirty;_.isDirty=F.isDirty=_getDirty(),N=o!==F.isDirty}if(en.dirtyFields&&(!w||E)){let w=get(_.dirtyFields,o),E=deepEqual(get(V,o),S);E?unset(_.dirtyFields,o):set(_.dirtyFields,o,!0),F.dirtyFields=_.dirtyFields,N=N||w!==get(_.dirtyFields,o)}return w&&!U&&(set(_.touchedFields,o,w),F.touchedFields=_.touchedFields,N=N||en.touchedFields&&U!==w),N&&D&&er.state.next(F),N?F:{}},shouldRenderByError=async(w,E,D,N,F)=>{let V=get(_.errors,E),U=en.isValid&&_.isValid!==D;if(o.delayError&&N?(S=S||debounce(updateErrors,o.delayError))(E,N):(clearTimeout(Y),N?set(_.errors,E,N):unset(_.errors,E)),((N?!deepEqual(V,N):V)||!isEmptyObject(F)||U)&&!w){let o={...F,...U?{isValid:D}:{},errors:_.errors,name:E};_={..._,...o},er.state.next(o)}et[E]--,en.isValidating&&!Object.values(et).some(o=>o)&&(er.state.next({isValidating:!1}),et={})},_executeSchema=async o=>w.resolver?await w.resolver({...U},w.context,getResolverOptions(o||Q.mount,N,w.criteriaMode,w.shouldUseNativeValidation)):{},executeSchemaAndUpdateState=async o=>{let{errors:S}=await _executeSchema();if(o)for(let w of o){let o=get(S,w);o?set(_.errors,w,o):unset(_.errors,w)}else _.errors=S;return S},executeBuildInValidation=async(o,S,E={valid:!0})=>{for(let D in o){let N=o[D];if(N){let{_f:o,...D}=N;if(o){let D=await validateField(N,get(U,o.name),es,w.shouldUseNativeValidation);if(D[o.name]&&(E.valid=!1,S))break;S||(D[o.name]?set(_.errors,o.name,D[o.name]):unset(_.errors,o.name))}D&&await executeBuildInValidation(D,S,E)}}return E.valid},_getDirty=(o,S)=>(o&&S&&set(U,o,S),!deepEqual(getValues(),V)),_getWatch=(o,S,w)=>{let _={...W.mount?U:isUndefined(S)?V:isString(o)?{[o]:S}:S};return generateWatchOutput(o,Q,_,w)},setFieldValue=(o,S,w={})=>{let _=get(N,o),E=S;if(_){let w=_._f;w&&(w.disabled||set(U,o,getFieldValueAs(S,w)),E=F&&isHTMLElement(w.ref)&&isNullOrUndefined(S)?"":S,isMultipleSelect(w.ref)?[...w.ref.options].forEach(o=>o.selected=E.includes(o.value)):w.refs?isCheckBoxInput(w.ref)?w.refs.length>1?w.refs.forEach(o=>!o.disabled&&(o.checked=Array.isArray(E)?!!E.find(S=>S===o.value):E===o.value)):w.refs[0]&&(w.refs[0].checked=!!E):w.refs.forEach(o=>o.checked=o.value===E):isFileInput(w.ref)?w.ref.value="":(w.ref.value=E,w.ref.type||er.watch.next({name:o})))}(w.shouldDirty||w.shouldTouch)&&updateTouchAndDirty(o,E,w.shouldTouch,w.shouldDirty,!0),w.shouldValidate&&trigger(o)},setValues=(o,S,w)=>{for(let _ in S){let E=S[_],D=`${o}.${_}`,F=get(N,D);!Q.array.has(o)&&isPrimitive(E)&&(!F||F._f)||isDateObject(E)?setFieldValue(D,E,w):setValues(D,E,w)}},setValue=(o,S,w={})=>{let E=get(N,o),D=Q.array.has(o),F=cloneObject(S);set(U,o,F),D?(er.array.next({name:o,values:U}),(en.isDirty||en.dirtyFields)&&w.shouldDirty&&(_.dirtyFields=getDirtyFields(V,U),er.state.next({name:o,dirtyFields:_.dirtyFields,isDirty:_getDirty(o,F)}))):!E||E._f||isNullOrUndefined(F)?setFieldValue(o,F,w):setValues(o,F,w),isWatched(o,Q)&&er.state.next({}),er.watch.next({name:o})},onChange=async o=>{let S=o.target,D=S.name,F=get(N,D);if(F){let V,W;let q=S.type?getFieldValue(F._f):getEventValue(o),Y=o.type===E.BLUR||o.type===E.FOCUS_OUT,en=!hasValidation(F._f)&&!w.resolver&&!get(_.errors,D)&&!F._f.deps||skipValidation(Y,get(_.touchedFields,D),_.isSubmitted,ea,eo),el=isWatched(D,Q,Y);set(U,D,q),Y?F._f.onBlur&&F._f.onBlur(o):F._f.onChange&&F._f.onChange(o);let eu=updateTouchAndDirty(D,q,Y,!1),ec=!isEmptyObject(eu)||el;if(Y||er.watch.next({name:D,type:o.type}),en)return ec&&er.state.next({name:D,...el?{}:eu});if(!Y&&el&&er.state.next({}),et[D]=(et[D],1),er.state.next({isValidating:!0}),w.resolver){let{errors:o}=await _executeSchema([D]),S=schemaErrorLookup(_.errors,N,D),w=schemaErrorLookup(o,N,S.name||D);V=w.error,D=w.name,W=isEmptyObject(o)}else V=(await validateField(F,get(U,D),es,w.shouldUseNativeValidation))[D],W=await _updateV
50alid(!0);F._f.deps&&trigger(F._f.deps),shouldRenderByError(!1,D,W,V,eu)}},trigger=async(o,S={})=>{let E,D;let F=convertToArrayPayload(o);if(er.state.next({isValidating:!0}),w.resolver){let S=await executeSchemaAndUpdateState(isUndefined(o)?o:F);E=isEmptyObject(S),D=o?!F.some(o=>get(S,o)):E}else o?((D=(await Promise.all(F.map(async o=>{let S=get(N,o);return await executeBuildInValidation(S&&S._f?{[o]:S}:S)}))).every(Boolean))||_.isValid)&&_updateValid():D=E=await executeBuildInValidation(N);return er.state.next({...!isString(o)||en.isValid&&E!==_.isValid?{}:{name:o},...w.resolver?{isValid:E}:{},errors:_.errors,isValidating:!1}),S.shouldFocus&&!D&&focusFieldBy(N,o=>get(_.errors,o),o?F:Q.mount),D},getValues=o=>{let S={...V,...W.mount?U:{}};return isUndefined(o)?S:isString(o)?get(S,o):o.map(o=>get(S,o))},getFieldState=(o,S)=>({invalid:!!get((S||_).errors,o),isDirty:!!get((S||_).dirtyFields,o),isTouched:!!get((S||_).touchedFields,o),error:get((S||_).errors,o)}),unregister=(o,S={})=>{for(let E of o?convertToArrayPayload(o):Q.mount)Q.mount.delete(E),Q.array.delete(E),get(N,E)&&(S.keepValue||(unset(N,E),unset(U,E)),S.keepError||unset(_.errors,E),S.keepDirty||unset(_.dirtyFields,E),S.keepTouched||unset(_.touchedFields,E),w.shouldUnregister||S.keepDefaultValue||unset(V,E));er.watch.next({}),er.state.next({..._,...S.keepDirty?{isDirty:_getDirty()}:{}}),S.keepIsValid||_updateValid()},register=(o,S={})=>{let _=get(N,o),E=isBoolean(S.disabled);return set(N,o,{_f:{..._&&_._f?_._f:{ref:{name:o}},name:o,mount:!0,...S}}),Q.mount.add(o),_?E&&set(U,o,S.disabled?void 0:get(U,o,getFieldValue(_._f))):updateValidAndValue(o,!0,S.value),{...E?{disabled:S.disabled}:{},...w.shouldUseNativeValidation?{required:!!S.required,min:getRuleValue(S.min),max:getRuleValue(S.max),minLength:getRuleValue(S.minLength),maxLength:getRuleValue(S.maxLength),pattern:getRuleValue(S.pattern)}:{},name:o,onChange,onBlur:onChange,ref:E=>{if(E){register(o,S),_=get(N,o);let w=isUndefined(E.value)&&E.querySelectorAll&&E.querySelectorAll("input,select,textarea")[0]||E,D=isRadioOrCheckbox(w),F=_._f.refs||[];(D?F.find(o=>o===w):w===_._f.ref)||(set(N,o,{_f:{..._._f,...D?{refs:[...F.filter(live),w,...Array.isArray(get(V,o))?[{}]:[]],ref:{type:w.type,name:o}}:{ref:w}}}),updateValidAndValue(o,!1,void 0,w))}else(_=get(N,o,{}))._f&&(_._f.mount=!1),(w.shouldUnregister||S.shouldUnregister)&&!(isNameInFieldArray(Q.array,o)&&W.action)&&Q.unMount.add(o)}}};return{control:{register,unregister,getFieldState,_executeSchema,_getWatch,_getDirty,_updateValid,_removeUnmounted:()=>{for(let o of Q.unMount){let S=get(N,o);S&&(S._f.refs?S._f.refs.every(o=>!live(o)):!live(S._f.ref))&&unregister(o)}Q.unMount=new Set},_updateFieldArray:(o,S=[],w,E,D=!0,F=!0)=>{if(E&&w){if(W.action=!0,F&&Array.isArray(get(N,o))){let S=w(get(N,o),E.argA,E.argB);D&&set(N,o,S)}if(en.errors&&F&&Array.isArray(get(_.errors,o))){let S=w(get(_.errors,o),E.argA,E.argB);D&&set(_.errors,o,S),unsetEmptyArray(_.errors,o)}if(en.touchedFields&&F&&Array.isArray(get(_.touchedFields,o))){let S=w(get(_.touchedFields,o),E.argA,E.argB);D&&set(_.touchedFields,o,S)}en.dirtyFields&&(_.dirtyFields=getDirtyFields(V,U)),er.state.next({isDirty:_getDirty(o,S),dirtyFields:_.dirtyFields,errors:_.errors,isValid:_.isValid})}else set(U,o,S)},_getFieldArray:S=>compact(get(W.mount?U:V,S,o.shouldUnregister?get(V,S,[]):[])),_subjects:er,_proxyFormState:en,get _fields(){return N},get _formValues(){return U},get _stateFlags(){return W},set _stateFlags(value){W=value},get _defaultValues(){return V},get _names(){return Q},set _names(value){Q=value},get _formState(){return _},set _formState(value){_=value},get _options(){return w},set _options(value){w={...w,...value}}},trigger,register,handleSubmit:(o,S)=>async E=>{E&&(E.preventDefault&&E.preventDefault(),E.persist&&E.persist());let D=!0,F=cloneObject(U);er.state.next({isSubmitting:!0});try{if(w.resolver){let{errors:o,values:S}=await _executeSchema();_.errors=o,F=S}else await executeBuildInValidation(N);isEmptyObject(_.errors)&&Object.keys(_.errors).every(o=>get(F,o))?(er.state.next({errors:{},isSubmitting:!0}),await o(F,E)):(S&&await S({..._.errors},E),w.shouldFocusError&&focusFieldBy(N,o=>get(_.errors,o),Q.mount))}catch(o){throw D=!1,o}finally{_.isSubmitted=!0,er.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:isEmptyObject(_.errors)&&D,submitCount:_.submitCount+1,errors:_.errors})}},watch:(o,S)=>isFunction(o)?er.watch.subscribe({next:w=>o(_getWatch(void 0,S),w)}):_getWatch(o,S,!0),setValue,getValues,reset:(S,w={})=>{let E=S||V,D=cloneObject(E),q=S&&!isEmptyObject(S)?D:V;if(w.keepDefaultValues||(V=E),!w.keepValues){if(F&&isUndefined(S))for(let o of Q.mount){let S=get(N,o);if(S&&S._f){let o=Array.isArray(S._f.refs)?S._f.refs[0]:S._f.ref;try{isHTMLElement(o)&&o.closest("form").reset();break}catch(o){}}}U=o.shouldUnregister?w.keepDefaultValues?cloneObject(V):{}:D,N={},er.array.next({values:q}),er.watch.next({values:q})}Q={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},W.mount=!en.isValid||!!w.keepIsValid,W.watch=!!o.shouldUnregister,er.state.next({submitCount:w.keepSubmitCount?_.submitCount:0,isDirty:w.keepDirty?_.isDirty:!!w.keepDefaultValues&&!deepEqual(S,V),isSubmitted:!!w.keepIsSubmitted&&_.isSubmitted,dirtyFields:w.keepDirty?_.dirtyFields:w.keepDefaultValues&&S?Object.entries(S).reduce((o,[S,w])=>({...o,[S]:w!==get(V,S)}),{}):{},touchedFields:w.keepTouched?_.touchedFields:{},errors:w.keepErrors?_.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})},resetField:(o,S={})=>{get(N,o)&&(isUndefined(S.defaultValue)?setValue(o,get(V,o)):(setValue(o,S.defaultValue),set(V,o,S.defaultValue)),S.keepTouched||unset(_.touchedFields,o),S.keepDirty||(unset(_.dirtyFields,o),_.isDirty=S.defaultValue?_getDirty(o,get(V,o)):_getDirty()),!S.keepError&&(unset(_.errors,o),en.isValid&&_updateV
50alid()),er.state.next({..._}))},clearErrors:o=>{o?convertToArrayPayload(o).forEach(o=>unset(_.errors,o)):_.errors={},er.state.next({errors:_.errors})},unregister,setError:(o,S,w)=>{let E=(get(N,o,{_f:{}})._f||{}).ref;set(_.errors,o,{...S,ref:E}),er.state.next({name:o,errors:_.errors,isValid:!1}),w&&w.shouldFocus&&E&&E.focus&&E.focus()},setFocus:(o,S={})=>{let w=get(N,o)._f,_=w.refs?w.refs[0]:w.ref;S.shouldSelect?_.select():_.focus()},getFieldState}}(o),formState:w};let V=S.current.control,U=_.useCallback(o=>{shouldRenderFormState(o,V._proxyFormState,!0)&&(V._formState={...V._formState,...o},N({...V._formState}))},[V]);return!function(o){let S=_.useRef(o);S.current=o,_.useEffect(()=>{let tearDown=o=>{o&&o.unsubscribe()},w=!o.disabled&&S.current.subject.subscribe({next:S.current.callback});return()=>tearDown(w)},[o.disabled])}({subject:V._subjects.state,callback:U}),_.useEffect(()=>{V._stateFlags.mount||(V._proxyFormState.isValid&&V._updateValid(),V._stateFlags.mount=!0),V._stateFlags.watch&&(V._stateFlags.watch=!1,V._subjects.state.next({})),V._removeUnmounted()}),S.current.formState=getProxyFormState(w,V._proxyFormState),S.current}},60315:function(o,S,w){"use strict";w.d(S,{ZP:function(){return ae}});var _=Object.defineProperty,x=(o,S,w)=>S in o?_(o,S,{enumerable:!0,configurable:!0,writable:!0,value:w}):o[S]=w,c=(o,S,w)=>x(o,"symbol"!=typeof S?S+"":S,w);function v(o){return!(o!=o||o===1/0||o===-1/0)}let k=class k{constructor(){c(this,"isCDNUrl",(o="")=>o.indexOf("/cdn/")>-1),c(this,"getOptionsPage",(o,S=25,w=1)=>({...o,per_page:S,page:w})),c(this,"delay",o=>new Promise(S=>setTimeout(S,o))),c(this,"arrayFrom",(o=0,S)=>[...Array(o)].map(S)),c(this,"range",(o=0,S=o)=>{let w=Math.abs(S-o)||0,_=o<S?1:-1;return this.arrayFrom(w,(S,w)=>w*_+o)}),c(this,"asyncMap",async(o,S)=>Promise.all(o.map(S))),c(this,"flatMap",(o=[],S)=>o.map(S).reduce((o,S)=>[...o,...S],[])),c(this,"escapeHTML",function(o){let S={"&":"&","<":"<",">":">",'"':""","'":"'"},w=/[&<>"']/g,_=RegExp(w.source);return o&&_.test(o)?o.replace(w,o=>S[o]):o})}stringify(o,S,w){let _=[];for(let E in o){let D;if(!Object.prototype.hasOwnProperty.call(o,E))continue;let N=o[E],F=w?"":encodeURIComponent(E);D="object"==typeof N?this.stringify(N,S?S+encodeURIComponent("["+F+"]"):F,Array.isArray(N)):(S?S+encodeURIComponent("["+F+"]"):F)+"="+encodeURIComponent(N),_.push(D)}return _.join("&")}getRegionURL(o){switch(o){case"us":return"api-us.storyblok.com";case"cn":return"app.storyblokchina.cn";case"ap":return"api-ap.storyblok.com";case"ca":return"api-ca.storyblok.com";default:return"api.storyblok.com"}}};let A=function(o,S){let w={};for(let _ in o){let E=o[_];S.indexOf(_)>-1&&null!==E&&(w[_]=E)}return w},C=o=>"email"===o,E={nodes:{horizontal_rule:()=>({singleTag:"hr"}),blockquote:()=>({tag:"blockquote"}),bullet_list:()=>({tag:"ul"}),code_block:o=>({tag:["pre",{tag:"code",attrs:o.attrs}]}),hard_break:()=>({singleTag:"br"}),heading:o=>({tag:`h${o.attrs.level}`}),image:o=>({singleTag:[{tag:"img",attrs:A(o.attrs,["src","alt","title"])}]}),list_item:()=>({tag:"li"}),ordered_list:()=>({tag:"ol"}),paragraph:()=>({tag:"p"}),emoji:o=>({tag:[{tag:"span",attrs:{"data-type":"emoji","data-name":o.attrs.name,emoji:o.attrs.emoji}}]})},marks:{bold:()=>({tag:"b"}),strike:()=>({tag:"s"}),underline:()=>({tag:"u"}),strong:()=>({tag:"strong"}),code:()=>({tag:"code"}),italic:()=>({tag:"i"}),link:o=>{if(!o.attrs)return{tag:""};let S=new k().escapeHTML,w={...o.attrs},{linktype:_="url"}=o.attrs;if(delete w.linktype,w.href&&(w.href=S(o.attrs.href||"")),C(_)&&(w.href=`mailto:${w.href}`),w.anchor&&(w.href=`${w.href}#${w.anchor}`,delete w.anchor),w.custom){for(let o in w.custom)w[o]=w.custom[o];delete w.custom}return{tag:[{tag:"a",attrs:w}]}},styled:o=>({tag:[{tag:"span",attrs:o.attrs}]}),subscript:()=>({tag:"sub"}),superscript:()=>({tag:"sup"}),anchor:o=>({tag:[{tag:"span",attrs:o.attrs}]}),highlight:o=>{var S;return null!=(S=o.attrs)&&S.color?{tag:[{tag:"span",attrs:{style:`background-color:${o.attrs.color};`}}]}:{tag:""}},textStyle:o=>{var S;return null!=(S=o.attrs)&&S.color?{tag:[{tag:"span",attrs:{style:`color:${o.attrs.color}`}}]}:{tag:""}}
50}},se=function(o){let S={"&":"&","<":"<",">":">",'"':""","'":"'"},w=/[&<>"']/g,_=RegExp(w.source);return o&&_.test(o)?o.replace(w,o=>S[o]):o},D=!1,N=class{constructor(o){c(this,"marks"),c(this,"nodes"),o||(o=E),this.marks=o.marks||[],this.nodes=o.nodes||[]}addNode(o,S){this.nodes[o]=S}addMark(o,S){this.marks[o]=S}render(o,S={optimizeImages:!1},w=!0){if(!D&&w&&(console.warn("Warning â ï¸: The RichTextResolver class is deprecated and will be removed in the next major release. Please use the `@storyblok/richtext` package instead. https://github.com/storyblok/richtext/"),D=!0),o&&o.content&&Array.isArray(o.content)){let w="";return o.content.forEach(o=>{w+=this.renderNode(o)}),S.optimizeImages?this.optimizeImages(w,S.optimizeImages):w}return console.warn(`The render method must receive an Object with a "content" field. 51 The "content" field must be an array of nodes as the type ISbRichtext. 52 ISbRichtext: 53 content?: ISbRichtext[] 54 marks?: ISbRichtext[] 55 attrs?: any 56 text?: string 57 type: string 58 59 Example: 60 { 61 content: [ 62 { 63 content: [ 64 { 65 text: 'Hello World', 66 type: 'text' 67 } 68 ], 69 type: 'paragraph' 70 } 71 ], 72 type: 'doc' 73 }`),""}optimizeImages(o,S){let w=0,_=0,E="",D="";"boolean"!=typeof S&&("number"==typeof S.width&&S.width>0&&(E+=`width="${S.width}" `,w=S.width),"number"==typeof S.height&&S.height>0&&(E+=`height="${S.height}" `,_=S.height),("lazy"===S.loading||"eager"===S.loading)&&(E+=`loading="${S.loading}" `),"string"==typeof S.class&&S.class.length>0&&(E+=`class="${S.class}" `),S.filters&&("number"==typeof S.filters.blur&&S.filters.blur>=0&&S.filters.blur<=100&&(D+=`:blur(${S.filters.blur})`),"number"==typeof S.filters.brightness&&S.filters.brightness>=-100&&S.filters.brightness<=100&&(D+=`:brightness(${S.filters.brightness})`),S.filters.fill&&(S.filters.fill.match(/[0-9A-Fa-f]{6}/g)||"transparent"===S.filters.fill)&&(D+=`:fill(${S.filters.fill})`),S.filters.format&&["webp","png","jpeg"].includes(S.filters.format)&&(D+=`:format(${S.filters.format})`),"boolean"==typeof S.filters.grayscale&&S.filters.grayscale&&(D+=":grayscale()"),"number"==typeof S.filters.quality&&S.filters.quality>=0&&S.filters.quality<=100&&(D+=`:quality(${S.filters.quality})`),S.filters.rotate&&[90,180,270].includes(S.filters.rotate)&&(D+=`:rotate(${S.filters.rotate})`),D.length>0&&(D="/filters"+D))),E.length>0&&(o=o.replace(/<img/g,`<img ${E.trim()}`));let N=w>0||_>0||D.length>0?`${w}x${_}${D}`:"";return o=o.replace(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g,`a.storyblok.com/f/$1/$2.$3/m/${N}`),"boolean"!=typeof S&&(S.sizes||S.srcset)&&(o=o.replace(/<img.*?src=["|'](.*?)["|']/g,o=>{var w,_;let E=o.match(/a.storyblok.com\/f\/(\d+)\/([^.]+)\.(gif|jpg|jpeg|png|tif|tiff|bmp)/g);if(E&&E.length>0){let N={srcset:null==(w=S.srcset)?void 0:w.map(o=>{if("number"==typeof o)return`//${E}/m/${o}x0${D} ${o}w`;if("object"==typeof o&&2===o.length){let S=0,w=0;return"number"==typeof o[0]&&(S=o[0]),"number"==typeof o[1]&&(w=o[1]),`//${E}/m/${S}x${w}${D} ${S}w`}}).join(", "),sizes:null==(_=S.sizes)?void 0:_.map(o=>o).join(", ")},F="";return N.srcset&&(F+=`srcset="${N.srcset}" `),N.sizes&&(F+=`sizes="${N.sizes}" `),o.replace(/<img/g,`<img ${F.trim()}`)}return o})),o}renderNode(o){let S=[];o.marks&&o.marks.forEach(o=>{let w=this.getMatchingMark(o);w&&""!==w.tag&&S.push(this.renderOpeningTag(w.tag))});let w=this.getMatchingNode(o);return w&&w.tag&&S.push(this.renderOpeningTag(w.tag)),o.content?o.content.forEach(o=>{S.push(this.renderNode(o))}):o.text?S.push(se(o.text)):w&&w.singleTag?S.push(this.renderTag(w.singleTag," /")):w&&w.html?S.push(w.html):"emoji"===o.type&&S.push(this.renderEmoji(o)),w&&w.tag&&S.push(this.renderClosingTag(w.tag)),o.marks&&o.marks.slice(0).reverse().forEach(o=>{let w=this.getMatchingMark(o);w&&""!==w.tag&&S.push(this.renderClosingTag(w.tag))}),S.join("")}renderTag(o,S){return o.constructor===String?`<${o}${S}>`:o.map(o=>{if(o.constructor===String)return`<${o}${S}>`;{let w=`<${o.tag}`;if(o.attrs){for(let S in o.attrs)if(Object.prototype.hasOwnProperty.call(o.attrs,S)){let _=o.attrs[S];null!==_&&(w+=` ${S}="${_}"`)}}return`${w}${S}>`}}).join("")}renderOpeningTag(o){return this.renderTag(o,"")}renderClosingTag(o){return o.constructor===String?`</${o}>`:o.slice(0).reverse().map(o=>o.constructor===String?`</${o}>`:`</${o.tag}>`).join("")}getMatchingNode(o){let S=this.nodes[o.type];if("function"==typeof S)return S(o)}getMatchingMark(o){let S=this.marks[o.type];if("function"==typeof S)return S(o)}renderEmoji(o){if(o.attrs.emoji)return o.attrs.emoji;let S=[{tag:"img",attrs:{src:o.attrs.fallbackImage,draggable:"false",loading:"lazy",align:"absmiddle"}}];return this.renderTag(S," /")}},F=class{constructor(o){c(this,"baseURL"),c(this,"timeout"),c(this,"headers"),c(this,"responseInterceptor"),c(this,"fetch"),c(this,"ejectInterceptor"),c(this,"url"),c(this,"parameters"),c(this,"fetchOptions"),this.baseURL=o.baseURL,this.headers=o.headers||new Headers,this.timeout=null!=o&&o.timeout?1e3*o.timeout:0,this.responseInterceptor=o.responseInterceptor,this.fetch=(...S)=>o.fetch?o.fetch(...S):fetch(...S),this.ejectInterceptor=!1,this.url="",this.parameters={},this.fetchOptions={}}get(o,S){return this.url=o,this.parameters=S,this._methodHandler("get")}post(o,S){return this.url=o,this.parameters=S,this._methodHandler("post")}put(o,S){return this.url=o,this.parameters=S,this._methodHandler("put")}delete(o,S){return this.url=o,this.parameters=S,this._methodHandler("delete")}async _responseHandler(o){let S=[],w={data:{},headers:{},status:0,statusText:""};for(let _ of(204!==o.status&&await o.json().then(o=>{w.data=o}),o.headers.entries()))S[_[0]]=_[1];return w.headers={...S},w.status=o.status,w.statusText=o.statusText,w}async _methodHandler(o){let S,w=`${this.baseURL}
73${this.url}`,_=null;if("get"===o){let o=new k;w=`${this.baseURL}${this.url}?${o.stringify(this.parameters)}`}else _=JSON.stringify(this.parameters);let E=new URL(w),D=new AbortController,{signal:N}=D;this.timeout&&(S=setTimeout(()=>D.abort(),this.timeout));try{let w=await this.fetch(`${E}`,{method:o,headers:this.headers,body:_,signal:N,...this.fetchOptions});this.timeout&&clearTimeout(S);let D=await this._responseHandler(w);return this.responseInterceptor&&!this.ejectInterceptor?this._statusHandler(this.responseInterceptor(D)):this._statusHandler(D)}catch(o){return{message:o}}}setFetchOptions(o={}){Object.keys(o).length>0&&"method"in o&&delete o.method,this.fetchOptions={...o}}eject(){this.ejectInterceptor=!0}_statusHandler(o){let S=/20[0-6]/g;return new Promise((w,_)=>{if(S.test(`${o.status}`))return w(o);let E={message:o.statusText,status:o.status,response:Array.isArray(o.data)?o.data[0]:o.data.error||o.data.slug};_(E)})}},V="SB-Agent",U={defaultAgentName:"SB-JS-CLIENT",defaultAgentVersion:"SB-Agent-Version",packageVersion:"6.0.0"},W={},q={};let ae=class ae{constructor(o,S){c(this,"client"),c(this,"maxRetries"),c(this,"retriesDelay"),c(this,"throttle"),c(this,"accessToken"),c(this,"cache"),c(this,"helpers"),c(this,"resolveCounter"),c(this,"relations"),c(this,"links"),c(this,"richTextResolver"),c(this,"resolveNestedRelations"),c(this,"stringifiedStoriesCache");let w=o.endpoint||S;if(!w){let S=new k().getRegionURL,_=!1===o.https?"http":"https";w=o.oauthToken?`${_}://${S(o.region)}/v1`:`${_}://${S(o.region)}/v2`}let _=new Headers;_.set("Content-Type","application/json"),_.set("Accept","application/json"),o.headers&&("Headers"===o.headers.constructor.name?o.headers.entries().toArray():Object.entries(o.headers)).forEach(([o,S])=>{_.set(o,S)}),_.has(V)||(_.set(V,U.defaultAgentName),_.set(U.defaultAgentVersion,U.packageVersion));let E=5;o.oauthToken&&(_.set("Authorization",o.oauthToken),E=3),o.rateLimit&&(E=o.rateLimit),o.richTextSchema?this.richTextResolver=new N(o.richTextSchema):this.richTextResolver=new N,o.componentResolver&&this.setComponentResolver(o.componentResolver),this.maxRetries=o.maxRetries||10,this.retriesDelay=300,this.throttle=function(o,S,w){if(!v(S))throw TypeError("Expected `limit` to be a finite number");if(!v(w))throw TypeError("Expected `interval` to be a finite number");let _=[],E=[],D=0,n=function(){D++;let S=setTimeout(function(){D--,_.length>0&&n(),E=E.filter(function(o){return o!==S})},w);0>E.indexOf(S)&&E.push(S);let N=_.shift();N.resolve(o.apply(N.self,N.args))},l=function(...o){let w=this;return new Promise(function(E,N){_.push({resolve:E,reject:N,args:o,self:w}),D<S&&n()})};return l.abort=function(){E.forEach(clearTimeout),E=[],_.forEach(function(o){o.reject(function(){Error.call(this,"Throttled function aborted"),this.name="AbortError"})}),_.length=0},l}(this.throttledRequest,E,1e3),this.accessToken=o.accessToken||"",this.relations={},this.links={},this.cache=o.cache||{clear:"manual"},this.helpers=new k,this.resolveCounter=0,this.resolveNestedRelations=o.resolveNestedRelations||!0,this.stringifiedStoriesCache={},this.client=new F({baseURL:w,timeout:o.timeout||0,headers:_,responseInterceptor:o.responseInterceptor,fetch:o.fetch})}setComponentResolver(o){this.richTextResolver.addNode("blok",S=>{let w="";return S.attrs.body&&S.attrs.body.forEach(S=>{w+=o(S.component,S)}),{html:w}})}parseParams(o){return o.token||(o.token=this.getToken()),o.cv||(o.cv=q[o.token]),Array.isArray(o.resolve_relations)&&(o.resolve_relations=o.resolve_relations.join(",")),"u">typeof o.resolve_relations&&(o.resolve_level=2),o}factoryParamOptions(o,S){return this.helpers.isCDNUrl(o)?this.parseParams(S):S}makeRequest(o,S,w,_,E){let D=this.factoryParamOptions(o,this.helpers.getOptionsPage(S,w,_));return this.cacheResponse(o,D,void 0,E)}get(o,S,w){S||(S={});let _=`/${o}`,E=this.factoryParamOptions(_,S);return this.cacheResponse(_,E,void 0,w)}async getAll(o,S,w,_){let E=(null==S?void 0:S.per_page)||25,D=`/${o}`,N=D.split("/"),F=w||N[N.length-1],V=await this.makeRequest(D,S,E,1,_),U=V.total?Math.ceil(V.total/E):1,W=await this.helpers.asyncMap(this.helpers.range(1,U),o=>
73this.makeRequest(D,S,E,o+1,_));return this.helpers.flatMap([V,...W],o=>Object.values(o.data[F]))}post(o,S,w){let _=`/${o}`;return Promise.resolve(this.throttle("post",_,S,w))}put(o,S,w){let _=`/${o}`;return Promise.resolve(this.throttle("put",_,S,w))}delete(o,S,w){let _=`/${o}`;return Promise.resolve(this.throttle("delete",_,S,w))}getStories(o,S){return this._addResolveLevel(o),this.get("cdn/stories",o,S)}getStory(o,S,w){return this._addResolveLevel(S),this.get(`cdn/stories/${o}`,S,w)}getToken(){return this.accessToken}ejectInterceptor(){this.client.eject()}_addResolveLevel(o){"u">typeof o.resolve_relations&&(o.resolve_level=2)}_cleanCopy(o){return JSON.parse(JSON.stringify(o))}_insertLinks(o,S,w){let _=o[S];_&&"multilink"==_.fieldtype&&"story"==_.linktype&&"string"==typeof _.id&&this.links[w][_.id]?_.story=this._cleanCopy(this.links[w][_.id]):_&&"story"===_.linktype&&"string"==typeof _.uuid&&this.links[w][_.uuid]&&(_.story=this._cleanCopy(this.links[w][_.uuid]))}getStoryReference(o,S){return this.relations[o][S]?(this.stringifiedStoriesCache[S]||(this.stringifiedStoriesCache[S]=JSON.stringify(this.relations[o][S])),JSON.parse(this.stringifiedStoriesCache[S])):S}_insertRelations(o,S,w,_){w.indexOf(`${o.component}.${S}`)>-1&&("string"==typeof o[S]?o[S]=this.getStoryReference(_,o[S]):Array.isArray(o[S])&&(o[S]=o[S].map(o=>this.getStoryReference(_,o)).filter(Boolean)))}iterateTree(o,S,w){let s=o=>{if(null!=o){if(o.constructor===Array)for(let S=0;S<o.length;S++)s(o[S]);else if(o.constructor===Object){if(o._stopResolving)return;for(let _ in o)(o.component&&o._uid||"link"===o.type)&&(this._insertRelations(o,_,S,w),this._insertLinks(o,_,w)),s(o[_])}}};s(o.content)}async resolveLinks(o,S,w){let _=[];if(o.link_uuids){let w=o.link_uuids.length,E=[];for(let S=0;S<w;S+=50){let _=Math.min(w,S+50);E.push(o.link_uuids.slice(S,_))}for(let o=0;o<E.length;
73o++)(await this.getStories({per_page:50,language:S.language,version:S.version,by_uuids:E[o].join(",")})).data.stories.forEach(o=>{_.push(o)})}else _=o.links;_.forEach(o=>{this.links[w][o.uuid]={...o,_stopResolving:!0}})}async resolveRelations(o,S,w){let _=[];if(o.rel_uuids){let w=o.rel_uuids.length,E=[];for(let S=0;S<w;S+=50){let _=Math.min(w,S+50);E.push(o.rel_uuids.slice(S,_))}for(let o=0;o<E.length;o++)(await this.getStories({per_page:50,language:S.language,version:S.version,by_uuids:E[o].join(","),excluding_fields:S.excluding_fields})).data.stories.forEach(o=>{_.push(o)})}else _=o.rels;_&&_.length>0&&_.forEach(o=>{this.relations[w][o.uuid]={...o,_stopResolving:!0}})}async resolveStories(o,S,w){var _,E;let D=[];if(this.links[w]={},this.relations[w]={},"u">typeof S.resolve_relations&&S.resolve_relations.length>0&&("string"==typeof S.resolve_relations&&(D=S.resolve_relations.split(",")),await this.resolveRelations(o,S,w)),S.resolve_links&&["1","story","url","link"].indexOf(S.resolve_links)>-1&&(null!=(_=o.links)&&_.length||null!=(E=o.link_uuids)&&E.length)&&await this.resolveLinks(o,S,w),this.resolveNestedRelations)for(let o in this.relations[w])this.iterateTree(this.relations[w][o],D,w);o.story?this.iterateTree(o.story,D,w):o.stories.forEach(o=>{this.iterateTree(o,D,w)}),this.stringifiedStoriesCache={},delete this.links[w],delete this.relations[w]}async cacheResponse(o,S,w,_){let E=this.helpers.stringify({url:o,params:S}),D=this.cacheProvider();if("auto"===this.cache.clear&&"draft"===S.version&&await this.flushCache(),"published"===S.version&&"/cdn/spaces/me"!=o){let o=await D.get(E);if(o)return Promise.resolve(o)}return new Promise(async(N,F)=>{var V;try{let w=await this.throttle("get",o,S,_);if(200!==w.status)return F(w);let U={data:w.data,headers:w.headers};if(null!=(V=w.headers)&&V["per-page"]&&(U=Object.assign({},U,{perPage:w.headers["per-page"]?parseInt(w.headers["per-page"]):0,total:w.headers["per-page"]?parseInt(w.headers.total):0})),U.data.story||U.data.stories){let o=this.resolveCounter=++this.resolveCounter%1e3;await this.resolveStories(U.data,S,`${o}`)}return"published"===S.version&&"/cdn/spaces/me"!=o&&await D.set(E,U),U.data.cv&&S.token&&("draft"===S.version&&q[S.token]!=U.data.cv&&await this.flushCache(),q[S.token]=S.cv?S.cv:U.data.cv),N(U)}catch(_){if(_.response&&429===_.status&&(w=typeof w>"u"?0:w+1)<this.maxRetries)return console.log(`Hit rate limit. Retrying in ${this.retriesDelay/1e3} seconds.`),await this.helpers.delay(this.retriesDelay),this.cacheResponse(o,S,w).then(N).catch(F);F(_)}})}throttledRequest(o,S,w,_){return this.client.setFetchOptions(_),this.client[o](S,w)}cacheVersions(){return q}cacheVersion(){return q[this.accessToken]}setCacheVersion(o){this.accessToken&&(q[this.accessToken]=o)}clearCacheVersion(){this.accessToken&&(q[this.accessToken]=0)}cacheProvider(){switch(this.cache.type){case"memory":return{get:o=>Promise.resolve(W[o]),getAll:()=>Promise.resolve(W),set:(o,S)=>(W[o]=S,Promise.resolve(void 0)),flush:()=>(W={},Promise.resolve(void 0))};case"custom":if(this.cache.custom)return this.cache.custom;default:return{get:()=>Promise.resolve(),getAll:()=>Promise.resolve(void 0),set:()=>Promise.resolve(void 0),flush:()=>Promise.resolve(void 0)}}}async flushCache(){return await this.cacheProvider().flush(),this.clearCacheVersion(),this}}}}]);
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.