PageSourceSearch

https://www.mikrostomart.pl/_next/static/chunks/28894-8926344759864ae2.js

js mikrostomart.pl collected 2026-10-08 07:14:04 UTC 55,112 bytes, 1 lines download raw bytes

1!function(){try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="abd7f99b-a3b8-4d5e-9015-f9d25df4ca59",t._sentryDebugIdIdentifier="sentry-dbid-abd7f99b-a3b8-4d5e-9015-f9d25df4ca59")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28894,78340],{6144:(t,e,i)=>{i.d(e,{DT:()=>l,FP:()=>r,TK:()=>o,Zn:()=>n,aM:()=>a,x3:()=>h});var s=i(92651);function o(t){return"string"==typeof t?{pathname:t}:t}function n(t){let e=new URLSearchParams;for(let[i,s]of Object.entries(t))Array.isArray(s)?s.forEach(t=>{e.append(i,String(t))}):e.set(i,String(s));return"?"+e.toString()}function r({pathname:t,locale:e,params:i,pathnames:o,query:a}){function l(t){let r,l=o[t];return l?(r=(0,s.Wl)(l,e,t),i&&Object.entries(i).forEach(([t,e])=>{let i,s;Array.isArray(e)?(i=`(\\[)?\\[...${t}\\](\\])?`,s=e.map(t=>String(t)).join("/")):(i=`\\[${t}\\]`,s=String(e)),r=r.replace(RegExp(i,"g"),s)}),r=new URL(r=r.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):r=t,r=(0,s.po)(r),a&&(r+=n(a)),r}if("string"==typeof t)return l(t);{let{pathname:e,...i}=t;return{...i,pathname:l(e)}}}function a(t,e,i){let o=(0,s.FD)(Object.keys(i)),n=decodeURI(e);for(let e of o){let o=i[e];if("string"==typeof o){if((0,s.ql)(o,n))return e}else if((0,s.ql)((0,s.Wl)(o,t,e),n))return e}return e}function l(t,e=window.location.pathname){return"/"===t?e:e.replace(t,"")}function h(t,e,i,o){let n,{mode:r}=i.localePrefix;if(void 0!==o)n=o;else if((0,s._x)(t)){let t=i.domains?.find(t=>t.locales.includes(e)),s=t?.localePrefix||r;"always"===s?n=!0:"as-needed"===s&&(n=t?e!==t.defaultLocale:e!==i.defaultLocale)}return n?(0,s.PJ)((0,s.XP)(e,i.localePrefix),t):t}},8470:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]])},9780:(t,e,i)=>{i.d(e,{A:()=>o});var s=i(6144);function o(t,e,i,o){if(!t||o===i||null==o||!e)return;let n=(0,s.DT)(e),{name:r,...a}=t;a.path||(a.path=""!==n?n:"/");let l=`${r}=${o};`;for(let[t,e]of Object.entries(a))l+=`${"maxAge"===t?"max-age":t}`,"boolean"!=typeof e&&(l+="="+e),l+=";";document.cookie=l}},11104:(t,e,i)=>{let s,o;i.d(e,{P:()=>eV});var n=i(85294),r=i(50154),a=i(5518),l=i(11035),h=i(72025),u=i(4287),c=i(77011);function d(t){return[t("x"),t("y")]}var p=i(11048),m=i(56260);function y(t){return t.max-t.min}function f(t,e,i,s=.5){t.origin=s,t.originPoint=(0,m.k)(e.min,e.max,t.origin),t.scale=y(i)/y(e),t.translate=(0,m.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function g(t,e,i,s){f(t.x,e.x,i.x,s?s.originX:void 0),f(t.y,e.y,i.y,s?s.originY:void 0)}function v(t,e,i,s=0){t.min=(s?(0,m.k)(i.min,i.max,s):i.min)+e.min,t.max=t.min+y(e)}function x(t,e,i,s=0){let o=s?(0,m.k)(i.min,i.max,s):i.min;t.min=e.min-o,t.max=t.min+y(e)}function P(t,e,i,s){x(t.x,e.x,i.x,s?.x),x(t.y,e.y,i.y,s?.y)}var w=i(27933),k=i(61638),D=i(93560),T=i(27669),E=i(56219),A=i(17086),S=i(31043),R=i(94601);function L(t){return(0,R.G)(t)&&"ownerSVGElement"in t}var j=i(58392);let M=new WeakMap,b=(t,e,i)=>(s,o)=>o&&o[0]?o[0][t+"Size"]:L(s)&&"getBBox"in s?s.getBBox()[e]:s[i],V=b("inline","width","offsetWidth"),B=b("block","height","offsetHeight");function C({target:t,borderBoxSize:e}){M.get(t)?.forEach(i=>{i(t,{get width(){return V(t,e)},get height(){return B(t,e)}})})}function U(t){t.forEach(C)}let I=new Set;function F(t,e){let i;return"function"==typeof t?(I.add(t),o||(o=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};I.forEach(e=>e(t))},window.addEventListener("resize",o)),()=>{I.delete(t),I.size||"function"!=typeof o||(window.removeEventListener("resize",o),o=void 0)}):(!s&&"u">typeof ResizeObserver&&(s=new ResizeObserver(U)),(i=(0,j.K)(t)).forEac
1h(t=>{let i=M.get(t);i||(i=new Set,M.set(t,i)),i.add(e),s?.observe(t)}),()=>{i.forEach(t=>{let i=M.get(t);i?.delete(e),i?.size||s?.unobserve(t)})})}var O=i(5556),W=i(69328);function z(t,e,i,s){return(0,S.k)(t,e,(0,W.F)(i),s)}let G=({current:t})=>t?t.ownerDocument.defaultView:null;var $=i(11493),H=i(77866),N=i(34017),q=i(38621);let X=(t,e)=>Math.abs(t-e),_=new Set(["auto","scroll"]);class Q{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:n=3,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=Y(this.lastRawMoveEventInfo,this.transformPagePoint));let i=Z(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,o=(t=i.offset,e={x:0,y:0},Math.sqrt(X(t.x,e.x)**2+X(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!o)return;let{point:n}=i,{timestamp:r}=w.uv;this.history.push({...n,timestamp:r});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=Y(e,this.transformPagePoint),w.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:o}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=Z("pointercancel"===t.type?this.lastMoveEventInfo:Y(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!(0,H.M)(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=s||window;const a=Y((0,W.e)(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=w.uv;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,Z(a,this.history)),this.removeListeners=(0,N.F)(z(this.contextWindow,"pointermove",this.handlePointerMove),z(this.contextWindow,"pointerup",this.handlePointerUp),z(this.contextWindow,"pointercancel",this.handlePointerUp)),r&&this.startScrollTracking(r)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(_.has(t.overflowX)||_.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:s.x-e.x,y:s.y-e.y};(0!==o.x||0!==o.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,s),w.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,w.WG)(this.updatePoint)}}function Y(t,e){return e?{point:e(t.point)}:t}function K(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Z({point:t},e){return{point:t,delta:K(t,J(e)),offset:K(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=J(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,q.f)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>2*(0,q.f)(.1)&&(i=t[1]);let o=(0,q.X)(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};let n={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function J(t){return t[t.length-1]}var tt=i(18844),te=i(94712);function ti(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function ts(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function to(t,e,i){return{min:tn(t,e),max:tn(t,i)}}function tn(t,e){return"number"==typeof t?t:t[e]||0}let tr=new WeakMap;class ta{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=(0,u.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let o=t=>{e&&this.snapToCursor((0,W.e)(t).point),this.stopAnimation()},n=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:o}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(c.I[t])return null;else return c.I[t]=!0,()=>{c.I[t]=!1};return c.I.x||c.I.y?null:(c.I.x=c.I.y=!0,()=>{c.I.x=c.I.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),d(t=>{let e=this.getAxisMotionValue(t).get()||0;if(p.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=y(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),o&&w.Gt.update(()=>o(t,e),!1,!0),(0,k.g)(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},r=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:o,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:r}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(r),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),n&&w.Gt.update(()=>n(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new Q(t,{onSessionStart:o,onStart:n,onMove:r,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:G(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!i)return;let{velocity:n}=s;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&w.Gt.postRender(()=>r(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!th(t,s,this.currentDirection))return;let o=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,m.k)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,m.k)(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),o.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&(0,$.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:o}){return{x:ti(t.x,i,o),y:ti(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:to(t,"left","right"),y:to(t,"top","bottom")}}(e),s!==this.constraints&&!(0,$.X)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&d(t=>{var e,s;let o;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],o={},void 0!==s.min&&(o.min=s.min-e.min),void 0!==s.max&&(o.max=s.max-e.min),o))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,$.X)(e))return!1;let s=e.current;(0,O.V)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let n=(0,D.L)(s,o.root,this.visualElement.getTransformPagePoint()),r=(t=o.layout.layoutBox,{x:ts(t.x,n.x),y:ts(t.y,n.y)});if(i){let t=i((0,T.pA)(r));this.hasMutatedConstraints=!!t,t&&(r=(0,T.FY)(t))}return r}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:o,dragSnapToOrigin:n,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{};return Promise.all(d(r=>{if(!th(r,e,this.currentDirection))return;let l=a&&a[r]||{};(!0===n||n===r)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[r]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(r,h)})).then(r)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,k.g)(this.visualElement,t),i.start((0,E.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){d(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){d(e=>{let{drag:i}=this.getProps();if(!th(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,o=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e],r=o.get()||0;o.set(t[e]-(0,m.k)(i,n,.5)+r)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,$.X)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};d(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,o;let n,r,a,l=e.get();s[t]=(i={min:l,max:l},o=this.constraints[t],n=.5,r=y(i),(a=y(o))>r?n=(0,tt.q)(o.min,o.max-r,i.min):r>a&&(n=(0,tt.q)(i.min,i.max-a,o.min)),(0,te.q)(0,1,n))}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),d(e=>{if(!th(e,t,null))return;let i=this.getAxisMotionValue(e),{min:o,max:n}=this.constraints[e];i.set((0,m.k)(o,n,s[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;tr.set(this.visualElement,this);let e=this.visualElement.current,i=z(e,"pointerdown",t=>{let{drag:i,dragListener:s=!0}
1=this.getProps(),o=t.target,n=o!==e&&(0,A.a)(o);i&&s&&!n&&this.start(t)}),s=()=>{var i,s,o;let n,r,{dragConstraints:a}=this.getProps();(0,$.X)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,s=a.current,n=F(i,tl(o=()=>this.scalePositionWithinConstraints())),r=F(s,tl(o)),t=()=>{n(),r()}))},{projection:o}=this.visualElement,n=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),w.Gt.read(s);let r=(0,S.k)(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(d(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),i(),n(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:n=.35,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:o,dragElastic:n,dragMomentum:r}}}function tl(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function th(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class tu extends l.X{constructor(t){super(t),this.removeGroupControls=h.l,this.removeListeners=h.l,this.controls=new ta(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||h.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let tc=t=>(e,i)=>{t&&w.Gt.update(()=>t(e,i),!1,!0)};class td extends l.X{constructor(){super(...arguments),this.removePointerDownListener=h.l}onPointerDown(t){this.session=new Q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:tc(t),onStart:tc(e),onMove:tc(i),onEnd:(t,e)=>{delete this.session,s&&w.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=z(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tp=i(95155);let tm={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var ty=i(38873),tf=i(12115),tg=i(79196),tv=i(39551),tx=i(59299);let tP=!1;class tw extends tf.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;o&&(e.group&&e.group.add(o),i&&i.register&&s&&i.register(o),tP&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),tm.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:o}=this.props,{projection:n}=i;return n&&(n.isPresent=o,t.layoutDependency!==e&&n.setOptions({...n.options,layoutDependency:e}),tP=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==o?n.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?n.promote():n.relegate()||w.Gt.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),ty.k.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;tP=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tk(t){let[e,i]=(0,tg.xQ)(),s=(0,tf.useContext)(tv.L);return(0,tp.jsx)(tw,{...t,layoutGroup:s,switchLayoutGroup:(0,tf.useContext)(tx.N),isPresent:e,safeToRemove:i})}var tD=i(73852),tT=i(6900),tE=i(51469),tA=i(61151),tS=i(75319),tR=i(37035),tL=i(21872),tj=i(67026),tM=i(41342),tb=i(32964),tV=i(89722);let tB=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],tC=tB.length,tU=t=>"string"==typeof t?parseFloat(t):t,tI=t=>"number"==typeof t||p.px.test(t);function tF(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tO=tz(0,.5,tV.yT),tW=tz(.5,.95,h.l);function tz(t,e,i){return s=>s<t?0:s>e?1:i((0,tt.q)(t,e,s))}function tG(t,e){t.min=e.min,t.max=e.max}function t$(t,e){tG(t.x,e.x),tG(t.y,e.y)}function tH(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var tN=i(2988);function tq(t,e,i,s,o){return t-=e,t=(0,tN.hq)(t,1/i,s),void 0!==o&&(t=(0,tN.hq)(t,1/o,s)),t}function tX(t,e,[i,s,o],n,r){!function(t,e=0,i=1,s=.5,o,n=t,r=t){if(p.KN.test(e)&&(e=parseFloat(e),e=(0,m.k)(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=(0,m.k)(n.min,n.max,s);t===n&&(a-=e),t.min=tq(t.min,e,i,a,o),t.max=tq(t.max,e,i,a,o)}(t,e[i],e[s],e[o],e.scale,n,r)}let t_=["x","scaleX","originX"],tQ=["y","scaleY","originY"];function tY(t,e,i,s){tX(t.x,e,t_,i?i.x:void 0,s?s.x:void 0),tX(t.y,e,tQ,i?i.y:void 0,s?s.y:void 0)}function tK(t){return 0===t.translate&&1===t.scale}function tZ(t){return tK(t.x)&&tK(t.y)}function tJ(t,e){return t.min===e.min&&t.max===e.max}function t0(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function t1(t,e){return t0(t.x,e.x)&&t0(t.y,e.y)}function t2(t){return y(t.x)/y(t.y)}function t5(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var t4=i(78170);class t9{constructor(){this.members=[]}add(t){(0,t4.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let s=i.instance;s&&!1!==s.isConnected||i.snapshot||((0,t4.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,t4.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:o}=t.options;(void 0===s||s!==o)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let t3=(t,e)=>t.depth-e.depth;class t7{constructor(){this.children=[],this.isDirty=!1}add(t){(0,t4.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,t4.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(t3),this.isDirty=!1,this.children.forEach(t)}}var t6=i(33411);let t8={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},et=["","X","Y","Z"],ee=0;function ei(t,e,i,s){let{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function es({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(t={},i=e?.()){this.id=ee++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tM.Q.value&&(t8.nodes=t8.calculatedTargetDeltas=t8.calculatedProjections=0),this.nodes.forEach(er),this.nodes.forEach(ey),this.nodes.forEach(ef),this.nodes.forEach(ea),tM.Q.addProjectionMetrics&&tM.Q.addProjectionMetrics(t8)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new t7)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tD.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=L(e)&&!(L(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,o=()=>this.root.updateBlockedByResize=!1;w.Gt.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,n;s=t,this.root.updateBlockedByResize=!0,i&&i(),e=tR.k.now(),n=({timestamp:t})=>{let i=t-e;i>=250&&((0,w.WG)(n),o())},w.Gt.setup(n,!0),i=()=>(0,w.WG)(n),tm.hasAnimatedSinceResize&&(tm.hasAnimatedSinceResize=!1,this.nodes.forEach(em))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||o.getDefaultTransition()||ek,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!t1(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,tS.r)(n,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||em(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}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(),(0,w.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(eg),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,tA.P)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",w.Gt,!(t||i))}let{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&t(o)}(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,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(eu),this.nodes.forEach(eh);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ec);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ed),this.nodes.forEach(ep),this.nodes.forEach(eo),this.nodes.forEach(en)):this.nodes.forEach(ec),this.clearAllSnapshots();let t=tR.k.now();w.uv.delta=(0,te.q)(0,1e3/60,t-w.uv.timestamp),w.uv.timestamp=t,w.uv.isProcessing=!0,w.PP.update.process(w.uv),w.PP.preRender.process(w.uv),w.PP.render.process(w.uv),w.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ty.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(el),this.sharedNodes.forEach(ev)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,w.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){w.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||y(this.snapshot.measuredBox.x)||y(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,u.ge)()),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=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!o)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tZ(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,t6.HD)(this.latestValues)||n)&&(o(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),eE((e=s).x),eE(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,u.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eS))){let{scroll:t}=this.root;t&&((0,tN.Ql)(e.x,t.offset.x),(0,tN.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,u.ge)();if(t$(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:o,options:n}=s;s!==this.root&&o&&n.layoutScroll&&(o.wasRoot&&t$(e,t),(0,tN.Ql)(e.x,o.offset.x),(0,tN.Ql)(e.y,o.offset.y))}return e}applyTransform(t,e=!1,i){let s=i||(0,u.ge)();t$(s,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,tN.Ql)(s.x,-i.scroll.offset.x),(0,tN.Ql)(s.y,-i.scroll.offset.y)),(0,t6.HD)(i.latestValues)&&(0,tN.Ww)(s,i.latestValues,i.layout?.layoutBox)}return(0,t6.HD)(this.latestValues)&&(0,tN.Ww)(s,this.latestValues,this.layout?.layoutBox),s}removeTransform(t){let e=(0,u.ge)();t$(e,t);for(let t=0;t<this.path.length;t++){let i,s=this.path[t];(0,t6.HD)(s.latestValues)&&(s.instance&&((0,t6.vk)(s.latestValues)&&s.updateSnapshot(),t$(i=(0,u.ge)(),s.measurePageBox())),tY(e,s.latestValues,s.snapshot?.layoutBox,i))}return(0,t6.HD)(this.latestValues)&&tY(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!==w.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:o}=this.options;if(!this.layout||!(s||o))return;this.resolvedRelativeTargetAt=w.uv.timestamp;let n=this.getClosestProjectingParent();if(n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,u.ge)(),this.targetWithTransforms=(0,u.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var r,a,l,h;this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,h=this.options.layoutAnchor||void 0,v(r.x,a.x,l.x,h?.x),v(r.y,a.y,l.y,h?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):t$(this.target,this.layout.layoutBox),(0,tN.o4)(this.target,this.targetDelta)):t$(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&n&&!!n.resumingFrom==!!this.resumingFrom&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0),tM.Q.value&&t8.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||(0,t6.vk)(this.parent.latestValues)||(0,t6.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,u.ge)(),this.relativeTargetOrigin=(0,u.ge)(),P(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),t$(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===w.uv.timestamp&&(i=!1),i)return;let{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||o))return;t$(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,r=this.treeScale.y;(0,tN.OU)(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=(0,u.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(tH(this.prevProjectionDelta.x,this.projectionDelta.x),tH(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),g(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===r&&t5(this.projectionDelta.x,this.prevProjectionDelta.x)&&t5(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tM.Q.value&&t8.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=(0,u.xU)(),this.projectionDelta=(0,u.xU)(),this.projectionDeltaWithTransform=(0,u.xU)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,o=s?s.latestValues:{},n={...this.latestValues},r=(0,u.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,u.ge)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(ew));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(ex(r.x,t.x,s),ex(r.y,t.y,s),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,y,f,g,v,x;P(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,v=a,x=s,eP(f.x,g.x,v.x,x),eP(f.y,g.y,v.y,x),i&&(h=this.relativeTarget,y=i,tJ(h.x,y.x)&&tJ(h.y,y.y))&&(this.isProjectionDirty=!1),i||(i=(0,u.ge)()),t$(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,o,n){o?(t.opacity=(0,m.k)(0,i.opacity??1,tO(s)),t.opacityExit=(0,m.k)(e.opacity??1,0,tW(s))):n&&(t.opacity=(0,m.k)(e.opacity??1,i.opacity??1,s));for(let o=0;o<tC;o++){let n=tB[o],r=tF(e,n),a=tF(i,n);(void 0!==r||void 0!==a)&&(r||(r=0),a||(a=0),0===r||0===a||tI(r)===tI(a)?(t[n]=Math.max((0,m.k)(tU(r),tU(a),s),0),(p.KN.test(a)||p.KN.test(r))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,m.k)(e.rotate||0,i.rotate||0,s))}(n,o,this.latestValues,s,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,w.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=w.Gt.update(()=>{var e,i,s;let o;tm.hasAnimatedSinceResize=!0,tj.q.layout++,this.motionValue||(this.motionValue=(0,tT.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],s={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{tj.q.layout--},onComplete:()=>{tj.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(o=(0,tE.S)(e)?e:(0,tT.OQ)(e)).start((0,E.f)("",o,i,s)),o.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:o}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&eA(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,u.ge)();let e=y(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=y(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}t$(e,i),(0,tN.Ww)(e,o),g(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new t9),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&ei("z",t,s,this.animationValues);for(let e=0;e<et.length;e++)ei(`rotate${et[e]}`,t,s,this.animationValues),ei(`skew${et[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,tb.u)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,tb.u)(e?.pointerEvents)||""),this.hasProjected&&!(0,t6.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let o=s.animationValues||s.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let s="",o=t.x.translate/e.x,n=t.y.translate/e.y,r=i?.z||0;if((o||n||r)&&(s=`translate3d(${o}px, ${n}px, ${r}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:o,rotateY:n,skewX:r,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),o&&(s+=`rotateX(${o}deg) `),n&&(s+=`rotateY(${n}deg) `),r&&(s+=`skewX(${r}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);i&&(n=i(o,n)),t.transform=n;let{x:r,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:t.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,tL.H){if(void 0===o[e])continue;let{correct:i,applyTo:r,isCSSVariable:a}=tL.H[e],l="none"===n?o[e]:i(o[e],s);if(r){let e=r.length;for(let i=0;i<e;i++)t[r[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,tb.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(eh),this.root.sharedNodes.clear()}}}function eo(t){t.updateLayout()}function en(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:o}=t.options,n=e.source!==t.layout.source;if("size"===o)d(t=>{let s=n?e.measuredBox[t]:e.layoutBox[t],o=y(s);s.min=i[t].min,s.max=s.min+o});else if("x"===o||"y"===o){let t="x"===o?"y":"x";tG(n?e.measuredBox[t]:e.layoutBox[t],i[t])}else eA(o,e.layoutBox,i)&&d(s=>{let o=n?e.measuredBox[s]:e.layoutBox[s],r=y(i[s]);o.max=o.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});let r=(0,u.xU)();g(r,i,e.layoutBox);let a=(0,u.xU)();n?g(a,t.applyTransform(s,!0),e.measuredBox):g(a,i,e.layoutBox);let l=!tZ(r),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:o,layout:n}=s;if(o&&n){let r=t.options.layoutAnchor||void 0,a=(0,u.ge)();P(a,e.layoutBox,o.layoutBox,r);let l=(0,u.ge)();P(l,i,n.layoutBox,r),t1(a,l)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function er(t){tM.Q.value&&t8.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 ea(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function el(t){t.clearSnapshot()}function eh(t){t.clearMeasurements()}function eu(t){t.isLayoutDirty=!0,t.updateLayout()}function ec(t){t.isLayoutDirty=!1}function ed(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function ep(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function em(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ey(t){t.resolveTargetDelta()}function ef(t){t.calcProjection()}function eg(t){t.resetSkewAndRotation()}function ev(t){t.removeLeadSnapshot()}function ex(t,e,i){t.translate=(0,m.k)(e.translate,0,i),t.scale=(0,m.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eP(t,e,i,s){t.min=(0,m.k)(e.min,i.min,s),t.max=(0,m.k)(e.max,i.max,s)}function ew(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ek={duration:.45,ease:[.4,0,.1,1]},eD=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eT=eD("applewebkit/")&&!eD("chrome/")?Math.round:h.l;function eE(t){t.min=eT(t.min),t.max=eT(t.max)}function eA(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(t2(e)-t2(i)))}function eS(t){return t!==t.root&&t.scroll?.wasRoot}let eR=es({attachResizeListener:(t,e)=>(0,S.k)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eL={current:void 0},ej=es({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eL.current){let t=new eR({});t.mount(window),t.setOptions({layoutScroll:!0}),eL.current=t}return eL.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var eM=i(19635);let eb={...a.W,...eM.n,pan:{Feature:td},drag:{Feature:tu,ProjectionNode:ej,MeasureLayout:tk},layout:{ProjectionNode:ej,MeasureLayout:tk}},eV=(0,r.H)(eb,n.J)},21362:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},31719:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("scan",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]])},34220:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]])},34898:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("microscope",[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]])},44478:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},50910:(t,e,i)=>{i.d(e,{c:()=>n});var s=i(11697);function o(t,e){return(...t)=>{try{return e(...t)}catch{throw Error(void 0)}}}let n=o(0,s.c3);o(0,s.kc)},52577:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("gem",[["path",{d:"M10.5 3 8 9l4 13 4-13-2.5-6",key:"b3dvk1"}],["path",{d:"M17 3a2 2 0 0 1 1.6.8l3 4a2 2 0 0 1 .013 2.382l-7.99 10.986a2 2 0 0 1-3.247 0l-7.99-10.986A2 2 0 0 1 2.4 7.8l2.998-3.997A2 2 0 0 1 7 3z",key:"7w4byz"}],["path",{d:"M2 9h20",key:"16fsjt"}]])},53643:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("syringe",[["path",{d:"m18 2 4 4",key:"22kx64"}],["path",{d:"m17 7 3-3",key:"1w1zoj"}],["path",{d:"M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5",key:"1exhtz"}],["path",{d:"m9 11 4 4",key:"rovt3i"}],["path",{d:"m5 19-3 3",key:"59f2uf"}],["path",{d:"m14 4 6 6",key:"yqp9t2"}]])},73321:(t,e,i)=>{var s=i(74645);i.o(s,"permanentRedirect")&&i.d(e,{permanentRedirect:function(){return s.permanentRedirect}}),i.o(s,"redirect")&&i.d(e,{redirect:function(){return s.redirect}}),i.o(s,"useParams")&&i.d(e,{useParams:function(){return s.useParams}}),i.o(s,"usePathname")&&i.d(e,{usePathname:function(){return s.usePathname}}),i.o(s,"useRouter")&&i.d(e,{useRouter:function(){return s.useRouter}}),i.o(s,"useSearchParams")&&i.d(e,{useSearchParams:function(){return s.useSearchParams}})},76558:(t,e,i)=>{i.d(e,{default:()=>h});var s=i(98500),o=i(73321),n=i(12115),r=i(11697),a=i(9780),l=i(95155),h=(0,n.forwardRef)(function(t,e){let{href:i,locale:n,localeCookie:h,onClick:u,prefetch:c,...d}=t,p=(0,r.Ym)(),m=null!=n&&n!==p,y=(0,o.usePathname)();return m&&(c=!1),(0,l.jsx)(s,{ref:e,href:i,hrefLang:m?n:void 0,onClick:function(t){(0,a.A)(h,y,p,n),u&&u(t)},prefetch:c,...d})})},78340:(t,e,i)=>{i.d(e,{A:()=>l});var s=i(12115);let o=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},n=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()};var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,s.forwardRef)((t,e)=>{let{color:i="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:h="",children:u,iconNode:c,...d}=t;return(0,s.createElement)("svg",{ref:e,...r,width:o,height:o,stroke:i,strokeWidth:l?24*Number(a)/Number(o):a,className:n("lucide",h),...!u&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(d)&&{"aria-hidden":"true"},...d},[...c.map(t=>{let[e,i]=t;return(0,s.createElement)(e,i)}),...Array.isArray(u)?u:[u]])}),l=(t,e)=>{let i=(0,s.forwardRef)((i,r)=>{let{className:l,...h}=i;return(0,s.createElement)(a,{ref:r,iconNode:e,className:n(`lucide-${o(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,l),...h})});return i.displayName=o(t),i}},86901:(t,e,i)=>{i.d(e,{A:()=>s});let s=(0,i(78340).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 
11.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},91930:(t,e,i)=>{i.d(e,{default:()=>n});var s=i(11697),o=i(95155);function n(t){let{locale:e,...i}=t;if(!e)throw Error(void 0);return(0,o.jsx)(s.Dk,{locale:e,...i})}},92651:(t,e,i)=>{i.d(e,{FD:()=>g,MY:()=>n,PJ:()=>r,Wl:()=>l,XP:()=>c,_x:()=>o,bL:()=>d,po:()=>h,ql:()=>u,wO:()=>a,yL:()=>v});var s=i(87358);function o(t){let e;return("object"==typeof t?null==t.host&&null==t.hostname:!/^[a-z]+:/i.test(t))&&(null==(e="object"==typeof t?t.pathname:t)||!!e.startsWith("/"))}function n(t,e){return t.replace(RegExp(`^${e}`),"")||"/"}function r(t,e){let i=t;return/^\/(\?.*)?$/.test(e)&&(e=e.slice(1)),i+=e}function a(t,e){return e===t||e.startsWith(`${t}/`)}function l(t,e,i){return"string"==typeof t?t:t[e]||i}function h(t){let e=function(){try{return"true"===s.env._next_intl_trailing_slash}catch{return!1}}(),[i,...o]=t.split("#"),n=o.join("#"),r=i;if("/"!==r){let t=r.endsWith("/");e&&!t?r+="/":!e&&t&&(r=r.slice(0,-1))}return n&&(r+="#"+n),r}function u(t,e){let i,s=h(t),o=h(e);return(i=s.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${i}$`)).test(o)}function c(t,e){return"never"!==e.mode&&e.prefixes?.[t]||d(t)}function d(t){return"/"+t}function p(t){return t.includes("[[...")}function m(t){return t.includes("[...")}function y(t){return t.includes("[")}function f(t,e){let i=t.split("/"),s=e.split("/"),o=Math.max(i.length,s.length);for(let t=0;t<o;t++){let e=i[t],o=s[t];if(!e&&o)return -1;if(e&&!o)return 1;if(e||o){if(!y(e)&&y(o))return -1;if(y(e)&&!y(o))return 1;if(!m(e)&&m(o))return -1;if(m(e)&&!m(o))return 1;if(!p(e)&&p(o))return -1;if(p(e)&&!p(o))return 1}}return 0}function g(t){return t.sort(f)}function v(t){return"function"==typeof t.then}}}]);

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.