1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[4821],{8335(e,i,t){t.d(i,{default:()=>g});var s=t(1236),n=t(3385),a=t(5103),r=t(8832),o=t(3484),l=t(7555),d=t(8194),p=t(9202),c=t(2761),u=t(3044);function f({swiper:e,extendParams:i,on:t}){i({debugger:!1,edgeTransition:{transitionZone:1}});let s=[],n=[],a=[],r=[],o=!0,l=1,d=!1,f=!1,g=!1,m=!1,h=1,x=!1,b=!1,v=!1,y=0,S=!1;t("slidesUpdated",()=>{const i=e.slides.map(e=>e.swiperSlideSize||e.offsetWidth);e.slides.forEach((e,t)=>{y=i[t],e.style.perspective=`${y}px`}),_()}),t("init",()=>{if(!e.params.edgeTransition)return;const i=e.params.edgeTransition,t=i.slider_style,o=i.slider_effect,w="pix-circular-slider"===o||"pix-circular-left"===o,T="pix-circular-slider"===o||"pix-circular-right"===o;let E="pix-opacity-slider"===t?.3:"pix-one-active"===t?0:1;"pix-style-standard"===t?(f=w,m=T,"pix-fade-out-effect"===o&&(f=m=!0)):"pix-one-active"===t?(l=h=0,f=!0):"pix-opacity-slider"===t&&(l=.3,d=!0,f=m=!0,g=x=.3,w&&(g=!1,d=!1),T&&(x=!1,d=!1)),e.params.slidesPerView>1&&(S=!0),b=w,v=T;const I=e.activeIndex,A=i.slider_inactive_scale,M=e.slides.map(e=>e.swiperSlideSize||e.offsetWidth);e.slides.forEach((i,t)=>{const l=i.getAttribute("data-pixfort-slide-index"),d=i.querySelector(".pixfort-slide-inner");y=M[t],i.style.perspective=`${y}px`;let f=E,g=1;if(t===I)f=1;else if(!i.classList.contains("swiper-slide-visible")&&"pix-effect-standard"!==o){f=(e.rtl?-i.progress:i.progress)<0&&!m?h:0}A&&t!==I&&(g=.85);const x={mass:.1,damping:2},b=(0,c.X)(0,{...x,stiffness:12}),v=(0,c.X)(1,{...x,stiffness:12}),S=(0,c.X)(f,{...x,stiffness:10}),w=(0,c.X)(g,{mass:.1,damping:100,stiffness:600}),T=(0,u.o)(()=>{const e=b.get(),i=v.get();return`translateX(${e*i*y*1.6}px) translateZ(${-60*e}px) rotateY(${Math.max(-10,Math.min(10,20*e*i))}deg) scale(${w.get()})`});(window.ElementorInlineEditor||window.vc_iframe)&&(S.on("change",e=>d.style.opacity=e.toString()),T.on("change",e=>d.style.transform=e.toString())),e.params.is_thumbnails?(f=1,(0,p.F)(d,{transform:T}),d.style.opacity="1"):(0,p.F)(d,{transform:T,opacity:S}),d.style.opacity=f.toString(),s[l]=S,n[l]=v,a[l]=b,r[l]=w}),_()});const w=(e,i)=>o?e.set(i):e.jump(i),T=(e,i)=>i&&e<i?i:e<.01?0:e>1?1:e;function _(){if(!a.length)return;const i=e.params.edgeTransition,t=i.edgeThreshold,r=i.visibleZoneStart,o=i.visibleZoneEnd,p=e.rtl,c=e.activeIndex;e.slides.forEach((e,i)=>{let u=p?-e.progress:e.progress;const y=Math.abs(u),_=e.getAttribute("data-pixfort-slide-index");if(u<=r&&y<=t)return w(n[_],1),w(a[_],0),s[_].set(i===c?1:l),void(e.style.zIndex="10");if(u>r&&u<=r+1){const t=u-r;w(n[_],1);const o=T(1-t,g);return i!==c&&d?s[_].set(l):s[_].set(f?o:1),w(a[_],b?t:0),void(e.style.zIndex="9")}if(u<o&&y>t&&y<=t+1){const r=y-t;w(n[_],-1);const o=T(1-r,x);return i!==c&&d?s[_].set(l):s[_].set(m?o:h),w(a[_],v?r:0),void(e.style.zIndex="9")}return u>r+1?(w(n[_],1),S?w(s[_],0):s[_].set(0),w(a[_],b?u-r:0),void(e.style.zIndex="5")):u<o&&y>o+1?(w(n[_],-1),m?S?w(s[_],0):s[_].set(0):s[_].set(h),w(a[_],v?y-t:0),void(e.style.zIndex="5")):void 0})}t("touchStart",()=>{if(o=!1,!r.length)return;const i=e.params.edgeTransition;if(i.slider_inactive_scale||i.dragScale)for(let i=0;i<e.slides.length;i++)r[i].set(.8)}),t("touchEnd",()=>{if(o=!0,!r.length)return;const i=e.params.edgeTransition;if(i.slider_inactive_scale||i.dragScale){const t=e.activeIndex,s=i.slider_inactive_scale;e.slides.forEach((e,i)=>{const n=Number(e.getAttribute("data-pixfort-slide-index"));r[n].set(s&&i!==t?.85:1)})}}),t("paginationUpdate",()=>{if(e.params.duplicatedItems){const i=Math.ceil(e.slides.length/2);if(e.realIndex>=i){const t=e.realIndex-i,s=e.pagination&&e.pagination.bullets?e.pagination.bullets[t]:null;s&&s.classList.add("swiper-pagination-bullet-active")}}}),t("setTranslate",()=>_()),t("loopFix",()=>_()),t("transitionStart",()=>_()),t("activeIndexChange",()=>{if(!o||!r.length)return;const i=e.params.edgeTransition;if(i.slider_inactive_scale||i.dragScale){const t=e.activeIndex,s=i.slider_inactive_scale;e.slides.forEach((e,i)=>{const n=Number(e.getAttribute("data-pixfort-slide-index"));r[n].set(s&&i!==t?.85:1)})}}),t("transitionEnd",()=>setTimeout(()=>{e.params&&e.params.edgeTransition&&_()},200))}
1async function g(e,i=!1){e||(e=$("body")),e.find(".pixfort-swiper .swiper").each(function(e,t){m(t,i)})}function m(e,i=!1){if(e.classList.contains("swiper-initialized"))return e.swiper;const t=e.parentElement,p=$(e).closest(".pixfort-swiper").find(".pixfort-slider-pagination")[0],c=t?.querySelector(".pixfort-button-prev"),u=t?.querySelector(".pixfort-button-next");let g=i||!1,h={loop:!0,loopAdditionalSlides:0,slidesPerGroup:1,dragScale:!1,slidesPerView:1,watchSlidesProgress:!0,modules:[f],grabCursor:!0,freeMode:!1,snapOnRelease:!1,sticky:!1,speed:600,visibleZoneStart:0,visibleZoneEnd:3};const x=(e,i)=>{if(void 0!==i)return i;if(!e.loop)return 0;let t=Math.ceil((e=>{const i=[e.slidesPerView];return e.breakpoints&&Object.values(e.breakpoints).forEach(e=>{e&&void 0!==e.slidesPerView&&i.push(e.slidesPerView)}),i.reduce((e,i)=>{if("auto"===i)return e;const t=Number(i);return Number.isFinite(t)&&t>e?t:e},1)})(e));const s=Math.max(1,Math.ceil(Number(e.slidesPerGroup)||1)),n=e.centeredSlides||!!e.slidesOffsetBefore||!!e.slidesOffsetAfter;n&&t%2==0&&(t+=1);let a=n?Math.max(s,Math.ceil(t/2)):s;a%s!==0&&(a+=s-a%s);const r=Number(e.itemsCount);return Number.isFinite(r)?Math.max(0,Math.min(1,r-t-a)):1},b=e.getAttribute("data-swiper");if(b)try{if(g||(g=JSON.parse(b)),g.edgeTransitionParams&&(h.edgeTransition=g.edgeTransitionParams),g.pagination)if(!1===g.pagination.enabled)h.pagination=!1;else if(p&&(h.modules=[...h.modules,a.A],h.pagination={el:p,clickable:!1!==g.pagination.clickable,modifierClass:"pixfort-slider-pagination-"},g.duplicatedItems)){const e=Math.ceil(g.itemsCount/2);h.pagination.renderBullet=(i,t)=>i>=e?"":`<span class="${t}"></span>`}if(g.navigation&&(!1===g.navigation.enabled?h.navigation=!1:c&&u&&(h.modules=[...h.modules,n.A],h.navigation={nextEl:u,prevEl:c})),g.autoplay&&(h.modules=[...h.modules,r.A],h.autoplay=g.autoplay),g.freeMode&&(h.modules=[...h.modules,l.A],h.freeMode=g.freeMode),g.centeredSlides){const e=(g.slidesPerView-1)/2+1e-6;h.centeredSlides=!0,h.edgeTransition.visibleZoneStart=e,h.edgeTransition.visibleZoneEnd=-e,h.edgeTransition.edgeThreshold=e}else{const e=g.slidesPerView-1+1e-6;h.edgeTransition.edgeThreshold=e,h.edgeTransition.visibleZoneStart=0,h.edgeTransition.visibleZoneEnd=e}if(g.breakpoints&&Object.keys(g.breakpoints).length>0&&(h.on={breakpoint:(e,i)=>{const t=i.slidesPerView||e.params.slidesPerView;if(g.centeredSlides){const i=(t-1)/2+1e-6;e.params.edgeTransition.visibleZoneStart=i,e.params.edgeTransition.visibleZoneEnd=-i,e.params.edgeTransition.edgeThreshold=i}else{const i=t-1+1e-6;e.params.edgeTransition.edgeThreshold=i,e.params.edgeTransition.visibleZoneStart=0,e.params.edgeTransition.visibleZoneEnd=i}}}),g.has_thumbnails){let i=$(e).closest(".pixfort-slider-element").find(".swiper.pix-slider-thumbnails")[0];if(i)if(h.modules=[...h.modules,o.A],i.swiper)h.thumbs={swiper:i.swiper,autoScrollOffset:1};else{const e=m(i);h.thumbs={swiper:e,autoScrollOffset:1}}}else g.is_thumbnails&&(h.is_thumbnails=!0,h.grabCursor=!1);g.centerInsufficientSlides&&(h.centerInsufficientSlides=!0,h.watchOverflow=!0);const i=void 0!==g.loopAdditionalSlides?g.loopAdditionalSlides:void 0,{pagination:t,navigation:s,autoplay:d,...f}=g;h={...h,...f},h.loopAdditionalSlides=x(h,i)}catch(e){}const v=new s.A(e,h);return h.loop&&requestAnimationFrame(()=>{v&&!v.destroyed&&("function"==typeof v.loopFix&&v.loopFix(),v.update(),v.setTranslate(v.translate))}),h.duplicatedItems&&v.slideTo(Math.ceil(v.slides.length/2),0,!1),h.autoplay&&(v.autoplay&&v.autoplay.running&&v.autoplay.stop(),(0,d.l)(e,(e,i)=>(v.autoplay&&!v.autoplay.running&&v.autoplay.start(),e=>{v.autoplay&&v.autoplay.running&&v.autoplay.stop()}))),v}}}]);
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.