????

Your IP : 18.191.251.36


Current Path : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/www/.next/static/chunks/
Upload File :
Current File : C:/inetpub/vhost/binhdinhf1.gdtsolutions.vn/www/.next/static/chunks/779-691381f20e45754e.js

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[779],{1295:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return c},unstable_getImgProps:function(){return a}});let r=n(1024),l=n(2301),i=n(7873),o=n(3222),u=r._(n(5033)),a=e=>{(0,i.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:t}=(0,l.getImgProps)(e,{defaultLoader:u.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}},c=o.Image},6678:function(){},989:function(){},2495:function(){},6691:function(e,t,n){e.exports=n(1295)},1172:function(e,t,n){"use strict";n.d(t,{w_:function(){return a}});var r=n(2265),l={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(l),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)},u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)0>t.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function a(e){return function(t){return r.createElement(c,o({attr:o({},e.attr)},t),function e(t){return t&&t.map(function(t,n){return r.createElement(t.tag,o({key:n},t.attr),e(t.child))})}(e.child))}}function c(e){var t=function(t){var n,l=e.attr,i=e.size,a=e.title,c=u(e,["attr","size","title"]),s=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,l,c,{className:n,style:o(o({color:e.color||t.color},t.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&r.createElement("title",null,a),e.children)};return void 0!==i?r.createElement(i.Consumer,null,function(e){return t(e)}):t(l)}},9200:function(e,t,n){"use strict";n.d(t,{$0:function(){return ec},CT:function(){return S},Eq:function(){return w},Fy:function(){return x},Ju:function(){return I},KL:function(){return L},NM:function(){return P},Nc:function(){return v},OL:function(){return ei},OV:function(){return z},P0:function(){return eg},QB:function(){return C},RD:function(){return A},Su:function(){return ep},TX:function(){return Q},U2:function(){return q},VI:function(){return M},Wy:function(){return m},Xl:function(){return E},ZP:function(){return eH},_7:function(){return eo},aU:function(){return B},bQ:function(){return eE},bc:function(){return eN},bt:function(){return el},cO:function(){return y},d8:function(){return ef},gJ:function(){return g},hI:function(){return T},hU:function(){return Z},l6:function(){return d},oc:function(){return U},u9:function(){return eu},wQ:function(){return R}});var r,l,i,o,u=n(2265),a=n(8258),c=n(4887);let s={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",closeOnPullDown:!1,closeOnBackdropClick:!1},portal:{},on:{},styles:{},className:""};function d(e,t){return{name:e,component:t}}function f(e,t){return{module:e,children:t}}function p(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?[f(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 m=(...e)=>[...e].filter(e=>!!e).join(" "),h="yarl__",v=e=>`${h}${e}`,g=e=>`--${h}${e}`,E=(e,t)=>`${e}${t?`_${t}`:""}`,y=e=>t=>E(e,t),b=(e,t)=>e&&e[t]?e[t]:t,w=(...e)=>()=>{e.forEach(e=>{e()})},x=(e,t,n)=>()=>{let r=u.useContext(n);if(!r)throw Error(`${e} must be used within a ${t}.Provider`);return r},N=()=>"undefined"!=typeof window;function P(e,t=0){let n=10**t;return Math.round((e+Number.EPSILON)*n)/n}let C=e=>void 0===e.type||"image"===e.type,M=(e,t)=>e.imageFit===a.rO||e.imageFit!==a.j3&&t===a.rO;function k(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=parseInt(e,10);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}let L=()=>(N()?null==window?void 0:window.devicePixelRatio:void 0)||1,_=(e,t)=>t>0?(e%t+t)%t:0,I=e=>e.length>0,S=(e,t)=>e[_(t,e.length)],O=(e,t)=>I(e)?S(e,t):void 0;function R(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}}let W=u.createContext(null),T=x("useEvents","EventsContext",W);function $({children:e}){let[t]=u.useState({});u.useEffect(()=>()=>{Object.keys(t).forEach(e=>delete t[e])},[t]);let n=u.useMemo(()=>{let e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter(e=>e!==n))};return{publish:(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach(e=>e(n))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}},[t]);return u.createElement(W.Provider,{value:n},e)}let D=u.createContext(null),A=x("useLightboxProps","LightboxPropsContext",D);function z({children:e,...t}){return u.createElement(D.Provider,{value:t},e)}let H=u.createContext(null),U=x("useLightboxState","LightboxStateContext",H),F=u.createContext(null),X=x("useLightboxDispatch","LightboxDispatchContext",F);function j(e,t){switch(t.type){case"swipe":{let{slides:n}=e,r=(null==t?void 0:t.increment)||0,l=e.globalIndex+r,i=_(l,n.length),o=O(n,i),u=r||t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0;return{slides:n,currentIndex:i,globalIndex:l,currentSlide:o,animation:u}}case"update":return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:O(t.slides,t.index)};default:throw Error(a.c3)}}function V({slides:e,index:t,children:n}){let[r,l]=u.useReducer(j,{slides:e,currentIndex:t,globalIndex:t,currentSlide:O(e,t)});u.useEffect(()=>{l({type:"update",slides:e,index:t})},[e,t]);let i=u.useMemo(()=>({...r,state:r,dispatch:l}),[r,l]);return u.createElement(F.Provider,{value:l},u.createElement(H.Provider,{value:i},n))}let K=u.createContext(null),B=x("useTimeouts","TimeoutsContext",K);function J({children:e}){let[t]=u.useState([]);u.useEffect(()=>()=>{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);let n=u.useMemo(()=>{let e=e=>{t.splice(0,t.length,...t.filter(t=>t!==e))};return{setTimeout:(n,r)=>{let l=window.setTimeout(()=>{e(l),n()},r);return t.push(l),l},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[t]);return u.createElement(K.Provider,{value:n},e)}let Z=u.forwardRef(function({label:e,className:t,icon:n,renderIcon:r,onClick:l,style:i,...o},c){let{styles:s,labels:d}=A();return u.createElement("button",{ref:c,type:"button","aria-label":b(d,e),className:m(v(a.bg),t),onClick:l,style:{...i,...s.button},...o},r?r():u.createElement(n,{className:v(a.vg),style:s.icon}))});function Y(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 q(e,t){return Y(e,u.createElement("g",{fill:"currentColor"},u.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}function Q(e,t){return Y(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 G=q("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"})),ee=q("Previous",u.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),et=q("Next",u.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),en=q("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(${360/n.length*t}, 12, 12)`})))),er=q("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"})),el=N()?u.useLayoutEffect:u.useEffect;function ei(){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 eo(e,t){let n=u.useRef(),r=u.useRef(),l=ei();return el(()=>{var i,o,u;if(e.current&&void 0!==n.current&&!l){let{keyframes:l,duration:a,easing:c,onfinish:s}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0,l=window.getComputedStyle(e).transform,i=l.match(/matrix.*\((.+)\)/);if(i){let e=i[1].split(",").map(e=>Number.parseInt(e,10));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==s||s()})}}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 eu(){let[e,t]=u.useState(),n=u.useRef(null),r=u.useRef(),l=u.useCallback(e=>{n.current=e,r.current&&(r.current.disconnect(),r.current=void 0);let l=()=>{if(e){let n=window.getComputedStyle(e),r=e=>parseFloat(e)||0;t({width:Math.round(e.clientWidth-r(n.paddingLeft)-r(n.paddingRight)),height:Math.round(e.clientHeight-r(n.paddingTop)-r(n.paddingBottom))})}else t(void 0)};l(),e&&"undefined"!=typeof ResizeObserver&&(r.current=new ResizeObserver(l),r.current.observe(e))},[]);return u.useMemo(()=>({setContainerRef:l,containerRef:n,containerRect:e}),[l,n,e])}function ea(){let e=u.useRef(),{setTimeout:t,clearTimeout:n}=B();return u.useCallback((r,l)=>{n(e.current),e.current=t(r,l>0?l:0)},[t,n])}function ec(e){let t=u.useRef(e);return el(()=>{t.current=e}),u.useCallback((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function es(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ed(e,t){return u.useMemo(()=>null==e&&null==t?null:n=>{es(e,n),es(t,n)},[e,t])}function ef(e,t=!1){let n=u.useRef();el(()=>{t&&n.current&&(n.current=!1,e())},[t,e]);let r=u.useCallback(()=>{n.current=!0},[]),l=u.useCallback(()=>{n.current=!1},[]);return{onFocus:r,onBlur:l}}function ep(){let[e,t]=u.useState(!1);return el(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function em(e,t){let n=u.useRef(0),r=ea(),l=ec((...t)=>{n.current=Date.now(),e(t)});return u.useCallback((...e)=>{r(()=>{l(e)},t-(Date.now()-n.current))},[t,l,r])}let eh=y("slide"),ev=y("slide_image");function eg({slide:e,offset:t,render:n,rect:r,imageFit:l,imageProps:i,onClick:o,onLoad:c,style:s}){var d,f,p,h,g,E,y;let[b,w]=u.useState(a.Xe),{publish:x}=T(),{setTimeout:P}=B(),C=u.useRef(null);u.useEffect(()=>{0===t&&x((0,a.J1)(b))},[t,b,x]);let k=ec(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(w(a.Zv),P(()=>{null==c||c(e)},0))})}),L=u.useCallback(e=>{C.current=e,(null==e?void 0:e.complete)&&k(e)},[k]),_=u.useCallback(e=>{k(e.currentTarget)},[k]),I=u.useCallback(()=>{w(a.fS)},[]),S=M(e,l),O=(e,t)=>Number.isFinite(e)?e:t,R=O(Math.max(...(null!==(f=null===(d=e.srcSet)||void 0===d?void 0:d.map(e=>e.width))&&void 0!==f?f:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(p=C.current)||void 0===p?void 0:p.naturalWidth)||0),W=O(Math.max(...(null!==(g=null===(h=e.srcSet)||void 0===h?void 0:h.map(e=>e.height))&&void 0!==g?g:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(E=C.current)||void 0===E?void 0:E.naturalHeight)||0),$=R&&W?{maxWidth:`min(${R}px, 100%)`,maxHeight:`min(${W}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},D=null===(y=e.srcSet)||void 0===y?void 0:y.sort((e,t)=>e.width-t.width).map(e=>`${e.src} ${e.width}w`).join(", "),A=D&&r&&N()?`${Math.round(Math.min(r&&!S&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:z,className:H,...U}=i||{};return u.createElement(u.Fragment,null,u.createElement("img",{ref:L,onLoad:_,onError:I,onClick:o,draggable:!1,className:m(v(ev()),S&&v(ev("cover")),b!==a.Zv&&v(ev("loading")),H),style:{...$,...s,...z},...U,alt:e.alt,sizes:A,srcSet:D,src:e.src}),b!==a.Zv&&u.createElement("div",{className:v(eh(a.$L))},b===a.Xe&&((null==n?void 0:n.iconLoading)?n.iconLoading():u.createElement(en,{className:m(v(a.vg),v(eh(a.Xe)))})),b===a.fS&&((null==n?void 0:n.iconError)?n.iconError():u.createElement(er,{className:m(v(a.vg),v(eh(a.fS)))}))))}function eE(e,t,n,r,l){u.useEffect(()=>l?()=>{}:w(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_DOWN=2]="PULL_DOWN",r[r.ANIMATION=3]="ANIMATION",(l=o||(o={}))[l.NONE=0]="NONE",l[l.SWIPE=1]="SWIPE",l[l.PULL_DOWN=2]="PULL_DOWN";let ey="wheel";function eb(e){(Math.abs(e.deltaX)>Math.abs(e.deltaY)||e.ctrlKey)&&e.preventDefault()}let ew=y("container"),ex=u.createContext(null),eN=x("useController","ControllerContext",ex),eP=d(a.l4,function({children:e,...t}){var n;let{carousel:r,animation:l,controller:c,on:s,styles:d,render:f}=t,[p,h]=u.useState(),E=U(),y=X(),[b,x]=u.useState(i.NONE),N=u.useRef(0),C=u.useRef(0),M=u.useRef(1),{registerSensors:L,subscribeSensors:_}=function(){let[e]=u.useState({});return u.useMemo(()=>{let t=(t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})};return{registerSensors:{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)},subscribeSensors:(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])}(),{subscribe:I,publish:S}=T(),O=ea(),R=ea(),W=ea(),{containerRef:$,setContainerRef:D,containerRect:A}=eu(),z=ed(function(){let e=u.useRef(null);return u.useCallback(t=>{var n;t?t.addEventListener(ey,eb,{passive:!1}):null===(n=e.current)||void 0===n||n.removeEventListener(ey,eb),e.current=t},[])}(),D),H=u.useRef(null),F=ed(H,void 0),j=ep(),V=e=>(j?-1:1)*("number"==typeof e?e:1),K=ec(()=>{var e;return null===(e=$.current)||void 0===e?void 0:e.focus()}),J=ec(()=>t),Z=ec(()=>E),Y=u.useCallback(e=>S(a.KN,e),[S]),q=u.useCallback(e=>S(a.Eb,e),[S]),Q=u.useCallback(()=>S(a.t9),[S]),G=e=>!(r.finite&&(V(e)>0&&0===E.currentIndex||0>V(e)&&E.currentIndex===E.slides.length-1)),ee=e=>{var t;N.current=e,null===(t=$.current)||void 0===t||t.style.setProperty(g("swipe_offset"),`${Math.round(e)}px`)},et=c.closeOnPullDown,en=e=>{var t,n;C.current=e,M.current=Math.min(Math.max(P(1-e/60*.5,2),.5),1),null===(t=$.current)||void 0===t||t.style.setProperty(g("pull_down_offset"),`${Math.round(e)}px`),null===(n=$.current)||void 0===n||n.style.setProperty(g("pull_down_opacity"),`${M.current}`)},{prepareAnimation:er}=eo(H,(e,t,n)=>{if(H.current&&A)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:l.easing.fade}}),el=(e,t)=>{if(et){en(e);let n=0;H.current&&(n=l.fade*(t?2:1),er({rect:H.current.getBoundingClientRect(),opacity:M.current,duration:n})),W(()=>{en(0),x(i.NONE)},n),x(i.ANIMATION),t||Q()}},{prepareAnimation:ei,isAnimationPlaying:es}=eo(H,(e,t,n)=>{var l;if(H.current&&A&&(null===(l=E.animation)||void 0===l?void 0:l.duration)){let l=k(r.spacing),i=(l.percent?l.percent*A.width/100:l.pixel)||0;return{keyframes:[{transform:`translate(${V(E.globalIndex-e.index)*(A.width+i)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:E.animation.duration,easing:E.animation.easing}}}),ef=ec(e=>{var t,n;let r=e.offset||0,o=r?l.swipe:null!==(t=l.navigation)&&void 0!==t?t:l.swipe,u=r||es()?l.easing.swipe:l.easing.navigation,{direction:c}=e,s=null!==(n=e.count)&&void 0!==n?n:1,d=i.ANIMATION,f=o*s;if(!c){let t=null==A?void 0:A.width,n=e.duration||0,l=t?o/t*Math.abs(r):o;0!==s?(n<l?f=f/l*Math.max(n,l/5):t&&(f=o/t*(t-Math.abs(r))),c=V(r)>0?a.KN:a.Eb):f=o/2}let p=0;c===a.KN?G(V(1))?p=-s:(d=i.NONE,f=o):c===a.Eb&&(G(V(-1))?p=s:(d=i.NONE,f=o)),R(()=>{ee(0),x(i.NONE)},f=Math.round(f)),H.current&&ei({rect:H.current.getBoundingClientRect(),index:E.globalIndex}),x(d),S(a.Tn,{type:"swipe",increment:p,duration:f,easing:u})});u.useEffect(()=>{var e,t;(null===(e=E.animation)||void 0===e?void 0:e.increment)&&(null===(t=E.animation)||void 0===t?void 0:t.duration)&&O(()=>y({type:"swipe",increment:0}),E.animation.duration)},[E.animation,y,O]);let em=[_,G,(null==A?void 0:A.width)||0,l.swipe,()=>x(i.SWIPE),e=>ee(e),(e,t)=>ef({offset:e,duration:t,count:1}),e=>ef({offset:e,count:0})],eh=[()=>{et&&x(i.PULL_DOWN)},e=>en(e),e=>el(e),e=>el(e,!0)];!function(e,t,n,r,l,i,a,c,s,d,f,p,m){let h=u.useRef(0),v=u.useRef([]),g=u.useRef(),E=u.useRef(0),y=u.useRef(o.NONE),b=u.useCallback(e=>{g.current===e.pointerId&&(g.current=void 0,y.current=o.NONE);let t=v.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),w=u.useCallback(e=>{b(e),e.persist(),v.current.push(e)},[b]),x=ec(e=>{w(e)}),N=ec(e=>{if(v.current.find(t=>t.pointerId===e.pointerId)&&g.current===e.pointerId){let e=Date.now()-E.current,t=h.current;y.current===o.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?a(t,e):c(t):y.current===o.PULL_DOWN&&(t>60?p(t,e):m(t)),h.current=0,y.current=o.NONE}b(e)}),P=ec(e=>{let n=v.current.find(t=>t.pointerId===e.pointerId);if(n){let r=g.current===e.pointerId;if(0===e.buttons){r&&0!==h.current?N(e):b(n);return}let u=e.clientX-n.clientX,a=e.clientY-n.clientY;if(void 0===g.current){let n=t=>{w(e),g.current=e.pointerId,E.current=Date.now(),y.current=t};Math.abs(u)>Math.abs(a)&&Math.abs(u)>30&&t(u)?(n(o.SWIPE),l()):s&&Math.abs(a)>Math.abs(u)&&a>30&&(n(o.PULL_DOWN),d())}else r&&(y.current===o.SWIPE?(h.current=u,i(u)):y.current===o.PULL_DOWN&&(h.current=a,f(a)))}});eE(e,x,P,N)}(...em,et,...eh),function(e,t,n,r,l,o,c,s,d){let f=u.useRef(0),p=u.useRef(0),m=u.useRef(),h=u.useRef(),v=u.useRef(0),g=u.useRef(0),{setTimeout:E,clearTimeout:y}=B(),b=u.useCallback(()=>{m.current&&(y(m.current),m.current=void 0)},[y]),w=u.useCallback(()=>{h.current&&(y(h.current),h.current=void 0)},[y]),x=ec(()=>{e!==i.SWIPE&&(f.current=0,g.current=0,b(),w())});u.useEffect(x,[e,x]);let N=ec(e=>{h.current=void 0,f.current===e&&d(f.current)}),P=ec(t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))){if(e===i.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(v.current)){v.current=t.deltaX;return}if(n(-t.deltaX)){if(p.current+=t.deltaX,b(),Math.abs(p.current)>30)p.current=0,v.current=0,g.current=Date.now(),o();else{let e=p.current;m.current=E(()=>{m.current=void 0,e===p.current&&(p.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),w(),Math.abs(e)>.2*r){v.current=t.deltaX,s(e,Date.now()-g.current);return}h.current=E(()=>N(e),2*l)}else v.current=t.deltaX}});u.useEffect(()=>t(a.yq,P),[t,P])}(b,...em);let ev=ec(()=>{var e;c.focus&&(null===(e=$.current)||void 0===e||e.focus())});u.useEffect(ev,[ev]);let eg=ec(()=>{var e;null===(e=s.view)||void 0===e||e.call(s,{index:E.currentIndex})});u.useEffect(eg,[E.globalIndex,eg]),u.useEffect(()=>w(I(a.KN,e=>ef({direction:a.KN,...e})),I(a.Eb,e=>ef({direction:a.Eb,...e})),I(a.Tn,e=>y(e))),[I,ef,y]),u.useEffect(()=>_(a.Bm,e=>{e.key===a.PU&&Q()}),[_,Q]);let eN=u.useMemo(()=>({prev:Y,next:q,close:Q,focus:K,slideRect:A?function(e,t){let n=k(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)}}(A,r.padding):{width:0,height:0},containerRect:A||{width:0,height:0},subscribeSensors:_,containerRef:$,setCarouselRef:F,toolbarWidth:p,setToolbarWidth:h}),[Y,q,Q,K,_,A,$,F,p,h,r.padding]);return u.useImperativeHandle(c.ref,()=>({prev:Y,next:q,close:Q,focus:K,getLightboxProps:J,getLightboxState:Z}),[Y,q,Q,K,J,Z]),u.createElement("div",{ref:z,className:m(v(ew()),v(a.aN)),style:{...b===i.SWIPE?{[g("swipe_offset")]:`${Math.round(N.current)}px`}:null,...b===i.PULL_DOWN?{[g("pull_down_offset")]:`${Math.round(C.current)}px`,[g("pull_down_opacity")]:`${M.current}`}:null,..."none"!==c.touchAction?{[g("controller_touch_action")]:c.touchAction}:null,...d.container},...c.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...L},A&&u.createElement(ex.Provider,{value:eN},e,null===(n=f.controls)||void 0===n?void 0:n.call(f)))});function eC(e){return E(a.k0,e)}function eM(e){return E("slide",e)}function ek({slide:e,offset:t}){var n,r,l,i;let o;let c=u.useRef(null),{currentIndex:s}=U(),{slideRect:d,close:f}=eN(),{render:p,carousel:{imageFit:h,imageProps:g},on:{click:E},controller:{closeOnBackdropClick:y},styles:{slide:b}}=A();return u.createElement("div",{ref:c,className:m(v(eM()),0===t&&v(eM("current")),v(a.aN)),onClick:e=>{let t=c.current,n=e.target instanceof HTMLElement?e.target:void 0;y&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(v(a.yS)))&&f()},style:b},(!(o=null===(n=p.slide)||void 0===n?void 0:n.call(p,{slide:e,offset:t,rect:d}))&&C(e)&&(o=u.createElement(eg,{slide:e,offset:t,render:p,rect:d,imageFit:h,imageProps:g,onClick:0===t?()=>null==E?void 0:E({index:s}):void 0})),o?u.createElement(u.Fragment,null,null===(r=p.slideHeader)||void 0===r?void 0:r.call(p,{slide:e}),(null!==(l=p.slideContainer)&&void 0!==l?l:({children:e})=>e)({slide:e,children:o}),null===(i=p.slideFooter)||void 0===i?void 0:i.call(p,{slide:e})):null))}function eL(){let e=A().styles.slide;return u.createElement("div",{className:v("slide"),style:e})}let e_=d(a.k0,function({carousel:e}){let{slides:t,currentIndex:n,globalIndex:r}=U(),{setCarouselRef:l}=eN(),i=k(e.spacing),o=k(e.padding),a=[],c=Math.min(e.preload,Math.max(Math.floor(t.length/2),1));if(I(t)){for(let l=n-c;l<n;l+=1){let i=r+l-n;a.push(!e.finite||l>=0?u.createElement(ek,{key:i,slide:t[(l+c*t.length)%t.length],offset:l-n}):u.createElement(eL,{key:i}))}a.push(u.createElement(ek,{key:r,slide:t[n],offset:0}));for(let l=n+1;l<=n+c;l+=1){let i=r+l-n;a.push(!e.finite||l<=t.length-1?u.createElement(ek,{key:i,slide:t[l%t.length],offset:l-n}):u.createElement(eL,{key:i}))}}return u.createElement("div",{ref:l,className:m(v(eC()),a.length>0&&v(eC("with_slides"))),style:{[`${g(eC("slides_count"))}`]:a.length,[`${g(eC("spacing_px"))}`]:i.pixel||0,[`${g(eC("spacing_percent"))}`]:i.percent||0,[`${g(eC("padding_px"))}`]:o.pixel||0,[`${g(eC("padding_percent"))}`]:o.percent||0}},a)});function eI({label:e,icon:t,renderIcon:n,action:r,onClick:l,disabled:i,style:o}){return u.createElement(Z,{label:e,icon:t,renderIcon:n,className:v(`navigation_${r}`),disabled:i,onClick:l,style:o,...ef(eN().focus,i)})}let eS=d(a.Op,function({carousel:{finite:e},animation:t,render:{buttonPrev:n,buttonNext:r,iconPrev:l,iconNext:i},styles:o}){var c;let{slides:s,currentIndex:d}=U(),{prev:f,next:p,subscribeSensors:m}=eN(),h=ep(),v=0===s.length||e&&0===d,g=0===s.length||e&&d===s.length-1,E=(null!==(c=t.navigation)&&void 0!==c?c:t.swipe)/2,y=em(f,E),b=em(p,E),w=ec(e=>{e.key!==a.Sl||(h?g:v)||(h?b:y)(),e.key!==a.NH||(h?v:g)||(h?y:b)()});return u.useEffect(()=>m(a.ds,w),[m,w]),u.createElement(u.Fragment,null,n?n():u.createElement(eI,{label:"Previous",action:a.KN,icon:ee,renderIcon:l,style:o.navigationPrev,disabled:v,onClick:f}),r?r():u.createElement(eI,{label:"Next",action:a.Eb,icon:et,renderIcon:i,style:o.navigationNext,disabled:g,onClick:p}))}),eO=v(a.Tf),eR=v(a.M9);function eW(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,`${(parseInt(i,10)||0)+t}px`),()=>{o?e.style.setProperty(l,o):e.style.removeProperty(l)}}let eT=d(a.HE,function({children:e}){let t=ep();return el(()=>{let e=[],{body:n,documentElement:r}=document,l=Math.round(window.innerWidth-r.clientWidth);if(l>0){e.push(eW(n,l,t));let r=n.getElementsByTagName("*");for(let n=0;n<r.length;n+=1){let i=r[n];"style"in i&&"fixed"===window.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(eR)&&e.push(eW(i,l,t))}}return n.classList.add(eO),()=>{n.classList.remove(eO),e.forEach(e=>e())}},[t]),u.createElement(u.Fragment,null,e)});function e$(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eD=d(a.SA,function({children:e,animation:t,styles:n,className:r,on:l,portal:i,close:o}){let[d,f]=u.useState(!1),[p,h]=u.useState(!1),y=u.useRef([]),{setTimeout:b}=B(),{subscribe:w}=T(),x=ei(),N=x?0:t.fade;u.useEffect(()=>(f(!0),()=>{f(!1),h(!1)}),[]);let P=ec(()=>{var e;h(!1),null===(e=l.exiting)||void 0===e||e.call(l),b(()=>{var e;null===(e=l.exited)||void 0===e||e.call(l),o()},N)});u.useEffect(()=>w(a.t9,P),[w,P]);let C=ec(e=>{var t,n,r;e.scrollTop,h(!0),null===(t=l.entering)||void 0===t||t.call(l);let i=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<i.length;t+=1){let n=i[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(y.current.push(e$(n,"inert","true")),y.current.push(e$(n,"aria-hidden","true")))}b(()=>{var e;null===(e=l.entered)||void 0===e||e.call(l)},N)}),M=ec(()=>{y.current.forEach(e=>e()),y.current=[]}),k=u.useCallback(e=>{e?C(e):M()},[C,M]);return d?(0,c.createPortal)(u.createElement("div",{ref:k,className:m(r,v("root"),v(E(a.SA,void 0)),v(a.M9),p&&v(E(a.SA,"open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==s.animation.fade?{[g("fade_animation_duration")]:`${N}ms`}:null,...t.easing.fade!==s.animation.easing.fade?{[g("fade_animation_timing_function")]:t.easing.fade}:null,...n.root}},e),i.root||document.body):null}),eA=d(a.lT,function({children:e}){return u.createElement(u.Fragment,null,e)}),ez=d(a.hb,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){let{close:l,setToolbarWidth:i}=eN(),{setContainerRef:o,containerRect:c}=eu();el(()=>{i(null==c?void 0:c.width)},[i,null==c?void 0:c.width]);let s=()=>t?t():u.createElement(Z,{key:a.t9,label:"Close",icon:G,renderIcon:n,onClick:l});return u.createElement("div",{ref:o,style:r.toolbar,className:v(E(a.hb,void 0)),...function(){let e=e=>{e.stopPropagation()};return{onPointerDown:e,onKeyDown:e,onWheel:e}}()},null==e?void 0:e.map(e=>e===a.t9?s():e))});function eH({carousel:e,animation:t,render:n,toolbar:r,controller:l,on:i,plugins:o,slides:c,index:d,...m}){let{animation:h,carousel:v,render:g,toolbar:E,controller:y,on:b,slides:w,index:x,plugins:N,...P}=s,{config:C,augmentation:M}=function(e,t=[],n=[]){let 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;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{if(""===e){r=[f(t,r)];return}r=p(r,e,e=>[f(t,[e])])},o=(e,t)=>{r=p(r,e,e=>[f(e.module,[f(t,e.children)])])},u=(e,t,n)=>{r=p(r,e,e=>{var r;return[f(e.module,[...n?[f(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[f(t)]])]})},c=(e,t,n)=>{r=p(r,e,e=>[...n?[f(t)]:[],e,...n?[]:[f(t)]])},s=e=>{o(a.l4,e)},d=(e,t)=>{r=p(r,e,e=>[f(t,e.children)])},m=e=>{r=p(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:s,replace:d,remove:m,augment:h})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([f(eD,[f(eT,[f(eP,[f(e_),f(ez),f(eS)])])])],o||N),k=M({animation:function(e,t={}){let{easing:n,...r}=e,{easing:l,...i}=t;return{easing:{...n,...l},...r,...i}}(h,t),carousel:{...v,...e},render:{...g,...n},toolbar:{...E,...r},controller:{...y,...l},on:{...b,...i},...P,...m});return k.open?u.createElement(z,{...k},u.createElement(V,{slides:c||w,index:d||x},u.createElement(J,null,u.createElement($,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)))}(f(eA,C),k))))):null}},1213:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(9200),l=n(2265),i=n(8258);let o=e=>(0,r.Nc)(`slide_${e}`),u={descriptionTextAlign:"start",descriptionMaxLines:3,showToggle:!1},a=e=>({...u,...e}),c=l.createContext(null),s=(0,r.Fy)("useCaptions","CaptionsContext",c);function d({captions:e,children:t}){let{ref:n}=a(e),[r,i]=l.useState(!0),o=l.useMemo(()=>({visible:r,show:()=>i(!0),hide:()=>i(!1)}),[r]);return l.useImperativeHandle(n,()=>o,[o]),l.createElement(c.Provider,{value:o},t)}function f({title:e}){let{toolbarWidth:t}=(0,r.bc)(),{styles:n}=(0,r.RD)(),{visible:i}=s();return i?l.createElement("div",{style:n.captionsTitleContainer,className:(0,r.Wy)(o("captions_container"),o("title_container"))},l.createElement("div",{className:o("title"),style:{...t?{[(0,r.gJ)("toolbar_width")]:`${t}px`}:null,...n.captionsTitle}},e)):null}function p({description:e}){let{descriptionTextAlign:t,descriptionMaxLines:n}=function(){let{captions:e}=(0,r.RD)();return a(e)}(),{styles:i}=(0,r.RD)(),{visible:c}=s();return c?l.createElement("div",{style:i.captionsDescriptionContainer,className:(0,r.Wy)(o("captions_container"),o("description_container"))},l.createElement("div",{className:o("description"),style:{...t!==u.descriptionTextAlign||n!==u.descriptionMaxLines?{[(0,r.gJ)("slide_description_text_align")]:t,[(0,r.gJ)("slide_description_max_lines")]:n}:null,...i.captionsDescription}},"string"==typeof e?e.split("\n").flatMap((e,t)=>[...t>0?[l.createElement("br",{key:t})]:[],e]):e)):null}let m=()=>l.createElement(l.Fragment,null,l.createElement("path",{strokeWidth:2,stroke:"currentColor",strokeLinejoin:"round",fill:"none",d:"M3 5l18 0l0 14l-18 0l0-14z"}),l.createElement("path",{d:"M7 15h3c.55 0 1-.45 1-1v-1H9.5v.5h-2v-3h2v.5H11v-1c0-.55-.45-1-1-1H7c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1zm7 0h3c.55 0 1-.45 1-1v-1h-1.5v.5h-2v-3h2v.5H18v-1c0-.55-.45-1-1-1h-3c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1z"})),h=(0,r.U2)("CaptionsVisible",m()),v=(0,r.TX)("CaptionsVisible",m());function g(){let{visible:e,show:t,hide:n}=s(),{render:i}=(0,r.RD)();return i.buttonCaptions?l.createElement(l.Fragment,null,i.buttonCaptions({visible:e,show:t,hide:n})):l.createElement(r.hU,{label:e?"Hide captions":"Show captions",icon:e?h:v,renderIcon:e?i.iconCaptionsVisible:i.iconCaptionsHidden,onClick:e?n:t})}function E({augment:e,addModule:t}){e(({captions:e,render:{slideFooter:t,...n},toolbar:o,...u})=>{let c=a(e);return{render:{slideFooter:({slide:e})=>l.createElement(l.Fragment,null,null==t?void 0:t({slide:e}),e.title&&l.createElement(f,{title:e.title}),e.description&&l.createElement(p,{description:e.description})),...n},toolbar:(0,r.wQ)(o,i.JT,c.showToggle?l.createElement(g,null):null),captions:c,...u}}),t((0,r.l6)(i.JT,d))}},6152:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2265),l=n(9200),i=n(8258);let o={controls:!0,playsInline:!0},u=e=>({...o,...e});function a({slide:e,offset:t}){let n=function(){let{video:e}=(0,l.RD)();return u(e)}(),{publish:o}=(0,l.hI)(),{setContainerRef:a,containerRect:c}=(0,l.u9)(),s=r.useRef(null);r.useEffect(()=>{0!==t&&s.current&&!s.current.paused&&s.current.pause()},[t]),r.useEffect(()=>{0===t&&s.current&&(e.autoPlay||n.autoPlay)&&(o(i.p7),s.current.play().catch(()=>{}))},[t,n.autoPlay,e.autoPlay,o]);let d=(0,l.$0)(r=>{0===t&&(n.autoPlay||e.autoPlay)&&r.paused&&r.play().catch(()=>{})}),f=r.useCallback(e=>{s.current=e,e&&d(e)},[d]),{width:p,height:m,poster:h,sources:v}=e,g=t=>!1===e[t]?null:!0===e[t]?{[t]:!0}:!1===n[t]?null:!0===n[t]?{[t]:!0}:null,E=t=>n[t]||e[t]?{[t]:e[t]||n[t]}:null;return r.createElement(r.Fragment,null,v&&r.createElement("div",{ref:a,style:{width:"100%",height:"100%",...p?{maxWidth:`${p}px`}:null},className:(0,l.Wy)((0,l.Nc)("video_container"),(0,l.Nc)(i.aN))},c&&r.createElement("video",{ref:f,poster:h,...(()=>{let e={};if(e.style={maxWidth:"100%",maxHeight:"100%"},p&&m&&c){let t=p/m>c.width/c.height,n=t?c.width:Math.round(c.height/m*p),r=t?Math.round(c.width/p*m):c.height;e.width=n,e.height=r,e.style.width=n,e.style.height=r}return e})(),...g("controls"),...g("playsInline"),...g("loop"),...g("muted"),...g("playsInline"),...g("disablePictureInPicture"),...g("disableRemotePlayback"),...E("controlsList"),...E("crossOrigin"),...E("preload"),onPlay:()=>{o(i.fV)},onEnded:()=>{o(i.LN)}},v.map(({src:e,type:t},n)=>r.createElement("source",{key:n,src:e,type:t})))))}function c({augment:e}){e(({render:{slide:e,...t},video:n,...l})=>({render:{slide:({slide:t,offset:n,rect:l})=>{var i;return"video"===t.type?r.createElement(a,{key:null===(i=t.sources)||void 0===i?void 0:i.map(e=>e.src).join(" "),slide:t,offset:n}):null==e?void 0:e({slide:t,offset:n,rect:l})},...t},video:u(n),...l}))}},8258:function(e,t,n){"use strict";n.d(t,{$L:function(){return y},Bm:function(){return z},Eb:function(){return I},HE:function(){return o},HY:function(){return f},J1:function(){return b},JT:function(){return s},KN:function(){return _},LN:function(){return P},M9:function(){return L},N4:function(){return W},NH:function(){return X},NZ:function(){return R},Op:function(){return i},PU:function(){return U},S2:function(){return T},SA:function(){return u},Sl:function(){return F},Tf:function(){return k},Tn:function(){return S},Vt:function(){return D},Xe:function(){return h},Zv:function(){return E},aN:function(){return M},bg:function(){return j},c3:function(){return J},dA:function(){return p},ds:function(){return A},fS:function(){return g},fV:function(){return x},hP:function(){return v},hb:function(){return c},j3:function(){return K},k0:function(){return r},l4:function(){return l},lT:function(){return a},p7:function(){return w},pE:function(){return $},rO:function(){return B},t9:function(){return O},vP:function(){return N},vg:function(){return V},xc:function(){return m},yS:function(){return C},yq:function(){return H},zr:function(){return d}});let r="carousel",l="controller",i="navigation",o="no-scroll",u="portal",a="root",c="toolbar",s="captions",d="fullscreen",f="slideshow",p="thumbnails",m="zoom",h="loading",v="playing",g="error",E="complete",y="placeholder",b=e=>`active-slide-${e}`,w=b(h),x=b(v),N=b(g),P=b(E),C="fullsize",M="flex_center",k="no_scroll",L="no_scroll_padding",_="prev",I="next",S="swipe",O="close",R="onPointerDown",W="onPointerMove",T="onPointerUp",$="onPointerLeave",D="onPointerCancel",A="onKeyDown",z="onKeyUp",H="onWheel",U="Escape",F="ArrowLeft",X="ArrowRight",j="button",V="icon",K="contain",B="cover",J="Unknown action type"}}]);