PageSourceSearch

https://sertus.uk/component---src-templates-storyblok-page-jsx-8b77aa4eed07f87e962a.js

js sertus.uk collected 2026-10-06 03:12:17 UTC 187,369 bytes, 3 lines download raw bytes

1/*! For license information please see component---src-templates-storyblok-page-jsx-8b77aa4eed07f87e962a.js.LICENSE.txt */
2(self.webpackChunksertus=self.webpackChunksertus||[]).push([[43],{12507:function(e,t,n){var o=n(28754),i=n(49698),r=n(63912),a=n(13222);e.exports=function(e){return function(t){t=a(t);var n=i(t)?r(t):void 0,l=n?n[0]:t.charAt(0),s=n?o(n,1).join(""):t.slice(1);return l[e]()+s}}},14792:function(e,t,n){var o=n(13222),i=n(55808);e.exports=function(e){return i(o(e).toLowerCase())}},34627:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ir}});var o=n(96540),i=n(55193),r=n(46979),a=n(40356),l=n(10384),s=n(8863);var c=n(86272),d=n(89785),u=n(35445),f=n(63679),m=n(43583),g=n(1398),p=n(27038);const h=e=>{const{title:t,subtitle:n,tabs:i}=e,{0:r,1:a}=(0,o.useState)(i[0]._uid),l=i.map(e=>{var t;return{id:e._uid,data:null===(t=e.content[0])||void 0===t?void 0:t.items.map(e=>({question:e.title,answer:e.text}))}}).filter(e=>!!e.data);return o.createElement(c.A,{large:!0,py:[48,96]},o.createElement(d.xA,{gridAutoFlow:["row","column"],gridTemplateColumns:[void 0,"auto 1fr"],gridGap:[10,99]},o.createElement(d.xA,{width:["auto",180],alignContent:"start"},t&&o.createElement(u.A,{as:"h2",fontSizeSmall:!0},t),n&&o.createElement(d.fz,{grey:!0,fontSizeExtraSmall:!0,mt:8},n),o.createElement(v,null,i.map(e=>o.createElement("li",{key:e._uid,role:"presentation"},o.createElement(m.A,{role:"listitem",to:"#",onClick:t=>{t.preventDefault(),a(e._uid)},display:"inline-grid","aria-selected":r===e._uid?"true":void 0,primaryTransparent:r===e._uid,greyTransparent:!0,height:46},e.name))))),o.createElement("div",null,l.map(e=>o.createElement(y,{key:e.id,show:r===e.id},o.createElement(g.A,{metaId:e.id,data:e.data}))))))},v=f.default.ul.withConfig({displayName:"StyledList",componentId:"sc-ygmyku-0"})(["padding-top:40px;list-style:none;",""],p.A.mobile((0,f.css)(["padding-top:20px;"]))),y=f.default.div.withConfig({displayName:"StyledTabContent",componentId:"sc-ygmyku-1"})(["display:none;",""],e=>e.show&&(0,f.css)(["display:block;"])),b=e=>{const{anchor:t,faq:n,legacyFaq:i}=e,r=n||E(i);return r?o.createElement(a.Ay,{id:t},o.createElement("div",null,o.createElement(h,{title:"FAQ",subtitle:"Choose a category",tabs:r}))):null},E=e=>{if(e)return[{_uid:"product-faq-general",name:"General",content:[{items:e.map(e=>({_uid:e._uid,title:e.question,text:e.answer}))}]}]};var w=n(71977),x=n(27678),C=n(29032),S=n(61738),A=n(24362),k=n(13811),T=n(99109),M=n(49378);const L=e=>{const{image:t,subtitle:n,title:i,duration:r,video:a}=e,s=(0,l.Q)(t),{0:c,1:f}=(0,o.useState)(!1);return o.createElement(O,null,o.createElement(_,null,o.createElement(k.A,{fluid:s,style:{overflow:"hidden"}})),o.createElement(I,null,o.createElement(d.fz,{color:"grey",mb:10,fontSizeExtraSmall:!0},n),o.createElement(R,null,o.createElement(u.A,{as:"h3",fontSizeExtraSmall:!0},i),o.createElement(T.A,{icon:{name:"playCircle"},onClick:()=>f(!0)})),o.createElement(d.fz,{color:"grey",fontSizeExtraSmall:!0},r," ",Number(r)>1?"mins":"min")),c&&o.createElement(M.A,{videoLink:a,handlePopupClose:()=>f(!1)}))},O=(0,f.default)(d.xA).attrs(()=>({backgroundColor:"lightGrey",gridTemplateColumns:[null,"auto 1fr"],borderRadius:"var(--Radius-Radius-3, 16px)"})).withConfig({displayName:"StyledContainer",componentId:"sc-1rh4tfq-0"})([""]),_=(0,f.default)(d.xA).attrs(()=>({width:["100%",320]})).withConfig({displayName:"StyledImageContainer",componentId:"sc-1rh4tfq-1"})(["border-radius:16px 0px 0px 16px !important;overflow:hidden;"]),I=(0,f.default)(d.xA).attrs(()=>({py:[20,40],px:[28,56]})).withConfig({displayName:"StyledInfo",componentId:"sc-1rh4tfq-2"})([""]),R=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:"column",gridGap:20,justifyContent:"space-between"})).withConfig({displayName:"StyledTitleArea",componentId:"sc-1rh4tfq-3"})([""]),z=e=>{const{videos:t}=e;return o.createElement(a.Ay,{id:"videos"},o.createElement(c.A,{large:!0,py:[48,96]},o.createElement(d.xA,{gridAutoFlow:["row","row","column"],gridGap:[30,30,99],gridTemplateColumns:["auto","auto","auto 1fr"]},o.createElement(d.xA,{width:["auto",180],alignContent:"start"},o.createElement(u.A,{as:"h2",fontSizeSmall:!0},"Videos")),o.createElement(d.xA,{gridAutoFlow:"row",gridGap:24},t.map(e=>e.source?o.createElement(L,{key:e.id,image:e.image,subtitle:e.categories,title:e.name,duration:e.duration,video:e.source}):null)))))};var P=n(84874),j=n(35551),F=n.n(j),N=n(5979);const D=e=>{const{image:t,title:n,text:i,link:r,linkText:a,linkPrimary:s,isDownload:c,gated:f}=e;return o.createElement(q,null,o.createElement(d.xA,{width:42,gridArea:"image",alignItems:"center"},t?o.createElement(k.A,{fluid:(0,l.Q)(t)}):o.createElement($,null)),o.createElement(d.xA,{gridArea:"info"},o.createElement(u.A,{as:"h3",fontSizeExtraSmall:!0},n),o.createElement(H,null,"string"==typeof i&&i,"object"==typeof i&&o.createElement(P.A,{data:i}))),f?o.createElement(G,{link:r,title:a,transparentInverted:!s,primary:s}):o.createElement(m.A,{to:r,transparentInverted:!s,primary:s,gridArea:"button",target:c?"_blank":void 0},a))},q=(0,f.default)(d.xA).attrs(()=>({gridTemplateAreas:['"image info info"\n     "empty button button";\n    ','"image info button";\n    '],gridTemplateColumns:"auto 1fr auto",gridGap:26,backgroundColor:"lightGrey",px:32,py:26,borderRadius:"var(--Radius-Radius-3, 16px)"})).withConfig({displayName:"StyledContainer",componentId:"sc-1qggh43-0"})([""]),$=(0,f.default)(F()).withConfig({displayName:"StyledFile",componentId:"sc-1qggh43-1"})(["width:42px;margin-top:10px;"]),H=(0,f.default)(d.fz).attrs(()=>({color:"grey",fontSizeExtraSmall:!0,mt:6})).withConfig({displayName:"StyledText",componentId:"sc-1qggh43-2"})(["ul{li{margin-bottom:5px;}}"]),G=e=>{const{link:t,title:n,primary:i,transparentInverted:r}=e,{0:a,1:l}=(0,o.useState)(!1);return o.createElement(o.Fragment,null,o.createElement(m.A,{to:"#",onClick:e=>{e.preventDefault(),l(!0)},primary:i,transparentInverted:r,gridArea:"button"},n),a&&o.createElement(N.A,{filePath:t,handlePopupClose:()=>l(!1)}))},B=e=>{const{downloads:t}=e;return o.createElement(a.Ay,{id:"downloads"},o.createElement(c.A,{large:!0,py:[48,96]},o.createElement(d.xA,{gridAutoFlow:["row","row","column"],gridGap:[30,30,99],gridTemplateColumns:["auto","auto","auto 1fr"]},o.createElement(d.xA,{width:["auto",180],alignContent:"start"},o.createElement(u.A,{as:"h2",fontSizeSmall:!0},"Downloads")),o.createElement(d.xA,{gridGap:16},t.map(e=>{var t;return"downloadItem"===e.component&&e.file?o.createElement(D,{key:e._uid,image:e.icon,title:e.title,text:e.richDescription||e.description,link:e.file.filename,linkText:e.ctaButtonText||"Download",linkPrimary:e.primaryButton,gated:null===(t=e.gated)||void 0===t||t,isDownload:!0}):null})))))};var V=n(3602),W=n(77948);const U=e=>{const{items:t}=e;return t&&0!==t.length?o.createElement(a.Ay,{id:"size-guide"},o.createElement(d.xA,null,o.createElement(c.A,{large:!0,my:[48,96]},o.createElement(d.xA,null,o.createElement(u.A,{as:"h2",fontSizeSmall:!0},"Size Guide"),o.createElement(W.A,{items:t,scrollable:!0}))))):null};var Y=n(15819);const X=e=>{const{items:t}=e;if(!t||0===t.length)return null;const n=t.map(e=>({...e,text:e.content,secondText:e.secondContent}));
2return o.createElement(a.Ay,{id:"tech-specs"},o.createElement(c.A,{large:!0,py:[48,96]},o.createElement(Z,null,o.createElement(d.xA,{width:["auto",180],alignContent:"start"},o.createElement(u.A,{as:"h2",fontSizeSmall:!0},"Tech Specs")),o.createElement("div",null,o.createElement(Y.A,{items:n})))))},Z=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:["row","row","column"],gridGap:[30,30,99],gridTemplateColumns:["auto","auto","auto 1fr"]})).withConfig({displayName:"SectionGrid",componentId:"sc-7mfx8t-0"})([""]),Q=e=>{const{text:t}=e,{0:n,1:i}=(0,o.useState)(!1);if(!t)return null;const r=K(t);return r?o.createElement(a.Ay,{id:"description"},o.createElement(d.xA,null,o.createElement(c.A,{large:!0,mt:[48,96],mb:[48,96]},o.createElement(J,null,o.createElement(d.xA,{width:["auto",180],alignContent:"start"},o.createElement(u.A,{as:"h2",fontSizeSmall:!0},"Description")),o.createElement(d.fz,{fontSize:18,color:"grey"},n?o.createElement(P.A,{data:t}):o.createElement(o.Fragment,null,r,o.createElement(ee,{onClick:e=>{e.preventDefault(),i(!0)}},"Read more"))))))):null},K=e=>{var t,n;return"paragraph"===(null==e||null===(t=e.content)||void 0===t?void 0:t[0].type)&&"text"===(null===(n=e.content[0].content)||void 0===n?void 0:n[0].type)&&e.content[0].content[0].text},J=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:["row","row","column"],gridGap:[30,30,99],gridTemplateColumns:["auto","auto","auto 1fr"]})).withConfig({displayName:"SectionGrid",componentId:"sc-1hsis3w-0"})([""]),ee=(0,f.default)(m.A).attrs(()=>({to:"#",type:"button",primaryTransparent:!0})).withConfig({displayName:"StyledReadMoreButton",componentId:"sc-1hsis3w-1"})(["display:inline-grid;font-size:inherit;font-weight:inherit;height:auto;"]);var te=n(44250);const ne=e=>{const{title:t,highlights:n,features:i,compareLink:r}=e;return n||i?o.createElement(a.Ay,{id:"overview"},o.createElement(d.xA,{backgroundColor:"black",gridAutoFlow:"row"},o.createElement(c.A,{large:!0,py:[36,72]},o.createElement(u.A,{as:"h2",color:"white",pb:40,fontSizeMedium:!0},t),n&&o.createElement(oe,null,n.map(e=>o.createElement(ie,{key:e._uid},o.createElement(re,null,o.createElement(k.A,{fluid:(0,l.Q)(e.image)})),o.createElement(d.fz,{as:"p",fontWeight:700,fontSizeSmall:!0},e.title)))),i&&o.createElement(ae,null,i.map(e=>o.createElement(le,{key:e._uid},o.createElement(u.A,{as:"h2",color:"white",fontSizeSmall:!0},e.title),o.createElement(d.fz,{color:"silver",fontSize:16},o.createElement(P.A,{data:e.content})),e.linkText&&o.createElement(m.A,{to:(0,x.A)(e.link),borderColorPrimary:!0,alignSelf:"end"},e.linkText)))),r&&o.createElement(d.xA,{paddingTop:40,justifyContent:"center"},o.createElement(m.A,{to:(0,x.A)(r.link),inDarkBlock:!0},null==r?void 0:r.title))))):null},oe=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:"row",gridTemplateColumns:[void 0,"1fr 1fr"],gridGap:20,pb:[32,64]})).withConfig({displayName:"StyledHighlightsGrid",componentId:"sc-15jqx5h-0"})([""]),ie=(0,f.default)(d.xA).attrs(()=>({alignItems:"center",gridTemplateColumns:"auto 1fr",gridGap:20,color:"white",px:24,py:20,borderRadius:"var(--Radius-Radius-3, 16px)"})).withConfig({displayName:"StyledHighlight",componentId:"sc-15jqx5h-1"})(["background-color:rgb(from "," 255 255 255 / 5%);"],(0,te.rQ)("white")),re=f.default.div.withConfig({displayName:"StyledImageContainer",componentId:"sc-15jqx5h-2"})(["height:40px;width:40px;"]),ae=(0,f.default)(d.xA).attrs(()=>({gridTemplateColumns:[void 0,"repeat(2, 1fr)","repeat(3, 1fr)"],gridGap:20})).withConfig({displayName:"StyledFeaturesGrid",componentId:"sc-15jqx5h-3"})([""]),le=(0,f.default)(d.xA).attrs(()=>({gridTemplateRows:"auto 1fr auto",gridGap:24,p:24,borderRadius:"var(--Radius-Radius-3, 16px)"})).withConfig({displayName:"StyledFeature",componentId:"sc-15jqx5h-4"})(["background-color:rgb(from "," 255 255 255 / 5%);"],(0,te.rQ)("white"));var se=n(62837),ce=n.n(se),de=n(93873),ue=n.n(de),fe=n(98957),me=n.n(fe),ge=n(37545);const pe=e=>"object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e),he=e=>"string"==typeof e,ve=e=>e&&null!==e&&e instanceof Element&&"nodeType"in e,ye=function(e){var t=(new DOMParser).parseFromString(e,"text/html").body;if(t.childElementCount>1){for(var n=document.createElement("div");t.firstChild;)n.appendChild(t.firstChild);return n}let o=t.firstChild;return!o||o instanceof HTMLElement?o:((n=document.createElement("div")).appendChild(o),n)},be=function(e,t=void 0){return!e||e===document.body||t&&e===t?null:function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const t=e.scrollHeight>e.clientHeight,n=window.getComputedStyle(e).overflowY,o=-1!==n.indexOf("hidden"),i=-1!==n.indexOf("visible");return t&&!o&&!i}(e)?e:be(e.parentElement,t)},Ee=(e=!0,t="--f-scrollbar-compensate",n="--f-body-margin",o="hide-scrollbar")=>{const i=document,r=i.body,a=i.documentElement;if(e){if(r.classList.contains(o))return;let e=window.innerWidth-a.getBoundingClientRect().width;e<0&&(e=0),a.style.setProperty(t,`${e}px`);const i=parseFloat(window.getComputedStyle(r).marginRight);i&&r.style.setProperty(n,`${i}px`),r.classList.add(o)}else r.classList.remove(o),r.style.setProperty(n,""),i.documentElement.style.setProperty(t,"")},we=(e,...t)=>{const n=t.length;for(let o=0;o<n;o++){const n=t[o]||{};
2Object.entries(n).forEach(([t,n])=>{const o=Array.isArray(n)?[]:{};e[t]||Object.assign(e,{[t]:o}),pe(n)?Object.assign(e[t],we(e[t],n)):Array.isArray(n)?Object.assign(e,{[t]:[...n]}):Object.assign(e,{[t]:n})})}return e};function xe(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}const Ce=function(e=0,t=0,n=0){return Math.max(Math.min(t,n),e)},Se=function(e=0,t=0,n=0,o=0,i=0,r=!1){const a=(e-t)/(n-t)*(i-o)+o;return r?o<i?Ce(o,a,i):Ce(i,a,o):a},Ae=(e,t="")=>{e&&e.classList&&t.split(" ").forEach(t=>{t&&e.classList.add(t)})},ke=(e,t="")=>{e&&e.classList&&t.split(" ").forEach(t=>{t&&e.classList.remove(t)})},Te=(e,t="",n)=>{e&&e.classList&&t.split(" ").forEach(t=>{t&&e.classList.toggle(t,n||!1)})};function Me(e){return pe(e)||Array.isArray(e)}function Le(e,t){const n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(n=>{const o=e[n],i=t[n];return"function"==typeof o?`${o}`==`${i}`:Me(o)&&Me(i)?Le(o,i):o===i})}const Oe=function(e){for(const t of ze)t.getState()===_e.Running&&t.tick(je?e-je:0);je=e,Pe=window.requestAnimationFrame(Oe)};var _e,Ie,Re;!function(e){e[e.Initializing=0]="Initializing",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e[e.Completed=3]="Completed",e[e.Destroyed=4]="Destroyed"}(_e||(_e={})),function(e){e[e.Spring=0]="Spring",e[e.Ease=1]="Ease"}(Ie||(Ie={})),function(e){e[e.Loop=0]="Loop",e[e.Reverse=1]="Reverse"}(Re||(Re={}));const ze=new Set;let Pe=null,je=0;function Fe(){let e=_e.Initializing,t=Ie.Ease,n=0,o=0,i=Fe.Easings.Linear,r=500,a=0,l=0,s=0,c=0,d=1/0,u=.01,f=.01,m=!1,g={},p=null,h={},v={},y={},b=0,E=0,w=Re.Loop,x=Fe.Easings.Linear;const C=new Map;function S(e,...t){for(const n of C.get(e)||[])n(...t)}function A(e){return o=0,e?p=setTimeout(()=>{k()},e):k(),M}function k(){e=_e.Running,S("start",h,v)}function T(){if(e=_e.Completed,y={},S("end",h),e===_e.Completed)if(n<b){if(n++,w===Re.Reverse){const e=Object.assign({},g);g=Object.assign({},v),v=e}A(E)}else n=0;return M}const M={getState:function(){return e},easing:function(e){return i=e,t=Ie.Ease,y={},M},duration:function(e){return r=e,M},spring:function(e={}){t=Ie.Spring;const{velocity:n,mass:o,tension:i,friction:r,restDelta:g,restSpeed:p,maxSpeed:h,clamp:v}=Object.assign(Object.assign({},{velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0}),e);return a=n,l=o,s=i,c=r,f=g,u=p,d=h,m=v,y={},M},isRunning:function(){return e===_e.Running},isSpring:function(){return t===Ie.Spring},from:function(e){return h=Object.assign({},e),M},to:function(e){return v=e,M},repeat:function(e,t=0,n=Re.Loop,o){return b=e,E=t,w=n,x=o||i,M},on:function(e,t){var n,o;return n=e,o=t,C.set(n,[...C.get(n)||[],o]),M},off:function(e,t){var n,o;return n=e,o=t,C.has(n)&&C.set(n,C.get(n).filter(e=>e!==o)),M},start:function(t){return Le(h,v)||(e=_e.Initializing,g=Object.assign({},h),ze.add(this),Pe||(Pe=window.requestAnimationFrame(Oe)),A(t)),M},pause:function(){return p&&(clearTimeout(p),p=null),e===_e.Running&&(e=_e.Paused,S("pause",h)),M},end:T,tick:function(n){n>50&&(n=50),o+=n;let p=0,b=!1;if(e!==_e.Running)return M;if(t===Ie.Ease){p=Ce(0,o/r,1),b=1===p;const e=w===Re.Reverse?x:i;for(const t in h)h[t]=g[t]+(v[t]-g[t])*e(p)}if(t===Ie.Spring){const e=.001*n;let t=0;for(const n in h){const o=v[n];let i=h[n];if("number"!=typeof o||isNaN(o)||"number"!=typeof i||isNaN(i))continue;if(Math.abs(o-i)<=f){h[n]=o,y[n]=0;continue}y[n]||("object"==typeof a&&"number"==typeof a[n]?y[n]=a[n]:y[n]="number"==typeof a?a:0);let r=y[n];r=Ce(-1*Math.abs(d),r,Math.abs(d));const g=r*l*c;r+=((i>o?-1:1)*(Math.abs(o-i)*s)-g)/l*e,i+=r*e;const p=h[n]>o?i<o:i>o;let b=Math.abs(r)<u&&Math.abs(o-i)<=f;m&&p&&(b=!0),b?(i=o,r=0):t++,h[n]=i,y[n]=r}b=!t}const E=Object.assign({},v);return S("step",h,g,v,p),b&&e===_e.Running&&Le(v,E)&&(e=_e.Completed,T()),M},getStartValues:function(){return g},getCurrentValues:function(){return h},getCurrentVelocities:function(){return y},getEndValues:function(){return v},destroy:function(){e=_e.Destroyed,p&&(clearTimeout(p),p=null),g=h=v={},ze.delete(this)}};return M}function Ne(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function De(e,t){const n=[],o=Ne(e)?e[t]:e instanceof MouseEvent&&("changedTouches"===t||"mouseup"!==e.type)?[e]:[];for(const i of o)n.push({x:i.clientX,y:i.clientY,ts:Date.now()});return n}function qe(e){return De(e,"touches")}function $e(e){return De(e,"targetTouches")}function He(e){return De(e,"changedTouches")}function Ge(e){const t=e[0],n=e[1]||t;return{x:(t.x+n.x)/2,y:(t.y+n.y)/2,ts:n.ts}}function Be(e){const t=e[0],n=e[1]||e[0];return t&&n?-1*Math.sqrt((n.x-t.x)*(n.x-t.x)+(n.y-t.y)*(n.y-t.y)):0}Fe.destroy=()=>{for(const e of ze)e.destroy();Pe&&(cancelAnimationFrame(Pe),Pe=null)},Fe.Easings={Linear:function(e){return e},EaseIn:function(e){return 0===e?0:Math.pow(2,10*e-10)},EaseOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},EaseInOut:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}};const Ve=e=>{e.cancelable&&e.preventDefault()},We={passive:!1},Ue={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let Ye=!1,Xe=!0;const Ze=(e,t)=>{let n,o,i,r=Object.assign(Object.assign({},Ue),t),a=[],l=[],s=[],c=!1,d=!1,u=!1,f=!1,m=0,g=0,p=0,h=0,v=0,y=0,b=0,E=0,w=0,x=[],C=0,S=0;const A=new Map;function k(e){const t=Be(l),r=Be(s),u=t&&r?t/r:0,f=Math.abs(b)>Math.abs(E)?b:E,m={srcEvent:n,isPanRecognized:c,isSwipeRecognized:d,firstTouch:a,previousTouch:s,currentTouch:l,deltaX:p,deltaY:h,offsetX:v,offsetY:y,velocityX:b,velocityY:E,velocity:f,angle:w,axis:i,scale:u,center:o};for(const n of A.get(e)||[])n(m)}function T(e){const t=Date.now();if(x=x.filter(e=>!e.ts||e.ts>t-100),e&&x.push(e),b=0,E=0,x.length>3){const e=x[0],t=x[x.length-1];if(e&&t){const n=t.x-e.x,o=t.y-e.y,i=e.ts&&t.ts?t.ts-e.ts:0;i>0&&(b=Math.abs(n)>3?n/(i/30):0,E=Math.abs(o)>3?o/(i/30):0)}}}function M(e){if("undefined"!=typeof MouseEvent&&e instanceof MouseEvent){if(Ye)return}else Ye=!0;const t=e.composedPath()[0],i=r.ignore.join(",");if(t.matches(i)||t.closest(i))return;if("undefined"!=typeof MouseEvent&&e instanceof MouseEvent){if(!e.buttons||0!==e.button)return;Ve(e)}e instanceof MouseEvent&&(window.addEventListener("mousemove",L),window.addEventListener("mouseup",O)),window.addEventListener("blur",_),n=e,l=$e(e),a=[...l],s=[],g=l.length,o=Ge(l),1===g&&(c=!1,d=!1,u=!1),g&&T(Ge(l));const p=Date.now(),h=p-(m||p);f=h>0&&h<=250&&1===g,m=p,clearTimeout(C),k("start")}function L(e){var t;if(!a.length)return;if(e.defaultPrevented)return;n=e,s=[...l],l=qe(e);const d=Ge(s),f=Ge(qe(e));if(T(f),g=l.length,o=f,s.length===l.length?(p=f.x-d.x,h=f.y-d.y):(p=0,h=0),a.length){const e=Ge(a);v=f.x-e.x,y=f.y-e.y}if(l.length>1){const e=Be(l),t=Be(s);Math.abs(e-t)>=.1&&(u=!0,k("pinch"))}c||(c=Math.abs(v)>r.panThreshold||Math.abs(y)>
2r.panThreshold,c&&(Xe=!1,clearTimeout(S),S=0,w=Math.abs(180*Math.atan2(y,v)/Math.PI),i=w>45&&w<135?"y":"x",a=[...l],s=[...l],v=0,y=0,p=0,h=0,null===(t=window.getSelection())||void 0===t||t.removeAllRanges(),k("panstart"))),c&&(p||h)&&k("pan"),k("move")}function O(e){if(n=e,!a.length)return;const t=$e(e),i=He(e);if(g=t.length,o=Ge(i),i.length&&T(Ge(i)),s=[...l],l=[...t],a=[...t],g>0)k("end"),c=!1,d=!1,x=[];else{const e=r.swipeThreshold;(Math.abs(b)>e||Math.abs(E)>e)&&(d=!0),c&&k("panend"),d&&k("swipe"),c||d||u||(k("tap"),f?k("doubleTap"):C=setTimeout(function(){k("singleTap")},250)),k("end"),I()}}function _(){clearTimeout(C),I(),c&&k("panend"),k("end")}function I(){Ye=!1,c=!1,d=!1,f=!1,g=0,x=[],l=[],s=[],a=[],p=0,h=0,v=0,y=0,b=0,E=0,w=0,i=void 0,window.removeEventListener("mousemove",L),window.removeEventListener("mouseup",O),window.removeEventListener("blur",_),Xe||S||(S=setTimeout(()=>{Xe=!0,S=0},100))}function R(e){const t=e.target;Ye=!1,t&&!e.defaultPrevented&&(Xe||(Ve(e),e.stopPropagation()))}const z={init:function(){return e&&(e.addEventListener("click",R,We),e.addEventListener("mousedown",M,We),e.addEventListener("touchstart",M,We),e.addEventListener("touchmove",L,We),e.addEventListener("touchend",O),e.addEventListener("touchcancel",O)),z},on:function(e,t){return function(e,t){A.set(e,[...A.get(e)||[],t])}(e,t),z},off:function(e,t){return A.has(e)&&A.set(e,A.get(e).filter(e=>e!==t)),z},isPointerDown:()=>g>0,destroy:function(){clearTimeout(C),clearTimeout(S),S=0,e&&(e.removeEventListener("click",R,We),e.removeEventListener("mousedown",M,We),e.removeEventListener("touchstart",M,We),e.removeEventListener("touchmove",L,We),e.removeEventListener("touchend",O),e.removeEventListener("touchcancel",O)),e=null,I()}};return z};Ze.isClickAllowed=()=>Xe;const Qe={IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset",TOGGLE_FS:"Toggle fullscreen"},Ke=e=>{e.cancelable&&e.preventDefault()},Je=(e,t=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*t)/t),et=e=>e instanceof HTMLImageElement;var tt,nt;!function(e){e.Reset="reset",e.Zoom="zoom",e.ZoomIn="zoomIn",e.ZoomOut="zoomOut",e.ZoomTo="zoomTo",e.ToggleCover="toggleCover",e.ToggleFull="toggleFull",e.ToggleMax="toggleMax",e.IterateZoom="iterateZoom",e.Pan="pan",e.Swipe="swipe",e.Move="move",e.MoveLeft="moveLeft",e.MoveRight="moveRight",e.MoveUp="moveUp",e.MoveDown="moveDown",e.RotateCCW="rotateCCW",e.RotateCW="rotateCW",e.FlipX="flipX",e.FlipY="flipY",e.ToggleFS="toggleFS"}(tt||(tt={})),function(e){e.Cover="cover",e.Full="full",e.Max="max"}(nt||(nt={}));const ot={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},it={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:tt.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:Qe,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:tt.Zoom,width:"auto"};let rt,at=0,lt=0,st=0;const ct=(e,t={},n={})=>{let o,i,r,a,l,s,c,d,u=0,f=Object.assign(Object.assign({},it),t),m={},g=Object.assign({},ot),p=Object.assign({},ot);const h=[];function v(e){let t=f[e];return t&&"function"==typeof t?t(te):t}function y(){return e&&e.parentElement&&o&&3===u}const b=new Map;function E(e,...t){const n=[...b.get(e)||[]];f.on&&n.push(f.on[e]);for(const o of n)o&&o instanceof Function&&o(te,...t);"*"!==e&&E("*",e,...t)}function w(e){if(!y())return;const t=e.target;if(be(t))return;const n=Date.now(),o=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e}),i=Ce(-1,o,1);E("wheel",e,i);const r=v("wheelAction");if(!r)return;if(e.defaultPrevented)return;const a=p.scale;let l=a*(i>0?1.5:.5);if(r===tt.Zoom){const t=Math.abs(e.deltaY)<100&&Math.abs(e.deltaX)<100;if(n-lt<(t?200:45))return void Ke(e);lt=n;const o=R(),r=F();if(Je(l)<Je(o)&&Je(a)<=Je(o)?(st+=Math.abs(i),l=o):Je(l)>Je(r)&&Je(a)>=Je(r)?(st+=Math.abs(i),l=r):(st=0,l=Ce(o,l,r)),st>7)return}switch(Ke(e),r){case tt.Pan:$(r,{srcEvent:e,deltaX:2*-e.deltaX,deltaY:2*-e.deltaY});break;case tt.Zoom:$(tt.ZoomTo,{srcEvent:e,scale:l,center:{x:e.clientX,y:e.clientY}});break;default:$(r,{srcEvent:e})}}function x(t){var n,i;const r=t.composedPath()[0];if(!Ze.isClickAllowed())return;if(!ve(r)||t.defaultPrevented)return;if(!(null==e?void 0:e.contains(r)))return;if(r.hasAttribute("disabled")||r.hasAttribute("aria-disabled"))return;const a=r.closest("[data-panzoom-action]"),l=null===(n=null==a?void 0:a.dataset)||void 0===n?void 0:n.panzoomAction,s=(null===(i=null==a?void 0:a.dataset)||void 0===i?void 0:i.panzoomValue)||"";if(l){switch(Ke(t),l){case tt.ZoomTo:case tt.ZoomIn:case tt.ZoomOut:$(l,{scale:parseFloat(s||"")||void 0});break;case tt.MoveLeft:case tt.MoveRight:$(l,{deltaX:parseFloat(s||"")||void 0});break;case tt.MoveUp:case tt.MoveDown:$(l,{deltaY:parseFloat(s||"")||void 0});break;case tt.ToggleFS:J();break;default:$(l)}return}if(!(null==o?void 0:o.contains(r)))return;const c={srcEvent:t};if($(v("clickAction"),c),v("dblClickAction")){const e=Date.now(),t=e-(at||e);at=e,t>0&&t<=250?(rt&&(clearTimeout(rt),rt=void 0),$(v("dblClickAction"),c)):rt=setTimeout(()=>{$(v("singleClickAction"),c)},250)}}function C(e){if(d=e,!y()||!O())return;if(g.scale<=1||p.scale<=1)return;if(((null==o?void 0:o.dataset.animationName)||"").indexOf("zoom")>-1)return;const t=_(p.scale);if(!t)return;const{x:n,y:i}=t;$(tt.Pan,{deltaX:n-p.x,deltaY:i-p.y})}function S(){var t;e&&(ke(e,"is-loading"),null===(t=e.querySelector(".f-spinner"))||void 0===t||t.remove())}function A(){if(!e||!i)return;
2if(S(),et(i)&&(!i.complete||!i.naturalWidth))return u=2,null==o||o.classList.add("has-error"),void E("error");E("loaded");const{width:t,height:n}=M();et(i)&&(i.setAttribute("width",t+""),i.setAttribute("height",n+"")),o&&(ke(o,"has-error"),et(i)&&(o.setAttribute("width",t+""),o.setAttribute("height",n+""),o.style.aspectRatio=`${t/n||""}`)),s=Fe().on("start",(e,t)=>{void 0!==t.angle&&(t.angle=90*Math.round(t.angle/90)),void 0!==t.flipX&&(t.flipX=t.flipX>0?1:-1),void 0!==t.flipY&&(t.flipY=t.flipY>0?1:-1),p=Object.assign(Object.assign({},ot),t),q(),E("animationStart")}).on("pause",e=>{p=Object.assign(Object.assign({},ot),e)}).on("step",e=>{if(!y())return void(null==s||s.end());if(g=Object.assign(Object.assign({},ot),e),O()||!v("bounds")||Z()||p.scale>g.scale||p.scale<z())return void H();const t=N(p.scale);let n=!1,o=!1,i=!1,r=!1;g.x<t.x[0]&&(n=!0),g.x>t.x[1]&&(o=!0),g.y<t.y[0]&&(r=!0),g.y>t.y[1]&&(i=!0);let a=!1,l=!1,c=!1,d=!1;p.x<t.x[0]&&(a=!0),p.x>t.x[1]&&(l=!0),p.y<t.y[0]&&(d=!0),p.y>t.y[1]&&(c=!0);let u=!1;(o&&l||n&&a)&&(p.x=Ce(t.x[0],p.x,t.x[1]),u=!0),(i&&c||r&&d)&&(p.y=Ce(t.y[0],p.y,t.y[1]),u=!0),u&&s&&s.spring({tension:94,friction:17,maxSpeed:555*p.scale,restDelta:.1,restSpeed:.1,velocity:s.getCurrentVelocities()}).from(g).to(p).start(),H()}).on("end",()=>{(null==l?void 0:l.isPointerDown())||D(),(null==s?void 0:s.isRunning())||(q(),E("animationEnd"))}),function(){const e=v("gestures");if(!e)return;if(!a||!i)return;let t=!1;l=Ze(a,e).on("start",e=>{if(!v("gestures"))return;if(!s)return;if(!y()||O())return;const n=e.srcEvent;(g.scale>1||e.currentTouch.length>1)&&(null==n||n.stopPropagation(),s.pause(),t=!0),1===e.currentTouch.length&&E("touchStart")}).on("move",e=>{var n;t&&(1!==p.scale||e.currentTouch.length>1)&&(Ke(e.srcEvent),null===(n=e.srcEvent)||void 0===n||n.stopPropagation())}).on("pan",e=>{if(!t)return;const n=e.srcEvent;(1!==p.scale||e.currentTouch.length>1)&&(Ke(n),$(tt.Pan,e))}).on("swipe",e=>{t&&p.scale>1&&$(tt.Swipe,e)}).on("tap",e=>{E("click",e)}).on("singleTap",e=>{E("singleClick",e)}).on("doubleTap",e=>{E("dblClick",e)}).on("pinch",e=>{t&&(e.scale>z()?$(tt.ZoomIn,e):e.scale<z()?$(tt.ZoomOut,e):$(tt.Pan,e))}).on("end",e=>{t&&(e.currentTouch.length?(e.srcEvent.stopPropagation(),Ke(e.srcEvent),null==s||s.end()):(t=!1,q(),D(),E("touchEnd")))}).init()}(),a&&(a.addEventListener("wheel",w,{passive:!1}),h.push(()=>{null==a||a.removeEventListener("wheel",w,{passive:!1})})),null==e||e.addEventListener("click",x),null===document||void 0===document||document.addEventListener("mousemove",C),h.push(()=>{null==e||e.removeEventListener("click",x),null===document||void 0===document||document.removeEventListener("mousemove",C)});const r=k();g=Object.assign({},r),p=Object.assign({},r),u=3,H(),q(),E("ready"),requestAnimationFrame(()=>{S(),a&&(a.style.visibility="")})}function k(){const e=Object.assign({},v("startPos")||{});let t=e.scale,n=1;n="string"==typeof t?I(t):"number"==typeof t?t:z();const o=Object.assign(Object.assign(Object.assign({},ot),e),{scale:n}),i=O()?_(n):void 0;if(i){const{x:e,y:t}=i;o.x=e,o.y=t}return o}function T(){const e={top:0,left:0,width:0,height:0};if(o){const t=o.getBoundingClientRect();p.angle%180==90?(e.top=t.top+.5*t.height-.5*t.width,e.left=t.left+.5*t.width-.5*t.height,e.width=t.height,e.height=t.width):(e.top=t.top,e.left=t.left,e.width=t.width,e.height=t.height)}return e}function M(){let e=v("width"),t=v("height");if(i&&"auto"===e){const t=i.getAttribute("width");e=t?parseFloat(t+""):void 0!==i.dataset.width?parseFloat(i.dataset.width+""):et(a)?a.naturalWidth:et(i)?i.naturalWidth:(null==o?void 0:o.getBoundingClientRect().width)||0}else e=he(e)?parseFloat(e):e;if(i&&"auto"===t){const e=i.getAttribute("height");t=e?parseFloat(e+""):void 0!==i.dataset.height?parseFloat(i.dataset.height+""):et(a)?a.naturalHeight:et(i)?i.naturalHeight:(null==o?void 0:o.getBoundingClientRect().height)||0}else t=he(t)?parseFloat(t):t;return{width:e,height:t}}function L(){const e=T();return{width:e.width,height:e.height}}function O(){return"mousemove"===v("panMode")&&matchMedia("(hover: hover)").matches}function _(e){const t=d||v("event"),n=null==o?void 0:o.getBoundingClientRect();if(!t||!n||e<=1)return{x:0,y:0};const i=(t.clientX||0)-n.left,r=(t.clientY||0)-n.top,{width:a,height:l}=L(),s=N(e);if(e>
21){const t=v("mouseMoveFactor");t>1&&(e*=t)}let c=a*e,u=l*e,f=.5*(c-a)-i/a*100/100*(c-a),m=.5*(u-l)-r/l*100/100*(u-l);return f=Ce(s.x[0],f,s.x[1]),m=Ce(s.y[0],m,s.y[1]),{x:f,y:m}}function I(t="base"){if(!e)return 1;const n=e.getBoundingClientRect(),o=T(),{width:i,height:r}=M(),a=e=>{if("number"==typeof e)return e;switch(e){case"min":case"base":return 1;case"cover":return Math.max(n.height/o.height,n.width/o.width)||1;case"full":case"max":{const e=p.angle%180==90?r:i;return e&&o.width?e/o.width:1}}},l=v("minScale"),s=v("maxScale"),c=Math.min(a("full"),a(l)),d="number"==typeof s?a("full")*s:Math.min(a("full"),a(s));switch(t){case"min":return c;case"base":return Ce(c,1,d);case"cover":return a("cover");case"full":return Math.min(d,a("full"));case"max":return d}}function R(){return I("min")}function z(){return I("base")}function P(){return I("cover")}function j(){return I("full")}function F(){return I("max")}function N(t){const n={x:[0,0],y:[0,0]},o=null==e?void 0:e.getBoundingClientRect();if(!o)return n;const i=T(),r=o.width,a=o.height;let l=i.width,s=i.height,c=t=void 0===t?p.scale:t,d=t;if(O()&&t>1){const e=v("mouseMoveFactor");e>1&&(l*t>r+.01&&(c*=e),s*t>a+.01&&(d*=e))}return l*=c,s*=d,t>1&&(l>r&&(n.x[0]=.5*(r-l),n.x[1]=.5*(l-r)),n.x[0]-=.5*(i.left-o.left),n.x[1]-=.5*(i.left-o.left),n.x[0]-=.5*(i.left+i.width-o.right),n.x[1]-=.5*(i.left+i.width-o.right),s>a&&(n.y[0]=.5*(a-s),n.y[1]=.5*(s-a)),n.y[0]-=.5*(i.top-o.top),n.y[1]-=.5*(i.top-o.top),n.y[0]-=.5*(i.top+i.height-o.bottom),n.y[1]-=.5*(i.top+i.height-o.bottom)),n}function D(){if(!y())return;if(!v("bounds"))return;if(!s)return;const e=R(),t=F(),n=Ce(e,p.scale,t);if(p.scale<e-.01||p.scale>t+.01)return void $(tt.ZoomTo,{scale:n});if(s.isRunning())return;if(Z())return;const o=N(n);p.x<o.x[0]||p.x>o.x[1]||p.y<o.y[0]||p.y>o.y[1]?(p.x=Ce(o.x[0],p.x,o.x[1]),p.y=Ce(o.y[0],p.y,o.y[1]),s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:s.getCurrentVelocities()}),s.from(g).to(p).start()):H()}function q(t){var n;if(!y())return;const i=X(),r=Z(),a=Q(),l=K(),s=B(),c=V();Te(o,"is-fullsize",l),Te(o,"is-expanded",a),Te(o,"is-dragging",r),Te(o,"can-drag",i),Te(o,"will-zoom-in",s),Te(o,"will-zoom-out",c);const d=U(),u=Y(),f=W(),m=!y();for(const o of(null===(n=t||e)||void 0===n?void 0:n.querySelectorAll("[data-panzoom-action]"))||[]){const e=o.dataset.panzoomAction;let t=!1;if(m)t=!0;else switch(e){case tt.ZoomIn:d||(t=!0);break;case tt.ZoomOut:f||(t=!0);break;case tt.ToggleFull:{u||f||(t=!0);const e=o.querySelector("g");e&&(e.style.display=l&&!t?"none":"");break}case tt.IterateZoom:{d||f||(t=!0);const e=o.querySelector("g");e&&(e.style.display=d||t?"":"none");break}case tt.ToggleCover:case tt.ToggleMax:d||f||(t=!0)}t?(o.setAttribute("aria-disabled",""),o.setAttribute("tabindex","-1")):(o.removeAttribute("aria-disabled"),o.removeAttribute("tabindex"))}}function $(t,n){var o;if(!(t&&e&&i&&s&&y()))return;if(t===tt.Swipe&&Math.abs(s.getCurrentVelocities().scale)>.01)return;const r=Object.assign({},p);let a=Object.assign({},p),l=N(O()?r.scale:g.scale);const c=s.getCurrentVelocities(),d=T(),u=((null===(o=(n=n||{}).currentTouch)||void 0===o?void 0:o.length)||0)>1,f=n.velocityX||0,m=n.velocityY||0;let h=n.center;n.srcEvent&&(h=Ge(He(n.srcEvent)));let b=n.deltaX||0,w=n.deltaY||0;switch(t){case tt.MoveRight:b=n.deltaX||100;break;case tt.MoveLeft:b=n.deltaX||-100;break;case tt.MoveUp:w=n.deltaY||-100;break;case tt.MoveDown:w=n.deltaY||100}let x=[];switch(t){case tt.Reset:a=Object.assign({},ot),a.scale=z();break;case tt.Pan:case tt.Move:case tt.MoveLeft:case tt.MoveRight:case tt.MoveUp:case tt.MoveDown:if(Z()){let e=1,t=1;a.x<=l.x[0]&&f<=0&&(e=Math.max(.01,1-Math.abs(1/d.width*Math.abs(a.x-l.x[0]))),e*=.2),a.x>=l.x[1]&&f>=0&&(e=Math.max(.01,1-Math.abs(1/d.width*Math.abs(a.x-l.x[1]))),e*=.2),a.y<=l.y[0]&&m<=0&&(t=Math.max(.01,1-Math.abs(1/d.height*Math.abs(a.y-l.y[0]))),t*=.2),a.y>=l.y[1]&&m>=0&&(t=Math.max(.01,1-Math.abs(1/d.height*Math.abs(a.y-l.y[1]))),t*=.2),a.x+=b*e,a.y+=w*t}else a.x=Ce(l.x[0],a.x+b,l.x[1]),a.y=Ce(l.y[0],a.y+w,l.y[1]);break;case tt.Swipe:const e=(e=0)=>Math.sign(e)*Math.pow(Math.abs(e),1.5);a.x+=Ce(-1e3,e(f),1e3),a.y+=Ce(-1e3,e(m),1e3),m&&!f&&(a.x=Ce(l.x[0],a.x,l.x[1])),!m&&f&&(a.y=Ce(l.y[0],a.y,l.y[1])),c.x=f,c.y=m;break;case tt.ZoomTo:a.scale=n.scale||1;break;case tt.ZoomIn:a.scale=a.scale*(n.scale||2),u||(a.scale=Math.min(a.scale,F()));break;case tt.ZoomOut:a.scale=a.scale*(n.scale||.5),u||(a.scale=Math.max(a.scale,R()));break;case tt.ToggleCover:x=[z(),P()];break;case tt.ToggleFull:x=[z(),j()];break;case tt.ToggleMax:x=[z(),F()];break;case tt.IterateZoom:x=[z(),j(),F()];break;case tt.Zoom:const t=j();a.scale>=t-.05?a.scale=z():a.scale=Math.min(t,a.scale*(n.scale||2));break;case tt.RotateCW:a.angle+=90;break;case tt.RotateCCW:a.angle-=90;break;case tt.FlipX:a.flipX*=-1;break;
2case tt.FlipY:a.flipY*=-1}if(void 0!==g.angle&&Math.abs(g.angle)>=360&&(a.angle-=360*Math.floor(g.angle/360),g.angle-=360*Math.floor(g.angle/360)),x.length){const e=x.findIndex(e=>e>a.scale+1e-4);a.scale=x[e]||x[0]}if(u&&(a.scale=Ce(R()*(u?.8:1),a.scale,F()*(u?1.6:1))),O()){const e=_(a.scale);if(e){const{x:t,y:n}=e;a.x=t,a.y=n}}else if(Math.abs(a.scale-r.scale)>1e-4){let t=0,n=0;if(h)t=h.x,n=h.y;else{const o=e.getBoundingClientRect();t=o.x+.5*o.width,n=o.y+.5*o.height}let o=t-d.left,i=n-d.top;o-=.5*d.width,i-=.5*d.height;const s=(o-r.x)/r.scale,c=(i-r.y)/r.scale;a.x=o-s*a.scale,a.y=i-c*a.scale,!u&&v("bounds")&&(l=N(a.scale),a.x=Ce(l.x[0],a.x,l.x[1]),a.y=Ce(l.y[0],a.y,l.y[1]))}if(t===tt.Swipe){let e=94,t=17,n=500*a.scale,o=c;s.spring({tension:e,friction:t,maxSpeed:n,restDelta:.1,restSpeed:.1,velocity:o})}else t===tt.Pan||u?s.spring({tension:900,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:c});if(0===n.velocity||Le(g,a))g=Object.assign({},a),p=Object.assign({},a),s.end(),H(),q();else{if(Le(p,a))return;s.from(g).to(a).start()}E("action",t)}function H(){if(!i||!o||!a)return;const{width:t,height:n}=M();Object.assign(o.style,{maxWidth:`min(${t}px, 100%)`,maxHeight:`min(${n}px, 100%)`});const r=function(){const{width:t,height:n}=M(),{width:o,height:i}=L();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:o,fitHeight:i,fullWidth:t,fullHeight:n};let{x:r,y:a,scale:l,angle:s,flipX:c,flipY:d}=g,u=1/j(),f=t,m=n,h=g.scale*u,v=p.scale*u;const y=Math.max(o,i),b=Math.min(o,i);t>n?(f=y,m=b):(f=b,m=y),h=t>n?y*l/t||1:y*l/n||1;let E=f?t*v:0,w=m?n*v:0;return r=r+.5*f-.5*E,a=a+.5*m-.5*w,{x:r,y:a,width:E,height:w,scale:f&&m?t*h/E:0,flipX:c,flipY:d,angle:s,fitWidth:o,fitHeight:i,fullWidth:t,fullHeight:n}}(),{x:l,y:s,width:c,height:d,scale:u,angle:f,flipX:m,flipY:h}=r;let v=`translate(${Je(l)}px, ${Je(s)}px)`;v+=1!==m||1!==h?` scaleX(${Je(u*m)}) scaleY(${Je(u*h)})`:` scale(${Je(u)})`,0!==f&&(v+=` rotate(${f}deg)`),a.style.width=`${Je(c)}px`,a.style.height=`${Je(d)}px`,a.style.transform=`${v}`,E("render")}function G(){let e=p.scale;const t=v("clickAction");let n=z();if(t){let o=[];switch(t){case tt.ZoomIn:n=2*e;break;case tt.ZoomOut:n=.5*e;break;case tt.ToggleCover:o=[z(),P()];break;case tt.ToggleFull:o=[z(),j()];break;case tt.ToggleMax:o=[z(),F()];break;case tt.IterateZoom:o=[z(),j(),F()];break;case tt.Zoom:const t=j();n=e>=t-.05?z():Math.min(t,2*e)}if(o.length){const t=o.findIndex(t=>t>e+1e-4);n=o[t]||z()}}return n=Ce(R(),n,F()),n}function B(){return!!(y()&&G()>p.scale)}
2function V(){return!!(y()&&G()<p.scale)}function W(){return!!(y()&&p.scale>R())}function U(){return!!(y()&&p.scale<F())}function Y(){return!!(y()&&p.scale<j())}function X(){return!(!(y()&&Q()&&l)||O())}function Z(){return!(!y()||!(null==l?void 0:l.isPointerDown())||O())}function Q(){return!!(y()&&p.scale>z())}function K(){return!!(y()&&p.scale>=j())}function J(){const t="in-fullscreen",n="with-panzoom-in-fullscreen";null==e||e.classList.toggle(t);const o=null==e?void 0:e.classList.contains(t);o?(document.documentElement.classList.add(n),document.addEventListener("keydown",ee,!0)):(document.documentElement.classList.remove(n),document.removeEventListener("keydown",ee,!0)),H(),E(o?"enterFS":"exitFS")}function ee(e){"Escape"!==e.key||e.defaultPrevented||J()}const te={canDrag:X,canZoomIn:U,canZoomOut:W,canZoomToFull:Y,destroy:function(){E("destroy");for(const e of Object.values(m))null==e||e.destroy(te);for(const e of h)e();return o&&(o.style.aspectRatio="",o.style.maxWidth="",o.style.maxHeight=""),a&&(a.style.width="",a.style.height="",a.style.transform=""),o=void 0,i=void 0,a=void 0,g=Object.assign({},ot),p=Object.assign({},ot),null==s||s.destroy(),s=void 0,null==l||l.destroy(),l=void 0,u=4,te},emit:E,execute:$,getBoundaries:N,getContainer:function(){return e},getContent:function(){return i},getFullDim:M,getGestures:function(){return l},getMousemovePos:_,getOptions:function(){return f},getPlugins:function(){return m},getScale:I,getStartPosition:k,getState:function(){return u},getTransform:function(e){return!0===e?p:g},getTween:function(){return s},getViewport:function(){return a},getWrapper:function(){return o},init:function(){return u=0,E("init"),function(){for(const[e,t]of Object.entries(Object.assign(Object.assign({},n),f.plugins||{})))if(e&&!m[e]&&t instanceof Function){const n=t();n.init(te),m[e]=n}E("initPlugins")}(),function(){const t=Object.assign(Object.assign({},it.classes),v("classes"));if(e&&(Ae(e,t.container),i=e.querySelector("."+t.content),i)){if(i.setAttribute("draggable","false"),o=e.querySelector("."+t.wrapper),o||(o=document.createElement("div"),Ae(o,t.wrapper),i.insertAdjacentElement("beforebegin",o),o.insertAdjacentElement("afterbegin",i)),a=e.querySelector("."+t.viewport),a||(a=document.createElement("div"),Ae(a,t.viewport),a.insertAdjacentElement("afterbegin",i),o.insertAdjacentElement("beforeend",a)),r=i.cloneNode(!0),r.removeAttribute("id"),o.insertAdjacentElement("afterbegin",r),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),r instanceof HTMLPictureElement&&(r=r.querySelector("img")),a instanceof HTMLPictureElement&&(a=a.querySelector("img")),a&&(a.style.visibility="hidden",v("protected"))){a.addEventListener("contextmenu",e=>{Ke(e)});const e=document.createElement("div");Ae(e,"f-panzoom__protected"),a.appendChild(e)}E("initLayout")}}(),function(){if(e&&o&&!c){let e=null;c=new ResizeObserver(()=>{y()&&(e=e||requestAnimationFrame(()=>{y()&&(q(),D(),E("refresh")),e=null}))}),c.observe(o),h.push(()=>{null==c||c.disconnect(),c=void 0,e&&(cancelAnimationFrame(e),e=null)})}}(),function(){if(!e||!i)return;if(!et(i)||!et(r))return void A();const t=()=>{i&&et(i)&&i.decode().then(()=>{A()}).catch(()=>{A()})};u=1,e.classList.add("is-loading"),E("loading"),r.src&&r.complete?t():(function(){if(!e)return;if(null==e?void 0:e.querySelector(".f-spinner"))return;const t=v("spinnerTpl"),n=ye(t);n&&(n.classList.add("f-spinner"),e.classList.add("is-loading"),null==o||o.insertAdjacentElement("afterbegin",n))}(),r.addEventListener("load",t,!1),r.addEventListener("error",t,!1),h.push(()=>{null==r||r.removeEventListener("load",t,!1),null==r||r.removeEventListener("error",t,!1)}))}(),te},isDragging:Z,isExpanded:Q,isFullsize:K,isMousemoveMode:O,localize:function(e,t=[]){const n=v("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let o=0;o<t.length;o++)e=e.split(t[o][0]).join(t[o][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)},off:function(e,t){for(const n of e instanceof Array?e:[e])b.has(n)&&b.set(n,b.get(n).filter(e=>e!==t));return te},on:function(e,t){for(const n of e instanceof Array?e:[e])b.set(n,[...b.get(n)||[],t]);return te}
2,toggleFS:J,updateControls:q,version:"6.1.0",willZoomIn:B,willZoomOut:V};return te};ct.l10n={en_EN:Qe},ct.getDefaults=()=>it;const dt=(e,t)=>{let n=[];return e.childNodes.forEach(e=>{e.nodeType!==Node.ELEMENT_NODE||t&&!e.matches(t)||n.push(e)}),n},ut=Object.assign(Object.assign({},Qe),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"}),ft=e=>{e.cancelable&&e.preventDefault()},mt={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!1,infinite:!0,initialPage:0,l10n:ut,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:160,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1};let gt,pt=0;const ht=(e,t={},n={})=>{pt++;let o,i,r,a,l,s=0,c=Object.assign({},mt),d=Object.assign({},mt),u={},f=null,m=null,g=!1,p=!1,h=!1,v=!1,y="height",b=0,E=!0,w=0,x=0,C=0,S=0,A="*",k=[],T=[];const M=new Set;let L=[],O=[],_=0,I=0,R=0;function z(e,...t){let n=d[e];return n&&n instanceof Function?n(xe,...t):n}function P(e,t=[]){const n=z("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let o=0;o<t.length;o++)e=e.split(t[o][0]).join(t[o][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)}const j=new Map;function F(e,...t){const n=[...j.get(e)||[]];d.on&&n.push(d.on[e]);for(const o of n)o&&o instanceof Function&&o(xe,...t);"*"!==e&&F("*",e,...t)}function N(){var e,t;const a=we({},mt,c);we(a,mt,c);let g="";const h=c.breakpoints||{};if(h)for(const[n,o]of Object.entries(h))window.matchMedia(n).matches&&(g+=n,we(a,o));if(void 0===l||g!==l){if(l=g,0!==s){let n=null===(t=null===(e=O[w])||void 0===e?void 0:e.slides[0])||void 0===t?void 0:t.index;void 0===n&&(n=d.initialSlide),a.initialSlide=n,a.slides=[];for(const e of k)e.isVirtual&&a.slides.push(e)}me(),d=a,!1!==d.enabled&&(s=0,F("init"),function(){for(const[e,t]of Object.entries(Object.assign(Object.assign({},n),d.plugins||{})))if(e&&!u[e]&&t instanceof Function){const n=t();n.init(xe,ht),u[e]=n}F("initPlugins")}(),function(){if(!f)return;const e=z("classes")||{};Ae(f,e.container);const t=z("style");if(t&&pe(t))for(const[n,o]of Object.entries(t))f.style.setProperty(n,o);m=f.querySelector(`.${e.viewport}`),m||(m=document.createElement("div"),Ae(m,e.viewport),m.append(...dt(f,`.${e.slide}`)),f.insertAdjacentElement("afterbegin",m)),f.carousel=xe,F("initLayout")}(),function(){if(!m)return;const e=z("classes")||{};k=[],[...dt(m,`.${e.slide}`)].forEach(e=>{if(e.parentElement){const t=Q(Object.assign({el:e,isVirtual:!1},e.dataset||{}));F("createSlide",t),k.push(t)}}),te();for(const t of k)F("addSlide",t);Z(z("slides"));for(const t of k){const e=t.el;(null==e?void 0:e.parentElement)===m&&(Ae(e,d.classes.slide),Ae(e,t.class),ce(t),F("attachSlideEl",t))}F("initSlides")}(),ne(),s=1,Ae(f,(z("classes")||{}).isEnabled||""),fe(),G(),i=Fe().on("start",()=>{o&&o.isPointerDown()||(H(),fe())}).on("step",e=>{const t=b;b=e.pos,b!==t&&(E=!1,fe())}).on("end",e=>{(null==o?void 0:o.isPointerDown())||(b=e.pos,i&&!p&&(b<C||b>S)?i.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:Ce(C,b,S)}).start():E||(E=!0,F("settle")))}),q(),function(){if(f&&m&&(f.addEventListener("click",ae,{passive:!1}),document.addEventListener("mousemove",D),!r)){let e=!0,t=null;r=new ResizeObserver(()=>{e?e=!1:t||(t=requestAnimationFrame(()=>{!function(){if(1!==s||!m)return;const e=O.length;ne(),q();const t=m.getBoundingClientRect(),n=t.height,i=t.width;e>1&&(v&&Math.abs(n-_)<.5||!v&&Math.abs(i-I)<.5)||(_=n,I=i,v&&!n||!v&&!i||f&&m&&(e===O.length&&(null==o?void 0:o.isPointerDown())||(z("dragFree")&&(p||b>C&&b<S)?(H(),fe()):de(w,{transition:!1}))))}(),t=null}))}),r.observe(m)}}(),F("ready"))}}function D(e){gt=e}function q(){if(!m)return;const e=z("gestures");!1!==e?o||(o=Ze(m,e).on("start",e=>{var t,n;if(!i)return;const{srcEvent:o}=e;v&&Ne(o)&&!be(o.target)&&ft(o),i.pause(),i.getCurrentVelocities().pos=0;const r=null===(t=O[w])||void 0===t?void 0:t.slides[0];r&&M.has(r.index)&&r.el&&(b=r.offset||0,b+=(function(e){const t=window.getComputedStyle(e),n=new DOMMatrixReadOnly(t.transform);return{width:n.m41||0,height:n.m42||0}}(r.el)[y]||0)*(h&&!v?1:-1)),ie(),p||(b<C||b>S)&&i.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:(null===(n=i.getCurrentVelocities())||void 0===n?void 0:n.pos)||0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:Ce(C,b,S)}).start()}).on("move",e=>{var t,n;const{srcEvent:o,axis:r}=e,a=o.target;if(r||(ft(o),o.stopPropagation(),o.stopImmediatePropagation()),("y"===r&&v||"x"===r&&!v)&&(ft(o),o.stopPropagation()),!r)return;const{deltaX:l,deltaY:s}=e;if(!i)return;if(Ne(o)&&(null===(t=o.touches)||void 0===t?void 0:t.length)>1)return;if("y"===r&&!v||"x"===r&&v)return;if(a&&be(a)&&("x"!==r||v))return;const c=h&&!v?1:-1;let d=v?s:l,u=(null==i?void 0:i.isRunning())?i.getEndValues().pos:b,f
2=1;p||(u<=C&&d*c<0?(f=Math.max(.01,1-(Math.abs(1/U()*Math.abs(u-C))||0)),f*=.2):u>=S&&d*c>0&&(f=Math.max(.01,1-(Math.abs(1/U()*Math.abs(u-S))||0)),f*=.2)),u+=d*f*c,i.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:(null===(n=i.getCurrentVelocities())||void 0===n?void 0:n.pos)||0,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:u}).start()}).on("panstart",e=>{(null==e?void 0:e.axis)===(v?"y":"x")&&Ae(m,"is-dragging")}).on("panend",()=>{ke(m,"is-dragging")}).on("end",e=>{var t,n;const{srcEvent:o,axis:r,velocityX:a,velocityY:l,currentTouch:s}=e;if(s.length>0||!i)return;const c=o.target,d=c&&be(c)&&!("x"===r&&!v);v&&Ne(o)&&!e.axis&&ae(o);const f=O.length,m=z("dragFree");if(!f)return;const g=z("vertical")?l:a;let y=(null==i?void 0:i.isRunning())?i.getEndValues().pos:b;const x=h&&!v?1:-1;if(d||(y+=g*(m?5:1)*x),!p&&(g*x<=0&&y<C||g*x>=0&&y>S)){let e=0;return Math.abs(g)>0&&(e=2*Math.abs(g),e=Math.min(.3*U(),e)),y=Ce(C+-1*e,y,S+e),void i.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*g,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:y}).start()}if(m||(null===(t=u.Autoscroll)||void 0===t?void 0:t.isEnabled()))return void(Math.abs(g)>10?i.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*g,restDelta:1,restSpeed:1}).from({pos:b}).to({pos:y}).start():i.isRunning()||E||(E=!0,F("settle")));if(!m&&!(null===(n=u.Autoscroll)||void 0===n?void 0:n.isEnabled())&&(!e.offsetX&&!e.offsetY||"y"===r&&!v||"x"===r&&v))return void de(w,{transition:"tween"});let A=V(y);Math.abs(g)>10&&A===w&&(A+=g>0?h&&!v?1:-1:h&&!v?-1:1),de(A,{transition:"tween",tween:{velocity:-1*g}})}).init()):o&&(o.destroy(),o=void 0)}function $(e="*"){var t;const n=[];for(const o of k)("*"===e||o.class&&o.class.includes(e)||o.el&&(null===(t=o.el)||void 0===t?void 0:t.classList.contains(e)))&&n.push(o);a=void 0,A=e,T=[...n]}function H(){if(!i)return;const e=V((null==i?void 0:i.isRunning())?i.getEndValues().pos:b);e!==w&&(a=w,w=e,ce(),G(),B(),F("change",w,a))}function G(){var e;if(!f)return;Te(m,"is-draggable",!!o&&O.length>0);for(const o of f.querySelectorAll("[data-carousel-index]"))o.innerHTML=w+"";for(const o of f.querySelectorAll("[data-carousel-page]"))o.innerHTML=w+1+"";for(const o of f.querySelectorAll("[data-carousel-pages]"))o.innerHTML=O.length+"";for(const o of f.querySelectorAll("[data-carousel-go-prev]"))o.toggleAttribute("aria-disabled",!ge()),ge()?o.removeAttribute("tabindex"):o.setAttribute("tabindex","-1");for(const o of f.querySelectorAll("[data-carousel-go-next]"))o.toggleAttribute("aria-disabled",!Ee()),Ee()?o.removeAttribute("tabindex"):o.setAttribute("tabindex","-1");let t=!1;const n=null===(e=O[w])||void 0===e?void 0:e.slides[0];n&&(n.downloadSrc||"image"===n.type&&n.src)&&(t=!0);for(const o of f.querySelectorAll("[data-carousel-download]"))o.toggleAttribute("aria-disabled",!t)}function B(e){var t;e||(e=null===(t=O[w])||void 0===t?void 0:t.slides[0]);const n=null==e?void 0:e.el;if(n)for(const o of n.querySelectorAll("[data-slide-index]"))o.innerHTML=e.index+1+""}function V(e){var t,n,o;if(!O.length)return 0;const i=Y();let r=e;p?r-=Math.floor((e-(null===(t=O[0])||void 0===t?void 0:t.pos))/i)*i||0:r=Ce(null===(n=O[0])||void 0===n?void 0:n.pos,e,null===(o=O[O.length-1])||void 0===o?void 0:o.pos);const a=new Map;let l=0;for(const c of O){const e=Math.abs(c.pos-r),t=Math.abs(c.pos-r-i),n=Math.abs(c.pos-r+i),o=Math.min(e,t,n);a.set(l,o),l++}const s=a.size>0?[...a.entries()].reduce((e,t)=>t[1]<e[1]?t:e):[w,0];return parseInt(s[0])}function W(){return R}function U(){let e=0;return m&&(m.childElementCount||(m.style.display="grid"),e=m.getBoundingClientRect()[y]||0,m.style.display=""),e}function Y(e=!0){return T.reduce((e,t)=>e+t.dim,0)+(T.length-(p&&e?0:1))*R}function X(e){const t=Y(),n=U();if(!t||!m||!n)return[];const o=[];e=void 0===e?b:e,p&&(e-=Math.floor(e/t)*t||0);let i=0,r=0;if(g){const e=m.getBoundingClientRect();i=Math.abs(e[v?"top":"left"]),r=Math.abs(window[v?"innerHeight":"innerWidth"]-e[v?"bottom":"right"])}let a=0;for(let l of T){const s=(t=0)=>{o.indexOf(l)>-1||(l.pos=a-e+t||0,l.offset+t>e-l.dim-i+.51&&l.offset+t<e+n+r-.51&&o.push(l))};l.offset=a,p&&(s(t),s(-1*t)),s(),a+=l.dim+R}return o}function Z(e,t){const n=[];for(const o of Array.isArray(e)?e:[e]){const e=Q(Object.assign(Object.assign({},o),{isVirtual:!0}));
2e.el||(e.el=document.createElement("div")),F("createSlide",e),n.push(e)}k.splice(void 0===t?k.length:t,0,...n),te();for(const o of n)F("addSlide",o),K(o);return $(A),n}function Q(e){return(he(e)||e instanceof HTMLElement)&&(e={html:e}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},e)}function K(e){let t=e.el;if(!e||!t)return;const n=e.html?e.html instanceof HTMLElement?e.html:ye(e.html):void 0;n&&(Ae(n,"f-html"),e.htmlEl=n,Ae(t,"has-html"),t.append(n),F("contentReady",e))}function J(e){if(!m||!e)return;let t=e.el;if(t){if(t.setAttribute("index",e.index+""),t.parentElement!==m){let n;Ae(t,d.classes.slide),Ae(t,e.class),ce(e);for(const t of k)if(t.index>e.index){n=t.el;break}m.insertBefore(t,n&&m.contains(n)?n:null),F("attachSlideEl",e)}return B(e),t}}function ee(e){const t=null==e?void 0:e.el;t&&(t.remove(),oe(t),F("detachSlideEl",e))}function te(){for(let e=0;e<k.length;e++){const t=k[e],n=t.el;n&&(t.index!==e&&oe(n),n.setAttribute("index",`${e}`)),t.index=e}}function ne(){var e,t,n,o,r;if(!f||!m)return;h=z("rtl"),v=z("vertical"),y=v?"height":"width";const l=z("classes");if(Te(f,l.isLTR,!h),Te(f,l.isRTL,h),Te(f,l.isHorizontal,!v),Te(f,l.isVertical,v),Te(f,l.hasAdaptiveHeight,z("adaptiveHeight")),!U())return;const c=window.getComputedStyle(m);g="visible"===c.getPropertyValue("overflow-"+(v?"y":"x")),R=m&&parseFloat(c.getPropertyValue("--f-carousel-gap"))||0;const u=function(){let e=0;if(m){let t=document.createElement("div");t.style.display="block",Ae(t,d.classes.slide),m.appendChild(t),e=t.getBoundingClientRect()[y],t.remove(),t=void 0}return e}();for(const i of T){const t=i.el;let n=0;if(!i.isVirtual&&t&&ve(t)){let o=!1;t.parentElement&&t.parentElement===m||(m.appendChild(t),o=!0),n=t.getBoundingClientRect()[y],o&&(null===(e=t.parentElement)||void 0===e||e.removeChild(t))}else n=u;i.dim=n}if(p=!1,z("infinite")){p=!0;const e=Y();let n=U();if(g){const e=m.getBoundingClientRect();n+=e.left,n+=e.right-e.width}for(let o=0;o<T.length;o++){const i=(null===(t=T[o])||void 0===t?void 0:t.dim)+R;if(e-i<n&&e-i-n<i){p=!1;break}}}if(function(){var e;if(!f)return;const t=U(),n=Y(!1);let o=z("slidesPerPage");o="auto"===o?1/0:parseFloat(o+""),O=[];let i=0,r=0;for(const u of T)(!O.length||i+u.dim-t>.05||r>=o)&&(O.push({index:O.length,slides:[],dim:0,offset:0,pos:0}),i=0,r=0),null===(e=O[O.length-1])||void 0===e||e.slides.push(u),i+=u.dim+R,r++;const a=z("center"),l=z("fill");let s=0;for(const u of O){u.dim=(u.slides.length-1)*R;for(const e of u.slides)u.dim+=e.dim;u.offset=s,u.pos=s,!1!==a&&(u.pos-=.5*(t-u.dim)),l&&!p&&n>t&&(u.pos=Ce(0,u.pos,n-t)),s+=u.dim+R}const c=[];let d;for(const u of O){const e=Object.assign({},u);d&&Math.abs(e.pos-d.pos)<.1?(d.dim+=e.dim,d.slides=[...d.slides,...e.slides]):(d=e,e.index=c.length,c.push(e))}O=c,G()}(),C=(null===(n=O[0])||void 0===n?void 0:n.pos)||0,S=(null===(o=O[O.length-1])||void 0===o?void 0:o.pos)||0,0===s)!function(){var e;a=void 0,w=z("initialPage");const t=z("initialSlide")||void 0;void 0!==t&&(w=xe.getPageIndex(t)||0),w=Ce(0,w,O.length-1),b=(null===(e=O[w])||void 0===e?void 0:e.pos)||0,x=b}();else{const e=(null==i?void 0:i.isRunning())?i.getEndValues().pos:b;(e<C||e>S)&&(x=(null===(r=O[w||0])||void 0===r?void 0:r.pos)||0,b=Ce(C,b,S))}F("refresh")}function oe(e){if(!e||!ve(e))return;const t=parseInt(e.getAttribute("index")||"-1");let n="";for(const i of Array.from(e.classList)){const e=i.match(/^f-(\w+)(Out|In)$/);e&&e[1]&&(n=e[1]+"")}if(!e||!n)return;const o=[`f-${n}Out`,`f-${n}In`,"to-prev","to-next","from-prev","from-next"];e.removeEventListener("animationend",re),ke(e,o.join(" ")),M.delete(t)}function ie(){if(!m)return;const e=M.size>0;for(const t of T)oe(t.el);M.clear(),e&&fe()}function re(e){var t;"f-"===(null===(t=e.animationName)||void 0===t?void 0:t.substring(0,2))&&(oe(e.target),M.size||(ke(f,"in-transition"),!E&&Math.abs(xe.getPosition(!0)-x)<.5&&(E=!0,F("settle"))),fe())}function ae(e){var t;if(e.defaultPrevented)return;const n=e.composedPath()[0];if(n.closest("[data-carousel-go-prev]"))return ft(e),void xe.prev();if(n.closest("[data-carousel-go-next]"))return ft(e),void xe.next();const o=n.closest("[data-carousel-go-to]");if(o)return ft(e),void xe.goTo(parseFloat(o.dataset.carouselGoTo||"")||
20);if(n.closest("[data-carousel-download]")){ft(e);const n=null===(t=O[w])||void 0===t?void 0:t.slides[0];if(n&&(n.downloadSrc||"image"===n.type&&n.src)){const e=n.downloadFilename,t=document.createElement("a"),o=n.downloadSrc||n.src||"";t.href=o,t.target="_blank",t.download=e||o,t.click()}}else F("click",e)}function le(e){var t;const n=e.el;n&&(null===(t=n.querySelector(".f-spinner"))||void 0===t||t.remove())}function se(e){var t;const n=e.el;n&&(null===(t=n.querySelector(".f-html.is-error"))||void 0===t||t.remove(),ke(n,"has-error"))}function ce(e){var t;e||(e=null===(t=O[w])||void 0===t?void 0:t.slides[0]);const n=null==e?void 0:e.el;if(!n)return;let o=z("formatCaption",e);void 0===o&&(o=e.caption),o=o||"";const i=z("captionEl");if(i&&i instanceof HTMLElement){if(e.index!==w)return;if(he(o)&&(i.innerHTML=P(o+"")),o instanceof HTMLElement){if(o.parentElement===i)return;i.innerHTML="",o.parentElement&&(o=o.cloneNode(!0)),i.append(o)}return}if(!o)return;let r=e.captionEl||n.querySelector(".f-caption");!r&&o instanceof HTMLElement&&o.classList.contains("f-caption")&&(r=o),r||(r=document.createElement("div"),Ae(r,"f-caption"),he(o)?r.innerHTML=P(o+""):o instanceof HTMLElement&&(o.parentElement&&(o=o.cloneNode(!0)),r.append(o)));const a=`f-caption-${pt}_${e.index}`;r.setAttribute("id",a),r.dataset.selectable="true",Ae(n,"has-caption"),n.setAttribute("aria-labelledby",a),e.captionEl=r,n.insertAdjacentElement("beforeend",r)}function de(e,t={}){var n,o;let{transition:r,tween:l}=Object.assign({transition:d.transition,tween:d.tween},t||{});if(!f||!i)return;const s=O.length;if(!s)return;if(function(e,t){var n,o,r,a;if(!(f&&i&&t&&he(t)&&"tween"!==t))return!1;if((null===(n=O[w])||void 0===n?void 0:n.slides.length)>1)return!1;const l=O.length;let s=e>w?1:-1;e=p?(e%l+l)%l:Ce(0,e,l-1),h&&(s*=-1);const c=null===(o=O[w])||void 0===o?void 0:o.slides[0],u=null==c?void 0:c.index,m=null===(r=O[e])||void 0===r?void 0:r.slides[0],g=null==m?void 0:m.index,v=null===(a=O[e])||void 0===a?void 0:a.pos;if(void 0===g||void 0===u||u===g||b===v||Math.abs(U()-((null==m?void 0:m.dim)||0))>1)return!1;E=!1,i.pause(),ie(),Ae(f,"in-transition"),b=x=v;const y=J(c),C=J(m);return H(),y&&(M.add(u),y.style.transform="",y.addEventListener("animationend",re),ke(y,d.classes.isSelected),y.inert=!1,Ae(y,`f-${t}Out to-${s>0?"next":"prev"}`)),C&&(M.add(g),C.style.transform="",C.addEventListener("animationend",re),Ae(C,d.classes.isSelected),C.inert=!1,Ae(C,`f-${t}In from-${s>0?"prev":"next"}`)),fe(),!0}(e,r))return;e=p?(e%s+s)%s:Ce(0,e,s-1),x=(null===(n=O[e||0])||void 0===n?void 0:n.pos)||0;const c=i.isRunning()?i.getEndValues().pos:b;if(Math.abs(x-c)<1)return b=x,w!==e&&(ce(),G(),B(),a=w,w=e,F("change",w,a)),fe(),void(E||(E=!0,F("settle")));if(i.pause(),ie(),p){const e=Y(),t=Math.floor((c-(null===(o=O[0])||void 0===o?void 0:o.pos))/e)||0,n=x+t*e;x=[n+e,n,n-e].reduce(function(e,t){return Math.abs(t-c)<Math.abs(e-c)?t:e})}!1!==r&&pe(l)?i.spring(we({},d.tween,l)).from({pos:b}).to({pos:x}).start():(b=x,H(),fe(),E||(E=!0,F("settle")))}function ue(e){var t;let n=b;if(p&&!0!==e){const e=Y();n-=(Math.floor((b-(null===(t=O[0])||void 0===t?void 0:t.pos)||0)/e)||0)*e}return n}function fe(){var e;if(!f||!m)return;L=X();const t=new Set,n=[],o=O[w],i=d.setTransform||void 0;let r;for(const a of T){const i=M.has(a.index),l=L.indexOf(a)>-1,s=(null===(e=null==o?void 0:o.slides)||void 0===e?void 0:e.indexOf(a))>-1;if(a.isVirtual&&!i&&!l)continue;let c=J(a);if(c&&(n.push(a),s&&t.add(c),z("adaptiveHeight")&&s)){const e=(c.firstElementChild||c).getBoundingClientRect().height;r=null==r?e:Math.max(r,e)}}m&&r&&(m.style.height=`${r}px`),[...dt(m,`.${d.classes.slide}`)].forEach(e=>{Te(e,d.classes.isSelected,t.has(e));const n=k[parseInt(e.getAttribute("index")||"-1")];if(!n)return e.remove(),void oe(e);const o=M.has(n.index),r=L.indexOf(n)>-1;if(n.isVirtual&&!o&&!r)return void ee(n);e.inert=!r;let a=n.pos?Math.round(1e4*n.pos)/1e4:0,l=0,s=0,c=0,u=0;o||(l=v?0:h?-1*a:a,s=v?a:0,c=Se(l,0,n.dim,0,100),u=Se(s,0,n.dim,0,100)),i instanceof Function&&!o?i(xe,n,{x:l,y:s,xPercent:c,yPercent:u}):e.style.transform=l||s?`translate3d(${c}%, ${u}%,0)`:""}),F("render",n)}function me(){var e;null==f||f.removeEventListener("click",ae),ie(),document.removeEventListener("mousemove",D),null==r||r.disconnect(),r=void 0;for(const t of k)t.el&&ve(t.el)&&(t.state=void 0,le(t),se(t),ee(t),t.isVirtual?(null===(e=t.el)||void 0===e||e.remove(),t.el=void 0):(t.el.style.transform="",null==m||m.appendChild(t.el)));for(const t of Object.values(u))null==t||t.destroy();u={},null==o||o.destroy(),o=void 0,null==i||i.destroy(),i=void 0;for(const[t,n]of Object.entries(d.classes||{}))"container"!==t&&ke(f,n);ke(m,"is-draggable")}function ge(){return p||w>0}function Ee(){return p||w<O.length-1}const xe={add:function(e,t){var n,o;let r=b;const a=w,l=Y(),s=(null==i?void 0:i.isRunning())?i.getEndValues().pos:b,c=l&&Math.floor((s-((null===(n=O[0])||void 0===n?void 0:n.pos)||0))/l)||0;return Z(e,t),$(A),ne(),i&&(a===w&&(r-=c*l),x=(null===(o=O[w||0])||void 0===o?void 0:o.pos)||0,r===x?b=x:i.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:r}).to({pos:x}).start()),fe(),xe},canGoPrev:ge,canGoNext:Ee,destroy:function(){return F("destroy"),window.removeEventListener("resize",N),me(),j.clear(),f=null,O=[],k=[],d=Object.assign({},mt),u={},T=[],l=void 0,A="*",s=2,xe},emit:F,filter:function(e="*"){return $(e),ne(),fe(),F("filter",e),xe},getContainer:function(){return f},getGapDim:W,getGestures:function(){return o},getLastMouseMove:function(){return gt},getOption:function(e){return z(e)},getOptions:function(){return d},getPage:function(){return O[w]},getPageIndex:function(e){if(void 0!==e){for(const t of O||[])for(const n of t.slides)if(n.index===e)return t.index;return-1}return w},getPageIndexFromPosition:V,getPageProgress:function(e,t){var n;void 0===e&&(e=w);const o=O[e];if(!o)return e>w?-1:1;
2const i=Y(),r=W();let a=o.pos,l=ue();if(p&&!0!==t){const e=Math.floor((l-(null===(n=O[0])||void 0===n?void 0:n.pos))/i)||0;l-=e*i,a=[a+i,a,a-i].reduce(function(e,t){return Math.abs(t-l)<Math.abs(e-l)?t:e})}return(l-a)/(o.dim+r)||0},getPageVisibility:function(e){var t;void 0===e&&(e=w);const n=O[e];if(!n)return e>w?-1:1;const o=ue(),i=U();let r=n.pos;if(p){const e=Y(),n=r+(Math.floor((o-(null===(t=O[0])||void 0===t?void 0:t.pos))/e)||0)*e;r=[n+e,n,n-e].reduce(function(e,t){return Math.abs(t-o)<Math.abs(e-o)?t:e})}return r>o&&r+n.dim<o+i?1:r<o?(r+n.dim-o)/n.dim||0:r+n.dim>o+i&&(o+i-r)/n.dim||0},getPages:function(){return O},getPlugins:function(){return u},getPosition:ue,getSlides:function(){return k},getState:function(){return s},getTotalSlideDim:Y,getTween:function(){return i},getViewport:function(){return m},getViewportDim:U,getVisibleSlides:function(e){return void 0===e?L:X(e)},goTo:de,hasNavigated:function(){return void 0!==a},hideError:se,hideLoading:le,init:function(){if(!e||!ve(e))throw new Error("No Element found");return 0!==s&&(me(),s=0),f=e,c=t,window.removeEventListener("resize",N),c.breakpoints&&window.addEventListener("resize",N),N(),xe},isInfinite:function(){return p},isInTransition:function(){return M.size>0},isRTL:function(){return h},isSettled:function(){return E},isVertical:function(){return v},localize:function(e,t=[]){return P(e,t)},next:function(e={}){return de(w+1,e),xe},off:function(e,t){for(const n of e instanceof Array?e:[e])j.has(n)&&j.set(n,j.get(n).filter(e=>e!==t));return xe},on:function(e,t){for(const n of e instanceof Array?e:[e])j.set(n,[...j.get(n)||[],t]);return xe},prev:function(e={}){return de(w-1,e),xe},reInit:function(e={},o={}){return me(),s=0,l=void 0,A="*",t=e,c=e,n=o,N(),xe},remove:function(e){void 0===e&&(e=k.length-1);const t=k[e];return t&&(F("removeSlide",t),t.el&&(oe(t.el),t.el.remove(),t.el=void 0),k.splice(e,1),$(A),ne(),w=Ce(0,w,O.length-1),fe()),xe},setPosition:function(e){b=e,H(),fe()},showError:function(e,t){le(e),se(e);const n=e.el;if(n){const o=document.createElement("div");Ae(o,"f-html"),Ae(o,"is-error"),o.innerHTML=P(t||"<p>{{ERROR}}</p>"),e.htmlEl=o,Ae(n,"has-html"),Ae(n,"has-error"),n.insertAdjacentElement("afterbegin",o),F("contentReady",e)}return xe},showLoading:function(e){const t=e.el,n=null==t?void 0:t.querySelector(".f-spinner");if(!t||n)return xe;const o=z("spinnerTpl"),i=ye(o);return i&&(Ae(i,"f-spinner"),t.insertAdjacentElement("beforeend",i)),xe},version:"6.1.0"};return xe};ht.l10n={en_EN:ut},ht.getDefaults=()=>mt;const vt=function(e="",t="",n=""){return e.split(t).join(n)},yt={tpl:e=>`<img class="f-panzoom__content" \n    ${e.srcset?'data-lazy-srcset="{{srcset}}"':""} \n    ${e.sizes?'data-lazy-sizes="{{sizes}}"':""} \n    data-lazy-src="{{src}}" alt="{{alt}}" />`},bt=()=>{let e;function t(t,n){const o=null==e?void 0:e.getOptions().Zoomable;let i=(pe(o)?Object.assign(Object.assign({},yt),o):yt)[t];return i&&"function"==typeof i&&n?i(n):i}function n(){e&&!1!==e.getOptions().Zoomable&&(e.on("addSlide",r),e.on("removeSlide",a),e.on("attachSlideEl",l),e.on("click",i),e.on("change",o),e.on("ready",o))}function o(){s();const t=(null==e?void 0:e.getVisibleSlides())||[];if(t.length>1||"slide"===(null==e?void 0:e.getOption("transition")))for(const n of t){const t=n.panzoomRef;t&&((null==e?void 0:e.getPage().slides)||[]).indexOf(n)<0&&t.execute(tt.ZoomTo,Object.assign({},t.getStartPosition()))}}function i(e,t){const n=t.target;n&&!t.defaultPrevented&&n.dataset.panzoomAction&&c(n.dataset.panzoomAction)}function r(n,o){const i=o.el;if(!e||!i||o.panzoomRef)return;const r=o.src||o.lazySrc||"",a=o.alt||o.caption||`Image #${o.index}`,l=o.srcset||o.lazySrcset||"",c=o.sizes||o.lazySizes||"";if(r&&he(r)&&!o.html&&(!o.type||"image"===o.type)){o.type="image",o.thumbSrc=o.thumbSrc||r;let e=t("tpl",o);e=vt(e,"{{src}}",r+""),e=vt(e,"{{srcset}}",l+""),e=vt(e,"{{sizes}}",c+""),i.insertAdjacentHTML("afterbegin",e)}const d=i.querySelector(".f-panzoom__content");if(!d)return;d.setAttribute("alt",a+"");const u=o.width&&"auto"!==o.width?parseFloat(o.width+""):"auto",f=o.height&&"auto"!==o.height?parseFloat(o.height+""):"auto",m=ct(i,Object.assign({width:u,height:f,classes:{container:"f-zoomable"},event:()=>null==e?void 0:e.getLastMouseMove(),spinnerTpl:()=>(null==e?void 0:e.getOption("spinnerTpl"))||""},t("Panzoom")));m.on("*",(t,n,...i)=>{e&&("loading"===n&&(o.state=0),"loaded"===n&&(o.state=1),"error"===n&&(o.state=2,null==e||e.showError(o,"{{IMAGE_ERROR}}")),e.emit(`panzoom:${n}`,o,...i),"ready"===n&&e.emit("contentReady",o),o.index===(null==e?void 0:e.getPageIndex())&&s())}),o.panzoomRef=m}function a(e,t){t.panzoomRef&&(t.panzoomRef.destroy(),t.panzoomRef=void 0)}function l(e,t){const n=t.panzoomRef;
2if(n)switch(n.getState()){case 0:n.init();break;case 3:n.execute(tt.ZoomTo,Object.assign(Object.assign({},n.getStartPosition()),{velocity:0}))}}function s(){var t,n;const o=(null==e?void 0:e.getContainer())||void 0,i=null===(n=null===(t=null==e?void 0:e.getPage())||void 0===t?void 0:t.slides[0])||void 0===n?void 0:n.panzoomRef;if(o)if(i)i.updateControls(o);else for(const e of o.querySelectorAll("[data-panzoom-action]")||[])e.setAttribute("aria-disabled",""),e.setAttribute("tabindex","-1")}function c(t,...n){var o;null===(o=null==e?void 0:e.getPage().slides[0].panzoomRef)||void 0===o||o.execute(t,...n)}return{init:function(t){e=t,e.on("initPlugins",n)},destroy:function(){if(e){e.off("initPlugins",n),e.off("addSlide",r),e.off("removeSlide",a),e.off("attachSlideEl",l),e.off("click",i),e.off("change",o),e.off("ready",o);for(const t of e.getSlides())a(0,t)}e=void 0},execute:c}},Et={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},wt=()=>{let e,t;function n(){const t=null==e?void 0:e.getOptions().Sync;return pe(t)?Object.assign(Object.assign({},Et),t):Et}function o(){const o=n().target;e&&o&&function(o){var u,f,m;e&&o&&(t=o,e.getOptions().classes=Object.assign(Object.assign({},e.getOptions().classes),{isSelected:""}),e.getOptions().initialSlide=(null===(f=null===(u=t.getPage())||void 0===u?void 0:u.slides[0])||void 0===f?void 0:f.index)||0,n().syncOnChange&&e.on("change",r),n().syncOnClick&&e.on("click",l),n().syncOnHover&&(null===(m=e.getViewport())||void 0===m||m.addEventListener("mouseover",s)),e&&t&&(e.on("ready",i),e.on("refresh",c),t.on("change",a),t.on("filter",d)))}(o)}function i(){u()}function r(){var n;if(e&&t){const o=(null===(n=e.getPage())||void 0===n?void 0:n.slides)||[],i=t.getPageIndex(o[0].index||0);i>-1&&t.goTo(i,e.hasNavigated()?void 0:{tween:!1,transition:!1}),u()}}function a(){var n;if(e&&t){const o=e.getPageIndex((null===(n=t.getPage())||void 0===n?void 0:n.slides[0].index)||0);o>-1&&e.goTo(o,t.hasNavigated()?void 0:{tween:!1,transition:!1}),u()}}function l(n,o){var i;if(!e||!t)return;if(null===(i=e.getTween())||void 0===i?void 0:i.isRunning())return;const r=null==e?void 0:e.getOptions().classes.slide;if(!r)return;const a=r?o.target.closest(`.${r}`):null;
2if(a){const e=parseInt(a.getAttribute("index")||"")||0,n=t.getPageIndex(e);t.goTo(n)}}function s(t){e&&l(0,t)}function c(){var n;if(e&&t){const o=e.getPageIndex((null===(n=t.getPage())||void 0===n?void 0:n.slides[0].index)||0);o>-1&&e.goTo(o,{tween:!1,transition:!1}),u()}}function d(n,o){e&&t&&(e.filter(o),a())}function u(){var n,o,i;if(!t)return;const r=(null===(o=null===(n=t.getPage())||void 0===n?void 0:n.slides[0])||void 0===o?void 0:o.index)||0;for(const t of(null==e?void 0:e.getSlides())||[])null===(i=t.el)||void 0===i||i.classList.toggle("is-selected",t.index===r)}return{init:function(t){e=t,e.on("initSlides",o)},destroy:function(){var n;null==e||e.off("ready",i),null==e||e.off("refresh",c),null==e||e.off("change",r),null==e||e.off("click",l),null===(n=null==e?void 0:e.getViewport())||void 0===n||n.removeEventListener("mouseover",s),null==t||t.off("change",a),null==t||t.off("filter",d),t=void 0,null==e||e.off("initSlides",o),e=void 0},getTarget:function(){return t}}},xt={showLoading:!0,preload:1},Ct="is-lazyloading",St="is-lazyloaded",At="has-lazyerror",kt=()=>{let e;function t(){const t=null==e?void 0:e.getOptions().Lazyload;return pe(t)?Object.assign(Object.assign({},xt),t):xt}function n(n){var o;const i=n.el;if(!i)return;const r="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",a=Array.from(i.querySelectorAll(r));i.matches(r)&&a.push(i);for(const l of a){const i=l.dataset.lazySrc,r=l.dataset.lazySrcset,a=l.dataset.lazySizes,s=l.dataset.lazyBg,c=(l instanceof HTMLImageElement||l instanceof HTMLSourceElement)&&(i||r),d=l instanceof HTMLElement&&s;if(!c&&!d)continue;const u=i||r||s;if(u){if(c&&u){const s=null===(o=l.parentElement)||void 0===o?void 0:o.classList.contains("f-panzoom__wrapper");t().showLoading&&(null==e||e.showLoading(n)),l.addEventListener("load",()=>{null==e||e.hideLoading(n),ke(l,At),l instanceof HTMLImageElement?l.decode().then(()=>{ke(l,Ct),Ae(l,St)}):(ke(l,Ct),Ae(l,St)),s||null==e||e.emit("lazyLoad:loaded",n,l,u)}),l.addEventListener("error",()=>{null==e||e.hideLoading(n),ke(l,Ct),Ae(l,At),s||null==e||e.emit("lazyLoad:error",n,l,u)}),l.classList.add("f-lazyload"),l.classList.add(Ct),s||null==e||e.emit("lazyLoad:load",n,l,u),i&&(l.src=i),r&&(l.srcset=r),a&&(l.sizes=a)}else d&&(document.body.contains(l)||(document.createElement("img").src=s),l.style.backgroundImage=`url('${s}')`);delete l.dataset.lazySrc,delete l.dataset.lazySrcset,delete l.dataset.lazySizes,delete l.dataset.lazyBg}}}function o(){if(!e)return;const o=[...e.getVisibleSlides()],i=t().preload;if(i>0){const t=e.getPosition(),n=e.getViewportDim();o.push(...e.getVisibleSlides(t+n*i),...e.getVisibleSlides(t-n*i))}for(const e of o)n(e)}return{init:function(t){e=t,e.on("render",o)},destroy:function(){null==e||e.off("render",o),e=void 0}}},Tt='tabindex="-1" width="24" height="24" viewBox="0 0 24 24"',Mt={prevTpl:`<svg ${Tt}><path d="M15 3l-9 9 9 9"></path></svg>`,nextTpl:`<svg ${Tt}><path d="M9 3l9 9-9 9"></path></svg>`},Lt=()=>{let e,t,n;function o(){const t=null==e?void 0:e.getOptions().Arrows;return pe(t)?Object.assign(Object.assign({},Mt),t):Mt}function i(t){if(!e)return;const n=`<button data-carousel-go-${t} tabindex="0" class="f-button is-arrow is-${t}" title="{{${t.toUpperCase()}}}">`+o()[`${t}Tpl`]+"</button",i=ye(e.localize(n))||void 0;return i&&Ae(i,o()[`${t}Class`]),i}function r(){var o;null==t||t.remove(),t=void 0,null==n||n.remove(),n=void 0,null===(o=null==e?void 0:e.getContainer())||void 0===o||o.classList.remove("has-arrows")}function a(){e&&!1!==e.getOptions().Arrows&&e.getPages().length>1?(function(){if(!e)return;const o=e.getViewport();o&&(t||(t=i("prev"),t&&o.insertAdjacentElement("beforebegin",t)),n||(n=i("next"),n&&o.insertAdjacentElement("afterend",n)),Te(e.getContainer(),"has-arrows",!(!t&&!n)))}(),e&&(null==t||t.toggleAttribute("aria-disabled",!e.canGoPrev()),null==n||n.toggleAttribute("aria-disabled",!e.canGoNext()))):r()}return{init:function(t){e=t.on(["change","refresh"],a)},destroy:function(){r(),null==e||e.off(["change","refresh"],a),e=void 0}}},Ot='<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>',_t='<g>
2<line x1="11" y1="8" x2="11" y2="14"></line></g>'+Ot,It={moveLeft:["moveLeft","MOVE_LEFT",'<path d="M5 12h14M5 12l6 6M5 12l6-6"/>'],moveRight:["moveRight","MOVE_RIGHT",'<path d="M5 12h14M13 18l6-6M13 6l6 6"/>'],moveUp:["moveUp","MOVE_UP",'<path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'],moveDown:["moveDown","MOVE_DOWN",'<path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'],zoomOut:["zoomOut","ZOOM_OUT",Ot],zoomIn:["zoomIn","ZOOM_IN",_t],toggleFull:["toggleFull","TOGGLE_FULL",_t],iterateZoom:["iterateZoom","ITERATE_ZOOM",_t],toggle1to1:["toggleFull","TOGGLE_FULL",'<path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/>'],rotateCCW:["rotateCCW","ROTATE_CCW",'<path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/>'],rotateCW:["rotateCW","ROTATE_CW",'<path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/>'],flipX:["flipX","FLIP_X",'<path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/>'],flipY:["flipY","FLIP_Y",'<path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/>'],reset:["reset","RESET",'<path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/>'],toggleFS:["toggleFS","TOGGLE_FS",'<g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g>']},Rt={};for(const[Rr,zr]of Object.entries(It))Rt[Rr]={tpl:`<button data-panzoom-action="${zr[0]}" class="f-button" title="{{${zr[1]}}}"><svg>${zr[2]}</svg></button>`};var zt;!function(e){e.Left="left",e.middle="middle",e.right="right"}(zt||(zt={}));const Pt=Object.assign({counter:{tpl:'<div class="f-counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},Rt),jt={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},Ft=()=>{let e,t;function n(t){const n=null==e?void 0:e.getOptions().Toolbar;let o=(pe(n)?Object.assign(Object.assign({},jt),n):jt)[t];return o&&"function"==typeof o&&e?o(e):o}function o(){var o,i;if(!(null==e?void 0:e.getOptions().Toolbar))return;if(!e||t)return;const r=e.getContainer();if(!r)return;let a=n("enabled");if(!a)return;const l=n("absolute"),s=e.getSlides().length>1;let c=!1,d=!1;for(const t of e.getSlides())t.panzoomRef&&(c=!0),(t.downloadSrc||"image"===t.type&&t.src)&&(d=!0);const u=(null===(o=e.getPlugins().Thumbs)||void 0===o?void 0:o.isEnabled())||!1,f=s&&e.getPlugins().Autoplay||!1,m=e.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if("auto"===a&&(a=c),!a)return;t=r.querySelector(".f-carousel__toolbar")||void 0,t||(t=document.createElement("div"),t.classList.add("f-carousel__toolbar"));const g=n("display"),p=we({},Pt,n("items"));for(const n of["left","middle","right"]){const o=g[n]||[],i=document.createElement("div");i.classList.add("f-carousel__toolbar__column"),i.classList.add(`is-${n}`);for(const t of o){let n;if(he(t)){if("counter"===t&&!s)continue;if("autoplay"===t&&!f)continue;if(Rt[t]&&!c)continue;if("fullscreen"===t&&!m)continue;if("thumbs"===t&&!u)continue;if("download"===t&&!d)continue;n=p[t]}if(pe(t)&&(n=t),n&&n.tpl){let t=e.localize(n.tpl);t=t.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const o=ye(t);o&&("function"==typeof n.click&&e&&o.addEventListener("click",t=>{t.preventDefault(),t.stopPropagation(),"function"==typeof n.click&&e&&n.click(e,t)}),i.append(o))}}t.append(i)}if(t.childElementCount){if(l&&t.classList.add("is-absolute"),!t.parentElement){const o=n("parentEl");o?o.insertAdjacentElement("afterbegin",t):null===(i=e.getViewport())||void 0===i||i.insertAdjacentElement("beforebegin",t)}r.contains(t)&&r.classList.add("has-toolbar")}}return{init:function(t){e=t,null==e||e.on("initSlides",o)},destroy:function(){var n;null==e||e.off("initSlides",o),null===(n=null==e?void 0:e.getContainer())||void 0===n||n.classList.remove("has-toolbar"),null==t||t.remove(),t=void 0},add:function(e,t){Pt[e]=t},isEnabled:function(){return!!t}}},Nt={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},Dt=()=>{let e,t,n=!1,o=!1,i=!1,r=null;function a(t){const n=null==e?void 0:e.getOptions().Autoplay;let o=(pe(n)?Object.assign(Object.assign({},Nt),n):Nt)[t];return o&&"function"==typeof o&&e?o(e):o}function l(){clearTimeout(t),t=void 0}function s(){if(!e||!n||i||o||t||!e.isSettled()||function(){var t;const n=(null===(t=null==e?void 0:e.getPage())||void 0===t?void 0:t.slides)||[];for(const e of n)if(0===e.state)return!0;return!1}())return;!function(){var t,n,o,i;if(!e)return;if(u(),!a("showProgressbar"))return;let l=a("progressbarParentEl");if(!l&&(null===(t=e.getPlugins().Toolbar)||void 0===t?void 0:t.isEnabled())&&(l=e.getContainer()),!l&&!0!==(null===(n=e.getPlugins().Toolbar)||void 0===n?void 0:n.isEnabled())){const t=(null===(o=e.getPages()[0])||void 0===o?void 0:o.slides)||[],n=(null===(i=e.getPage())||void 0===i?void 0:i.slides)||[];1===t.length&&1===n.length&&(l=n[0].el)}if(l||(l=e.getViewport()),!l)return;r=document.createElement("div"),r.classList.add("f-progressbar"),l.prepend(r);const s=a("timeout")||1e3;r.style.animationDuration=`${s}ms`}();const l=a("timeout");t=setTimeout(()=>{e&&n&&!o&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0))},l)}function c(){var t,o;if(!e||e.getPages().length<2||!1===e.getOptions().Autoplay)return;if(n)return;n=!0,e.emit("autoplay:start",a("timeout")),null===(t=e.getContainer())||void 0===t||t.classList.add("has-autoplay"),null===(o=e.getTween())||void 0===o||o.on("start",v);const i=null==e?void 0:e.getContainer();i&&a("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(i.addEventListener("mouseenter",y,!1),i.addEventListener("mouseleave",b,!1)),e.on("change",p),e.on("settle",h),e.on("contentReady",m),e.on("panzoom:touchStart",d),e.on("panzoom:wheel",d),e.isSettled()&&s()}function d(){var t,i;
2if(l(),u(),n&&e){e.emit("autoplay:end"),null===(t=e.getContainer())||void 0===t||t.classList.remove("has-autoplay"),null===(i=e.getTween())||void 0===i||i.off("start",v);const n=null==e?void 0:e.getContainer();n&&(n.removeEventListener("mouseenter",y,!1),n.removeEventListener("mouseleave",b,!1))}e&&(e.off("change",p),e.off("settle",h),e.off("contentReady",m),e.off("panzoom:touchStart",d),e.off("panzoom:wheel",d)),n=!1,o=!1}function u(){r&&(r.remove(),r=null)}function f(){e&&e.getPages().length>1&&a("autoStart")&&c()}function m(){s()}function g(e,t){const n=t.target;n&&!t.defaultPrevented&&"toggle"===n.dataset.autoplayAction&&E.toggle()}function p(){!e||!(null==e?void 0:e.isInfinite())&&e.getPageIndex()===e.getPages().length-1?d():(u(),l())}function h(){s()}function v(){l(),u()}function y(){i=!0,n&&(u(),l())}function b(){i=!1,n&&!o&&(null==e?void 0:e.isSettled())&&s()}const E={init:function(t){e=t,e.on("ready",f),e.on("click",g)},destroy:function(){d(),null==e||e.off("ready",f),null==e||e.off("click",g),e=void 0},isEnabled:()=>n,pause:function(){o=!0,l()},resume:function(){o=!1,n&&!i&&s()},start(){c()},stop(){d()},toggle(){n?d():c()}};return E},qt={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"};let $t;const Ht=()=>{let e,t,n,o,i=0,r=0,a=!0;function l(t){const n=null==e?void 0:e.getOptions().Thumbs;let o=(pe(n)?Object.assign(Object.assign({},qt),n):qt)[t];return o&&"function"==typeof o&&e?o(e):o}function s(){if(!e)return!1;if(!1===(null==e?void 0:e.getOptions().Thumbs))return!1;let t=0;for(const n of e.getSlides())n.thumbSrc&&t++;return t>=l("minCount")}function c(){return"modern"===l("type")}function d(){return"scrollable"===l("type")}function u(){const t=[],n=(null==e?void 0:e.getSlides())||[];for(const e of n)t.push({index:e.index,html:f(e)});return t}function f(e){const t=e.thumb?e.thumb instanceof HTMLImageElement?e.thumb.src:e.thumb:e.thumbSrc||void 0,n=void 0===e.thumbAlt?`Thumbnail #${e.index}`:e.thumbAlt+"";let o=l("thumbTpl");return o=vt(o,"{{alt}}",n),o=vt(o,"{{src}}",t+""),o=vt(o,"{{index}}",`${e.index}`),o=vt(o,"{{page}}",`${e.index||1}`),o}function m(t=!1){var o;const i=null==e?void 0:e.getContainer();if(!e||!i||n)return;if(!s())return;const r=(null===(o=l("Carousel"))||void 0===o?void 0:o.classes)||{};if(r.container=r.container||"f-thumbs",!n){const e=i.nextElementSibling;(null==e?void 0:e.classList.contains(r.container))&&(n=e)}if(!n){n=document.createElement("div");const e=l("parentEl");e?e.insertAdjacentElement("beforeend",n):i.insertAdjacentElement("afterend",n)}Ae(n,r.container),Ae(n,"f-thumbs"),Ae(n,`is-${l("type")}`),t&&Ae(n,"is-hidden")}function g(){if(!n||!d())return;o=document.createElement("div"),Ae(o,"f-thumbs__viewport");let t="";for(const e of u()){const n=e.html||"";"string"==typeof n&&(t+=`<div index="${e.index}" class="f-thumbs__slide">${n}</div>`)}o.innerHTML=t,n.append(o),n.addEventListener("click",t=>{t.preventDefault();const n=t.target.closest("[index]"),o=parseInt((null==n?void 0:n.getAttribute("index"))||"-1");e&&o>-1&&e.goTo(o)});const i=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&e.target instanceof HTMLImageElement&&(e.target.src=e.target.getAttribute("data-lazy-src")+"",e.target.removeAttribute("data-lazy-src"),i.unobserve(e.target))})},{root:o,rootMargin:"100px"});n.querySelectorAll("[data-lazy-src]").forEach(e=>{i.observe(e)}),null==e||e.emit("thumbs:ready")}function p(){var o;if(!$t||!e||!n||d()||t)return;const s=u();if(!s.length)return;const f=we({},{Sync:{target:e},Lazyload:{preload:1},slides:s,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},center:!0,fill:!c(),infinite:!1,dragFree:!0,rtl:e.getOptions().rtl||!1,slidesPerPage:e=>{let t=0;return c()&&(function(){if(!c())return;if(!n)return;const e=e=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+e))||0;i=e("width"),r=e("clip-width")}(),t=4*(i-r)),e&&e.getTotalSlideDim()<=e.getViewportDim()-t?1/0:1}},qt.Carousel||{},l("Carousel")||{});
2t=$t(n,f,{Sync:wt,Lazyload:kt}),t.on("ready",()=>{Ae(n,"is-syncing"),null==e||e.emit("thumbs:ready"),c()&&(null==e||e.on("render",b))}),t.on("destroy",()=>{null==e||e.emit("thumbs:destroy")}),t.init(),null===(o=t.getGestures())||void 0===o||o.on("start",()=>{a=!1}),t.on("click",(e,t)=>{const n=t.target;if(n){const e=n.matches("button")?n:n.firstElementChild;e&&e.matches("button")&&(t.preventDefault(),e.focus({preventScroll:!0}))}}),Ae(e.getContainer(),"has-thumbs"),A()}function h(){s()&&l("showOnStart")&&(m(),g())}function v(){var t;s()&&(p(),null==e||e.on("addSlide",w),null==e||e.on("click",x),null==e||e.on("refresh",C),null===(t=null==e?void 0:e.getGestures())||void 0===t||t.on("start",y),S())}function y(){var e,t;a=!0,(null===(e=document.activeElement)||void 0===e?void 0:e.closest(".f-thumbs"))&&(null===(t=document.activeElement)||void 0===t||t.blur())}function b(){var o,l;null==n||n.classList.toggle("is-syncing",!1===(null==e?void 0:e.hasNavigated())||(null===(o=null==e?void 0:e.getTween())||void 0===o?void 0:o.isRunning())),A(),(null===(l=null==e?void 0:e.getGestures())||void 0===l?void 0:l.isPointerDown())&&function(){if(!c())return;if(!e||!t)return;if(!a)return;const n=t.getTween(),o=t.getPages(),l=e.getPageIndex()||0,s=e.getPageProgress()||0;if(!(e&&o&&o[l]&&n))return;const d=n.isRunning()?n.getCurrentValues().pos:t.getPosition();if(void 0===d)return;let u=o[l].pos+s*(i-r);u=Ce(o[0].pos,u,o[o.length-1].pos),n.from({pos:d}).to({pos:u}).start()}()}function E(){a=!0,S()}function w(e,n){null==t||t.add({html:f(n)},n.index)}function x(e,t){const o=t.target;o&&!t.defaultPrevented&&"toggle"===o.dataset.thumbsAction&&(n||(m(!0),g(),p()),n&&n.classList.toggle("is-hidden"))}function C(){S()}function S(){if(!e||!o||!d())return;const t=e.getPageIndex();o.querySelectorAll(".is-selected").forEach(e=>{e.classList.remove("is-selected")});const n=o.querySelector(`[index="${t}"]`);if(n){n.classList.add("is-selected");const e=o.getBoundingClientRect(),t=n.getBoundingClientRect(),i=n.offsetTop-o.offsetTop-.5*e.height+.5*t.height,r=n.scrollLeft-o.scrollLeft-.5*e.width+.5*t.width;o.scrollTo({top:i,left:r,behavior:"smooth"})}}function A(){if(!c())return;if(!e||!t)return;const n=(null==t?void 0:t.getSlides())||[];let o=-.5*i;for(const t of n){const n=t.el;if(!n)continue;let r=e.getPageProgress(t.index)||0;r=Math.max(-1,Math.min(1,r)),r>-1&&r<1&&(o+=.5*i*(1-Math.abs(r))),r=Math.round(1e4*r)/1e4,o=Math.round(1e4*o)/1e4,n.style.setProperty("--progress",`${Math.abs(r)}`),n.style.setProperty("--shift",`${(null==e?void 0:e.isRTL())?-1*o:o}px`),r>-1&&r<1&&(o+=.5*i*(1-Math.abs(r)))}}return{init:function(t,n){$t=n,e=t,e.on("ready",v),e.on("initSlides",h),e.on("change",E)},destroy:function(){var o,i;d()&&(null==e||e.emit("thumbs:destroy")),null==e||e.off("ready",v),null==e||e.off("initSlides",h),null==e||e.off("change",E),null==e||e.off("render",b),null==e||e.off("addSlide",w),null==e||e.off("click",x),null==e||e.off("refresh",C),null===(o=null==e?void 0:e.getGestures())||void 0===o||o.off("start",y),null===(i=null==e?void 0:e.getContainer())||void 0===i||i.classList.remove("has-thumbs"),e=void 0,null==t||t.destroy(),t=void 0,null==n||n.remove(),n=void 0},getCarousel:function(){return t},getContainer:function(){return n},getType:function(){return l("type")},isEnabled:s}},Gt={iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"}},Bt=()=>{let e;function t(e,t){let n=t.src;if(!he(n))return;let o=t.type;if(!o){if(o||("#"===n.charAt(0)?o="inline":n.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?o="image":n.match(/\.(pdf)((\?|#).*)?$/i)?o="pdf":n.match(/\.(html|php)((\?|#).*)?$/i)&&(o="iframe")),!o){const e=n.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);e&&(n=`https://maps.google.${e[1]}/?ll=${(e[2]?e[2]+"&z="+Math.floor(parseFloat(e[3]))+(e[4]?e[4].replace(/^\//,"&"):""):e[4]+"").replace(/\?/,"&")}&output=${e[4]&&e[4].indexOf("layer=c")>0?"svembed":"embed"}`,o="gmap")}if(!o){const e=n.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);e&&(n=`https://maps.google.${e[1]}/maps?q=${e[2].replace("query=","q=").replace("api=1","")}&output=embed`,o="gmap")}t.src=n,t.type=o}}function n(t,n){"iframe"!==n.type&&"pdf"!==n.type&&"gmap"!==n.type||function(t){if(!e||!t.el||!t.src)return;const n=document.createElement("iframe");n.classList.add("f-iframe");for(const[i,r]of Object.entries(function(){const t=null==e?void 0:e.getOptions().Html;return pe(t)?Object.assign(Object.assign({},Gt),t):Gt}().iframeAttr||{}))n.setAttribute(i,r);n.onerror=()=>{e&&1===e.getState()&&e.showError(t,"{{IFRAME_ERROR}}")},n.src=t.src;const o=document.createElement("div");if(o.classList.add("f-html"),o.append(n),t.width){let e=`${t.width}`;e.match(/^\d+$/)&&(e+="px"),o.style.maxWidth=`${e}`}if(t.height){let e=`${t.height}`;e.match(/^\d+$/)&&(e+="px"),o.style.maxHeight=`${e}`}if(t.aspectRatio){const e=t.el.getBoundingClientRect();o.style.aspectRatio=`${t.aspectRatio}`,o.style[e.width>e.height?"width":"height"]="auto",o.style[e.width>e.height?"maxWidth":"maxHeight"]="none"}t.contentEl=n,t.htmlEl=o,t.el.classList.add("has-html"),t.el.classList.add("has-iframe"),t.el.classList.add(`has-${t.type}`),t.el.prepend(o),e.emit("contentReady",t)}(n)}function o(t,n){var o,i;"iframe"!==n.type&&"pdf"!==n.type&&"gmap"!==n.type||(null==e||e.hideError(n),null===(o=n.contentEl)||void 0===o||o.remove(),n.contentEl=void 0,null===(i=n.htmlEl)||void 0===i||i.remove(),n.htmlEl=void 0)}return{init:function(i){e=i,e.on("addSlide",t),e.on("attachSlideEl",n),e.on("detachSlideEl",o)},destroy:function(){null==e||e.off("addSlide",t),null==e||e.off("attachSlideEl",n),null==e||e.off("detachSlideEl",o),e=void 0}}},Vt=(e,t={})=>{const n=new URL(e),o=new URLSearchParams(n.search),i=new URLSearchParams;for(const[l,s]of[...o,...Object.entries(t)]){let e=s+"";if("t"===l){let t=e.match(/((\d*)m)?(\d*)s?/);t&&i.set("start",60*parseInt(t[2]||"0")+parseInt(t[3]||"0")+"")}else i.set(l,e)}let r=i+"",a=e.match(/#t=((.*)?\d+s)/);return a&&(r+=`#t=${a[1]}`),r},Wt={autoplay:!1,html5videoTpl:'<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n    <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},Ut=()=>{let e,t=!1;function n(){const t=null==e?void 0:e.getOptions().Video;return pe(t)?Object.assign(Object.assign({},Wt),t):Wt}function o(){var t;return null===(t=null==e?void 0:e.getPage())||void 0===t?void 0:t.slides[0]}const i=t=>{var n;try{let o=JSON.parse(t.data);if("https://player.vimeo.com"===t.origin){if("ready"===o.event)for(let i of Array.from((null===(n=null==e?void 0:e.getContainer())||void 0===n?void 0:n.getElementsByClassName("f-iframe"))||[]))i instanceof HTMLIFrameElement&&i.contentWindow===t.source&&(i.dataset.ready="true")}else if(t.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===o.event){const e=document.getElementById(o.id);e&&(e.dataset.ready="true")}}catch(t){}};function r(e,t){const o=t.src;if(!he(o))return;let i=t.type;if(!i||"html5video"===i){const e=o.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);e&&(i="html5video",t.html5videoFormat=t.html5videoFormat||"video/"+("ogv"===e[1]?"ogg":e[1]))}if(!i||"youtube"===i){const e=o.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(e){const r=Object.assign(Object.assign({},n().youtube),t.youtube||{}),a=`www.youtube${r.nocookie?"-nocookie":""}.com`,l=Vt(o,r),s=encodeURIComponent(e[2]);t.videoId=s,t.src=`https://${a}/embed/${s}?${l}`,t.thumb=t.thumb||`https://i.ytimg.com/vi/${s}/mqdefault.jpg`,i="youtube"}}if(!i||"vimeo"===i){const e=o.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(e){const r=Object.assign(Object.assign({},n().vimeo),t.vimeo||{}
2),a=Vt(o,r),l=encodeURIComponent(e[2]),s=e[5]||"";t.videoId=l,t.src=`https://player.vimeo.com/video/${l}?${s?`h=${s}${a?"&":""}`:""}${a}`,i="vimeo"}}t.type=i}function a(t,o){"html5video"===o.type&&function(t){if(!e||!t.el||!t.src)return;const{el:o,src:i}=t;if(!o||!i)return;const r=t.html5videoTpl||n().html5videoTpl,a=t.html5videoFormat||n().html5videoFormat;if(!r)return;const l=t.poster||(t.thumb&&he(t.thumb)?t.thumb:""),s=ye(r.replace(/\{\{src\}\}/gi,i+"").replace(/\{\{format\}\}/gi,a||"").replace(/\{\{poster\}\}/gi,l+""));if(!s)return;const c=document.createElement("div");c.classList.add("f-html"),c.append(s),t.contentEl=s,t.htmlEl=c,o.classList.add(`has-${t.type}`),o.prepend(c),d(t),e.emit("contentReady",t)}(o),"youtube"!==o.type&&"vimeo"!==o.type||function(t){if(!e||!t.el||!t.src)return;const o=document.createElement("iframe");o.classList.add("f-iframe"),o.setAttribute("id",`f-iframe_${t.videoId}`);for(const[e,r]of Object.entries(n().iframeAttr||{}))o.setAttribute(e,r);o.onload=()=>{var n;e&&1===e.getState()&&"youtube"===t.type&&(null===(n=o.contentWindow)||void 0===n||n.postMessage(JSON.stringify({event:"listening",id:o.getAttribute("id")}),"*"))},o.onerror=()=>{e&&1===e.getState()&&(null==e||e.showError(t,"{{IFRAME_ERROR}}"))},o.src=t.src;const i=document.createElement("div");i.classList.add("f-html"),i.append(o),t.contentEl=o,t.htmlEl=i,t.el.classList.add("has-html"),t.el.classList.add("has-iframe"),t.el.classList.add(`has-${t.type}`),t.el.prepend(i),d(t),e.emit("contentReady",t)}(o)}function l(e,t){var n,o;"html5video"!==t.type&&"youtube"!==t.type&&"vimeo"!==t.type||(null===(n=t.contentEl)||void 0===n||n.remove(),t.contentEl=void 0,null===(o=t.htmlEl)||void 0===o||o.remove(),t.htmlEl=void 0),t.poller&&clearTimeout(t.poller)}function s(){t=!1}function c(){if(t)return;t=!0;const e=o();(e&&void 0!==e.autoplay?e.autoplay:n().autoplay)&&(function(){var e;const t=o(),n=null==t?void 0:t.el;if(n&&"html5video"===(null==t?void 0:t.type))try{const e=n.querySelector("video");if(e){const t=e.play();void 0!==t&&t.then(()=>{}).catch(t=>{e.muted=!0,e.play()})}}catch(e){}const i=null==t?void 0:t.htmlEl;i instanceof HTMLIFrameElement&&(null===(e=i.contentWindow)||void 0===e||e.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"))}(),function(){const e=o(),t=null==e?void 0:e.type;if(!(null==e?void 0:e.el)||"youtube"!==t&&"vimeo"!==t)return;const n=()=>
2{if(e.contentEl&&e.contentEl instanceof HTMLIFrameElement&&e.contentEl.contentWindow){let t;if("true"===e.contentEl.dataset.ready)return t="youtube"===e.type?{event:"command",func:"playVideo"}:{method:"play",value:"true"},t&&e.contentEl.contentWindow.postMessage(JSON.stringify(t),"*"),void(e.poller=void 0);"youtube"===e.type&&(t={event:"listening",id:e.contentEl.getAttribute("id")},e.contentEl.contentWindow.postMessage(JSON.stringify(t),"*"))}e.poller=setTimeout(n,250)};n()}())}function d(e){const t=null==e?void 0:e.htmlEl;if(e&&t&&("html5video"===e.type||"youtube"===e.type||"vimeo"===e.type)){if(t.style.aspectRatio="",t.style.width="",t.style.height="",t.style.maxWidth="",t.style.maxHeight="",e.width){let n=`${e.width}`;n.match(/^\d+$/)&&(n+="px"),t.style.maxWidth=`${n}`}if(e.height){let n=`${e.height}`;n.match(/^\d+$/)&&(n+="px"),t.style.maxHeight=`${n}`}if(e.aspectRatio){const n=e.aspectRatio.split("/"),o=parseFloat(n[0].trim()),i=n[1]?parseFloat(n[1].trim()):0,r=o&&i?o/i:o;t.offsetHeight;const a=t.getBoundingClientRect(),l=r<(a.width||1)/(a.height||1);t.style.aspectRatio=`${e.aspectRatio}`,t.style.width=l?"auto":"",t.style.height=l?"":"auto"}}}function u(){d(o())}return{init:function(t){e=t,e.on("addSlide",r),e.on("attachSlideEl",a),e.on("detachSlideEl",l),e.on("ready",c),e.on("change",s),e.on("settle",c),e.on("refresh",u),window.addEventListener("message",i)},destroy:function(){null==e||e.off("addSlide",r),null==e||e.off("attachSlideEl",a),null==e||e.off("detachSlideEl",l),null==e||e.off("ready",c),null==e||e.off("change",s),null==e||e.off("settle",c),null==e||e.off("refresh",u),window.removeEventListener("message",i),e=void 0}}},Yt={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},Xt="in-fullscreen-mode",Zt=()=>{let e;function t(t){const n=null==e?void 0:e.getOptions().Fullscreen;let o=(pe(n)?Object.assign(Object.assign({},Yt),n):Yt)[t];return o&&"function"==typeof o&&e?o(e):o}function n(){var n;null===(n=null==e?void 0:e.getPlugins().Toolbar)||void 0===n||n.add("fullscreen",{tpl:t("btnTpl")})}function o(){if(t("autoStart")){const e=r();e&&l(e)}}function i(e,t){const n=t.target;n&&!t.defaultPrevented&&"toggle"===n.dataset.fullscreenAction&&c()}function r(){return t("el")||(null==e?void 0:e.getContainer())||void 0}function a(){const e=document;return e.fullscreenEnabled?!!e.fullscreenElement:!!e.webkitFullscreenEnabled&&!!e.webkitFullscreenElement}function l(e){const t=document;let n;return e||(e=t.documentElement),t.fullscreenEnabled?n=e.requestFullscreen():t.webkitFullscreenEnabled&&(n=e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),n&&n.then(()=>{e.classList.add(Xt)}),n}function s(){const e=document;let t;return e.fullscreenEnabled?t=e.fullscreenElement&&e.exitFullscreen():e.webkitFullscreenEnabled&&(t=e.webkitFullscreenElement&&e.webkitExitFullscreen()),t&&t.then(()=>{var e;null===(e=r())||void 0===e||e.classList.remove(Xt)}),t}function c(){if(a())s();else{const e=r();e&&l(e)}}return{init:function(t){e=t,e.on("initPlugins",n),e.on("ready",o),e.on("click",i)},destroy:function(){null==e||e.off("initPlugins",n),null==e||e.off("ready",o),null==e||e.off("click",i)},exit:s,inFullscreen:a,request:l,toggle:c}};let Qt,Kt=!1,Jt=!1,en=!1,tn=!1;const nn=()=>{const e=new URL(document.URL).hash,t=e.slice(1).split("-"),n=t[t.length-1],o=n&&/^\+?\d+$/.test(n)&&parseInt(t.pop()||"1",10)||1;return{urlHash:e,urlSlug:t.join("-"),urlIndex:o}},on=()=>{const e=null==Qt?void 0:Qt.getInstance();return!(!e||1!=e.getState())},rn=()=>{if(!Qt)return;if(on())return;const{urlSlug:e,urlIndex:t}=nn();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);if(n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),on())return;const o=document.querySelectorAll(`[data-fancybox="${e}"]`);if(!o.length)return;const i=o[t-1];i&&i.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0}))},an=()=>
2{if(!Qt)return;if(en)return;const e=null==Qt?void 0:Qt.getInstance(),t=null==e?void 0:e.getCarousel();if(!1===(null==e?void 0:e.getOptions().Hash))return;const{urlSlug:n,urlIndex:o}=nn();if(e&&t){const i=t.getSlides();for(const e of i||[])if(n===e.slug||n===e.fancybox&&e.index===o-1)return void t.goTo(e.index);tn=!0,e.close(),tn=!1}rn()},ln=()=>{Qt&&setTimeout(()=>{Kt=!0,rn(),Kt=!1,window.addEventListener("hashchange",an,!1)},300)},sn=()=>{let e,t="auto",n="";function o(){var o,r;if(!e||!e.isTopMost())return;if(!1===e.getOptions().Hash)return;const a=e.getCarousel();if(!a)return;const{urlHash:l,urlSlug:s}=nn(),c=e.getSlide();if(!c)return;let d=c.slug||c.fancybox||"",u=parseInt(c.index+"",10)+1;if(!d)return;let f=c.slug?`#${c.slug}`:`#${d}-${u}`;if(((null===(r=null===(o=e.getCarousel())||void 0===o?void 0:o.getPages())||void 0===r?void 0:r.length)||0)<2&&(f=`#${d}`),l!==f&&(n=l),history.scrollRestoration&&(t=history.scrollRestoration,history.scrollRestoration="manual"),a.on("change",i),Kt)return;const m=d!==s;try{window.history[m?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+f)}catch(e){}m&&(Jt=!0)}function i(){if(!e||!e.isTopMost())return;if(!1===e.getOptions().Hash)return;const t=e.getSlide();if(!t)return;let n=t.slug||t.fancybox||"",o=t.index+1,i=t.slug?`#${t.slug}`:`#${n}-${o}`;en=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+i)}catch(e){}en=!1}function r(){if(tn)return;if(!e||!e.isTopMost())return;if(!1===e.getOptions().Hash)return;const t=e.getSlide();if(t&&t.fancybox){en=!0;try{!Jt||Kt||function(){if(window.parent===window)return!1;try{var e=window.frameElement}catch(t){e=null}return null===e?"data:"===location.protocol:e.hasAttribute("sandbox")}()?window.history.replaceState({},document.title,window.location.pathname+window.location.search+n):window.history.back()}catch(e){}en=!1}}return{init:function(t){e=t,e.on("ready",o),e.on("close",r)},destroy:function(){null==e||e.off("ready",o),null==e||e.off("close",r);const n=null==e?void 0:e.getCarousel();n&&n.off("change",i),e=void 0,history.scrollRestoration&&t&&(history.scrollRestoration=t)}}};sn.startFromUrl=rn,sn.setup=function(e){Qt||(Qt=e,xe()&&(/complete|interactive|loaded/.test(document.readyState)?ln():document.addEventListener("DOMContentLoaded",ln)))};const cn=Object.assign(Object.assign({},ut),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page"}),dn='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24"><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';Ft().add("close",{tpl:dn});const un=e=>{e.cancelable&&e.preventDefault()},fn=e=>{e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))},mn=(e=null,t="",n)=>{if(!e||!e.parentElement||!t)return void(n&&n());fn(e);const o=i=>{i.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",o),delete e.dataset.animationName,n&&n(),e.classList.remove(t))};e.dataset.animationName=t,e.addEventListener("animationend",o),Ae(e,t)};var gn;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.Destroyed=3]="Destroyed"}(gn||(gn={}));const pn={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:cn,mainClass:"",mainStyle:{},mainTpl:'<dialog class="fancybox__dialog">\n    <div class="fancybox__container" tabindex="0" aria-label="{{MODAL}}">\n      <div class="fancybox__backdrop"></div>\n      <div class="fancybox__carousel"></div>\n    </div>\n  </dialog>',modal:!0,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},hn=new Map;let vn=0;const yn="with-fancybox",bn=()=>{let e,t,n,o,i,r,a,l=gn.Init,s=Object.assign({},pn),c=-1,d={},u=[],f=!1,m=!0,g=0;function p(e,...t){let n=s[e];return n&&"function"==typeof n?n(Y,...t):n}function h(e,t=[]){const n=p("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let o=0;o<t.length;o++)e=e.split(t[o][0]).join(t[o][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t)}const v=new Map;function y(e,...t){const n=[...v.get(e)||[]];for(const[o,i]of Object.entries(s.on||{}))(o===e||o.split(" ").indexOf(e)>-1)&&n.push(i);for(const o of n)o&&"function"==typeof o&&o(Y,...t);"*"!==e&&y("*",e,...t)}function b(){ke(t,"is-revealing");try{document.activeElement===e&&((null==t?void 0:t.querySelector("[autofocus]"))||t).focus()}catch(n){}}function E(e,t){var n;R(t),M(),null===(n=t.el)||void 0===n||n.addEventListener("click",x),"inline"!==t.type&&"clone"!==t.type||function(e){if(!o||!e||!e.el)return;let t=null;if(he(e.src)){const n=e.src.split("#",2).pop();t=n?document.getElementById(n):null}if(t){if(Ae(t,"f-html"),"clone"===e.type||t.closest(".fancybox__carousel")){t=t.cloneNode(!0);const n=t.dataset.animationName;n&&(t.classList.remove(n),delete t.dataset.animationName);let o=t.getAttribute("id");o=o?`${o}--clone`:`clone-${c}-${e.index}`,t.setAttribute("id",o)}else if(t.parentNode){const n=document.createElement("div");n.inert=!0,t.parentNode.insertBefore(n,t),e.placeholderEl=n}e.htmlEl=t,Ae(e.el,"has-html"),e.el.prepend(t),t.classList.remove("hidden"),"none"===t.style.display&&(t.style.display=""),"none"===getComputedStyle(t).getPropertyValue("display")&&(t.style.display=t.dataset.display||"flex"),null==o||o.emit("contentReady",e)}else null==o||o.showError(e,"{{ELEMENT_NOT_FOUND}}")}(t),"ajax"===t.type&&function(e){const t=e.el;if(!t)return;if(e.htmlEl||e.xhr)return;null==o||o.showLoading(e),e.state=0;const n=new XMLHttpRequest;n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE&&l===gn.Ready)if(null==o||o.hideLoading(e),e.state=1,200===n.status){let i=n.responseText+"",r=null,a=null;if(e.filter){const t=document.createElement("div");t.innerHTML=i,a=t.querySelector(e.filter+"")}a&&a instanceof HTMLElement?r=a:(r=document.createElement("div"),r.innerHTML=i),r.classList.add("f-html"),e.htmlEl=r,t.classList.add("has-html"),t.classList.add("has-ajax"),t.prepend(r),null==o||o.emit("contentReady",e)}else null==o||o.showError(e)};const i=p("ajax")||null;n.open(i?"POST":"GET",e.src+""),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(i),e.xhr=n}(t)}function w(e,t){var n;!function(e){e.closeButtonEl&&(e.closeButtonEl.remove(),e.closeButtonEl
2=void 0)}(t),null===(n=t.el)||void 0===n||n.removeEventListener("click",x),"inline"!==t.type&&"clone"!==t.type||function(e){const t=e.htmlEl,n=e.placeholderEl;t&&("none"!==getComputedStyle(t).getPropertyValue("display")&&(t.style.display="none"),t.offsetHeight),n&&(t&&n.parentNode&&n.parentNode.insertBefore(t,n),n.remove()),e.htmlEl=void 0,e.placeholderEl=void 0}(t),t.xhr&&(t.xhr.abort(),t.xhr=void 0)}function x(e){if(!P())return;if(l!==gn.Ready)return un(e),void e.stopPropagation();if(e.defaultPrevented)return;if(!Ze.isClickAllowed())return;const t=e.composedPath()[0];t.closest(".fancybox__carousel")&&t.classList.contains("fancybox__slide")&&L(e)}function C(){m=!1,t&&o&&t.classList.remove("is-revealing"),M();const e=p("sync");if(o&&e){const t=e.getPageIndex(o.getPageIndex())||0;e.goTo(t,{transition:!1})}}function S(){var e;!function(){const e=null==o?void 0:o.getViewport();if(!p("dragToClose")||!o||!e)return;if(i=Ze(e).init(),!i)return;let n=!1,a=0,s=0,c={},d=1;function u(){var e,t;null==r||r.spring({clamp:!0,mass:1,tension:0===s?140:960,friction:17,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:a}).to({y:s}).start();const n=(null===(e=null==o?void 0:o.getViewport())||void 0===e?void 0:e.getBoundingClientRect().height)||0,i=null===(t=j())||void 0===t?void 0:t.panzoomRef;if(n&&i)if(0===s)i.execute(tt.Reset);else{const e=Se(Math.abs(a),0,.33*n,d,.75*d,!1);i.execute(tt.ZoomTo,{scale:e})}}const f=e=>{var t;const n=e.srcEvent,i=n.target;return o&&!(Ne(n)&&(null===(t=n.touches)||void 0===t?void 0:t.length)>1)&&i&&!be(i)};r=Fe().on("step",n=>{if(t&&e&&l===gn.Ready){const o=e.getBoundingClientRect().height;a=Math.min(o,Math.max(-1*o,n.y));const i=Se(Math.abs(a),0,.5*o,1,0,!0);t.style.setProperty("--f-drag-opacity",i+""),t.style.setProperty("--f-drag-offset",a+"px")}}),i.on("start",function(){n||(null==r||r.pause(),s=a)}).on("panstart",e=>{var t,i;if(!n&&f(e)&&"y"===e.axis){un(e.srcEvent),n=!0,B(),null===(t=null==o?void 0:o.getViewport())||void 0===t||t.classList.add("is-dragging");const r=null===(i=j())||void 0===i?void 0:i.panzoomRef;if(r){d=r.getTransform().scale||1;const e=r.getOptions();c=Object.assign({},e),e.bounds=!1,e.gestures=!1}}else n=!1}).on("pan",function(e){n&&f(e)&&(un(e.srcEvent),e.srcEvent.stopPropagation(),"y"===e.axis&&(s+=e.deltaY,u()))}).on("end",e=>{var t,i,r;if(null===(t=null==o?void 0:o.getViewport())||void 0===t||t.classList.remove("is-dragging"),n){const t=null===(i=j())||void 0===i?void 0:i.panzoomRef;if(t){null===(r=t.getTween())||void 0===r||r.end();const e=t.getOptions();e.bounds=c.bounds||!1,e.gestures=c.gestures||!1}f(e)&&"y"===e.axis&&(Math.abs(e.velocityY)>5||Math.abs(a)>50)&&V(e.srcEvent,"f-throwOut"+(e.velocityY>0?"Down":"Up"))}n=!1,l===gn.Ready&&0!==a&&(s=0,u())})}(),document.body.addEventListener("click",I),document.body.addEventListener("keydown",_,{passive:!1,capture:!0}),M(),q();const n=p("sync");n&&(null===(e=n.getTween())||void 0===e||e.start()),z(j())}function A(){(null==o?void 0:o.canGoNext())?q():G()}function k(e,t){R(t),z(t)}function T(){var e;const n=null==o?void 0:o.getPlugins().Thumbs;Te(t,"has-thumbs",(null==n?void 0:n.isEnabled())||!1),Te(t,"has-vertical-thumbs",!!n&&("scrollable"===n.getType()||!0===(null===(e=n.getCarousel())||void 0===e?void 0:e.isVertical())))}function M(){if(t){const e=(null==o?void 0:o.getPages())||[],n=(null==o?void 0:o.getPageIndex())||0;for(const o of t.querySelectorAll("[data-fancybox-index]"))o.innerHTML=n+"";for(const o of t.querySelectorAll("[data-fancybox-page]"))o.innerHTML=n+1+"";for(const o of t.querySelectorAll("[data-fancybox-pages]"))o.innerHTML=e.length+""}}function L(e){e.composedPath()[0].closest("[data-fancybox-close]")?V(e):(y("backdropClick",e),e.defaultPrevented||p("backdropClick")&&V(e))}function O(){H()}function _(e){if(!P())return;if(l!==gn.Ready)return;const t=e.key,n=p("keyboard");if(!n)return;if(e.ctrlKey||e.altKey||e.shiftKey)return;const i=e.composedPath()[0];if(!ve(i))return;if("Escape"!==t&&(e=>{const t=["input","textarea","select","option","video","iframe","[contenteditable]","[data-selectable]","[data-draggable]"].join(",");return e.matches(t)||e.closest(t)})(i))return;if(y("keydown",e),e.defaultPrevented)return;const r=n[t];
2if(r)switch(r){case"close":V(e);break;case"next":un(e),null==o||o.next();break;case"prev":un(e),null==o||o.prev()}}function I(e){if(!P())return;if(l!==gn.Ready)return;if(H(),e.defaultPrevented)return;const t=e.composedPath()[0],n=!!t.closest("[data-fancybox-close]"),o=t.classList.contains("fancybox__backdrop");(n||o)&&L(e)}function R(e){var t;const{el:n,htmlEl:i,closeButtonEl:r}=e;if(!n||!i||r)return;let a=p("closeButton");if("auto"===a&&(a=!0!==(null===(t=null==o?void 0:o.getPlugins().Toolbar)||void 0===t?void 0:t.isEnabled())),a){const t=ye(h(dn));t&&(Ae(t,"is-close-button"),e.closeButtonEl=i.insertAdjacentElement("afterbegin",t),n.classList.add("has-close-btn"))}}function z(e){if(!(m&&o&&1===o.getState()&&e&&e.index===o.getOptions().initialPage&&e.el&&e.el.parentElement))return;if(void 0!==e.state&&1!==e.state)return;m=!1;const t=e.panzoomRef,n=null==t?void 0:t.getTween(),i=p("zoomEffect")&&n?N(e):void 0;if(t&&n&&i){const{x:e,y:o,scale:r}=t.getStartPosition();return void n.spring({tension:215,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(i).to({x:e,y:o,scale:r}).start()}const r=(null==t?void 0:t.getContent())||e.htmlEl;r&&mn(r,p("showClass",e))}function P(){var e;return(null===(e=En.getInstance())||void 0===e?void 0:e.getId())===c}function j(){var e;return null===(e=null==o?void 0:o.getPage())||void 0===e?void 0:e.slides[0]}function F(){const e=j();return e?e.triggerEl||p("triggerEl"):void 0}function N(e){var t,n;const o=e.thumbEl;if(!o||!(e=>{const t=e.getBoundingClientRect(),n=e.closest("[style]"),o=null==n?void 0:n.parentElement;if(n&&n.style.transform&&o){const e=o.getBoundingClientRect();if(t.left<e.left||t.left>e.left+e.width-t.width)return!1;if(t.top<e.top||t.top>e.top+e.height-t.height)return!1}const i=Math.max(document.documentElement.clientHeight,window.innerHeight),r=Math.max(document.documentElement.clientWidth,window.innerWidth);return!(t.bottom<0||t.top-i>=0||t.right<0||t.left-r>=0)})(o))return;const i=null===(n=null===(t=e.panzoomRef)||void 0===t?void 0:t.getWrapper())||void 0===n?void 0:n.getBoundingClientRect(),r=null==i?void 0:i.width,a=null==i?void 0:i.height;if(!r||!a)return;const l=o.getBoundingClientRect();let s=l.width,c=l.height,d=l.left,u=l.top;if(l&&s&&c){if(o instanceof HTMLImageElement){const e=window.getComputedStyle(o).getPropertyValue("object-fit");if("contain"===e||"scale-down"===e){const{width:t,height:n}=((e,t,n,o,i="contain")=>{if("contain"===i||e>n||t>o){const i=n/e,r=o/t,a=Math.min(i,r);e*=a,t*=a}return{width:e,height:t}})(o.naturalWidth,o.naturalHeight,s,c,e);d+=.5*(s-t),u+=.5*(c-n),s=t,c=n}}if(!(Math.abs(r/a-s/c)>.1))return{x:d+.5*s-(i.left+.5*r),y:u+.5*c-(i.top+.5*a),scale:s/r}}}function D(){a&&clearTimeout(a),a=void 0,document.removeEventListener("mousemove",O)}function q(){if(f)return;if(a)return;const e=p("idle");e&&(a=setTimeout($,e))}function $(){t&&(D(),Ae(t,"is-idle"),document.addEventListener("mousemove",O),f=!0)}function H(){f&&(G(),q())}function G(){D(),null==t||t.classList.remove("is-idle"),f=!1}function B(){if(p("placeFocusBack")){const t=F();!t||(e=t.getBoundingClientRect()).bottom>0&&e.right>0&&e.left<(window.innerWidth||document.documentElement.clientWidth)&&e.top<(window.innerHeight||document.documentElement.clientHeight)||t.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}var e}function V(e,t){var n,a,s,c,d;if(l===gn.Closing||l===gn.Destroyed)return;const u=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(y("shouldClose",u,e),u.defaultPrevented)return;if(D(),e){if(e.defaultPrevented)return;un(e),e.stopPropagation(),e.stopImmediatePropagation()}if(l=gn.Closing,null==r||r.pause(),null==i||i.destroy(),o){null===(n=o.getGestures())||void 0===n||n.destroy(),null===(a=o.getTween())||void 0===a||a.pause();for(const e of o.getSlides()){const t=e.panzoomRef;t&&(we(t.getOptions(),{clickAction:!1,dblClickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0}),null===(s=t.getGestures())||void 0===s||s.destroy(),null===(c=t.getTween())||void 0===c||c.pause())}}const f=null==o?void 0:o.getPlugins();null===(d=null==f?void 0:f.Autoplay)||void 0===d||d.stop();const m=null==f?void 0:f.Fullscreen;m&&m.inFullscreen()?Promise.resolve(m.exit()).then(()=>{setTimeout(()=>{W(e,t)},150)}):W(e,t)}function W(e,n){var i,r;if(l!==gn.Closing)return;y("close",e),m=!1,document.body.removeEventListener("click",I),document.body.removeEventListener("keydown",_,{passive:!1,capture:!0}),B(),p("fadeEffect")&&(null==t||t.classList.remove("is-ready"),null==t||t.classList.add("is-hiding")),null==t||t.classList.add("is-closing");const a=j(),s=null==a?void 0:a.el,c=null==a?void 0:a.panzoomRef,d=null===(i=null==a?void 0:a.panzoomRef)||void 0===i?void 0:i.getTween(),u=n||p("hideClass");let f=!1,g=!1;if(o&&a&&s&&c&&d){let e;if(p("zoomEffect")&&1===a.state&&(e=N(a)),e){f=!0;const t=()=>{e=N(a),e&&d.to(Object.assign(Object.assign({},ot),e))};c.on("refresh",()=>{t()}),d.easing(Fe.Easings.EaseOut).duration(350).from(Object.assign({},c.getTransform())).to(Object.assign(Object.assign({},ot),e)).start(),(null==s?void 0:s.getAnimations())&&(s.style.animationPlayState="paused",requestAnimationFrame(()=>{t()}))}}const h=(null==a?void 0:a.htmlEl)||(null===(r=null==a?void 0:a.panzoomRef)||void 0===r?void 0:r.getWrapper());h&&fn(h),!f&&u&&h&&(g=!0,mn(h,u,()=>{U()})),f||g?setTimeout(()=>{U()},350):U()}function U(){var n,i,r,a,s;if(l===gn.Destroyed)return;l=gn.Destroyed;const u=F();y("destroy"),null===(i=null===(n=p("sync"))||void 0===n?void 0:n.getPlugins().Autoplay)||void 0===i||i.resume(),null===(a=null===(r=p("sync"))||void 0===r?void 0:r.getPlugins().Autoscroll)||void 0===a||a.resume(),e instanceof HTMLDialogElement&&e.close(),null===(s=null==o?void 0:o.getContainer())||void 0===s||s.classList.remove("is-idle"),null==o||o.destroy();for(const e of Object.values(d))null==e||e.destroy();if(d={},null==e||e.remove(),e=void 0,t=void 0,o=void 0,hn.delete(c),!hn.size&&(Ee(!1),document.documentElement.classList.remove(yn),p("placeFocusBack")))try{null==u||u.focus({preventScroll:!0})}catch(n){}}const Y={close:V,destroy:U,getCarousel:function(){return o},getContainer:function(){return t},getId:function(){return c},getOptions:function(){return s},getPlugins:function(){return d},getSlide:function(){return j()},getState:function(){return l},init:function(i=[],r={}){return function(i=[],r={}){l!==gn.Init&&(Y.destroy(),l=gn.Init),s=we({},pn,r),c=p("id")||"fancybox-"+ ++vn;const a=hn.get(c);if(a&&a.destroy(),hn.set(c,Y),y("init"),function(){for(const[e,t]of Object.entries(Object.assign(Object.assign({},En.Plugins),s.plugins||{})))if(e&&!d[e]&&t instanceof Function){const n=t();n.init(Y),d[e]=n}y("initPlugins")}(),function(e=[]){y("initSlides",e),u=[...e]}(i),function(){const n=p("parentEl")||document.body;if(!(n&&n instanceof HTMLElement))return;const i=h(p("mainTpl")||"");if(e=ye(i)||void 0,!e)return;if(t=e.querySelector(".fancybox__container"),!(t&&t instanceof HTMLElement))return;const r=p("mainClass");r&&Ae(t,r);const a=p("mainStyle");if(a&&pe(a))for(const[e,o]of Object.entries(a))t.style.setProperty(e,o);const l=p("theme"),s="auto"===l?window.matchMedia("(prefers-color-scheme:light)").matches:"light"===l;t.setAttribute("theme",s?"light":"dark"),e.setAttribute("id",`${c}`),e.addEventListener("keydown",e=>{"Escape"===e.key&&un(e)}),e.addEventListener("wheel",e=>{const t=e.target;let n=p("wheel",e);t.closest(".f-thumbs")&&(n="slide");const i="slide"===n,r=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e}),a=Math.max(-1,Math.min(1,r)),l=Date.now();g&&l-g<300?i&&un(e):(g=l,y("wheel",e,a),e.defaultPrevented||("close"===n?V(e):"slide"===n&&o&&!be(t)&&(un(e),o[a>0?"prev":"next"]())))},{capture:!0,passive:!1}),e.addEventListener("cancel",e=>{V(e)}),n.append(e),1===hn.size&&(p("hideScrollbar")&&Ee(!0),document.documentElement.classList.add(yn)),e instanceof HTMLDialogElement&&(p("modal")?e.showModal():e.show()),y("initLayout")}(),function(){if(n=(null==e?void 0:e.querySelector(".fancybox__carousel"))||void 0,!n)return;n.fancybox=Y;const i=we({},{Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:e=>{const t=e.getContainer();return(null==t?void 0:t.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||t}},Fullscreen:{el:t},Toolbar:{absolute:!0,items:{counter:{tpl:'<div class="f-counter"><span data-fancybox-page></span>/<span data-fancybox-pages></span></div>'}},display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Thumbs:{minCount:2,Carousel:{classes:{container:"fancybox__thumbs"}}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:wt,Arrows:Lt,Lazyload:kt,Zoomable:bt,Html:Bt,Video:Ut,Autoplay:Dt,Fullscreen:Zt,Thumbs:Ht,Toolbar:Ft}},p("Carousel")||{},{slides:u,enabled:!0,initialPage:p("startIndex")||0,l10n:p("l10n")});
2o=ht(n,i),y("initCarousel",o),o.on("*",(e,t,...n)=>{y(`Carousel.${t}`,e,...n)}),o.on("attachSlideEl",E),o.on("detachSlideEl",w),o.on("contentReady",k),o.on("ready",S),o.on("change",C),o.on("settle",A),o.on("thumbs:ready",T),o.on("thumbs:destroy",T),o.init()}(),e&&t){if(p("closeExisting"))for(const[e,t]of hn.entries())e!==c&&t.close();p("fadeEffect")?(setTimeout(()=>{b()},500),Ae(t,"is-revealing")):b(),t.classList.add("is-ready"),l=gn.Ready,y("ready")}}(i,r),Y},isCurrentSlide:function(e){const t=j();return!(!e||!t)&&t.index===e.index},isTopMost:function(){return P()},off:function(e,t){return v.has(e)&&v.set(e,v.get(e).filter(e=>e!==t)),Y},on:function(e,t){return v.set(e,[...v.get(e)||[],t]),Y},toggleIdle(e){(f||!0===e)&&$(),f&&!1!==e||G()}};return Y},En={Plugins:{Hash:sn},version:"6.1.0",openers:new Map,bind:function(e,t,n){if(!xe())return;let o=document.body,i="[data-fancybox]",r={};if(he(e)?(o=document.body,i=e,"object"==typeof t&&(r=t||{})):e instanceof Element&&(o=e,he(t)&&(i=t),"object"==typeof n&&(r=n||{})),!(o&&o instanceof Element&&i))return!1;const a=En.openers.get(o)||new Map;if(a.set(i,r),En.openers.set(o,a),1===a.size){o.addEventListener("click",En.fromEvent);for(const e of Object.values(En.Plugins)){const t=e.setup;"function"==typeof t&&t(En)}}return!0},close:function(e=!0,...t){if(e)for(const n of hn.values())n.close(...t);else{const e=En.getInstance();e&&e.close(...t)}},destroy:function(){let e;for(;e=En.getInstance();)e.destroy();for(const t of En.openers.keys())t.removeEventListener("click",En.fromEvent);En.openers.clear()},fromEvent:function(e){var t,n,o;if(e.defaultPrevented)return;if(e.button&&0!==e.button)return;if(e.ctrlKey||e.metaKey||e.shiftKey)return;let i=e.composedPath()[0];if(i.closest(".fancybox__container.is-hiding"))return un(e),void e.stopPropagation();const r=i.closest("[data-fancybox-delegate]")||void 0;if(r){const e=r.dataset.fancyboxDelegate||"",t=document.querySelectorAll(`[data-fancybox="${e}"]`);i=t[parseInt(r.dataset.fancyboxIndex||"",10)||0]||t[0]}if(!(i&&i instanceof Element))return;let a,l,s={};for(const[h,v]of En.openers)if(v&&h.contains(i))for(const[t,n]of v){let o=null;try{o=i.closest(t)}catch(e){}o&&(i=o,a=h,l=t,we(s,n||{}))}if(!a||!l)return;un(e);const c=we({},pn,{triggerEvent:e,triggerEl:i,delegateEl:r},s),d=c.groupAll,u=c.groupAttr,f=u&&i?i.getAttribute(`${u}`):"";let m=[];const g=null===(t=i.closest(".f-carousel"))||void 0===t?void 0:t.carousel;if(g){const e=[];for(const t of null==g?void 0:g.getSlides()){const n=t.el;n&&(n.matches(l)?e.push(n):e.push(...[].slice.call(n.querySelectorAll(l))))}e.length&&(m=[...e],null===(n=g.getPlugins().Autoplay)||void 0===n||n.pause(),null===(o=g.getPlugins().Autoscroll)||void 0===o||o.pause(),c.sync=g)}else(!i||f||d)&&(m=[].slice.call(a.querySelectorAll(l)));if(i&&!d&&(m=u&&f?m.filter(e=>e.getAttribute(`${u}`)===f):[i]),!m.length)return;const p=En.getInstance();if(p){const e=p.getOptions().triggerEl;if(e&&m.indexOf(e)>-1)return}return Object.assign({},c.Carousel||{}).rtl&&(m=m.reverse()),i&&(c.startIndex=m.indexOf(i)),En.fromNodes(m,c)},fromNodes:function(e,t){t=we({},pn,t||{});const n=[],o=e=>e instanceof HTMLImageElement?e:e instanceof HTMLElement?e.querySelector("img:not([aria-hidden])"):void 0;for(const i of e){const r=i.dataset||{},a=t.delegateEl&&e.indexOf(i)===t.startIndex?t.delegateEl:void 0,l=o(a)||o(i)||void 0,s=r.src||i.getAttribute("href")||i.getAttribute("currentSrc")||i.getAttribute("src")||void 0,c=r.thumb||r.thumbSrc||(null==l?void 0:l.getAttribute("currentSrc"))||(null==l?void 0:l.getAttribute("src"))||(null==l?void 0:l.dataset.lazySrc)||void 0,d={src:s,alt:r.alt||(null==l?void 0:l.getAttribute("alt"))||void 0,thumbSrc:c,thumbEl:l,triggerEl:i,delegateEl:a};for(const e in r){let t=r[e]+"";t="false"!==t&&("true"===t||t),d[e]=t}n.push(d)}return En.show(n,t)},fromSelector:function(e,t,n){let o=document.body,i="",r={};if(he(e)?i=e:e instanceof Element&&(o=e,he(t)&&(i=t),"object"==typeof n&&(r=n||{})),!(o&&o instanceof Element&&i))return;const a=En.openers.get(o);return a?(r=we({},a.get(i)||{},r),r?En.fromNodes(Array.from(o.querySelectorAll(i)),r):void 0):void 0},getCarousel:function(){var e;return(null===(e=En.getInstance())||void 0===e?void 0:e.getCarousel())||void 0},getDefaults:function(){return pn},getInstance:function(e){if(e){const t=hn.get(e);return t&&t.getState()!==gn.Destroyed?t:void 0}return Array.from(hn.values()).reverse().find(e=>{if(e.getState()!==gn.Destroyed)return e})||void 0},getSlide:function(){var e;return(null===(e=En.getInstance())||void 0===e?void 0:e.getSlide())||void 0},show:function(e=[],t={}){return bn().init(e,t)},unbind:function(e,t){let n=document.body,o="";if(he(e)?o=e:e instanceof Element&&(n=e,he(t)&&(o=t)),n){const e=En.openers.get(n);e&&o&&e.delete(o),(null==e?void 0:e.size)&&o||En.openers.delete(n),n.removeEventListener("click",En.fromEvent)}}};var wn=n(62604),xn=n(35345),Cn=n.n(xn);const Sn=e=>{const{items:t}=e,[n]=function(e){void 0===e&&(e={});const t=(0,o.useRef)(null);return(0,o.useEffect)(()=>
2{if(t.current)return En.bind(t.current,"[data-fancybox]",e),()=>En.unbind(t.current)},[t,e]),[t]}(),i=null==t?void 0:t.filter(e=>!!e.videoUrl||!!e.video);return o.createElement(An,{style:{borderRadius:"var(--Radius-Radius-3, 16px)"}},o.createElement(kn,null,o.createElement(ge.A,{options:{loop:!1,centeredSlides:!0,slidesPerView:1,navigation:{prevEl:".productGalleryPrevious",nextEl:".productGalleryNext"},pagination:{el:".swiper-pagination",clickable:!0}},ref:n},null==t?void 0:t.map(e=>{const t=(0,l.Q)(e.image);return o.createElement(ge.A.Item,{key:e._uid,"data-fancybox":"gallery","data-src":e.videoUrl||e.video?`#${e._uid}`:t.src,"data-caption":e.title,style:{borderRadius:"var(--Radius-Radius-3, 16px)"}},o.createElement(k.A,{fluid:t,alt:e.title}))})),o.createElement(In,{className:"productGalleryPrevious"}),o.createElement(In,{className:"productGalleryNext"})),o.createElement(Tn,null,o.createElement(Mn,{className:"swiper-pagination"}),o.createElement(On,{onClick:()=>{const e=document.getElementsByClassName("swiper-slide-active")[0];null==e||e.click()}})),null==i?void 0:i.map(e=>{var t,n;return o.createElement(Ln,{key:e._uid,id:e._uid.toString()},e.videoUrl?o.createElement(me(),{url:e.videoUrl}):(null===(t=e.video)||void 0===t?void 0:t.filename)&&o.createElement(wn.L,{videoSource:null===(n=e.video)||void 0===n?void 0:n.filename,thumbnailSource:e.image,autoPlay:!1}))}))},An=(0,f.default)(d.so).attrs(()=>({backgroundColor:"lightGrey",flexDirection:"column",overflow:"hidden"})).withConfig({displayName:"Container",componentId:"sc-146rzmn-0"})([""]),kn=(0,f.default)(d.so).attrs(()=>({mt:[20,20,40],mx:[15,30],overflow:"hidden",position:"relative"})).withConfig({displayName:"SwiperContainer",componentId:"sc-146rzmn-1"})([""]),Tn=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:"column",gridTemplateColumns:"auto 1fr auto",mx:[15,30]})).withConfig({displayName:"NavContainer",componentId:"sc-146rzmn-2"})(["&:before{content:'';width:48px;}"]),Mn=f.default.div.withConfig({displayName:"StyledPagination",componentId:"sc-146rzmn-3"})(["align-content:center;display:grid;grid-auto-flow:column;gap:10px;justify-content:center;padding-top:22px;padding-bottom:43px;z-index:1;.swiper-pagination-bullet{display:inline-grid;background-color:",";border-radius:50%;height:8px;width:8px;cursor:pointer;&-active{background-color:",";}}"],(0,te.rQ)("grey4"),(0,te.rQ)("grey")),Ln=f.default.div.withConfig({displayName:"VideoContent",componentId:"sc-146rzmn-4"})(["display:none;"]),On=(0,f.default)(T.A).attrs(()=>({icon:{name:"zoom"},size:50,justifySelf:"end"})).withConfig({displayName:"ZoomButton",componentId:"sc-146rzmn-5"})([""]),_n=(0,f.default)(Cn()).withConfig({displayName:"StyledArrowRight",componentId:"sc-146rzmn-6"})(["stroke:",";"],(0,te.rQ)("black")),In=f.default.button.attrs(()=>({children:o.createElement(_n,null)})).withConfig({displayName:"ArrowButton",componentId:"sc-146rzmn-7"})(["background-color:",";border:none;border-radius:50%;box-shadow:0 0 5px rgba(0,0,0,0.3);cursor:pointer;height:48px;opacity:0;position:absolute;top:calc(50% - 24px);width:48px;visibility:hidden;&[aria-disabled='false']{","}",':hover &[aria-disabled="false"]{opacity:1;visibility:visible;}',':hover &[aria-disabled="true"]{cursor:not-allowed;opacity:0.6;visibility:visible;}&.productGalleryPrevious{left:10px;svg{transform:scaleX(-1);}}&.productGalleryNext{right:10px;}'],(0,te.rQ)("white"),te.MS,kn,kn),Rn=e=>{const{content:t,title:n,onClose:i}=e,{startingTabId:r,tabs:a,tabsContent:s}=Bn(t),{0:c,1:f}=(0,o.useState)(r);return o.createElement(zn,null,o.createElement(Pn,null,o.createElement(jn,null,o.createElement(Nn,null,o.createElement(d.xA,{gridAutoFlow:"column",alignItems:"center",justifyContent:"space-between",pb:40},o.createElement(u.A,{fontSizeMedium:!0},n),o.createElement(Fn,{onClick:i})),o.createElement(d.xA,{gridAutoFlow:["row","row","column"],gridGap:38},o.createElement(Dn,null,o.createElement("div",null,a.map(e=>o.createElement("div",{key:e.id},o.createElement($n,null,e.title),o.createElement(Gn,null,e.subTabs.map(e=>{return o.createElement(m.A,{to:"#",key:e.id,onClick:(t=e.id,e=>{e.preventDefault(),f(t)}),primaryTransparent:c===e.id,greyTransparent:c!==e.id,justifyContent:"start",height:46}
2,e.title);var t}))))),o.createElement("div",null,s.filter(e=>e.tabId===c).map(e=>o.createElement(qn,{key:e.id},o.createElement("div",null,o.createElement($n,null,e.title),o.createElement(d.fz,{color:"grey",fontSizeSmall:!0},o.createElement(P.A,{data:e.text}))),o.createElement(Hn,null,e.image&&o.createElement(k.A,{fluid:(0,l.Q)(e.image)})))))))))))},zn=f.default.div.withConfig({displayName:"Modal",componentId:"sc-1ijsqr4-0"})(["background-color:rgb(from "," 0 0 0 / 75%);position:fixed;min-height:100vh;top:0;left:0;right:0;z-index:999;"],(0,te.rQ)("black")),Pn=f.default.div.withConfig({displayName:"Scroll",componentId:"sc-1ijsqr4-1"})(["height:100vh;overflow-y:scroll;"]),jn=(0,f.default)(c.A).attrs(()=>({large:!0,my:[50,50,100]})).withConfig({displayName:"MContainer",componentId:"sc-1ijsqr4-2"})([""]),Fn=(0,f.default)(T.A).attrs(()=>({icon:{name:"cross"}})).withConfig({displayName:"CloseButton",componentId:"sc-1ijsqr4-3"})(["height:16px;width:16px;"]),Nn=f.default.div.withConfig({displayName:"Content",componentId:"sc-1ijsqr4-4"})(["background-color:",";padding:48px;"],(0,te.rQ)("white")),Dn=(0,f.default)(d.xA).attrs(()=>({gridTemplateColumns:[void 0,"1fr 2.5fr"]})).withConfig({displayName:"TextGrid",componentId:"sc-1ijsqr4-5"})(["column-gap:30px;"]),qn=(0,f.default)(d.xA).attrs(()=>({gridGap:30})).withConfig({displayName:"ContentItem",componentId:"sc-1ijsqr4-6"})(["grid-template-columns:repeat(2,1fr);& + &{margin-top:30px;}",""],p.A.desktopSmall((0,f.css)(["grid-template-columns:none;grid-auto-flow:rows;"]))),$n=(0,f.default)(d.fz).attrs(()=>({fontWeight:700,fontSizeMedium:!0,pb:12})).withConfig({displayName:"TextTitle",componentId:"sc-1ijsqr4-7"})([""]),Hn=(0,f.default)(d.xA).attrs(()=>({justifySelf:[void 0,"center"],width:[void 0,443]})).withConfig({displayName:"ImageContainer",componentId:"sc-1ijsqr4-8"})(["aspect-ratio:2 / 1.5;&:empty{height:0px;}"]),Gn=(0,f.default)(d.xA).attrs(()=>({justifyItems:"start",mb:[24,40]})).withConfig({displayName:"TabButtonsGrid",componentId:"sc-1ijsqr4-9"})([""]),Bn=e=>{const t=e.map(e=>({id:e._uid,title:e.name,subTabs:e.content.map(e=>{const t=e.items[0];return{id:e._uid,title:t.title}})})),n=[];for(const o of e)for(const e of o.content)for(const t of e.items)n.push({id:t._uid,tabId:e._uid,title:t.title,text:t.text,image:t.modalImage});return{startingTabId:t[0].subTabs[0].id,tabs:t,tabsContent:n}};var Vn=n(61965),Wn=n(83296);const Un=e=>{const{title:t,text:n,systems:i,showSizes:r,customisationModal:a,leadTimesStock:s,leadTimesOrder:f,deliveryMessage:g,customisationFeature:p,gallery:h,ceIcon:v,ukcaIcon:y}=e,{0:b,1:E}=(0,o.useState)(!1);return(0,o.useEffect)(()=>{const e=document.getElementsByTagName("body")[0];e&&b?e.style.overflow="hidden":e&&(e.style.overflow="")},[b]),o.createElement("div",null,o.createElement(c.A,{large:!0,py:[36],pt:72},o.createElement(Yn,null,o.createElement("div",null,o.createElement(u.A,{as:"h1",mb:24},t),n&&o.createElement(d.fz,{mb:28,color:"grey"},n),i&&i.length>0&&o.createElement(d.xA,{gridAutoFlow:"row",pb:32},o.createElement(Xn,null,"System type"),o.createElement(d.so,{flexWrap:"wrap",gap:32,mt:12},i.slice(0,3).map(e=>o.createElement(Kn,{key:e._uid},o.createElement(k.A,{fluid:(0,l.Q)(e.image),width:32,height:32}),e.title)))),(r||p||!!a.content)&&o.createElement(d.xA,{gridAutoFlow:"row",pb:32},o.createElement(Xn,null,"Customisations available"),o.createElement(d.so,{pt:6,gap:10},r&&o.createElement(Jn,null,o.createElement(eo,{to:"#size-guide"},"Sizes")),p&&o.createElement(Jn,null,o.createElement(eo,{to:"#overview"},p)),!!a.content&&o.createElement(Jn,null,o.createElement(eo,{to:"#",onClick:e=>{e.preventDefault(),E(!0)}},a.label)))),(s||f||g)&&o.createElement(to,null,(s||f)&&o.createElement("div",null,o.createElement(Xn,null,"Lead times"),s&&o.createElement(Zn,null,o.createElement("strong",null,"Stock:")," ",s),f&&o.createElement(Zn,null,o.createElement("strong",null,"Made to order:")," ",f)),o.createElement(no,null,o.createElement(Xn,null,"Dedicated Sertus delivery"),g&&o.createElement(Qn,{dangerouslySetInnerHTML:{__html:(0,Vn.A)(g)}}))),o.createElement(io,null,o.createElement(m.A,{to:A.Y.contact()},"Get a quote"),o.createElement(ao,null)),o.createElement(ro,{widgetStyle:"mini",reviewLanguages:"en","data-style-alignment":"left"})),o.createElement(d.xA,{gridTemplateRows:"1fr auto"},o.createElement(Sn,{items:h}),o.createElement(d.xA,{gridAutoFlow:"column",justifyContent:"end",pt:32,gridGap:12},v&&o.createElement(oo,null,o.createElement(ce(),null)),y&&o.createElement(oo,null,o.createElement(ue(),null)))))),b&&a.content&&o.createElement(Rn,Object.assign({},a,{content:a.content,onClose:()=>E(!1)})))},Yn=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:["row","row","column"],gridTemplateColumns:[void 0,void 0,"repeat(2, 1fr)"],gap:30})).withConfig({displayName:"HeroGrid",componentId:"sc-jz9tcr-0"})([""]),Xn=(0,f.default)(d.fz).attrs(()=>({as:"p",fontSizeSmall:!0,fontWeight:700,pb:6}
2)).withConfig({displayName:"Subtitle",componentId:"sc-jz9tcr-1"})([""]),Zn=(0,f.default)(d.fz).attrs(()=>({color:"grey",fontSizeSmall:!0})).withConfig({displayName:"Text",componentId:"sc-jz9tcr-2"})([""]),Qn=(0,f.default)(Zn).attrs(()=>({as:"div"})).withConfig({displayName:"DeliveryMessage",componentId:"sc-jz9tcr-3"})(["p{margin:0 0 12px;}p:last-child,ul:last-child,ol:last-child{margin-bottom:0;}"]),Kn=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:"column",gridGap:5,alignItems:"center",color:"grey"})).withConfig({displayName:"StyledSystem",componentId:"sc-jz9tcr-4"})([""]),Jn=(0,f.default)(d.xA).attrs(()=>({alignItems:"center",gridAutoFlow:"column"})).withConfig({displayName:"StyledCustomisation",componentId:"sc-jz9tcr-5"})(["&::before{content:'';display:inline-grid;border-left:2px "," solid;height:70%;margin-right:10px;}&:first-child&::before{content:none;}"],(0,te.rQ)("grey2")),eo=(0,f.default)(m.A).attrs(()=>({primaryTransparent:!0,fontSize:16})).withConfig({displayName:"CustomisationButton",componentId:"sc-jz9tcr-6"})([""]),to=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:["row","column"],gridGap:[30,60],justifyContent:"start",pb:23})).withConfig({displayName:"LeadDeliveryGrid",componentId:"sc-jz9tcr-7"})([""]),no=f.default.div.withConfig({displayName:"StyledDelivery",componentId:"sc-jz9tcr-8"})(["width:200px;"]),oo=(0,f.default)(d.xA).withConfig({displayName:"StyledIcon",componentId:"sc-jz9tcr-9"})(["align-items:center;background-color:",";height:48px;justify-items:center;width:48px;"],(0,te.rQ)("lightGrey")),io=(0,f.default)(d.xA).attrs(()=>({gridTemplateColumns:[void 0,"repeat(2, 1fr)","auto auto"],justifyContent:[void 0,"start"],gap:20,pt:23})).withConfig({displayName:"ButtonsGrid",componentId:"sc-jz9tcr-10"})([""]),ro=(0,f.default)(Wn.XK).withConfig({displayName:"ProductTrustpilotWidget",componentId:"sc-jz9tcr-11"})(["width:269px;max-width:100%;margin-top:40px;"]),ao=()=>o.createElement(m.A,{to:"#downloads",onClick:e=>{e.preventDefault();const t=document.getElementById("downloads");t?(t.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,"","#downloads")):window.location.hash="downloads"},transparentInverted:!0},"Download Datasheet");var lo=n(54184);const so=e=>{const{children:t}=e;return o.Children.map(t,(e,t)=>o.createElement(o.Fragment,null,0!==t&&o.createElement(c.A,{large:!0},o.createElement(co,null)),e))},co=f.default.div.withConfig({displayName:"StyledDivider",componentId:"sc-8wcywx-0"})(["background-color:",";height:1px;"],(0,te.rQ)("grey2"));var uo=n(78531),fo=n(77099),mo=n(54506),go=n(44809),po=n.n(go),ho=n(50014),vo=n.n(ho),yo=n(90177),bo=n(81500),Eo=n(92314),wo=n(66095),xo=n.n(wo);const Co=e=>{const{title:t,subtitle:n,btnText:i,btnLink:r,dropdowns:l,selected:s,onSelected:c,displaySelected:f,notes:g}=e,p=s&&Object.values(s).some(Boolean);return o.createElement(a.Ay,{id:"lead-time"},o.createElement(So,null,o.createElement(Ao,{alignContent:"start"},o.createElement(u.A,{as:"h2",color:"white",fontSizeSmall:!0},t),o.createElement(d.fz,{color:"grey2",fontSizeExtraSmall:!0,mt:5,mb:[15,30]},n),o.createElement(d.xA,{gridGap:20},l.map(e=>o.createElement(To,{key:e.name},o.createElement(Lo,{field:{name:e.name,value:null==s?void 0:s[e.name],onChange:t=>c(e.name,t.target.value)},placeholder:e.placeholder,options:e.options}))))),o.createElement(Ao,null,f&&o.createElement(o.Fragment,null,o.createElement(d.xA,{pb:[20],gridTemplateColumns:"auto 1fr",gridGap:20},o.createElement(Mo,{name:f.icon}),o.createElement("div",null,o.createElement(d.fz,{color:"white",fontSize:[16,20],whiteSpace:"pre-line"},f.title),o.createElement(d.fz,{color:"grey4",fontSize:14},f.subtitle))),g&&o.createElement(d.fz,{color:"grey4",fontSizeExtraSmall:!0,mb:[15,20]},g),o.createElement(d.xA,{gridGap:10},f.table.map(e=>o.createElement(ko,{key:e.label+e.value},o.createElement(d.fz,{color:"white",bold:!0,fontSizeSmall:!0},e.label),o.createElement("div",null,"string"==typeof e.value?o.createElement(d.fz,{color:"white",fontSizeSmall:!0},e.value):e.value))))),o.createElement(d.xA,{pt:20,alignSelf:"end"},o.createElement(m.A,{to:r,inDarkBlock:p,whiteInDark:!p,target:"_blank"},i))),o.createElement(Oo,null,o.createElement(_o,null),o.createElement(d.fz,{color:"black",fontSize:16}
2,"On site when we say - or we pay."," ",o.createElement(yo.A,{to:"/terms-of-service/?id=guarantee",color:"vividPrimary"},"Read more")," ","about our delivery guarantee."))))},So=(0,f.default)(d.xA).withConfig({displayName:"Container",componentId:"sc-mtakgp-0"})(["grid-template-columns:1fr;border-radius:var(--Radius-Radius-3,16px);overflow:hidden;@media (min-width:48em){grid-template-columns:repeat(2,1fr);}"]),Ao=(0,f.default)(d.xA).withConfig({displayName:"Box",componentId:"sc-mtakgp-1"})(["background-color:",";padding:35px;border-top:1px "," solid;border-left:0;@media (min-width:48em){padding:45px;border-top:0;border-left:1px "," solid;}@media (min-width:62em){padding:55px;}"],(0,te.rQ)("black"),(0,te.rQ)("border"),(0,te.rQ)("border")),ko=(0,f.default)(d.xA).attrs(()=>({gridAutoFlow:"column",justifyContent:"space-between"})).withConfig({displayName:"DataTable",componentId:"sc-mtakgp-2"})([""]),To=(0,f.default)(d.xA).attrs(()=>({border:"1px solid",borderColor:"border"})).withConfig({displayName:"SelectWrap",componentId:"sc-mtakgp-3"})([""]),Mo=(0,f.default)(Eo.A).attrs(()=>({mt:10})).withConfig({displayName:"DisplayIcon",componentId:"sc-mtakgp-4"})(["height:40px;width:40px;path{stroke:",";}"],(0,te.rQ)("white")),Lo=(0,f.default)(bo.A).withConfig({displayName:"Dropdown",componentId:"sc-mtakgp-5"})(["margin-top:0;"]),Oo=(0,f.default)(d.xA).withConfig({displayName:"GuaranteeStrip",componentId:"sc-mtakgp-6"})(["grid-column:1 / -1;grid-auto-flow:column;justify-content:center;align-items:center;gap:12px;background-color:",";padding:30px 35px;border-top:1px "," solid;border-radius:0 0 var(--Radius-Radius-3,16px) var(--Radius-Radius-3,16px);"],(0,te.rQ)("grey4"),(0,te.rQ)("border")),_o=(0,f.default)(xo()).withConfig({displayName:"StyledIconInfo",componentId:"sc-mtakgp-7"})(["flex-shrink:0;width:18px;height:18px;path{fill:",";}circle{stroke:",";}"],(0,te.rQ)("black"),(0,te.rQ)("black"));var Io=function(e){return e.Col1="COL1",e.Col2="COL2",e.Col3="COL3",e}(Io||{});const Ro=[Io.Col1,Io.Col2,Io.Col3],zo=e=>{const{csv:t,title:n,orderTime:i,contactLabel:r,col1Label:a,col2Label:l,col3Label:s,notes:c}=e,{0:d,1:u}=(0,o.useState)({[Io.Col1]:"",[Io.Col2]:"",[Io.Col3]:""}),f=Object.values(d).every(e=>""===e),m=(0,o.useMemo)(()=>{const e=po().parse(t,{header:!0,skipEmptyLines:!0});return Array.isArray(e.errors)&&e.errors.length>0?null:e.data},[t]),g=(0,o.useMemo)(()=>m?Po({leadTimes:m,selected:d,col1Label:a,col2Label:l,col3Label:s}):null,[m,d,a,l,s]),p=(0,o.useMemo)(()=>f?null:null==m?void 0:m.find(e=>e.COLUMN_1===d[Io.Col1]&&e.COLUMN_2===d[Io.Col2]&&e.COLUMN_3===d[Io.Col3]),[d,f,m]),h=No(p,d),v=(0,o.useMemo)(()=>{if(!h)return A.Y.contact();const e=new URLSearchParams({form:"get-a-quote",message:`Please quote for ${h}`});return`${A.Y.contact()}?${e.toString()}`},[h]);if(!g)return null;const y=jo(p);return o.createElement(Co,{title:null!=n?n:"",subtitle:"Select your criteria in order below:",btnText:"Get a Quote",btnLink:v,dropdowns:g,selected:d,onSelected:(e,t)=>{u(n=>{const o={...n,[e]:t},i=Ro.indexOf(e);for(const e of Ro.slice(i+1))o[e]="";return o})},notes:c,displaySelected:{icon:y,title:Fo(p),subtitle:h,table:Do({leadTime:p,orderTime:i,contactLabel:r})}})},Po=e=>{const{leadTimes:t,selected:n,col1Label:o,col2Label:i,col3Label:r}=e,a=[{name:Io.Col1,key:"COLUMN_1",placeholder:o},{name:Io.Col2,key:"COLUMN_2",placeholder:i},{name:Io.Col3,key:"COLUMN_3",placeholder:r}];let l=t;return a.map(e=>{let{name:t,key:o,placeholder:i}=e;const r=vo()(l.map(e=>({name:e[o],value:e[o]})),"name");return n[t]&&(l=l.filter(e=>e[o]===n[t])),{name:t,placeholder:i,options:r}}).filter(e=>e.options.length>0&&!!e.options[0].value)},jo=e=>null===e?"questionCircle":qo(e)?"tickInCircle":"crossInCircle",Fo=e=>null===e?"Select product options to\ncheck stock status":qo(e)?o.createElement(o.Fragment,null,"Your selection is ",o.createElement("strong",null,"stocked")):o.createElement(o.Fragment,null,"Your selection is a ",o.createElement("strong",null,"non-stock")," item"),No=(e,t)=>{const n=t?Object.values(t):[];return[null==e?void 0:e.PRODUCT_REF].concat((0,mo.A)(n)).filter(e=>!!e).join(" + ")},Do=e=>{let{leadTime:t,orderTime:n,contactLabel:i}=e;return null===t?[]:qo(t)?[{label:"Delivery time:",value:t.MAX_5_UNITS_LEAD}]:[{label:"Delivery time:",value:n},{label:null!=i?i:"Get in touch",value:o.createElement(yo.A,{to:"tel:+441483269999",color:"vividPrimary",fontWeight:"bold"},"01483 269999")}]},qo=e=>"yes"===(null==e?void 0:e.IS_STOCK.toLowerCase());n.p,n.p,n.p;(0,a.fE)({offset:-160});var $o=function(e){var t;let{productFeatureIcons:n,productFeatures:i,featuredCaseStudiesTitle:r,featuredCaseStudiesDescription:a,featuredCaseStudies:d,relatedProducts:u,productName:f,headerDescription:m,description:g,systemTitle:p,systemDescription:h,systems:v,systemTypes:y,leadTimesTitle:E,leadTimesDescription:k,leadTimesDownload:T,leadTimesDownloadText:M,leadTimesStock:L,leadTimesOrder:O,leadTimesCSV:_,leadTimesContactLabel:I,leadTimesCol1Label:R,leadTimesCol2Label:P,leadTimesCol3Label:j,leadTimesNotes:F,deliveryMessage:N,customisationFeature:D,customisationModalLabel:q,customisationModalTitle:$,customisationModalImage:H,customisationModalContent:G,gallery:W,ceIcon:Y,ukcaIcon:Z,caseStudiesSlider:K,footerCTA:J,compareLink:ee,...te}=e;const oe=te.productDetails[0],ie=(e=>{var t;return e.hideTechSpecs||0===(null===(t=e.techSpecs)||void 0===t?void 0:t.length)?void 0:e.techSpecs})(oe),re=(e=>{var t;return e.hideShapesAndSizes||0===(null===(t=e.shapesAndSizes)||void 0===t?void 0:t.length)?void 0:e.shapesAndSizes})(oe),ae=(e=>{var t;return e.hideDownloads||0===(null===(t=e.downloads)||void 0===t?void 0:t.length)?void 0:e.downloads})(oe),le=(e=>{var t;return e.hideVideos||0===(null===(t=e.videos)||void 0===t?void 0:t.length)?void 0:e.videos})(oe),se=0!==(null===(t=te.faq)||void 0===t?void 0:t.length)?te.faq:void 0,ce=(e=>{var t;return e.hideFAQs||0===(null===(t=e.faqs)||void 0===t?void 0:t.length)?void 0:e.faqs})(oe),de=(()=>
2{if("undefined"!=typeof window)return window.location})(),ue=(u||[]).flatMap(e=>{var t;const n="string"==typeof e?null:e;if(null==n||null===(t=n.content)||void 0===t||!t.productName||!n.full_slug)return[];const o=n.content.productThumbnail&&(0,l.Q)(n.content.productThumbnail,{maxWidth:500});return[{name:n.content.productName,link:"/"+n.full_slug,image:o}]});return o.createElement(o.Fragment,null,o.createElement(lo.A,{title:"Products",subtitle:f,swapTitleStyling:!0,truncateSubtitle:!0,pages:[{title:"Overview",link:"#overview",active:"#overview"===(null==de?void 0:de.hash)},ie&&{title:"Tech Specs",link:"#tech-specs",active:"#tech-specs"===(null==de?void 0:de.hash)},re&&{title:"Size Guide",link:"#size-guide",active:"#size-guide"===(null==de?void 0:de.hash)},ae&&{title:"Downloads",link:"#downloads",active:"#downloads"===(null==de?void 0:de.hash)},le&&{title:"Videos",link:"#videos",active:"#videos"===(null==de?void 0:de.hash)},(se||ce)&&{title:"FAQ",link:"#faq",active:"#faq"===(null==de?void 0:de.hash)},{title:"Get a Quote",link:A.Y.contact(),primary:!0}].filter(e=>!!e)}),o.createElement(Un,{title:f,text:m,showSizes:!!re,systems:y,customisationFeature:D,customisationModal:{label:q,title:$,image:H,content:G},leadTimesStock:L,leadTimesOrder:O,deliveryMessage:N,gallery:W,ceIcon:Y,ukcaIcon:Z}),o.createElement(so,null,o.createElement(ne,{title:"At a Glance",highlights:n,features:i,compareLink:null==ee?void 0:ee[0]}),o.createElement(Q,{text:g}),o.createElement(X,{items:ie}),o.createElement(U,{items:re}),E&&_?o.createElement(c.A,{large:!0,mt:[48,96],mb:[48,96]},o.createElement(zo,{title:E,csv:_,orderTime:O,contactLabel:I,col1Label:R,col2Label:P,col3Label:j,notes:F})):E&&null!=T&&T.filename?o.createElement(c.A,{large:!0},o.createElement(V.A,{title:E,subtitle:k,ctaText:M,ctaLink:T.filename,secondLink:{to:A.Y.contact(),title:"Get a Quote"},icon:"lead",slim:!0})):null,ae&&o.createElement(B,{downloads:ae}),le&&o.createElement(z,{videos:le.map(e=>{var t;return{id:e._uid,name:e.videoTitle,image:e.videoThumbnail,source:e.videoLink||(null===(t=e.videoSource)||void 0===t?void 0:t.filename),duration:Number.parseInt(e.videoLength,10),categories:e.videoType||"Product Video"}})}),o.createElement(b,{anchor:"faq",faq:se,legacyFaq:ce})),K&&(null==K?void 0:K.length)>0&&(null==K?void 0:K.map(e=>o.createElement(uo.A,Object.assign({sectionCtaLink:(0,x.A)(e.sectionCtaLink)},e,{largerContainer:!0,key:e._uid})))),K&&0!==(null==K?void 0:K.length)?null:(null==d?void 0:d[0])&&o.createElement(C.A,{title:r||"Related Case Studies",text:a||"Explore real projects using our smoke ventilation products across both residential and commercial sectors.",cta:{to:A.Y.caseStudies(),title:"View all case studies"},dark:!0},d.map(e=>{var t,n,i,r;return o.createElement(S.A,{key:e._uid,title:e.title,text:e.subtitle,link:{title:"View Case Study",to:`/${null===(t=e.caseStudies[0])||void 0===t?void 0:t.full_slug}`},image:(0,l.Q)(null===(n=e.caseStudies[0])||void 0===n?void 0:n.content.featuredImage),keyPoints:null===(i=e.caseStudies[0])||void 0===i||null===(r=i.content.about[0])||void 0===r?void 0:r.projectStats.map(e=>({title:e.name,text:e.value}))})})),v&&v.length>0&&o.createElement(w.A,{title:p||"Systems",titleProps:{as:"h2",fontSizeMedium:!0},text:h||"These are the key systems used - choose a solution to find out more.",links:v.map(e=>{var t;return{id:e._uid,name:e.title,text:e.paragraph,icon:{aspectRatio:1,src:null===(t=e.icon)||void 0===t?void 0:t.filename},link:(0,x.A)(e.ctaLink),linkText:e.ctaText}}),backgroundColor:"lightGrey",centerItems:!0}),o.createElement(s.A,{title:"Explore more products in our range",products:ue}),(null==J?void 0:J.content)&&o.createElement(fo.A,J.content))},Ho=n(77296);function Go(e){let{title:t,subtitle:n,paragraph:i,products:r=[],productCategories:a=[]}=e;const s=(0,o.useMemo)(()=>r.map(e=>{var t,n,o;return{image:!(null===(t=e.content)||void 0===t||!t.productThumbnail)&&(0,l.Q)(e.content.productThumbnail,{maxWidth:550}),name:(null===(n=e.content)||void 0===n?void 0:n.productName)||e.name,link:(0,x.A)(e.full_slug),...e,category:null===(o=e.content)||void 0===o?void 0:o.category}}),[r]);return o.createElement(Ho.A,{items:s,title:t,subtitle:n,paragraph:i,categories:a,usePathBasedNavigation:!0})}var Bo=n(61432);var Vo=function(e){return o.createElement(Bo.A,e)},Wo=n(62199),Uo=n(60860),Yo=n(38221),Xo=n.n(Yo),Zo=n(24794);const Qo=(0,f.default)(yo.A).withConfig({displayName:"DownloadsCategoryItemContainer",componentId:"sc-4qbzw9-0"})(["background:#f8f8f8;border:1px solid #f3f3f3;box-sizing:border-box;border-radius:3px;display:flex;justify-content:center;align-items:center;flex-direction:column;
2cursor:pointer;text-decoration:none;width:100%;padding:44px 20px 30px;height:232px;",";"],p.A.tablet((0,f.css)(["padding-top:30px;padding-bottom:22px;height:auto;"]))),Ko=(0,f.default)(k.A).withConfig({displayName:"Image",componentId:"sc-4qbzw9-1"})(["width:42px;"]),Jo=f.default.div.withConfig({displayName:"Name",componentId:"sc-4qbzw9-2"})(["font-weight:bold;font-size:16px;line-height:140%;text-align:center;letter-spacing:-0.02em;color:#161616;margin-top:42px;"]);var ei=function(e){let{id:t,name:n,icon:i,slug:r}=e;return o.createElement(Qo,{to:"/"+r},i&&o.createElement(Ko,{fluid:i,alt:t}),o.createElement(Jo,null,n))},ti=n(71299),ni=n.n(ti);const oi=(0,f.default)(c.A).withConfig({displayName:"DownloadsCategorySelectorOuterContainer",componentId:"sc-g2ih8y-0"})(["width:100%;display:flex;justify-content:center;align-items:center;"]),ii=f.default.div.withConfig({displayName:"DownloadsCategorySelectorContainer",componentId:"sc-g2ih8y-1"})(["width:380px;height:64px;background:#f8f8f8;display:flex;justify-content:center;align-items:center;@media (max-width:450px){width:100%;}"]),ri=f.default.div.withConfig({displayName:"SelectorButton",componentId:"sc-g2ih8y-2"})(["height:100%;width:64px;background-color:#813dff;display:flex;justify-content:center;align-items:center;"]),ai=f.default.input.withConfig({displayName:"DownloadsCategoryTextInput",componentId:"sc-g2ih8y-3"})(["width:calc(100% - 64px);height:100%;background-color:transparent;border-width:0;padding-left:24px;font-weight:bold;font-size:14px;line-height:140%;display:flex;align-items:center;letter-spacing:-0.01em;color:#666666;"]);var li=function(e){let{value:t,onChange:n}=e;return o.createElement(oi,null,o.createElement(ii,null,o.createElement(ai,{placeholder:"Search by Product",value:t,onChange:n}),o.createElement(ri,null,o.createElement(ni(),{fill:"#fff"}))))},si=n(18831),ci=n(14792),di=n.n(ci),ui=n(19323),fi=n(16945),mi=n(20312);var gi=(0,fi.iB)(function(e){let{data:t,pagination:n}=e;const{0:i,1:r}=(0,o.useState)(!1),{0:a,1:l}=(0,o.useState)("");function s(e){l(e),i||r(!0)}return o.createElement(o.Fragment,null,o.createElement(mi.A,{pagination:n},t.map((e,t)=>o.createElement(ui.A,{key:t,data:e,handleResourceClick:s}))),i&&o.createElement(N.A,{selectedItem:a,filePath:a&&a.file&&a.file.filename,handlePopupClose:()=>r(!1)}))}),pi=n(65246);const hi="all";var vi=function(e){let{categoryName:t,data:n,noPagination:i,noStickyFilters:r}=e;const{0:a,1:l}=(0,o.useState)(hi),{0:s,1:c}=(0,o.useState)([]);(0,o.useEffect)(()=>{if(a===hi)return void c(n);const e=n.filter(e=>e.tags&&e.tags.includes(a));c(e)},[a]);const d=(0,o.useMemo)(()=>n.reduce((e,t)=>{const{tags:n}=t;return n&&n.forEach(t=>{e.includes(t)||e.push(t)}),e},[hi]).sort().map(e=>({slug:e,name:(0,si.decamelize)(e).split("_").map(e=>di()(e)).join(" ")})),[n]),u=(0,o.useMemo)(()=>d.find(e=>e.slug===a),[d,a]);return o.createElement(o.Fragment,null,o.createElement(fi.Ay.Mobile,null,o.createElement("div",null,u&&o.createElement(pi.A,{title:"Downloads",currentCategory:u,categories:d,noSticky:r,onCategoryChange:e=>l(e.slug)}))),o.createElement(gi,{data:s,pagination:!i&&[{link:A.Y.downloads(),name:"All Downloads"},{name:t}]}))},yi=n(50253);function bi(e,t){const n=JSON.parse(t);return{...n,slug:e,image:(0,yi.A)(n.image)}}const Ei=f.default.div.withConfig({displayName:"DownloadsCategoryGridContainer",componentId:"sc-1gnmcy1-0"})(["position:relative;"]),wi=f.default.div.withConfig({displayName:"TextContainer",componentId:"sc-1gnmcy1-1"})(["text-align:center;"]),xi=(0,f.default)(u.A).withConfig({displayName:"StyledTitle",componentId:"sc-1gnmcy1-2"})(["padding-bottom:7px;"]),Ci=(0,f.default)(d.EY).withConfig({displayName:"StyledSubtitle",componentId:"sc-1gnmcy1-3"})(["font-size:18px;line-height:160%;text-align:center;letter-spacing:-0.01em;color:#666666;margin-bottom:35px;max-width:90%;margin-left:5%;"]),Si=f.default.div.withConfig({displayName:"DownloadsCategoryGridItemsOuterContainer",componentId:"sc-1gnmcy1-4"})(["width:100%;display:flex;justify-content:center;align-items:center;"]),Ai=f.default.div.withConfig({displayName:"DownloadsCategoryGridItems",componentId:"sc-1gnmcy1-5"})(["display:flex;flex-wrap:wrap;margin-top:47px;margin-bottom:44px;width:990px;"," @media(max-width:1035px){width:690px;","}",";@media (max-width:330px){width:100%;","}"],(0,te.HX)((0,f.css)(["display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:28px;justify-items:center;"])),(0,te.HX)((0,f.css)(["display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px;justify-items:center;"])),p.A.mobile((0,te.HX)((0,f.css)(["display:grid;grid-template-columns:1fr 1fr;gap:8px;justify-items:center;width:335px;"]))),(0,te.HX)((0,f.css)(["display:grid;grid-template-columns:1fr;gap:28px;justify-items:center;"]))),ki=(0,f.default)(d.EY).withConfig({displayName:"SubtextContainer",componentId:"sc-1gnmcy1-6"})(["font-size:15px;line-height:160%;letter-spacing:-0.01em;color:#959595;span{font-weight:bold;color:#7549bf;}"]);var Ti=function(e){let{title:t,subtitle:n,subtext:i,categories:r,items:a}=e;const{0:l,1:s}=(0,o.useState)(""),{0:c,1:u}=(0,o.useState)([]),{backgroundImage:f}=(0,Zo.useStaticQuery)("1133856829");(0,o.useEffect)(()=>{g()},[l]);const g=Xo()(async()=>{u(l?a.filter(e=>e.node.name.toLowerCase().includes(l.toLowerCase())).map(e=>bi(e.node.slug,e.node.content)):[])},500);
2return o.createElement(Ei,null,o.createElement(k.A,{asBackground:!0,fluid:f.childImageSharp.fluid}),o.createElement(d.az,{position:"relative",pt:90,pb:[60,90]},o.createElement(wi,null,o.createElement(xi,{html:t}),o.createElement(Ci,{html:n})),o.createElement(li,{value:l,onChange:function(e){const t=e.currentTarget.value;s(t)}}),l?0===c.length?o.createElement(d.so,{pt:50,flexDirection:"column",alignItems:"center",textAlign:"center"},o.createElement(d.EY,{mb:5,bold:!0},"No matching search results"),o.createElement(d.EY,null,"Try again using more general search terms"),o.createElement(d.az,{mt:20,maxWidth:220},o.createElement(m.A,{onClick:()=>s("")},"Clear search query"))):o.createElement(d.az,{mt:60},o.createElement(vi,{data:c,noPagination:!0,noStickyFilters:!0})):o.createElement(o.Fragment,null,o.createElement(Si,null,o.createElement(Ai,null,r.map((e,t)=>o.createElement(ei,Object.assign({key:t},e))))),o.createElement(d.az,{textAlign:"center"},i&&o.createElement(ki,{html:i})))))},Mi=n(9926);function Li(e){let{pageTitle:t,subtitle:n,body:i,downloads:r=[],downloadCategories:a=[]}=e;const s=a.map(e=>{var t,n;return{name:e.name,categories:null===(t=e.content)||void 0===t?void 0:t.categories,slug:e.full_slug,icon:(null===(n=e.content)||void 0===n?void 0:n.icon)&&(0,l.o)(e.content.icon,{maxWidth:42})}});return o.createElement(o.Fragment,null,o.createElement(Ti,{title:t,subtitle:n,categories:s,items:r,subtext:'Can\'t find what you need? <span><a href="#chat">Let us know.</a></span>'}),o.createElement(Mi.A,{body:i}))}function Oi(e){let{name:t,downloads:n=[],pageContext:i}=e;const r=(0,o.useMemo)(()=>n.map(e=>{const{node:t}=e;return bi(t.slug,t.content)}).filter(e=>e.categories.find(e=>e.uuid===i.uuid)),[n,i.uuid]);return o.createElement(vi,{categoryName:t,data:r})}var _i=n(55857),Ii=n(4238);const Ri=f.default.div.withConfig({displayName:"MobileBlogItemContainer",componentId:"sc-16q2o96-0"})(["position:relative;display:flex;flex-direction:column;width:100%;min-width:285px;"]),zi=f.default.div.withConfig({displayName:"ImageContainer",componentId:"sc-16q2o96-1"})(["position:relative;background-color:#000;width:100%;&:before{content:'';display:block;padding-top:68%;}"]),Pi=(0,f.default)(k.A).withConfig({displayName:"StyledImage",componentId:"sc-16q2o96-2"})(["position:absolute !important;left:0;top:0;width:100%;height:100%;"]),ji=f.default.div.withConfig({displayName:"TextContainer",componentId:"sc-16q2o96-3"})(["background-color:#eee;width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:32px 26px 27px;flex:1;"]),Fi=f.default.div.withConfig({displayName:"TopText",componentId:"sc-16q2o96-4"})(["font-size:14px;line-height:140.62%;color:#666666;padding-bottom:16px;"]),Ni=(0,f.default)(u.A).withConfig({displayName:"StyledTitle",componentId:"sc-16q2o96-5"})(["font-weight:bold;font-size:20px;line-height:30px;letter-spacing:-0.02em;color:#161616;max-height:120px;overflow:hidden;text-overflow:ellipsis;margin-bottom:47px;"]),Di=f.default.div.withConfig({displayName:"LinkContainer",componentId:"sc-16q2o96-6"})([""]);var qi=function(e){let{to:t,title:n,category:i,image:r}=e;return o.createElement(Ri,null,o.createElement(yo.A,{to:t},o.createElement(zi,null,o.createElement(Pi,{height:"100%",fluid:r}
2))),o.createElement(ji,null,o.createElement(d.az,null,i&&o.createElement(Fi,null,i.name),o.createElement(Ni,null,n)),t&&o.createElement(Di,null,o.createElement(Ii.A,{to:t},"Read More"))))},$i=n(38816),Hi=(n.p,n.p,n.p,n.p,n(18105)),Gi=n(936),Bi=n(24661);const Vi=f.default.div.withConfig({displayName:"MobileBlogOverviewOuterContainer",componentId:"sc-13okvp6-0"})([""]),Wi=f.default.div.withConfig({displayName:"MobileBlogOverviewContainer",componentId:"sc-13okvp6-1"})(["display:flex;justify-content:center;flex-wrap:wrap;width:100%;align-items:stretch;align-content:stretch;margin-top:26px;padding-bottom:52px;",";@media (max-width:600px){","}"],(0,te.HX)((0,f.css)(["display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;"])),(0,te.HX)((0,f.css)(["grid-template-columns:1fr;"])));var Ui=function(e){let{currentCategory:t,categories:n,posts:i,onCategoryChange:r}=e;const{visibleItems:a,currentPage:l,totalPages:s,goToPage:c}=(0,Bi.W)(i,11);return o.createElement(Vi,null,o.createElement(pi.A,{title:"Blog Posts",subtitle:t.slug===Hi.XG.slug?"Latest":t.name,currentCategory:t,categories:n,onCategoryChange:r}),o.createElement(Wi,null,a.map((e,t)=>o.createElement(o.Fragment,{key:e.to||t},o.createElement(qi,Object.assign({},e,{small:!0})),0===t?o.createElement($i.A,null):null))),o.createElement(Gi.A,{currentPage:l,totalPages:s,onPageChange:c}))},Yi=n(92516),Xi=n.n(Yi);const Zi=(0,f.default)(d.az).withConfig({displayName:"StyledFeaturedPost",componentId:"sc-r36cux-0"})(["border-radius:var(--Radius-Radius-3,16px);overflow:hidden;"]),Qi=(0,f.default)(yo.A).withConfig({displayName:"StyledLink",componentId:"sc-r36cux-1"})(["display:block;flex:1;"]);var Ki=function(e){let{to:t,title:n,category:i,image:r,minutesToRead:a,...l}=e;return o.createElement(Zi,l,o.createElement(d.so,{height:480,bg:"lightGrey"},o.createElement(d.so,{p:38,flexShrink:0,width:"34%",flexDirection:"column",justifyContent:"space-between",alignItems:"flex-start"}
2,o.createElement(d.az,null,i&&o.createElement(d.EY,{mb:23,fontSizeExtraSmall:!0,grey:!0},i.name),o.createElement(u.A,{mb:25,fontSize:[18,24,28],html:n}),a&&o.createElement(d.EY,{color:"primary",fontSizeExtraSmall:!0},a," minute read")),o.createElement(Ii.A,{to:t},"Read Now")),o.createElement(Qi,{to:t},o.createElement(k.A,{height:"100%",fluid:r}))))};const Ji=f.default.div.withConfig({displayName:"SidebarLayout",componentId:"sc-1i7dvyv-0"})(["display:flex;",";",";"],(0,te.HX)((0,f.css)(["display:grid;grid-template-columns:3.125fr 1fr;grid-gap:18px;"])),p.A.tablet((0,f.css)(["grid-template-columns:none;"]))),er=f.default.main.withConfig({displayName:"Content",componentId:"sc-1i7dvyv-1"})(["flex:1;margin-right:20px;",""],(0,te.HX)((0,f.css)(["margin-right:0;"]))),tr=f.default.aside.withConfig({displayName:"Sidebar",componentId:"sc-1i7dvyv-2"})(["width:24.2%;flex-shrink:0;",""],(0,te.HX)((0,f.css)(["width:100%;"])));Ji.Content=er,Ji.Sidebar=tr;var nr=Ji;const or=(0,f.default)(d.az).withConfig({displayName:"StyledBox",componentId:"sc-2kg7lb-0"})(["border-radius:var(--Radius-Radius-3,16px);overflow:hidden;"]),ir=(0,f.default)(d.so).withConfig({displayName:"StyledItem",componentId:"sc-2kg7lb-1"})(["&:last-of-type{margin-bottom:0;padding-bottom:0;border-bottom:none;}"]);function rr(e){let{to:t,category:n,title:i}=e;return o.createElement(ir,{pb:19,mb:17,borderBottom:"1px solid #ddd",flexDirection:"column",alignItems:"flex-start"},o.createElement(d.EY,{mb:21,fontSizeExtraSmall:!0,grey:!0},n.name),o.createElement(u.A,{maxWidth:"90%",mb:23,fontSizeExtraSmall3:!0},i),o.createElement(Ii.A,{to:t,fontSizeExtraSmall:!0},"Read More"))}var ar=function(e){let{items:t}=e;return o.createElement(d.az,{mb:20},o.createElement(or,{mb:25,px:20,pt:19,pb:17,bg:"lightGrey"},o.createElement(u.A,{fontSizeExtraSmall:!0},"Latest News")),o.createElement(d.az,{pl:20},t&&t.map((e,t)=>o.createElement(rr,Object.assign({key:t},e)))))},lr=n(49818),sr=n(93435),cr=n.n(sr);const dr=f.default.div.withConfig({displayName:"StyledSearchBar",componentId:"sc-6yygbm-0"})(["display:flex;"]),ur=f.default.div.withConfig({displayName:"IconWrapper",componentId:"sc-6yygbm-1"})(["",";position:relative;cursor:pointer;font-size:0;&:before{content:'';display:block;position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;}"],te.ad),fr=(0,f.default)(cr()).withConfig({displayName:"StyledIconMagnifier",componentId:"sc-6yygbm-2"})(["fill:#959595;"]),mr=f.default.input.withConfig({displayName:"SearchInput",componentId:"sc-6yygbm-3"})(["",";",";font-size:16px;padding:0 12px;width:0;transition:width 0.35s ease-out;",";"],te.Ey,te.ZX,e=>e.visible&&(0,f.css)(["width:120px;transition-duration:0.55s;transition-timing-function:ease-in;"]));var gr=function(e){let{value:t,onChange:n}=e;const{0:i,1:r}=(0,o.useState)(!1),a=(0,o.useRef)(null);return(0,o.useEffect)(()=>{i&&a.current.focus()},[i]),o.createElement(dr,{onClick:()=>r(!0)},o.createElement(ur,null,o.createElement(fr,null)),o.createElement(mr,{type:"text",value:t,visible:!!t||i,ref:a,onChange:function(e){n&&n(e.currentTarget.value)},onBlur:()=>r(!1)}))},pr=n(7738),hr=n(7052),vr=n.n(hr);const yr=(0,f.default)(d.az).withConfig({displayName:"StyledBlogOverview",componentId:"sc-1m0hdz6-0"})([""]),br=f.default.div.withConfig({displayName:"NotFound",componentId:"sc-1m0hdz6-1"})([""]),Er=f.default.div.withConfig({displayName:"ClearSearchContainer",componentId:"sc-1m0hdz6-2"})(["padding:6px 11px;border:1px solid #dddddd;box-sizing:border-box;border-radius:2px;display:flex;justify-content:center;align-items:center;width:fit-content;margin-top:-36px;margin-bottom:36px;"]),wr=f.default.div.withConfig({displayName:"SearchClearTitle",componentId:"sc-1m0hdz6-3"})(["font-weight:bold;font-size:14px;display:flex;align-items:center;text-align:right;letter-spacing:-0.01em;color:#161616;margin-right:7px;line-height:0;text-transform:capitalize;"]),xr=f.default.div.withConfig({displayName:"CloseCrossContainer",componentId:"sc-1m0hdz6-4"})(["cursor:pointer;margin-top:-0.75px;margin-left:2px;"]);var Cr=function(e){let{currentCategory:t,categories:n,featuredPost:i,twoLatestPosts:r,restPosts:a,searchInputValue:l,needFiltering:s,onSearchInputValueChange:u,onCategoryChange:f,pagination:m}=e;const g=(0,o.useMemo)(()=>l?Xi()(`Blog results for: ${l}`,{maxLength:30}):"Sertus Blog",[l]);return o.createElement(yr,{pb:Hi.q7},o.createElement(lr.A,{largeMode:!0,title:g,filters:o.createElement(lr.A.Filters,null,n.map((e,n)=>o.createElement(lr.A.FilterLink,{key:n,active:t.slug===e.slug,onClick:()=>f(e),altStyling:!0}
2,e.name)),o.createElement(gr,{value:l,onChange:u}))}),o.createElement(c.A,{large:!0},o.createElement(d.az,{pt:36,mb:[20,null,0]},o.createElement(nr,null,o.createElement(nr.Content,null,i&&o.createElement(Ki,Object.assign({mb:20,minutesToRead:3},i)),l&&o.createElement(Er,null,o.createElement(wr,null,"Clear search"),o.createElement(xr,{onClick:()=>u("")},o.createElement(vr(),{stroke:"#959595",height:"10px",width:"10px"}))),l&&0===a.length&&o.createElement(br,null,"No matching search results")),o.createElement(nr.Sidebar,null,r&&r.length>0&&o.createElement(ar,{items:r}))))),o.createElement(pr.A,{fourColumns:!0,items:a,noSubscriptionBlock:s,pagination:m}))};var Sr=function(e){let{currentCategory:t,categories:n,posts:i,needFiltering:r,searchInputValue:a,onSearchInputValueChange:l,onCategoryChange:s}=e;const c=(0,o.useMemo)(()=>r?null:i.find(e=>e.featured)||i[0],[i,r]),d=(0,o.useMemo)(()=>c?i.filter(e=>e.to!==c.to):i,[i,c]),u=(0,o.useMemo)(()=>r?null:d.slice(0,2),[r,d]),f=(0,o.useMemo)(()=>r?i:d.slice(2),[i,r,d]),{visibleItems:m,currentPage:g,totalPages:p,goToPage:h}=(0,Bi.W)(f,11),v=1===g?c:null,y=1===g?u:null,b=o.createElement(Gi.A,{currentPage:g,totalPages:p,onPageChange:h});return o.createElement(Cr,{currentCategory:t,categories:n,featuredPost:v,twoLatestPosts:y,restPosts:m,pagination:b,searchInputValue:a,needFiltering:r,onSearchInputValueChange:l,onCategoryChange:s})};function Ar(e){let{body:t,posts:n=[]}=e;const{0:i,1:r}=(0,o.useState)([]),{0:a,1:l}=(0,o.useState)(Hi.XG),{0:s,1:d}=(0,o.useState)(()=>v(n)),{0:u,1:f}=(0,o.useState)(""),{0:m,1:g}=(0,o.useState)(!1),{goToPage:p}=(0,Bi.Y)(),h=a!==Hi.XG||u;function v(e){return e?e.map(e=>function(e,t){const n=e.content||{};let o={to:(0,x.A)(e.full_slug),...n,title:n.title||e.name,tags:e.tag_list||[]};return t&&(o={...o,gridImage:(0,yi.A)(n.gridImage&&n.gridImage.filename&&n.gridImage||n.image,{maxWidth:t}),image:(0,yi.A)(n.image,{maxWidth:t})}),o}(e,608)):[]}(0,o.useEffect)(()=>{r(n.reduce((e,t)=>{var n;const o=null===(n=t.content)||void 0===n?void 0:n.category;return null!=o&&o.slug?e.find(e=>e.slug===o.slug)?e:[].concat((0,mo.A)(e),[o]):e},[Hi.XG]))},[n]);const y=Xo()(()=>{if(!h)return d(v(n));const e=v(n).filter(e=>{let t=!1;var n;a!==Hi.XG&&(t=(null===(n=e.category)||void 0===n?void 0:n.slug)===a.slug);return u&&(t=e.title.toLowerCase().includes(u.toLowerCase())||e.tags.indexOf(u.toLowerCase())>-1),t});d(e)},500);function b(e){p(1),l(e)}return(0,o.useEffect)(()=>{y()},[n,a,u]),(0,o.useEffect)(()=>{setTimeout(()=>{g(!0)},100)}),o.createElement(o.Fragment,null,o.createElement(fi.Ay.DesktopOrTablet,null,m&&o.createElement(Sr,{currentCategory:a,categories:i,searchInputValue:u,posts:s,needFiltering:h,onSearchInputValueChange:function(e){p(1),f(e)},onCategoryChange:b})),o.createElement(fi.Ay.Mobile,null,o.createElement(c.A,null,o.createElement(Ui,{currentCategory:a,categories:i,posts:s,onCategoryChange:b}))),o.createElement(Mi.A,{body:t}))}var kr=n(75401),Tr=n(8323),Mr=n(33368),Lr=n(86462),Or=n(96551);function _r(){const e=(0,Lr.useLocation)();return(0,o.useEffect)(()=>{"#chat"===e.hash&&((0,Or.JJ)(),window.history.pushState(null,"",e.pathname))},[e]),o.createElement(o.Fragment,null)}var Ir=function(e){let{pageContext:t}=e;const n=(0,o.useMemo)(()=>{const{story:e,searchData:n,leadTimesCSV:o}=t,i=JSON.parse(e.content);return{...i,leadTimesCSV:o,firstPublishedAt:e.first_published_at,pageName:i.pageName||i.pageTitle||e.name,searchData:n}},[t.story.uuid]);if(!n)return null;const{pageName:a,seoTitle:l,page_title:s,title:c,seoDescription:d,page_description:u,seoSharingImage:f,showGlobalCTA:m}=n,g="home"===t.story.full_slug?"/":`/${t.story.full_slug}/`;return o.createElement(i.A,{seoTitle:l||s||c||a,seoDescription:d||u,seoSharingImage:f&&f.filename,seoPathname:g,noCtaBlock:"contactRoot"===n.component||!1===m,searchData:n.searchData},function(){if(!(n||n.body||n.body.length))return null;const e=function(e){switch(e){case"downloadsRoot":return Li;case"downloadsCategory":return Oi;case"blogRoot":return Ar;case"blogPost":return _i.A;case"productsRoot":return Go;case"product":return $o;case"caseStudy":return Vo;case"course":return Uo.A;case"coursesRoot":return Wo.A;case"termsOfService":return kr.A;case"contactRoot":return Tr.A;case"podCalculatorTool":return Mr.A;case"page":return r.A;default:return null}}(n.component);return e?o.createElement(e,Object.assign({},n,{pageContext:t})):o.createElement("div",null,"Unknown storyblok component")}(),o.createElement(_r,null))}},35551:function(e,t,n){var o=n(96540);function i(e){return o.createElement("svg",e,[o.createElement("path",{d:"M43 4.05921C43 2.36965 41.8937 1 40.5291 1H12L1 12V49.9408C1 51.6303 2.10626 53 3.4709 53H40.5291C41.8937 53 43 51.6303 43 49.9408V4.05921Z",stroke:"#474747",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",key:0}),o.createElement("path",{d:"M1 12H12V1",stroke:"#474747",strokeWidth:"2",strokeLinejoin:"round",key:1})])}i.defaultProps={viewBox:"0 0 44 54",fill:"none"},e.exports=i,i.default=i},44809:function(e,t){var n,o,i;o=[],n=function e(){var t,n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{}
vendor: 5,729 bytes, line 2
2,o=!n.document&&!!n.postMessage,i=n.IS_PAPA_WORKER||!1,r={},a=0,l={};function s(e){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=b(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new m(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){var o=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<o){let t=this._config.newline;t||(r=this._config.quoteChar||'"',t=this._handle.guessLineEndings(e,r)),e=[...e.split(t).slice(o)].join(t)}this.isFirstChunk&&w(this._config.beforeFirstChunk)&&void 0!==(r=this._config.beforeFirstChunk(e))&&(e=r),this.isFirstChunk=!1,this._halted=!1,o=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(o,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(e=r.meta.cursor,this._finished||(this._partialLine=o.substring(e-this._baseIndex),this._baseIndex=e),r&&r.data&&(this._rowCount+=r.data.length),o=this._finished||this._config.preview&&this._rowCount>=this._config.preview,i)n.postMessage({results:r,workerId:l.WORKER_ID,finished:o});else if(w(this._config.chunk)&&!t){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),this._completed||!o||!w(this._config.complete)||r&&r.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),o||r&&r.meta.paused||this._nextChunk(),r}this._halted=!0},this._sendError=function(e){w(this._config.error)?this._config.error(e):i&&this._config.error&&n.postMessage({workerId:l.WORKER_ID,error:e,finished:!1})}}function c(e){var t;(e=e||{}).chunkSize||(e.chunkSize=l.RemoteChunkSize),s.call(this,e),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(t=new XMLHttpRequest,this._config.withCredentials&&(t.withCredentials=this._config.withCredentials),o||(t.onload=E(this._chunkLoaded,this),t.onerror=E(this._chunkError,this)),t.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var e,n=this._config.downloadRequestHeaders;for(e in n)t.setRequestHeader(e,n[e])}var i;this._config.chunkSize&&(i=this._start+this._config.chunkSize-1,t.setRequestHeader("Range","bytes="+this._start+"-"+i));try{t.send(this._config.downloadRequestBody)}catch(e){this._chunkError(e.message)}o&&0===t.status&&this._chunkError()}},this._chunkLoaded=function(){4===t.readyState&&(t.status<200||400<=t.status?this._chunkError():(this._start+=this._config.chunkSize||t.responseText.length,this._finished=!this._config.chunkSize||this._start>=(e=>null!==(e=e.getResponseHeader("Content-Range"))?parseInt(e.substring(e.lastIndexOf("/")+1)):-1)(t),this.parseChunk(t.responseText)))},this._chunkError=function(e){e=t.statusText||e,this._sendError(new Error(e))}}function d(e){(e=e||{}).chunkSize||(e.chunkSize=l.LocalChunkSize),s.call(this,e);var t,n,o="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,n=e.slice||e.webkitSlice||e.mozSlice,o?((t=new FileReader).onload=E(this._chunkLoaded,this),t.onerror=E(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input,i=(this._config.chunkSize&&(i=Math.min(this._start+this._config.chunkSize,this._input.size),e=n.call(e,this._start,i)),t.readAsText(e,this._config.encoding));o||this._chunkLoaded({target:{result:i}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function u(e){var t;s.call(this,e=e||{}),this.stream=function(e){return t=e,this._nextChunk()},this._nextChunk=function(){var e,n;if(!this._finished)return e=this._config.chunkSize,t=e?(n=t.substring(0,e),t.substring(e)):(n=t,""),this._finished=!t,this.parseChunk(n)}}function f(e){s.call(this,e=e||{});var t=[],n=!0,o=!1;this.pause=function(){s.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){s.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){o&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=E(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=E(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=E(function(){this._streamCleanUp(),o=!0,this._streamData("")},this),this._streamCleanUp=E(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}
vendor: 5,388 bytes, line 2
2function m(e){var t,n,o,i,r=Math.pow(2,53),a=-r,s=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,c=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,d=this,u=0,f=0,m=!1,h=!1,v=[],y={data:[],errors:[],meta:{}};function E(t){return"greedy"===e.skipEmptyLines?""===t.join("").trim():1===t.length&&0===t[0].length}function x(){if(y&&o&&(S("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),o=!1),e.skipEmptyLines&&(y.data=y.data.filter(function(e){return!E(e)})),C()){if(y)if(Array.isArray(y.data[0])){for(var t=0;C()&&t<y.data.length;t++)y.data[t].forEach(n);y.data.splice(0,1)}else y.data.forEach(n);function n(t,n){w(e.transformHeader)&&(t=e.transformHeader(t,n)),v.push(t)}}function i(t,n){for(var o=e.header?{}:[],i=0;i<t.length;i++){var l=i,d=t[i];d=((t,n)=>(t=>(e.dynamicTypingFunction&&void 0===e.dynamicTyping[t]&&(e.dynamicTyping[t]=e.dynamicTypingFunction(t)),!0===(e.dynamicTyping[t]||e.dynamicTyping)))(t)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&((e=>{if(s.test(e)&&(e=parseFloat(e),a<e&&e<r))return 1})(n)?parseFloat(n):c.test(n)?new Date(n):""===n?null:n):n)(l=e.header?i>=v.length?"__parsed_extra":v[i]:l,d=e.transform?e.transform(d,l):d),"__parsed_extra"===l?(o[l]=o[l]||[],o[l].push(d)):o[l]=d}return e.header&&(i>v.length?S("FieldMismatch","TooManyFields","Too many fields: expected "+v.length+" fields but parsed "+i,f+n):i<v.length&&S("FieldMismatch","TooFewFields","Too few fields: expected "+v.length+" fields but parsed "+i,f+n)),o}var d;y&&(e.header||e.dynamicTyping||e.transform)&&(d=1,!y.data.length||Array.isArray(y.data[0])?(y.data=y.data.map(i),d=y.data.length):y.data=i(y.data,0),e.header&&y.meta&&(y.meta.fields=v),f+=d)}function C(){return e.header&&0===v.length}function S(e,t,n,o){e={type:e,code:t,message:n},void 0!==o&&(e.row=o),y.errors.push(e)}w(e.step)&&(i=e.step,e.step=function(t){y=t,C()?x():(x(),0!==y.data.length&&(u+=t.data.length,e.preview&&u>e.preview?n.abort():(y.data=y.data[0],i(y,d))))}),this.parse=function(i,r,a){var s=e.quoteChar||'"';return e.newline||(e.newline=this.guessLineEndings(i,s)),o=!1,e.delimiter?w(e.delimiter)&&(e.delimiter=e.delimiter(i),y.meta.delimiter=e.delimiter):((s=((t,n,o,i,r)=>{var a,s,c,d;r=r||[",","\t","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var u=0;u<r.length;u++){for(var f,m=r[u],g=0,h=0,v=0,y=(c=void 0,new p({comments:i,delimiter:m,newline:n,preview:10}).parse(t)),b=0;b<y.data.length;b++)o&&E(y.data[b])?v++:(h+=f=y.data[b].length,void 0===c?c=f:0<f&&(g+=Math.abs(f-c),c=f));0<y.data.length&&(h/=y.data.length-v),(void 0===s||g<=s)&&(void 0===d||d<h)&&1.99<h&&(s=g,a=m,d=h)}return{successful:!!(e.delimiter=a),bestDelimiter:a}})(i,e.newline,e.skipEmptyLines,e.comments,e.delimitersToGuess)).successful?e.delimiter=s.bestDelimiter:(o=!0,e.delimiter=l.DefaultDelimiter),y.meta.delimiter=e.delimiter),s=b(e),e.preview&&e.header&&s.preview++,t=i,n=new p(s),y=n.parse(t,r,a),x(),m?{meta:{paused:!0}}:y||{meta:{paused:!1}}},this.paused=function(){return m},this.pause=function(){m=!0,n.abort(),t=w(e.chunk)?"":t.substring(n.getCharIndex())},this.resume=function(){d.streamer._halted?(m=!1,d.streamer.parseChunk(t,!0)):setTimeout(d.resume,3)},this.aborted=function(){return h},this.abort=function(){h=!0,n.abort(),y.meta.aborted=!0,w(e.complete)&&e.complete(y),t=""},this.guessLineEndings=function(e,t){e=e.substring(0,1048576),t=new RegExp(g(t)+"([^]*?)"+g(t),"gm");var n=(e=e.replace(t,"")).split("\r");if(e=1<(t=e.split("\n")).length&&t[0].length<n[0].length,1===n.length||e)return"\n";for(var o=0,i=0;i<n.length;i++)"\n"===n[i][0]&&o++;return o>=n.length/2?"\r\n":"\r"}}function g(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function p(e){var t=(e=e||{}).delimiter,n=e.newline,o=e.comments,i=e.step,r=e.preview,a=e.fastMode,s=null,c=!1,d=null==e.quoteChar?'"':e.quoteChar,u=d;if(void 0!==e.escapeChar&&(u=e.escapeChar),("string"!=typeof t||-1<l.BAD_DELIMITERS.indexOf(t))&&(t=","),o===t)throw new Error("Comment character same as delimiter");!0===o?o="#":("string"!=typeof o||-1<l.BAD_DELIMITERS.indexOf(o))&&(o=!1),"\n"!==n&&"\r"!==n&&"\r\n"!==n&&(n="\n");var f=0,m=!1;this.parse=function(l,p,h){if("string"!=typeof l)throw new Error("Input must be a string");var v=l.length,y=t.length,b=n.length,E=o.length,x=w(i),C=[],S=[],A=[],k=f=0;if(!l)return N();if(a||!1!==a&&-1===l.indexOf(d)){for(var T=l.split(n),M=0;M<T.length;M++){if(A=T[M],f+=A.length,M!==T.length-1)f+=n.length;else if(h)return N();if(!o||A.substring(0,E)!==o){if(x){if(C=[],z(A.split(t)),D(),m)return N()}else z(A.split(t));if(r&&r<=M)return C=C.slice(0,r),N(!0)}}return N()}for(var L=l.indexOf(t,f),O=l.indexOf(n,f),_=new RegExp(g(u)+g(d),"g"),I=l.indexOf(d,f);;)if(l[f]===d)for(I=f,f++;;){if(-1===(I=l.indexOf(d,I+1)))return h||S.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:C.length,index:f}),j();if(I===v-1)return j(l.substring(f,I).replace(_,d));if(d===u&&l[I+1]===u)I++;else if(d===u||0===I||l[I-1]!==u){-1!==L&&L<I+1&&(L=l.indexOf(t,I+1));var R=P(-1===(O=-1!==O&&O<I+1?l.indexOf(n,I+1):O)?L:Math.min(L,O));if(l.substr(I+1+R,y)===t){A.push(l.substring(f,I).replace(_,d)),l[f=I+1+R+y]!==d&&(I=l.indexOf(d,f)),L=l.indexOf(t,f),O=l.indexOf(n,f);break}
vendor: 6,688 bytes, line 2
2if(R=P(O),l.substring(I+1+R,I+1+R+b)===n){if(A.push(l.substring(f,I).replace(_,d)),F(I+1+R+b),L=l.indexOf(t,f),I=l.indexOf(d,f),x&&(D(),m))return N();if(r&&C.length>=r)return N(!0);break}S.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:C.length,index:f}),I++}}else if(o&&0===A.length&&l.substring(f,f+E)===o){if(-1===O)return N();f=O+b,O=l.indexOf(n,f),L=l.indexOf(t,f)}else if(-1!==L&&(L<O||-1===O))A.push(l.substring(f,L)),f=L+y,L=l.indexOf(t,f);else{if(-1===O)break;if(A.push(l.substring(f,O)),F(O+b),x&&(D(),m))return N();if(r&&C.length>=r)return N(!0)}return j();function z(e){C.push(e),k=f}function P(e){var t=0;return-1!==e&&(e=l.substring(I+1,e))&&""===e.trim()?e.length:t}function j(e){return h||(void 0===e&&(e=l.substring(f)),A.push(e),f=v,z(A),x&&D()),N()}function F(e){f=e,z(A),A=[],O=l.indexOf(n,f)}function N(o){if(e.header&&!p&&C.length&&!c){var i=C[0],r=Object.create(null),a=new Set(i);let t=!1;for(let n=0;n<i.length;n++){let o=i[n];if(r[o=w(e.transformHeader)?e.transformHeader(o,n):o]){let e,l=r[o];for(;e=o+"_"+l,l++,a.has(e););a.add(e),i[n]=e,r[o]++,t=!0,(s=null===s?{}:s)[e]=o}else r[o]=1,i[n]=o;a.add(o)}t&&console.warn("Duplicate headers found and renamed."),c=!0}return{data:C,errors:S,meta:{delimiter:t,linebreak:n,aborted:m,truncated:!!o,cursor:k+(p||0),renamedHeaders:s}}}function D(){i(N()),C=[],S=[]}},this.abort=function(){m=!0},this.getCharIndex=function(){return f}}function h(e){var t=e.data,n=r[t.workerId],o=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){o=!0,v(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:y,resume:y};if(w(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:t.results.data[a],errors:t.results.errors,meta:t.results.meta},i),!o);a++);delete t.results}else w(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!o&&v(t.workerId,t.results)}function v(e,t){var n=r[e];w(n.userComplete)&&n.userComplete(t),n.terminate(),delete r[e]}function y(){throw new Error("Not implemented.")}function b(e){if("object"!=typeof e||null===e)return e;var t,n=Array.isArray(e)?[]:{};for(t in e)n[t]=b(e[t]);return n}function E(e,t){return function(){e.apply(t,arguments)}}function w(e){return"function"==typeof e}return l.parse=function(t,o){var i=(o=o||{}).dynamicTyping||!1;if(w(i)&&(o.dynamicTypingFunction=i,i={}),o.dynamicTyping=i,o.transform=!!w(o.transform)&&o.transform,!o.worker||!l.WORKERS_SUPPORTED)return i=null,l.NODE_STREAM_INPUT,"string"==typeof t?(t=(e=>65279!==e.charCodeAt(0)?e:e.slice(1))(t),i=new(o.download?c:u)(o)):!0===t.readable&&w(t.read)&&w(t.on)?i=new f(o):(n.File&&t instanceof File||t instanceof Object)&&(i=new d(o)),i.stream(t);(i=(()=>{var t;return!!l.WORKERS_SUPPORTED&&(t=(()=>{var t=n.URL||n.webkitURL||null,o=e.toString();return l.BLOB_URL||(l.BLOB_URL=t.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",o,")();"],{type:"text/javascript"})))})(),(t=new n.Worker(t)).onmessage=h,t.id=a++,r[t.id]=t)})()).userStep=o.step,i.userChunk=o.chunk,i.userComplete=o.complete,i.userError=o.error,o.step=w(o.step),o.chunk=w(o.chunk),o.complete=w(o.complete),o.error=w(o.error),delete o.worker,i.postMessage({input:t,config:o,workerId:i.id})},l.unparse=function(e,t){var n=!1,o=!0,i=",",r="\r\n",a='"',s=a+a,c=!1,d=null,u=!1,f=((()=>{if("object"==typeof t){if("string"!=typeof t.delimiter||l.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(i=t.delimiter),"boolean"!=typeof t.quotes&&"function"!=typeof t.quotes&&!Array.isArray(t.quotes)||(n=t.quotes),"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(c=t.skipEmptyLines),"string"==typeof t.newline&&(r=t.newline),"string"==typeof t.quoteChar&&(a=t.quoteChar),"boolean"==typeof t.header&&(o=t.header),Array.isArray(t.columns)){if(0===t.columns.length)throw new Error("Option columns is empty");d=t.columns}void 0!==t.escapeChar&&(s=t.escapeChar+a),t.escapeFormulae instanceof RegExp?u=t.escapeFormulae:"boolean"==typeof t.escapeFormulae&&t.escapeFormulae&&(u=/^[=+\-@\t\r].*$/)}})(),new RegExp(g(a),"g"));if("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return m(null,e,c);if("object"==typeof e[0])return m(d||Object.keys(e[0]),e,c)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields||d),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:"object"==typeof e.data[0]?Object.keys(e.data[0]):[]),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),m(e.fields||[],e.data||[],c);throw new Error("Unable to serialize unrecognized input");function m(e,t,n){var a="",l=("string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t)),Array.isArray(e)&&0<e.length),s=!Array.isArray(t[0]);if(l&&o){for(var c=0;c<e.length;c++)0<c&&(a+=i),a+=p(e[c],c);0<t.length&&(a+=r)}for(var d=0;d<t.length;d++){var u=(l?e:t[d]).length,f=!1,m=l?0===Object.keys(t[d]).length:0===t[d].length;if(n&&!l&&(f="greedy"===n?""===t[d].join("").trim():1===t[d].length&&0===t[d][0].length),"greedy"===n&&l){for(var g=[],h=0;h<u;h++){var v=s?e[h]:h;g.push(t[d][v])}f=""===g.join("").trim()}if(!f){for(var y=0;y<u;y++){0<y&&!m&&(a+=i);var b=l&&s?e[y]:y;a+=p(t[d][b],y)}d<t.length-1&&(!n||0<u&&!m)&&(a+=r)}}return a}function p(e,t){var o,r;return null==e?"":e.constructor===Date?JSON.stringify(e).slice(1,25):(r=!1,u&&"string"==typeof e&&u.test(e)&&(e="'"+e,r=!0),o=e.toString().replace(f,s),(r=r||!0===n||"function"==typeof n&&n(e,t)||Array.isArray(n)&&n[t]||((e,t)=>{for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1})(o,l.BAD_DELIMITERS)||-1<o.indexOf(i)||" "===o.charAt(0)||" "===o.charAt(o.length-1))?a+o+a:o)}},l.RECORD_SEP=String.fromCharCode(30),l.UNIT_SEP=String.fromCharCode(31),l.BYTE_ORDER_MARK="\ufeff",l.BAD_DELIMITERS=["\r","\n",'"',l.BYTE_ORDER_MARK],l.WORKERS_SUPPORTED=!o&&!!n.Worker,l.NODE_STREAM_INPUT=1,l.LocalChunkSize=10485760,l.RemoteChunkSize=5242880,l.DefaultDelimiter=",",l.Parser=p,l.ParserHandle=m,l.NetworkStreamer=c,l.FileStreamer=d,l.StringStreamer=u,l.ReadableStreamStreamer=f,n.jQuery&&((t=n.jQuery).fn.parse=function(e){var o=e.config||{},i=[];return this.each(function(e){if("INPUT"!==t(this).prop("tagName").toUpperCase()||"file"!==t(this).attr("type").toLowerCase()||!n.FileReader||!this.files||0===this.files.length)return!0;for(var r=0;r<this.files.length;
2r++)i.push({file:this.files[r],inputElem:this,instanceConfig:t.extend({},o)})}),r(),this;function r(){if(0===i.length)w(e.complete)&&e.complete();else{var n,o,r,s,c=i[0];if(w(e.before)){var d=e.before(c.file,c.inputElem);if("object"==typeof d){if("abort"===d.action)return n="AbortError",o=c.file,r=c.inputElem,s=d.reason,void(w(e.error)&&e.error({name:n},o,r,s));if("skip"===d.action)return void a();"object"==typeof d.config&&(c.instanceConfig=t.extend(c.instanceConfig,d.config))}else if("skip"===d)return void a()}var u=c.instanceConfig.complete;c.instanceConfig.complete=function(e){w(u)&&u(e,c.file,c.inputElem),a()},l.parse(c.file,c.instanceConfig)}}function a(){i.splice(0,1),r()}}),i&&(n.onmessage=function(e){e=e.data,void 0===l.WORKER_ID&&e&&(l.WORKER_ID=e.workerId),"string"==typeof e.input?n.postMessage({workerId:l.WORKER_ID,results:l.parse(e.input,e.config),finished:!0}):(n.File&&e.input instanceof File||e.input instanceof Object)&&(e=l.parse(e.input,e.config))&&n.postMessage({workerId:l.WORKER_ID,results:e,finished:!0})}),(c.prototype=Object.create(s.prototype)).constructor=c,(d.prototype=Object.create(s.prototype)).constructor=d,(u.prototype=Object.create(u.prototype)).constructor=u,(f.prototype=Object.create(s.prototype)).constructor=f,l},void 0===(i="function"==typeof n?n.apply(t,o):n)||(e.exports=i)},55808:function(e,t,n){var o=n(12507)("toUpperCase");e.exports=o},93435:function(e,t,n){var o=n(96540);function i(e){return o.createElement("svg",e,[o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1318 13.9116C13.892 13.0111 15.3996 10.0434 14.4991 7.28315C13.5986 4.5229 10.631 3.01528 7.87071 3.9158C5.11045 4.81632 3.60283 7.78396 4.50335 10.5442C5.40387 13.3045 8.37152 14.8121 11.1318 13.9116ZM11.628 15.4327C15.2284 14.2581 17.1948 10.3872 16.0202 6.7869C14.8456 3.18657 10.9748 1.22011 7.37446 2.3947C3.77412 3.56929 1.80766 7.44013 2.98225 11.0405C4.15684 14.6408 8.02769 16.6073 11.628 15.4327Z",key:0}),o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.8824 13.0682C13.1968 12.7578 13.7033 12.7611 14.0137 13.0755L16.7069 15.8033C17.0173 16.1177 17.014 16.6242 16.6996 16.9346C16.3852 17.245 15.8787 17.2418 15.5683 16.9274L12.8752 14.1996C12.5647 13.8852 12.568 13.3787 12.8824 13.0682Z",key:1})])}i.defaultProps={width:"20",height:"21",viewBox:"0 0 20 21",fill:"none"},e.exports=i,i.default=i}}]);
3//# sourceMappingURL=component---src-templates-storyblok-page-jsx-8b77aa4eed07f87e962a.js.map

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.