1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[219],{1539:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(9946).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},3685:(t,e,i)=>{let n;i.d(e,{P:()=>oL});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(r),s=(t,e,i)=>i>e?e:i<t?t:i,a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},l={...a,transform:t=>s(0,1,t)},u={...a,default:1},p=t=>Math.round(1e5*t)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,d=(t,e)=>i=>!!("string"==typeof i&&h.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),f=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,o,s,a]=n.match(c);return{[t]:parseFloat(r),[e]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},m=t=>s(0,255,t),y={...a,transform:t=>Math.round(m(t))},g={test:d("rgb","red"),parse:f("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+y.transform(t)+", "+y.transform(e)+", "+y.transform(i)+", "+p(l.transform(n))+")"},v={test:d("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:g.transform},b=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),E=b("deg"),w=b("%"),S=b("px"),A=b("vh"),T=b("vw"),x={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},P={test:d("hsl","hue"),parse:f("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+w.transform(p(e))+", "+w.transform(p(i))+", "+p(l.transform(n))+")"},O={test:t=>g.test(t)||v.test(t)||P.test(t),parse:t=>g.test(t)?g.parse(t):P.test(t)?P.parse(t):v.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?g.transform(t):P.transform(t),getAnimatableNone:t=>{let e=O.parse(t);return e.alpha=0,O.transform(e)}},C=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,R="number",L="color",k=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function D(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],o=0,s=e.replace(k,t=>(O.test(t)?(n.color.push(o),r.push(L),i.push(O.parse(t))):t.startsWith("var(")?(n.var.push(o),r.push("var"),i.push(t)):(n.number.push(o),r.push(R),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:s,indexes:n,types:r}}function M(t){return D(t).values}function N(t){let{split:e,types:i}=D(t),n=e.length;return t=>{let r="";for(let o=0;o<n;o++)if(r+=e[o],void 0!==t[o]){let e=i[o];e===R?r+=p(t[o]):e===L?r+=O.transform(t[o]):r+=t[o]}return r}}let I=t=>"number"==typeof t?0:O.test(t)?O.getAnimatableNone(t):t,F={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(c)?.length||0)+(t.match(C)?.length||0)>0},parse:M,createTransformer:N,getAnimatableNone:function(t){let e=M(t);return N(t)(e.map(I))}},j=new Set(["brightness","contrast","saturate","opacity"]);function _(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(c)||[];if(!n)return t;let r=i.replace(n,""),o=+!!j.has(e);return n!==i&&(o*=100),e+"("+o+r+")"}let V=/\b([a-z-]*)\(.*?\)/gu,B={...F,getAnimatableNone:t=>{let e=t.match(V);return e?e.map(_).join(" "):t}},U={...a,transform:Math.round},W={borderWidth:S,borderTopWidth:S,borderRightWidth:S,borderBottomWidth:S,borderLeftWidth:S,borderRadius:S,borderTopLeftRadius:S,borderTopRightRadius:S,borderBottomRightRadius:S,borderBottomLeftRadius:S,width:S,maxWidth:S,height:S,maxHeight:S,top:S,right:S,bottom:S,left:S,inset:S,insetBlock:S,insetBlockStart:S,insetBlockEnd:S,insetInline:S,insetInlineStart:S,insetInlineEnd:S,padding:S,paddingTop:S,paddingRight:S,paddingBottom:S,paddingLeft:S,paddingBlock:S,paddingBlockStart:S,paddingBlockEnd:S,paddingInline:S,paddingInlineStart:S,paddingInlineEnd:S,margin:S,marginTop:S,marginRight:S,marginBottom:S,marginLeft:S,marginBlock:S,marginBlockStart:S,marginBlockEnd:S,marginInline:S,marginInlineStart:S,marginInlineEnd:S,fontSize:S,backgroundPositionX:S,backgroundPositionY:S,rotate:E,rotateX:E,rotateY:E,rotateZ:E,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:E,skewX:E,skewY:E,distance:S,translateX:S,translateY:S,translateZ:S,x:S,y:S,z:S,perspective:S,transformPerspective:S,opacity:l,originX:x,originY:x,originZ:S,zIndex:U,fillOpacity:l,strokeOpacity:l,numOctaves:U},H={...W,color:O,backgroundColor:O,outlineColor:O,fill:O,stroke:O,borderColor:O,borderTopColor:O,borderRightColor:O,borderBottomColor:O,borderLeftColor:O,filter:B,WebkitFilter:B},G=t=>H[t],Y=()=>({translate:0,scale:1,origin:0,originPoint:0}),K=()=>({x:Y(),y:Y()}),$=()=>({min:0,max:0}),z=()=>({x:$(),y:$()}),X=t=>!!(t&&t.getVelocity),q=new Set(["width","height","top","left","right","bottom",...r]),Z=t=>e=>e.test(t),J=[a,S,w,E,T,A,{test:t=>"auto"===t,parse:t=>t}],Q=t=>J.find(Z(t));i(9509);let tt=()=>{},te=()=>{},ti=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),tn=t=>e=>"string"==typeof e&&e.startsWith(t),tr=tn("--"),to=tn("var(--"),ts=t=>!!to(t)&&ta.test(t.split("/*")[0].trim()),ta=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tl(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tp=t=>180*t/Math.PI,tc=t=>td(tp(Math.atan2(t[1],t[0]))),th={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tc,rotateZ:tc,skewX:t=>tp(Math.atan(t[1])),skewY:t=>tp(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},td=t=>((t%=360)<0&&(t+=360),t),tf=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ty={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tf,scaleY:tm,scale:t=>(tf(t)+tm(t))/2,rotateX:t=>td(tp(Math.atan2(t[6],t[5]))),rotateY:t=>td(tp(Math.atan2(-t[2],t[0]))),rotateZ:tc,rotate:tc,skewX:t=>tp(Math.atan(t[4])),skewY:t=>tp(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tg(t){return+!!t.includes("scale")}function tv(t,e){let i,n;if(!t||"none"===t)return tg(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=ty,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=th,n=e}if(!n)return tg(e);let o=i[e],s=n[1].split(",").map(tE);return"function"==typeof o?o(s):s[o]}let tb=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tv(i,e)};function tE(t){return parseFloat(t.trim())}let tw=t=>t===a||t===S,tS=new Set(["x","y","z"]),tA=r.filter(t=>!tS.has(t)),tT={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tv(e,"x"),y:(t,{transform:e})=>tv(e,"y")};tT.translateX=tT.x,tT.translateY=tT.y;let tx=t=>t,tP={},tO=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tC={value:null,addProjectionMetrics:null};function tR(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,s=tO.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,o=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){s.has(e)&&(p.schedule(e),t()),l++,e(a)}let p={schedule:(t,e=!1,o=!1)=>{let a=o&&r?i:n;return e&&s.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),s.delete(t)},process:t=>{if(a=t,r){o=!0;return}
1r=!0,[i,n]=[n,i],i.forEach(u),e&&tC.value&&tC.value.frameloop[e].push(l),l=0,i.clear(),r=!1,o&&(o=!1,p.process(t))}};return p}(o,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:p,update:c,preRender:h,render:d,postRender:f}=s,m=()=>{let o=tP.useManualTiming?r.timestamp:performance.now();i=!1,tP.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),p.process(r),c.process(r),h.process(r),d.process(r),f.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(m))},y=()=>{i=!0,n=!0,r.isProcessing||t(m)};return{schedule:tO.reduce((t,e)=>{let n=s[e];return t[e]=(t,e=!1,r=!1)=>(i||y(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<tO.length;e++)s[tO[e]].cancel(t)},state:r,steps:s}}let{schedule:tL,cancel:tk,state:tD,steps:tM}=tR("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tx,!0),tN=new Set,tI=!1,tF=!1,tj=!1;function t_(){if(tF){let t=Array.from(tN).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return tA.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tF=!1,tI=!1,tN.forEach(t=>t.complete(tj)),tN.clear()}function tV(){tN.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tF=!0)})}class tB{constructor(t,e,i,n,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(tN.add(this),tI||(tI=!0,tL.read(tV),tL.resolveKeyframes(t_))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),o=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,o);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=o),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tN.delete(this)}cancel(){"scheduled"===this.state&&(tN.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tU=t=>/^0[^.\s]+$/u.test(t);function tW(t,e){let i=G(t);return i!==B&&(i=F),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tH=new Set(["auto","none","0"]);class tG extends tB{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&ts(n=n.trim())){let r=function t(e,i,n=1){te(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,o]=function(t){let e=tu.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let s=window.getComputedStyle(i).getPropertyValue(r);if(s){let t=s.trim();return ti(t)?parseFloat(t):t}return ts(o)?t(o,i,n+1):o}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!q.has(i)||2!==t.length)return;let[n,r]=t,o=Q(n),s=Q(r);if(tl(n)!==tl(r)&&tT[i]){this.needsMeasurement=!0;return}if(o!==s)if(tw(o)&&tw(s))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tT[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tU(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tH.has(e)&&D(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tW(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tT[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,o=i[r];i[r]=tT[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}function tY(t,e){-1===t.indexOf(e)&&t.push(e)}function tK(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class t${constructor(){this.subscriptions=[]}add(t){return tY(this.subscriptions,t),()=>tK(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let{schedule:tz}=tR(queueMicrotask,!1);function tX(){n=void 0}let tq={now:()=>(void 0===n&&tq.set(tD.isProcessing||tP.useManualTiming?tD.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(tX)}},tZ=t=>!isNaN(parseFloat(t)),tJ={current:void 0};class tQ{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tq.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tq.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=tZ(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new t$);let i=this.events[t].add(e);return"change"===t?()=>{i(),tL.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return tJ.current&&tJ.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tq.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function t0(t,e){return new tQ(t,e)}let t1=[...J,O,F],t2=t=>t1.find(Z(t)),t5={current:null},t3={current:!1},t9="undefined"!=typeof window,t6=new WeakMap;function t4(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function t8(t){return"string"==typeof t||Array.isArray(t)}let t7=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],et=["initial",...t7];function ee(t){return t4(t.animate)||et.some(e=>t8(t[e]))}function ei(t){return!!(ee(t)||t.variants)}function en(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function er(t,e,i,n){if("function"==typeof e){let[r,o]=en(n);e=e(void 0!==i?i:t.custom,r,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,o]=en(n);e=e(void 0!==i?i:t.custom,r,o)}return e}let eo=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],es={};
1class ea{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tB,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tq.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tL.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=ee(e),this.isVariantNode=ei(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:p,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==l[t]&&X(e)&&e.set(l[t])}}mount(t){this.current=t,t6.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(t3.current||function(){if(t3.current=!0,t9)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>t5.current=t.matches;t.addEventListener("change",e),e()}else t5.current=!1}(),this.shouldReduceMotion=t5.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tk(this.notifyUpdate),tk(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=o.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tL.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in es){let e=es[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<eo.length;e++){let i=eo[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}
1this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],o=i[n];if(X(r))t.addValue(n,r);else if(X(o))t.addValue(n,t0(r,{owner:t}));else if(o!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,t0(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=t0(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=i&&("string"==typeof i&&(ti(i)||tU(i))?i=parseFloat(i):!t2(i)&&F.test(e)&&(i=tW(t,e)),this.setBaseTarget(t,X(i)?i.get():i)),X(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=er(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||X(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new t$),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tz.render(this.render)}}class el extends ea{constructor(){super(...arguments),this.KeyframeResolver=tG}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eu(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let ep=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ec={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eh=r.length;function ed(t,e,i){let{style:n,vars:s,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(o.has(t)){l=!0;continue}if(tr(t)){s[t]=i;continue}{let e=ep(i,W[t]);t.startsWith("origin")?(u=!0,a[t]=e):n[t]=e}}if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",o=!0;for(let s=0;s<eh;s++){let a=r[s],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=ep(l,W[a]);if(!u){o=!1;let e=ec[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}return n=n.trim(),i?n=i(e,o?"":n):o&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let ef={offset:"stroke-dashoffset",array:"stroke-dasharray"},em={offset:"strokeDashoffset",array:"strokeDasharray"},ey=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eg(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:o=1,pathOffset:s=0,...a}
1,l,u,p){if(ed(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:h}=t;for(let t of(c.transform&&(h.transform=c.transform,delete c.transform),(h.transform||c.transformOrigin)&&(h.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),h.transform&&(h.transformBox=p?.transformBox??"fill-box",delete c.transformBox),ey))void 0!==c[t]&&(h[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let o=r?ef:em;t[o.offset]=`${-n}`,t[o.array]=`${e} ${i}`}(c,r,o,s,!1)}let ev=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),eb=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eE(t,{style:e,vars:i},n,r){let o,s=t.style;for(o in e)s[o]=e[o];for(o in r?.applyProjectionStyles(s,n),i)s.setProperty(o,i[o])}function ew(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eS={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!S.test(t))return t;else t=parseFloat(t);let i=ew(t,e.target.x),n=ew(t,e.target.y);return`${i}% ${n}%`}},eA=(t,e,i)=>t+(e-t)*i,eT={borderRadius:{...eS,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eS,borderTopRightRadius:eS,borderBottomLeftRadius:eS,borderBottomRightRadius:eS,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=F.parse(t);if(n.length>5)return t;let r=F.createTransformer(t),o=+("number"!=typeof n[0]),s=i.x.scale*e.x,a=i.y.scale*e.y;n[0+o]/=s,n[1+o]/=a;let l=eA(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),r(n)}}};function ex(t,{layout:e,layoutId:i}){return o.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eT[t]||"opacity"===t)}function eP(t,e,i){let n=t.style,r=e?.style,o={};if(!n)return o;for(let e in n)(X(n[e])||r&&X(r[e])||ex(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(o[e]=n[e]);return o}function eO(t,e,i){let n=eP(t,e,i);for(let i in t)(X(t[i])||X(e[i]))&&(n[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eC extends el{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=z}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(o.has(e)){let t=G(e);return t&&t.default||0}return e=ev.has(e)?e:eu(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eO(t,e,i)}build(t,e,i){eg(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eE(t,e,void 0,n),e.attrs)t.setAttribute(ev.has(i)?i:eu(i),e.attrs[i])}mount(t){this.isSVGTag=eb(t.tagName),super.mount(t)}}function eR({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eL(t){return void 0===t||1===t}function ek({scale:t,scaleX:e,scaleY:i}){return!eL(t)||!eL(e)||!eL(i)}function eD(t){return ek(t)||eM(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eM(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eN(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eI(t,e=0,i=1,n,r){t.min=eN(t.min,e,i,n,r),t.max=eN(t.max,e,i,n,r)}function eF(t,{x:e,y:i}){eI(t.x,e.translate,e.scale,e.originPoint),eI(t.y,i.translate,i.scale,i.originPoint)}function ej(t,e){t.min=t.min+e,t.max=t.max+e}function e_(t,e,i,n,r=.5){let o=eA(t.min,t.max,r);eI(t,e,i,o,n)}function eV(t,e){e_(t.x,e.x,e.scaleX,e.scale,e.originX),e_(t.y,e.y,e.scaleY,e.scale,e.originY)}function eB(t,e){return eR(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class eU extends el{constructor(){super(...arguments),this.type="html",this.renderInstance=eE}readValueFromInstance(t,e){if(o.has(e))return this.projection?.isProjecting?tg(e):tb(t,e);{let i=window.getComputedStyle(t),n=(tr(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eB(t,e)}
1build(t,e,i){ed(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return eP(t,e,i)}}var eW=i(2115);let eH=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function eG(t){if("string"!=typeof t||t.includes("-"));else if(eH.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var eY=i(5155);let eK=(0,eW.createContext)({}),e$=(0,eW.createContext)({strict:!1}),ez=(0,eW.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),eX=(0,eW.createContext)({});function eq(t){return Array.isArray(t)?t.join(" "):t}let eZ=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eJ(t,e,i){for(let n in e)X(e[n])||ex(n,i)||(t[n]=e[n])}let eQ=()=>({...eZ(),attrs:{}}),e0=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function e1(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||e0.has(t)}let e2=t=>!e1(t);try{!function(t){"function"==typeof t&&(e2=e=>e.startsWith("on")?!e1(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}function e5(t){return X(t)?t.get():t}let e3=(0,eW.createContext)(null),e9=t=>(e,i)=>{let n=(0,eW.useContext)(eX),r=(0,eW.useContext)(e3),o=()=>(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:o}=t;return{latestValues:function(t,e,i,n){let r={},o=n(t,{});for(let t in o)r[t]=e5(o[t]);let{initial:s,animate:a}=t,l=ee(t),u=ei(t);e&&u&&!l&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===a&&(a=e.animate));let p=!!i&&!1===i.initial,c=(p=p||!1===s)?a:s;if(c&&"boolean"!=typeof c&&!t4(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=er(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(e,i,n,r),renderState:o()}})(t,e,n,r);return i?o():function(t){let e=(0,eW.useRef)(null);return null===e.current&&(e.current=t()),e.current}(o)},e6=e9({scrapeMotionValuesFromProps:eP,createRenderState:eZ}),e4=e9({scrapeMotionValuesFromProps:eO,createRenderState:eQ}),e8="undefined"!=typeof window,e7={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},it=!1;function ie(){return!function(){if(it)return;let t={};for(let e in e7)t[e]={isEnabled:t=>e7[e].some(e=>!!t[e])};es=t,it=!0}(),es}let ii=Symbol.for("motionComponentSymbol"),ir="data-"+eu("framerAppearId"),io=(0,eW.createContext)({});function is(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let ia=e8?eW.useLayoutEffect:eW.useEffect;function il(t){var e,i;let{forwardMotionProps:n=!1,type:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;o&&function(t){let e=ie();for(let i in t)e[i]={...e[i],...t[i]};es=e}(o);let a=r?"svg"===r:eG(t),l=a?e4:e6;function u(e,i){let r,o={...(0,eW.useContext)(ez),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,eW.useContext)(eK).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:u}=o,p=function(t){let{initial:e,animate:i}=function(t,e){if(ee(t)){let{initial:e,animate:i}=t;return{initial:!1===e||t8(e)?e:void 0,animate:t8(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,eW.useContext)(eX));return(0,eW.useMemo)(()=>({initial:e,animate:i}),[eq(e),eq(i)])}(e),c=l(e,u);if(!u&&e8){var h,d;h=0,d=0,(0,eW.useContext)(e$).strict;let e=function(t){let{drag:e,layout:i}=ie();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(o);r=e.MeasureLayout,p.visualElement=function(t,e,i,n,r,o){var s,a,l,u;let{visualElement:p}=(0,eW.useContext)(eX),c=(0,eW.useContext)(e$),h=(0,eW.useContext)(e3),d=(0,eW.useContext)(ez),f=d.reducedMotion,m=d.skipAnimations,y=(0,eW.useRef)(null),g=(0,eW.useRef)(!1);n=n||c.renderer,!y.current&&n&&(y.current=n(t,{visualState:e,parent:p,props:i,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:f,skipAnimations:m,isSVG:o}),g.current&&y.current&&(y.current.manuallyAnimateOnMount=!0));let v=y.current,b=(0,eW.useContext)(io);v&&!v.projection&&r&&("html"===v.type||"svg"===v.type)&&function(t,e,i,n){let{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:p}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!s||a&&is(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:n,crossfade:p,layoutScroll:l,layoutRoot:u})}(y.current,i,r,b);let E=(0,eW.useRef)(!1);(0,eW.useInsertionEffect)(()=>{v&&E.current&&v.update(i,h)});let w=i[ir],S=(0,eW.useRef)(!!w&&!(null==(s=(a=window).MotionHandoffIsComplete)?void 0:s.call(a,w))&&(null==(l=(u=window).MotionHasOptimisedAnimation)?void 0:l.call(u,w)));return ia(()=>{g.current=!0,v&&(E.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),S.current&&v.animationState&&v.animationState.animateChanges())}),(0,eW.useEffect)(()=>{v&&(!S.current&&v.animationState&&v.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,w)}),S.current=!1),v.enteringChildren=void 0)}),v}(t,c,o,s,e.ProjectionNode,a)}return(0,eY.jsxs)(eX.Provider,{value:p,children:[r&&p.visualElement?(0,eY.jsx)(r,{visualElement:p.visualElement,...o}):null,function(t,e,i,n,r){let{latestValues:o}=n,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=((null!=a?a:eG(t))?function(t,e,i,n){let r=(0,eW.useMemo)(()=>{let i=eQ();return eg(i,e,eb(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eJ(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return eJ(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,eW.useMemo)(()=>{let t=eZ();return ed(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,o,r,t),u=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(e2(r)||!0===i&&e1(r)||!e&&!e1(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),p=t!==eW.Fragment?{...u,...l,ref:i}:{},{children:c}=e,h=(0,eW.useMemo)(()=>X(c)?c.get():c,[c]);return(0,eW.createElement)(t,{...p,children:h})}(t,e,function(t,e,i){let n=(0,eW.useRef)(i);(0,eW.useInsertionEffect)(()=>{n.current=i});let r=(0,eW.useRef)(null);return(0,eW.useCallback)(i=>{if(i){var o;null==(o=t.onMount)||o.call(t,i)}e&&(i?e.mount(i):e.unmount());let s=n.current;if("function"==typeof s)if(i){let t=s(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):s(i);else s&&(s.current=i)},[e])}(c,p.visualElement,i),c,u,n,a)]})}u.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let p=(0,eW.forwardRef)(u);return p[ii]=t,p}class iu{constructor(t){this.isMounted=!1,this.node=t}update(){}}function ip(t,e,i){let n=t.getProps();return er(n,e,void 0!==i?i:n.custom,t)}function ic(t,e){return t?.[e]??t?.default??t}let ih=t=>Array.isArray(t);function id(t,e){let i=t.getValue("willChange");if(X(i)&&i.add)return i.add(e);if(!i&&tP.WillChange){let i=new tP.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}let im=t=>1e3*t,iy=t=>t/1e3,ig=(t,e)=>i=>e(t(i)),iv=(...t)=>t.reduce(ig),ib={layout:0,mainThread:0,waapi:0};function iE(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function iw(t,e){return i=>i>0?e:t}let iS=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iA=[v,g,P],iT=t=>iA.find(e=>e.test(t));function ix(t){let e=iT(t);if(tt(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===P&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,o=0,s=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=iE(a,n,t+1/3),o=iE(a,n,t),s=iE(a,n,t-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let iP=(t,e)=>{let i=ix(t),n=ix(e);if(!i||!n)return iw(t,e);let r={...i};return t=>(r.red=iS(i.red,n.red,t),r.green=iS(i.green,n.green,t),r.blue=iS(i.blue,n.blue,t),r.alpha=eA(i.alpha,n.alpha,t),g.transform(r))},iO=new Set(["none","hidden"]);function iC(t,e){return i=>eA(t,e,i)}function iR(t){return"number"==typeof t?iC:"string"==typeof t?ts(t)?iw:O.test(t)?iP:iD:Array.isArray(t)?iL:"object"==typeof t?O.test(t)?iP:ik:iw}function iL(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iR(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function ik(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iR(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iD=(t,e)=>{let i=F.createTransformer(e),n=D(t),r=D(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?iO.has(t)&&!r.values.length||iO.has(e)&&!n.values.length?function(t,e){return iO.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):iv(iL(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let o=e.types[r],s=t.indexes[o][n[o]],a=t.values[s]??0;i[r]=a,n[o]++}return i}(n,r),r.values),i):(tt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iw(t,e))};function iM(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eA(t,e,i):iR(t)(t,e)}let iN=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tL.update(e,t),stop:()=>tk(e),now:()=>tD.isProcessing?tD.timestamp:tq.now()}},iI=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function iF(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function ij(t,e,i){var n,r;let o=Math.max(e-5,0);return n=i-t(o),(r=e-o)?1e3/r*n:0}let i_={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function iV(t,e){return t*Math.sqrt(1-e*e)}let iB=["duration","bounce"],iU=["stiffness","damping","mass"];function iW(t,e){return e.some(e=>void 0!==t[e])}function iH(t=i_.visualDuration,e=i_.bounce){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:o}=n,a=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:a},{stiffness:p,damping:c,mass:h,duration:d,velocity:f,isResolvedFromDuration:m}=function(t){let e={velocity:i_.velocity,stiffness:i_.stiffness,damping:i_.damping,mass:i_.mass,isResolvedFromDuration:!1,...t};if(!iW(t,iU)&&iW(t,iB))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*s(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:i_.mass,stiffness:n,damping:r}}else{let i=function({duration:t=i_.duration,bounce:e=i_.bounce,velocity:i=i_.velocity,mass:n=i_.mass}){let r,o;tt(t<=im(i_.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=s(i_.minDamping,i_.maxDamping,a),t=s(i_.minDuration,i_.maxDuration,iy(t)),a<1?(r=e=>{let n=e*a,r=n*t;return .001-(n-i)/iV(e,a)*Math.exp(-r)},o=e=>{let n=e*a*t,o=Math.pow(a,2)*Math.pow(e,2)*t,s=Math.exp(-n),l=iV(Math.pow(e,2),a);return(n*i+i-o)*s*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),o=e=>t*t*(i-e)*Math.exp(-e*t));
1let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,o,5/t);if(t=im(t),isNaN(l))return{stiffness:i_.stiffness,damping:i_.damping,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:i_.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-iy(n.velocity||0)}),y=f||0,g=c/(2*Math.sqrt(p*h)),v=l-a,b=iy(Math.sqrt(p/h)),E=5>Math.abs(v);if(r||(r=E?i_.restSpeed.granular:i_.restSpeed.default),o||(o=E?i_.restDelta.granular:i_.restDelta.default),g<1){let t=iV(b,g);i=e=>l-Math.exp(-g*b*e)*((y+g*b*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)i=t=>l-Math.exp(-b*t)*(v+(y+b*v)*t);else{let t=b*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*b*e),n=Math.min(t*e,300);return l-i*((y+g*b*v)*Math.sinh(n)+t*v*Math.cosh(n))/t}}let w={calculatedDuration:m&&d||null,next:t=>{let e=i(t);if(m)u.done=t>=d;else{let n=0===t?y:0;g<1&&(n=0===t?im(y):ij(i,t,e));let s=Math.abs(l-e)<=o;u.done=Math.abs(n)<=r&&s}return u.value=u.done?l:e,u},toString:()=>{let t=Math.min(iF(w),2e4),e=iI(e=>w.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return w}function iG({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:p}){let c,h,d=t[0],f={done:!1,value:d},m=t=>void 0!==a&&t<a||void 0!==l&&t>l,y=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l,g=i*e,v=d+g,b=void 0===s?v:s(v);b!==v&&(g=b-d);let E=t=>-g*Math.exp(-t/n),w=t=>b+E(t),S=t=>{let e=E(t),i=w(t);f.done=Math.abs(e)<=u,f.value=f.done?b:i},A=t=>{m(f.value)&&(c=t,h=iH({keyframes:[f.value,y(f.value)],velocity:ij(w,t,f.value),damping:r,stiffness:o,restDelta:u,restSpeed:p}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(h||void 0!==c||(e=!0,S(t),A(t)),void 0!==c&&t>=c)?h.next(t-c):(e||S(t),f)}}}iH.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(iF(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:iy(r)}}(t,100,iH);return t.ease=e.ease,t.duration=im(e.duration),t.type="keyframes",t};let iY=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iK(t,e,i,n){if(t===e&&i===n)return tx;let r=e=>(function(t,e,i,n,r){let o,s,a=0;do(o=iY(s=e+(i-e)/2,n,r)-t)>0?i=s:e=s;while(Math.abs(o)>1e-7&&++a<12);return s})(e,0,1,t,i);return t=>0===t||1===t?t:iY(r(t),e,n)}let i$=iK(.42,0,1,1),iz=iK(0,0,.58,1),iX=iK(.42,0,.58,1),iq=t=>Array.isArray(t)&&"number"!=typeof t[0],iZ=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iJ=t=>e=>1-t(1-e),iQ=iK(.33,1.53,.69,.99),i0=iJ(iQ),i1=iZ(i0),i2=t=>(t*=2)<1?.5*i0(t):.5*(2-Math.pow(2,-10*(t-1))),i5=t=>1-Math.sin(Math.acos(t)),i3=iJ(i5),i9=iZ(i5),i6=t=>Array.isArray(t)&&"number"==typeof t[0],i4={linear:tx,easeIn:i$,easeInOut:iX,easeOut:iz,circIn:i5,circInOut:i9,circOut:i3,backIn:i0,backInOut:i1,backOut:iQ,anticipate:i2},i8=t=>"string"==typeof t,i7=t=>{if(i6(t)){te(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return iK(e,i,n,r)}return i8(t)?(te(void 0!==i4[t],`Invalid easing type '${t}'`,"invalid-easing-type"),i4[t]):t},nt=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function ne({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let o=iq(n)?n.map(i7):i7(n),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let o=t.length;if(te(o===e.length,"Both input and output ranges must be the same length","range-length"),1===o)return()=>e[0];if(2===o&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let n=[],r=i||tP.mix||iM,o=t.length-1;for(let i=0;i<o;i++){let o=r(t[i],t[i+1]);e&&(o=iv(Array.isArray(e)?e[i]||tx:e,o)),n.push(o)}return n}(e,n,r),u=l.length,p=i=>{if(a&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=nt(t[n],t[n+1],i);return l[n](r)};return i?e=>p(s(t[0],t[o-1],e)):p}((r=i&&i.length===e.length?i:function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=nt(0,e,n);t.push(eA(i,1,r))}}(e,t.length-1),e}(e),r.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||iX).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let ni=t=>null!==t;function nn(t,{repeat:e,repeatType:i="loop"},n,r=1){let o=t.filter(ni),s=r<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return s&&void 0!==n?n:o[s]}let nr={decay:iG,inertia:iG,tween:ne,keyframes:ne,spring:iH};function no(t){"string"==typeof t.type&&(t.type=nr[t.type])}class ns{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let na=t=>t/100;class nl extends ns{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tq.now()&&this.tick(tq.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ib.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;
1no(t);let{type:e=ne,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:o=0}=t,{keyframes:s}=t,a=e||ne;a!==ne&&"number"!=typeof s[0]&&(this.mixKeyframes=iv(na,iM(s[0],s[1])),s=[0,100]);let l=a({...t,keyframes:s});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...s].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=iF(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:p,repeat:c,repeatType:h,repeatDelay:d,type:f,onUpdate:m,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,E=i;if(c){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===h?(i=1-i,d&&(i-=d/a)):"mirror"===h&&(E=o)),b=s(0,1,i)*a}let w=v?{done:!1,value:p[0]}:E.next(b);r&&(w.value=r(w.value));let{done:S}=w;v||null===l||(S=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return A&&f!==iG&&(w.value=nn(p,this.options,y,this.speed)),m&&m(w.value),A&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return iy(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+iy(t)}get time(){return iy(this.currentTime)}set time(t){t=im(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tq.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=iy(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=iN,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tq.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ib.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let nu=t=>t.startsWith("--");function np(t){let e;return()=>(void 0===e&&(e=t()),e)}let nc=np(()=>void 0!==window.ScrollTimeline),nh={},nd=function(t,e){let i=np(t);return()=>nh[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),nf=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,nm={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:nf([0,.65,.55,1]),circOut:nf([.55,0,1,.45]),backIn:nf([.31,.01,.66,-.59]),backOut:nf([.33,1.53,.69,.99])};function ny(t){return"function"==typeof t&&"applyToOptions"in t}class ng extends ns{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:s,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=t,te("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return ny(t)&&nd()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u){let p={[e]:i};l&&(p.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?nd()?iI(e,i):"ease-out":i6(e)?nf(e):Array.isArray(e)?e.map(e=>t(e,i)||nm.easeOut):nm[e]}(a,r);Array.isArray(c)&&(p.easing=c),tC.value&&ib.waapi++;let h={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"};u&&(h.pseudoElement=u);let d=t.animate(p,h);return tC.value&&d.finished.finally(()=>{ib.waapi--}),d}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=nn(n,this.options,s,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){nu(e)?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return iy(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+iy(t)}get time(){return iy(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=im(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&nc())?(this.animation.timeline=t,tx):e(this)}}let nv={anticipate:i2,backInOut:i1,circInOut:i9};class nb extends ng{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in nv&&(t.ease=nv[t.ease])}(t),no(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...o}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new nl({...o,autoplay:!1}),l=Math.max(10,tq.now()-this.startTime),u=s(0,10,l-10);e.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}let nE=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(F.test(t)||"0"===t)&&!t.startsWith("url("));function nw(t){t.duration=0,t.type="keyframes"}let nS=new Set(["opacity","clipPath","filter","transform"]),nA=np(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));
1class nT extends ns{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o="loop",keyframes:s,name:a,motionValue:l,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tq.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:o,name:a,motionValue:l,element:u,...p},h=u?.KeyframeResolver||tB;this.keyframeResolver=new h(s,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:o,velocity:s,delay:a,isHandoff:l,onUpdate:u}=i;this.resolvedAt=tq.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],s=nE(r,e),a=nE(o,e);return tt(s===a,`You are trying to animate ${e} from "${r}" to "${o}". "${s?o:r}" is not an animatable value.`,"value-not-animatable"),!!s&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||ny(i))&&n)}(t,r,o,s)&&((tP.instantAnimations||!a)&&u?.(nn(t,i,e)),t[0]=t[t.length-1],nw(i),i.repeat=0);let p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:o,type:s}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return nA()&&i&&nS.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==o&&"inertia"!==s}(p),h=p.motionValue?.owner?.current,d=c?new nb({...p,element:h}):new nl(p);d.finished.then(()=>{this.notifyFinished()}).catch(tx),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tj=!0,tV(),t_(),tj=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nx={type:"spring",stiffness:500,damping:25,restSpeed:10},nP=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),nO={type:"keyframes",duration:.8},nC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nR=(t,{keyframes:e})=>e.length>2?nO:o.has(t)?t.startsWith("scale")?nP(e[1]):nx:nC,nL=t=>null!==t,nk=(t,e,i,n={},r,o)=>s=>{let a=ic(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=im(l);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...p}){return!!Object.keys(p).length}(a)&&Object.assign(p,nR(t,p)),p.duration&&(p.duration=im(p.duration)),p.repeatDelay&&(p.repeatDelay=im(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let c=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(nw(p),0===p.delay&&(c=!0)),(tP.instantAnimations||tP.skipAnimations||r?.shouldSkipAnimations)&&(c=!0,nw(p),p.delay=0),p.allowFlatten=!a.type&&!a.ease,c&&!o&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(nL),o=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[o]}(p.keyframes,a);if(void 0!==t)return void tL.update(()=>{p.onUpdate(t),p.onComplete()})}return a.isSync?new nl(p):new nT(p)};function nD(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:o=t.getDefaultTransition(),transitionEnd:s,...a}=e,l=o?.reduceMotion;n&&(o=n);let u=[],p=r&&t.animationState&&t.animationState.getState()[r];for(let e in a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||p&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(p,e))continue;let s={delay:i,...ic(o||{},e)},c=n.get();if(void 0!==c&&!n.isAnimating&&!Array.isArray(r)&&r===c&&!s.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let i=t.props[ir];if(i){let t=window.MotionHandoffAnimation(i,e,tL);null!==t&&(s.startTime=t,h=!0)}}id(t,e);let d=l??t.shouldReduceMotion;n.start(nk(e,n,r,d&&q.has(e)?{type:!1}:s,t,h));let f=n.animation;f&&u.push(f)}return s&&Promise.all(u).then(()=>{tL.update(()=>{s&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=ip(t,e)||{};for(let e in r={...r,...i}){var o;let i=ih(o=r[e])?o[o.length-1]||0:o;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,t0(i))}}(t,s)})}),u}function nM(t,e,i,n=0,r=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),s=t.size,a=(s-1)*n;return"function"==typeof i?i(o,s):1===r?o*n:a-o*n}function nN(t,e,i={}){let n=ip(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let o=n?()=>Promise.all(nD(t,n,i)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;
1return function(t,e,i=0,n=0,r=0,o=1,s){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(nN(l,e,{...s,delay:i+("function"==typeof n?0:n)+nM(t.variantChildren,l,n,r,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,o,s,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([o(),s(i.delay)]);{let[t,e]="beforeChildren"===a?[o,s]:[s,o];return t().then(()=>e())}}let nI=et.length;function nF(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nj=[...t7].reverse(),n_=t7.length;function nV(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nB(){return{animate:nV(!0),whileInView:nV(),whileHover:nV(),whileTap:nV(),whileDrag:nV(),whileFocus:nV(),exit:nV()}}class nU extends iu{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nN(t,e,i)));else if("string"==typeof e)n=nN(t,e,i);else{let r="function"==typeof e?ip(t,e,i.custom):e;n=Promise.all(nD(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nB(),n=!0,r=e=>(i,n)=>{let r=ip(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function o(o){let{props:s}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<nI;t++){let n=et[t],r=e.props[n];(t8(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,p={},c=1/0;for(let e=0;e<n_;e++){var h,d;let f=nj[e],m=i[f],y=void 0!==s[f]?s[f]:a[f],g=t8(y),v=f===o?m.isActive:null;!1===v&&(c=e);let b=y===a[f]&&y!==s[f]&&g;if(b&&n&&t.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...p},!m.isActive&&null===v||!y&&!m.prevProp||t4(y)||"boolean"==typeof y)continue;let E=(h=m.prevProp,"string"==typeof(d=y)?d!==h:!!Array.isArray(d)&&!nF(d,h)),w=E||f===o&&m.isActive&&!b&&g||e>c&&g,S=!1,A=Array.isArray(y)?y:[y],T=A.reduce(r(f),{});!1===v&&(T={});let{prevResolvedValues:x={}}=m,P={...x,...T},O=e=>{w=!0,u.has(e)&&(S=!0,u.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in P){let e=T[t],i=x[t];if(p.hasOwnProperty(t))continue;let n=!1;(ih(e)&&ih(i)?nF(e,i):e===i)?void 0!==e&&u.has(t)?O(t):m.protectedKeys[t]=!0:null!=e?O(t):u.add(t)}m.prevProp=y,m.prevResolvedValues=T,m.isActive&&(p={...p,...T}),n&&t.blockInitialAnimation&&(w=!1);let C=b&&E,R=!C||S;w&&R&&l.push(...A.map(e=>{let i={type:f};if("string"==typeof e&&n&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=ip(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=nM(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof s.initial){let i=ip(t,Array.isArray(s.initial)?s.initial[0]:s.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let f=!!l.length;return n&&(!1===s.initial||s.initial===s.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(l):Promise.resolve()}return{animateChanges:o,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=o(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nB()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();t4(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nW=0;class nH extends iu{constructor(){super(...arguments),this.id=nW++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let nG={x:!1,y:!1};function nY(t){return[t("x"),t("y")]}function nK(t){return t.max-t.min}function n$(t,e,i,n=.5){t.origin=n,t.originPoint=eA(e.min,e.max,t.origin),t.scale=nK(i)/nK(e),t.translate=eA(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nz(t,e,i,n){n$(t.x,e.x,i.x,n?n.originX:void 0),n$(t.y,e.y,i.y,n?n.originY:void 0)}function nX(t,e,i){t.min=i.min+e.min,t.max=t.min+nK(e)}function nq(t,e,i){t.min=e.min-i.min,t.max=t.min+nK(e)}function nZ(t,e,i){nq(t.x,e.x,i.x),nq(t.y,e.y,i.y)}let nJ=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function nQ(t){return nJ.has(t.tagName)||!0===t.isContentEditable}function n0(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let n1=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function n2(t){return{point:{x:t.pageX,y:t.pageY}}}let n5=t=>e=>n1(e)&&t(e,n2(e));function n3(t,e,i,n){return n0(t,e,n5(i),n)}let n9=({current:t})=>t?t.ownerDocument.defaultView:null,n6=(t,e)=>Math.abs(t-e),n4=new Set(["auto","scroll"]);class n8{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3,element:s}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=re(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(n6(t.x,e.x)**2+n6(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=tD;this.history.push({...n,timestamp:r});let{onStart:o,onMove:s}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=n7(e,this.transformPagePoint),tL.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=re("pointercancel"===t.type?this.lastMoveEventInfo:n7(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,o),n&&n(t,o)},!n1(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=o,this.contextWindow=n||window;let a=n7(n2(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tD;this.history=[{...l,timestamp:u}];let{onSessionStart:p}=e;p&&p(t,re(a,this.history)),this.removeListeners=iv(n3(this.contextWindow,"pointermove",this.handlePointerMove),n3(this.contextWindow,"pointerup",this.handlePointerUp),n3(this.contextWindow,"pointercancel",this.handlePointerUp)),s&&this.startScrollTracking(s)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(n4.has(t.overflowX)||n4.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tL.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tk(this.updatePoint)}}function n7(t,e){return e?{point:e(t.point)}:t}function rt(t,e){return{x:t.x-e.x,y:t.y-e.y}}function re({point:t},e){return{point:t,delta:rt(t,ri(e)),offset:rt(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=ri(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>im(.1)));)i--;if(!n)return{x:0,y:0};let o=iy(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e,.1)}}function ri(t){return t[t.length-1]}function rn(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function rr(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function ro(t,e,i){return{min:rs(t,e),max:rs(t,i)}}function rs(t,e){return"number"==typeof t?t:t[e]||0}let ra=new WeakMap;class rl{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=z(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new n8(t,{onSessionStart:t=>{e?(this.stopAnimation(),this.snapToCursor(n2(t).point)):this.pauseAnimation()},onStart:(t,e)=>{this.stopAnimation();let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nG[t])return null;else return nG[t]=!0,()=>{nG[t]=!1};return nG.x||nG.y?null:(nG.x=nG.y=!0,()=>{nG.x=nG.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nY(t=>{let e=this.getAxisMotionValue(t).get()||0;if(w.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];
1n&&(e=nK(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tL.postRender(()=>r(t,e)),id(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:s}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),o&&o(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>nY(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:i,contextWindow:n9(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:o}=n;this.startAnimation(o);let{onDragEnd:s}=this.getProps();s&&tL.postRender(()=>s(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ru(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eA(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eA(i,t,n.max):Math.min(t,i)),t}(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&is(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:rn(t.x,i,r),y:rn(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ro(t,"left","right"),y:ro(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&nY(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!is(e))return!1;let n=e.current;te(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let o=function(t,e,i){let n=eB(t,i),{scroll:r}=e;return r&&(ej(n.x,r.offset.x),ej(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),s=(t=r.layout.layoutBox,{x:rr(t.x,o.x),y:rr(t.y,o.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(s));this.hasMutatedConstraints=!!t,t&&(s=eR(t))}return s}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all(nY(s=>{if(!ru(s,e,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return id(this.visualElement,t),i.start(nk(t,i,0,e,this.visualElement,!1))}stopAnimation(){nY(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){nY(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nY(e=>{let{drag:i}=this.getProps();if(!ru(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[e],s=r.get()||0;r.set(t[e]-eA(i,o,.5)+s)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!is(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nY(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=nK(t),r=nK(e);return r>n?i=nt(e.min,e.max-n,t.min):n>r&&(i=nt(t.min,t.max-r,e.min)),s(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),nY(e=>{if(!ru(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];i.set(eA(r,o,n[e]))})}addListeners(){if(!this.visualElement.current)return;ra.set(this.visualElement,this);let t=this.visualElement.current,e=n3(t,"pointerdown",e=>{let{drag:i,dragListener:n=!0}
1=this.getProps(),r=e.target,o=r!==t&&nQ(r);i&&n&&!o&&this.start(e)}),i=()=>{let{dragConstraints:t}=this.getProps();is(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tL.read(i);let o=n0(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nY(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function ru(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class rp extends iu{constructor(t){super(t),this.removeGroupControls=tx,this.removeListeners=tx,this.controls=new rl(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tx}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let rc=t=>(e,i)=>{t&&tL.postRender(()=>t(e,i))};class rh extends iu{constructor(){super(...arguments),this.removePointerDownListener=tx}onPointerDown(t){this.session=new n8(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:n9(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rc(t),onStart:rc(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tL.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=n3(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let rd={hasAnimatedSinceResize:!0,hasEverUpdated:!1},rf=!1;class rm extends eW.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),rf&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rd.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:o}=i;return o&&(o.isPresent=r,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),rf=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?o.promote():o.relegate()||tL.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tz.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;rf=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ry(t){let[e,i]=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,eW.useContext)(e3);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,o=(0,eW.useId)();(0,eW.useEffect)(()=>{if(t)return r(o)},[t]);let s=(0,eW.useCallback)(()=>t&&n&&n(o),[o,n,t]);return!i&&n?[!1,s]:[!0]}(),n=(0,eW.useContext)(eK);return(0,eY.jsx)(rm,{...t,layoutGroup:n,switchLayoutGroup:(0,eW.useContext)(io),isPresent:e,safeToRemove:i})}function rg(t){return"object"==typeof t&&null!==t}function rv(t){return rg(t)&&"ownerSVGElement"in t}let rb=["TopLeft","TopRight","BottomLeft","BottomRight"],rE=rb.length,rw=t=>"string"==typeof t?parseFloat(t):t,rS=t=>"number"==typeof t||S.test(t);function rA(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rT=rP(0,.5,i3),rx=rP(.5,.95,tx);function rP(t,e,i){return n=>n<t?0:n>e?1:i(nt(t,e,n))}function rO(t,e){t.min=e.min,t.max=e.max}function rC(t,e){rO(t.x,e.x),rO(t.y,e.y)}function rR(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rL(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rk(t,e,[i,n,r],o,s){!function(t,e=0,i=1,n=.5,r,o=t,s=t){if(w.test(e)&&(e=parseFloat(e),e=eA(s.min,s.max,e/100)-s.min),"number"!=typeof e)return;let a=eA(o.min,o.max,n);t===o&&(a-=e),t.min=rL(t.min,e,i,a,r),t.max=rL(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,o,s)}let rD=["x","scaleX","originX"],rM=["y","scaleY","originY"];function rN(t,e,i,n){rk(t.x,e,rD,i?i.x:void 0,n?n.x:void 0),rk(t.y,e,rM,i?i.y:void 0,n?n.y:void 0)}function rI(t){return 0===t.translate&&1===t.scale}function rF(t){return rI(t.x)&&rI(t.y)}function rj(t,e){return t.min===e.min&&t.max===e.max}function r_(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rV(t,e){return r_(t.x,e.x)&&r_(t.y,e.y)}function rB(t){return nK(t.x)/nK(t.y)}function rU(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rW{constructor(){this.members=[]}add(t){tY(this.members,t),t.scheduleRender()}remove(t){if(tK(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender();let n=i.options.layoutDependency,r=t.options.layoutDependency;(void 0===n||void 0===r||n!==r)&&(t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0));let{crossfade:o}=t.options;!1===o&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rH=(t,e)=>t.depth-e.depth;class rG{constructor(){this.children=[],this.isDirty=!1}add(t){tY(this.children,t),this.isDirty=!0}remove(t){tK(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rH),this.isDirty=!1,this.children.forEach(t)}}let rY={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},rK=["","X","Y","Z"],r$=0;function rz(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function rX({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=r$++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tC.value&&(rY.nodes=rY.calculatedTargetDeltas=rY.calculatedProjections=0),this.nodes.forEach(rJ),this.nodes.forEach(r9),this.nodes.forEach(r6),this.nodes.forEach(rQ),tC.addProjectionMetrics&&tC.addProjectionMetrics(rY)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rG)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t$),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=rv(e)&&!(rv(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tL.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tq.now(),n=({timestamp:r})=>{let o=r-i;o>=250&&(tk(n),t(o-e))};return tL.setup(n,!0),()=>tk(n)}(r,250),rd.hasAnimatedSinceResize&&(rd.hasAnimatedSinceResize=!1,this.nodes.forEach(r3)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||r.getDefaultTransition()||oi,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!rV(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...ic(o,"layout"),onPlay:s,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||r3(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tk(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(r4),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[ir];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tL,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r1);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(r2);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r5),this.nodes.forEach(rq),this.nodes.forEach(rZ)):this.nodes.forEach(r2),this.clearAllSnapshots();let t=tq.now();tD.delta=s(0,1e3/60,t-tD.timestamp),tD.timestamp=t,tD.isProcessing=!0,tM.update.process(tD),tM.preRender.process(tD),tM.render.process(tD),tD.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tz.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r0),this.sharedNodes.forEach(r8)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tL.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tL.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nK(this.snapshot.measuredBox.x)||nK(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=z(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rF(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||eD(this.latestValues)||o)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),oo((e=n).x),oo(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return z();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(oa))){let{scroll:t}=this.root;t&&(ej(e.x,t.offset.x),ej(e.y,t.offset.y))}return e}removeElementScroll(t){let e=z();if(rC(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:o}=n;n!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&rC(e,t),ej(e.x,r.offset.x),ej(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=z();rC(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&eV(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),eD(n.latestValues)&&eV(i,n.latestValues)}return eD(this.latestValues)&&eV(i,this.latestValues),i}removeTransform(t){let e=z();rC(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!eD(i.latestValues))continue;ek(i.latestValues)&&i.updateSnapshot();
1let n=z();rC(n,i.measurePageBox()),rN(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return eD(this.latestValues)&&rN(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tD.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tD.timestamp;let o=this.getClosestProjectingParent();if(o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=z(),this.targetWithTransforms=z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,l;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,nX(s.x,a.x,l.x),nX(s.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rC(this.target,this.layout.layoutBox),eF(this.target,this.targetDelta)):rC(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),tC.value&&rY.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||ek(this.parent.latestValues)||eM(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=z(),this.relativeTargetOrigin=z(),nZ(this.relativeTargetOrigin,e,i),rC(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tD.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rC(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(t,e,i,n=!1){let r,o,s=i.length;if(s){e.x=e.y=1;for(let a=0;a<s;a++){o=(r=i[a]).projectionDelta;let{visualElement:s}=r.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&eV(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,eF(t,o)),n&&eD(r.latestValues)&&eV(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=z());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rR(this.prevProjectionDelta.x,this.projectionDelta.x),rR(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nz(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&rU(this.projectionDelta.x,this.prevProjectionDelta.x)&&rU(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tC.value&&rY.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=K(),this.projectionDelta=K(),this.projectionDeltaWithTransform=K()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},s=K();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=z(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),p=!u||u.members.length<=1,c=!!(l&&!p&&!0===this.options.crossfade&&!this.path.some(oe));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(r7(s.x,t.x,n),r7(s.y,t.y,n),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,d,f,m,y;nZ(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,f=this.relativeTargetOrigin,m=a,y=n,ot(d.x,f.x,m.x,y),ot(d.y,f.y,m.y,y),i&&(u=this.relativeTarget,h=i,rj(u.x,h.x)&&rj(u.y,h.y))&&(this.isProjectionDirty=!1),i||(i=z()),rC(i,this.relativeTarget)}
1l&&(this.animationValues=o,function(t,e,i,n,r,o){r?(t.opacity=eA(0,i.opacity??1,rT(n)),t.opacityExit=eA(e.opacity??1,0,rx(n))):o&&(t.opacity=eA(e.opacity??1,i.opacity??1,n));for(let r=0;r<rE;r++){let o=`border${rb[r]}Radius`,s=rA(e,o),a=rA(i,o);(void 0!==s||void 0!==a)&&(s||(s=0),a||(a=0),0===s||0===a||rS(s)===rS(a)?(t[o]=Math.max(eA(rw(s),rw(a),n),0),(w.test(a)||w.test(s))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=eA(e.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,n,c,p)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tk(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tL.update(()=>{rd.hasAnimatedSinceResize=!0,ib.layout++,this.motionValue||(this.motionValue=t0(0)),this.currentAnimation=function(t,e,i){let n=X(t)?t:t0(t);return n.start(nk("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ib.layout--},onComplete:()=>{ib.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&os(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||z();let e=nK(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nK(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rC(e,i),eV(e,r),nz(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rW),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&rz("z",t,n,this.animationValues);for(let e=0;e<rK.length;e++)rz(`rotate${rK[e]}`,t,n,this.animationValues),rz(`skew${rK[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=e5(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=e5(e?.pointerEvents)||""),this.hasProjected&&!eD(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let o=function(t,e,i){let n="",r=t.x.translate/e.x,o=t.y.translate/e.y,s=i?.z||0;if((r||o||s)&&(n=`translate3d(${r}px, ${o}px, ${s}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:o,skewX:s,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),o&&(n+=`rotateY(${o}deg) `),s&&(n+=`skewX(${s}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(o=i(r,o)),t.transform=o;let{x:s,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*s.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,eT){if(void 0===r[e])continue;let{correct:i,applyTo:s,isCSSVariable:a}=eT[e],l="none"===o?r[e]:i(r[e],n);if(s){let e=s.length;for(let i=0;i<e;i++)t[s[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?e5(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(r1),this.root.sharedNodes.clear()}}}function rq(t){t.updateLayout()}function rZ(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,o=e.source!==t.layout.source;"size"===r?nY(t=>{let n=o?e.measuredBox[t]:e.layoutBox[t],r=nK(n);n.min=i[t].min,n.max=n.min+r}):os(r,e.layoutBox,i)&&nY(n=>{let r=o?e.measuredBox[n]:e.layoutBox[n],s=nK(i[n]);r.max=r.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+s)});let s=K();nz(s,i,e.layoutBox);let a=K();o?nz(a,t.applyTransform(n,!0),e.measuredBox):nz(a,i,e.layoutBox);let l=!rF(s),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let s=z();nZ(s,e.layoutBox,r.layoutBox);let a=z();nZ(a,i,o.layoutBox),rV(s,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rJ(t){tC.value&&rY.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rQ(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r0(t){t.clearSnapshot()}function r1(t){t.clearMeasurements()}function r2(t){t.isLayoutDirty=!1}function r5(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r3(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function r9(t){t.resolveTargetDelta()}function r6(t){t.calcProjection()}function r4(t){t.resetSkewAndRotation()}function r8(t){t.removeLeadSnapshot()}function r7(t,e,i){t.translate=eA(e.translate,0,i),t.scale=eA(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ot(t,e,i,n){t.min=eA(e.min,i.min,n),t.max=eA(e.max,i.max,n)}function oe(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let oi={duration:.45,ease:[.4,0,.1,1]},on=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),or=on("applewebkit/")&&!on("chrome/")?Math.round:tx;function oo(t){t.min=or(t.min),t.max=or(t.max)}function os(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rB(e)-rB(i)))}function oa(t){return t!==t.root&&t.scroll?.wasRoot}let ol=rX({attachResizeListener:(t,e)=>n0(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ou={current:void 0},op=rX({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ou.current){let t=new ol({});t.mount(window),t.setOptions({layoutScroll:!0}),ou.current=t}return ou.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function oc(t,e){let i=function(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(t=>null!=t)}(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function oh(t){return!("touch"===t.pointerType||nG.x||nG.y)}function od(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tL.postRender(()=>r(e,n2(e)))}class of extends iu{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,o]=oc(t,i),s=t=>{if(!oh(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let o=t=>{oh(t)&&(n(t),i.removeEventListener("pointerleave",o))};i.addEventListener("pointerleave",o,r)};return n.forEach(t=>{t.addEventListener("pointerenter",s,r)}),o}(t,(t,e)=>(od(this.node,e,"Start"),t=>od(this.node,t,"End"))))}unmount(){}}class om extends iu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iv(n0(this.node.current,"focus",()=>this.onFocus()),n0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let oy=(t,e)=>!!e&&(t===e||oy(t,e.parentElement)),og=new WeakSet;function ov(t){return e=>{"Enter"===e.key&&t(e)}}function ob(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let oE=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=ov(()=>{if(og.has(i))return;ob(i,"down");let t=ov(()=>{ob(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>ob(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function ow(t){return n1(t)&&!(nG.x||nG.y)}function oS(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tL.postRender(()=>r(e,n2(e)))}class oA extends iu{mount(){let{current:t}=this.node;
1t&&(this.unmount=function(t,e,i={}){let[n,r,o]=oc(t,i),s=t=>{let n=t.currentTarget;if(!ow(t))return;og.add(n);let o=e(n,t),s=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),og.has(n)&&og.delete(n),ow(t)&&"function"==typeof o&&o(t,{success:e})},a=t=>{s(t,n===window||n===document||i.useGlobalTarget||oy(n,t.target))},l=t=>{s(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",s,r),rg(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>oE(t,r)),nQ(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(oS(this.node,e,"Start"),(t,{success:e})=>oS(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let oT=new WeakMap,ox=new WeakMap,oP=t=>{let e=oT.get(t.target);e&&e(t)},oO=t=>{t.forEach(oP)},oC={some:0,all:1};class oR extends iu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,o={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:oC[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;ox.has(i)||ox.set(i,{});let n=ox.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(oO,{root:t,...e})),n[r]}(e);return oT.set(t,i),n.observe(t),()=>{oT.delete(t),n.unobserve(t)}}(this.node.current,o,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),o=e?i:n;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let oL=function(t,e){if("undefined"==typeof Proxy)return il;let i=new Map,n=(i,n)=>il(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,o)=>"create"===o?n:(i.has(o)||i.set(o,il(o,void 0,t,e)),i.get(o))})}({animation:{Feature:nU},exit:{Feature:nH},inView:{Feature:oR},tap:{Feature:oA},focus:{Feature:om},hover:{Feature:of},pan:{Feature:rh},drag:{Feature:rp,ProjectionNode:op,MeasureLayout:ry},layout:{ProjectionNode:op,MeasureLayout:ry}},(t,e)=>e.isSVG??eG(t)?new eC(e):new eU(e,{allowProjection:t!==eW.Fragment}))},4396:(t,e,i)=>{i.d(e,{Ay:()=>f,UM:()=>d}),i(6080);var n=i(2115),r=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",NOT_IN:"notIn",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t){var e=function(t,e){if("object"!=s(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=s(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==s(e)?e:e+""}function l(t,e,i){return(e=a(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}Object.freeze({AND:"and",OR:"or"});var u=function(t,e,i){return Object.defineProperty(t,"prototype",{writable:!1}),t}(function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function")});function p(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}l(u,"ripple",!1),l(u,"inputStyle","outlined"),l(u,"locale","en"),l(u,"appendTo",null),l(u,"cssTransition",!0),l(u,"autoZIndex",!0),l(u,"hideOverlaysOnDocumentScrolling",!1),l(u,"nonce",null),l(u,"nullSortOrder",1),l(u,"zIndex",{modal:1100,overlay:1e3,menu:1e3,tooltip:1100,toast:1200}),l(u,"pt",void 0),l(u,"filterMatchModeOptions",{text:[r.STARTS_WITH,r.CONTAINS,r.NOT_CONTAINS,r.ENDS_WITH,r.EQUALS,r.NOT_EQUALS],numeric:[r.EQUALS,r.NOT_EQUALS,r.LESS_THAN,r.LESS_THAN_OR_EQUAL_TO,r.GREATER_THAN,r.GREATER_THAN_OR_EQUAL_TO],date:[r.DATE_IS,r.DATE_IS_NOT,r.DATE_BEFORE,r.DATE_AFTER]}
1),l(u,"changeTheme",function(t,e,i,n){var r,o=document.getElementById(i);if(!o)throw Error("Element with id ".concat(i," not found."));var s=o.getAttribute("href").replace(t,e),a=document.createElement("link");a.setAttribute("rel","stylesheet"),a.setAttribute("id",i),a.setAttribute("href",s),a.addEventListener("load",function(){n&&n()}),null==(r=o.parentNode)||r.replaceChild(a,o)});var c={en:{accept:"Yes",addRule:"Add Rule",am:"AM",apply:"Apply",cancel:"Cancel",choose:"Choose",chooseDate:"Choose Date",chooseMonth:"Choose Month",chooseYear:"Choose Year",clear:"Clear",completed:"Completed",contains:"Contains",custom:"Custom",dateAfter:"Date is after",dateBefore:"Date is before",dateFormat:"mm/dd/yy",dateIs:"Date is",dateIsNot:"Date is not",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],emptyFilterMessage:"No results found",emptyMessage:"No available options",emptySearchMessage:"No results found",emptySelectionMessage:"No selected item",endsWith:"Ends with",equals:"Equals",fileChosenMessage:"{0} files",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],filter:"Filter",firstDayOfWeek:0,gt:"Greater than",gte:"Greater than or equal to",lt:"Less than",lte:"Less than or equal to",matchAll:"Match All",matchAny:"Match Any",medium:"Medium",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],nextDecade:"Next Decade",nextHour:"Next Hour",nextMinute:"Next Minute",nextMonth:"Next Month",nextSecond:"Next Second",nextYear:"Next Year",noFileChosenMessage:"No file chosen",noFilter:"No Filter",notContains:"Not contains",notEquals:"Not equals",now:"Now",passwordPrompt:"Enter a password",pending:"Pending",pm:"PM",prevDecade:"Previous Decade",prevHour:"Previous Hour",prevMinute:"Previous Minute",prevMonth:"Previous Month",prevSecond:"Previous Second",prevYear:"Previous Year",reject:"No",removeRule:"Remove Rule",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",showMonthAfterYear:!1,startsWith:"Starts with",strong:"Strong",today:"Today",upload:"Upload",weak:"Weak",weekHeader:"Wk",aria:{cancelEdit:"Cancel Edit",close:"Close",collapseLabel:"Collapse",collapseRow:"Row Collapsed",editRow:"Edit Row",expandLabel:"Expand",expandRow:"Row Expanded",falseLabel:"False",filterConstraint:"Filter Constraint",filterOperator:"Filter Operator",firstPageLabel:"First Page",gridView:"Grid View",hideFilterMenu:"Hide Filter Menu",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",lastPageLabel:"Last Page",listLabel:"Option List",listView:"List View",moveAllToSource:"Move All to Source",moveAllToTarget:"Move All to Target",moveBottom:"Move Bottom",moveDown:"Move Down",moveToSource:"Move to Source",moveToTarget:"Move to Target",moveTop:"Move Top",moveUp:"Move Up",navigation:"Navigation",next:"Next",nextPageLabel:"Next Page",nullLabel:"Not Selected",otpLabel:"Please enter one time password character {0}",pageLabel:"Page {page}",passwordHide:"Hide Password",passwordShow:"Show Password",previous:"Previous",prevPageLabel:"Previous Page",removeLabel:"Remove",rotateLeft:"Rotate Left",rotateRight:"Rotate Right",rowsPerPageLabel:"Rows per page",saveEdit:"Save Edit",scrollTop:"Scroll Top",selectAll:"All items selected",selectLabel:"Select",selectRow:"Row Selected",showFilterMenu:"Show Filter Menu",slide:"Slide",slideNumber:"{slideNumber}",star:"1 star",stars:"{star} stars",trueLabel:"True",unselectAll:"All items unselected",unselectLabel:"Unselect",unselectRow:"Row Unselected",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out"}}};function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}Object.freeze({SUCCESS:"success",INFO:"info",WARN:"warn",ERROR:"error",SECONDARY:"secondary",CONTRAST:"contrast"}),Object.freeze({ADDRESS_BOOK:"pi pi-address-book",ALIGN_CENTER:"pi pi-align-center",ALIGN_JUSTIFY:"pi pi-align-justify",ALIGN_LEFT:"pi pi-align-left",ALIGN_RIGHT:"pi pi-align-right",AMAZON:"pi pi-amazon",ANDROID:"pi pi-android",ANGLE_DOUBLE_DOWN:"pi pi-angle-double-down",ANGLE_DOUBLE_LEFT:"pi pi-angle-double-left",ANGLE_DOUBLE_RIGHT:"pi pi-angle-double-right",ANGLE_DOUBLE_UP:"pi pi-angle-double-up",ANGLE_DOWN:"pi pi-angle-down",ANGLE_LEFT:"pi pi-angle-left",ANGLE_RIGHT:"pi pi-angle-right",ANGLE_UP:"pi pi-angle-up",APPLE:"pi pi-apple",ARROW_CIRCLE_DOWN:"pi pi-arrow-circle-down",ARROW_CIRCLE_LEFT:"pi pi-arrow-circle-left",ARROW_CIRCLE_RIGHT:"pi pi-arrow-circle-right",ARROW_CIRCLE_UP:"pi pi-arrow-circle-up",ARROW_DOWN_LEFT_AND_ARROW_UP_RIGHT_TO_CENTER:"pi pi-arrow-down-left-and-arrow-up-right-to-center",ARROW_DOWN_LEFT:"pi pi-arrow-down-left",ARROW_DOWN_RIGHT:"pi pi-arrow-down-right",ARROW_DOWN:"pi pi-arrow-down",ARROW_LEFT:"pi pi-arrow-left",ARROW_RIGHT_ARROW_LEFT:"pi pi-arrow-right-arrow-left",ARROW_RIGHT:"pi pi-arrow-right",ARROW_UP_LEFT:"pi pi-arrow-up-left",ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER:"pi pi-arrow-up-right-and-arrow-down-left-from-center",ARROW_UP_RIGHT:"pi pi-arrow-up-right",ARROW_UP:"pi pi-arrow-up",ARROWS_ALT:"pi pi-arrows-alt",ARROWS_H:"pi pi-arrows-h",ARROWS_V:"pi pi-arrows-v",ASTERISK:"pi pi-asterisk",AT:"pi pi-at",BACKWARD:"pi pi-backward",BAN:"pi pi-ban",BARCODE:"pi pi-barcode",BARS:"pi pi-bars",BELL_SLASH:"pi pi-bell-slash",BELL:"pi pi-bell",BITCOIN:"pi pi-bitcoin",BOLT:"pi pi-bolt",BOOK:"pi pi-book",BOOKMARK_FILL:"pi pi-bookmark-fill",BOOKMARK:"pi pi-bookmark",BOX:"pi pi-box",BRIEFCASE:"pi pi-briefcase",BUILDING_COLUMNS:"pi pi-building-columns",BUILDING:"pi pi-building",BULLSEYE:"pi pi-bullseye",CALCULATOR:"pi pi-calculator",CALENDAR_CLOCK:"pi pi-calendar-clock",CALENDAR_MINUS:"pi pi-calendar-minus",CALENDAR_PLUS:"pi pi-calendar-plus",CALENDAR_TIMES:"pi pi-calendar-times",CALENDAR:"pi pi-calendar",CAMERA:"pi pi-camera",CAR:"pi pi-car",CARET_DOW
1N:"pi pi-caret-down",CARET_LEFT:"pi pi-caret-left",CARET_RIGHT:"pi pi-caret-right",CARET_UP:"pi pi-caret-up",CART_ARROW_DOWN:"pi pi-cart-arrow-down",CART_MINUS:"pi pi-cart-minus",CART_PLUS:"pi pi-cart-plus",CHART_BAR:"pi pi-chart-bar",CHART_LINE:"pi pi-chart-line",CHART_PIE:"pi pi-chart-pie",CHART_SCATTER:"pi pi-chart-scatter",CHECK_CIRCLE:"pi pi-check-circle",CHECK_SQUARE:"pi pi-check-square",CHECK:"pi pi-check",CHEVRON_CIRCLE_DOWN:"pi pi-chevron-circle-down",CHEVRON_CIRCLE_LEFT:"pi pi-chevron-circle-left",CHEVRON_CIRCLE_RIGHT:"pi pi-chevron-circle-right",CHEVRON_CIRCLE_UP:"pi pi-chevron-circle-up",CHEVRON_DOWN:"pi pi-chevron-down",CHEVRON_LEFT:"pi pi-chevron-left",CHEVRON_RIGHT:"pi pi-chevron-right",CHEVRON_UP:"pi pi-chevron-up",CIRCLE_FILL:"pi pi-circle-fill",CIRCLE_OFF:"pi pi-circle-off",CIRCLE_ON:"pi pi-circle-on",CIRCLE:"pi pi-circle",CLIPBOARD:"pi pi-clipboard",CLOCK:"pi pi-clock",CLONE:"pi pi-clone",CLOUD_DOWNLOAD:"pi pi-cloud-download",CLOUD_UPLOAD:"pi pi-cloud-upload",CLOUD:"pi pi-cloud",CODE:"pi pi-code",COG:"pi pi-cog",COMMENT:"pi pi-comment",COMMENTS:"pi pi-comments",COMPASS:"pi pi-compass",COPY:"pi pi-copy",CREDIT_CARD:"pi pi-credit-card",CROWN:"pi pi-crown",DATABASE:"pi pi-database",DELETE_LEFT:"pi pi-delete-left",DESKTOP:"pi pi-desktop",DIRECTIONS_ALT:"pi pi-directions-alt",DIRECTIONS:"pi pi-directions",DISCORD:"pi pi-discord",DOLLAR:"pi pi-dollar",DOWNLOAD:"pi pi-download",EJECT:"pi pi-eject",ELLIPSIS_H:"pi pi-ellipsis-h",ELLIPSIS_V:"pi pi-ellipsis-v",ENVELOPE:"pi pi-envelope",EQUALS:"pi pi-equals",ERASER:"pi pi-eraser",ETHEREUM:"pi pi-ethereum",EURO:"pi pi-euro",EXCLAMATION_CIRCLE:"pi pi-exclamation-circle",EXCLAMATION_TRIANGLE:"pi pi-exclamation-triangle",EXPAND:"pi pi-expand",EXTERNAL_LINK:"pi pi-external-link",EYE_SLASH:"pi pi-eye-slash",EYE:"pi pi-eye",FACE_SMILE:"pi pi-face-smile",FACEBOOK:"pi pi-facebook",FAST_BACKWARD:"pi pi-fast-backward",FAST_FORWARD:"pi pi-fast-forward",FILE_ARROW_UP:"pi pi-file-arrow-up",FILE_CHECK:"pi pi-file-check",FILE_EDIT:"pi pi-file-edit",FILE_EXCEL:"pi pi-file-excel",FILE_EXPORT:"pi pi-file-export",FILE_IMPORT:"pi pi-file-import",FILE_O:"pi pi-file-o",FILE_PDF:"pi pi-file-pdf",FILE_PLUS:"pi pi-file-plus",FILE_WORD:"pi pi-file-word",FILE:"pi pi-file",FILTER_FILL:"pi pi-filter-fill",FILTER_SLASH:"pi pi-filter-slash",FILTER:"pi pi-filter",FLAG_FILL:"pi pi-flag-fill",FLAG:"pi pi-flag",FOLDER_OPEN:"pi pi-folder-open",FOLDER_PLUS:"pi pi-folder-plus",FOLDER:"pi pi-folder",FORWARD:"pi pi-forward",GAUGE:"pi pi-gauge",GIFT:"pi pi-gift",GITHUB:"pi pi-github",GLOBE:"pi pi-globe",GOOGLE:"pi pi-google",GRADUATION_CAP:"pi pi-graduation-cap",HAMMER:"pi pi-hammer",HASHTAG:"pi pi-hashtag",HEADPHONES:"pi pi-headphones",HEART_FILL:"pi pi-heart-fill",HEART:"pi pi-heart",HISTORY:"pi pi-history",HOME:"pi pi-home",HOURGLASS:"pi pi-hourglass",ID_CARD:"pi pi-id-card",IMAGE:"pi pi-image",IMAGES:"pi pi-images",INBOX:"pi pi-inbox",INDIAN_RUPEE:"pi pi-indian-rupee",INFO_CIRCLE:"pi pi-info-circle",INFO:"pi pi-info",INSTAGRAM:"pi pi-instagram",KEY:"pi pi-key",LANGUAGE:"pi pi-language",LIGHTBULB:"pi pi-lightbulb",LINK:"pi pi-link",LINKEDIN:"pi pi-linkedin",LIST_CHECK:"pi pi-list-check",LIST:"pi pi-list",LOCK_OPEN:"pi pi-lock-open",LOCK:"pi pi-lock",MAP_MARKER:"pi pi-map-marker",MAP:"pi pi-map",MARS:"pi pi-mars",MEGAPHONE:"pi pi-megaphone",MICROCHIP_AI:"pi pi-microchip-ai",MICROCHIP:"pi pi-microchip",MICROPHONE:"pi pi-microphone",MICROSOFT:"pi pi-microsoft",MINUS_CIRCLE:"pi pi-minus-circle",MINUS:"pi pi-minus",MOBILE:"pi pi-mobile",MONEY_BILL:"pi pi-money-bill",MOON:"pi pi-moon",OBJECTS_COLUMN:"pi pi-objects-column",PALETTE:"pi pi-palette",PAPERCLIP:"pi pi-paperclip",PAUSE_CIRCLE:"pi pi-pause-circle",PAUSE:"pi pi-pause",PAYPAL:"pi pi-paypal",PEN_TO_SQUARE:"pi pi-pen-to-square",PENCIL:"pi pi-pencil",PERCENTAGE:"pi pi-percentage",PHONE:"pi pi-phone",PINTEREST:"pi pi-pinterest",PLAY_CIRCLE:"pi pi-play-circle",PLAY:"pi pi-play",PLUS_CIRCLE:"pi pi-plus-circle",PLUS:"pi pi-plus",POUND:"pi pi-pound",POWER_OFF:"pi pi-power-off",PRIME:"pi pi-prime",PRINT:"pi pi-print",QRCODE:"pi pi-qrcode",QUESTION_CIRCLE:"pi pi-question-circle",QUESTION:"pi pi-question",RECEIPT:"pi pi-receipt",REDDIT:"pi pi-reddit",REFRESH:"pi pi-refresh",REPLAY:"pi pi-replay",REPLY:"pi pi-reply",SAVE:"pi pi-save",SEARCH_MINUS:"pi pi-search-minus",SEARCH_PLUS:"pi pi-search-plus",SEARCH:"pi pi-search",SEND:"pi pi-send",SERVER:"pi pi-server",SHARE_ALT:"pi pi-share-alt",SHIELD:"pi pi-shield",SHOP:"pi pi-shop",SHOPPING_BAG:"pi pi-shopping-bag",SHOPPING_CART:"pi pi-shopping-cart",SIGN_IN:"pi pi-sign-in",SIGN_OUT:"pi pi-sign-out",SITEMAP:"pi pi-sitemap",SLACK:"pi pi-slack",SLIDERS_H:"pi pi-sliders-h",SLIDERS_V:"pi pi-sliders-v",SORT_ALPHA_DOWN_ALT:"pi pi-sort-alpha-down-alt",SORT_ALPHA_DOWN:"pi pi-sort-alpha-down",SORT_ALPHA_UP_ALT:"pi pi-sort-alpha-up-alt",SORT_ALPHA_UP:"pi pi-sort-alpha-up",SORT_ALT_SLASH:"pi pi-sort-alt-slash",SORT_ALT:"pi pi-sort-alt",SORT_AMOUNT_DOWN_ALT:"pi pi-sort-amount-down-alt",SORT_AMOUNT_DOWN:"pi pi-sort-amount-down",SORT_AMOUNT_UP_ALT:"pi pi-sort-amount-up-alt",SORT_AMOUNT_UP:"pi pi-sort-amount-up",SORT_DOWN_FILL:"pi pi-sort-down-fill",SORT_DOWN:"pi pi-sort-down",SORT_NUMERIC_DOWN_ALT:"pi pi-sort-numeric-down-alt",SORT_NUMERIC_DOWN:"pi pi-sort-numeric-down",SORT_NUMERIC_UP_ALT:"pi pi-sort-numeric-up-alt",SORT_NUMERIC_UP:"pi pi-sort-numeric-up",SORT_UP_FILL:"pi pi-sort-up-fill",SORT_UP:"pi pi-sort-up",SORT:"pi pi-sort",SPARKLES:"pi pi-sparkles",SPINNER_DOTTED:"pi pi-spinner-dotted",SPINNER:"pi pi-spinner",STAR_FILL:"pi pi-star-fill",STAR_HALF_FILL:"pi pi-star-half-fill",STAR_HALF:"pi pi-star-half",STAR:"pi pi-star",STEP_BACKWARD_ALT:"pi pi-step-backward-alt",STEP_BACKWARD:"pi pi-step-backward",STEP_FORWARD_ALT:"pi pi-step-forward-alt",STEP_FORWARD:"pi pi-step-forward",STOP_CIRCLE:"pi pi-stop-circle",STOP:"pi pi-stop",STOPWATCH:"pi pi-stopwatch",SUN:"pi pi-sun",SYNC:"pi pi-sync",TABLE:"pi pi-table",TABLET:"pi pi-tablet",TAG:"pi pi-tag",TAGS:"pi pi-tags",TELEGRAM:"pi pi-telegram",TH_LARGE:"pi pi-th-large",THUMBS_DOWN_FILL:"pi pi-thumbs-down-fill",THUMBS_DOWN:"pi pi-thumbs-down",THUMBS_UP_FILL:"pi pi-thumbs-up-fill",THUMBS_UP:"pi pi-thumbs-up",THUMBTACK:"pi pi-thumbtack",TICKET:"pi pi-ticket",TIKTOK:"pi pi-tiktok",TIMES_CIRCLE:"pi pi-times-circle",TIMES:"pi pi-times",TRASH:"pi pi-trash",TROPHY:"pi pi-trophy",TRUCK:"pi pi-truck",TURKISH_LIRA:"pi pi-turkish-lira",TWITCH:"pi pi-twitch",TWITTER:"pi pi-twitter",UNDO:"pi pi-undo",UNLOCK:"pi pi-unlock",UPLOAD:"pi pi-upload",USER_EDIT:"pi pi-user-edit",USER_MINUS:"pi pi-user-minus",USER_PLUS:"pi pi-user-plus",USER:"pi pi-user",USERS:"pi pi-users",VENUS:"pi pi-venus",VERIFIED:"pi pi-verified",VIDEO:"pi pi-video",VIMEO:"pi pi-vimeo",VOLUME_DOWN:"pi pi-volume-down",VOLUME_OF
1F:"pi pi-volume-off",VOLUME_UP:"pi pi-volume-up",WALLET:"pi pi-wallet",WAREHOUSE:"pi pi-warehouse",WAVE_PULSE:"pi pi-wave-pulse",WHATSAPP:"pi pi-whatsapp",WIFI:"pi pi-wifi",WINDOW_MAXIMIZE:"pi pi-window-maximize",WINDOW_MINIMIZE:"pi pi-window-minimize",WRENCH:"pi pi-wrench",YOUTUBE:"pi pi-youtube"}),Object.freeze({DESC:-1,UNSORTED:0,ASC:1});var d=n.createContext(),f=u},6080:(t,e,i)=>{i.d(e,{BF:()=>S,DV:()=>v,Hj:()=>x,v6:()=>R,xW:()=>u});var n=i(2115),r=i(9509);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function s(t,e){if(t){if("string"==typeof t)return o(t,e);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?o(t,e):void 0}}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,s,a=[],l=!0,u=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=i.return&&(s=i.return(),Object(s)!==s))return}finally{if(u)throw r}}return a}}(t,e)||s(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];if(e){for(var n=[],r=0;r<e.length;r++){var o=e[r];if(o){var s=l(o);if("string"===s||"number"===s)n.push(o);else if("object"===s){var u=Array.isArray(o)?o:Object.entries(o).map(function(t){var e=a(t,2),i=e[0];return e[1]?i:null});n=u.length?n.concat(u.filter(function(t){return!!t})):n}}}return n.join(" ").trim()}}function p(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||s(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function h(t){var e=function(t,e){if("object"!=l(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==l(e)?e:e+""}function d(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,h(n.key),n)}}function f(t,e,i){return e&&d(t.prototype,e),i&&d(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(t,e,i){return(e=h(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function y(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return g(t,void 0);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?g(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,o=t}
1,f:function(){try{s||null==i.return||i.return()}finally{if(a)throw o}}}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}var v=function(){function t(){c(this,t)}return f(t,null,[{key:"innerWidth",value:function(t){if(t){var e=t.offsetWidth,i=getComputedStyle(t);return e+(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight))}return 0}},{key:"width",value:function(t){if(t){var e=t.offsetWidth,i=getComputedStyle(t);return e-(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight))}return 0}},{key:"getBrowserLanguage",value:function(){return navigator.userLanguage||navigator.languages&&navigator.languages.length&&navigator.languages[0]||navigator.language||navigator.browserLanguage||navigator.systemLanguage||"en"}},{key:"getWindowScrollTop",value:function(){var t=document.documentElement;return(window.pageYOffset||t.scrollTop)-(t.clientTop||0)}},{key:"getWindowScrollLeft",value:function(){var t=document.documentElement;return(window.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}},{key:"getOuterWidth",value:function(t,e){if(t){var i=t.getBoundingClientRect().width||t.offsetWidth;if(e){var n=getComputedStyle(t);i+=parseFloat(n.marginLeft)+parseFloat(n.marginRight)}return i}return 0}},{key:"getOuterHeight",value:function(t,e){if(t){var i=t.getBoundingClientRect().height||t.offsetHeight;if(e){var n=getComputedStyle(t);i+=parseFloat(n.marginTop)+parseFloat(n.marginBottom)}return i}return 0}},{key:"getClientHeight",value:function(t,e){if(t){var i=t.clientHeight;if(e){var n=getComputedStyle(t);i+=parseFloat(n.marginTop)+parseFloat(n.marginBottom)}return i}return 0}},{key:"getClientWidth",value:function(t,e){if(t){var i=t.clientWidth;if(e){var n=getComputedStyle(t);i+=parseFloat(n.marginLeft)+parseFloat(n.marginRight)}return i}return 0}},{key:"getViewport",value:function(){var t=window,e=document,i=e.documentElement,n=e.getElementsByTagName("body")[0];return{width:t.innerWidth||i.clientWidth||n.clientWidth,height:t.innerHeight||i.clientHeight||n.clientHeight}}},{key:"getOffset",value:function(t){if(t){var e=t.getBoundingClientRect();return{top:e.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:e.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}return{top:"auto",left:"auto"}}},{key:"index",value:function(t){if(t)for(var e=t.parentNode.childNodes,i=0,n=0;n<e.length;n++){if(e[n]===t)return i;1===e[n].nodeType&&i++}return -1}},{key:"addMultipleClasses",value:function(t,e){if(t&&e)if(t.classList)for(var i=e.split(" "),n=0;n<i.length;n++)t.classList.add(i[n]);else for(var r=e.split(" "),o=0;o<r.length;o++)t.className=t.className+" "+r[o]}},{key:"removeMultipleClasses",value:function(t,e){if(t&&e)if(t.classList)for(var i=e.split(" "),n=0;n<i.length;n++)t.classList.remove(i[n]);else for(var r=e.split(" "),o=0;o<r.length;o++)t.className=t.className.replace(RegExp("(^|\\b)"+r[o].split(" ").join("|")+"(\\b|$)","gi")," ")}},{key:"addClass",value:function(t,e){t&&e&&(t.classList?t.classList.add(e):t.className=t.className+" "+e)}},{key:"removeClass",value:function(t,e){t&&e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(t,e){return!!t&&(t.classList?t.classList.contains(e):RegExp("(^| )"+e+"( |$)","gi").test(t.className))}},{key:"addStyles",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t&&Object.entries(e).forEach(function(e){var i=a(e,2),n=i[0],r=i[1];return t.style[n]=r})}},{key:"find",value:function(t,e){return t?Array.from(t.querySelectorAll(e)):[]}},{key:"findSingle",value:function(t,e){return t?t.querySelector(e):null}},{key:"setAttributes",value:function(t){var e=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t){var n=function(e,i){var r,o,s=null!=t&&null!=(r=t.$attrs)&&r[e]?[null==t||null==(o=t.$attrs)?void 0:o[e]]:[];return[i].flat().reduce(function(t,i){if(null!=i){var r=l(i);if("string"===r||"number"===r)t.push(i);else if("object"===r){var o=Array.isArray(i)?n(e,i):Object.entries(i).map(function(t){var i=a(t,2),n=i[0],r=i[1];return"style"===e&&(r||0===r)?"".concat(n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(r):r?n:void 0});t=o.length?t.concat(o.filter(function(t){return!!t})):t}}return t},s)};
1Object.entries(i).forEach(function(i){var r=a(i,2),o=r[0],s=r[1];if(null!=s){var l=o.match(/^on(.+)/);l?t.addEventListener(l[1].toLowerCase(),s):"p-bind"===o?e.setAttributes(t,s):(s="class"===o?p(new Set(n("class",s))).join(" ").trim():"style"===o?n("style",s).join(";").trim():s,t.$attrs=t.$attrs||{},t.$attrs[o]=s,t.setAttribute(o,s))}})}}},{key:"getAttribute",value:function(t,e){if(t){var i=t.getAttribute(e);return isNaN(i)?"true"===i||"false"===i?"true"===i:i:+i}}},{key:"isAttributeEquals",value:function(t,e,i){return!!t&&this.getAttribute(t,e)===i}},{key:"isAttributeNotEquals",value:function(t,e,i){return!this.isAttributeEquals(t,e,i)}},{key:"getHeight",value:function(t){if(t){var e=t.offsetHeight,i=getComputedStyle(t);return e-(parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth))}return 0}},{key:"getWidth",value:function(t){if(t){var e=t.offsetWidth,i=getComputedStyle(t);return e-(parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)+parseFloat(i.borderLeftWidth)+parseFloat(i.borderRightWidth))}return 0}},{key:"alignOverlay",value:function(e,i,n){var r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];e&&i&&("self"===n?this.relativePosition(e,i):(r&&(e.style.minWidth=t.getOuterWidth(i)+"px"),this.absolutePosition(e,i)))}},{key:"absolutePosition",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left";if(t&&e){var n,r,o=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),s=o.height,a=o.width,l=e.offsetHeight,u=e.offsetWidth,p=e.getBoundingClientRect(),c=this.getWindowScrollTop(),h=this.getWindowScrollLeft(),d=this.getViewport();p.top+l+s>d.height?((n=p.top+c-s)<0&&(n=c),t.style.transformOrigin="bottom"):(n=l+p.top+c,t.style.transformOrigin="top");var f=p.left;r="left"===i?f+a>d.width?Math.max(0,f+h+u-a):f+h:f+u-a<0?h:f+u-a+h,t.style.top=n+"px",t.style.left=r+"px"}}},{key:"relativePosition",value:function(t,e){if(t&&e){var i,n,r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),o=e.offsetHeight,s=e.getBoundingClientRect(),a=this.getViewport();s.top+o+r.height>a.height?(i=-1*r.height,s.top+i<0&&(i=-1*s.top),t.style.transformOrigin="bottom"):(i=o,t.style.transformOrigin="top"),n=r.width>a.width?-1*s.left:s.left+r.width>a.width?-((s.left+r.width-a.width)*1):0,t.style.top=i+"px",t.style.left=n+"px"}}},{key:"flipfitCollision",value:function(e,i){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left top",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left bottom",s=arguments.length>4?arguments[4]:void 0;if(e&&i){var a=i.getBoundingClientRect(),l=this.getViewport(),u=r.split(" "),p=o.split(" "),c=function(t,e){return e?+t.substring(t.search(/(\+|-)/g))||0:t.substring(0,t.search(/(\+|-)/g))||t},h={my:{x:c(u[0]),y:c(u[1]||u[0]),offsetX:c(u[0],!0),offsetY:c(u[1]||u[0],!0)},at:{x:c(p[0]),y:c(p[1]||p[0]),offsetX:c(p[0],!0),offsetY:c(p[1]||p[0],!0)}},d={left:function(){return h.my.offsetX+h.at.offsetX+a.left+("left"===h.my.x?0:-1*("center"===h.my.x?n.getOuterWidth(e)/2:n.getOuterWidth(e)))},top:function(){return h.my.offsetY+h.at.offsetY+a.top+("top"===h.my.y?0:-1*("center"===h.my.y?n.getOuterHeight(e)/2:n.getOuterHeight(e)))}},f={count:{x:0,y:0},left:function(){var i=d.left(),n=t.getWindowScrollLeft();e.style.left=i+n+"px",2===this.count.x?(e.style.left=n+"px",this.count.x=0):i<0&&(this.count.x++,h.my.x="left",h.at.x="right",h.my.offsetX*=-1,h.at.offsetX*=-1,this.right())}
1,right:function(){var n=d.left()+t.getOuterWidth(i),r=t.getWindowScrollLeft();e.style.left=n+r+"px",2===this.count.x?(e.style.left=l.width-t.getOuterWidth(e)+r+"px",this.count.x=0):n+t.getOuterWidth(e)>l.width&&(this.count.x++,h.my.x="right",h.at.x="left",h.my.offsetX*=-1,h.at.offsetX*=-1,this.left())},top:function(){var i=d.top(),n=t.getWindowScrollTop();e.style.top=i+n+"px",2===this.count.y?(e.style.left=n+"px",this.count.y=0):i<0&&(this.count.y++,h.my.y="top",h.at.y="bottom",h.my.offsetY*=-1,h.at.offsetY*=-1,this.bottom())},bottom:function(){var n=d.top()+t.getOuterHeight(i),r=t.getWindowScrollTop();e.style.top=n+r+"px",2===this.count.y?(e.style.left=l.height-t.getOuterHeight(e)+r+"px",this.count.y=0):n+t.getOuterHeight(i)>l.height&&(this.count.y++,h.my.y="bottom",h.at.y="top",h.my.offsetY*=-1,h.at.offsetY*=-1,this.top())},center:function(n){if("y"===n){var r=d.top()+t.getOuterHeight(i)/2;e.style.top=r+t.getWindowScrollTop()+"px",r<0?this.bottom():r+t.getOuterHeight(i)>l.height&&this.top()}else{var o=d.left()+t.getOuterWidth(i)/2;e.style.left=o+t.getWindowScrollLeft()+"px",o<0?this.left():o+t.getOuterWidth(e)>l.width&&this.right()}}};f[h.at.x]("x"),f[h.at.y]("y"),this.isFunction(s)&&s(h)}}},{key:"findCollisionPosition",value:function(t){if(t)return"top"===t||"bottom"===t?{axis:"y",my:"center ".concat("top"===t?"bottom":"top"),at:"center ".concat(t)}:{axis:"x",my:"".concat("left"===t?"right":"left"," center"),at:"".concat(t," center")}}},{key:"getParents",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===t.parentNode?e:this.getParents(t.parentNode,e.concat([t.parentNode]))}},{key:"getScrollableParents",value:function(t){var e=this,i=[];if(t){var n,r=this.getParents(t),o=/(auto|scroll)/,s=function(t){var e=t?getComputedStyle(t):null;return e&&(o.test(e.getPropertyValue("overflow"))||o.test(e.getPropertyValue("overflow-x"))||o.test(e.getPropertyValue("overflow-y")))},a=function(t){i.push("BODY"===t.nodeName||"HTML"===t.nodeName||e.
1isDocument(t)?window:t)},l=y(r);try{for(l.s();!(n=l.n()).done;){var u=n.value,p=1===u.nodeType&&(null==(c=u.dataset)?void 0:c.scrollselectors);if(p){var c,h,d=p.split(","),f=y(d);try{for(f.s();!(h=f.n()).done;){var m=h.value,g=this.findSingle(u,m);g&&s(g)&&a(g)}}catch(t){f.e(t)}finally{f.f()}}1===u.nodeType&&s(u)&&a(u)}}catch(t){l.e(t)}finally{l.f()}}return i}},{key:"getHiddenElementOuterHeight",value:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",e}return 0}},{key:"getHiddenElementOuterWidth",value:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var e=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",e}return 0}},{key:"getHiddenElementDimensions",value:function(t){var e={};return t&&(t.style.visibility="hidden",t.style.display="block",e.width=t.offsetWidth,e.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible"),e}},{key:"fadeIn",value:function(t,e){if(t){t.style.opacity=0;var i=+new Date,n=0,r=function(){n=+t.style.opacity+(new Date().getTime()-i)/e,t.style.opacity=n,i=+new Date,1>+n&&(window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16))};r()}}},{key:"fadeOut",value:function(t,e){if(t)var i=1,n=50/e,r=setInterval(function(){(i-=n)<=0&&(i=0,clearInterval(r)),t.style.opacity=i},50)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isChrome",value:function(){return/(chrome)/i.test(navigator.userAgent)}},{key:"isClient",value:function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(t){return!!(t&&t.constructor&&t.call&&t.apply)}},{key:"appendChild",value:function(t,e){if(this.isElement(e))e.appendChild(t);else if(e.el&&e.el.nativeElement)e.el.nativeElement.appendChild(t);else throw Error("Cannot append "+e+" to "+t)}},{key:"removeChild",value:function(t,e){if(this.isElement(e))e.removeChild(t);else if(e.el&&e.el.nativeElement)e.el.nativeElement.removeChild(t);else throw Error("Cannot remove "+t+" from "+e)}},{key:"isElement",value:function(t){return("undefined"==typeof HTMLElement?"undefined":l(HTMLElement))==="object"?t instanceof HTMLElement:t&&"object"===l(t)&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName}},{key:"isDocument",value:function(t){return("undefined"==typeof Document?"undefined":l(Document))==="object"?t instanceof Document:t&&"object"===l(t)&&null!==t&&9===t.nodeType}},{key:"scrollInView",value:function(t,e){var i=getComputedStyle(t).getPropertyValue("border-top-width"),n=i?parseFloat(i):0,r=getComputedStyle(t).getPropertyValue("padding-top"),o=r?parseFloat(r):0,s=t.getBoundingClientRect(),a=e.getBoundingClientRect().top+document.body.scrollTop-(s.top+document.body.scrollTop)-n-o,l=t.scrollTop,u=t.clientHeight,p=this.getOuterHeight(e);a<0?t.scrollTop=l+a:a+p>u&&(t.scrollTop=l+a-u+p)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(t){}}},{key:"calculateScrollbarWidth",value:function(t){if(t){var e=getComputedStyle(t);return t.offsetWidth-t.clientWidth-parseFloat(e.borderLeftWidth)-parseFloat(e.borderRightWidth)}if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);var n=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=n,n}},{key:"calculateBodyScrollbarWidth",value:function(){return window.innerWidth-document.documentElement.offsetWidth}},{key:"getBrowser",value:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var t=navigator.userAgent.toLowerCase(),e=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||0>t.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}}},{key:"blockBodyScroll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p-overflow-hidden";document.body.style.getPropertyValue("--scrollbar-width")||document.body.style.setProperty("--scrollbar-width",this.calculateBodyScrollbarWidth()+"px"),this.addClass(document.body,t)}},{key:"unblockBodyScroll",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p-overflow-hidden";document.body.style.removeProperty("--scrollbar-width"),this.removeClass(document.body,t)}},{key:"isVisible",value:function(t){return t&&(0!==t.clientHeight||0!==t.getClientRects().length||"none"!==getComputedStyle(t).display)}},{key:"isExist",value:function(t){return!!(null!=t&&t.nodeName&&t.parentNode)}},{key:"getFocusableElements",value:function(e){var i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(n,',\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(n,',\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(n,',\n select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(n,',\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(n,',\n [tabIndex]:not
1([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(n,',\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])').concat(n)),o=[],s=y(r);try{for(s.s();!(i=s.n()).done;){var a=i.value;"none"!==getComputedStyle(a).display&&"hidden"!==getComputedStyle(a).visibility&&o.push(a)}}catch(t){s.e(t)}finally{s.f()}return o}},{key:"getFirstFocusableElement",value:function(e,i){var n=t.getFocusableElements(e,i);return n.length>0?n[0]:null}},{key:"getLastFocusableElement",value:function(e,i){var n=t.getFocusableElements(e,i);return n.length>0?n[n.length-1]:null}},{key:"focus",value:function(t,e){t&&document.activeElement!==t&&t.focus({preventScroll:void 0===e||!e})}},{key:"focusFirstElement",value:function(e,i){if(e){var n=t.getFirstFocusableElement(e);return n&&t.focus(n,i),n}}},{key:"getCursorOffset",value:function(t,e,i,n){if(t){var r=getComputedStyle(t),o=document.createElement("div");o.style.position="absolute",o.style.top="0px",o.style.left="0px",o.style.visibility="hidden",o.style.pointerEvents="none",o.style.overflow=r.overflow,o.style.width=r.width,o.style.height=r.height,o.style.padding=r.padding,o.style.border=r.border,o.style.overflowWrap=r.overflowWrap,o.style.whiteSpace=r.whiteSpace,o.style.lineHeight=r.lineHeight,o.innerHTML=e.replace(/\r\n|\r|\n/g,"<br />");var s=document.createElement("span");s.textContent=n,o.appendChild(s);var a=document.createTextNode(i);o.appendChild(a),document.body.appendChild(o);var l=s.offsetLeft,u=s.offsetTop,p=s.clientHeight;return document.body.removeChild(o),{left:Math.abs(l-t.scrollLeft),top:Math.abs(u-t.scrollTop)+p}}return{top:"auto",left:"auto"}}},{key:"invokeElementMethod",value:function(t,e,i){t[e].apply(t,i)}},{key:"isClickable",value:function(t){var e=t.nodeName,i=t.parentElement&&t.parentElement.nodeName;return"INPUT"===e||"TEXTAREA"===e||"BUTTON"===e||"A"===e||"INPUT"===i||"TEXTAREA"===i||"BUTTON"===i||"A"===i||this.hasClass(t,"p-button")||this.hasClass(t.parentElement,"p-button")||this.hasClass(t.parentElement,"p-checkbox")||this.hasClass(t.parentElement,"p-radiobutton")}},{key:"applyStyle",value:function(t,e){if("string"==typeof e)t.style.cssText=e;else for(var i in e)t.style[i]=e[i]}},{key:"exportCSV",value:function(e,i){var n=new Blob([e],{type:"application/csv;charset=utf-8;"});window.navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(n,i+".csv"):t.saveAs({name:i+".csv",src:URL.createObjectURL(n)})||(e="data:text/csv;charset=utf-8,"+e,window.open(encodeURI(e)))}},{key:"saveAs",value:function(t){if(t){var e=document.createElement("a");if(void 0!==e.download){var i=t.name,n=t.src;return e.setAttribute("href",n),e.setAttribute("download",i),e.style.display="none",document.body.appendChild(e),e.click(),document.body.removeChild(e),!0}}return!1}},{key:"createInlineStyle",value:function(e,i){var n=document.createElement("style");return t.addNonce(n,e),i||(i=document.head),i.appendChild(n),n}},{key:"removeInlineStyle",value:function(t){if(this.isExist(t)){try{t.parentNode.removeChild(t)}catch(t){}t=null}return t}},{key:"addNonce",value:function(t,e){try{e||(e=r.env.REACT_APP_CSS_NONCE)}catch(t){}e&&t.setAttribute("nonce",e)}},{key:"getTargetElement",value:function(t){if(!t)return null;if("document"===t)return document;if("window"===t)return window;if("object"===l(t)&&t.hasOwnProperty("current"))return this.isExist(t.current)?t.current:null;var e=t&&t.constructor&&t.call&&t.apply?t():t;return this.isDocument(e)||this.isExist(e)?e:null}},{key:"getAttributeNames",value:function(t){var e,i,n;for(e=0,i=[],n=t.attributes;e<n.length;++e)i.push(n[e].nodeName);return i.sort(),i}},{key:"isEqualElement",value:function(e,i){if(n=t.getAttributeNames(e),r=t.getAttributeNames(i),n.join(",")!==r.join(","))return!1;for(var n,r,o,s,a,l=0;l<n.length;++l)if("style"===(o=n[l]))for(var u=e.style,p=i.style,c=/^\d+$/,h=0,d=Object.keys(u);h<d.length;h++){var f=d[h];if(!c.test(f)&&u[f]!==p[f])return!1}else if(e.getAttribute(o)!==i.getAttribute(o))return!1;for(s=e.firstChild,a=i.firstChild;s&&a;s=s.nextSibling,a=a.nextSibling){if(s.nodeType!==a.nodeType)return!1;if(1===s.nodeType){if(!t.isEqualElement(s,a))return!1}else if(s.nodeValue!==a.nodeValue)return!1}return!s&&!a}},{key:"hasCSSAnimation",value:function(t){return!!t&&parseFloat(getComputedStyle(t).getPropertyValue("animation-duration")||"0")>0}},{key:"hasCSSTransition",value:function(t){return!!t&&parseFloat(getComputedStyle(t).getPropertyValue("transition-duration")||"0")>0}}])}();function b(){return(b=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(null,arguments)}function E(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return w(t,void 0);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?w(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return s=t.done,t},e:function(t){a=!0,o=t}
1,f:function(){try{s||null==i.return||i.return()}finally{if(a)throw o}}}}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}m(v,"DATA_PROPS",["data-"]),m(v,"ARIA_PROPS",["aria","focus-target"]);var S=function(){function t(){c(this,t)}return f(t,null,[{key:"equals",value:function(t,e,i){return i&&t&&"object"===l(t)&&e&&"object"===l(e)?this.deepEquals(this.resolveFieldData(t,i),this.resolveFieldData(e,i)):this.deepEquals(t,e)}},{key:"deepEquals",value:function(t,e){if(t===e)return!0;if(t&&e&&"object"===l(t)&&"object"===l(e)){var i,n,r,o=Array.isArray(t),s=Array.isArray(e);if(o&&s){if((n=t.length)!==e.length)return!1;for(i=n;0!=i--;)if(!this.deepEquals(t[i],e[i]))return!1;return!0}if(o!==s)return!1;var a=t instanceof Date,u=e instanceof Date;if(a!==u)return!1;if(a&&u)return t.getTime()===e.getTime();var p=t instanceof RegExp,c=e instanceof RegExp;if(p!==c)return!1;if(p&&c)return t.toString()===e.toString();var h=Object.keys(t);if((n=h.length)!==Object.keys(e).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,h[i]))return!1;for(i=n;0!=i--;)if(r=h[i],!this.deepEquals(t[r],e[r]))return!1;return!0}return t!=t&&e!=e}},{key:"resolveFieldData",value:function(t,e){if(!t||!e)return null;try{var i=t[e];if(this.isNotEmpty(i))return i}catch(t){}if(Object.keys(t).length){if(this.isFunction(e))return e(t);if(this.isNotEmpty(t[e]))return t[e];if(-1===e.indexOf("."))return t[e];for(var n=e.split("."),r=t,o=0,s=n.length;o<s;++o){if(null==r)return null;r=r[n[o]]}return r}return null}},{key:"findDiffKeys",value:function(t,e){return t&&e?Object.keys(t).filter(function(t){return!e.hasOwnProperty(t)}).reduce(function(e,i){return e[i]=t[i],e},{}):{}}},{key:"reduceKeys",value:function(t,e){var i={};return t&&e&&0!==e.length&&Object.keys(t).filter(function(t){return e.some(function(e){return t.startsWith(e)})}).forEach(function(e){i[e]=t[e],delete t[e]}),i}},{key:"reorderArray",value:function(t,e,i){t&&e!==i&&(i>=t.length&&(i%=t.length,e%=t.length),t.splice(i,0,t.splice(e,1)[0]))}},{key:"findIndexInList",value:function(t,e,i){var n=this;return e?i?e.findIndex(function(e){return n.equals(e,t,i)}):e.findIndex(function(e){return e===t}):-1}},{key:"getJSXElement",value:function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return this.isFunction(t)?t.apply(void 0,i):t}},{key:"getItemValue",value:function(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];return this.isFunction(t)?t.apply(void 0,i):t}},{key:"getProp",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t?t[e]:void 0;return void 0===n?i[e]:n}},{key:"getPropCaseInsensitive",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.toFlatCase(e);for(var r in t)if(t.hasOwnProperty(r)&&this.toFlatCase(r)===n)return t[r];for(var o in i)if(i.hasOwnProperty(o)&&this.toFlatCase(o)===n)return i[o]}},{key:"getMergedProps",value:function(t,e){return Object.assign({},e,t)}},{key:"getDiffProps",value:function(t,e){return this.findDiffKeys(t,e)}},{key:"getPropValue",value:function(t){if(!this.isFunction(t))return t;for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];if(1===i.length){var r=i[0];return t(Array.isArray(r)?r[0]:r)}return t.apply(void 0,i)}},{key:"getComponentProp",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isNotEmpty(t)?this.getProp(t.props,e,i):void 0}},{key:"getComponentProps",value:function(t,e){return this.isNotEmpty(t)?this.getMergedProps(t.props,e):void 0}},{key:"getComponentDiffProps",value:function(t,e){return this.isNotEmpty(t)?this.getDiffProps(t.props,e):void 0}},{key:"isValidChild",value:function(t,e,i){if(t){var n,r=this.getComponentProp(t,"__TYPE")||(t.type?t.type.displayName:void 0);return!r&&null!=t&&null!=(n=t.type)&&null!=(n=n._payload)&&n.value&&(r=t.type._payload.value.find(function(t){return t===e})),r===e}return!1}},{key:"getRefElement",value:function(t){return t?"object"===l(t)&&t.hasOwnProperty("current")?t.current:t:null}},{key:"combinedRefs",value:function(t,e){t&&e&&("function"==typeof e?e(t.current):e.current=t.current)}},{key:"removeAccents",value:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\x
1F6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t}},{key:"toFlatCase",value:function(t){return this.isNotEmpty(t)&&this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t}},{key:"toCapitalCase",value:function(t){return this.isNotEmpty(t)&&this.isString(t)?t[0].toUpperCase()+t.slice(1):t}},{key:"trim",value:function(t){return this.isNotEmpty(t)&&this.isString(t)?t.trim():t}},{key:"isEmpty",value:function(t){return null==t||""===t||Array.isArray(t)&&0===t.length||!(t instanceof Date)&&"object"===l(t)&&0===Object.keys(t).length}},{key:"isNotEmpty",value:function(t){return!this.isEmpty(t)}},{key:"isFunction",value:function(t){return!!(t&&t.constructor&&t.call&&t.apply)}},{key:"isObject",value:function(t){return null!==t&&t instanceof Object&&t.constructor===Object}},{key:"isDate",value:function(t){return null!==t&&t instanceof Date&&t.constructor===Date}},{key:"isArray",value:function(t){return null!==t&&Array.isArray(t)}},{key:"isString",value:function(t){return null!==t&&"string"==typeof t}},{key:"isPrintableCharacter",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.isNotEmpty(t)&&1===t.length&&t.match(/\S| /)}},{key:"isLetter",value:function(t){return/^[a-zA-Z\u00C0-\u017F]$/.test(t)}},{key:"isScalar",value:function(t){return null!=t&&("string"==typeof t||"number"==typeof t||"bigint"==typeof t||"boolean"==typeof t)}},{key:"findLast",value:function(t,e){var i;if(this.isNotEmpty(t))try{i=t.findLast(e)}catch(n){i=p(t).reverse().find(e)}return i}},{key:"findLastIndex",value:function(t,e){var i=-1;if(this.isNotEmpty(t))try{i=t.findLastIndex(e)}catch(n){i=t.lastIndexOf(p(t).reverse().find(e))}return i}},{key:"sort",value:function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,o=this.compare(t,e,n,i),s=i;return(this.isEmpty(t)||this.isEmpty(e))&&(s=1===r?i:r),s*o}},{key:"compare",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,r=-1,o=this.isEmpty(t),s=this.isEmpty(e);return o&&s?0:o?n:s?-n:"string"==typeof t&&"string"==typeof e?i(t,e):t<e?-1:+(t>e)}},{key:"localeComparator",value:function(t){return new Intl.Collator(t,{numeric:!0}).compare}},{key:"findChildrenByKey",value:function(t,e){var i,n=E(t);try{for(n.s();!(i=n.n()).done;){var r=i.value;if(r.key===e)return r.children||[];if(r.children){var o=this.findChildrenByKey(r.children,e);if(o.length>0)return o}}}catch(t){n.e(t)}finally{n.f()}return[]}},{key:"mutateFieldData",value:function(t,e,i){if("object"===l(t)&&"string"==typeof e)for(var n=e.split("."),r=t,o=0,s=n.length;o<s;++o){if(o+1-s==0){r[n[o]]=i;break}r[n[o]]||(r[n[o]]={}),r=r[n[o]]}}},{key:"getNestedValue",value:function(t,e){return e.split(".").reduce(function(t,e){return t&&void 0!==t[e]?t[e]:void 0},t)}},{key:"absoluteCompare",value:function(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;
1if(!e||!i||r>n)return!0;if(l(e)!==l(i))return!1;var o=Object.keys(e),s=Object.keys(i);if(o.length!==s.length)return!1;for(var a=0;a<o.length;a++){var u=o[a],p=e[u],c=i[u],h=t.isObject(p)&&t.isObject(c),d=t.isFunction(p)&&t.isFunction(c);if((h||d)&&!this.absoluteCompare(p,c,n,r+1)||!h&&p!==c)return!1}return!0}},{key:"selectiveCompare",value:function(t,e,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(t===e)return!0;if(!t||!e||"object"!==l(t)||"object"!==l(e))return!1;if(!i)return this.absoluteCompare(t,e,1);var r,o=E(i);try{for(o.s();!(r=o.n()).done;){var s=r.value,a=this.getNestedValue(t,s),u=this.getNestedValue(e,s),p="object"===l(a)&&null!==a&&"object"===l(u)&&null!==u;if(p&&!this.absoluteCompare(a,u,n)||!p&&a!==u)return!1}}catch(t){o.e(t)}finally{o.f()}return!0}}])}(),A=0;function T(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}var x=f(function t(){c(this,t)},null,[{key:"getJSXIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null;if(null!==t){var o=l(t),s=u(e.className,"string"===o&&t);if(r=n.createElement("span",b({},e,{className:s,key:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pr_id_";return A++,"".concat(t).concat(A)}("icon")})),"string"!==o){var a=function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?T(Object(i),!0).forEach(function(e){m(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):T(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}({iconProps:e,element:r},i);return S.getJSXElement(t,a)}}return r}}]);function P(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function O(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function C(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?O(Object(i),!0).forEach(function(e){m(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):O(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function R(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t){var i=function(t){return"function"==typeof t},n=e.classNameMergeFunction,r=i(n);return t.reduce(function(t,e){if(!e)return t;for(var o in e)!function(){var s=e[o];if("style"===o)t.style=C(C({},t.style),e.style);else if("className"===o){var a="";a=r?n(t.className,e.className):[t.className,e.className].join(" ").trim(),t.className=a||void 0}else if(i(s)){var l=t[o];t[o]=l?function(){l.apply(void 0,arguments),s.apply(void 0,arguments)}:s}else t[o]=s}();return t},{})}}var L=function(){var t=[],e=function(e,i){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:999,o=n(e,i,r),s=o.value+(o.key===e?0:r)+1;return t.push({key:e,value:s}),s},i=function(e){t=t.filter(function(t){return t.value!==e})},n=function(e,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return p(t).reverse().find(function(t){return!!i||t.key===e})||{key:e,value:n}};return{get:function(t){return t&&parseInt(t.style.zIndex,10)||0},set:function(t,i,n,r){i&&(i.style.zIndex=String(e(t,n,r)))},clear:function(t){t&&(i(L.get(t)),t.style.zIndex="")},getCurrent:function(t,e){return n(t,e).value}}}()},6960:(t,e,i)=>{i.d(e,{Avatar:()=>f});var n=i(2115),r=i(4396),o=i(7740),s=i(7340),a=i(6080);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(){return(u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)({}).hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(null,arguments)}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,s,a=[],l=!0,u=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,r=t}
1finally{try{if(!l&&null!=i.return&&(s=i.return(),Object(s)!==s))return}finally{if(u)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(t,e):void 0}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var h=o.x.extend({defaultProps:{__TYPE:"Avatar",className:null,icon:null,image:null,imageAlt:"avatar",imageFallback:"default",label:null,onImageError:null,shape:"square",size:"normal",style:null,template:null,children:void 0},css:{classes:{root:function(t){var e=t.props,i=t.state;return(0,a.xW)("p-avatar p-component",{"p-avatar-image":a.BF.isNotEmpty(e.image)&&!i.imageFailed,"p-avatar-circle":"circle"===e.shape,"p-avatar-lg":"large"===e.size,"p-avatar-xl":"xlarge"===e.size,"p-avatar-clickable":!!e.onClick})},label:"p-avatar-text",icon:"p-avatar-icon"},styles:"\n@layer primereact {\n .p-avatar {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n font-size: 1rem;\n }\n \n .p-avatar.p-avatar-image {\n background-color: transparent;\n }\n \n .p-avatar.p-avatar-circle {\n border-radius: 50%;\n }\n \n .p-avatar.p-avatar-circle img {\n border-radius: 50%;\n }\n \n .p-avatar .p-avatar-icon {\n font-size: 1rem;\n }\n \n .p-avatar img {\n width: 100%;\n height: 100%;\n }\n \n .p-avatar-clickable {\n cursor: pointer;\n }\n}\n"}});function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}var f=n.forwardRef(function(t,e){var i=(0,s.qV)(),p=n.useContext(r.UM),f=h.getProps(t,p),m=n.useRef(null),y=c(n.useState(!1),2),g=y[0],v=y[1],b=c(n.useState(!1),2),E=b[0],w=b[1],S=h.setMetaData({props:f,state:{imageFailed:g,nested:E}}),A=S.ptm,T=S.cx,x=S.isUnstyled;(0,o.j)(h.css.styles,x,{name:"avatar"});var P=function(t){"default"===f.imageFallback?f.onImageError||(v(!0),t.target.src=null):t.target.src=f.imageFallback,f.onImageError&&f.onImageError(t)};n.useEffect(function(){w(a.DV.isAttributeEquals(m.current.parentElement,"data-pc-name","avatargroup"))},[]),n.useImperativeHandle(e,function(){return{props:f,getElement:function(){return m.current}}});var O=i({ref:m,style:f.style,className:(0,a.xW)(f.className,T("root",{imageFailed:g}))},h.getOtherProps(f),A("root")),C=f.template?a.BF.getJSXElement(f.template,f):function(){if(a.BF.isNotEmpty(f.image)&&!g){var t=i({src:f.image,onError:P},A("image"));return n.createElement("img",u({alt:f.imageAlt},t))}if(f.label){var e=i({className:T("label")},A("label"));return n.createElement("span",e,f.label)}if(f.icon){var r=i({className:T("icon")},A("icon"));return a.Hj.getJSXIcon(f.icon,function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach(function(e){!function(t,e,i){var n;(n=function(t,e){if("object"!=l(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==l(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}({},r),{props:f})}return null}();return n.createElement("div",O,C,f.children)});f.displayName="Avatar"},7340:(t,e,i)=>{i.d(e,{X3:()=>w,l0:()=>p,qV:()=>f,uU:()=>m,w5:()=>S});
1var n=i(2115),r=i(6080),o=i(4396);function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function a(t,e){if(t){if("string"==typeof t)return s(t,e);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(t,e):void 0}}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var n,r,o,s,a=[],l=!0,u=!1;try{if(o=(i=i.call(t)).next,0===e){if(Object(i)!==i)return;l=!1}else for(;!(l=(n=o.call(i)).done)&&(a.push(n.value),a.length!==e);l=!0);}catch(t){u=!0,r=t}finally{try{if(!l&&null!=i.return&&(s=i.return(),Object(s)!==s))return}finally{if(u)throw r}}return a}}(t,e)||a(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u=function(t){var e=React.useRef(null);return React.useEffect(function(){return e.current=t,function(){e.current=null}},[t]),e.current},p=function(t){return n.useEffect(function(){return t},[])},c=function(t){var e=t.target,i=void 0===e?"document":e,n=t.type,r=t.listener,o=t.options,s=t.when,a=void 0===s||s,l=React.useRef(null),c=React.useRef(null),h=u(r),d=u(o),f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.target;ObjectUtils.isNotEmpty(e)&&(m(),(t.when||a)&&(l.current=DomHandler.getTargetElement(e))),!c.current&&l.current&&(c.current=function(t){return r&&r(t)},l.current.addEventListener(n,c.current,o))},m=function(){c.current&&(l.current.removeEventListener(n,c.current,o),c.current=null)},y=function(){m(),h=null,d=null},g=React.useCallback(function(){a?l.current=DomHandler.getTargetElement(i):(m(),l.current=null)},[i,a]);return React.useEffect(function(){g()},[g]),React.useEffect(function(){var t="".concat(h)!=="".concat(r),e=d!==o,i=c.current;i&&(t||e)?(m(),a&&f()):i||y()},[r,o,a]),p(function(){y()}),[f,m]};function h(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||a(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d={escKeyListeners:new Map,onGlobalKeyDown:function(t){if("Escape"===t.code){var e=d.escKeyListeners,i=Math.max.apply(Math,h(e.keys())),n=e.get(i),r=Math.max.apply(Math,h(n.keys()));n.get(r)(t)}},refreshGlobalKeyDownListener:function(){var t=r.DV.getTargetElement("document");this.escKeyListeners.size>0?t.addEventListener("keydown",this.onGlobalKeyDown):t.removeEventListener("keydown",this.onGlobalKeyDown)},addListener:function(t,e){var i=this,n=l(e,2),r=n[0],o=n[1],s=this.escKeyListeners;s.has(r)||s.set(r,new Map);var a=s.get(r);if(a.has(o))throw Error("Unexpected: global esc key listener with priority [".concat(r,", ").concat(o,"] already exists."));return a.set(o,t),this.refreshGlobalKeyDownListener(),function(){a.delete(o),0===a.size&&s.delete(r),i.refreshGlobalKeyDownListener()}}},f=function(){var t=(0,n.useContext)(o.UM);return function(){for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return(0,r.v6)(i,null==t?void 0:t.ptOptions)}},m=function(t){var e=n.useRef(!1);return n.useEffect(function(){if(!e.current)return e.current=!0,t&&t()},[])};function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e,i){var n;return(n=function(t,e){if("object"!=y(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=y(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==y(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function v(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function b(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}var E=0,w=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
1,i=l((0,n.useState)(!1),2),s=i[0],a=i[1],u=(0,n.useRef)(null),p=(0,n.useContext)(o.UM),c=r.DV.isClient()?window.document:void 0,h=e.document,d=void 0===h?c:h,f=e.manual,m=void 0!==f&&f,y=e.name,g=void 0===y?"style_".concat(++E):y,v=e.id,b=void 0===v?void 0:v,w=e.media,S=void 0===w?void 0:w,A=function(t){var e=t.querySelector('style[data-primereact-style-id="'.concat(g,'"]'));if(e)return e;if(void 0!==b){var i=d.getElementById(b);if(i)return i}return d.createElement("style")},T=function(){if(d&&!s){var e=(null==p?void 0:p.styleContainer)||d.head;u.current=A(e),!u.current.isConnected&&(u.current.type="text/css",b&&(u.current.id=b),S&&(u.current.media=S),r.DV.addNonce(u.current,p&&p.nonce||o.Ay.nonce),e.appendChild(u.current),g&&u.current.setAttribute("data-primereact-style-id",g)),u.current.textContent=t,a(!0)}};return(0,n.useEffect)(function(){m||T()},[m]),{id:b,name:g,update:function(e){s&&t!==e&&(u.current.textContent=e)},unload:function(){d&&u.current&&(r.DV.removeInlineStyle(u.current),a(!1))},load:T,isLoaded:s}},S=function(t,e){var i=n.useRef(!1);return n.useEffect(function(){if(!i.current){i.current=!0;return}return t&&t()},e)}},7740:(t,e,i)=>{i.d(e,{j:()=>b,x:()=>d});var n=i(4396),r=i(7340),o=i(6080);function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i<e;i++)n[i]=t[i];return n}function a(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,void 0);var i=({}).toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(t,void 0):void 0}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e,i){var n;return(n=function(t,e){if("object"!=l(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=l(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==l(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function p(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)}return i}function c(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?p(Object(i),!0).forEach(function(e){u(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):p(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var h="\n@layer primereact {\n .p-component, .p-component * {\n box-sizing: border-box;\n }\n\n .p-hidden {\n display: none;\n }\n\n .p-hidden-space {\n visibility: hidden;\n }\n\n .p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n }\n\n .p-disabled, .p-disabled * {\n cursor: default;\n pointer-events: none;\n user-select: none;\n }\n\n .p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n }\n\n .p-unselectable-text {\n user-select: none;\n }\n\n .p-scrollbar-measure {\n width: 100px;\n height: 100px;\n overflow: scroll;\n position: absolute;\n top: -9999px;\n }\n\n @-webkit-keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n @keyframes p-fadein {\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n }\n\n .p-link {\n text-align: left;\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n user-select: none;\n }\n\n .p-link:disabled {\n cursor: default;\n }\n\n /* Non react overlay animations */\n .p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n }\n\n .p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n }\n\n /* React based overlay animations */\n .p-connected-overlay-enter {\n opacity: 0;\n transform: scaleY(0.8);\n }\n\n .p-connected-overlay-enter-active {\n opacity: 1;\n transform: scaleY(1);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n }\n\n .p-connected-overlay-enter-done {\n transform: none;\n }\n\n .p-connected-overlay-exit {\n opacity: 1;\n }\n\n .p-connected-overlay-exit-active {\n opacity: 0;\n transition: opacity .1s linear;\n }\n\n /* Toggleable Content */\n .p-toggleable-content-enter {\n max-height: 0;\n }\n\n .p-toggleable-content-enter-active {\n overflow: hidden;\n max-height: 1000px;\n transition: max-height 1s ease-in-out;\n }\n\n .p-toggleable-content-enter-done {\n transform: none;\n }\n\n .p-toggleable-content-exit {\n max-height: 1000px;\n }\n\n .p-toggleable-content-exit-active {\n overflow: hidden;\n max-height: 0;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n }\n\n /* @todo Refactor */\n .p-menu .p-menuitem-link {\n cursor: pointer;\n display: flex;\n align-items: center;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n }\n\n ".concat("\n.p-button {\n margin: 0;\n display: inline-flex;\n cursor: pointer;\n user-select: none;
1\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon {\n pointer-events: none;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-button-group .p-button {\n margin: 0;\n}\n\n.p-button-group .p-button:not(:last-child) {\n border-right: 0 none;\n}\n\n.p-button-group .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-button-group .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-button-group .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-button-group .p-button:focus {\n position: relative;\n z-index: 1;\n}\n\n.p-button-group-single .p-button:first-of-type {\n border-top-right-radius: var(--border-radius) !important;\n border-bottom-right-radius: var(--border-radius) !important;\n}\n\n.p-button-group-single .p-button:last-of-type {\n border-top-left-radius: var(--border-radius) !important;\n border-bottom-left-radius: var(--border-radius) !important;\n}
1\n","\n ").concat("\n.p-inputtext {\n margin: 0;\n}\n\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -0.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label,\n.p-float-label .p-mention ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input:-webkit-autofill ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label,\n.p-float-label .p-tooltip-target-wrapper ~ label {\n top: -0.75rem;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-right > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > svg,\n.p-input-icon-left > .p-input-prefix,\n.p-input-icon-right > .p-input-suffix {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n","\n ").concat("\n.p-icon {\n display: inline-block;\n}\n\n.p-icon-spin {\n -webkit-animation: p-icon-spin 2s infinite linear;\n animation: p-icon-spin 2s infinite linear;\n}\n\nsvg.p-icon {\n pointer-events: auto;\n}\n\nsvg.p-icon g,\n.p-disabled svg.p-icon {\n pointer-events: none;\n}\n\n@-webkit-keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n\n@keyframes p-icon-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(359deg);\n transform: rotate(359deg);\n }\n}\n","\n}\n"),d={cProps:void 0,cParams:void 0,cName:void 0,defaultProps:{pt:void 0,ptOptions:void 0,unstyled:!1},context:{},globalCSS:void 0,classes:{},styles:"",extend:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.css,i=c(c({},t.defaultProps),d.defaultProps),r={},s=function(){var t,e,i,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},p=!(arguments.length>3)||void 0===arguments[3]||arguments[3];r.hasOwnProperty("pt")&&void 0!==r.pt&&(r=r.pt);var h=/./g.test(s)&&!!l[s.split(".")[0]],b=h?o.BF.toFlatCase(s.split(".")[1]):o.BF.toFlatCase(s),E=l.hostName&&o.BF.toFlatCase(l.hostName)||l.props&&l.props.__TYPE&&o.BF.toFlatCase(l.props.__TYPE)||"",w="transition"===b,S="data-pc-",A=function(t){return null!=t&&t.props?t.hostName?t.props.__TYPE===t.hostName?t.props:A(t.parent):t.parent:void 0};d.cParams=l,d.cName=E;var T=(t="ptOptions",(null==(e=l.props)?void 0:e[t])||(null==(i=A(l))?void 0:i[t])||d.context.ptOptions||{}),x=T.mergeSections,P=void 0===x||x,O=T.mergeProps,C=function(){var t=f.apply(void 0,arguments);return Array.isArray(t)?{className:o.xW.apply(void 0,a(t))}:o.BF.isString(t)?{className:t}:null!=t&&t.hasOwnProperty("className")&&Array.isArray(t.className)?{className:o.xW.apply(void 0,a(t.className))}:t},R=p?h?g(C,s,l):v(C,s,l):void 0,L=h?void 0:y(m(r,E),C,s,l),k=!w&&c(c({},"root"===b&&u({},"".concat(S,"name"),l.props&&l.props.__parentMetadata?o.BF.toFlatCase(l.props.__TYPE):E)),{},u({},"".concat(S,"section"),b));return P||!P&&L?void 0!==O&&O?(0,o.v6)([R,L,Object.keys(k).length?k:{}],{classNameMergeFunction:null==(n=d.context.ptOptions)?void 0:n.classNameMergeFunction}):c(c(c({},R),L),Object.keys(k).length?k:{}):c(c({},L),Object.keys(k).length?k:{})};return c(c({getProps:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return d.context=e,d.cProps=t,o.BF.getMergedProps(t,i)},getOtherProps:function(t){return o.BF.getDiffProps(t,i)},setMetaData:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.props,a=t.state,l=function(){return d.context.unstyled||n.Ay.unstyled||i.unstyled};return{ptm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s((i||{}).pt,e,c(c({},t),n))},ptmo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return s(t,e,i,!1)},sx:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(s){var l,u=f(e&&e.inlineStyles,t,c({props:i,state:a},n)),p=f(r,t,c({props:i,state:a},n));return(0,o.v6)([p,u],{classNameMergeFunction:null==(l=d.context.ptOptions)?void 0:l.classNameMergeFunction})}},cx:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l()?void 0:f(e&&e.classes,t,c({props:i,state:a},n))},isUnstyled:l}}},t),{},{defaultProps:i})}},f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=String(o.BF.toFlatCase(e)).split("."),r=n.shift(),s=o.BF.isNotEmpty(t)?Object.keys(t).find(function(t){return o.BF.toFlatCase(t)===r}):"";
1return r?o.BF.isObject(t)?f(o.BF.getItemValue(t[s],i),n.join("."),i):void 0:o.BF.getItemValue(t,i)},m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,n=null==t?void 0:t._usept,r=function(t){var n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=i?i(t):t,a=o.BF.toFlatCase(e);return null!=(n=r?a!==d.cName?null==s?void 0:s[a]:void 0:null==s?void 0:s[a])?n:s};return o.BF.isNotEmpty(n)?{_usept:n,originalValue:r(t.originalValue),value:r(t.value)}:r(t,!0)},y=function(t,e,i,n){var r=function(t){return e(t,i,n)};if(null!=t&&t.hasOwnProperty("_usept")){var s=t._usept||d.context.ptOptions||{},a=s.mergeSections,l=void 0===a||a,u=s.mergeProps,p=s.classNameMergeFunction,h=r(t.originalValue),f=r(t.value);return void 0===h&&void 0===f?void 0:o.BF.isString(f)?f:o.BF.isString(h)?h:l||!l&&f?void 0!==u&&u?(0,o.v6)([h,f],{classNameMergeFunction:p}):c(c({},h),f):f}return r(t)},g=function(t,e,i){return y(m(d.context.pt||n.Ay.pt,void 0,function(t){return o.BF.getItemValue(t,d.cParams)}),t,e,i)},v=function(t,e,i){return y(m(d.context.pt||n.Ay.pt,void 0,function(t){return f(t,d.cName,d.cParams)||o.BF.getItemValue(t,d.cParams)}),t,e,i)},b=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},i=arguments.length>2?arguments[2]:void 0,n=i.name,s=i.styled,a=void 0!==s&&s,l=i.hostName,u=void 0===l?"":l,p=g(f,"global.css",d.cParams),c=o.BF.toFlatCase(n),b=(0,r.X3)("\n.p-hidden-accessible {\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n opacity: 0;\n overflow: hidden;\n padding: 0;\n pointer-events: none;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n\n.p-overflow-hidden {\n overflow: hidden;\n padding-right: var(--scrollbar-width);\n}\n",{name:"base",manual:!0}).load,E=(0,r.X3)(h,{name:"common",manual:!0}).load,w=(0,r.X3)(p,{name:"global",manual:!0}).load,S=(0,r.X3)(t,{name:n,manual:!0}).load,A=function(t){if(!u){var e=y(m((d.cProps||{}).pt,c),f,"hooks.".concat(t)),i=v(f,"hooks.".concat(t));null==e||e(),null==i||i()}};A("useMountEffect"),(0,r.uU)(function(){b(),w(),!e()&&(E(),a||S())}),(0,r.w5)(function(){A("useUpdateEffect")}),(0,r.l0)(function(){A("useUnmountEffect")})}},8988:(t,e,i)=>{i.d(e,{AvatarGroup:()=>u});var n=i(2115),r=i(4396),o=i(7740),s=i(7340),a=i(6080),l=o.x.extend({defaultProps:{__TYPE:"AvatarGroup",style:null,className:null,children:void 0},css:{classes:{root:"p-avatar-group p-component"},styles:"\n@layer primereact {\n .p-avatar-group .p-avatar + .p-avatar {\n margin-left: -1rem;\n }\n \n .p-avatar-group {\n display: flex;\n align-items: center;\n }\n}\n"}}),u=n.forwardRef(function(t,e){var i=(0,s.qV)(),u=n.useContext(r.UM),p=l.getProps(t,u),c=l.setMetaData({props:p}),h=c.ptm,d=c.cx,f=c.isUnstyled;(0,o.j)(l.css.styles,f,{name:"avatargroup"});var m=n.useRef(null);n.useImperativeHandle(e,function(){return{props:p,getElement:function(){return m.current}}});var y=i({ref:m,style:p.style,className:(0,a.xW)(p.className,d("root"))},l.getOtherProps(p),h("root"));return n.createElement("div",y,p.children)});u.displayName="AvatarGroup"}}]);
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.