PageSourceSearch

https://www.carmandi.pk/_next/static/chunks/8447.b50a897d2e5aabf5.js

js carmandi.pk collected 2026-10-02 02:07:16 UTC 50,314 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8447],{80320:function(){},83522:function(){},82442:function(e,t,n){"use strict";n.d(t,{$0:function(){return ew},Ac:function(){return p},CT:function(){return R},Dy:function(){return eN},Eq:function(){return b},Fy:function(){return E},Ju:function(){return P},KL:function(){return k},NM:function(){return y},Nc:function(){return f},OL:function(){return ep},OV:function(){return Q},P0:function(){return eP},QB:function(){return x},RD:function(){return J},Su:function(){return eM},TX:function(){return ec},U2:function(){return ea},VI:function(){return M},Wy:function(){return s},Xl:function(){return m},ZP:function(){return ej},_7:function(){return eg},bQ:function(){return eL},bc:function(){return eD},bt:function(){return ev},cO:function(){return v},gJ:function(){return h},hI:function(){return V},hU:function(){return eo},iv:function(){return I},l6:function(){return _},mw:function(){return D},oc:function(){return q},t$:function(){return eF},tS:function(){return U},wQ:function(){return T},x$:function(){return g}});var r,l,i,o,u=n(2265),a=n(15575),c=n(54887);let d="yarl__";function s(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return[...t].filter(Boolean).join(" ")}function f(e){return"".concat(d).concat(e)}function h(e){return"--".concat(d).concat(e)}function m(e,t){return"".concat(e).concat(t?"_".concat(t):"")}function v(e){return t=>m(e,t)}function p(e,t){var n;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:t}function g(e,t,n){return p(e,"{index} of {total}").replace(/\{index}/g,"".concat(S(n,t.length)+1)).replace(/\{total}/g,"".concat(t.length))}function b(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>{t.forEach(e=>{e()})}}function E(e,t,n){return()=>{let r=u.useContext(n);if(!r)throw Error("".concat(e," must be used within a ").concat(t,".Provider"));return r}}function w(){return"undefined"!=typeof window}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function x(e){return void 0===e.type||"image"===e.type}function M(e,t){return e.imageFit===a.rO||e.imageFit!==a.j3&&t===a.rO}function N(e){return"string"==typeof e?Number.parseInt(e,10):e}function C(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=N(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function k(){return(w()?null==window?void 0:window.devicePixelRatio:void 0)||1}function S(e,t){return t>0?(e%t+t)%t:0}function P(e){return e.length>0}function R(e,t){return e[S(t,e.length)]}function L(e,t){return P(e)?R(e,t):void 0}function I(e){return x(e)?e.src:void 0}function T(e,t,n){if(!n)return e;let{buttons:r,...l}=e,i=r.findIndex(e=>e===t),o=u.isValidElement(n)?u.cloneElement(n,{key:t},null):n;if(i>=0){let e=[...r];return e.splice(i,1,o),{buttons:e,...l}}return{buttons:[o,...r],...l}}function D(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}let A=Number(u.version.split(".")[0])>=19,O={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[a.t9]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:a.j3,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1,disableSwipeNavigation:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function _(e,t){return{name:e,component:t}}function z(e,t){return{module:e,children:t}}function W(e,t,n){return e.flatMap(e=>{var r;return null!==(r=function e(t,n,r){return t.module.name===n?r(t):t.children?[z(t.module,t.children.flatMap(t=>{var l;return null!==(l=e(t,n,r))&&void 0!==l?l:[]}))]:[t]}(e,t,n))&&void 0!==r?r:[]})}let $=u.createContext(null),F=E("useA11yContext","A11yContext",$);function Z(e){let{children:t}=e,[n,r]=u.useState(!1),[l,i]=u.useState(!1),o=u.useMemo(()=>({focusWithin:n,trackFocusWithin:(e,t)=>{let n=n=>l=>{var i;l.currentTarget.contains(l.relatedTarget)||r(n),null===(i=n?e:t)||void 0===i||i(l)};return{onFocus:n(!0),onBlur:n(!1)}},autoPlaying:l,setAutoPlaying:i}),[n,l]);return u.createElement($.Provider,{value:o},t)}let X=u.createContext(null),U=E("useDocument","DocumentContext",X);function H(e){let{nodeRef:t,children:n}=e,r=u.useMemo(()=>{let e=e=>{var n;return(null===(n=e||t.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:e,getOwnerWindow:t=>{var n;return(null===(n=e(t))||void 0===n?void 0:n.defaultView)||window}}},[t]);return u.createElement(X.Provider,{value:r},n)}let B=u.createContext(null),V=E("useEvents","EventsContext",B);function K(e){let{children:t}=e,[n]=u.useState({});u.useEffect(()=>()=>
1{Object.keys(n).forEach(e=>delete n[e])},[n]);let r=u.useMemo(()=>{let e=(e,t)=>{var r;null===(r=n[e])||void 0===r||r.splice(0,n[e].length,...n[e].filter(e=>e!==t))};return{publish:function(){for(var e,t=arguments.length,r=Array(t),l=0;l<t;l++)r[l]=arguments[l];let[i,o]=r;null===(e=n[i])||void 0===e||e.forEach(e=>e(o))},subscribe:(t,r)=>(n[t]||(n[t]=[]),n[t].push(r),()=>e(t,r)),unsubscribe:e}},[n]);return u.createElement(B.Provider,{value:r},t)}let Y=u.createContext(null),J=E("useLightboxProps","LightboxPropsContext",Y);function Q(e){let{children:t,...n}=e;return u.createElement(Y.Provider,{value:n},t)}let j=u.createContext(null),q=E("useLightboxState","LightboxStateContext",j),G=u.createContext(null),ee=E("useLightboxDispatch","LightboxDispatchContext",G);function et(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,l=e.globalIndex+r,i=S(l,n.length),o=L(n,i);return{slides:n,currentIndex:i,globalIndex:l,currentSlide:o,animation:r||void 0!==t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:L(t.slides,t.index)};return e;default:throw Error(a.c3)}}function en(e){let{slides:t,index:n,children:r}=e,[l,i]=u.useReducer(et,{slides:t,currentIndex:n,globalIndex:n,currentSlide:L(t,n)});u.useEffect(()=>{i({type:"update",slides:t,index:n})},[t,n]);let o=u.useMemo(()=>({...l,state:l,dispatch:i}),[l,i]);return u.createElement(G.Provider,{value:i},u.createElement(j.Provider,{value:o},r))}let er=u.createContext(null),el=E("useTimeouts","TimeoutsContext",er);function ei(e){let{children:t}=e,[n]=u.useState([]);u.useEffect(()=>()=>{n.forEach(e=>window.clearTimeout(e)),n.splice(0,n.length)},[n]);let r=u.useMemo(()=>{let e=e=>{n.splice(0,n.length,...n.filter(t=>t!==e))};return{setTimeout:(t,r)=>{let l=window.setTimeout(()=>{e(l),t()},r);return n.push(l),l},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[n]);return u.createElement(er.Provider,{value:r},t)}let eo=u.forwardRef(function(e,t){let{label:n,className:r,icon:l,renderIcon:i,onClick:o,style:c,...d}=e,{styles:h,labels:m}=J(),v=p(m,n);return u.createElement("button",{ref:t,type:"button",title:v,"aria-label":v,className:s(f(a.bg),r),onClick:o,style:{...c,...h.button},...d},i?i():u.createElement(l,{className:f(a.vg),style:h.icon}))});function eu(e,t){let n=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}function ea(e,t){return eu(e,u.createElement("g",{fill:"currentColor"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function ec(e,t){return eu(e,u.createElement(u.Fragment,null,u.createElement("defs",null,u.createElement("mask",{id:"strike"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"white"}),u.createElement("path",{d:"M0 0L24 24",stroke:"black",strokeWidth:4}))),u.createElement("path",{d:"M0.70707 2.121320L21.878680 23.292883",stroke:"currentColor",strokeWidth:2}),u.createElement("g",{fill:"currentColor",mask:"url(#strike)"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t)))}let ed=ea("Close",u.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),es=ea("Previous",u.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),ef=ea("Next",u.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),eh=ea("Loading",u.createElement(u.Fragment,null,Array.from({length:8}).map((e,t,n)=>u.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:"rotate(".concat(360/n.length*t,", 12, 12)")})))),em=ea("Error",u.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),ev=w()?u.useLayoutEffect:u.useEffect;function ep(){let[e,t]=u.useState(!1);return u.useEffect(()=>{var e,n;let r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);let l=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",l),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",l)}},[]),e}function eg(e,t){let n=u.useRef(void 0),r=u.useRef(void 0),l=ep();return ev(()=>{var i,o,u;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:a,easing:c,onfinish:d}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0,l=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(l){let e=l[1].split(",").map(N);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(l&&a){null===(i=r.current)||void 0===i||i.cancel(),r.current=void 0;try{r.current=null===(u=(o=e.current).animate)||void 0===u?void 0:u.call(o,l,{duration:a,easing:c})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==d||d()})}}n.current=void 0}),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return(null===(e=r.current)||void 0===e?void 0:e.playState)==="running"}}}function eb(){let e=u.useRef(null),t=u.useRef(void 0),[n,r]=u.useState();return{setContainerRef:u.useCallback(n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);let l=()=>{if(n){let e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;r({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else r(void 0)};
1l(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(l),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function eE(){let e=u.useRef(void 0),{setTimeout:t,clearTimeout:n}=el();return u.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function ew(e){let t=u.useRef(e);return ev(()=>{t.current=e}),u.useCallback(function(){for(var e,n=arguments.length,r=Array(n),l=0;l<n;l++)r[l]=arguments[l];return null===(e=t.current)||void 0===e?void 0:e.call(t,...r)},[])}function ey(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ex(e,t){return u.useMemo(()=>null==e&&null==t?null:n=>{ey(e,n),ey(t,n)},[e,t])}function eM(){let[e,t]=u.useState(!1);return ev(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function eN(){let[e]=u.useState({}),t=u.useCallback((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:u.useMemo(()=>({onPointerDown:e=>t(a.NZ,e),onPointerMove:e=>t(a.N4,e),onPointerUp:e=>t(a.S2,e),onPointerLeave:e=>t(a.pE,e),onPointerCancel:e=>t(a.Vt,e),onKeyDown:e=>t(a.ds,e),onKeyUp:e=>t(a.Bm,e),onWheel:e=>t(a.yq,e)}),[t]),subscribeSensors:u.useCallback((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{let r=e[t];r&&r.splice(0,r.length,...r.filter(e=>e!==n))}),[e])}}function eC(e,t){let n=u.useRef(0),r=eE(),l=ew(function(){for(var t=arguments.length,r=Array(t),l=0;l<t;l++)r[l]=arguments[l];n.current=Date.now(),e(r)});return u.useCallback(function(){for(var e=arguments.length,i=Array(e),o=0;o<e;o++)i[o]=arguments[o];r(()=>{l(i)},t-(Date.now()-n.current))},[t,l,r])}let ek=v("slide"),eS=v("slide_image");function eP(e){var t,n,r,l,i,o,c,d;let{slide:h,offset:m,render:v,rect:p,imageFit:g,imageProps:b,onClick:E,onLoad:y,onError:x,style:N}=e,[C,k]=u.useState(a.Xe),{publish:S}=V(),{setTimeout:P}=el(),R=u.useRef(null);u.useEffect(()=>{0===m&&S((0,a.J1)(C))},[m,C,S]);let L=ew(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(k(a.Zv),P(()=>{null==y||y(e)},0))})}),I=u.useCallback(e=>{R.current=e,(null==e?void 0:e.complete)&&L(e)},[L]),T=u.useCallback(e=>{L(e.currentTarget)},[L]),D=ew(()=>{k(a.fS),null==x||x()}),A=M(h,g),O=(e,t)=>Number.isFinite(e)?e:t,_=O(Math.max(...(null!==(n=null===(t=h.srcSet)||void 0===t?void 0:t.map(e=>e.width))&&void 0!==n?n:[]).concat(h.width?[h.width]:[]).filter(Boolean)),(null===(r=R.current)||void 0===r?void 0:r.naturalWidth)||0),z=O(Math.max(...(null!==(i=null===(l=h.srcSet)||void 0===l?void 0:l.map(e=>e.height))&&void 0!==i?i:[]).concat(h.height?[h.height]:[]).filter(Boolean)),(null===(o=R.current)||void 0===o?void 0:o.naturalHeight)||0),W=null===(c=h.srcSet)||void 0===c?void 0:c.sort((e,t)=>e.width-t.width).map(e=>"".concat(e.src," ").concat(e.width,"w")).join(", "),$=W&&p&&w()?"".concat(Math.round(Math.min(p&&!A&&h.width&&h.height?p.height/h.height*h.width:Number.MAX_VALUE,p.width)),"px"):void 0,{style:F,className:Z,...X}=b||{};return u.createElement(u.Fragment,null,u.createElement("img",{ref:I,onLoad:T,onError:D,onClick:E,draggable:!1,className:s(f(eS()),A&&f(eS("cover")),C!==a.Zv&&f(eS("loading")),Z),style:{..._&&z?{maxWidth:"min(".concat(_,"px, 100%)"),maxHeight:"min(".concat(z,"px, 100%)")}:{maxWidth:"100%",maxHeight:"100%"},...N,...F},...X,alt:null!==(d=h.alt)&&void 0!==d?d:"",sizes:$,srcSet:W,src:h.src}),C!==a.Zv&&u.createElement("div",{className:f(ek(a.$L))},C===a.Xe&&((null==v?void 0:v.iconLoading)?v.iconLoading():u.createElement(eh,{className:s(f(a.vg),f(ek(a.Xe)))})),C===a.fS&&((null==v?void 0:v.iconError)?v.iconError():u.createElement(em,{className:s(f(a.vg),f(ek(a.fS)))}))))}let eR=u.forwardRef(function(e,t){let{className:n,children:r,onFocus:l,onBlur:i,...o}=e,a=u.useRef(null),{trackFocusWithin:c}=F();return u.createElement(H,{nodeRef:a},u.createElement("div",{ref:ex(t,a),className:s(f("root"),n),...c(l,i),...o},r))});function eL(e,t,n,r,l){u.useEffect(()=>l?()=>{}:b(e(a.NZ,t),e(a.N4,n),e(a.S2,r),e(a.pE,r),e(a.Vt,r)),[e,t,n,r,l])}(r=i||(i={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL=2]="PULL",r[r.ANIMATION=3]="ANIMATION",(l=o||(o={}))[l.NONE=0]="NONE",l[l.SWIPE=1]="SWIPE",l[l.PULL=2]="PULL";let eI=v("container"),eT=u.createContext(null),eD=E("useController","ControllerContext",eT),eA=_(a.l4,function(e){var t;let{children:n,...r}=e,{carousel:l,animation:c,controller:d,on:m,styles:v,render:p}=r,{closeOnPullUp:g,closeOnPullDown:E,preventDefaultWheelX:w,preventDefaultWheelY:x}=d,[M,N]=u.useState(),k=q(),S=ee(),[P,R]=u.useState(i.NONE),L=u.useRef(0),I=u.useRef(0),T=u.useRef(1),{registerSensors:D,subscribeSensors:A}=eN(),{subscribe:O,publish:_}=V(),z=eE(),W=eE(),$=eE(),{containerRef:F,setContainerRef:Z,containerRect:X}=eb(),H=ex(function(e){let{preventDefaultWheelX:t,preventDefaultWheelY:n}=e,r=u.useRef(null),l=ew(e=>{let r=Math.abs(e.deltaX)>Math.abs(e.deltaY);(r&&t||!r&&n||e.ctrlKey)&&e.preventDefault()});return u.useCallback(e=>{var t;e?e.addEventListener("wheel",l,{passive:!1}):null===(t=r.current)||void 0===t||t.removeEventListener("wheel",l),r.current=e},[l])}({preventDefaultWheelX:w,preventDefaultWheelY:x}),Z),B=u.useRef(null),K=ex(B,void 0),{getOwnerDocument:Y}=U(),J=eM(),Q=e=>(J?-1:1)*("number"==typeof e?e:1),j=ew(()=>{var e;return null===(e=F.current)||void 0===e?void 0:e.focus()}),G=ew(()=>r),et=ew(()=>k),en=u.useCallback(e=>_(a.KN,e),[_]),er=u.useCallback(e=>_(a.Eb,e),[_]),ei=u.useCallback(()=>_(a.t9),[_]),eo=e=>!(l.finite&&(Q(e)>0&&0===k.currentIndex||0>Q(e)&&k.currentIndex===k.slides.length-1)),eu=e=>{var t;L.current=e,null===(t=F.current)||void 0===t||t.style.setProperty(h("swipe_offset"),"".concat(Math.round(e),"px"))},ea=e=>{var t,n;I.current=e,T.current=Math.min(Math.max(y(1-(E&&e>0?e:g&&e<0?-e:0)/60*.5,2),.5),1),null===(t=F.current)||void 0===t||t.style.setProperty(h("pull_offset"),"".concat(Math.round(e),"px")),null===(n=F.current)||void 0===n||n.style.setProperty(h("pull_opacity"),"".concat(T.current))},{prepareAnimation:ec}=eg(B,(e,t,n)=>{if(B.current&&X)return{keyframes:[{transform:"translate(0, ".concat(e.rect.y-t.y+n.y,"px)"),opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:c.easing.fade}}),ed=(e,t)=>{if(g||E){ea(e);let n=0;B.current&&(n=c.fade*(t?2:1),ec({rect:B.current.getBoundingClientRect(),opacity:T.current,duration:n})),$(()=>{ea(0),R(i.NONE)},n),R(i.ANIMATION),t||ei()}},{prepareAnimation:es,isAnimationPlaying:ef}=eg(B,(e,t,n)=>{var r;if(B.current&&X&&(null===(r=k.animation)||void 0===r?void 0:r.duration)){let r=C(l.spacing),i=(r.percent?r.percent*X.width/100:r.pixel)||0;return{keyframes:[{transform:"translate(".concat(Q(k.globalIndex-e.index)*(X.width+i)+e.rect.x-t.x+n.x,"px, 0)")},{transform:"translate(0, 0)"}],duration:k.animation.duration,easing:k.animation.easing}}}),eh=ew(e=>{var t,n;let r=e.offset||0,l=r?c.swipe:null!==(t=c.navigation)&&void 0!==t?t:c.swipe,o=r||ef()?c.easing.swipe:c.easing.navigation,{direction:u}=e,d=null!==(n=e.count)&&void 0!==n?n:1,s=i.ANIMATION,f=l*d;if(!u){let t=null==X?void 0:X.width,n=e.duration||0,i=t?l/t*Math.abs(r):l;0!==d?(n<i?f=f/i*Math.max(n,i/5):t&&(f=l/t*(t-Math.abs(r))),u=Q(r)>0?a.KN:a.Eb):f=l/2}let h=0;u===a.KN?eo(Q(1))?h=-d:(s=i.NONE,f=l):u===a.Eb&&(eo(Q(-1))?h=d:(s=i.NONE,f=l)),W(()=>{eu(0),R(i.NONE)},f=Math.round(f)),B.current&&es({rect:B.current.getBoundingClientRect(),index:k.globalIndex}),R(s),_(a.Tn,{type:"swipe",increment:h,duration:f,easing:o})});u.useEffect(()=>{var e,t;(null===(e=k.animation)||void 0===e?void 0:e.increment)&&(null===(t=k.animation)||void 0===t?void 0:t.duration)&&z(()=>S({type:"swipe",increment:0}),k.animation.duration)},[k.animation,S,z]);let em=[A,eo,(null==X?void 0:X.width)||0,c.swipe,()=>R(i.SWIPE),e=>eu(e),(e,t)=>eh({offset:e,duration:t,count:1}),e=>eh({offset:e,count:0})],ev=[()=>{E&&R(i.PULL)},e=>ea(e),e=>ed(e),e=>ed(e,!0)];!function(e,t,n,r,l,i,c,d,s,h,m,v,p,g,b,E){let{disableSwipeNavigation:w,closeOnBackdropClick:y}=e,x=u.useRef(0),M=u.useRef([]),N=u.useRef(void 0),C=u.useRef(0),k=u.useRef(o.NONE),S=u.useCallback(e=>{N.current===e.pointerId&&(N.current=void 0,k.current=o.NONE);let t=M.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),P=u.useCallback(e=>{S(e),e.persist(),M.current.push(e)},[S]),R=u.useCallback(e=>M.current.find(t=>{let{pointerId:n}=t;return e.pointerId===n}),[]),L=ew(e=>{P(e)}),I=(e,t)=>m&&e>t||h&&e<-t,T=ew(e=>{let t=R(e);if(t){if(N.current===e.pointerId){let e=Date.now()-C.current,t=x.current;k.current===o.SWIPE?Math.abs(t)>.3*r||Math.abs(t)>5&&e<l?d(t,e):s(t):k.current===o.PULL&&(I(t,60)?g(t,e):b(t)),x.current=0,k.current=o.NONE}else{let{target:n}=e;y&&n instanceof HTMLElement&&n===t.target&&(n.classList.contains(f(
1a.hD))||n.classList.contains(f(a.af)))&&E()}}S(e)});eL(t,L,ew(e=>{let t=R(e);if(t){let r=N.current===e.pointerId;if(0===e.buttons){r&&0!==x.current?T(e):S(t);return}let l=e.clientX-t.clientX,u=e.clientY-t.clientY;if(void 0===N.current){let t=t=>{P(e),N.current=e.pointerId,C.current=Date.now(),k.current=t};Math.abs(l)>Math.abs(u)&&Math.abs(l)>30&&n(l)?w||(t(o.SWIPE),i()):Math.abs(u)>Math.abs(l)&&I(u,30)&&(t(o.PULL),v())}else r&&(k.current===o.SWIPE?(x.current=l,c(l)):k.current===o.PULL&&(x.current=u,p(u)))}}),T)}(d,...em,g,E,...ev,ei),function(e,t,n,r,l,o,c,d,s){let f=u.useRef(0),h=u.useRef(0),m=u.useRef(void 0),v=u.useRef(void 0),p=u.useRef(0),g=u.useRef(void 0),b=u.useRef(0),{setTimeout:E,clearTimeout:w}=el(),y=u.useCallback(()=>{m.current&&(w(m.current),m.current=void 0)},[w]),x=u.useCallback(()=>{v.current&&(w(v.current),v.current=void 0)},[w]),M=ew(()=>{e!==i.SWIPE&&(f.current=0,b.current=0,y(),x())});u.useEffect(M,[e,M]);let N=ew(e=>{v.current=void 0,f.current===e&&s(f.current)}),C=ew(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let u=e=>{p.current=e,w(g.current),g.current=e>0?E(()=>{p.current=0,g.current=void 0},300):void 0};if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(p.current)){u(t.deltaX);return}if(!n(-t.deltaX))return;if(h.current+=t.deltaX,y(),Math.abs(h.current)>30)h.current=0,u(0),b.current=Date.now(),o();else{let e=h.current;m.current=E(()=>{m.current=void 0,e===h.current&&(h.current=0)},l)}}else if(e===i.SWIPE){let e=f.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),f.current=e,c(e),x(),Math.abs(e)>.2*r){u(t.deltaX),d(e,Date.now()-b.current);return}v.current=E(()=>N(e),2*l)}else u(t.deltaX)});u.useEffect(()=>t(a.yq,C),[t,C])}(P,...em);let ep=ew(()=>{d.focus&&Y().querySelector(".".concat(f(a.SA)," .").concat(f(eI())))&&j()});u.useEffect(ep,[ep]);let ey=ew(()=>{var e;null===(e=m.view)||void 0===e||e.call(m,{index:k.currentIndex})});u.useEffect(ey,[k.globalIndex,ey]),u.useEffect(()=>b(O(a.KN,e=>eh({direction:a.KN,...e})),O(a.Eb,e=>eh({direction:a.Eb,...e})),O(a.Tn,e=>S(e))),[O,eh,S]);let eC=u.useMemo(()=>({prev:en,next:er,close:ei,focus:j,slideRect:X?function(e,t){let n=C(t),r=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*r,0),height:Math.max(e.height-2*r,0)}}(X,l.padding):{width:0,height:0},containerRect:X||{width:0,height:0},subscribeSensors:A,containerRef:F,setCarouselRef:K,toolbarWidth:M,setToolbarWidth:N}),[en,er,ei,j,A,X,F,K,M,N,l.padding]);return u.useImperativeHandle(d.ref,()=>({prev:en,next:er,close:ei,focus:j,getLightboxProps:G,getLightboxState:et}),[en,er,ei,j,G,et]),u.createElement("div",{ref:H,className:s(f(eI()),f(a.aN)),style:{...P===i.SWIPE?{[h("swipe_offset")]:"".concat(Math.round(L.current),"px")}:null,...P===i.PULL?{[h("pull_offset")]:"".concat(Math.round(I.current),"px"),[h("pull_opacity")]:"".concat(T.current)}:null,..."none"!==d.touchAction?{[h("controller_touch_action")]:d.touchAction}:null,...v.container},tabIndex:-1,...D},X&&u.createElement(eT.Provider,{value:eC},n,null===(t=p.controls)||void 0===t?void 0:t.call(p)))});function eO(e){return m(a.k0,e)}function e_(e){var t,n,r,l,i;let o,{slide:c,offset:d}=e,h=u.useRef(null),{currentIndex:v,slides:b}=q(),{slideRect:E,focus:w}=eD(),{render:y,carousel:{imageFit:M,imageProps:N},on:{click:C},styles:{slide:k},labels:S}=J(),{getOwnerDocument:P}=U(),R=0!==d;return u.useEffect(()=>{var e;R&&(null===(e=h.current)||void 0===e?void 0:e.contains(P().activeElement))&&w()},[R,w,P]),u.createElement("div",{ref:h,className:s(f(m(a.hD,void 0)),!R&&f((t="current",m(a.hD,t))),f(a.aN)),inert:A?R:R?"":void 0,style:k,role:"group","aria-roledescription":p(S,"Slide"),"aria-label":g(S,b,v+d)},(!(o=null===(n=y.slide)||void 0===n?void 0:n.call(y,{slide:c,offset:d,rect:E}))&&x(c)&&(o=u.createElement(eP,{slide:c,offset:d,render:y,rect:E,imageFit:M,imageProps:N,onClick:R?void 0:()=>null==C?void 0:C({index:v})})),o?u.createElement(u.Fragment,null,null===(r=y.slideHeader)||void 0===r?void 0:r.call(y,{slide:c}),(null!==(l=y.slideContainer)&&void 0!==l?l:e=>{let{children:t}=e;return t})({slide:c,children:o}),null===(i=y.slideFooter)||void 0===i?void 0:i.call(y,{slide:c})):null))}function ez(){let e=J().styles.slide;return u.createElement("div",{className:f(a.hD),style:e})}let eW=_(a.k0,function(e){let{carousel:t,labels:n}=e,{slides:r,currentIndex:l,globalIndex:i}=q(),{setCarouselRef:o}=eD(),{autoPlaying:a,focusWithin:c}=F(),d=C(t.spacing),m=C(t.padding),v=D(t,r,1),g=[];if(P(r))for(let e=l-v;e<=l+v;e+=1){let n=R(r,e),o=i-l+e,u=t.finite&&(e<0||e>r.length-1);g.push(u?{key:o}
1:{key:["".concat(o),I(n)].filter(Boolean).join("|"),offset:e-l,slide:n})}return u.createElement("div",{ref:o,className:s(f(eO()),g.length>0&&f(eO("with_slides"))),style:{["".concat(h(eO("slides_count")))]:g.length,["".concat(h(eO("spacing_px")))]:d.pixel||0,["".concat(h(eO("spacing_percent")))]:d.percent||0,["".concat(h(eO("padding_px")))]:m.pixel||0,["".concat(h(eO("padding_percent")))]:m.percent||0},role:"region","aria-live":a&&!c?"off":"polite","aria-roledescription":p(n,"Carousel"),"aria-label":p(n,"Photo gallery")},g.map(e=>{let{key:t,slide:n,offset:r}=e;return n?u.createElement(e_,{key:t,slide:n,offset:r}):u.createElement(ez,{key:t})}))});function e$(){let{carousel:e}=J(),{slides:t,currentIndex:n}=q();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eF(e){var t;let n=eM(),{publish:r}=V(),{animation:l}=J(),{prevDisabled:i,nextDisabled:o}=e$(),c=(null!==(t=l.navigation)&&void 0!==t?t:l.swipe)/2,d=eC(()=>r(a.KN),c),s=eC(()=>r(a.Eb),c),f=ew(e=>{switch(e.key){case a.PU:r(a.t9);break;case a.Sl:(n?o:i)||(n?s:d)();break;case a.NH:(n?i:o)||(n?d:s)()}});u.useEffect(()=>e(a.ds,f),[e,f])}function eZ(e){let{label:t,icon:n,renderIcon:r,action:l,onClick:i,disabled:o,style:a}=e;return u.createElement(eo,{label:t,icon:n,renderIcon:r,className:f("navigation_".concat(l)),disabled:o,onClick:i,style:a,...function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=u.useRef(!1);return ev(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:u.useCallback(()=>{n.current=!0},[]),onBlur:u.useCallback(()=>{n.current=!1},[])}}(eD().focus,o)})}let eX=_(a.Op,function(e){let{render:{buttonPrev:t,buttonNext:n,iconPrev:r,iconNext:l},styles:i}=e,{prev:o,next:c,subscribeSensors:d}=eD(),{prevDisabled:s,nextDisabled:f}=e$();return eF(d),u.createElement(u.Fragment,null,t?t():u.createElement(eZ,{label:"Previous",action:a.KN,icon:es,renderIcon:r,style:i.navigationPrev,disabled:s,onClick:o}),n?n():u.createElement(eZ,{label:"Next",action:a.Eb,icon:ef,renderIcon:l,style:i.navigationNext,disabled:f,onClick:c}))}),eU=f(a.Tf),eH=f(a.M9);function eB(e,t,n){let r=window.getComputedStyle(e),l=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,o=e.style.getPropertyValue(l);return e.style.setProperty(l,"".concat((N(i)||0)+t,"px")),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let eV=_(a.HE,function(e){let{noScroll:{disabled:t},children:n}=e,r=eM(),{getOwnerDocument:l,getOwnerWindow:i}=U();return u.useEffect(()=>{if(t)return()=>{};let e=[],n=i(),{body:o,documentElement:u}=l(),a=Math.round(n.innerWidth-u.clientWidth);if(a>0){e.push(eB(o,a,r));let t=o.getElementsByTagName("*");for(let l=0;l<t.length;l+=1){let i=t[l];"style"in i&&"fixed"===n.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(eH)&&e.push(eB(i,a,r))}}return o.classList.add(eU),()=>{o.classList.remove(eU),e.forEach(e=>e())}},[r,t,l,i]),u.createElement(u.Fragment,null,n)});function eK(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eY=_(a.SA,function(e){var t;let{children:n,animation:r,styles:l,className:i,on:o,portal:d,close:v,labels:g}=e,[b,E]=u.useState(!1),[w,y]=u.useState(!1),x=u.useRef([]),M=u.useRef(null),{setTimeout:N}=el(),{subscribe:C}=V(),k=ep()?0:r.fade;u.useEffect(()=>(E(!0),()=>{E(!1),y(!1)}),[]);let S=ew(()=>{x.current.forEach(e=>e()),x.current=[]}),P=ew(()=>{var e;y(!1),S(),null===(e=o.exiting)||void 0===e||e.call(o),N(()=>{var e;null===(e=o.exited)||void 0===e||e.call(o),v()},k)});u.useEffect(()=>C(a.t9,P),[C,P]);let R=ew(e=>{var t,n,r;e.scrollTop,y(!0),null===(t=o.entering)||void 0===t||t.call(o);let l=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<l.length;t+=1){let n=l[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(x.current.push(eK(n,"inert","")),x.current.push(eK(n,"aria-hidden","true")))}x.current.push(()=>{var e,t;null===(t=null===(e=M.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),N(()=>{var e;null===(e=o.entered)||void 0===e||e.call(o)},k)}),L=u.useCallback(e=>{e?R(e):S()},[R,S]);return b?(0,c.createPortal)(u.createElement(eR,{ref:L,className:s(i,f(m(a.SA,void 0)),f(a.M9),w&&f((t="open",m(a.SA,t)))),"aria-modal":!0,role:"dialog","aria-label":p(g,"Lightbox"),style:{...r.fade!==O.animation.fade?{[h("fade_animation_duration")]:"".concat(k,"ms")}:null,...r.easing.fade!==O.animation.easing.fade?{[h("fade_animation_timing_function")]:r.easing.fade}:null,...l.root},onFocus:e=>{M.current||(M.current=e.relatedTarget)}},n),d.root||document.body):null}),eJ=_(a.lT,function(e){let{children:t}=e;return u.createElement(u.Fragment,null,t)}),eQ=_(a.hb,function(e){let{toolbar:{buttons:t},render:{buttonClose:n,iconClose:r},styles:l}=e,{close:i,setToolbarWidth:o}=eD(),{setContainerRef:c,containerRect:d}=eb();ev(()=>{o(null==d?void 0:d.width)},[o,null==d?void 0:d.width]);let s=()=>n?n():u.createElement(eo,{key:a.t9,label:"Close",icon:ed,renderIcon:r,onClick:i});return u.createElement("div",{ref:c,style:l.toolbar,className:f(m(a.hb,void 0))},null==t?void 0:t.map(e=>e===a.t9?s():e))});function ej(e){let{carousel:t,animation:n,render:r,toolbar:l,controller:i,noScroll:o,on:c,plugins:d,slides:s,index:f,...h}=e,{animation:m,carousel:v,render:p,toolbar:g,controller:b,noScroll:E,on:w,slides:y,index:x,plugins:M,...C}=O,{config:k,augmentation:S}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=e,l=e=>{let t=[...r];for(;t.length>0;){let n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;
1(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[z(t,r)];return}r=W(r,e,e=>[z(t,[e])])},o=(e,t)=>{r=W(r,e,e=>[z(e.module,[z(t,e.children)])])},u=(e,t,n)=>{r=W(r,e,e=>{var r;return[z(e.module,[...n?[z(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[z(t)]])]})},c=(e,t,n)=>{r=W(r,e,e=>[...n?[z(t)]:[],e,...n?[]:[z(t)]])},d=e=>{o(a.l4,e)},s=(e,t)=>{r=W(r,e,e=>[z(t,e.children)])},f=e=>{r=W(r,e,e=>e.children)},h=e=>{n.push(e)};return t.forEach(e=>{e({contains:l,addParent:i,append:o,addChild:u,addSibling:c,addModule:d,replace:s,remove:f,augment:h})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([z(eY,[z(eV,[z(eA,[z(eW),z(eQ),z(eX)])])])],d||M),P=S({animation:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(m,n),carousel:{...v,...t},render:{...p,...r},toolbar:{...g,...l},controller:{...b,...i},noScroll:{...E,...o},on:{...w,...c},...C,...h});return P.open?u.createElement(Q,{...P},u.createElement(en,{slides:s||y,index:N(f||x)},u.createElement(ei,null,u.createElement(K,null,u.createElement(Z,null,function e(t,n){var r;return u.createElement(t.module.component,{key:t.module.name,...n},null===(r=t.children)||void 0===r?void 0:r.map(t=>e(t,n)))}(z(eJ,k),P)))))):null}},50784:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(2265),l=n(82442),i=n(15575);let o={ref:null,position:"bottom",width:120,height:80,border:1,borderRadius:4,padding:4,gap:16,imageFit:"contain",vignette:!0,hidden:!1,showToggle:!1},u=e=>({...o,...e});function a(){let{thumbnails:e}=(0,l.RD)();return u(e)}let c=e=>(0,l.Xl)(i.dA,e),d=e=>c((0,l.Xl)("thumbnail",e)),s=(0,l.U2)("VideoThumbnail",r.createElement("path",{d:"M10 16.5l6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"})),f=(0,l.U2)("UnknownThumbnail",r.createElement("path",{d:"M23 18V6c0-1.1-.9-2-2-2H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2zM8.5 12.5l2.5 3.01L14.5 11l4.5 6H5l3.5-4.5z"})),h=(0,l.cO)("active"),m=(0,l.cO)("fadein"),v=(0,l.cO)("fadeout"),p=(0,l.cO)("placeholder"),g="delay",b="duration";function E({slide:e,index:t,onClick:n,fadeIn:o,fadeOut:u,placeholder:c,onLoseFocus:E}){let w=r.useRef(null),{render:y,styles:x,labels:M}=(0,l.RD)(),{slides:N,globalIndex:C}=(0,l.oc)(),{getOwnerDocument:k}=(0,l.tS)(),{width:S,height:P,imageFit:R}=a(),L=t===C,I=(0,l.$0)(E);return r.useEffect(()=>{u&&k().activeElement===w.current&&I()},[u,I,k]),r.createElement("button",{ref:w,type:"button",className:(0,l.Wy)((0,l.Nc)(i.aN),(0,l.Nc)(d()),L&&(0,l.Nc)(d(h())),o&&(0,l.Nc)(d(m())),u&&(0,l.Nc)(d(v())),c&&(0,l.Nc)(d(p()))),style:{...o?{[(0,l.gJ)(d(m(b)))]:`${o.duration}ms`,[(0,l.gJ)(d(m(g)))]:`${o.delay}ms`}:null,...u?{[(0,l.gJ)(d(v(b)))]:`${u.duration}ms`,[(0,l.gJ)(d(v(g)))]:`${u.delay}ms`}:null,...x.thumbnail},onClick:n,"aria-current":!!L||void 0,"aria-label":(0,l.x$)(M,N,t)},e&&function({slide:e,render:t,rect:n,imageFit:o}){var u;let a=null===(u=t.thumbnail)||void 0===u?void 0:u.call(t,{slide:e,render:t,rect:n,imageFit:o});if(a)return a;let c={render:t,rect:n,imageFit:o};if(e.thumbnail)return r.createElement(l.P0,{slide:{src:e.thumbnail},...c});if((0,l.QB)(e))return r.createElement(l.P0,{slide:e,...c});let h=(0,l.Nc)(d(i.vg));return"video"===e.type?r.createElement(r.Fragment,null,e.poster&&r.createElement(l.P0,{slide:{src:e.poster},...c}),r.createElement(s,{className:h})):r.createElement(f,{className:h})}({slide:e,render:y,rect:{width:S,height:P},imageFit:R}))}function w(e){return["top","bottom"].includes(e)}function y(e,t){return t+2*(e.border+e.padding)+e.gap}function x({visible:e,containerRef:t}){let n=r.useRef(null),u=(0,l.Su)(),{publish:s,subscribe:f}=(0,l.hI)(),{carousel:h,styles:m,labels:v}=(0,l.RD)(),{slides:p,globalIndex:g,animation:b}=(0,l.oc)(),{registerSensors:x,subscribeSensors:M}=(0,l.Dy)();(0,l.t$)(M);let N=a(),{position:C,width:k,height:S,border:P,borderStyle:R,borderColor:L,borderRadius:I,padding:T,gap:D,vignette:A}=N,O=(null==b?void 0:b.duration)!==void 0&&(null==b?void 0:b.increment)||0,_=(null==b?void 0:b.duration)||0,{prepareAnimation:z}=(0,l._7)(n,e=>({keyframes:w(C)?[{transform:`translateX(${(u?-1:1)*y(N,k)*O+e}px)`},{transform:"translateX(0)"}]:[{transform:`translateY(${y(N,S)*O+e}px)`},{transform:"translateY(0)"}],duration:_,easing:null==b?void 0:b.easing})),W=(0,l.$0)(()=>{let e=0;if(t.current&&n.current){let r=t.current.getBoundingClientRect(),l=n.current.getBoundingClientRect();e=w(C)?l.left-r.left-(r.width-l.width)/2:l.top-r.top-(r.height-l.height)/2}z(e)});r.useEffect(()=>
1(0,l.Eq)(f(i.Tn,W)),[f,W]);let $=(0,l.mw)(h,p),F=[];if((0,l.Ju)(p))for(let e=g-$-Math.abs(O);e<=g+$+Math.abs(O);e+=1){let t=h.finite&&(e<0||e>p.length-1)||O<0&&e<g-$||O>0&&e>g+$?null:(0,l.CT)(p,e),n=[`${e}`,function(e){let{thumbnail:t,poster:n}=e||{thumbnail:"placeholder"};return"string"==typeof t&&t||"string"==typeof n&&n||e&&(0,l.iv)(e)||void 0}(t)].filter(Boolean).join("|");F.push({key:n,index:e,slide:t})}let Z=e=>()=>{e>g?s(i.Eb,{count:e-g}):e<g&&s(i.KN,{count:g-e})};return r.createElement("div",{className:(0,l.Wy)((0,l.Nc)(c("container")),(0,l.Nc)(i.aN)),style:{...e?null:{display:"none"},...k!==o.width?{[(0,l.gJ)(d("width"))]:`${k}px`}:null,...S!==o.height?{[(0,l.gJ)(d("height"))]:`${S}px`}:null,...P!==o.border?{[(0,l.gJ)(d("border"))]:`${P}px`}:null,...R?{[(0,l.gJ)(d("border_style"))]:R}:null,...L?{[(0,l.gJ)(d("border_color"))]:L}:null,...I!==o.borderRadius?{[(0,l.gJ)(d("border_radius"))]:`${I}px`}:null,...T!==o.padding?{[(0,l.gJ)(d("padding"))]:`${T}px`}:null,...D!==o.gap?{[(0,l.gJ)(d("gap"))]:`${D}px`}:null,...m.thumbnailsContainer}},r.createElement("nav",{ref:n,style:m.thumbnailsTrack,className:(0,l.Wy)((0,l.Nc)(c("track")),(0,l.Nc)(i.aN)),"aria-label":(0,l.Ac)(v,"Thumbnails"),tabIndex:-1,...x},F.map(({key:e,index:t,slide:l})=>{let i=_/Math.abs(O||1),o=O>0&&t>g+$-O&&t<=g+$||O<0&&t<g-$-O&&t>=g-$?{duration:i,delay:((O>0?t-(g+$-O):g-$-O-t)-1)*i}:void 0,u=O>0&&t<g-$||O<0&&t>g+$?{duration:i,delay:(O>0?O-(g-$-t):-O-(t-(g+$)))*i}:void 0;return r.createElement(E,{key:e,index:t,slide:l,fadeIn:o,fadeOut:u,placeholder:!l,onClick:Z(t),onLoseFocus:()=>{var e;return null===(e=n.current)||void 0===e?void 0:e.focus()}})})),A&&r.createElement("div",{className:(0,l.Nc)(c("vignette"))}))}let M=r.createContext(null),N=(0,l.Fy)("useThumbnails","ThumbnailsContext",M);function C({children:e,...t}){let{ref:n,position:i,hidden:o}=u(t.thumbnails),[a,d]=r.useState(!o),s=r.useRef(null),f=r.useMemo(()=>({visible:a,show:()=>d(!0),hide:()=>d(!1)}),[a]);return r.useImperativeHandle(n,()=>f,[f]),r.createElement(l.OV,{...t},r.createElement(M.Provider,{value:f},r.createElement("div",{ref:s,className:(0,l.Wy)((0,l.Nc)(c()),(0,l.Nc)(c(`${i}`)))},["start","top"].includes(i)&&r.createElement(x,{containerRef:s,visible:a}),r.createElement("div",{className:(0,l.Nc)(c("wrapper"))},e),["end","bottom"].includes(i)&&r.createElement(x,{containerRef:s,visible:a}))))}let k=()=>r.createElement(r.Fragment,null,r.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),r.createElement("path",{d:"M5 14h4v3h-4zM10 14h4v3h-4zM15 14h4v3h-4z"})),S=(0,l.U2)("ThumbnailsVisible",k()),P=(0,l.TX)("ThumbnailsHidden",k());function R(){let{visible:e,show:t,hide:n}=N(),{render:i}=(0,l.RD)();return i.buttonThumbnails?r.createElement(r.Fragment,null,i.buttonThumbnails({visible:e,show:t,hide:n})):r.createElement(l.hU,{label:e?"Hide thumbnails":"Show thumbnails",
1icon:e?S:P,renderIcon:e?i.iconThumbnailsVisible:i.iconThumbnailsHidden,onClick:e?n:t})}function L({augment:e,contains:t,append:n,addParent:o}){e(({thumbnails:e,toolbar:t,...n})=>{let o=u(e);return{toolbar:(0,l.wQ)(t,i.dA,o.showToggle?r.createElement(R,null):null),thumbnails:o,...n}});let a=(0,l.l6)(i.dA,C);t(i.zr)?n(i.zr,a):o(i.l4,a)}},68032:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(2265),l=n(82442),i=n(15575);let o={minZoom:1,maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,pinchZoomV4:!1,scrollToZoom:!1};function u(e){let{minZoom:t,...n}={...o,...e};return{minZoom:Math.min(Math.max(t,Number.EPSILON),1),...n}}function a(){let{zoom:e}=(0,l.RD)();return u(e)}function c(e,t){return Math.hypot(e.clientX-t.clientX,e.clientY-t.clientY)}function d(e,t,n=100,r=2){return e*Math.min(1+Math.abs(t/n),r)**Math.sign(t)}let s=r.createContext(null),f=(0,l.Fy)("useZoom","ZoomControllerContext",s);function h({children:e}){let[t,n]=r.useState(),{slideRect:o}=(0,l.bc)(),{ref:u,minZoom:f}=a(),{imageRect:h,maxZoom:m}=function(e,t){var n,r;let i={width:0,height:0},o={width:0,height:0},{currentSlide:u}=(0,l.oc)(),{imageFit:c}=(0,l.RD)().carousel,{maxZoomPixelRatio:d}=a();if(e&&u){let a={...u,...t};if((0,l.QB)(a)){let t=(0,l.VI)(a,c),u=Math.max(...((null===(n=a.srcSet)||void 0===n?void 0:n.map(e=>e.width))||[]).concat(a.width?[a.width]:[])),s=Math.max(...((null===(r=a.srcSet)||void 0===r?void 0:r.map(e=>e.height))||[]).concat(a.height?[a.height]:[]));u>0&&s>0&&e.width>0&&e.height>0&&(o={width:(o=t?{width:Math.round(Math.min(u,e.width/e.height*s)),height:Math.round(Math.min(s,e.height/e.width*u))}:{width:u,height:s}).width*d,height:o.height*d},i=t?{width:Math.min(e.width,o.width,u),height:Math.min(e.height,o.height,s)}:{width:Math.round(Math.min(e.width,e.height/s*u,u)),height:Math.round(Math.min(e.height,e.width/u*s,s))})}}let s=i.width?Math.max((0,l.NM)(o.width/i.width,5),1):1;return{imageRect:i,maxZoom:s}}(o,null==t?void 0:t.imageDimensions),{zoom:v,offsetX:p,offsetY:g,disabled:b,changeZoom:E,changeOffsets:w,zoomIn:y,zoomOut:x}=function(e,t,n){let[i,o]=r.useState(1),[u,c]=r.useState(0),[d,s]=r.useState(0),f=function(e,t,n,i){let o=r.useRef(void 0),u=r.useRef(void 0),{zoom:a}=(0,l.RD)().animation,c=(0,l.OL)(),d=(0,l.$0)(()=>{var r,l,d;if(null===(r=o.current)||void 0===r||r.cancel(),o.current=void 0,u.current&&(null==i?void 0:i.current)){try{o.current=null===(d=(l=i.current).animate)||void 0===d?void 0:d.call(l,[{transform:u.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:c?0:null!=a?a:500,easing:o.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}u.current=void 0,o.current&&(o.current.onfinish=()=>{o.current=void 0})}});return(0,l.bt)(d,[e,t,n,d]),r.useCallback(()=>{u.current=(null==i?void 0:i.current)?window.getComputedStyle(i.current).transform:void 0},[i])}(i,u,d,n),{currentSlide:h,globalIndex:m}=(0,l.oc)(),{containerRect:v,slideRect:p}=(0,l.bc)(),{minZoom:g,zoomInMultiplier:b}=a(),E=h&&(0,l.QB)(h)?h.src:void 0,w=!E||!(null==n?void 0:n.current);(0,l.bt)(()=>{o(1),c(0),s(0)},[m,E]);let y=r.useCallback((t,n,r)=>{let l=r||i,o=u-(t||0),a=d-(n||0),f=(e.width*l-p.width)/2/l,h=(e.height*l-p.height)/2/l;c(Math.min(Math.abs(o),Math.max(f,0))*Math.sign(o)),s(Math.min(Math.abs(a),Math.max(h,0))*Math.sign(a))},[i,u,d,p,e.width,e.height]),x=r.useCallback((e,n,r,u)=>{let a=(0,l.NM)(e+.01<t?e-.01>g?e:g:t,5);n||f(),y(r?r*(1/i-1/a):0,u?u*(1/i-1/a):0,a),o(a)},[i,g,t,y,f]),M=(0,l.$0)(()=>{i>1&&(i>t&&x(t,!0),y())});(0,l.bt)(M,[v.width,v.height,M]);let N=r.useCallback(()=>{let e=i*b;x(i<1&&e>1?1:e)},[i,b,x]),C=r.useCallback(()=>{let e=i/b;x(i>1&&e<1?1:e)},[i,b,x]);return{zoom:i,offsetX:u,offsetY:d,disabled:w,changeOffsets:y,changeZoom:x,zoomIn:N,zoomOut:C}}(h,m,null==t?void 0:t.zoomWrapperRef);!function(e,t){let{on:n}=(0,l.RD)(),i=(0,l.$0)(()=>{var r;t||null===(r=n.zoom)||void 0===r||r.call(n,{zoom:e})});r.useEffect(i,[e,i])}(v,b),function(e,t,n,o,u,s,f,h,m){let v=r.useRef([]),p=r.useRef(0),g=r.useRef(void 0),{globalIndex:b}=(0,l.oc)(),{getOwnerWindow:E}=(0,l.tS)(),{containerRef:w,subscribeSensors:y}=(0,l.bc)(),{keyboardMoveDistance:x,zoomInMultiplier:M,wheelZoomDistanceFactor:N,scrollToZoom:C,doubleTapDelay:k,doubleClickDelay:S,doubleClickMaxStops:P,pinchZoomDistanceFactor:R,pinchZoomV4:L}=a(),I=r.useCallback(e=>{if(w.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:l}=E(),{left:i,top:o,width:u,height:a}
1=w.current.getBoundingClientRect();return[t-i-r-u/2,n-o-l-a/2]}return[]},[w,E]),T=(0,l.$0)(t=>{let{key:n,metaKey:r,ctrlKey:l}=t,i=r||l,o=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>{o(),h(e,t)};"ArrowDown"===n?e(0,x):"ArrowUp"===n?e(0,-x):"ArrowLeft"===n?e(-x,0):"ArrowRight"===n&&e(x,0)}"+"===n||i&&"="===n?(o(),u()):"-"===n||i&&"_"===n?(o(),s()):i&&"0"===n&&(o(),f(1))}),D=(0,l.$0)(t=>{if((t.ctrlKey||C)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),f(d(e,-t.deltaY,N),!0,...I(t));return}e>1&&(t.stopPropagation(),C||h(t.deltaX,t.deltaY))}),A=r.useCallback(e=>{let t=v.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),O=r.useCallback(e=>{A(e),e.persist(),v.current.push(e)},[A]),_=(0,l.$0)(r=>{var l;let i=v.current;if("mouse"===r.pointerType&&r.buttons>1||!(null===(l=null==m?void 0:m.current)||void 0===l?void 0:l.contains(r.target)))return;e>1&&r.stopPropagation();let{timeStamp:o}=r;if(0===i.length&&o-p.current<("touch"===r.pointerType?k:S)?(p.current=0,f(e>=1?e!==n?e*Math.max(n**(1/P),M):1:e!==t?e/Math.max(t**(-1/P),M):1,!1,...I(r))):p.current=o,O(r),2===i.length){let t=c(i[0],i[1]);g.current={previousDistance:t,initialDistance:Math.max(t,1),initialZoom:e}}}),z=(0,l.$0)(t=>{let n=v.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&g.current){t.stopPropagation(),O(t);let r=c(n[0],n[1]);f(L?g.current.initialZoom/g.current.initialDistance*r:d(e,r-g.current.previousDistance,R),!0,...n.map(e=>I(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),g.current.previousDistance=r;return}e>1&&(t.stopPropagation(),r&&(1===n.length&&h((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),O(t)))}),W=r.useCallback(e=>{let t=v.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(g.current=void 0),A(e)},[A]),$=r.useCallback(()=>{let e=v.current;e.splice(0,e.length),p.current=0,g.current=void 0},[]);(0,l.bQ)(y,_,z,W,o),r.useEffect($,[b,$]),r.useEffect(()=>o?()=>{}:(0,l.Eq)($,y(i.ds,T),y(i.yq,D)),[o,y,$,T,D])}(v,f,m,b,y,x,E,w,null==t?void 0:t.zoomWrapperRef);let M=r.useMemo(()=>({zoom:v,minZoom:f,maxZoom:m,offsetX:p,offsetY:g,disabled:b,zoomIn:y,zoomOut:x,changeZoom:E}),[v,f,m,p,g,b,y,x,E]);r.useImperativeHandle(u,()=>M,[M]);let N=r.useMemo(()=>({...M,setZoomWrapper:n}),[M,n]);return r.createElement(s.Provider,{value:N},e)}let m=(0,l.U2)("ZoomIn",r.createElement(r.Fragment,null,r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),r.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),v=(0,l.U2)("ZoomOut",r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})),p=r.forwardRef(function({zoomIn:e,onLoseFocus:t},n){let i=r.useRef(!1),o=r.useRef(!1),{zoom:u,minZoom:a,maxZoom:c,zoomIn:d,zoomOut:s,disabled:h}=f(),{render:p}=(0,l.RD)(),g=h||(e?u>=c:u<=a);return r.useEffect(()=>{g&&i.current&&o.current&&t(),g||(i.current=!0)},[g,t]),r.createElement(l.hU,{ref:n,disabled:g,label:e?"Zoom in":"Zoom out",icon:e?m:v,renderIcon:e?p.iconZoomIn:p.iconZoomOut,onClick:e?d:s,onFocus:()=>{o.current=!0},onBlur:()=>{o.current=!1}})});function g(){let e=r.useRef(null),t=r.useRef(null),{focus:n}=(0,l.bc)(),i=r.useCallback(e=>{var t,r;(null===(t=e.current)||void 0===t?void 0:t.disabled)?n():null===(r=e.current)||void 0===r||r.focus()},[n]),o=r.useCallback(()=>i(e),[i]),u=r.useCallback(()=>i(t),[i]);return r.createElement(r.Fragment,null,r.createElement(p,{zoomIn:!0,ref:e,onLoseFocus:u}),r.createElement(p,{ref:t,onLoseFocus:o}))}function b(){let{render:e}=(0,l.RD)(),t=f();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(g,null)}function E({current:e,preload:t},{type:n,source:r}){switch(n){case"fetch":if(!e)return{current:r};return{current:e,preload:r};case"done":if(r===t)return{current:r};return{current:e,preload:t};default:throw Error(i.c3)}}function w(e){var t,n;let[{current:i,preload:o},u]=r.useReducer(E,{}),{slide:a,rect:c,imageFit:d,render:s,interactive:f}=e,h=a.srcSet.sort((e,t)=>e.width-t.width),m=null!==(t=a.width)&&void 0!==t?t:h[h.length-1].width,v=null!==(n=a.height)&&void 0!==n?n:h[h.length-1].height,p=(0,l.VI)(a,d),g=Math.max(...h.map(e=>e.width)),b=Math.min((p?Math.max:Math.min)(c.width,c.height/v*m),g),w=(0,l.KL)(),y=(0,l.$0)(()=>{var e;let t=null!==(e=h.find(e=>e.width>=b*w))&&void 0!==e?e:h[h.length-1];(!i||h.findIndex(e=>e.src===i)<h.findIndex(e=>e===t))&&u({type:"fetch",source:t.src})});(0,l.bt)(y,[c.width,c.height,w,y]);let x=(0,l.$0)(e=>u({type:"done",source:e})),M={WebkitTransform:f?"initial":"translateZ(0)"};return p||Object.assign(M,c.width/c.height<m/v?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,o&&o!==i&&r.createElement(l.P0,{key:"preload",...e,offset:void 0,slide:{...a,src:o,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...M},onLoad:()=>x(o),render:{...s,iconLoading:()=>null,iconError:()=>null}}),i&&r.createElement(l.P0,{key:"current",...e,slide:{...a,src:i,srcSet:void 0},style:M}))}function y({render:e,slide:t,offset:n,rect:o}){var u,a;let[c,d]=r.useState(),s=r.useRef(null),{zoom:h,maxZoom:m,offsetX:v,offsetY:p,setZoomWrapper:g}=f(),b=h>1,{carousel:E,on:y}=(0,l.RD)(),{currentIndex:x}=(0,l.oc)();(0,l.bt)(()=>0===n?(g({zoomWrapperRef:s,imageDimensions:c}),()=>g(void 0)):()=>{},[n,c,g]);let M=null===(u=e.slide)||void 0===u?void 0:u.call(e,{slide:t,offset:n,rect:o,zoom:h,maxZoom:m});if(!M&&(0,l.QB)(t)){let i={slide:t,offset:n,rect:o,render:e,imageFit:E.imageFit,imageProps:E.imageProps,onClick:0===n?()=>{var e;return null===(e=y.click)||void 0===e?void 0:e.call(y,{index:x})}:void 0};M=((null===(a=t.srcSet)||void 0===a?void 0:a.length)||0)>0?r.createElement(w,{...i,slide:t,interactive:b,rect:0===n?{width:o.width*h,height:o.height*h}:o}):r.createElement(l.P0,{onLoad:e=>d({width:e.naturalWidth,height:e.naturalHeight}),...i})}return M?r.createElement("div",{ref:s,className:(0,l.Wy)((0,l.Nc)(i.yS),(0,l.Nc)(i.aN),(0,l.Nc)(i.af),b&&(0,l.Nc)(i.ZZ)),style:0===n?{transform:`scale(${h}) translateX(${v}px) translateY(${p}px)`}:void 0},M):null}let x=({augment:e,addModule:t})=>{e(({zoom:e,toolbar:t,render:n,controller:o,...a})=>{let c=u(e);return{zoom:c,toolbar:(0,l.wQ)(t,i.xc,r.createElement(b,null)),render:{...n,slide:e=>{var t;return(0,l.QB)(e.slide)?r.createElement(y,{render:n,...e}):null===(t=n.slide)||void 0===t?void 0:t.call(n,e)}},controller:{...o,preventDefaultWheelY:c.scrollToZoom},...a}}),t((0,l.l6)(i.xc,h))}},15575:function(e,t,n){"use strict";n.d(t,{$L:function(){return p},Bm:function(){return O},Eb:function(){return k},HE:function(){return o},J1:function(){return g},KN:function(){return C},M9:function(){return y},N4:function(){return L},NH:function(){return $},NZ:function(){return R},Op:function(){return i},PU:function(){return z},S2:function(){return I},SA:function(){return u},Sl:function(){return W},Tf:function(){return w},Tn:function(){return S},Vt:function(){return D},Xe:function(){return h},ZZ:function(){return N},Zv:function(){return v},aN:function(){return E},af:function(){return M},bg:function(){return F},c3:function(){return H},dA:function(){return s},ds:function(){return A},fS:function(){return m},hD:function(){return x},hb:function(){return c},j3:function(){return X},k0:function(){return r},l4:function(){return l},lT:function(){return a},pE:function(){return T},rO:function(){return U},t9:function(){return P},vg:function(){return Z},xc:function(){return f},yS:function(){return b},yq:function(){return _},zr:function(){return d}});let r="carousel",l="controller",i="navigation",o="no-scroll",u="portal",a="root",c="toolbar",d="fullscreen",s="thumbnails",f="zoom",h="loading",m="error",v="complete",p="placeholder",g=e=>`active-slide-${e}`;g(h),g("playing"),g(m),g(v);let b="fullsize",E="flex_center",w="no_scroll",y="no_scroll_padding",x="slide",M="slide_wrapper",N="slide_wrapper_interactive",C="prev",k="next",S="swipe",P="close",R="onPointerDown",L="onPointerMove",I="onPointerUp",T="onPointerLeave",D="onPointerCancel",A="onKeyDown",O="onKeyUp",_="onWheel",z="Escape",W="ArrowLeft",$="ArrowRight",F="button",Z="icon",X="contain",U="cover",H="Unknown action type"}}]);

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.