1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[802],{577:(t,e,n)=>{"use strict";n.d(e,{$:()=>d});var i=n(5155);n(4770);let r={backgroundCard:"_backgroundCard_1ymy5_1",backgroundCardContent:"_backgroundCardContent_1ymy5_17",backgroundCardHeading:"_backgroundCardHeading_1ymy5_24"},s="#cccccc";function a({children:t}){return(0,i.jsx)("div",{style:{width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:-1},children:t})}function o({title:t,text:e}){return(0,i.jsx)("div",{className:r.backgroundCardContent,children:(0,i.jsxs)("h3",{className:r.backgroundCardHeading,children:[(0,i.jsx)("strong",{children:t})," ",e]})})}function l({bgCardLink:t,children:e,backgroundImage:n,className:o,noImgBackground:l}){let{href:u,target:d,rel:c}=t||{};return(0,i.jsxs)("a",{className:`${r.backgroundCard} ${o}`,href:u,target:d||"_self",rel:c||"noreferer",style:{backgroundColor:n?"transparent":l||s},"data-ui-kit":"background-card",children:[(0,i.jsx)(a,{children:n}),e]})}function u({children:t,backgroundImage:e,className:n,noImgBackground:a}){return(0,i.jsxs)("div",{className:`${r.backgroundCard} ${n}`,style:{backgroundColor:e?"transparent":a||s},"data-ui-kit":"background-card",children:[e,t]})}function d({title:t,text:e,backgroundImage:n,bgCardLink:r,className:s=""}){return r?(0,i.jsx)(l,{bgCardLink:r,backgroundImage:n,className:s,children:(0,i.jsx)(o,{title:t,text:e})}):(0,i.jsx)(u,{backgroundImage:n,className:s,children:(0,i.jsx)(o,{title:t,text:e})})}},737:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return i}});let i=n(8140)._(n(2115)).default.createContext({})},821:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return i}});let n=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},861:(t,e)=>{"use strict";function n(t){let{ampFirst:e=!1,hybrid:n=!1,hasQuery:i=!1}=void 0===t?{}:t;return e||n&&i}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return n}})},984:(t,e,n)=>{"use strict";let i;n.d(e,{P:()=>sd});var r=n(2115);let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],a=new Set(s),o=t=>180*t/Math.PI,l=t=>d(o(Math.atan2(t[1],t[0]))),u={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:l,rotateZ:l,skewX:t=>o(Math.atan(t[1])),skewY:t=>o(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},d=t=>((t%=360)<0&&(t+=360),t),c=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),h=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),f={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:c,scaleY:h,scale:t=>(c(t)+h(t))/2,rotateX:t=>d(o(Math.atan2(t[6],t[5]))),rotateY:t=>d(o(Math.atan2(-t[2],t[0]))),rotateZ:l,rotate:l,skewX:t=>o(Math.atan(t[4])),skewY:t=>o(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function m(t){return+!!t.includes("scale")}function p(t,e){let n,i;if(!t||"none"===t)return m(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)n=f,i=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=u,i=e}if(!i)return m(e);let s=n[e],a=i[1].split(",").map(g);return"function"==typeof s?s(a):a[s]}function g(t){return parseFloat(t.trim())}let v=t=>e=>"string"==typeof e&&e.startsWith(t),y=v("--"),w=v("var(--"),x=t=>!!w(t)&&b.test(t.split("/*")[0].trim()),b=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function C({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}let M=(t,e,n)=>t+(e-t)*n;function k(t){return void 0===t||1===t}function S({scale:t,scaleX:e,scaleY:n}){return!k(t)||!k(e)||!k(n)}function T(t){return S(t)||P(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function P(t){var e,n;return(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n}function j(t,e,n,i,r){return void 0!==r&&(t=i+r*(t-i)),i+n*(t-i)+e}function L(t,e=0,n=1,i,r){t.min=j(t.min,e,n,i,r),t.max=j(t.max,e,n,i,r)}function _(t,{x:e,y:n}){L(t.x,e.translate,e.scale,e.originPoint),L(t.y,n.translate,n.scale,n.originPoint)}function D(t,e){t.min=t.min+e,t.max=t.max+e}function E(t,e,n,i,r=.5){let s=M(t.min,t.max,r);L(t,e,n,s,i)}function A(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 V(t,e){return C(function(t,e){if(!e)return t;let n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}let O=new Set(["width","height","top","left","right","bottom",...s]),N=(t,e,n)=>n>e?e:n<t?t:n,R={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},I={...R,transform:t=>N(0,1,t)},H={...R,default:1},F=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),B=F("deg"),q=F("%"),z=F("px"),W=F("vh"),Y=F("vw"),$={...q,parse:t=>q.parse(t)/100,transform:t=>q.transform(100*t)},U=t=>e=>e.test(t),X=[R,z,q,B,Y,W,{test:t=>"auto"===t,parse:t=>t}],Z=t=>X.find(U(t)),G=()=>{},Q=()=>{},K=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),J=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tt=t=>t===R||t===z,te=new Set(["x","y","z"]),tn=s.filter(t=>!te.has(t)),ti={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),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})=>p(e,"x"),y:(t,{transform:e})=>p(e,"y")};ti.translateX=ti.x,ti.translateY=ti.y;let tr=t=>t,ts={},ta=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],to={value:null,addProjectionMetrics:null};function tl(t,e){let n=!1,i=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,a=ta.reduce((t,n)=>(t[n]=function(t,e){let n=new Set,i=new Set,r=!1,s=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(d.schedule(e),t()),l++,e(o)}let d={schedule:(t,e=!1,s=!1)=>{let o=s&&r?n:i;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{i.delete(t),a.delete(t)},process:t=>{if(o=t,r){s=!0;return}
1r=!0,[n,i]=[i,n],n.forEach(u),e&&to.value&&to.value.frameloop[e].push(l),l=0,n.clear(),r=!1,s&&(s=!1,d.process(t))}};return d}(s,e?n:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:d,update:c,preRender:h,render:f,postRender:m}=a,p=()=>{let s=ts.useManualTiming?r.timestamp:performance.now();n=!1,ts.useManualTiming||(r.delta=i?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,o.process(r),l.process(r),u.process(r),d.process(r),c.process(r),h.process(r),f.process(r),m.process(r),r.isProcessing=!1,n&&e&&(i=!1,t(p))};return{schedule:ta.reduce((e,s)=>{let o=a[s];return e[s]=(e,s=!1,a=!1)=>(!n&&(n=!0,i=!0,r.isProcessing||t(p)),o.schedule(e,s,a)),e},{}),cancel:t=>{for(let e=0;e<ta.length;e++)a[ta[e]].cancel(t)},state:r,steps:a}}let{schedule:tu,cancel:td,state:tc,steps:th}=tl("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tr,!0),tf=new Set,tm=!1,tp=!1,tg=!1;function tv(){if(tp){let t=Array.from(tf).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{let e=function(t){let e=[];return tn.forEach(n=>{let i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(+!!n.startsWith("scale")))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tp=!1,tm=!1,tf.forEach(t=>t.complete(tg)),tf.clear()}function ty(){tf.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tp=!0)})}class tw{constructor(t,e,n,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tf.add(this),tm||(tm=!0,tu.read(ty),tu.resolveKeyframes(tv))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){let r=i?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(n&&e){let i=n.readValue(e,s);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),i&&void 0===r&&i.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),tf.delete(this)}cancel(){"scheduled"===this.state&&(tf.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tx=t=>/^0[^.\s]+$/u.test(t),tb=t=>Math.round(1e5*t)/1e5,tC=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tM=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tk=(t,e)=>n=>!!("string"==typeof n&&tM.test(n)&&n.startsWith(t)||e&&null!=n&&Object.prototype.hasOwnProperty.call(n,e)),tS=(t,e,n)=>i=>{if("string"!=typeof i)return i;let[r,s,a,o]=i.match(tC);return{[t]:parseFloat(r),[e]:parseFloat(s),[n]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},tT={...R,transform:t=>Math.round(N(0,255,t))},tP={test:tk("rgb","red"),parse:tS("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+tT.transform(t)+", "+tT.transform(e)+", "+tT.transform(n)+", "+tb(I.transform(i))+")"},tj={test:tk("#"),parse:function(t){let e="",n="",i="",r="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),r=t.substring(4,5),e+=e,n+=n,i+=i,r+=r),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:r?parseInt(r,16)/255:1}},transform:tP.transform},tL={test:tk("hsl","hue"),parse:tS("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+q.transform(tb(e))+", "+q.transform(tb(n))+", "+tb(I.transform(i))+")"},t_={test:t=>tP.test(t)||tj.test(t)||tL.test(t),parse:t=>tP.test(t)?tP.parse(t):tL.test(t)?tL.parse(t):tj.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tP.transform(t):tL.transform(t),getAnimatableNone:t=>{let e=t_.parse(t);return e.alpha=0,t_.transform(e)}},tD=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,tE="number",tA="color",tV=/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 tO(t){let e=t.toString(),n=[],i={color:[],number:[],var:[]},r=[],s=0,a=e.replace(tV,t=>(t_.test(t)?(i.color.push(s),r.push(tA),n.push(t_.parse(t))):t.startsWith("var(")?(i.var.push(s),r.push("var"),n.push(t)):(i.number.push(s),r.push(tE),n.push(parseFloat(t))),++s,"${}")).split("${}");return{values:n,split:a,indexes:i,types:r}}function tN(t){return tO(t).values}function tR(t){let{split:e,types:n}=tO(t),i=e.length;return t=>{let r="";for(let s=0;s<i;s++)if(r+=e[s],void 0!==t[s]){let e=n[s];e===tE?r+=tb(t[s]):e===tA?r+=t_.transform(t[s]):r+=t[s]}return r}}let tI=t=>"number"==typeof t?0:t_.test(t)?t_.getAnimatableNone(t):t,tH={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tC)?.length||0)+(t.match(tD)?.length||0)>0},parse:tN,createTransformer:tR,getAnimatableNone:function(t){let e=tN(t);return tR(t)(e.map(tI))}},tF=new Set(["brightness","contrast","saturate","opacity"]);function tB(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=n.match(tC)||[];if(!i)return t;let r=n.replace(i,""),s=+!!tF.has(e);return i!==n&&(s*=100),e+"("+s+r+")"}let tq=/\b([a-z-]*)\(.*?\)/gu,tz={...tH,getAnimatableNone:t=>{let e=t.match(tq);return e?e.map(tB).join(" "):t}},tW={...R,transform:Math.round},tY={borderWidth:z,borderTopWidth:z,borderRightWidth:z,borderBottomWidth:z,borderLeftWidth:z,borderRadius:z,radius:z,borderTopLeftRadius:z,borderTopRightRadius:z,borderBottomRightRadius:z,borderBottomLeftRadius:z,width:z,maxWidth:z,height:z,maxHeight:z,top:z,right:z,bottom:z,left:z,padding:z,paddingTop:z,paddingRight:z,paddingBottom:z,paddingLeft:z,margin:z,marginTop:z,marginRight:z,marginBottom:z,marginLeft:z,backgroundPositionX:z,backgroundPositionY:z,rotate:B,rotateX:B,rotateY:B,rotateZ:B,scale:H,scaleX:H,scaleY:H,scaleZ:H,skew:B,skewX:B,skewY:B,distance:z,translateX:z,translateY:z,translateZ:z,x:z,y:z,z:z,perspective:z,transformPerspective:z,opacity:I,originX:$,originY:$,originZ:z,zIndex:tW,fillOpacity:I,strokeOpacity:I,numOctaves:tW},t$={...tY,color:t_,backgroundColor:t_,outlineColor:t_,fill:t_,stroke:t_,borderColor:t_,borderTopColor:t_,borderRightColor:t_,borderBottomColor:t_,borderLeftColor:t_,filter:tz,WebkitFilter:tz},tU=t=>t$[t];function tX(t,e){let n=tU(t);return n!==tz&&(n=tH),n.getAnimatableNone?n.getAnimatableNone(e):void 0}
1let tZ=new Set(["auto","none","0"]);class tG extends tw{constructor(t,e,n,i,r){super(t,e,n,i,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&x(i=i.trim())){let r=function t(e,n,i=1){Q(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=J.exec(t);if(!e)return[,];let[,n,i,r]=e;return[`--${n??i}`,r]}(e);if(!r)return;let a=window.getComputedStyle(n).getPropertyValue(r);if(a){let t=a.trim();return K(t)?parseFloat(t):t}return x(s)?t(s,n,i+1):s}(i,e.current);void 0!==r&&(t[n]=r),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!O.has(n)||2!==t.length)return;let[i,r]=t,s=Z(i),a=Z(r);if(s!==a)if(tt(s)&&tt(a))for(let e=0;e<t.length;e++){let n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else ti[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++){var i;(null===t[e]||("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||tx(i)))&&n.push(e)}n.length&&function(t,e,n){let i,r=0;for(;r<t.length&&!i;){let e=t[r];"string"==typeof e&&!tZ.has(e)&&tO(e).values.length&&(i=t[r]),r++}if(i&&n)for(let r of e)t[r]=tX(n,i)}(t,n,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ti[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);let r=n.length-1,s=n[r];n[r]=ti[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}let tQ=t=>!!(t&&t.getVelocity);function tK(){i=void 0}let tJ={now:()=>(void 0===i&&tJ.set(tc.isProcessing||ts.useManualTiming?tc.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(tK)}};function t1(t,e){-1===t.indexOf(e)&&t.push(e)}function t0(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}class t2{constructor(){this.subscriptions=[]}add(t){return t1(this.subscriptions,t),()=>t0(this.subscriptions,t)}notify(t,e,n){let i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let r=0;r<i;r++){let i=this.subscriptions[r];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let t3={current:void 0};class t5{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let n=tJ.now();if(this.updatedAt!==n&&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();e&&this.events.renderRequest?.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tJ.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(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 t2);let n=this.events[t].add(e);return"change"===t?()=>{n(),tu.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}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 t3.current&&t3.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tJ.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*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 t4(t,e){return new t5(t,e)}let t8=[...X,t_,tH],{schedule:t9}=tl(queueMicrotask,!1),t6={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"]},t7={};for(let t in t6)t7[t]={isEnabled:e=>t6[t].some(t=>!!e[t])};let et=()=>({translate:0,scale:1,origin:0,originPoint:0}),ee=()=>({x:et(),y:et()}),en=()=>({min:0,max:0}),ei=()=>({x:en(),y:en()}),er="undefined"!=typeof window,es={current:null},ea={current:!1},eo=new WeakMap;function el(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eu(t){return"string"==typeof t||Array.isArray(t)}let ed=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ec=["initial",...ed];function eh(t){return el(t.animate)||ec.some(e=>eu(t[e]))}function ef(t){return!!(eh(t)||t.variants)}function em(t){let e=[{},{}];
1return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function ep(t,e,n,i){if("function"==typeof e){let[r,s]=em(i);e=e(void 0!==n?n:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=em(i);e=e(void 0!==n?n:t.custom,r,s)}return e}let eg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ev{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tw,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=tJ.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tu.render(this.render,!1,!0))};let{latestValues:o,renderState:l}=s;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=eh(e),this.isVariantNode=ef(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in d){let e=d[t];void 0!==o[t]&&tQ(e)&&e.set(o[t],!1)}}mount(t){this.current=t,eo.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)),ea.current||function(){if(ea.current=!0,er)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>es.current=t.matches;t.addEventListener("change",e),e()}else es.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||es.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),td(this.notifyUpdate),td(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}bindToMotionValue(t,e){let n;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let i=a.has(t);i&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tu.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0)}),s=e.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),s(),n&&n(),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 t7){let e=t7[t];if(!e)continue;let{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(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):ei()}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<eg.length;e++){let n=eg[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(let i in e){let r=e[i],s=n[i];if(tQ(r))t.addValue(i,r);else if(tQ(s))t.addValue(i,t4(r,{owner:t}));else if(s!==r)if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(i);t.addValue(i,t4(void 0!==e?e:r,{owner:t}))}}for(let i in n)void 0===e[i]&&t.removeValue(i);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}
1addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let n=this.values.get(t);e!==n&&(n&&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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=t4(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=n){if("string"==typeof n&&(K(n)||tx(n)))n=parseFloat(n);else{let i;i=n,!t8.find(U(i))&&tH.test(e)&&(n=tX(t,e))}this.setBaseTarget(t,tQ(n)?n.get():n)}return tQ(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=ep(this.props,n,this.presenceContext?.custom);i&&(e=i[t])}if(n&&void 0!==e)return e;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||tQ(i)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new t2),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t9.render(this.render)}}class ey extends ev{constructor(){super(...arguments),this.KeyframeResolver=tG}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;tQ(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let ew=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ex={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eb=s.length;function eC(t,e,n){let{style:i,vars:r,transformOrigin:o}=t,l=!1,u=!1;for(let t in e){let n=e[t];if(a.has(t)){l=!0;continue}if(y(t)){r[t]=n;continue}{let e=ew(n,tY[t]);t.startsWith("origin")?(u=!0,o[t]=e):i[t]=e}}if(!e.transform&&(l||n?i.transform=function(t,e,n){let i="",r=!0;for(let a=0;a<eb;a++){let o=s[a],l=t[o];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!o.startsWith("scale"):0===parseFloat(l))||n){let t=ew(l,tY[o]);if(!u){r=!1;let e=ex[o]||o;i+=`${e}(${t}) `}n&&(e[o]=t)}}return i=i.trim(),n?i=n(e,r?"":i):r&&(i="none"),i}(e,t.transform,n):i.transform&&(i.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:n=0}=o;i.transformOrigin=`${t} ${e} ${n}`}}function eM(t,{style:e,vars:n},i,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,i),n)a.setProperty(s,n[s])}let ek={};function eS(t,{layout:e,layoutId:n}){return a.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!ek[t]||"opacity"===t)}function eT(t,e,n){let{style:i}=t,r={};for(let s in i)(tQ(i[s])||e.style&&tQ(e.style[s])||eS(s,t)||n?.getValue(s)?.liveStyle!==void 0)&&(r[s]=i[s]);return r}class eP extends ey{constructor(){super(...arguments),this.type="html",this.renderInstance=eM}readValueFromInstance(t,e){if(a.has(e))return this.projection?.isProjecting?m(e):((t,e)=>{let{transform:n="none"}=getComputedStyle(t);return p(n,e)})(t,e);{let n=window.getComputedStyle(t),i=(y(e)?n.getPropertyValue(e):n[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return V(t,e)}build(t,e,n){eC(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return eT(t,e,n)}}let ej=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eL={offset:"stroke-dashoffset",array:"stroke-dasharray"},e_={offset:"strokeDashoffset",array:"strokeDasharray"};function eD(t,{attrX:e,attrY:n,attrScale:i,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o}
1,l,u,d){if(eC(t,o,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:h}=t;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=d?.transformBox??"fill-box",delete c.transformBox),void 0!==e&&(c.x=e),void 0!==n&&(c.y=n),void 0!==i&&(c.scale=i),void 0!==r&&function(t,e,n=1,i=0,r=!0){t.pathLength=1;let s=r?eL:e_;t[s.offset]=z.transform(-i);let a=z.transform(e),o=z.transform(n);t[s.array]=`${a} ${o}`}(c,r,s,a,!1)}let eE=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"]),eA=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eV(t,e,n){let i=eT(t,e,n);for(let n in t)(tQ(t[n])||tQ(e[n]))&&(i[-1!==s.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return i}class eO extends ey{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ei}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.has(e)){let t=tU(e);return t&&t.default||0}return e=eE.has(e)?e:ej(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return eV(t,e,n)}
1build(t,e,n){eD(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){for(let n in eM(t,e,void 0,i),e.attrs)t.setAttribute(eE.has(n)?n:ej(n),e.attrs[n])}mount(t){this.isSVGTag=eA(t.tagName),super.mount(t)}}let eN=["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 eR(t){if("string"!=typeof t||t.includes("-"));else if(eN.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var eI=n(5155);let eH=(0,r.createContext)({}),eF=(0,r.createContext)({strict:!1}),eB=(0,r.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),eq=(0,r.createContext)({});function ez(t){return Array.isArray(t)?t.join(" "):t}let eW=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eY(t,e,n){for(let i in e)tQ(e[i])||eS(i,n)||(t[i]=e[i])}let e$=()=>({...eW(),attrs:{}}),eU=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 eX(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eU.has(t)}let eZ=t=>!eX(t);try{!function(t){"function"==typeof t&&(eZ=e=>e.startsWith("on")?!eX(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}let eG=(0,r.createContext)(null);function eQ(t){return tQ(t)?t.get():t}let eK=t=>(e,n)=>{let i=(0,r.useContext)(eq),s=(0,r.useContext)(eG),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,r){return{latestValues:function(t,e,n,i){let r={},s=i(t,{});for(let t in s)r[t]=eQ(s[t]);let{initial:a,animate:o}=t,l=eh(t),u=ef(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let d=!!n&&!1===n.initial,c=(d=d||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!el(c)){let e=Array.isArray(c)?c:[c];for(let n=0;n<e.length;n++){let i=ep(t,e[n]);if(i){let{transitionEnd:t,transition:e,...n}=i;for(let t in n){let e=n[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(n,i,r,t),renderState:e()}})(t,e,i,s);return n?a():function(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}(a)},eJ=eK({scrapeMotionValuesFromProps:eT,createRenderState:eW}),e1=eK({scrapeMotionValuesFromProps:eV,createRenderState:e$}),e0=Symbol.for("motionComponentSymbol");function e2(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let e3="data-"+ej("framerAppearId"),e5=(0,r.createContext)({}),e4=er?r.useLayoutEffect:r.useEffect;function e8(t){var e,n;let{forwardMotionProps:i=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;s&&function(t){for(let e in t)t7[e]={...t7[e],...t[e]}}(s);let o=eR(t)?e1:eJ;function l(e,n){var s;let l,u={...(0,r.useContext)(eB),...e,layoutId:function(t){let{layoutId:e}
1=t,n=(0,r.useContext)(eH).id;return n&&void 0!==e?n+"-"+e:e}(e)},{isStatic:d}=u,c=function(t){let{initial:e,animate:n}=function(t,e){if(eh(t)){let{initial:e,animate:n}=t;return{initial:!1===e||eu(e)?e:void 0,animate:eu(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(eq));return(0,r.useMemo)(()=>({initial:e,animate:n}),[ez(e),ez(n)])}(e),h=o(e,d);if(!d&&er){(0,r.useContext)(eF).strict;let e=function(t){let{drag:e,layout:n}=t7;if(!e&&!n)return{};let i={...e,...n};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==n?void 0:n.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(u);l=e.MeasureLayout,c.visualElement=function(t,e,n,i,s){let{visualElement:a}=(0,r.useContext)(eq),o=(0,r.useContext)(eF),l=(0,r.useContext)(eG),u=(0,r.useContext)(eB).reducedMotion,d=(0,r.useRef)(null);i=i||o.renderer,!d.current&&i&&(d.current=i(t,{visualState:e,parent:a,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let c=d.current,h=(0,r.useContext)(e5);c&&!c.projection&&s&&("html"===c.type||"svg"===c.type)&&function(t,e,n,i){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutCrossfade:d}=e;t.projection=new n(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:s,alwaysMeasureLayout:!!a||o&&e2(o),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:d,layoutScroll:l,layoutRoot:u})}(d.current,n,s,h);let f=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{c&&f.current&&c.update(n,l)});let m=n[e3],p=(0,r.useRef)(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return e4(()=>{c&&(f.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),p.current&&c.animationState&&c.animationState.animateChanges())}),(0,r.useEffect)(()=>{c&&(!p.current&&c.animationState&&c.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),p.current=!1))}),c}(t,h,u,a,e.ProjectionNode)}return(0,eI.jsxs)(eq.Provider,{value:c,children:[l&&c.visualElement?(0,eI.jsx)(l,{visualElement:c.visualElement,...u}):null,function(t,e,n,{latestValues:i},s,a=!1){let o=(eR(t)?function(t,e,n,i){let s=(0,r.useMemo)(()=>{let n=e$();return eD(n,e,eA(i),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}},[e]);if(t.style){let e={};eY(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let n={},i=function(t,e){let n=t.style||{},i={};return eY(i,n,t),Object.assign(i,function({transformTemplate:t},e){return(0,r.useMemo)(()=>{let n=eW();return eC(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n})(e,i,s,t),l=function(t,e,n){let i={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(eZ(r)||!0===n&&eX(r)||!e&&!eX(r)||t.draggable&&r.startsWith("onDrag"))&&(i[r]=t[r]);return i}(e,"string"==typeof t,a),u=t!==r.Fragment?{...l,...o,ref:n}:{},{children:d}=e,c=(0,r.useMemo)(()=>tQ(d)?d.get():d,[d]);return(0,r.createElement)(t,{...u,children:c})}(t,e,(s=c.visualElement,(0,r.useCallback)(t=>{t&&h.onMount&&h.onMount(t),s&&(t?s.mount(t):s.unmount()),n&&("function"==typeof n?n(t):e2(n)&&(n.current=t))},[s])),h,d,i)]})}l.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(n=null!=(e=t.displayName)?e:t.name)?n:"",")"));let u=(0,r.forwardRef)(l);return u[e0]=t,u}function e9(t,e,n){let i=t.getProps();return ep(i,e,void 0!==n?n:i.custom,t)}function e6(t,e){return t?.[e]??t?.default??t}let e7=t=>Array.isArray(t);function nt(t,e){let n=t.getValue("willChange");if(tQ(n)&&n.add)return n.add(e);if(!n&&ts.WillChange){let n=new ts.WillChange("auto");t.addValue("willChange",n),n.add(e)}}let ne=(t,e)=>n=>e(t(n)),nn=(...t)=>t.reduce(ne),ni=t=>1e3*t,nr={layout:0,mainThread:0,waapi:0};function ns(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function na(t,e){return n=>n>0?e:t}let no=(t,e,n)=>{let i=t*t,r=n*(e*e-i)+i;return r<0?0:Math.sqrt(r)},nl=[tj,tP,tL];function nu(t){let e=nl.find(e=>e.test(t));if(G(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let n=e.parse(t);return e===tL&&(n=function({hue:t,saturation:e,lightness:n,alpha:i}
1){t/=360,n/=100;let r=0,s=0,a=0;if(e/=100){let i=n<.5?n*(1+e):n+e-n*e,o=2*n-i;r=ns(o,i,t+1/3),s=ns(o,i,t),a=ns(o,i,t-1/3)}else r=s=a=n;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:i}}(n)),n}let nd=(t,e)=>{let n=nu(t),i=nu(e);if(!n||!i)return na(t,e);let r={...n};return t=>(r.red=no(n.red,i.red,t),r.green=no(n.green,i.green,t),r.blue=no(n.blue,i.blue,t),r.alpha=M(n.alpha,i.alpha,t),tP.transform(r))},nc=new Set(["none","hidden"]);function nh(t,e){return n=>M(t,e,n)}function nf(t){return"number"==typeof t?nh:"string"==typeof t?x(t)?na:t_.test(t)?nd:ng:Array.isArray(t)?nm:"object"==typeof t?t_.test(t)?nd:np:na}function nm(t,e){let n=[...t],i=n.length,r=t.map((t,n)=>nf(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=r[e](t);return n}}function np(t,e){let n={...t,...e},i={};for(let r in n)void 0!==t[r]&&void 0!==e[r]&&(i[r]=nf(t[r])(t[r],e[r]));return t=>{for(let e in i)n[e]=i[e](t);return n}}let ng=(t,e)=>{let n=tH.createTransformer(e),i=tO(t),r=tO(e);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?nc.has(t)&&!r.values.length||nc.has(e)&&!i.values.length?function(t,e){return nc.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):nn(nm(function(t,e){let n=[],i={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],a=t.indexes[s][i[s]],o=t.values[a]??0;n[r]=o,i[s]++}return n}(i,r),r.values),n):(G(!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"),na(t,e))};function nv(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?M(t,e,n):nf(t)(t,e)}let ny=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tu.update(e,t),stop:()=>td(e),now:()=>tc.isProcessing?tc.timestamp:tJ.now()}},nw=(t,e,n=10)=>{let i="",r=Math.max(Math.round(e/n),2);for(let e=0;e<r;e++)i+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`};function nx(t){let e=0,n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}function nb(t,e,n){var i,r;let s=Math.max(e-5,0);return i=n-t(s),(r=e-s)?1e3/r*i:0}let nC={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 nM(t,e){return t*Math.sqrt(1-e*e)}let nk=["duration","bounce"],nS=["stiffness","damping","mass"];function nT(t,e){return e.some(e=>void 0!==t[e])}function nP(t=nC.visualDuration,e=nC.bounce){let n,i="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=i,a=i.keyframes[0],o=i.keyframes[i.keyframes.length-1],l={done:!1,value:a},{stiffness:u,damping:d,mass:c,duration:h,velocity:f,isResolvedFromDuration:m}=function(t){let e={velocity:nC.velocity,stiffness:nC.stiffness,damping:nC.damping,mass:nC.mass,isResolvedFromDuration:!1,...t};if(!nT(t,nS)&&nT(t,nk))if(t.visualDuration){let n=2*Math.PI/(1.2*t.visualDuration),i=n*n,r=2*N(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:nC.mass,stiffness:i,damping:r}}else{let n=function({duration:t=nC.duration,bounce:e=nC.bounce,velocity:n=nC.velocity,mass:i=nC.mass}){let r,s;G(t<=ni(nC.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=N(nC.minDamping,nC.maxDamping,a),t=N(nC.minDuration,nC.maxDuration,t/1e3),a<1?(r=e=>{let i=e*a,r=i*t;return .001-(i-n)/nM(e,a)*Math.exp(-r)},s=e=>{let i=e*a*t,s=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-i),l=nM(Math.pow(e,2),a);return(i*n+n-s)*o*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),s=e=>t*t*(n-e)*Math.exp(-e*t));let o=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(r,s,5/t);if(t=ni(t),isNaN(o))return{stiffness:nC.stiffness,damping:nC.damping,duration:t};{let e=Math.pow(o,2)*i;return{stiffness:e,damping:2*a*Math.sqrt(i*e),duration:t}}}(t);(e={...e,...n,mass:nC.mass}).isResolvedFromDuration=!0}return e}({...i,velocity:-((i.velocity||0)/1e3)}),p=f||0,g=d/(2*Math.sqrt(u*c)),v=o-a,y=Math.sqrt(u/c)/1e3,w=5>Math.abs(v);if(r||(r=w?nC.restSpeed.granular:nC.restSpeed.default),s||(s=w?nC.restDelta.granular:nC.restDelta.default),g<1){let t=nM(y,g);n=e=>o-Math.exp(-g*y*e)*((p+g*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)n=t=>o-Math.exp(-y*t)*(v+(p+y*v)*t);else{let t=y*Math.sqrt(g*g-1);n=e=>{let n=Math.exp(-g*y*e),i=Math.min(t*e,300);return o-n*((p+g*y*v)*Math.sinh(i)+t*v*Math.cosh(i))/t}}
1let x={calculatedDuration:m&&h||null,next:t=>{let e=n(t);if(m)l.done=t>=h;else{let i=0===t?p:0;g<1&&(i=0===t?ni(p):nb(n,t,e));let a=Math.abs(o-e)<=s;l.done=Math.abs(i)<=r&&a}return l.value=l.done?o:e,l},toString:()=>{let t=Math.min(nx(x),2e4),e=nw(e=>x.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return x}function nj({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:d}){let c,h,f=t[0],m={done:!1,value:f},p=n*e,g=f+p,v=void 0===a?g:a(g);v!==g&&(p=v-f);let y=t=>-p*Math.exp(-t/i),w=t=>v+y(t),x=t=>{let e=y(t),n=w(t);m.done=Math.abs(e)<=u,m.value=m.done?v:n},b=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var n;c=t,h=nP({keyframes:[m.value,(n=m.value,void 0===o?l:void 0===l||Math.abs(o-n)<Math.abs(l-n)?o:l)],velocity:nb(w,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:d})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(h||void 0!==c||(e=!0,x(t),b(t)),void 0!==c&&t>=c)?h.next(t-c):(e||x(t),m)}}}nP.applyToOptions=t=>{let e=function(t,e=100,n){let i=n({...t,keyframes:[0,e]}),r=Math.min(nx(i),2e4);return{type:"keyframes",ease:t=>i.next(r*t).value/e,duration:r/1e3}}(t,100,nP);return t.ease=e.ease,t.duration=ni(e.duration),t.type="keyframes",t};let nL=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function n_(t,e,n,i){return t===e&&n===i?tr:r=>0===r||1===r?r:nL(function(t,e,n,i,r){let s,a,o=0;do(s=nL(a=e+(n-e)/2,i,r)-t)>0?n=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a}(r,0,1,t,n),e,i)}let nD=n_(.42,0,1,1),nE=n_(0,0,.58,1),nA=n_(.42,0,.58,1),nV=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,nO=t=>e=>1-t(1-e),nN=n_(.33,1.53,.69,.99),nR=nO(nN),nI=nV(nR),nH=t=>(t*=2)<1?.5*nR(t):.5*(2-Math.pow(2,-10*(t-1))),nF=t=>1-Math.sin(Math.acos(t)),nB=nO(nF),nq=nV(nF),nz=t=>Array.isArray(t)&&"number"==typeof t[0],nW={linear:tr,easeIn:nD,easeInOut:nA,easeOut:nE,circIn:nF,circInOut:nq,circOut:nB,backIn:nR,backInOut:nI,backOut:nN,anticipate:nH},nY=t=>{if(nz(t)){Q(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,n,i,r]=t;return n_(e,n,i,r)}return"string"==typeof t?(Q(void 0!==nW[t],`Invalid easing type '${t}'`,"invalid-easing-type"),nW[t]):t},n$=(t,e,n)=>{let i=e-t;return 0===i?1:(n-t)/i};function nU({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){var r;let s=Array.isArray(i)&&"number"!=typeof i[0]?i.map(nY):nY(i),a={done:!1,value:e[0]},o=function(t,e,{clamp:n=!0,ease:i,mixer:r}={}){let s=t.length;if(Q(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,n){let i=[],r=n||ts.mix||nv,s=t.length-1;for(let n=0;n<s;n++){let s=r(t[n],t[n+1]);e&&(s=nn(Array.isArray(e)?e[n]||tr:e,s)),i.push(s)}return i}(e,i,r),l=o.length,u=n=>{if(a&&n<t[0])return e[0];let i=0;if(l>1)for(;i<t.length-2&&!(n<t[i+1]);i++);let r=n$(t[i],t[i+1],n);return o[i](r)};return n?e=>u(N(t[0],t[s-1],e)):u}((r=n&&n.length===e.length?n:function(t){let e=[0];return!function(t,e){let n=t[t.length-1];for(let i=1;i<=e;i++){let r=n$(0,e,i);t.push(M(n,1,r))}}(e,t.length-1),e}(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||nA).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=o(e),a.done=e>=t,a)}}let nX=t=>null!==t;function nZ(t,{repeat:e,repeatType:n="loop"},i,r=1){let s=t.filter(nX),a=r<0||e&&"loop"!==n&&e%2==1?0:s.length-1;return a&&void 0!==i?i:s[a]}let nG={decay:nj,inertia:nj,tween:nU,keyframes:nU,spring:nP};function nQ(t){"string"==typeof t.type&&(t.type=nG[t.type])}class nK{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 nJ=t=>t/100;class n1 extends nK{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!==tJ.now()&&this.tick(tJ.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},nr.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;
1nQ(t);let{type:e=nU,repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,o=e||nU;o!==nU&&"number"!=typeof a[0]&&(this.mixKeyframes=nn(nJ,nv(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=nx(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(n+1)-i,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:n,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:o}=this;if(null===this.startTime)return n.next(0);let{delay:l=0,keyframes:u,repeat:d,repeatType:c,repeatDelay:h,type:f,onUpdate:m,finalKeyframe:p}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-l*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let y=this.currentTime,w=n;if(d){let t=Math.min(this.currentTime,i)/a,e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(n=1-n,h&&(n-=h/a)):"mirror"===c&&(w=s)),y=N(0,1,n)*a}let x=v?{done:!1,value:u[0]}:w.next(y);r&&(x.value=r(x.value));let{done:b}=x;v||null===o||(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let C=null===this.holdTime&&("finished"===this.state||"running"===this.state&&b);return C&&f!==nj&&(x.value=nZ(u,this.options,p,this.speed)),m&&m(x.value),C&&this.finish(),x}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get time(){return this.currentTime/1e3}set time(t){t=ni(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(tJ.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=ny,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"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(tJ.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,nr.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)}}function n0(t){let e;return()=>(void 0===e&&(e=t()),e)}let n2=n0(()=>void 0!==window.ScrollTimeline),n3={},n5=function(t,e){let n=n0(t);return()=>n3[e]??n()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),n4=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,n8={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:n4([0,.65,.55,1]),circOut:n4([.55,0,1,.45]),backIn:n4([.31,.01,.66,-.59]),backOut:n4([.33,1.53,.69,.99])};function n9(t){return"function"==typeof t&&"applyToOptions"in t}class n6 extends nK{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{element:e,name:n,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,Q("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return n9(t)&&n5()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,n,{delay:i=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let d={[e]:n};l&&(d.offset=l);let c=function t(e,n){if(e)return"function"==typeof e?n5()?nw(e,n):"ease-out":nz(e)?n4(e):Array.isArray(e)?e.map(e=>t(e,n)||n8.easeOut):n8[e]}(o,r);Array.isArray(c)&&(d.easing=c),to.value&&nr.waapi++;let h={delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(h.pseudoElement=u);let f=t.animate(d,h);return to.value&&f.finished.finally(()=>{nr.waapi--}),f}(e,n,i,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=nZ(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,n){e.startsWith("--")?t.style.setProperty(e,n):t.style[e]=n}(e,n,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.finishedTime=null,this.animation.currentTime=ni(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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&n2())?(this.animation.timeline=t,tr):e(this)}}let n7={anticipate:nH,backInOut:nI,circInOut:nq};class it extends n6{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in n7&&(t.ease=n7[t.ease])}(t),nQ(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:n,onComplete:i,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new n1({...s,autoplay:!1}),o=ni(this.finishedTime??this.time);e.setWithVelocity(a.sample(o-10).value,a.sample(o).value,10),a.stop()}}let ie=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tH.test(t)||"0"===t)&&!t.startsWith("url(")),ii=new Set(["opacity","clipPath","filter","transform"]),ir=n0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class is extends nK{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tJ.now();let c={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:r,repeatType:s,name:o,motionValue:l,element:u,...d},h=u?.KeyframeResolver||tw;this.keyframeResolver=new h(a,(t,e,n)=>this.onKeyframesResolved(t,e,c,!n),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;let{name:r,type:s,velocity:a,delay:o,isHandoff:l,onUpdate:u}=n;this.resolvedAt=tJ.now(),!function(t,e,n,i){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=ie(r,e),o=ie(s,e);return G(a===o,`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||n9(n))&&i)}(t,r,s,a)&&((ts.instantAnimations||!o)&&u?.(nZ(t,n,e)),t[0]=t[t.length-1],n.duration=0,n.repeat=0);let d={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},c=!l&&function(t){let{motionValue:e,name:n,repeatDelay:i,repeatType:r,damping:s,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;
1let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return ir()&&n&&ii.has(n)&&("transform"!==n||!l)&&!o&&!i&&"mirror"!==r&&0!==s&&"inertia"!==a}(d)?new it({...d,element:d.motionValue.owner.current}):new n1(d);c.finished.then(()=>this.notifyFinished()).catch(tr),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}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(),tg=!0,ty(),tv(),tg=!1),this._animation}get duration(){return this.animation.duration}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 ia=t=>null!==t,io={type:"spring",stiffness:500,damping:25,restSpeed:10},il={type:"keyframes",duration:.8},iu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},id=(t,e,n,i={},r,s)=>o=>{let l=e6(i,t)||{},u=l.delay||i.delay||0,{elapsed:d=0}=i;d-=ni(u);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-d,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...d}){return!!Object.keys(d).length}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?il:a.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:io:iu)(t,c)),c.duration&&(c.duration=ni(c.duration)),c.repeatDelay&&(c.repeatDelay=ni(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(h=!0)),(ts.instantAnimations||ts.skipAnimations)&&(h=!0,c.duration=0,c.delay=0),c.allowFlatten=!l.type&&!l.ease,h&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:n="loop"},i){let r=t.filter(ia),s=e&&"loop"!==n&&e%2==1?0:r.length-1;return r[s]}(c.keyframes,l);if(void 0!==t)return void tu.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new n1(c):new is(c)};function ic(t,e,{delay:n=0,transitionOverride:i,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:a,...o}=e;i&&(s=i);let l=[],u=r&&t.animationState&&t.animationState.getState()[r];for(let e in o){let i=t.getValue(e,t.latestValues[e]??null),r=o[e];if(void 0===r||u&&function({protectedKeys:t,needsAnimating:e},n){let i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}(u,e))continue;let a={delay:n,...e6(s||{},e)},d=i.get();if(void 0!==d&&!i.isAnimating&&!Array.isArray(r)&&r===d&&!a.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let n=t.props[e3];if(n){let t=window.MotionHandoffAnimation(n,e,tu);null!==t&&(a.startTime=t,c=!0)}}nt(t,e),i.start(id(e,i,r,t.shouldReduceMotion&&O.has(e)?{type:!1}:a,t,c));let h=i.animation;h&&l.push(h)}return a&&Promise.all(l).then(()=>{tu.update(()=>{a&&function(t,e){let{transitionEnd:n={},transition:i={},...r}=e9(t,e)||{};for(let e in r={...r,...n}){var s;let n=e7(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,t4(n))}}(t,a)})}),l}function ih(t,e,n={}){let i=e9(t,e,"exit"===n.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);let s=i?()=>Promise.all(ic(t,i,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=r;return function(t,e,n=0,i=0,r=0,s=1,a){let o=[],l=t.variantChildren.size,u=(l-1)*r,d="function"==typeof i,c=d?t=>i(t,l):1===s?(t=0)=>t*r:(t=0)=>u-t*r;return Array.from(t.variantChildren).sort(im).forEach((t,r)=>{t.notify("AnimationStart",e),o.push(ih(t,e,{...a,delay:n+(d?0:i)+c(r)}).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(o)}(t,e,i,s,a,o,n)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([s(),a(n.delay)]);{let[t,e]="beforeChildren"===o?[s,a]:[a,s];return t().then(()=>e())}}function im(t,e){return t.sortNodePosition(e)}function ip(t,e){if(!Array.isArray(e))return!1;let n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}let ig=ec.length,iv=[...ed].reverse(),iy=ed.length;function iw(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ix(){return{animate:iw(!0),whileInView:iw(),whileHover:iw(),whileTap:iw(),whileDrag:iw(),whileFocus:iw(),exit:iw()}}class ib{constructor(t){this.isMounted=!1,this.node=t}update(){}}class iC extends ib{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e))i=Promise.all(e.map(e=>ih(t,e,n)));else if("string"==typeof e)i=ih(t,e,n);else{let r="function"==typeof e?e9(t,e,n.custom):e;i=Promise.all(ic(t,r,n))}return i.then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),n=ix(),i=!0,r=e=>(n,i)=>{let r=e9(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...i}=r;n={...n,...i,...e}}return n};function s(s){let{props:a}=t,o=function t(e){if(!e)return;if(!e.isControllingVariants){let n=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(n.initial=e.props.initial),n}let n={};for(let t=0;t<ig;t++){let i=ec[t],r=e.props[i];(eu(r)||!1===r)&&(n[i]=r)}return n}(t.parent)||{},l=[],u=new Set,d={},c=1/0;for(let e=0;e<iy;e++){var h,f;let m=iv[e],p=n[m],g=void 0!==a[m]?a[m]:o[m],v=eu(g),y=m===s?p.isActive:null;!1===y&&(c=e);let w=g===o[m]&&g!==a[m]&&v;if(w&&i&&t.manuallyAnimateOnMount&&(w=!1),p.protectedKeys={...d},!p.isActive&&null===y||!g&&!p.prevProp||el(g)||"boolean"==typeof g)continue;let x=(h=p.prevProp,"string"==typeof(f=g)?f!==h:!!Array.isArray(f)&&!ip(f,h)),b=x||m===s&&p.isActive&&!w&&v||e>c&&v,C=!1,M=Array.isArray(g)?g:[g],k=M.reduce(r(m),{});!1===y&&(k={});let{prevResolvedValues:S={}}=p,T={...S,...k},P=e=>{b=!0,u.has(e)&&(C=!0,u.delete(e)),p.needsAnimating[e]=!0;let n=t.getValue(e);n&&(n.liveStyle=!1)};for(let t in T){let e=k[t],n=S[t];if(!d.hasOwnProperty(t))(e7(e)&&e7(n)?ip(e,n):e===n)?void 0!==e&&u.has(t)?P(t):p.protectedKeys[t]=!0:null!=e?P(t):u.add(t)}p.prevProp=g,p.prevResolvedValues=k,p.isActive&&(d={...d,...k}),i&&t.blockInitialAnimation&&(b=!1);let j=!(w&&x)||C;b&&j&&l.push(...M.map(t=>({animation:t,options:{type:m}})))}if(u.size){let e={};if("boolean"!=typeof a.initial){let n=e9(t,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(e.transition=n.transition)}u.forEach(n=>{let i=t.getBaseTarget(n),r=t.getValue(n);r&&(r.liveStyle=!0),e[n]=i??null}),l.push({animation:e})}let m=!!l.length;return i&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),i=!1,m?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;let r=s(e);for(let t in n)n[t].protectedKeys={};return r},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=ix(),i=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();el(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 iM=0;class ik extends ib{constructor(){super(...arguments),this.id=iM++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.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 iS={x:!1,y:!1};function iT(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}let iP=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function ij(t){return{point:{x:t.pageX,y:t.pageY}}}function iL(t,e,n,i){return iT(t,e,t=>iP(t)&&n(t,ij(t)),i)}function i_(t){return t.max-t.min}function iD(t,e,n,i=.5){t.origin=i,t.originPoint=M(e.min,e.max,t.origin),t.scale=i_(n)/i_(e),t.translate=M(n.min,n.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 iE(t,e,n,i){iD(t.x,e.x,n.x,i?i.originX:void 0),iD(t.y,e.y,n.y,i?i.originY:void 0)}function iA(t,e,n){t.min=n.min+e.min,t.max=t.min+i_(e)}function iV(t,e,n){t.min=e.min-n.min,t.max=t.min+i_(e)}function iO(t,e,n){iV(t.x,e.x,n.x),iV(t.y,e.y,n.y)}function iN(t){return[t("x"),t("y")]}let iR=({current:t})=>t?t.ownerDocument.defaultView:null,iI=(t,e)=>Math.abs(t-e);class iH{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=iq(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){return Math.sqrt(iI(t.x,e.x)**2+iI(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;let{point:i}=t,{timestamp:r}=tc;this.history.push({...i,timestamp:r});let{onStart:s,onMove:a}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=iF(e,this.transformPagePoint),tu.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iq("pointercancel"===t.type?this.lastMoveEventInfo:iF(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,s),i&&i(t,s)},!iP(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=s,this.contextWindow=i||window;let a=iF(ij(t),this.transformPagePoint),{point:o}=a,{timestamp:l}=tc;this.history=[{...o,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,iq(a,this.history)),this.removeListeners=nn(iL(this.contextWindow,"pointermove",this.handlePointerMove),iL(this.contextWindow,"pointerup",this.handlePointerUp),iL(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),td(this.updatePoint)}}function iF(t,e){return e?{point:e(t.point)}:t}function iB(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iq({point:t},e){return{point:t,delta:iB(t,iz(e)),offset:iB(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null,r=iz(t);for(;n>=0&&(i=t[n],!(r.timestamp-i.timestamp>ni(.1)));)n--;if(!i)return{x:0,y:0};let s=(r.timestamp-i.timestamp)/1e3;if(0===s)return{x:0,y:0};let a={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function iz(t){return t[t.length-1]}function iW(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function iY(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}function i$(t,e,n){return{min:iU(t,e),max:iU(t,n)}}function iU(t,e){return"number"==typeof t?t:t[e]||0}let iX=new WeakMap;class iZ{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=ei(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let r=t=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(ij(t).point)},s=(t,e)=>{let{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(iS[t])return null;else return iS[t]=!0,()=>{iS[t]=!1};return iS.x||iS.y?null:(iS.x=iS.y=!0,()=>{iS.x=iS.y=!1})}(n),!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),iN(t=>{let e=this.getAxisMotionValue(t).get()||0;if(q.test(e)){let{projection:n}=this.visualElement;if(n&&n.layout){let i=n.layout.layoutBox[t];i&&(e=i_(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tu.postRender(()=>r(t,e)),nt(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:a}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),s&&s(t,e)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>iN(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new iH(t,{onSessionStart:r,onStart:s,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:n,contextWindow:iR(this.visualElement)})}stop(t,e){let n=t||this.latestPointerEvent,i=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!n)return;let{velocity:s}=i;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&tu.postRender(()=>a(n,i))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){let{drag:i}=this.getProps();if(!n||!iG(t,i,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?M(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?M(n,t,i.max):Math.min(t,n)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&e2(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(t,{top:e,left:n,bottom:i,right:r}){return{x:iW(t.x,n,r),y:iW(t.y,e,i)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:i$(t,"left","right"),y:i$(t,"top","bottom")}}(e),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&iN(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!e2(e))return!1;let i=e.current;Q(null!==i,"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 s=function(t,e,n){let i=V(t,n),{scroll:r}=e;return r&&(D(i.x,r.offset.x),D(i.y,r.offset.y)),i}(i,r.root,this.visualElement.getTransformPagePoint()),a=(t=r.layout.layoutBox,{x:iY(t.x,s.x),y:iY(t.y,s.y)});if(n){let t=n(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=C(t))}return a}startAnimation(t){let{drag:e,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(iN(a=>
1{if(!iG(a,e,this.currentDirection))return;let l=o&&o[a]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:n?t[a]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let n=this.getAxisMotionValue(t);return nt(this.visualElement,t),n.start(id(t,n,0,e,this.visualElement,!1))}stopAnimation(){iN(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iN(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){iN(e=>{let{drag:n}=this.getProps();if(!iG(e,n,this.currentDirection))return;let{projection:i}=this.visualElement,r=this.getAxisMotionValue(e);if(i&&i.layout){let{min:n,max:s}=i.layout.layoutBox[e];r.set(t[e]-M(n,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!e2(e)||!n||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};iN(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let n=e.get();i[t]=function(t,e){let n=.5,i=i_(t),r=i_(e);return r>i?n=n$(e.min,e.max-i,t.min):i>r&&(n=n$(t.min,t.max-r,e.min)),N(0,1,n)}({min:n,max:n},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),iN(e=>{if(!iG(e,t,null))return;let n=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];n.set(M(r,s,i[e]))})}addListeners(){if(!this.visualElement.current)return;iX.set(this.visualElement,this);let t=iL(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();e2(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tu.read(e);let r=iT(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iN(e=>{let n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),i(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:a}}}function iG(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}class iQ extends ib{constructor(t){super(t),this.removeGroupControls=tr,this.removeListeners=tr,this.controls=new iZ(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tr}unmount(){this.removeGroupControls(),this.removeListeners()}}let iK=t=>(e,n)=>{t&&tu.postRender(()=>t(e,n))};class iJ extends ib{constructor(){super(...arguments),this.removePointerDownListener=tr}onPointerDown(t){this.session=new iH(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iR(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:iK(t),onStart:iK(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&tu.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=iL(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 i1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function i0(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let i2={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!z.test(t))return t;else t=parseFloat(t);let n=i0(t,e.target.x),i=i0(t,e.target.y);return`${n}% ${i}%`}},i3=!1;class i5 extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=t;for(let t in i8)ek[t]=i8[t],y(t)&&(ek[t].isCSSVariable=!0);r&&(e.group&&e.group.add(r),n&&n.register&&i&&n.register(r),i3&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),i1.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:n,drag:i,isPresent:r}=this.props,{projection:s}=n;return s&&(s.isPresent=r,i3=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tu.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),t9.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function i4(t){let[e,n]=function(t=!0){let e=(0,r.useContext)(eG);if(null===e)return[!0,null];let{isPresent:n,onExitComplete:i,register:s}=e,a=(0,r.useId)();(0,r.useEffect)(()=>
1{if(t)return s(a)},[t]);let o=(0,r.useCallback)(()=>t&&i&&i(a),[a,i,t]);return!n&&i?[!1,o]:[!0]}(),i=(0,r.useContext)(eH);return(0,eI.jsx)(i5,{...t,layoutGroup:i,switchLayoutGroup:(0,r.useContext)(e5),isPresent:e,safeToRemove:n})}let i8={borderRadius:{...i2,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:i2,borderTopRightRadius:i2,borderBottomLeftRadius:i2,borderBottomRightRadius:i2,boxShadow:{correct:(t,{treeScale:e,projectionDelta:n})=>{let i=tH.parse(t);if(i.length>5)return t;let r=tH.createTransformer(t),s=+("number"!=typeof i[0]),a=n.x.scale*e.x,o=n.y.scale*e.y;i[0+s]/=a,i[1+s]/=o;let l=M(a,o,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),r(i)}}};function i9(t){return"object"==typeof t&&null!==t}function i6(t){return i9(t)&&"ownerSVGElement"in t}let i7=(t,e)=>t.depth-e.depth;class rt{constructor(){this.children=[],this.isDirty=!1}add(t){t1(this.children,t),this.isDirty=!0}remove(t){t0(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(i7),this.isDirty=!1,this.children.forEach(t)}}let re=["TopLeft","TopRight","BottomLeft","BottomRight"],rn=re.length,ri=t=>"string"==typeof t?parseFloat(t):t,rr=t=>"number"==typeof t||z.test(t);function rs(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let ra=rl(0,.5,nB),ro=rl(.5,.95,tr);function rl(t,e,n){return i=>i<t?0:i>e?1:n(n$(t,e,i))}function ru(t,e){t.min=e.min,t.max=e.max}function rd(t,e){ru(t.x,e.x),ru(t.y,e.y)}function rc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rh(t,e,n,i,r){return t-=e,t=i+1/n*(t-i),void 0!==r&&(t=i+1/r*(t-i)),t}function rf(t,e,[n,i,r],s,a){!function(t,e=0,n=1,i=.5,r,s=t,a=t){if(q.test(e)&&(e=parseFloat(e),e=M(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=M(s.min,s.max,i);t===s&&(o-=e),t.min=rh(t.min,e,n,o,r),t.max=rh(t.max,e,n,o,r)}(t,e[n],e[i],e[r],e.scale,s,a)}let rm=["x","scaleX","originX"],rp=["y","scaleY","originY"];function rg(t,e,n,i){rf(t.x,e,rm,n?n.x:void 0,i?i.x:void 0),rf(t.y,e,rp,n?n.y:void 0,i?i.y:void 0)}function rv(t){return 0===t.translate&&1===t.scale}function ry(t){return rv(t.x)&&rv(t.y)}function rw(t,e){return t.min===e.min&&t.max===e.max}function rx(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rb(t,e){return rx(t.x,e.x)&&rx(t.y,e.y)}function rC(t){return i_(t.x)/i_(t.y)}function rM(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rk{constructor(){this.members=[]}add(t){t1(this.members,t),t.scheduleRender()}remove(t){if(t0(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,n=this.members.findIndex(e=>t===e);if(0===n)return!1;for(let t=n;t>=0;t--){let n=this.members[t];if(!1!==n.isPresent){e=n;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rS={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},rT=["","X","Y","Z"],rP=0;function rj(t,e,n,i){let{latestValues:r}=e;r[t]&&(n[t]=r[t],e.setStaticValue(t,0),i&&(i[t]=0))}function rL({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(t={},n=e?.()){this.id=rP++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,to.value&&(rS.nodes=rS.calculatedTargetDeltas=rS.calculatedProjections=0),this.nodes.forEac
1h(rE),this.nodes.forEach(rH),this.nodes.forEach(rF),this.nodes.forEach(rA),to.addProjectionMetrics&&to.addProjectionMetrics(rS)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rt)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new t2),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=i6(e)&&!(i6(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:n,layout:i,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&&(i||n)&&(this.isLayoutDirty=!0),t){let n,i=0,r=()=>this.root.updateBlockedByResize=!1;tu.read(()=>{i=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){let n=tJ.now(),i=({timestamp:e})=>{let r=e-n;r>=250&&(td(i),t(r-250))};return tu.setup(i,!0),()=>td(i)}(r,250),i1.hasAnimatedSinceResize&&(i1.hasAnimatedSinceResize=!1,this.nodes.forEach(rI)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&r&&(n||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||r$,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!rb(this.targetLayout,i),u=!e&&n;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...e6(s,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||rI(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}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(),td(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(rB),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:n}=e.options;if(!n)return;let i=n.props[e3];if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",tu,!(t||n))}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:n}=this.options;if(void 0===e&&!n)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
1h(rO);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(rN);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rR),this.nodes.forEach(r_),this.nodes.forEach(rD)):this.nodes.forEach(rN),this.clearAllSnapshots();let t=tJ.now();tc.delta=N(0,1e3/60,t-tc.timestamp),tc.timestamp=t,tc.isProcessing=!0,th.update.process(tc),th.preRender.process(tc),th.render.process(tc),tc.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t9.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rV),this.sharedNodes.forEach(rq)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tu.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tu.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||i_(this.snapshot.measuredBox.x)||i_(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.layoutCorrected=ei(),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=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(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&&!ry(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||T(this.latestValues)||s)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let n=this.measurePageBox(),i=this.removeElementScroll(n);return t&&(i=this.removeTransform(i)),rZ((e=i).x),rZ(e.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return ei();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rQ))){let{scroll:t}=this.root;t&&(D(e.x,t.offset.x),D(e.y,t.offset.y))}return e}removeElementScroll(t){let e=ei();if(rd(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){let i=this.path[n],{scroll:r,options:s}=i;i!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rd(e,t),D(e.x,r.offset.x),D(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let n=ei();rd(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&A(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),T(i.latestValues)&&A(n,i.latestValues)}return T(this.latestValues)&&A(n,this.latestValues),n}removeTransform(t){let e=ei();rd(e,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];if(!n.instance||!T(n.latestValues))continue;S(n.latestValues)&&n.updateSnapshot();let i=ei();rd(i,n.measurePageBox()),rg(e,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return T(this.latestValues)&&rg(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!==tc.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 n=!!this.resumingFrom||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:r}=this.options;if(this.layout&&(i||r)){if(this.resolvedRelativeTargetAt=tc.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ei(),this.relativeTargetOrigin=ei(),iO(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),rd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=ei(),this.targetWithTransforms=ei()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,a,o;this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,o=this.relativeParent.target,iA(s.x,a.x,o.x),iA(s.y,a.y,o.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rd(this.target,this.layout.layoutBox),_(this.target,this.targetDelta)):rd(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ei(),this.relativeTargetOrigin=ei(),iO(this.relativeTargetOrigin,this.target,t.target),rd(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}to.value&&rS.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||S(this.parent.latestValues)||P(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)}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,n=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===tc.timestamp&&(n=!1),n)return;let{layout:i,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||!(i||r))return;rd(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(t,e,n,i=!1){let r,s,a=n.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){s=(r=n[o]).projectionDelta;let{visualElement:a}=r.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&A(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,_(t,s)),i&&T(r.latestValues)&&A(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=ei());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rc(this.prevProjectionDelta.x,this.projectionDelta.x),rc(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iE(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&rM(this.projectionDelta.x,this.prevProjectionDelta.x)&&rM(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),to.value&&rS.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=ee(),this.projectionDelta=ee(),this.projectionDeltaWithTransform=ee()}setAnimationOrigin(t,e=!1){let n,i=this.snapshot,r=i?i.latestValues:{},s={...this.latestValues},a=ee();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=ei(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,c=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(rY));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(rz(a.x,t.x,i),rz(a.y,t.y,i),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,f,m,p,g;iO(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,m=this.relativeTargetOrigin,p=o,g=i,rW(f.x,m.x,p.x,g),rW(f.y,m.y,p.y,g),n&&(u=this.relativeTarget,h=n,rw(u.x,h.x)&&rw(u.y,h.y))&&(this.isProjectionDirty=!1),n||(n=ei()),rd(n,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,n,i,r,s){r?(t.opacity=M(0,n.opacity??1,ra(i)),t.opacityExit=M(e.opacity??1,0,ro(i))):s&&(t.opacity=M(e.opacity??1,n.opacity??1,i));for(let r=0;r<rn;r++){let s=`border${re[r]}Radius`,a=rs(e,s),o=rs(n,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||rr(a)===rr(o)?(t[s]=Math.max(M(ri(a),ri(o),i),0),(q.test(o)||q.test(a))&&(t[s]+="%")):t[s]=o)}(e.rotate||n.rotate)&&(t.rotate=M(e.rotate||0,n.rotate||0,i))}(s,r,this.latestValues,i,c,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(td(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tu.update(()=>{i1.hasAnimatedSinceResize=!0,nr.layout++,this.motionValue||(this.motionValue=t4(0)),this.currentAnimation=function(t,e,n){let i=tQ(t)?t:t4(t);return i.start(id("",i,e,n)),i.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{nr.layout--},onComplete:()=>{nr.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:n,layout:i,latestValues:r}=t;
1if(e&&n&&i){if(this!==t&&this.layout&&i&&rG(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||ei();let e=i_(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;let i=i_(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}rd(e,n),A(e,r),iE(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rk),this.sharedNodes.get(t).add(e);let n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return 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:n}={}){let i=this.getStack();i&&i.promote(this,n),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:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;let i={};n.z&&rj("z",t,i,this.animationValues);for(let e=0;e<rT.length;e++)rj(`rotate${rT[e]}`,t,i,this.animationValues),rj(`skew${rT[e]}`,t,i,this.animationValues);for(let e in t.render(),i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=eQ(e?.pointerEvents)||"",t.transform=n?n(this.latestValues,""):"none";return}let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eQ(e?.pointerEvents)||""),this.hasProjected&&!T(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(t,e,n){let i="",r=t.x.translate/e.x,s=t.y.translate/e.y,a=n?.z||0;if((r||s||a)&&(i=`translate3d(${r}px, ${s}px, ${a}px) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),n){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:a,skewY:o}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),r&&(i+=`rotateX(${r}deg) `),s&&(i+=`rotateY(${s}deg) `),a&&(i+=`skewX(${a}deg) `),o&&(i+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(i+=`scale(${o}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);n&&(s=n(r,s)),t.transform=s;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,i.animationValues?t.opacity=i===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=i===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,ek){if(void 0===r[e])continue;let{correct:n,applyTo:a,isCSSVariable:o}=ek[e],l="none"===s?r[e]:n(r[e],i);if(a){let e=a.length;for(let n=0;n<e;n++)t[a[n]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=i===this?eQ(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(rO),this.root.sharedNodes.clear()}}}function r_(t){t.updateLayout()}function rD(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:i}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?iN(t=>{let i=s?e.measuredBox[t]:e.layoutBox[t],r=i_(i);i.min=n[t].min,i.max=i.min+r}):rG(r,e.layoutBox,n)&&iN(i=>{let r=s?e.measuredBox[i]:e.layoutBox[i],a=i_(n[i]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+a)});let a=ee();iE(a,n,e.layoutBox);let o=ee();s?iE(o,t.applyTransform(i,!0),e.measuredBox):iE(o,n,e.layoutBox);let l=!ry(a),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:r,layout:s}=i;if(r&&s){let a=ei();iO(a,e.layoutBox,r.layoutBox);let o=ei();iO(o,n,s.layoutBox),rb(a,o)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rE(t){to.value&&rS.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 rA(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rV(t){t.clearSnapshot()}function rO(t){t.clearMeasurements()}function rN(t){t.isLayoutDirty=!1}function rR(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rI(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rH(t){t.resolveTargetDelta()}function rF(t){t.calcProjection()}function rB(t){t.resetSkewAndRotation()}function rq(t){t.removeLeadSnapshot()}function rz(t,e,n){t.translate=M(e.translate,0,n),t.scale=M(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function rW(t,e,n,i){t.min=M(e.min,n.min,i),t.max=M(e.max,n.max,i)}function rY(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let r$={duration:.45,ease:[.4,0,.1,1]},rU=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),rX=rU("applewebkit/")&&!rU("chrome/")?Math.round:tr;function rZ(t){t.min=rX(t.min),t.max=rX(t.max)}function rG(t,e,n){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rC(e)-rC(n)))}function rQ(t){return t!==t.root&&t.scroll?.wasRoot}let rK=rL({attachResizeListener:(t,e)=>iT(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rJ={current:void 0},r1=rL({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rJ.current){let t=new rK({});t.mount(window),t.setOptions({layoutScroll:!0}),rJ.current=t}return rJ.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function r0(t,e){let n=function(t,e,n){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,n=(void 0)??e.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t)}(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function r2(t){return!("touch"===t.pointerType||iS.x||iS.y)}function r3(t,e,n){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);let r=i["onHover"+n];r&&tu.postRender(()=>r(e,ij(e)))}class r5 extends ib{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,s]=r0(t,n),a=t=>{if(!r2(t))return;let{target:n}=t,i=e(n,t);if("function"!=typeof i||!n)return;let s=t=>{r2(t)&&(i(t),n.removeEventListener("pointerleave",s))};n.addEventListener("pointerleave",s,r)};return i.forEach(t=>{t.addEventListener("pointerenter",a,r)}),s}(t,(t,e)=>(r3(this.node,e,"Start"),t=>r3(this.node,t,"End"))))}unmount(){}}class r4 extends ib{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=nn(iT(this.node.current,"focus",()=>this.onFocus()),iT(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let r8=(t,e)=>!!e&&(t===e||r8(t,e.parentElement)),r9=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),r6=new WeakSet;function r7(t){return e=>{"Enter"===e.key&&t(e)}}function st(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function se(t){return iP(t)&&!(iS.x||iS.y)}function sn(t,e,n){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);let r=i["onTap"+("End"===n?"":n)];r&&tu.postRender(()=>r(e,ij(e)))}class si extends ib{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){let[i,r,s]=r0(t,n),a=t=>{let i=t.currentTarget;if(!se(t))return;r6.add(i);let s=e(i,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),r6.has(i)&&r6.delete(i),se(t)&&"function"==typeof s&&s(t,{success:e})},o=t=>{a(t,i===window||i===document||n.useGlobalTarget||r8(i,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};
1return i.forEach(t=>{(n.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),i9(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>((t,e)=>{let n=t.currentTarget;if(!n)return;let i=r7(()=>{if(r6.has(n))return;st(n,"down");let t=r7(()=>{st(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>st(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,r)),r9.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sn(this.node,e,"Start"),(t,{success:e})=>sn(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let sr=new WeakMap,ss=new WeakMap,sa=t=>{let e=sr.get(t.target);e&&e(t)},so=t=>{t.forEach(sa)},sl={some:0,all:1};class su extends ib{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:sl[i]},a=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:n,onViewportLeave:i}=this.node.getProps(),s=e?n:i;s&&s(t)};var o=this.node.current;let l=function({root:t,...e}){let n=t||document;ss.has(n)||ss.set(n,{});let i=ss.get(n),r=JSON.stringify(e);return i[r]||(i[r]=new IntersectionObserver(so,{root:t,...e})),i[r]}(s);return sr.set(o,a),l.observe(o),()=>{sr.delete(o),l.unobserve(o)}}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 n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}let sd=function(t,e){if("undefined"==typeof Proxy)return e8;let n=new Map,i=(n,i)=>e8(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(r,s)=>"create"===s?i:(n.has(s)||n.set(s,e8(s,void 0,t,e)),n.get(s))})}({animation:{Feature:iC},exit:{Feature:ik},inView:{Feature:su},tap:{Feature:si},focus:{Feature:r4},hover:{Feature:r5},pan:{Feature:iJ},drag:{Feature:iQ,ProjectionNode:r1,MeasureLayout:i4},layout:{ProjectionNode:r1,MeasureLayout:i4}},(t,e)=>eR(t)?new eO(e):new eP(e,{allowProjection:t!==r.Fragment}))},1124:(t,e)=>{"use strict";function n(t){var e;let{config:n,src:i,width:r,quality:s}=t,a=s||(null==(e=n.qualities)?void 0:e.reduce((t,e)=>Math.abs(e-75)<Math.abs(t-75)?e:t))||75;return n.path+"?url="+encodeURIComponent(i)+"&w="+r+"&q="+a+(i.startsWith("/_next/static/media/"),"")}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}}),n.__next_img_default=!0;let i=n},1150:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return l}});let i=n(5155),r=n(2115),s=n(4437);function a(t){return{default:t&&"default"in t?t.default:t}}n(6552);let o={loader:()=>Promise.resolve(a(()=>null)),loading:null,ssr:!0},l=function(t){let e={...o,...t},n=(0,r.lazy)(()=>e.loader().then(a)),l=e.loading;function u(t){let a=l?(0,i.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,o=!e.ssr||!!e.loading,u=o?r.Suspense:r.Fragment,d=e.ssr?(0,i.jsxs)(i.Fragment,{children:[null,(0,i.jsx)(n,{...t})]}):(0,i.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(n,{...t})});return(0,i.jsx)(u,{...o?{fallback:a}:{},children:d})}return u.displayName="LoadableComponent",u}},1262:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return a}});let i=n(2115),r=i.useLayoutEffect,s=i.useEffect;function a(t){let{headManager:e,reduceComponentsToState:n}=t;function a(){if(e&&e.mountedInstances){let r=i.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(n(r,t))}}return r(()=>{var n;return null==e||null==(n=e.mountedInstances)||n.add(t.children),()=>{var n;null==e||null==(n=e.mountedInstances)||n.delete(t.children)}}),r(()=>(e&&(e._pendingUpdate=a),()=>{e&&(e._pendingUpdate=a)})),s(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},1353:(t,e,n)=>{"use strict";n.d(e,{$:()=>s});var i=n(5155);n(5648);let r={"oi-button":"_oi-button_1d4st_1","oi-button--small":"_oi-button--small_1d4st_19","oi-button--medium":"_oi-button--medium_1d4st_25","oi-button--large":"_oi-button--large_1d4st_31","oi-button--primary":"_oi-button--primary_1d4st_37","oi-button--secondary":"_oi-button--secondary_1d4st_42"};function s({label:t,btnType:e="primary",onClick:n,disabled:s=!1,size:a="medium",className:o="",href:l,target:u,rel:d}){let c=r["oi-button"],h=[c,r[`oi-button--${a}`],r[`oi-button--${e}
1`],o].filter(Boolean).join(" ");return l?(0,i.jsx)("a",{className:h,href:l,target:u||"_self",rel:d??("_blank"===u?"noreferrer":void 0),"data-ui-kit":"button",children:t}):(0,i.jsx)("button",{className:h,onClick:n,disabled:s,"data-ui-kit":"button",children:(0,i.jsx)("span",{children:t})})}},1356:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return x}});let i=n(8140),r=n(9417),s=n(5155),a=r._(n(2115)),o=i._(n(7650)),l=i._(n(4841)),u=n(5040),d=n(821),c=n(3455);n(4781);let h=n(9862),f=i._(n(1124)),m=n(3011),p={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/en/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(t,e,n,i,r,s,a){let o=null==t?void 0:t.src;t&&t["data-loaded-src"]!==o&&(t["data-loaded-src"]=o,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&r(!0),null==n?void 0:n.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let i=!1,r=!1;n.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>i,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{i=!0,e.preventDefault()},stopPropagation:()=>{r=!0,e.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(t)}}))}function v(t){return a.use?{fetchPriority:t}:{fetchpriority:t}}let y=(0,a.forwardRef)((t,e)=>{let{src:n,srcSet:i,sizes:r,height:o,width:l,decoding:u,className:d,style:c,fetchPriority:h,placeholder:f,loading:p,unoptimized:y,fill:w,onLoadRef:x,onLoadingCompleteRef:b,setBlurComplete:C,setShowAltText:M,sizesInput:k,onLoad:S,onError:T,...P}=t,j=(0,a.useCallback)(t=>{t&&(T&&(t.src=t.src),t.complete&&g(t,f,x,b,C,y,k))},[n,f,x,b,C,T,y,k]),L=(0,m.useMergedRef)(e,j);return(0,s.jsx)("img",{...P,...v(h),loading:p,width:l,height:o,decoding:u,"data-nimg":w?"fill":"1",className:d,style:c,sizes:r,srcSet:i,src:n,ref:L,onLoad:t=>{g(t.currentTarget,f,x,b,C,y,k)},onError:t=>{M(!0),"empty"!==f&&C(!0),T&&T(t)}})});function w(t){let{isAppRouter:e,imgAttributes:n}=t,i={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...v(n.fetchPriority)};return e&&o.default.preload?(o.default.preload(n.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...i},"__nimg-"+n.src+n.srcSet+n.sizes)})}let x=(0,a.forwardRef)((t,e)=>{let n=(0,a.useContext)(h.RouterContext),i=(0,a.useContext)(c.ImageConfigContext),r=(0,a.useMemo)(()=>{var t;let e=p||i||d.imageConfigDefault,n=[...e.deviceSizes,...e.imageSizes].sort((t,e)=>t-e),r=e.deviceSizes.sort((t,e)=>t-e),s=null==(t=e.qualities)?void 0:t.sort((t,e)=>t-e);return{...e,allSizes:n,deviceSizes:r,qualities:s}},[i]),{onLoad:o,onLoadingComplete:l}=t,m=(0,a.useRef)(o);(0,a.useEffect)(()=>{m.current=o},[o]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,x]=(0,a.useState)(!1),[b,C]=(0,a.useState)(!1),{props:M,meta:k}=(0,u.getImgProps)(t,{defaultLoader:f.default,imgConf:r,blurComplete:v,showAltText:b});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{...M,unoptimized:k.unoptimized,placeholder:k.placeholder,fill:k.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:C,sizesInput:t.sizes,ref:e}),k.priority?(0,s.jsx)(w,{isAppRouter:!n,imgAttributes:M}):null]})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1402:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{default:function(){return v},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return p}});let i=n(8140),r=n(9417),s=n(5155),a=i._(n(7650)),o=r._(n(2115)),l=n(2073),u=n(4681),d=n(4853),c=new Map,h=new Set,f=t=>{let{src:e,id:n,onLoad:i=()=>{},onReady:r=null,dangerouslySetInnerHTML:s,children:o="",strategy:l="afterInteractive",onError:d,stylesheets:f}=t,m=n||e;if(m&&h.has(m))return;if(c.has(e)){h.add(m),c.get(e).then(i,d);return}let p=()=>{r&&r(),h.add(m)},g=document.createElement("script"),v=new Promise((t,e)=>{g.addEventListener("load",function(e){t(),i&&i.call(this,e),p()}),g.addEventListener("error",function(t){e(t)})}).catch(function(t){d&&d(t)});s?(g.innerHTML=s.__html||"",p()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",p()):e&&(g.src=e,c.set(e,v)),(0,u.setAttributesFromProps)(g,t),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),f&&(t=>{if(a.default.preinit)return t.forEach(t=>{a.default.preinit(t,{as:"style"})});{let e=document.head;t.forEach(t=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=t,e.appendChild(n)})}})(f),document.body.appendChild(g)};function m(t){let{strategy:e="afterInteractive"}=t;"lazyOnload"===e?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>f(t))}):f(t)}function p(t){t.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEac
1h(t=>{let e=t.id||t.getAttribute("src");h.add(e)})}function g(t){let{id:e,src:n="",onLoad:i=()=>{},onReady:r=null,strategy:u="afterInteractive",onError:c,stylesheets:m,...p}=t,{updateScripts:g,scripts:v,getIsSsr:y,appDir:w,nonce:x}=(0,o.useContext)(l.HeadManagerContext);x=p.nonce||x;let b=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let t=e||n;b.current||(r&&t&&h.has(t)&&r(),b.current=!0)},[r,e,n]);let C=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!C.current){if("afterInteractive"===u)f(t);else"lazyOnload"===u&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>f(t)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>f(t))}));C.current=!0}},[t,u]),("beforeInteractive"===u||"worker"===u)&&(g?(v[u]=(v[u]||[]).concat([{id:e,src:n,onLoad:i,onReady:r,onError:c,...p,nonce:x}]),g(v)):y&&y()?h.add(e||n):y&&!y()&&f({...t,nonce:x})),w){if(m&&m.forEach(t=>{a.default.preinit(t,{as:"style"})}),"beforeInteractive"===u)if(!n)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p,id:e}])+")"}});else return a.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin}),(0,s.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...p,id:e}])+")"}});"afterInteractive"===u&&n&&a.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let v=g;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},2039:()=>{},2118:(t,e,n)=>{"use strict";n.d(e,{a:()=>r});var i=n(4168);function r(t,e){return(0,i.w)(e||t,t)}},2162:(t,e,n)=>{"use strict";n.d(e,{q:()=>r});let i={};function r(){return i}},2192:(t,e,n)=>{"use strict";n.d(e,{k:()=>s});var i=n(2162),r=n(2118);function s(t,e){var n,s,a,o,l,u,d,c;let h=(0,i.q)(),f=null!=(c=null!=(d=null!=(u=null!=(l=null==e?void 0:e.weekStartsOn)?l:null==e||null==(s=e.locale)||null==(n=s.options)?void 0:n.weekStartsOn)?u:h.weekStartsOn)?d:null==(o=h.locale)||null==(a=o.options)?void 0:a.weekStartsOn)?c:0,m=(0,r.a)(t,null==e?void 0:e.in),p=m.getDay();return m.setDate(m.getDate()-(7*(p<f)+p-f)),m.setHours(0,0,0,0),m}},2646:(t,e,n)=>{"use strict";n.d(e,{c:()=>a});var i=n(4168),r=n(2859),s=n(3366);function a(t,e){var n;return function(t,e,n){let[i,a]=(0,r.x)(void 0,t,e);return+(0,s.o)(i)==+(0,s.o)(a)}((0,i.w)((null==e?void 0:e.in)||t,t),(n=(null==e?void 0:e.in)||t,(0,i.w)(n,Date.now())))}},2731:(t,e,n)=>{"use strict";n.d(e,{p:()=>a});var i=n(4168),r=n(3177),s=n(2118);function a(t,e){let n=(0,s.a)(t,null==e?void 0:e.in),a=n.getFullYear(),o=(0,i.w)(n,0);o.setFullYear(a+1,0,4),o.setHours(0,0,0,0);let l=(0,r.b)(o),u=(0,i.w)(n,0);u.setFullYear(a,0,4),u.setHours(0,0,0,0);let d=(0,r.b)(u);return n.getTime()>=l.getTime()?a+1:n.getTime()>=d.getTime()?a:a-1}},2765:()=>{},2859:(t,e,n)=>{"use strict";n.d(e,{x:()=>r});var i=n(4168);function r(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];let s=i.w.bind(null,t||n.find(t=>"object"==typeof t));return n.map(s)}},2898:(t,e,n)=>{"use strict";n.d(e,{N:()=>u});var i=n(9180),r=n(2192),s=n(2162),a=n(4168),o=n(4964),l=n(2118);function u(t,e){let n=(0,l.a)(t,null==e?void 0:e.in);return Math.round(((0,r.k)(n,e)-function(t,e){var n,i,l,u,d,c,h,f;let m=(0,s.q)(),p=null!=(f=null!=(h=null!=(c=null!=(d=null==e?void 0:e.firstWeekContainsDate)?d:null==e||null==(i=e.locale)||null==(n=i.options)?void 0:n.firstWeekContainsDate)?c:m.firstWeekContainsDate)?h:null==(u=m.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?f:1,g=(0,o.h)(t,e),v=(0,a.w)((null==e?void 0:e.in)||t,0);return v.setFullYear(g,0,p),v.setHours(0,0,0,0),(0,r.k)(v,e)}(n,e))/i.my)+1}},2935:(t,e,n)=>{"use strict";n.d(e,{n:()=>a});var i=n(5155),r=n(2115);n(9378);let s={accordionWrapper:"_accordionWrapper_38zzg_1",accordionBtn:"_accordionBtn_38zzg_5",accordionTitle:"_accordionTitle_38zzg_14",accordionIcon:"_accordionIcon_38zzg_21",accordionArrowDown:"_accordionArrowDown_38zzg_31",accordionArrowUp:"_accordionArrowUp_38zzg_35",accordionContent:"_accordionContent_38zzg_39",accordionContentInner:"_accordionContentInner_38zzg_48"};function a({title:t,children:e,onClick:n}){let[a,o]=(0,r.useState)(!1),l=(0,r.useRef)(null),[u,d]=(0,r.useState)("0px");return(0,r.useEffect)(()=>{l.current&&d(a?`${l.current.scrollHeight}px`:"0px")},[a,e]),(0,i.jsxs)("div",{className:s.accordionWrapper,"data-ui-kit":"accordion",children:[(0,i.jsxs)("div",{className:s.accordionBtn,onClick:()=>{n&&n(),o(!a)},children:[(0,i.jsx)("h5",{className:s.accordionTitle,children:t}),(0,i.jsx)("div",{className:`${s.accordionIcon} ${a?s.accordionArrowUp:s.accordionArrowDown}`,children:(0,i.jsxs)("svg",{width:"23",height:"22",viewBox:"0 0 23 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M11.5 0.5C10.1211 0.5 8.75574 0.77159 7.48182 1.29926C6.20791 1.82694 5.05039 2.60036 4.07538 3.57538C3.10036 4.55039 2.32694 5.70791 1.79927 6.98182C1.27159 8.25574 1 9.62112 1 11C1 12.3789 1.27159 13.7443 1.79927 15.0182C2.32694 16.2921 3.10036 17.4496 4.07538 18.4246C5.05039 19.3996 6.20791 20.1731 7.48182 20.7007C8.75574 21.2284 10.1211 21.5 11.5 21.5C14.2848 21.5 16.9555 20.3938 18.9246 18.4246C20.8938 16.4555 22 13.7848 22 11C22 8.21523 20.8938 5.54451 18.9246 3.57538C16.9555 1.60625 14.2848 0.5 11.5 0.5Z",stroke:"#2D2D2D",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M15 9.8335L11.5 13.3335L8 9.8335",stroke:"#2D2D2D",strokeLinecap:"round",strokeLinejoin:"round"})]})})]}),(0,i.jsx)("div",{ref:l,className:s.accordionContent,style:{maxHeight:u},children:(0,i.jsx)("div",{className:s.accordionContentInner,children:e})})]})}},3011:(t,e,n)=>{"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return r}});let i=n(2115);function r(t,e){let n=(0,i.useRef)(null),r=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let t=n.current;t&&(n.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(n.current=s(t,i)),e&&(r.current=s(e,i))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let n=t(e);return"function"==typeof n?n:()=>t(null)}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},3177:(t,e,n)=>{"use strict";n.d(e,{b:()=>r});var i=n(2192);function r(t,e){return(0,i.k)(t,{...e,weekStartsOn:1})}},3366:(t,e,n)=>{"use strict";n.d(e,{o:()=>r});var i=n(2118);function r(t,e){let n=(0,i.a)(t,null==e?void 0:e.in);return n.setHours(0,0,0,0),n}},3455:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let i=n(8140)._(n(2115)),r=n(821),s=i.default.createContext(r.imageConfigDefault)},3671:t=>{t.exports={style:{fontFamily:"'cofoKak', 'cofoKak Fallback'",fontStyle:"normal"},className:"__className_7d2c09"}},3796:(t,e,n)=>{"use strict";n.d(e,{qg:()=>tw});var i=n(6217),r=n(9357),s=n(4136),a=n(4168),o=n(2162),l=n(2118);class u{validate(t,e){return!0}constructor(){this.subPriority=0}}class d extends u{validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,n){return this.setValue(t,e,this.value,n)}constructor(t,e,n,i,r){super(),this.value=t,this.validateValue=e,this.setValue=n,this.priority=i,r&&(this.subPriority=r)}}class c extends u{set(t,e){return e.timestampIsSet?t:(0,a.w)(t,function(t,e){var n,i;let r="function"==typeof(n=e)&&(null==(i=n.prototype)?void 0:i.constructor)===n?new e(0):(0,a.w)(e,0);return r.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),r.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),r}(t,this.context))}constructor(t,e){super(),this.priority=10,this.subPriority=-1,this.context=t||(t=>(0,a.w)(e,t))}}class h{run(t,e,n,i){let r=this.parse(t,e,n,i);return r?{setter:new d(r.value,this.validate,this.set,this.priority,this.subPriority),rest:r.rest}:null}validate(t,e,n){return!0}}class f extends h{parse(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,e,n){return e.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=140,this.incompatibleTokens=["R","u","t","T"]}}var m=n(9180);let p={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},g={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function v(t,e){return t?{value:e(t.value),rest:t.rest}:t}function y(t,e){let n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function w(t,e){let n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};let i="+"===n[1]?1:-1,r=n[2]?parseInt(n[2],10):0,s=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:i*(r*m.s0+s*m.Cg+a*m._m),rest:e.slice(n[0].length)}}function x(t){return y(p.anyDigitsSigned,t)}function b(t,e){switch(t){case 1:return y(p.singleDigit,e);case 2:return y(p.twoDigits,e);case 3:return y(p.threeDigits,e);case 4:return y(p.fourDigits,e);default:return y(RegExp("^\\d{1,"+t+"}"),e)}}function C(t,e){switch(t){case 1:return y(p.singleDigitSigned,e);case 2:return y(p.twoDigitsSigned,e);case 3:return y(p.threeDigitsSigned,e);case 4:return y(p.fourDigitsSigned,e);default:return y(RegExp("^-?\\d{1,"+t+"}"),e)}}function M(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function k(t,e){let n,i=e>0,r=i?e:1-e;if(r<=50)n=t||100;else{let e=r+50;n=t+100*Math.trunc(e/100)-100*(t>=e%100)}return i?n:1-n}function S(t){return t%400==0||t%4==0&&t%100!=0}class T extends h{parse(t,e,n){let i=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return v(b(4,t),i);case"yo":return v(n.ordinalNumber(t,{unit:"year"}),i);default:return v(b(e.length,t),i)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n){let i=t.getFullYear();if(n.isTwoDigitYear){let e=k(n.year,i);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}let r="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"]}}var P=n(4964),j=n(2192);class L extends h{parse(t,e,n){let i=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return v(b(4,t),i);case"Yo":return v(n.ordinalNumber(t,{unit:"year"}),i);default:return v(b(e.length,t),i)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n,i){let r=(0,P.h)(t,i);if(n.isTwoDigitYear){let e=k(n.year,r);return t.setFullYear(e,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),(0,j.k)(t,i)}let s="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(s,0,i.firstWeekContainsDate),t.setHours(0,0,0,0),(0,j.k)(t,i)}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}}var _=n(3177);class D extends h{parse(t,e){return"R"===e?C(4,t):C(e.length,t)}set(t,e,n){let i=(0,a.w)(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),(0,_.b)(i)}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}}class E extends h{parse(t,e){return"u"===e?C(4,t):C(e.length,t)}set(t,e,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=130,this.incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}}class A extends h{parse(t,e,n){switch(e){case"Q":case"QQ":return b(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=120,this.incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}}class V extends h{parse(t,e,n){switch(e){case"q":case"qq":return b(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth((n-1)*3,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=120,this.incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}}class O extends h{parse(t,e,n){let i=t=>t-1;switch(e){case"M":return v(y(p.month,t),i);case"MM":return v(b(2,t),i);case"Mo":return v(n.ordinalNumber(t,{unit:"month"}),i);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"],this.priority=110}}class N extends h{parse(t,e,n){let i=t=>t-1;switch(e){case"L":return v(y(p.month,t),i);case"LL":return v(b(2,t),i);case"Lo":return v(n.ordinalNumber(t,{unit:"month"}),i);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=110,this.incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}}var R=n(2898);class I extends h{parse(t,e,n){switch(e){case"w":return y(p.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return b(e.length,t)}}validate(t,e){return e>=1&&e<=53}
1set(t,e,n,i){return(0,j.k)(function(t,e,n){let i=(0,l.a)(t,null==n?void 0:n.in),r=(0,R.N)(i,n)-e;return i.setDate(i.getDate()-7*r),(0,l.a)(i,null==n?void 0:n.in)}(t,n,i),i)}constructor(...t){super(...t),this.priority=100,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}}var H=n(6716);class F extends h{parse(t,e,n){switch(e){case"I":return y(p.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return b(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n){return(0,_.b)(function(t,e,n){let i=(0,l.a)(t,void 0),r=(0,H.s)(i,void 0)-e;return i.setDate(i.getDate()-7*r),i}(t,n))}constructor(...t){super(...t),this.priority=100,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}}let B=[31,28,31,30,31,30,31,31,30,31,30,31],q=[31,29,31,30,31,30,31,31,30,31,30,31];class z extends h{parse(t,e,n){switch(e){case"d":return y(p.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return b(e.length,t)}}validate(t,e){let n=S(t.getFullYear()),i=t.getMonth();return n?e>=1&&e<=q[i]:e>=1&&e<=B[i]}set(t,e,n){return t.setDate(n),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.subPriority=1,this.incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}}class W extends h{parse(t,e,n){switch(e){case"D":case"DD":return y(p.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return b(e.length,t)}}validate(t,e){return S(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.subpriority=1,this.incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}}function Y(t,e,n){let i=(0,l.a)(t,null==n?void 0:n.in);return isNaN(e)?(0,a.w)((null==n?void 0:n.in)||t,NaN):(e&&i.setDate(i.getDate()+e),i)}function $(t,e,n){var i,r,s,a,u,d,c,h;let f=(0,o.q)(),m=null!=(h=null!=(c=null!=(d=null!=(u=null==n?void 0:n.weekStartsOn)?u:null==n||null==(r=n.locale)||null==(i=r.options)?void 0:i.weekStartsOn)?d:f.weekStartsOn)?c:null==(a=f.locale)||null==(s=a.options)?void 0:s.weekStartsOn)?h:0,p=(0,l.a)(t,null==n?void 0:n.in),g=p.getDay(),v=7-m;return Y(p,e<0||e>6?e-(g+v)%7:((e%7+7)%7+v)%7-(g+v)%7,n)}class U extends h{parse(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return(t=$(t,n,i)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["D","i","e","c","t","T"]}}class X extends h{parse(t,e,n,i){let r=t=>{let e=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return v(b(e.length,t),r);case"eo":return v(n.ordinalNumber(t,{unit:"day"}),r);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return(t=$(t,n,i)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}}class Z extends h{parse(t,e,n,i){let r=t=>{let e=7*Math.floor((t-1)/7);return(t+i.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return v(b(e.length,t),r);case"co":return v(n.ordinalNumber(t,{unit:"day"}),r);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return(t=$(t,n,i)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}}class G extends h{parse(t,e,n){let i=t=>0===t?7:t;switch(e){case"i":case"ii":return b(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return v(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiii":return v(n.day(t,{width:"narrow",context:"formatting"}),i);case"iiiiii":return v(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i);default:return v(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),i)}}validate(t,e){return e>=1&&e<=7}set(t,e,n){return(t=function(t,e,n){let i=(0,l.a)(t,void 0),r=function(t,e){let n=(0,l.a)(t,
1null==e?void 0:e.in).getDay();return 0===n?7:n}(i,void 0);return Y(i,e-r,n)}(t,n)).setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=90,this.incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}}class Q extends h{parse(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(M(n),0,0,0),t}constructor(...t){super(...t),this.priority=80,this.incompatibleTokens=["b","B","H","k","t","T"]}}class K extends h{parse(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(M(n),0,0,0),t}constructor(...t){super(...t),this.priority=80,this.incompatibleTokens=["a","B","H","k","t","T"]}}class J extends h{parse(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(M(n),0,0,0),t}constructor(...t){super(...t),this.priority=80,this.incompatibleTokens=["a","b","t","T"]}}class tt extends h{parse(t,e,n){switch(e){case"h":return y(p.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return b(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,n){let i=t.getHours()>=12;return i&&n<12?t.setHours(n+12,0,0,0):i||12!==n?t.setHours(n,0,0,0):t.setHours(0,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["H","K","k","t","T"]}}class te extends h{parse(t,e,n){switch(e){case"H":return y(p.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return b(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,n){return t.setHours(n,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["a","b","h","K","k","t","T"]}}class tn extends h{parse(t,e,n){switch(e){case"K":return y(p.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return b(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["h","H","k","t","T"]}}class ti extends h{parse(t,e,n){switch(e){case"k":return y(p.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return b(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,n){return t.setHours(n<=24?n%24:n,0,0,0),t}constructor(...t){super(...t),this.priority=70,this.incompatibleTokens=["a","b","h","H","K","t","T"]}}class tr extends h{parse(t,e,n){switch(e){case"m":return y(p.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return b(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setMinutes(n,0,0),t}constructor(...t){super(...t),this.priority=60,this.incompatibleTokens=["t","T"]}}class ts extends h{parse(t,e,n){switch(e){case"s":return y(p.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return b(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setSeconds(n,0),t}constructor(...t){super(...t),this.priority=50,this.incompatibleTokens=["t","T"]}}class ta extends h{parse(t,e){return v(b(e.length,t),t=>Math.trunc(t*Math.pow(10,-e.length+3)))}set(t,e,n){return t.setMilliseconds(n),t}constructor(...t){super(...t),this.priority=30,this.incompatibleTokens=["t","T"]}}var to=n(5805);class tl extends h{parse(t,e){switch(e){case"X":return w(g.basicOptionalMinutes,t);case"XX":return w(g.basic,t);case"XXXX":return w(g.basicOptionalSeconds,t);case"XXXXX":return w(g.extendedOptionalSeconds,t);default:return w(g.extended,t)}}set(t,e,n){return e.timestampIsSet?t:(0,a.w)(t,t.getTime()-(0,to.G)(t)-n)}constructor(...t){super(...t),this.priority=10,this.incompatibleTokens=["t","T","x"]}}class tu extends h{parse(t,e){switch(e){case"x":return w(g.basicOptionalMinutes,t);case"xx":return w(g.basic,t);case"xxxx":return w(g.basicOptionalSeconds,t);case"xxxxx":return w(g.extendedOptionalSeconds,t);default:return w(g.extended,t)}}set(t,e,n){return e.timestampIsSet?t:(0,a.w)(t,t.getTime()-(0,to.G)(t)-n)}constructor(...t){super(...t),this.priority=10,this.incompatibleTokens=["t","T","X"]}}class td extends h{parse(t){return x(t)}set(t,e,n){return[(0,a.w)(t,1e3*n),{timestampIsSet:!0}]}constructor(...t){super(...t),this.priority=40,this.incompatibleTokens="*"}}class tc extends h{parse(t){return x(t)}set(t,e,n){return[(0,a.w)(t,n),{timestampIsSet:!0}]}constructor(...t){super(...t),this.priority=20,this.incompatibleTokens="*"}}let th={G:new f,y:new T,Y:new L,R:new D,u:new E,Q:new A,q:new V,M:new O,L:new N,w:new I,I:new F,d:new z,D:new W,E:new U,e:new X,c:new Z,i:new G,a:new Q,b:new K,B:new J,h:new tt,H:new te,K:new tn,k:new ti,m:new tr,s:new ts,S:new ta,X:new tl,x:new tu,t:new td,T:new tc},tf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tm=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tp=/^'([^]*?)'?$/,tg=/''/g,tv=/\S/,ty=/[a-zA-Z]/;function tw(t,e,n,u){var d,h,f,m,p,g,v,y,w,x,b,C,M,k,S,T,P,j;let L=()=>(0,a.w)((null==u?void 0:u.in)||n,NaN),_=Object.assign({},(0,o.q)()),D=null!=(x=null!=(w=null==u?void 0:u.locale)?w:_.locale)?x:i.c,E=null!=(k=null!=(M=null!=(C=null!=(b=null==u?void 0:u.firstWeekContainsDate)?b:null==u||null==(h=u.locale)||null==(d=h.options)?void 0:d.firstWeekContainsDate)?C:_.firstWeekContainsDate)?M:null==(m=_.locale)||null==(f=m.options)?void 0:f.firstWeekContainsDate)?k:1,A=null!=(j=null!=(P=null!=(T=null!=(S=null==u?void 0:u.weekStartsOn)?S:null==u||null==(g=u.locale)||null==(p=g.options)?void 0:p.weekStartsOn)?T:_.weekStartsOn)?P:null==(y=_.locale)||null==(v=y.options)?void 0:v.weekStartsOn)?j:0;if(!e)return t?L():(0,l.a)(n,null==u?void 0:u.in);let V={firstWeekContainsDate:E,weekStartsOn:A,locale:D},O=[new c(null==u?void 0:u.in,n)],N=e.match(tm).map(t=>{let e=t[0];return e in r.m?(0,r.m[e])(t,D.formatLong):t}).join("").match(tf),R=[];for(let n of N){!(null==u?void 0:u.useAdditionalWeekYearTokens)&&(0,s.xM)(n)&&(0,s.Ss)(n,e,t),!(null==u?void 0:u.useAdditionalDayOfYearTokens)&&(0,s.ef)(n)&&(0,s.Ss)(n,e,t);let i=n[0],r=th[i];if(r){let{incompatibleTokens:e}=r;if(Array.isArray(e)){let t=R.find(t=>e.includes(t.token)||t.token===i);
1if(t)throw RangeError("The format string mustn't contain `".concat(t.fullToken,"` and `").concat(n,"` at the same time"))}else if("*"===r.incompatibleTokens&&R.length>0)throw RangeError("The format string mustn't contain `".concat(n,"` and any other token at the same time"));R.push({token:i,fullToken:n});let s=r.run(t,n,D.match,V);if(!s)return L();O.push(s.setter),t=s.rest}else{if(i.match(ty))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===n?n="'":"'"===i&&(n=n.match(tp)[1].replace(tg,"'")),0!==t.indexOf(n))return L();t=t.slice(n.length)}}if(t.length>0&&tv.test(t))return L();let I=O.map(t=>t.priority).sort((t,e)=>e-t).filter((t,e,n)=>n.indexOf(t)===e).map(t=>O.filter(e=>e.priority===t).sort((t,e)=>e.subPriority-t.subPriority)).map(t=>t[0]),H=(0,l.a)(n,null==u?void 0:u.in);if(isNaN(+H))return L();let F={};for(let t of I){if(!t.validate(H,V))return L();let e=t.set(H,F,V);Array.isArray(e)?(H=e[0],Object.assign(F,e[1])):H=e}return H}},3835:()=>{},4054:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{bindSnapshot:function(){return a},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return o}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class i{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(t){return t}}let r="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return r?new r:new i}function a(t){return r?r.bind(t):i.bind(t)}function o(){return r?r.snapshot():function(t,...e){return t(...e)}}},4105:(t,e)=>{"use strict";function n(t){let{widthInt:e,heightInt:n,blurWidth:i,blurHeight:r,blurDataURL:s,objectFit:a}=t,o=i?40*i:e,l=r?40*r:n,u=o&&l?"viewBox='0 0 "+o+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},4136:(t,e,n)=>{"use strict";n.d(e,{Ss:()=>l,ef:()=>a,xM:()=>o});let i=/^D+$/,r=/^Y+$/,s=["D","DD","YY","YYYY"];function a(t){return i.test(t)}function o(t){return r.test(t)}function l(t,e,n){let i=function(t,e,n){let i="Y"===t[0]?"years":"days of the month";return"Use `".concat(t.toLowerCase(),"` instead of `").concat(t,"` (in `").concat(e,"`) for formatting ").concat(i," to the input `").
1concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(t,e,n);if(console.warn(i),s.includes(t))throw RangeError(i)}},4168:(t,e,n)=>{"use strict";n.d(e,{w:()=>r});var i=n(9180);function r(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&i._P in t?t[i._P](e):t instanceof Date?new t.constructor(e):new Date(e)}},4437:(t,e,n)=>{"use strict";function i(t){let{reason:e,children:n}=t;return n}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BailoutToCSR",{enumerable:!0,get:function(){return i}}),n(4553)},4652:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{default:function(){return l},getImageProps:function(){return o}});let i=n(8140),r=n(5040),s=n(1356),a=i._(n(1124));function o(t){let{props:e}=(0,r.getImgProps)(t,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/en/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,n]of Object.entries(e))void 0===n&&delete e[t];return{props:e}}let l=s.Image},4770:()=>{},4841:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{default:function(){return p},defaultHead:function(){return c}});let i=n(8140),r=n(9417),s=n(5155),a=r._(n(2115)),o=i._(n(1262)),l=n(737),u=n(2073),d=n(861);function c(t){void 0===t&&(t=!1);let e=[(0,s.jsx)("meta",{charSet:"utf-8"},"charset")];return t||e.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),e}function h(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===a.default.Fragment?t.concat(a.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}n(4781);let f=["name","httpEquiv","charSet","itemProp"];function m(t,e){let{inAmpMode:n}=e;return t.reduce(h,[]).reverse().concat(c(n).reverse()).filter(function(){let t=new Set,e=new Set,n=new Set,i={};return r=>{let s=!0,a=!1;if(r.key&&"number"!=typeof r.key&&r.key.indexOf("$")>0){a=!0;let e=r.key.slice(r.key.indexOf("$")+1);t.has(e)?s=!1:t.add(e)}switch(r.type){case"title":case"base":e.has(r.type)?s=!1:e.add(r.type);break;case"meta":for(let t=0,e=f.length;t<e;t++){let e=f[t];if(r.props.hasOwnProperty(e))if("charSet"===e)n.has(e)?s=!1:n.add(e);else{let t=r.props[e],n=i[e]||new Set;("name"!==e||!a)&&n.has(t)?s=!1:(n.add(t),i[e]=n)}}}return s}}()).reverse().map((t,e)=>{let n=t.key||e;return a.default.cloneElement(t,{key:n})})}let p=function(t){let{children:e}=t,n=(0,a.useContext)(l.AmpStateContext),i=(0,a.useContext)(u.HeadManagerContext);return(0,s.jsx)(o.default,{reduceComponentsToState:m,headManager:i,inAmpMode:(0,d.isInAmpMode)(n),children:e})};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4853:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var n in e)Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}(e,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){let e=Date.now();return self.setTimeout(function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(t){return clearTimeout(t)};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4964:(t,e,n)=>{"use strict";n.d(e,{h:()=>o});var i=n(2162),r=n(4168),s=n(2192),a=n(2118);function o(t,e){var n,o,l,u,d,c,h,f;let m=(0,a.a)(t,null==e?void 0:e.in),p=m.getFullYear(),g=(0,i.q)(),v=null!=(f=null!=(h=null!=(c=null!=(d=null==e?void 0:e.firstWeekContainsDate)?d:null==e||null==(o=e.locale)||null==(n=o.options)?void 0:n.firstWeekContainsDate)?c:g.firstWeekContainsDate)?h:null==(u=g.locale)||null==(l=u.options)?void 0:l.firstWeekContainsDate)?f:1,y=(0,r.w)((null==e?void 0:e.in)||t,0);y.setFullYear(p+1,0,v),y.setHours(0,0,0,0);let w=(0,s.k)(y,e),x=(0,r.w)((null==e?void 0:e.in)||t,0);x.setFullYear(p,0,v),x.setHours(0,0,0,0);let b=(0,s.k)(x,e);return+m>=+w?p+1:+m>=+b?p:p-1}
1},5032:(t,e,n)=>{"use strict";n.d(e,{Zx:()=>s,ov:()=>r});var i=n(5155);let r="#EEF1F3",s=[{href:"https://www.youtube.com/@kakteper",icon:(0,i.jsx)("svg",{width:"24",height:"19",viewBox:"0 0 24 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.806 1.45389C23.525 2.26812 23.759 4.11767 23.759 4.11767C23.759 4.11767 24 6.28788 24 8.45809V10.4921C24 12.6623 23.76 14.8325 23.76 14.8325C23.76 14.8325 23.525 16.681 22.807 17.4942C21.984 18.4561 21.072 18.5567 20.557 18.6123C20.501 18.6186 20.449 18.6238 20.403 18.6301C17.043 18.9004 12 18.9099 12 18.9099C12 18.9099 5.76 18.846 3.84 18.6406C3.749 18.6217 3.639 18.607 3.514 18.5903C2.906 18.5085 1.952 18.3796 1.193 17.4942C0.474 16.681 0.239 14.8325 0.239 14.8325C0.239 14.8325 0 12.6633 0 10.4921V8.45809C0 6.28788 0.24 4.11767 0.24 4.11767C0.24 4.11767 0.475 2.26812 1.194 1.45389C2.02 0.488775 2.936 0.39132 3.45 0.336829C3.504 0.331589 3.554 0.325302 3.598 0.320062C6.956 0.0476074 11.994 0.0476074 11.994 0.0476074H12.005C12.005 0.0476074 17.043 0.0476074 20.402 0.320062C20.447 0.325302 20.496 0.331589 20.551 0.336829C21.065 0.39132 21.98 0.488775 22.806 1.45389ZM16.5 9.47874L9.5 14.1943V4.76318L16.5 9.47874Z",fill:"white"})})},{href:"https://www.instagram.com/ovdinfo/",icon:(0,i.jsxs)("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M10.0028 5.02588C7.1798 5.02588 4.8418 7.43396 4.8418 10.4341C4.8418 13.4342 7.1398 15.8423 10.0028 15.8423C12.8658 15.8423 15.1638 13.3913 15.1638 10.4341C15.1638 7.47692 12.8258 5.02588 10.0028 5.02588ZM10.0028 13.8995C8.1878 13.8995 6.6968 12.336 6.6968 10.4352C6.6968 8.53321 8.1888 6.97079 10.0028 6.97079C11.8168 6.97079 13.3088 8.53426 13.3088 10.4352C13.3098 12.336 11.8178 13.8995 10.0028 13.8995Z",fill:"white"}),(0,i.jsx)("path",{d:"M15.3624 6.12505C16.0084 6.12505 16.5314 5.57594 16.5314 4.90005C16.5314 4.2231 16.0074 3.67505 15.3624 3.67505C14.7174 3.67505 14.1934 4.22415 14.1934 4.90005C14.1924 5.57699 14.7164 6.12505 15.3624 6.12505Z",fill:"white"}),(0,i.jsx)("path",{d:"M18.387 1.73145C17.339 0.590285 15.847 -0.000732422 14.153 -0.000732422H5.847C2.339 -0.000732422 0 2.45031 0 6.12636V14.7883C0 16.6054 0.564 18.1689 1.694 19.31C2.783 20.4082 4.234 20.9584 5.888 20.9584H14.114C15.848 20.9584 17.3 20.3663 18.348 19.31C19.436 18.2108 20 16.6473 20 14.8302V6.12636C20 4.35121 19.436 2.8307 18.387 1.73145ZM18.226 14.8302C18.226 16.1401 17.783 17.1964 17.057 17.9153C16.331 18.6341 15.323 19.0135 14.113 19.0135H5.887C4.677 19.0135 3.669 18.6331 2.943 17.9153C2.217 17.1545 1.854 16.0982 1.854 14.7883V6.12636C1.854 4.8584 2.217 3.80211 2.943 3.04133C3.629 2.32352 4.677 1.94313 5.887 1.94313H14.193C15.403 1.94313 16.411 2.32352 17.137 3.0843C17.823 3.84507 18.226 4.90136 18.226 6.12636V14.8302Z",fill:"white"})]})},{href:"https://t.me/ovdinfo",icon:(0,i.jsx)("svg",{width:"20",height:"17",viewBox:"0 0 20 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7073 16.677C14.9653 16.8677 15.2973 16.9159 15.5933 16.7986C15.8893 16.6801 16.1063 16.415 16.1723 16.0944C16.8673 12.6709 18.5533 4.00469 19.1863 0.890325C19.2343 0.655594 19.1543 0.411433 18.9783 0.255295C18.8023 0.0981097 18.5583 0.0530499 18.3413 0.13793C14.9863 1.43943 4.65626 5.5011 0.434263 7.13793C0.166263 7.24167 -0.00773532 7.51203 0.000264681 7.80754C0.0102647 8.10409 0.200264 8.36188 0.474264 8.44781C2.36726 9.04092 4.85326 9.86667 4.85326 9.86667C4.85326 9.86667 6.01427 13.5427 6.62027 15.4122C6.69627 15.6469 6.87126 15.8313 7.10226 15.8953C7.33326 15.9581 7.57927 15.8921 7.75127 15.7213C8.72427 14.7593 10.2283 13.2713 10.2283 13.2713C10.2283 13.2713 13.0863 15.4677 14.7073 16.677ZM5.89927 9.40349L7.24326 14.0457L7.54127 11.1053C7.54127 11.1053 12.7303 6.20005 15.6893 3.40425C15.7753 3.32251 15.7873 3.18419 15.7153 3.08778C15.6443 2.99137 15.5133 2.96832 15.4143 3.03434C11.9863 5.33029 5.89927 9.40349 5.89927 9.40349Z",fill:"white"})})},{href:"https://x.com/ovdinfo",icon:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",children:(0,i.jsx)("path",{d:"M11.6468 8.65357L18.9321 0.184937H17.2057L10.8799 7.53813L5.82741 0.184937H0L7.6403 11.3043L0 20.1849H1.72649L8.40678 12.4197L13.7425 20.1849H19.5699L11.6464 8.65357H11.6468ZM9.28211 11.4022L8.50799 10.295L2.34857 1.48462H5.00037L9.97108 8.59488L10.7452 9.70211L17.2066 18.9444H14.5548L9.28211 11.4027V11.4022Z",fill:"white"})})},{href:"https://vk.com/ovdinfo",icon:(0,i.jsx)("svg",{width:"22",height:"13",viewBox:"0 0 22 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M21.09 11.5474C21.068 11.4981 21.044 11.451 21.018 11.4038C20.654 10.7154 19.958 9.87075 18.93 8.86791L18.908 8.84485L18.898 8.83437L18.887 8.8218H18.875C18.409 8.35548 18.114 8.04216 17.99 7.88078C17.764 7.5748 17.713 7.26566 17.837 6.95129C17.924 6.71447 18.252 6.21357 18.821 5.4486C19.12 5.04306 19.356 4.71821 19.531 4.47405C20.792 2.71357 21.339 1.58917 21.171 1.0998L21.106 0.984535C21.063 0.916421 20.95 0.852499 20.768 0.795912C20.585 0.738278 20.352 0.728847 20.068 0.766571L16.918 0.789625C16.846 0.770763 16.771 0.772859 16.7 0.795912L16.558 0.830493L16.503 0.858787L16.46 0.893367C16.413
10.925852 16.373 0.96672 16.34 1.01388C16.294 1.07465 16.257 1.14172 16.23 1.21403C15.903 2.10474 15.512 2.96821 15.06 3.79606C14.79 4.27076 14.543 4.68154 14.316 5.03049C14.147 5.30189 13.957 5.55968 13.748 5.7986C13.618 5.94112 13.479 6.07315 13.332 6.19471C13.209 6.29426 13.114 6.33617 13.048 6.32046C12.986 6.30579 12.924 6.29111 12.862 6.2754C12.758 6.20519 12.674 6.10773 12.616 5.99351C12.548 5.85414 12.505 5.70219 12.491 5.54606C12.471 5.39201 12.458 5.23692 12.452 5.08183C12.449 4.89845 12.451 4.71402 12.458 4.53064C12.465 4.29381 12.468 4.13244 12.468 4.0486C12.468 3.75833 12.474 3.44187 12.485 3.10235L12.512 2.29337C12.52 2.09426 12.523 1.88364 12.523 1.66148C12.527 1.48648 12.514 1.31148 12.485 1.13962C12.459 1.01388 12.421 0.890224 12.37 0.772859C12.323 0.659685 12.245 0.563278 12.146 0.49726C12.032 0.426003 11.909 0.373608 11.78 0.34217C11.394 0.249955 10.902 0.200703 10.304 0.193368C8.94799 0.177649 8.07699 0.269865 7.69099 0.467919C7.53299 0.555943 7.39199 0.67226 7.27499 0.812679C7.14499 0.980343 7.12499 1.07256 7.22099 1.08828C7.65799 1.15639 7.96799 1.32091 8.14999 1.58079L8.216 1.71911C8.266 1.81867 8.318 1.99471 8.369 2.24726C8.419 2.49875 8.45299 2.77854 8.46699 3.08453C8.50299 3.64306 8.50299 4.12196 8.46699 4.51911C8.43099 4.91731 8.39699 5.22644 8.36298 5.4486C8.33998 5.63513 8.29 5.81746 8.216 5.98827C8.177 6.07525 8.13299 6.15908 8.08399 6.23977C8.06999 6.26282 8.05099 6.28273 8.02999 6.2974C7.93499 6.33513 7.83499 6.35504 7.73399 6.35504C7.63199 6.35504 7.50799 6.30159 7.36299 6.19471C7.19498 6.06686 7.04299 5.91806 6.90899 5.75249C6.71199 5.50624 6.53499 5.24321 6.37899 4.96657C6.15599 4.57989 5.95098 4.18169 5.76598 3.773L5.591 3.43977C5.482 3.226 5.333 2.91372 5.143 2.50504C4.953 2.09636 4.78599 1.6992 4.63999 1.31672C4.59099 1.16897 4.49898 1.04112 4.37798 0.949954L4.32299 0.915373C4.26899 0.874505 4.20999 0.84202 4.14799 0.817918C4.06699 0.783338 3.983 0.758188 3.897 0.743517L0.900993 0.766571C0.594993 0.766571 0.386992 0.839924 0.277992 0.984535L0.233985 1.0537C0.207985 1.11133 0.196996 1.17421 0.200996 1.23708C0.200996 1.32091 0.22299 1.42465 0.26699 1.54621C0.70399 2.62555 1.17999 3.66612 1.69299 4.66791C2.20699 5.66971 2.653 6.47764 3.033 7.08857C3.398 7.68168 3.78399 8.25908 4.19099 8.8218C4.58399 9.36461 4.84499 9.71252 4.97199 9.86656C5.09999 10.0196 5.19999 10.1338 5.27299 10.2103L5.54699 10.4859C5.72199 10.6693 5.97799 10.8893 6.31699 11.146C6.65699 11.4017 7.03199 11.6543 7.44399 11.9037C7.85599 12.152 8.33399 12.3543 8.88099 12.5115C9.42799 12.6687 9.96099 12.7315 10.478 12.7001H11.735C11.99 12.6781 12.183 12.5932 12.315 12.4486L12.358 12.391C12.395 12.3249 12.423 12.2526 12.44 12.1782C12.466 12.0839 12.478 11.9781 12.478 11.8639C12.468 11.5652 12.492 11.2666 12.549 10.9731C12.604 10.7101 12.666 10.511 12.736 10.3769C12.837 10.1767 12.98 10.0038 13.156 9.8718C13.184 9.85608 13.214 9.8435 13.244 9.83198C13.419 9.7712 13.624 9.82988 13.862 10.0101C14.099 10.1904 14.321 10.4115 14.529 10.6755C14.737 10.9396 14.986 11.2362 15.278 11.5652C15.569 11.8943 15.824 12.1384 16.043 12.2987L16.262 12.4371C16.408 12.5293 16.597 12.6131 16.83 12.6896C17.063 12.7661 17.267 12.785 17.443 12.7472L20.242 12.7011C20.518 12.7011 20.734 12.6529 20.887 12.5576C21.04 12.4622 21.131 12.3564 21.16 12.2422C21.189 12.1143 21.191 11.9802 21.165 11.8513C21.15 11.7465 21.126 11.6449 21.09 11.5474Z",fill:"white"})})},{href:"https://www.facebook.com/ovdinfo",icon:(0,i.jsx)("svg",{width:"11",height:"21",viewBox:"0 0 11 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M6.69119 20.4334V11.3512H9.63919L10.0812 7.81137H6.69119V5.55209C6.69119 4.52724 6.96619 3.82933 8.38719 3.82933L10.2002 3.82828V0.662565C9.8862 0.619601 8.81019 0.523193 7.55919 0.523193C4.94519 0.523193 3.15619 2.17259 3.15619 5.20209V7.81241H0.200195V11.3522H3.15619V20.4344L6.69119 20.4334Z",fill:"white"})})}]},5040:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return l}}),n(4781);let i=n(4105),r=n(821),s=["-moz-initial","fill","none","scale-down",void 0];function a(t){return void 0!==t.default}function o(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function l(t,e){var n,l;let u,d,c,{src:h,sizes:f,unoptimized:m=!1,priority:p=!1,loading:g,className:v,quality:y,width:w,height:x,fill:b=!1,style:C,overrideSrc:M,onLoad:k,onLoadingComplete:S,placeholder:T="empty",blurDataURL:P,fetchPriority:j,decoding:L="async",layout:_,objectFit:D,objectPosition:E,lazyBoundary:A,lazyRoot:V,...O}=t,{imgConf:N,showAltText:R,blurComplete:I,defaultLoader:H}=e,F=N||r.imageConfigDefault;if("allSizes"in F)u=F;else{let t=[...F.deviceSizes,...F.imageSizes].sort((t,e)=>t-e),e=F.deviceSizes.sort((t,e)=>t-e),i=null==(n=F.qualities)?void 0:n.sort((t,e)=>t-e);u={...F,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===H)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,
1configurable:!0});let B=O.loader||H;delete O.loader,delete O.srcSet;let q="__next_img_default"in B;if(q){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=B;B=e=>{let{config:n,...i}=e;return t(i)}}if(_){"fill"===_&&(b=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[_];t&&(C={...C,...t});let e={responsive:"100vw",fill:"100vw"}[_];e&&!f&&(f=e)}let z="",W=o(w),Y=o(x);if((l=h)&&"object"==typeof l&&(a(l)||void 0!==l.src)){let t=a(h)?h.default:h;if(!t.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(t)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(t)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(d=t.blurWidth,c=t.blurHeight,P=P||t.blurDataURL,z=t.src,!b)if(W||Y){if(W&&!Y){let e=W/t.width;Y=Math.round(t.height*e)}else if(!W&&Y){let e=Y/t.height;W=Math.round(t.width*e)}}else W=t.width,Y=t.height}let $=!p&&("lazy"===g||void 0===g);(!(h="string"==typeof h?h:z)||h.startsWith("data:")||h.startsWith("blob:"))&&(m=!0,$=!1),u.unoptimized&&(m=!0),q&&!u.dangerouslyAllowSVG&&h.split("?",1)[0].endsWith(".svg")&&(m=!0);let U=o(y),X=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:E}:{},R?{}:{color:"transparent"},C),Z=I||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,i.getImageBlurSvg)({widthInt:W,heightInt:Y,blurWidth:d,blurHeight:c,blurDataURL:P||"",objectFit:X.objectFit})+'")':'url("'+T+'")',G=s.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Q=Z?{backgroundSize:G,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},K=function(t){let{config:e,src:n,unoptimized:i,width:r,quality:s,sizes:a,loader:o}=t;if(i)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(t,e,n){let{deviceSizes:i,allSizes:r}=t;if(n){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let i;i=t.exec(n);)e.push(parseInt(i[2]));if(e.length){let t=.01*Math.min(...e);return{widths:r.filter(e=>e>=i[0]*t),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof e?{widths:i,kind:"w"}:{widths:[...new Set([e,2*e].map(t=>r.find(e=>e>=t)||r[r.length-1]))],kind:"x"}}(e,r,a),d=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((t,i)=>o({config:e,src:n,quality:s,width:t})+" "+("w"===u?t:i+1)+u).join(", "),src:o({config:e,src:n,quality:s,width:l[d]})}}({config:u,src:h,unoptimized:m,width:W,quality:U,sizes:f,loader:B});return{props:{...O,loading:$?"lazy":g,fetchPriority:j,width:W,height:Y,decoding:L,className:v,style:{...X,...Q},sizes:K.sizes,srcSet:K.srcSet,src:M||K.src},meta:{unoptimized:m,priority:p,placeholder:T,fill:b}}}},5239:(t,e,n)=>{"use strict";n.d(e,{default:()=>r.a});var i=n(4652),r=n.n(i)},5503:(t,e,n)=>{"use strict";n.d(e,{GP:()=>j});var i=n(6217),r=n(2162),s=n(5805),a=n(2859),o=n(9180),l=n(3366),u=n(2118),d=n(6716),c=n(2731),h=n(2898),f=n(4964);function m(t,e){let n=Math.abs(t).toString().padStart(e,"0");return(t<0?"-":"")+n}let p={y(t,e){let n=t.getFullYear(),i=n>0?n:1-n;return m("yy"===e?i%100:i,e.length)},M(t,e){let n=t.getMonth();return"M"===e?String(n+1):m(n+1,2)},d:(t,e)=>m(t.getDate(),e.length),a(t,e){let n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(t,e)=>m(t.getHours()%12||12,e.length),H:(t,e)=>m(t.getHours(),e.length),m:(t,e)=>m(t.getMinutes(),e.length),s:(t,e)=>m(t.getSeconds(),e.length),S(t,e){let n=e.length;return m(Math.trunc(t.getMilliseconds()*Math.pow(10,n-3)),e.length)}},g={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},v={G:function(t,e,n){let i=+(t.getFullYear()>0);switch(e){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(t,e,n){if("yo"===e){let e=t.getFullYear();return n.ordinalNumber(e>0?e:1-e,{unit:"year"})}return p.y(t,e)},Y:function(t,e,n,i){let r=(0,f.h)(t,i),s=r>0?r:1-r;return"YY"===e?m(s%100,2):"Yo"===e?n.ordinalNumber(s,{unit:"year"}):m(s,e.length)},R:function(t,e){return m((0,c.p)(t),e.length)},u:function(t,e){return m(t.getFullYear(),e.length)},Q:function(t,e,n){let i=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(i);case"QQ":return m(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,e,n){let i=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(i);case"qq":return m(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,e,n){let i=t.getMonth();switch(e){case"M":case"MM":return p.M(t,e);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,e,n){let i=t.getMonth();switch(e){case"L":return String(i+1);case"LL":return m(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,e,n,i){let r=(0,h.N)(t,i);return"wo"===e?n.ordinalNumber(r,{unit:"week"}):m(r,e.length)},I:function(t,e,n){let i=(0,d.s)(t);return"Io"===e?n.ordinalNumber(i,{unit:"week"}):m(i,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):p.d(t,e)},D:function(t,e,n){let i=function(t,e){let n=(0,u.a)(t,void 0);return function(t,e,n){let[i,r]=(0,a.x)(void 0,t,e),u=(0,l.o)(i),d=(0,l.o)(r);return Math.round((u-(0,s.G)(u)-(d-(0,s.G)(d)))/o.w4)}(n,function(t,e){let n=(0,u.a)(t,void 0);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n))+1}(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):m(i,e.length)},E:function(t,e,n){let i=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,e,n,i){let r=t.getDay(),s=(r-i.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return m(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,i){let r=t.getDay(),s=(r-i.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return m(s,e.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n){let i=t.getDay(),r=0===i?7:i;switch(e){case"i":return String(r);case"ii":return m(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,e,n){let i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,e,n){let i,r=t.getHours();switch(i=12===r?g.noon:0===r?g.midnight:r/12>
1=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){let i,r=t.getHours();switch(i=r>=17?g.evening:r>=12?g.afternoon:r>=4?g.morning:g.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return p.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):p.H(t,e)},K:function(t,e,n){let i=t.getHours()%12;return"Ko"===e?n.ordinalNumber(i,{unit:"hour"}):m(i,e.length)},k:function(t,e,n){let i=t.getHours();return(0===i&&(i=24),"ko"===e)?n.ordinalNumber(i,{unit:"hour"}):m(i,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):p.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):p.s(t,e)},S:function(t,e){return p.S(t,e)},X:function(t,e,n){let i=t.getTimezoneOffset();if(0===i)return"Z";switch(e){case"X":return w(i);case"XXXX":case"XX":return x(i);default:return x(i,":")}},x:function(t,e,n){let i=t.getTimezoneOffset();switch(e){case"x":return w(i);case"xxxx":case"xx":return x(i);default:return x(i,":")}},O:function(t,e,n){let i=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+y(i,":");default:return"GMT"+x(i,":")}},z:function(t,e,n){let i=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+y(i,":");default:return"GMT"+x(i,":")}},t:function(t,e,n){return m(Math.trunc(t/1e3),e.length)},T:function(t,e,n){return m(+t,e.length)}};function y(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t>0?"-":"+",i=Math.abs(t),r=Math.trunc(i/60),s=i%60;return 0===s?n+String(r):n+String(r)+e+m(s,2)}function w(t,e){return t%60==0?(t>0?"-":"+")+m(Math.abs(t)/60,2):x(t,e)}function x(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Math.abs(t);return(t>0?"-":"+")+m(Math.trunc(n/60),2)+e+m(n%60,2)}var b=n(9357),C=n(4136);let M=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,k=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,S=/^'([^]*?)'?$/,T=/''/g,P=/[a-zA-Z]/;function j(t,e,n){var s,a,o,l,d,c,h,f,m,p,g,y,w,x,j,L,_,D;let E=(0,r.q)(),A=null!=(p=null!=(m=null==n?void 0:n.locale)?m:E.locale)?p:i.c,V=null!=(x=null!=(w=null!=(y=null!=(g=null==n?void 0:n.firstWeekContainsDate)?g:null==n||null==(a=n.locale)||null==(s=a.options)?void 0:s.firstWeekContainsDate)?y:E.firstWeekContainsDate)?w:null==(l=E.locale)||null==(o=l.options)?void 0:o.firstWeekContainsDate)?x:1,O=null!=(D=null!=(_=null!=(L=null!=(j=null==n?void 0:n.weekStartsOn)?j:null==n||null==(c=n.locale)||null==(d=c.options)?void 0:d.weekStartsOn)?L:E.weekStartsOn)?_:null==(f=E.locale)||null==(h=f.options)?void 0:h.weekStartsOn)?D:0,N=(0,u.a)(t,null==n?void 0:n.in);if(!(N instanceof Date||"object"==typeof N&&"[object Date]"===Object.prototype.toString.call(N))&&"number"!=typeof N||isNaN(+(0,u.a)(N)))throw RangeError("Invalid time value");let R=e.match(k).map(t=>{let e=t[0];return"p"===e||"P"===e?(0,b.m[e])(t,A.formatLong):t}).join("").match(M).map(t=>{if("''"===t)return{isToken:!1,value:"'"};let e=t[0];if("'"===e)return{isToken:!1,value:function(t){let e=t.match(S);return e?e[1].replace(T,"'"):t}(t)};if(v[e])return{isToken:!0,value:t};if(e.match(P))throw RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});A.localize.preprocessor&&(R=A.localize.preprocessor(N,R));let I={firstWeekContainsDate:V,weekStartsOn:O,locale:A};return R.map(i=>{if(!i.isToken)return i.value;let r=i.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&(0,C.xM)(r)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&(0,C.ef)(r))&&(0,C.Ss)(r,e,String(t)),(0,v[r[0]])(N,r,A.localize,I)}).join("")}},5648:()=>{},5805:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});var i=n(2118);function r(t){let e=(0,i.a)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),t-n}},6217:(t,e,n)=>{"use strict";n.d(e,{c:()=>u});let i={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(t){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}let s={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function o(t){return(e,n)=>{let i;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&t.formattingValues){let e=t.defaultFormattingWidth||t.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):e;i=t.formattingValues[r]||t.formattingValues[e]}else{let e=t.defaultWidth,r=(null==n?void 0:n.width)?String(n.width):t.defaultWidth;i=t.values[r]||t.values[e]}return i[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return function(e){let n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=e.match(s);if(!a)return null;let o=a[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(l)?function(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}(l,t=>t.test(o)):function(t,e){for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}(l,t=>t.test(o));return n=t.valueCallback?t.valueCallback(u):u,{value:n=i.valueCallback?i.valueCallback(n):n,rest:e.slice(o.length)}}}let u={code:"en-US",formatDistance:(t,e,n)=>{let r,s=i[t];if(r="string"==typeof s?s:1===e?s.one:s.other.replace("{{count}}",e.toString()),null==n?void 0:n.addSuffix)if(n.comparison&&n.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:s,formatRelative:(t,e,n,i)=>a[t],localize:{ordinalNumber:(t,e)=>{let n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:o({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:o({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:o({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:o({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:o({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(t){return function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.match(t.matchPattern);if(!i)return null;let r=i[0],s=e.match(t.parsePattern);if(!s)return null;let a=t.valueCallback?t.valueCallback(s[0]):s[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:e.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},6278:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});let i=n(8140)._(n(1150));function r(t,e){var n;let r={};"function"==typeof t&&(r.loader=t);let s={...r,...e};return(0,i.default)({...s,modules:null==(n=s.loadableGenerated)?void 0:n.modules})}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},6348:(t,e,n)=>{"use strict";n.d(e,{w:()=>m});var i=n(5155);function r({lang:t}){return"en"===t?(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"125",height:"26",viewBox:"0 0 125 26",fill:"none",children:[(0,i.jsx)("path",{d:"M34.6668 0.867188H30.3335V25.1339H34.6668V0.867188Z",fill:"#FF6F37"}),(0,i.jsx)("path",{d:"M13.2431 4.33377C15.668 4.33377 17.6926 5.17443 19.4398 6.9108C21.1805 8.6333 22.0268 10.6379 22.0268 13.039C22.0268 15.4401 21.1852 17.4308 19.4545 19.1074C17.6765 20.8295 15.5827 21.6667 13.0537 21.6667C10.8546 21.6667 8.91497 20.9153 7.1253 19.3696C5.2208 17.7121 4.33377 15.6555 4.33377 12.8982C4.33377 10.5616 5.18267 8.60037 6.93593 6.89477C8.6996 5.17097 10.7627 4.33333 13.2435 4.33333M13.2435 0C9.62563 0.000433333 6.48353 1.27747 3.9065 3.79643C1.3143 6.31757 0 9.38037 0 12.899C0 16.8944 1.44257 20.1734 4.2887 22.6464C6.86443 24.872 9.8137 26.0009 13.0537 26.0009C16.7124 26.0009 19.8796 24.729 22.4692 22.2209C25.0506 19.7197 26.3597 16.6305 26.3597 13.0399C26.3597 9.44927 25.0566 6.37347 22.4874 3.8311C19.9303 1.289
117 16.8203 0.000433333 13.2431 0.000433333L13.2435 0Z",fill:"white"}),(0,i.jsx)("path",{d:"M44.7337 19.8497C40.2478 19.8497 38.5557 17.2878 38.5557 13.0901C38.5557 8.89243 40.2071 6.33057 44.7337 6.33057C49.2603 6.33057 50.9273 8.89243 50.9273 13.0901C50.9273 17.2878 49.2196 19.8497 44.7337 19.8497ZM44.7337 10.0858C43.4632 10.0858 43.2365 11.1917 43.2365 13.0901C43.2365 14.9886 43.4216 16.0944 44.7337 16.0944C46.0458 16.0944 46.246 14.9886 46.246 13.0901C46.246 11.1917 46.0146 10.0858 44.7337 10.0858Z",fill:"white"}),(0,i.jsx)("path",{d:"M56.8678 6.52588L58.4421 15.0911L58.6271 16.9844H58.7454L58.9512 15.0911L60.6027 6.52588H65.5461L61.8576 19.6489H55.5045L51.9087 6.52588H56.8678Z",fill:"white"}),(0,i.jsx)("path",{d:"M67.042 6.526C68.4256 6.4233 69.3209 6.33057 71.7749 6.33057C75.8335 6.33057 78.3442 7.1279 78.3442 13.0745C78.3442 19.0212 75.8439 19.8497 71.7749 19.8497C70.926 19.8497 68.1071 19.7518 67.042 19.6543V6.526ZM71.569 16.1612C71.7337 16.1815 72.0782 16.1971 72.4231 16.1971C73.3336 16.1971 73.6629 15.9553 73.6629 13.0542C73.6629 10.153 73.3799 9.98313 72.4028 9.98313C72.0479 9.98313 71.7649 9.99353 71.5695 9.99873V16.1616L71.569 16.1612Z",fill:"white"}),(0,i.jsx)("path",{d:"M80.0869 12.4253H85.5036V15.5119H80.0869V12.4253Z",fill:"white"}),(0,i.jsx)("path",{d:"M86.8584 6.52588H93.9317V9.51458L92.6612 9.71001V16.4748L93.9317 16.6702V19.6537H86.8584V16.6702L88.1341 16.4748V9.71001L86.8584 9.51458V6.52588Z",fill:"white"}),(0,i.jsx)("path",{d:"M99.1144 11.1197C99.9373 10.2552 100.771 9.9519 102.155 9.9519C103.847 9.9519 105.663 10.7696 105.663 13.8666V19.6538H101.239V14.9469C101.239 13.9438 101.09 13.5529 100.452 13.5529C100.179 13.5529 99.9736 13.5789 99.773 13.63V19.6538H95.3491V10.1473H98.7907L99.1148 11.1197H99.1144Z",fill:"white"}),(0,i.jsx)("path",{d:"M113.157 9.44802C113.049 9.43242 112.89 9.41725 112.555 9.41725C112.01 9.41725 111.815 9.59752 111.815 10.004V10.1479H113.039V13.4919H111.815V19.6548H107.391V13.4919H106.496V10.1479H107.391V9.92686C107.391 7.28266 108.574 6.33105 111.46 6.33105C112.134 6.33105 112.854 6.37699 113.446 6.44415L113.158 9.44845L113.157 9.44802Z",fill:"white"}),(0,i.jsx)("path",{d:"M118.858 19.8497C115.463 19.8497 113.467 18.2962 113.467 14.9011C113.467 11.2485 115.962 9.95239 118.858 9.95239C121.755 9.95239 124.275 11.2485 124.275 14.9011C124.275 18.2962 122.253 19.8497 118.858 19.8497ZM118.858 13.553C118.179 13.553 118.004 13.9798 118.004 14.9006C118.004 15.8215 118.174 16.2483 118.858 16.2483C119.543 16.2483 119.738 15.8215 119.738 14.9006C119.738 13.9798 119.537 13.553 118.858 13.553Z",fill:"white"})]}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 3202.4 600",style:{background:"none"},xmlSpace:"preserve",children:(0,i.jsxs)("g",{children:[(0,i.jsxs)("g",{children:[(0,i.jsx)("rect",{x:"700",y:"20",width:"100",height:"560",fill:"#ff6f37"}),(0,i.jsx)("path",{d:`M305.6,100c56,0,102.7,19.4,143,59.5c40.2,39.7,59.7,86,59.7,141.4c0,55.5-19.4,101.3-59.4,140 2 c-41,39.7-89.3,59.1-147.7,59.1c-50.7,0-95.5-17.3-136.8-53c-44-38.3-64.5-85.7-64.5-149.4c0-53.9,19.6-99.2,60.1-138.5 3 C200.7,119.3,248.4,100,305.6,100 M305.6,0c-83.5,0-156,29.5-215.5,87.6C30.3,145.8,0,216.5,0,297.7c0,92.2,33.3,167.9,99,224.9 4 C158.4,574,226.5,600,301.2,600c84.4,0,157.5-29.3,217.3-87.2c59.6-57.7,89.8-129,89.8-211.9c0-82.3-30.1-153.8-89.4-212.5 5 C459.9,29.7,388.2,0,305.6,0L305.6,0z`,fill:"#ffffff"})]}),(0,i.jsxs)("g",{children:[(0,i.jsx)("path",{fill:"#ffffff",d:`M1032.3,458.1c-103.5,0-142.6-59.1-142.6-156s38.1-156,142.6-156c104.2,0,142.9,59.1,142.9,156 6 S1135.8,458.1,1032.3,458.1z M1032.3,232.7c-29.3,0-34.5,25.5-34.5,69.3s4.3,69.3,34.5,69.3c30.4,0,34.9-25.5,34.9-69.3 7 C1067.2,258.3,1061.9,232.7,1032.3,232.7z`}),(0,i.jsx)("path",{fill:"#ffffff",d:`M1438.7,298.5c33.7,7.5,51.6,31.5,51.6,72.2c0,56.7-39.8,87.4-148.7,87.4c-58.5,0-97.8-1.7-116.3-4.5v-303 8 c16-1.7,79.9-4.5,114.2-4.5c102.8,0,139.4,31.3,139.4,77.6c0,30.9-9,63-40.1,72.4L1438.7,298.5L1438.7,298.5z M1349.5,267.8 9 c25,0,28.6-13.5,28.6-26c0-17.6-9.9-25-28.1-25c-6.3,0-14.7,0.6-20.3,1.1v50h19.8V267.8z M1329.7,385.5c0,0,12.6,1.7,21.5,1.7 10 c29.9,0,31.1-19.1,31.1-23c0-10.9-6.9-24.7-25.9-24.7h-26.7V385.5z`}
10),(0,i.jsx)("path",{fill:"#ffffff",d:`M1506.4,517.3V376.5l17.9-2.8c28.8-14.2,41.8-25.8,50.9-223.1h221.4v223.5l26.8,2.4l-2.4,140.8h-97l-3.8-63.8 11 h-126.3l-3.8,63.8H1506.4z M1633.9,374.7l1.2,2.4h57.1v-142h-31.5C1656,324.7,1646.5,364.9,1633.9,374.7z`}),(0,i.jsx)("path",{fill:"#ffffff",d:"M1851.8,281.7h125V353h-125V281.7z"}),(0,i.jsx)("path",{fill:"#ffffff",d:`M2128.6,150.6v91.3l-3.6,58.8l3.6,1.2l79.5-151.2h86.5v303h-104.5v-74.2l3.6-58.6l-3.6-1.2l-79.9,134H2024 12 v-303L2128.6,150.6L2128.6,150.6z`}),(0,i.jsx)("path",{fill:"#ffffff",d:"M2570.9,234.2v219.4h-102.1v-74h-35.6v74h-102.1V234.2h102.1v68.3h35.6v-68.3H2570.9z"}),(0,i.jsx)("path",{fill:"#ffffff",d:`M2834.2,458.1h-20.8v79.1h-95v-79.1h-20.5c-69,0-104.8-44.2-104.8-114.2c0-68.7,36-114.2,104.2-114.2h21.1 13 v-79.1h95v79.1h21c68.1,0,104.6,45.5,104.6,114.2C2939,413.9,2903.5,458.1,2834.2,458.1z M2712.5,306.8c-18.5,0-30,2-30,36.9 14 c0,34.5,11.5,37.2,30.4,37.2h6.2v-74.1H2712.5z M2819,380.9c19.8,0,30.5-2.7,30.5-37.2c0-34.2-11.5-36.9-30.3-36.9h-6.6v74.1H2819 15 z`}),(0,i.jsx)("path",{fill:"#ffffff",d:`M3077.4,458.1c-78.4,0-124.4-35.8-124.4-114.2c0-84.3,57.6-114.2,124.4-114.2s125,29.9,125,114.2 16 C3202.4,422.2,3155.8,458.1,3077.4,458.1z M3077.4,312.7c-15.7,0-19.7,9.9-19.7,31.1s3.9,31.1,19.7,31.1 17 c15.6,0,20.3-9.9,20.3-31.1S3093.1,312.7,3077.4,312.7z`})]})]})})})}n(2765);let s={footer:"_footer_vqbii_1",footerTop:"_footerTop_vqbii_9",footerLogo:"_footerLogo_vqbii_16",footerSocial:"_footerSocial_vqbii_21",footerSocialLink:"_footerSocialLink_vqbii_28",footerColumns:"_footerColumns_vqbii_38",footerColumn:"_footerColumn_vqbii_38",footerFullWidthColumn:"_footerFullWidthColumn_vqbii_52",footerColumnTitle:"_footerColumnTitle_vqbii_56",footerColumnLink:"_footerColumnLink_vqbii_68",footerBottom:"_footerBottom_vqbii_85",footerPolicies:"_footerPolicies_vqbii_91",footerAdditional:"_footerAdditional_vqbii_98",footerRSS:"_footerRSS_vqbii_102",footerRSSLink:"_footerRSSLink_vqbii_115",footerLicense:"_footerLicense_vqbii_125",footerLang:"_footerLang_vqbii_144"};function a({lang:t}){return(0,i.jsxs)("div",{className:s.footerLicense,children:[(0,i.jsx)("a",{href:"https://creativecommons.org/licenses/by/3.0/deed.ru_RU",rel:"license",target:"_blank",children:(0,i.jsx)("img",{alt:"Creative Commons License",src:"//i.creativecommons.org/l/by/3.0/88x31.png"})}),"en"===t?(0,i.jsx)("span",{children:"OVD-Info (ovd.info) is licensed under a Creative Commons Attribution 3.0 Unported License."}):(0,i.jsx)("span",{children:"ÐÐÐ-ÐнÑо (ovd.info) лиÑензиÑовано в\xa0ÑооÑвеÑÑÑвии Ñ\xa0Creative Commons Attribution\xa03.0 Unported License."})]})}function o({rssLink:t}){return(0,i.jsxs)("div",{className:s.footerRSS,children:[(0,i.jsxs)("a",{href:t||"/rss.xml",className:s.footerRSSLink,children:[(0,i.jsxs)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M3.5 26C4.32843 26 5 25.3284 5 24.5C5 23.6716 4.32843 23 3.5 23C2.67157 23 2 23.6716 2 24.5C2 25.3284 2.67157 26 3.5 26Z",stroke:"#ABBCC1",strokeWidth:"2.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M2 2C8.3652 2 14.4697 4.52856 18.9706 9.02944C23.4714 13.5303 26 19.6348 26 26",stroke:"#ABBCC1",strokeWidth:"2.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M2 12.5C5.58042 12.5 9.0142 13.9223 11.5459 16.4541C14.0777 18.9858 15.5 22.4196 15.5 26",stroke:"#ABBCC1",strokeWidth:"2.75",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,i.jsx)("span",{children:"RSS"})]}),(0,i.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})]})}function l({socialLinks:t}){return(0,i.jsx)("ul",{className:s.footerSocial,children:null==t?void 0:t.map(({href:t,icon:e,target:n,rel:r})=>(0,i.jsx)("li",{className:s.footerSocialItem,children:(0,i.jsx)("a",{href:t,target:n||"_blank",rel:r,className:s.footerSocialLink,children:e})},`footer-social-${t}`))})}function u({columns:t}){return(0,i.jsx)(i.Fragment,{children:t.map(({title:t,columnHref:e,links:n})=>(0,i.jsxs)("div",{className:s.footerColumn,children:[e?(0,i.jsx)("a",{href:e,className:s.footerColumnTitle,children:t}):(0,i.jsx)("h4",{className:s.footerColumnTitle,children:t}),(0,i.jsx)("ul",{children:null==n?void 0:n.map(({href:t,text:e})=>(0,i.jsx)("li",{className:s.footerColumnLink,children:(0,i.jsx)("a",{href:t,children:e})},`column-link-${t}`))})]},`column-${t}`))})}function d({children:t}){return(0,i.jsx)("div",{className:s.footerFullWidthColumn,children:t})}function c({lang:t}){return"en"===t?(0,i.jsxs)("a",{href:"https://ovd.info/",className:s.footerLang,children:[(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"37",height:"31",viewBox:"0 0 37 31",fill:"none",children:[(0,i.jsx)("rect",{x:"1.79102",y:"1",width:"34",height:"29",rx:"14.5",stroke:"white",strokeWidth:"2"}),(0,i.jsx)("path",{d:"M8.77102 20V10.48H13.251C15.379 10.48 16.835 11.39 16.835 13.728C16.835 15.198 16.205 16.094 15.155 16.542L17.213 20H14.469L12.691 16.892H11.235V20H8.77102ZM11.235 14.848H12.915C13.923 14.848 14.315 14.498 14.315 13.728C14.315 12.916 13.923 12.58 12.915 12.58H11.235V14.848ZM25.5588 16.164V10.48H28.0228V16.108C28.0228 18.838 26.7768 20.14 23.8368 20.14C20.9248 20.14 19.5108 18.838 19.5108 16.108V10.48H21.9748V16.164C21.9748 17.284 22.4088 17.956 23.8368 17.956C25.1668 17.956 25.5588 17.284 25.5588 16.164Z",fill:"white"})]}),"\xa0Russian\xa0version"]}):(0,i.jsxs)("a",{href:"/en/",className:s.footerLang,children:[(0,i.jsxs)("svg",{width:"36",height:"31",viewBox:"0 0 36 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"1.48828",y:"1",width:"33",height:"29",rx:"14.5",stroke:"white",strokeWidth:"2"}),(0,i.jsx)("path",{d:"M8.46828 20V10.48H15.4823V12.58H10.9323V14.204H15.2723V16.248H10.9323V17.9H15.4403V20H8.46828ZM27.1316 20H24.6116L20.5516 14.386V20H18.1436V10.48H20.6636L24.7236 16.108V10.48H27.1316V20Z",fill:"white"})]}),"\xa0English\xa0version"]})}var h=n(5032);function f({policies:t}){return t&&t.length?(0,i.jsx)("div",{className:s.footerPolicies,children:t.map(({link:t,label:e})=>(0,i.jsx)("a",{href:t,className:s.footerPolicyLink,children:e},`policy-link-${t}-${e}`))}):null}function m({columns:t,socialLinks:e=h.Zx,rssLink:n,lang:m="ru",footerCustomColumn:p,policies:g}){return(0,i.jsx)("footer",{className:s.footer,"data-ui-kit":"footer",children:(0,i.jsxs)("div",{className:s.footerContainer,children:[(0,i.jsxs)("div",{className:s.footerTop,children:[(0,i.jsx)("div",{className:s.footerLogo,children:(0,i.jsx)(r,{lang:m})}),(0,i.jsx)(l,{socialLinks:e})]}),(0,i.jsxs)("div",{className:s.footerBottom,children:[(0,i.jsxs)("div",{className:s.footerColumns,style:{"--columns":t.length},children:[(0,i.jsx)(u,{columns:t}),p&&(0,i.jsx)(d,{children:p}),(0,i.jsx)(c,{lang:m}),g&&(0,i.jsx)(f,{policies:g})]}),(0,i.jsxs)("div",{className:s.footerAdditional,"data-ui-kit":"footer-additional",children:[(0,i.jsx)(o,{rssLink:n}),(0,i.jsx)(a,{lang:m})]})]})]})})}},6552:(t,e,n)=>{"use strict";function i(t){let{moduleIds:e}=t;return null}
17Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PreloadChunks",{enumerable:!0,get:function(){return i}}),n(5155),n(7650),n(8567),n(7278)},6716:(t,e,n)=>{"use strict";n.d(e,{s:()=>l});var i=n(9180),r=n(3177),s=n(4168),a=n(2731),o=n(2118);function l(t,e){let n=(0,o.a)(t,null==e?void 0:e.in);return Math.round(((0,r.b)(n)-function(t,e){let n=(0,a.p)(t,void 0),i=(0,s.w)(t,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),(0,r.b)(i)}(n))/i.my)+1}},6821:(t,e,n)=>{"use strict";n.d(e,{Y:()=>v});var i=n(5155),r=n(2115);let s=[{id:"menu-1",title:"ÐкÑÑалÑное",subMenu:[{id:"submenu-1-1",title:"ÐовоÑÑи",link:"#"},{id:"submenu-1-2",title:"ТекÑÑÑ",link:"#"},{id:"submenu-1-3",title:"СиÑÑемное пÑеÑледование",link:"#"},{id:"submenu-1-4",title:"ÐаннÑе",link:"#"},{id:"submenu-1-5",title:"СпеÑпÑоекÑÑ",link:"#"}]},{id:"menu-2",title:"ÐÑÐ°Ð²Ð¾Ð²Ð°Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ",subMenu:[{id:"submenu-2-1",title:"ÐомоÑÑ Ð² ÑÑде",link:"#"},{id:"submenu-2-2",title:"ÐенеÑаÑÐ¾Ñ Ð°Ð¿ÐµÐ»Ð»ÑÑий",link:"#"},{id:"submenu-2-3",title:"ÐнÑÑÑÑкÑии и ÑеÑвиÑÑ",link:"#"},{id:"submenu-2-4",title:"ÐÑÑел",link:"#"}]},{id:"menu-3",title:"Ðак помоÑÑ",subMenu:[{id:"submenu-3-1",title:"ÐодпиÑаÑÑ Ð¿ÐµÑиÑиÑ",link:"#"},{id:"submenu-3-2",title:"СÑаÑÑ Ð²Ð¾Ð»Ð¾Ð½ÑеÑом",link:"#"},{id:"submenu-3-3",title:"СÑаÑÑ Ð·Ð°ÑиÑником",link:"#"}]},{id:"menu-4",title:"Ðойна",link:"#"},{id:"menu-5",title:"РнаÑ",link:"#"}];n(2039);let a={header:"_header_1seeb_1",headerContainer:"_headerContainer_1seeb_11",headerLogo:"_headerLogo_1seeb_21",headerNav:"_headerNav_1seeb_34",headerNavList:"_headerNavList_1seeb_42",headerNavListItem:"_headerNavListItem_1seeb_50",headerNavLink:"_headerNavLink_1seeb_73",navHasDropDown:"_navHasDropDown_1seeb_77",headerNavDropDown:"_headerNavDropDown_1seeb_81",headerNavDropDownItem:"_headerNavDropDownItem_1seeb_92",additionalLinks:"_additionalLinks_1seeb_110",additionalLink:"_additionalLink_1seeb_110",tgLink:"_tgLink_1seeb_128",phoneLink:"_phoneLink_1seeb_129",headerCta:"_headerCta_1seeb_150",headerBurgerBlock:"_headerBurgerBlock_1seeb_164",headerHamburger:"_headerHamburger_1seeb_169",headerHamburgerLineTop:"_headerHamburgerLineTop_1seeb_180",headerHamburgerLineCenter:"_headerHamburgerLineCenter_1seeb_181",headerHamburgerLineBottom:"_headerHamburgerLineBottom_1seeb_182",headerHamburgerOpen:"_headerHamburgerOpen_1seeb_207",headerMobileMenu:"_headerMobileMenu_1seeb_221",headerMobileMenuList:"_headerMobileMenuList_1seeb_230",headerMobileMenuListItem:"_headerMobileMenuListItem_1seeb_238",headerMobileMenuDropDown:"_headerMobileMenuDropDown_1seeb_249",headerMobileMenuDropDownItem:"_headerMobileMenuDropDownItem_1seeb_257",headerMobileMenuLink:"_headerMobileMenuLink_1seeb_276",headerMobileMenuSpan:"_headerMobileMenuSpan_1seeb_277",headerMobileMenuSpanSvgOpen:"_headerMobileMenuSpanSvgOpen_1seeb_307",headerMobileMenuSocial:"_headerMobileMenuSocial_1seeb_315",headerMobileMenuSocialItem:"_headerMobileMenuSocialItem_1seeb_324",sticky:"_sticky_1seeb_334",headerMobileMenuListItemSearch:"_headerMobileMenuListItemSearch_1seeb_342",smallDesktopHidden:"_smallDesktopHidden_1seeb_347",additionalLinkSearch:"_additionalLinkSearch_1seeb_394"};function o({menuItems:t=s}){let[e,n]=(0,r.useState)(null),o=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t=t=>{o.current&&!o.current.contains(t.target)&&n(null)};return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}},[]),(0,i.jsx)("nav",{className:a.headerNav,children:(0,i.jsx)("ul",{ref:o,className:a.headerNavList,children:t.map(t=>(0,i.jsxs)("li",{className:`${a.headerNavListItem} ${t.subMenu?a.navHasDropDown:""}`,onMouseEnter:()=>{t.subMenu&&n(t.id)},onMouseLeave:()=>{t.subMenu&&n(null)},children:[t.link?(0,i.jsx)("a",{href:t.link,...t.subMenu&&{"aria-haspopup":"true","aria-expanded":e===t.id},className:a.headerNavLink,children:t.title}):(0,i.jsx)("span",{role:"button",tabIndex:0,onKeyDown:i=>{"Enter"===i.key&&t.subMenu&&n(e===t.id?null:t.id)},...t.subMenu&&{"aria-haspopup":"true","aria-expanded":e===t.id},className:a.headerNavSpan,children:t.title}),t.subMenu&&t.subMenu.length>0&&e===t.id&&(0,i.jsx)("ul",{role:"menu","aria-label":`${t.title} submenu`,className:a.headerNavDropDown,children:t.subMenu.map(t=>(0,i.jsx)("li",{role:"menuitem",className:a.headerNavDropDownItem,children:t.link?(0,i.jsx)("a",{href:t.link,children:t.title}):(0,i.jsx)("span",{children:t.title})},t.id))})]},t.id))})})}let l={tg:{href:"https://t.me/ovdinfobot",icon:(0,i.jsx)("svg",{width:"19",height:"17",viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5541 16.8124C14.8094 17.0058 15.1379 17.0547 15.4309 16.9357C15.7238 16.8156 15.9385 16.5468 16.0038 16.2216C16.6916 12.7504 18.36 3.96347 18.9864 0.805697C19.0339 0.567695 18.9548 0.32013 18.7806 0.161817C18.6064 0.00244016 18.365 -0.0432477 18.1502 0.0428155C14.8302 1.36245 4.60777 5.48
17074 0.42974 7.14038C0.164531 7.24557 -0.00765475 7.51969 0.000261924 7.81932C0.0101578 8.12001 0.198178 8.38139 0.469324 8.46852C2.34261 9.0699 4.80271 9.90715 4.80271 9.90715C4.80271 9.90715 5.95162 13.6344 6.55131 15.53C6.62652 15.768 6.79969 15.955 7.02829 16.0198C7.25688 16.0835 7.50032 16.0166 7.67053 15.8434C8.6334 14.868 10.1217 13.3592 10.1217 13.3592C10.1217 13.3592 12.95 15.5863 14.5541 16.8124ZM5.83782 9.43752L7.16782 14.1444L7.46272 11.163C7.46272 11.163 12.5977 6.18943 15.5259 3.35466C15.611 3.27178 15.6228 3.13153 15.5516 3.03378C15.4813 2.93603 15.3517 2.91265 15.2537 2.97959C11.8614 5.30755 5.83782 9.43752 5.83782 9.43752Z",fill:"white"})}),title:"ÐÑавовой боÑ"},phone:{href:"tel:88007070528",icon:(0,i.jsx)("svg",{width:"21",height:"19",viewBox:"0 0 21 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M3.10831 0.0500488H7.74289L10.0602 5.60887L7.16356 7.27652C8.40443 9.69075 10.4408 11.6447 12.9568 12.8353L14.6948 10.0559L20.488 12.2795V16.7265C20.488 17.3162 20.2438 17.8818 19.8093 18.2988C19.3747 18.7158 18.7853 18.95 18.1707 18.95C13.6511 18.6865 9.38834 16.8449 6.18663 13.7728C2.98492 10.7006 1.06567 6.61028 0.791016 2.27358C0.791016 1.68386 1.03516 1.1183 1.46973 0.701305C1.90431 0.284313 2.49372 0.0500488 3.10831 0.0500488Z",fill:"white"})}),title:(0,i.jsx)(i.Fragment,{children:"8\xa0800\xa0707â05â28"})},lang:{href:"/en/",icon:(0,i.jsxs)("svg",{width:"36",height:"31",viewBox:"0 0 36 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("rect",{x:"1.48828",y:"1",width:"33",height:"29",rx:"14.5",stroke:"white",strokeWidth:"2"}),(0,i.jsx)("path",{d:"M8.46828 20V10.48H15.4823V12.58H10.9323V14.204H15.2723V16.248H10.9323V17.9H15.4403V20H8.46828ZM27.1316 20H24.6116L20.5516 14.386V20H18.1436V10.48H20.6636L24.7236 16.108V10.48H27.1316V20Z",fill:"white"})]})},search:{href:"/archive",icon:(0,i.jsxs)("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M8.48831 15.5001C12.3543 15.5001 15.4883 12.366 15.4883 8.50003C15.4883 4.63402 12.3543 1.5 8.48831 1.5C4.6223 1.5 1.48828 4.63402 1.48828 8.50003C1.48828 12.366 4.6223 15.5001 8.48831 15.5001Z",stroke:"white",strokeWidth:"2.75",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M19.4873 19.5L13.4873 13.5",stroke:"white",strokeWidth:"2.75",strokeLinecap:"round",strokeLinejoin:"round"})]})}};function u({links:t=l}){let{tg:e,phone:n,lang:r,search:s}=t;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("ul",{className:a.additionalLinks,children:[e&&(0,i.jsx)("li",{className:a.additionalLink,children:(0,i.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:a.tgLink,children:[e.icon," ",(0,i.jsx)("span",{className:a.smallDesktopHidden,children:e.title})]})}),n&&(0,i.jsx)("li",{className:a.additionalLink,children:(0,i.jsxs)("a",{href:n.href,target:"_blank",rel:"noopener noreferrer",className:a.phoneLink,children:[n.icon," ",(0,i.jsx)("span",{className:a.smallDesktopHidden,children:n.title})]})}),r&&(0,i.jsx)("li",{className:a.additionalLink,children:(0,i.jsx)("a",{href:r.href,target:"_blank",children:r.icon})}),s&&(0,i.jsx)("li",{className:`${a.additionalLink} ${a.additionalLinkSearch}`,children:(0,i.jsx)("a",{href:s.href,children:s.icon})})]})})}let d={link:"https://donate.ovdinfo.legal",text:(0,i.jsxs)("span",{children:["ÐомоÑÑ ",(0,i.jsx)("span",{className:a.smallDesktopHidden,children:"пÑоекÑÑ"})]})};function c({cta:t=d}){let{link:e,text:n,customClass:r}=t;return(0,i.jsx)("a",{href:e,className:`${a.headerCta} ${r}`,children:n})}function h({isOpen:t,onToggle:e}){return(0,i.jsx)("div",{className:a.headerBurgerBlock,children:(0,i.jsxs)("div",{className:`${a.headerHamburger} ${t?a.headerHamburgerOpen:""}`,onClick:e,"aria-label":"Toggle menu",children:[(0,i.jsx)("span",{className:a.headerHamburgerLineTop}),(0,i.jsx)("span",{className:a.headerHamburgerLineCenter}),(0,i.jsx)("span",{className:a.headerHamburgerLineBottom})]})})}var f=n(5032);function m({social:t=f.Zx}){return(0,i.jsx)(i.Fragment,{children:t&&(0,i.jsx)("ul",{className:a.headerMobileMenuSocial,children:t.map(({href:t,icon:e,target:n,rel:r})=>(0,i.jsx)("li",{className:a.headerMobileMenuSocialItem,children:(0,i.jsx)("a",{href:t,target:n||"_blank",rel:r,className:a.headerMobileMenuSocialLink,children:e})},`header-social-${t}`))})})}function p({isOpen:t,children:e,className:n}){let s=(0,r.useRef)(null),[a,o]=(0,r.useState)(0);return(0,r.useEffect)(()=>{s.current&&o(s.current.scrollHeight)},[t,e]),(0,i.jsx)("ul",{ref:s,className:n,style:{height:t?`${a}px`:"0px",overflow:"hidden",transition:"height 0.2s ease-out"},children:e})}function g({isOpen:t,menuItems:e=s,social:n}){let[o,u]=(0,r.useState)(null);return t?(0,i.jsxs)("div",{className:a.headerMobileMenu,children:[(0,i.jsxs)("ul",{className:a.headerMobileMenuList,children:[(0,i.jsx)("li",{className:`${a.headerMobileMenuListItem} ${a.headerMobileMenuListItemSearch}`,children:(0,i.jsx)("a",{href:l.search.href,className:a.headerMobileMenuLink,children:"ÐоиÑк"})}),e.map(t=>(0,i.jsxs)("li",{className:a.headerMobileMenuListItem,children:[t.link?(0,i.jsx)("a",{href:t.link,className:a.headerMobileMenuLink,children:t.title}):(0,i.jsxs)("span",{role:"button",tabIndex:0,onClick:()=>u(o===t.id?null:t.id),className:a.headerMobileMenuSpan,children:[t.title," ",(0,i.jsx)("svg",{width:"7",height:"11",viewBox:"0 0 7 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:`${o===t.id?a.headerMobileMenuSpanSvgOpen:""}`,children:(0,i.jsx)("path",{d:"M1.3472 10.9166L0.385742 9.95513L4.84095 5.49992L0.385742 1.04471L1.3472 0.083252L6.76387 5.49992L1.3472 10.9166Z",fill:"#ABBCC1"})})]}),t.subMenu&&t.subMenu.length>0&&(0,i.jsx)(p,{isOpen:o===t.id,className:a.headerMobileMenuDropDown,children:t.subMenu.map(t=>(0,i.jsx)("li",{role:"menuitem",className:a.headerMobileMenuDropDownItem,children:t.link?(0,i.jsx)("a",{href:t.link,children:t.title}):(0,i.jsx)("span",{children:t.title})},t.id))})]},t.id))]}),(0,i.jsx)(m,{social:n})]}):null}function v({logo:t,menuItems:e,additionalLinks:n,cta:s,sticky:l=!0}){let{icon:d,link:f}=t||{icon:(0,i.jsxs)("svg",{width:"34",height:"25",viewBox:"0 0 34 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M33.3327 0.833496H29.166V24.1668H33.3327V0.833496Z",fill:"#FF6F37"}),(0,i.jsx)("path",{d:"M12.7333 4.16667C15.0667 4.16667 17.0125 4.975 18.6917 6.64583C20.3667 8.3 21.1792 10.2292 21.1792 12.5375C21.1792 14.85 20.3708 16.7583 18.7042 18.3708C16.9958 20.025 14.9833 20.8333 12.55 20.8333C10.4333 20.8333 8.57083 20.1125 6.85 18.625C5.01667 17.0292 4.16667 15.0542 4.16667 12.4042C4.16667 10.1583 4.98333 8.27083 6.67083 6.63333C8.3625 4.97083 10.35 4.16667 12.7333 4.16667ZM12.7333 0C9.25417 0 6.23333 1.22917 3.75417 3.65C1.2625 6.075 0 9.02083 0 12.4042C0 16.2458 1.3875 19.4 4.125 21.775C6.6 23.9167 9.4375 25 12.55 25C16.0667 25 19.1125 23.7792 21.6042 21.3667C24.0875 18.9625 25.3458 15.9917 25.3458 12.5375C25.3458 9.10833 24.0917 6.12917 21.6208 3.68333C19.1625 1.2375 16.175 0 12.7333 0Z",fill:"white"})]}),link:"/"},[m,p]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=()=>{window.innerWidth>=1024&&p(!1)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),(0,i.jsxs)("header",{className:`${a.header} ${l?a.sticky:""}`,"data-ui-kit":"header",children:[(0,i.jsxs)("div",{className:a.headerContainer,children:[(0,i.jsx)("a",{href:f,className:a.headerLogo,children:d}),(0,i.jsx)(h,{isOpen:m,onToggle:()=>{p(t=>!t)}}),(0,i.jsx)(o,{menuItems:e}),(0,i.jsx)(u,{links:n}),(0,i.jsx)(c,{cta:s})]}),(0,i.jsx)(g,{menuItems:e,isOpen:m})]})}},7828:(t,e,n)=>{"use strict";
17Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"workAsyncStorageInstance",{enumerable:!0,get:function(){return i}});let i=(0,n(4054).createAsyncLocalStorage)()},7909:(t,e,n)=>{"use strict";n.d(e,{default:()=>r.a});var i=n(6278),r=n.n(i)},8072:(t,e,n)=>{"use strict";n.d(e,{A:()=>S});var i=n(2115);function r(t){return"[object Object]"===Object.prototype.toString.call(t)||Array.isArray(t)}function s(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length===i.length&&JSON.stringify(Object.keys(t.breakpoints||{}))===JSON.stringify(Object.keys(e.breakpoints||{}))&&n.every(n=>{let i=t[n],a=e[n];return"function"==typeof i?`${i}`==`${a}`:r(i)&&r(a)?s(i,a):i===a})}function a(t){return t.concat().sort((t,e)=>t.name>e.name?1:-1).map(t=>t.options)}function o(t){return"number"==typeof t}function l(t){return"string"==typeof t}function u(t){return"boolean"==typeof t}function d(t){return"[object Object]"===Object.prototype.toString.call(t)}function c(t){return Math.abs(t)}function h(t){return Math.sign(t)}function f(t){return v(t).map(Number)}function m(t){return t[p(t)]}function p(t){return Math.max(0,t.length-1)}function g(t,e=0){return Array.from(Array(t),(t,n)=>e+n)}function v(t){return Object.keys(t)}function y(t,e){return void 0!==e.MouseEvent&&t instanceof e.MouseEvent}function w(){let t=[],e={add:function(n,i,r,s={passive:!0}){let a;return"addEventListener"in n?(n.addEventListener(i,r,s),a=()=>n.removeEventListener(i,r,s)):(n.addListener(r),a=()=>n.removeListener(r)),t.push(a),e},clear:function(){t=t.filter(t=>t())}};return e}function x(t=0,e=0){let n=c(t-e);function i(n){return n<t||n>e}return{length:n,max:e,min:t,constrain:function(n){return i(n)?n<t?t:e:n},reachedAny:i,reachedMax:function(t){return t>e},reachedMin:function(e){return e<t},removeOffset:function(t){return n?t-n*Math.ceil((t-e)/n):t}}}function b(t){let e=t;function n(t){return o(t)?t:t.get()}return{get:function(){return e},set:function(t){e=n(t)},add:function(t){e+=n(t)},subtract:function(t){e-=n(t)}}}function C(t,e){let n="x"===t.scroll?function(t){return`translate3d(${t}px,0px,0px)`}:function(t){return`translate3d(0px,${t}px,0px)`},i=e.style,r=null,s=!1;return{clear:function(){!s&&(i.transform="",e.getAttribute("style")||e.removeAttribute("style"))},to:function(e){if(s)return;let a=Math.round(100*t.direction(e))/100;a!==r&&(i.transform=n(a),r=a)},toggleActive:function(t){s=!t}}}let M={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function k(t,e,n){let i,r,s,a,S,T=t.ownerDocument,P=T.defaultView,j=function(t){function e(t,e){return function t(e,n){return[e,n].reduce((e,n)=>(v(n).forEach(i=>{let r=e[i],s=n[i],a=d(r)&&d(s);e[i]=a?t(r,s):s}),e),{})}(t,e||{})}return{mergeOptions:e,optionsAtMedia:function(n){let i=n.breakpoints||{},r=v(i).filter(e=>t.matchMedia(e).matches).map(t=>i[t]).reduce((t,n)=>e(t,n),{});return e(n,r)},optionsMediaQueries:function(e){return e.map(t=>v(t.breakpoints||{})).reduce((t,e)=>t.concat(e),[]).map(t.matchMedia)}}}(P),L=(S=[],{init:function(t,e){return(S=e.filter(({options:t})=>!1!==j.optionsAtMedia(t).active)).forEach(e=>e.init(t,j)),e.reduce((t,e)=>Object.assign(t,{[e.name]:e}),{})},destroy:function(){S=S.filter(t=>t.destroy())}}),_=w(),D=function(){let t,e={},n={init:function(e){t=e},emit:function(i){return(e[i]||[]).forEach(e=>e(t,i)),n},off:function(t,i){return e[t]=(e[t]||[]).filter(t=>t!==i),n},on:function(t,i){return e[t]=(e[t]||[]).concat([i]),n},clear:function(){e={}}};return n}(),{mergeOptions:E,optionsAtMedia:A,optionsMediaQueries:V}=j,{on:O,off:N,emit:R}=D,I=!1,H=E(M,k.globalOptions),F=E(H),B=[];function q(e,n){if(I)return;F=A(H=E(H,e)),B=n||B;let{container:d,slides:M}=F;s=(l(d)?t.querySelector(d):d)||t.children[0];let k=l(M)?s.querySelectorAll(M):M;a=[].slice.call(k||s.children),i=function e(n){let i=function(t,e,n,i,r,s,a){let d,M,{align:k,axis:S,direction:T,startIndex:P,loop:j,duration:L,dragFree:_,dragThreshold:D,inViewThreshold:E,slidesToScroll:A,skipSnaps:V,containScroll:O,watchResize:N,watchSlides:R,watchDrag:I,watchFocus:H}=s,F={measure:function(t){let{offsetTop:e,offsetLeft:n,offsetWidth:i,offsetHeight:r}=t;return{top:e,right:n+i,bottom:e+r,left:n,width:i,height:r}}},B=F.measure(e),q=n.map(F.measure),z=function(t,e){let n="rtl"===e,i="y"===t,r=!i&&n?-1:1;return{scroll:i?"y":"x",cross:i?"x":"y",startEdge:i?"top":n?"right":"left",endEdge:i?"bottom":n?"left":"right",measureSize:function(t){let{height:e,width:n}=t;return i?e:n},direction:function(t){return t*r}}}(S,T),W=z.measureSize(B),Y={measure:function(t){return t/100*W}},$=function(t,e){let n={start:function(){return 0},center:function(t){return(e-t)/2},end:function(t){return e-t}};return{measure:function(i,r){return l(t)?n[t](i):t(e,i,r)}}}(k,W),U=!j&&!!O,{slideSizes:X,slideSizesWithGaps:Z,startGap:G,endGap:Q}=function(t,e,n,i,r,s){let{measureSize:a,startEdge:o,endEdge:l}=t,u=n[0]&&r,d=function(){if(!u)return 0;let t=n[0];return c(e[o]-t[o])}(),h=u?parseFloat(s.getComputedStyle(m(i)).getPropertyValue(`margin-${l}`)):0,f=n.map(a),g=n.map((t,e,n)=>{let i=e===p(n);return e?i?f[e]+h:n[e+1][o]-t[o]:f[e]+d}).map(c);return{slideSizes:f,slideSizesWithGaps:g,startGap:d,endGap:h}}(z,B,q,n,j||!!O,r),K=function(t,e,n,i,r,s,a,l,u){let{startEdge:d,endEdge:h,direction:g}=t,v=o(n);return{groupSlides:function(t){return v?f(t).filter(t=>t%n==0).map(e=>t.slice(e,e+n)):t.length?f(t).reduce((n,o,u)=>{let f=m(n)||0,v=o===p(t),y=r[d]-s[f][d],w=r[d]-s[o][h],x=i||0!==f?0:g(a),b=c(w-(!i&&v?g(l):0)-(y+x));return u&&b>e+2&&n.push(o),v&&n.push(t.length),n},[]).map((e,n,i)=>{let r=Math.max(i[n-1]||0);return t.slice(r,e)}):[]}}}(z,W,A,j,B,q,G,Q,0),{snaps:J,snapsAligned:tt}=function(t,e,n,i,r){let{startEdge:s,endEdge:a}=t,{groupSlides:o}=r,l=o(i).map(t=>m(t)[a]-t[0][s]).map(c).map(e.measure),u=i.map(t=>n[s]-t[s]).map(t=>-c(t)),d=o(u).map(t=>t[0]).map((t,e)=>t+l[e]);return{snaps:u,snapsAligned:d}}(z,$,B,q,K),te=-m(J)+m(Z),{snapsContained:tn,scrollContainLimit:ti}=function(t,e,n,i,r){let s=x(-e+t,0),a=n.map((t,e)=>{let{min:i,max:r}=s,a=s.constrain(t),o=e===p(n);return e?o||function(t,e){return 1>=c(t-e)}(i,a)?i:function(t,e){return 1>=c(t-e)}(r,a)?r:a:r}).map(t=>parseFloat(t.toFixed(3))),o=function(){let t=a[0],e=m(a);return x(a.lastIndexOf(t),a.indexOf(e)+1)}();return{snapsContained:function(){if(e<=t+2)return[s.max];if("keepSnaps"===i)return a;let{min:n,max:r}=o;return a.slice(n,r)}(),scrollContainLimit:o}}(W,te,tt,O,0),tr=U?tn:tt,{limit:ts}=function(t,e,n){let i=e[0];return{limit:x(n?i-t:m(e),i)}}(te,tr,j),ta=function t(e,n,i){let{constrain:r}=x(0,e),s=e+1,a=o(n);function o(t){return i?c((s+t)%s):r(t)}function l(){return t(e,a,i)}let u={get:function(){return a}
17,set:function(t){return a=o(t),u},add:function(t){return l().set(a+t)},clone:l};return u}(p(tr),P,j),to=ta.clone(),tl=f(n),tu=function(t,e,n,i){let r=w(),s=1e3/60,a=null,o=0,l=0;function u(t){if(!l)return;a||(a=t,n(),n());let r=t-a;for(a=t,o+=r;o>=s;)n(),o-=s;i(o/s),l&&(l=e.requestAnimationFrame(u))}function d(){e.cancelAnimationFrame(l),a=null,o=0,l=0}return{init:function(){r.add(t,"visibilitychange",()=>{t.hidden&&(a=null,o=0)})},destroy:function(){d(),r.clear()},start:function(){l||(l=e.requestAnimationFrame(u))},stop:d,update:n,render:i}}(i,r,()=>(({dragHandler:t,scrollBody:e,scrollBounds:n,options:{loop:i}})=>{i||n.constrain(t.pointerDown()),e.seek()})(tM),t=>(({scrollBody:t,translate:e,location:n,offsetLocation:i,previousLocation:r,scrollLooper:s,slideLooper:a,dragHandler:o,animation:l,eventHandler:u,scrollBounds:d,options:{loop:c}},h)=>{let f=t.settled(),m=!d.shouldConstrain(),p=c?f:f&&m,g=p&&!o.pointerDown();g&&l.stop();let v=n.get()*h+r.get()*(1-h);i.set(v),c&&(s.loop(t.direction()),a.loop()),e.to(i.get()),g&&u.emit("settle"),p||u.emit("scroll")})(tM,t)),td=tr[ta.get()],tc=b(td),th=b(td),tf=b(td),tm=b(td),tp=function(t,e,n,i,r,s){let a=0,o=0,l=r,u=.68,d=t.get(),f=0;function m(t){return l=t,g}function p(t){return u=t,g}let g={direction:function(){return o},duration:function(){return l},velocity:function(){return a},seek:function(){let e=i.get()-t.get(),r=0;return l?(n.set(t),a+=e/l,a*=u,d+=a,t.add(a),r=d-f):(a=0,n.set(i),t.set(i),r=e),o=h(r),f=d,g},settled:function(){return .001>c(i.get()-e.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return m(r)},useFriction:p,useDuration:m};return g}(tc,tf,th,tm,L,.68),tg=function(t,e,n,i,r){let{reachedAny:s,removeOffset:a,constrain:o}=i;function l(t){return t.concat().sort((t,e)=>c(t)-c(e))[0]}function u(e,i){let r=[e,e+n,e-n];if(!t)return e;if(!i)return l(r);let s=r.filter(t=>h(t)===i);return s.length?l(s):m(r)-n}return{byDistance:function(n,i){let l=r.get()+n,{index:d,distance:h}=function(n){let i=t?a(n):o(n),{index:r}=e.map((t,e)=>({diff:u(t-i,0),index:e})).sort((t,e)=>c(t.diff)-c(e.diff))[0];return{index:r,distance:i}}(l),f=!t&&s(l);if(!i||f)return{index:d,distance:n};let m=n+u(e[d]-h,0);return{index:d,distance:m}},byIndex:function(t,n){let i=u(e[t]-r.get(),n);return{index:t,distance:i}},shortcut:u}}(j,tr,te,ts,tm),tv=function(t,e,n,i,r,s,a){function o(r){let o=r.distance,l=r.index!==e.get();s.add(o),o&&(i.duration()?t.start():(t.update(),t.render(1),t.update())),l&&(n.set(e.get()),e.set(r.index),a.emit("select"))}return{distance:function(t,e){o(r.byDistance(t,e))},index:function(t,n){let i=e.clone().set(t);o(r.byIndex(i.get(),n))}}}(tu,ta,to,tp,tg,tm,a),ty=function(t){let{max:e,length:n}=t;return{get:function(t){return n?-((t-e)/n):0}}}(ts),tw=w(),tx=function(t,e,n,i){let r,s={},a=null,o=null,l=!1;return{init:function(){r=new IntersectionObserver(t=>{l||(t.forEach(t=>{s[e.indexOf(t.target)]=t}),a=null,o=null,n.emit("slidesInView"))},{root:t.parentElement,threshold:i}),e.forEach(t=>r.observe(t))},destroy:function(){r&&r.disconnect(),l=!0},get:function(t=!0){if(t&&a)return a;if(!t&&o)return o;let e=v(s).reduce((e,n)=>{let i=parseInt(n),{isIntersecting:r}=s[i];return(t&&r||!t&&!r)&&e.push(i),e},[]);return t&&(a=e),t||(o=e),e}}}(e,n,a,E),{slideRegistry:tb}=function(t,e,n,i,r,s){let{groupSlides:a}=r,{min:o,max:l}=i;return{slideRegistry:function(){let i=a(s);return 1===n.length?[s]:t&&"keepSnaps"!==e?i.slice(o,l).map((t,e,n)=>{let i=e===p(n);return e?i?g(p(s)-m(n)[0]+1,m(n)[0]):t:g(m(n[0])+1)}):i}()}}(U,O,tr,ti,K,tl),tC=function(t,e,n,i,r,s,a,l){let d={passive:!0,capture:!0},c=0;function h(t){"Tab"===t.code&&(c=new Date().getTime())}return{init:function(f){l&&(s.add(document,"keydown",h,!1),e.forEach((e,h)=>{s.add(e,"focus",e=>{(u(l)||l(f,e))&&function(e){if(new Date().getTime()-c>10)return;a.emit("slideFocusStart"),t.scrollLeft=0;let s=n.findIndex(t=>t.includes(e));o(s)&&(r.useDuration(0),i.index(s,0),a.emit("slideFocus"))}(h)},d)}))}}}(t,n,tb,tv,tp,tw,a,H),tM={ownerDocument:i,ownerWindow:r,eventHandler:a,containerRect:B,slideRects:q,animation:tu,axis:z,dragHandler:function(t,e,n,i,r,s,a,o,l,d,f,m,p,g,v,b,C,M,k){let{cross:S,direction:T}=t,P=["INPUT","SELECT","TEXTAREA"],j={passive:!1},L=w(),_=w(),D=x(50,225).constrain(g.measure(20)),E={mouse:300,touch:400},A={mouse:500,touch:600},V=v?43:25,O=!1,N=0,R=0,I=!1,H=!1,F=!1,B=!1;function q(t){if(!y(t,i)&&t.touches.length>=2)return z(t);let e=s.readPoint(t),n=s.readPoint(t,S),a=c(e-N),l=c(n-R);if(!H&&!B&&(!t.cancelable||!(H=a>l)))return z(t);let u=s.pointerMove(t);a>b&&(F=!0),d.useFriction(.3).useDuration(.75),o.start(),r.add(T(u)),t.preventDefault()}function z(t){let e=f.byDistance(0,!1).index!==m.get(),n=s.pointerUp(t)*(v?A:E)[B?"mouse":"touch"],i=function(t,e){let n=m.add(-1*h(t)),i=f.byDistance(t,!v).distance;return v||c(t)<D?i:C&&e?.5*i:f.byIndex(n.get(),0).distance}(T(n),e),r=function(t,e){var n,i;if(0===t||0===e||c(t)<=c(e))return 0;let r=(n=c(t),i=c(e),c(n-i));return c(r/t)}(n,i);H=!1,I=!1,_.clear(),d.useDuration(V-10*r).useFriction(.68+r/50),l.distance(i,!v),B=!1,p.emit("pointerUp")}function W(t){F&&(t.stopPropagation(),t.preventDefault(),F=!1)}return{init:function(t){k&&L.add(e,"dragstart",t=>t.preventDefault(),j).add(e,"touchmove",()=>void 0,j).add(e,"touchend",()=>void 0).add(e,"touchstart",o).add(e,"mousedown",o).add(e,"touchcancel",z).add(e,"contextmenu",z).add(e,"click",W,!0);function o(o){(u(k)||k(t,o))&&function(t){let o=y(t,i);if((B=o,F=v&&o&&!t.buttons&&O,O=c(r.get()-a.get())>=2,!o||0===t.button)&&!function(t){let e=t.nodeName||"";return P.includes(e)}(t.target)){I=!0,s.pointerDown(t),d.useFriction(0).useDuration(0),r.set(a);let i=B?n:e;_.add(i,"touchmove",q,j).add(i,"touchend",z).add(i,"mousemove",q,j).add(i,"mouseup",z),N=s.readPoint(t),R=s.readPoint(t,S),p.emit
17("pointerDown")}}(o)}},destroy:function(){L.clear(),_.clear()},pointerDown:function(){return I}}}(z,t,i,r,tm,function(t,e){let n,i;function r(t){return t.timeStamp}function s(n,i){let r=i||t.scroll,s=`client${"x"===r?"X":"Y"}`;return(y(n,e)?n:n.touches[0])[s]}return{pointerDown:function(t){return n=t,i=t,s(t)},pointerMove:function(t){let e=s(t)-s(i),a=r(t)-r(n)>170;return i=t,a&&(n=t),e},pointerUp:function(t){if(!n||!i)return 0;let e=s(i)-s(n),a=r(t)-r(n),o=r(t)-r(i)>170,l=e/a;return a&&!o&&c(l)>.1?l:0},readPoint:s}}(z,r),tc,tu,tv,tp,tg,ta,a,Y,_,D,V,0,I),eventStore:tw,percentOfView:Y,index:ta,indexPrevious:to,limit:ts,location:tc,offsetLocation:tf,previousLocation:th,options:s,resizeHandler:function(t,e,n,i,r,s,a){let o,l,d=[t].concat(i),h=[],f=!1;function m(t){return r.measureSize(a.measure(t))}return{init:function(r){s&&(l=m(t),h=i.map(m),o=new ResizeObserver(n=>{(u(s)||s(r,n))&&function(n){for(let s of n){if(f)return;let n=s.target===t,a=i.indexOf(s.target),o=n?l:h[a];if(c(m(n?t:i[a])-o)>=.5){r.reInit(),e.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{d.forEach(t=>o.observe(t))}))},destroy:function(){f=!0,o&&o.disconnect()}}}(e,a,r,n,z,N,F),scrollBody:tp,scrollBounds:function(t,e,n,i,r){let s=r.measure(10),a=r.measure(50),o=x(.1,.99),l=!1;function u(){return!l&&!!t.reachedAny(n.get())&&!!t.reachedAny(e.get())}return{shouldConstrain:u,constrain:function(r){if(!u())return;let l=t.reachedMin(e.get())?"min":"max",d=c(t[l]-e.get()),h=n.get()-e.get(),f=o.constrain(d/a);n.subtract(h*f),!r&&c(h)<s&&(n.set(t.constrain(n.get())),i.useDuration(25).useBaseFriction())},toggleActive:function(t){l=!t}}}(ts,tf,tm,tp,Y),scrollLooper:function(t,e,n,i){let{reachedMin:r,reachedMax:s}=x(e.min+.1,e.max+.1);return{loop:function(e){if(!(1===e?s(n.get()):-1===e&&r(n.get())))return;let a=-1*e*t;i.forEach(t=>t.add(a))}}}(te,ts,tf,[tc,tf,th,tm]),scrollProgress:ty,scrollSnapList:tr.map(ty.get),scrollSnaps:tr,scrollTarget:tg,scrollTo:tv,slideLooper:function(t,e,n,i,r,s,a,o,l){let u=f(r),d=f(r).reverse(),c=p(m(d,a[0]),n,!1).concat(p(m(u,e-a[0]-1),-n,!0));function h(t,e){return t.reduce((t,e)=>t-r[e],e)}function m(t,e){return t.reduce((t,n)=>h(t,e)>0?t.concat([n]):t,[])}function p(r,a,u){let d=s.map((t,n)=>({start:t-i[n]+.5+a,end:t+e-.5+a}));return r.map(e=>{let i=u?0:-n,r=u?n:0,s=d[e][u?"end":"start"];return{index:e,loopPoint:s,slideLocation:b(-1),translate:C(t,l[e]),target:()=>o.get()>s?i:r}})}return{canLoop:function(){return c.every(({index:t})=>.1>=h(u.filter(e=>e!==t),e))},clear:function(){c.forEach(t=>t.translate.clear())},loop:function(){c.forEach(t=>{let{target:e,translate:n,slideLocation:i}=t,r=e();r!==i.get()&&(n.to(r),i.set(r))})},loopPoints:c}}(z,W,te,X,Z,J,tr,tf,n),slideFocus:tC,slidesHandler:(M=!1,{init:function(t){R&&(d=new MutationObserver(e=>{!M&&(u(R)||R(t,e))&&function(e){for(let n of e)if("childList"===n.type){t.reInit(),a.emit("slidesChanged");break}}(e)})).observe(e,{childList:!0})},destroy:function(){d&&d.disconnect(),M=!0}}),slidesInView:tx,slideIndexes:tl,slideRegistry:tb,slidesToScroll:K,target:tm,translate:C(z,e)};return tM}(t,s,a,T,P,n,D);return n.loop&&!i.slideLooper.canLoop()?e(Object.assign({},n,{loop:!1})):i}(F),V([H,...B.map(({options:t})=>t)]).forEach(t=>_.add(t,"change",z)),F.active&&(i.translate.to(i.location.get()),i.animation.init(),i.slidesInView.init(),i.slideFocus.init(U),i.eventHandler.init(U),i.resizeHandler.init(U),i.slidesHandler.init(U),i.options.loop&&i.slideLooper.loop(),s.offsetParent&&a.length&&i.dragHandler.init(U),r=L.init(U,B))}function z(t,e){let n=$();W(),q(E({startIndex:n},t),e),D.emit("reInit")}function W(){i.dragHandler.destroy(),i.eventStore.clear(),i.translate.clear(),i.slideLooper.clear(),i.resizeHandler.destroy(),i.slidesHandler.destroy(),i.slidesInView.destroy(),i.animation.destroy(),L.destroy(),_.clear()}function Y(t,e,n){F.active&&!I&&(i.scrollBody.useBaseFriction().useDuration(!0===e?0:F.duration),i.scrollTo.index(t,n||0))}function $(){return i.index.get()}let U={canScrollNext:function(){return i.index.add(1).get()!==$()},canScrollPrev:function(){return i.index.add(-1).get()!==$()},containerNode:function(){return s},internalEngine:function(){return i},destroy:function(){I||(I=!0,_.clear(),W(),D.emit("destroy"),D.clear())},off:N,on:O,emit:R,plugins:function(){return r},previousScrollSnap:function(){return i.indexPrevious.get()},reInit:z,rootNode:function(){return t},scrollNext:function(t){Y(i.index.add(1).get(),t,-1)},scrollPrev:function(t){Y(i.index.add(-1).get(),t,1)},scrollProgress:function(){return i.scrollProgress.get(i.offsetLocation.get())},scrollSnapList:function(){return i.scrollSnapList},scrollTo:Y,selectedScrollSnap:$,slideNodes:function(){return a},slidesInView:function(){return i.slidesInView.get()},slidesNotInView:function(){return i.slidesInView.get(!1)}};return q(e,n),setTimeout(()=>D.emit("init"),0),U}function S(t={},e=[]){let n=(0,i.useRef)(t),r=(0,i.useRef)(e),[o,l]=(0,i.useState)(),[u,d]=(0,i.useState)(),c=(0,i.useCallback)(()=>{o&&o.reInit(n.current,r.current)},[o]);return(0,i.useEffect)(()=>{s(n.current,t)||(n.current=t,c())},[t,c]),(0,i.useEffect)(()=>{!function(t,e){if(t.length!==e.length)return!1;let n=a(t),i=a(e);return n.every((t,e)=>s(t,i[e]))}(r.current,e)&&(r.current=e,c())},[e,c]),(0,i.useEffect)(()=>
17{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){k.globalOptions=S.globalOptions;let t=k(u,n.current,r.current);return l(t),()=>t.destroy()}l(void 0)},[u,l]),[d,o]}k.globalOptions=void 0,S.globalOptions=void 0},8179:(t,e,n)=>{"use strict";n.d(e,{W:()=>o});var i=n(5155),r=n(5032);n(3835);let s={plainTextCard:"_plainTextCard_1s225_1",plainTextCardHeading:"_plainTextCardHeading_1s225_11",plainTextCardSubHeading:"_plainTextCardSubHeading_1s225_21",plainTextCardIcon:"_plainTextCardIcon_1s225_29",plainTextCardLink:"_plainTextCardLink_1s225_34",plainTextCardCta:"_plainTextCardCta_1s225_57"};function a({title:t,text:e,textCardLink:n,className:r=""}){return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("h3",{className:`${s.plainTextCardHeading} ${r}`,children:[t,n&&(0,i.jsx)("div",{className:s.plainTextCardIcon,children:(0,i.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M0.525 3.955H7.47L5.055 1.525L6.555 0.0249997L10.725 4.195V6.1L6.585 10.27L5.055 8.74L7.47 6.34H0.525V3.955Z",fill:"#2D2D2D"})})})]}),(0,i.jsx)("div",{className:s.plainTextCardSubHeading,children:e})]})}function o({title:t,text:e,bgColor:n=r.ov,textCardLink:o,cta:l,className:u=""}){return(0,i.jsxs)("div",{className:s.plainTextCard,style:{backgroundColor:n},"data-ui-kit":"plain-text-card",children:[o?(0,i.jsx)("a",{href:o,className:s.plainTextCardLink,children:(0,i.jsx)(a,{title:t,text:e,textCardLink:o,className:u})}):(0,i.jsx)(a,{title:t,text:e,textCardLink:o,className:u}),(0,i.jsx)("div",{className:s.plainTextCardCta,children:l})]})}},8321:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>r.a});var i=n(1402),r=n.n(i),s={};for(let t in i)"default"!==t&&(s[t]=()=>i[t]);n.d(e,s)},8567:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"workAsyncStorage",{enumerable:!0,get:function(){return i.workAsyncStorageInstance}});let i=n(7828)},9180:(t,e,n)=>{"use strict";n.d(e,{Cg:()=>s,_P:()=>l,_m:()=>o,my:()=>i,s0:()=>a,w4:()=>r});let i=6048e5,r=864e5,s=6e4,a=36e5,o=1e3,l=Symbol.for("constructDateFrom")},9357:(t,e,n)=>{"use strict";n.d(e,{m:()=>s});let i=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},r=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},s={p:r,P:(t,e)=>{let n,s=t.match(/(P+)(p+)?/)||[],a=s[1],o=s[2];if(!o)return i(t,e);switch(a){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",i(a,e)).replace("{{time}}",r(o,e))}}},9378:()=>{},9862:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return i}});let i=n(8140)._(n(2115)).default.createContext(null)}}]);
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.