1!function(){"use strict";let e;function t(e){const t=function(){const e=Number(GLOBAL?.TICKER_SPEED_PX_PER_SEC);return Number.isFinite(e)&&e>0?e:80}();e.forEach(e=>{const n=e.querySelector(".scroller-inner");if(!n)return;const o=Array.from(n.children);o.length&&requestAnimationFrame(()=>{const r=2*e.offsetWidth;let i=0;for(;n.scrollWidth<r&&i<50;)o.forEach(e=>{n.appendChild(e.cloneNode(!0))}),i+=1;const s=n.scrollWidth/2;if(!s)return;const a=Math.max(8,s/t);n.style.setProperty("--ticker-duration",`${a.toFixed(2)}s`)})})}function n(){const e=document.querySelectorAll(".dropdown"),t=document.getElementById("lang-switcher"),n=[...e];t&&n.push(t);e.forEach(e=>{e.addEventListener("click",t=>{t.stopPropagation(),(e=>{"true"===e.dataset.open?e.setAttribute("data-open","false"):(n.forEach(t=>{t!==e&&t.setAttribute("data-open","false")}),e.setAttribute("data-open","true"))})(e)})}),document.addEventListener("click",t=>{e.forEach(e=>{e.contains(t.target)||e.setAttribute("data-open","false")})}),document.addEventListener("keydown",t=>{"Escape"===t.key&&e.forEach(e=>{e.setAttribute("data-open","false")})})}function o(){const e=document.getElementById("category-container");if(!e)return console.warn("Category container not found"),!1;const t=e.querySelector("ul");if(!t)return console.warn("Secondary navigation ul not found"),!1;const n=t.querySelectorAll("li");if(!n.length)return console.warn("No secondary navigation items found"),!1;try{const e=function(e){try{return Array.from(e).map(e=>{const t=e.querySelector("a");if(!t)return null;const n=s(t.getAttribute("title")||""),o=a(t.getAttribute("aria-label")||t.textContent||"");return{element:e,link:t,label:o,href:t.getAttribute("href")||"#",target:t.getAttribute("target"),rel:t.getAttribute("rel"),className:e.className||"",title:n}}).filter(Boolean)}catch(e){return console.error("Error extracting secondary navigation items:",e),[]}}(n);if(!e.length)return console.warn("No secondary navigation items extracted"),!1;const o=function(e,t="header"){const n=[];let o=null,r=1;for(const s of e)try{const{label:e,href:a}=s;if(!e.trim())continue;const{cleanLabel:c,showInHeader:l,showInFooter:d}=i(e);if("header"===t&&!l)continue;if("footer"===t&&!d)continue;if("#"===a&&!c.startsWith("+")&&!c.startsWith("-")){if("header"===t){o=null;continue}o=null;continue}if(c.startsWith("+")){const e=c.substring(1).trim();if(!e)continue;o={type:"dropdown",parent:{text:e,id:`${t}-dropdown-${r++}`,className:s.className,title:s.title,href:s.href,target:s.target,rel:s.rel},children:[]},n.push(o);continue}if(c.startsWith("-")){const e=c.substring(1).trim();if(!e)continue;if(!o){console.warn("Dropdown child found without parent, converting to regular link:",c),n.push({type:"link",text:e,href:s.href,target:s.target,rel:s.rel,className:s.className,title:s.title});continue}o.children.push({text:e,href:s.href,target:s.target,rel:s.rel,className:s.className,title:s.title});continue}c.trim()&&n.push({type:"link",text:c,href:s.href,target:s.target,rel:s.rel,className:s.className,title:s.title}),o=null}catch(e){console.error("Error processing secondary navigation item:",e,s)}return n}(e,"header");return t.innerHTML=function(e){const t=e.map(e=>{if("dropdown"===e.type){const t=e.children.map(e=>{const t=e.target?` target="${c(e.target)}"`:"",n=e.rel?` rel="${c(e.rel)}"`:"",o=e.title?` title="${c(e.title)}"`:"";return`<li><a href="${c(e.href)}"${t}${n}${o} class="inline-block w-full px-4 py-2">${c(e.text)}</a></li>`}).join("");if(!t){const t=e.parent.target?` target="${c(e.parent.target)}"`:"",n=e.parent.rel?` rel="${c(e.parent.rel)}"`:"",o=e.parent.title?` title="${c(e.parent.title)}"`:"";return`<li class="hover:text-[--text-accent]"><a href="${c(e.parent.href)}"${t}${n}${o}>${c(e.parent.text)}</a></li>`}return`<li data-open="false" class="dropdown secondary-dropdown w-max cursor-pointer relative group flex items-center z-0 h-full hover:text-[--text-accent]" aria-label="dropdown">\n <button class="w-auto flex items-center justify-between gap-2 hover:text-[--text-accent]"${e.parent.title?` title="${c(e.parent.title)}"`:""}>
1\n <span class="text-[--text-primary]">${c(e.parent.text)}</span>\n <img src="/assets/img/arrow.svg" alt="arrow" aria-hidden="true" class="block filter-theme h-3.5 group-data-[open='true']:rotate-180 transition-transform duration-300" />\n </button>\n <div class="block absolute top-0 left-0 h-full w-full"></div>\n <div class="pt-4 secondary-dropdown-menu fixed left-0 top-[calc(8.125rem_-_1px)]">\n <ul class="rounded-sm flex flex-col gap-0 font-medium text-sm bg-[--header-bg] border border-[--border-color] w-max min-w-36 hover:text-[--text-accent]">\n ${t}\n </ul>\n </div>\n </li>`}{const t=e.target?` target="${c(e.target)}"`:"",n=e.rel?` rel="${c(e.rel)}"`:"",o=e.title?` title="${c(e.title)}"`:"";return`<li class="hover:text-[--text-accent]"><a href="${c(e.href)}"${t}${n}${o}>${c(e.text)}</a></li>`}}).join("\n");return t}(o),!0}catch(e){return console.error("Secondary navigation transformation failed:",e),!1}}function r(){const e=document.querySelector(".footer-nav");if(!e)return console.warn("Footer navigation container not found"),!1;const t=e.querySelectorAll("li");if(!t.length)return console.warn("No footer navigation items found"),!1;try{const n=function(e){try{return Array.from(e).map(e=>{const t=e.querySelector("a");if(!t)return null;const n=s(t.getAttribute("title")||""),o=a(t.getAttribute("aria-label")||t.textContent||"");return{element:e,link:t,label:o,href:t.getAttribute("href")||"#",target:t.getAttribute("target"),rel:t.getAttribute("rel"),className:e.className||"",title:n}}).filter(Boolean)}catch(e){return console.error("Error extracting navigation items:",e),[]}}(t);if(!n.length)return console.warn("No navigation items found"),!1;const o=function(e,t="footer"){const n=[];let o=null,r=null,s=1;const a=4;let c=!1;for(const l of e)try{const{label:e,href:d}=l;if(!e.trim())continue;const{cleanLabel:u,showInHeader:f,showInFooter:p}=i(e);if("header"===t&&!f)continue;if("footer"===t&&!p)continue;if("#"===d&&!u.startsWith("+")&&!u.startsWith("-")){if("header"===t)continue;if(n.length>=a){console.warn(`Maximum ${a} columns reached, skipping additional headings`);continue}o={heading:{text:u,className:l.className,title:l.title},items:[]},n.push(o),r=null;continue}if(o||(o={heading:null,items:[]},n.push(o),c=!0),u.startsWith("+")){const e=u.substring(1).trim();if(!e)continue;r={type:"dropdown",parent:{text:e,id:`${t}-dropdown-${s++}`,className:l.className,title:l.title},children:[]},o.items.push(r);continue}if(u.startsWith("-")){const e=u.substring(1).trim();if(!e)continue;if(!r){console.warn("Dropdown child found without parent, converting to regular link:",u),o.items.push({type:"link",text:e,href:l.href,target:l.target,rel:l.rel,className:l.className,title:l.title});continue}r.children.push({text:e,href:l.href,target:l.target,rel:l.rel,className:l.className,title:l.title});continue}u.trim()&&o.items.push({type:"link",text:u,href:l.href,target:l.target,rel:l.rel,className:l.className,title:l.title}),r=null}catch(e){console.error("Error processing navigation item:",e,l);continue}return n.filter(e=>e.items.length>0)}(n,"footer");if(!o.length)return console.warn("No valid navigation structure found"),!1;const r=function(e){const t='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" stroke-width="10" class="block h-3.5 rotate-180 transition-transform duration-300 stroke-[--footer-text] group-has-[:checked]:stroke-[--footer-text-hover] group-has-[:checked]:rotate-0">\n <g stroke-width="0"></g>\n <g stroke-linecap="round" stroke-linejoin="round"></g>\n <g><path d="M78.466,35.559L50.15,63.633L22.078,35.317c-0.777-0.785-2.044-0.789-2.828-0.012s-0.789,2.044-0.012,2.827L48.432,67.58 c0.365,0.368,0.835,0.563,1.312,0.589c0.139,0.008,0.278-0.001,0.415-0.021c0.054,0.008,0.106,0.021,0.16,0.022 c0.544,0.029,1.099-0.162,1.515-0.576l29.447-29.196c0.785-0.777,0.79-2.043,0.012-2.828S79.249,34.781,78.466,35.559z"></path></g>\n </svg>',n=e.map(e=>{const n=e.items.map(e=>{if("dropdown"===e.type){const n=e.children.map(e=>{const t=e.target?` target="${c(e.target)}"`:"",n=e.rel?` rel="${c(e.rel)}"`:"",o=e.title?` title="${c(e.title)}"`:"";return`<li><a href="${c(e.href)}"${t}${n}${o} class="inline-block bg-transparent hover:bg-[#505050] text-white px-4 py-2 text-xs w-full">${c(e.text)}</a></li>`}).join("");if(!n)return`<li><span class="text-[--footer-text]">${c(e.parent.text)}</span></li>`;const o=e.parent.title?` title="${c(e.parent.title)}"`:"";return`<li class="group relative footer-dropdown-container origin-bottom">\n <label for="${e.parent.id}" class="flex gap-2 items-center cursor-pointer"${o}>\n <input type="checkbox" name="footer-dropdown" id="${e.parent.id}" class="hidden"/>\n <div class="text-[--footer-text] group-has-[:checked]:text-[--footer-text-hover]">\n ${c(e.parent.text)}\n </div>\n ${t}\n </label>\n <div class="grid group-has-[:checked]:grid-rows-[1fr] grid-rows-[0fr] [transition:grid-template-rows_ease-in-out_300ms] absolute bottom-[calc(100%+0.625rem)] left-0">\n <div class="overflow-hidden w-max">\n <ul class="text-xs font-medium flex flex-col border border-[--footer-border] w-max min-w-28 bg-[--footer-dropdown] rounded-sm">\n ${n}\n </ul>\n </div>\n </div>\n </li>`}{const t=e.target?` target="${c(e.target)}"`:"",n=e.rel?` rel="${c(e.rel)}"`:"",o=e.title?` title="${c(e.title)}"`:"";return`<li><a href="${c(e.href)}"${t}${n}${o} class="text-[--footer-text] hover:text-[--footer-text-hover]">${c(e.text)}</a></li>`}}).join("");return e.heading?`<div class="footer-column">\n <ul class="footer-nav text-sm font-medium flex flex-col gap-2.5">\n <li class="mb-1">\n <h2 class="font-heading text-white text-lg font-medium"${e.heading.title?` title="${c(e.heading.title)}"`:""}>\n ${c(e.heading.text)}\n </h2>\n </li>\n ${n}\n </ul>\n </div>`:`<div class="footer-column">\n <ul class="footer-nav text-sm font-medium flex flex-col gap-2.5">\n ${n}\n </ul>\n </div>`}).join("\n");return n}(o);return e.innerHTML=r,!0}catch(e){return console.error("Footer navigation transformation failed:",e),!1}}function i(e){if(!e||"string"!=typeof e)return{cleanLabel:"",showInHeader:!0,showInFooter:!0};let t=e.trim(),n=!0,o=!0;const r=t.match(/^\[h\](.*)$/),i=t.match(/^\[f\](.*)$/);return r?(t=r[1].trim(),n=!0,o=!1):i&&(t=i[1].trim(),n=!1,o=!0),{cleanLabel:t,showInHeader:n,showInFooter:o}}function s(e){if(!e||"string"!=typeof e)return"";let t=e.trim();return t=t.replace(/^\[h\]/,"").replace(/^\[f\]/,""),(t.startsWith("+")||t.startsWith("-"))&&(t=t.substring(1)),t.trim()}function a(e){return e?e.trim().replace(/\s+/g," "):""}function c(e){if(!e)return"";const t=document.createElement("div");return t.textContent=e,t.innerHTML}function l(e){if(!e)return null;const t=e.replace(/[^0-9.]/g,""),n=parseFloat(t);return isNaN(n)?null:n}function d(){document.querySelectorAll(".js-discount-number").forEach(e
1=>{const t=e.getAttribute("data-monthly-price"),n=e.getAttribute("data-yearly-price");if(!t){const t=e.closest(".js-discount-wrapper");return void(t&&(t.style.display="none"))}const o=l(t),r=l(n);if(!o||!r){const t=e.closest(".js-discount-wrapper");return void(t&&(t.style.display="none"))}const i=function(e,t){const n=12*e,o=(n-t)/n*100;return Math.round(o)}(o,r);if(i>0){e.innerHTML=`${i}% `;const t=e.closest(".js-discount-wrapper");t&&(t.style.display="")}else{const t=e.closest(".js-discount-wrapper");t&&(t.style.display="none")}})}const u=e=>{document.querySelector(".js-pagination-container")?.remove();const t=(t,n=!1)=>{e.textContent=t,e.setAttribute("aria-busy",n?"true":"false")};if(GLOBAL.LAST_PAGE)return void t("true"===e.dataset.hideInitialEnd?"":e.dataset.endText);const n=new IntersectionObserver(async o=>{if(!o.some(e=>e.isIntersecting))return;n.unobserve(e),t(e.dataset.loadingText,!0);const r=await p();r.error?t(e.dataset.errorText):r.lastPage?t(e.dataset.endText):(t(""),n.observe(e))},{rootMargin:"0px 0px 800px 0px"});n.observe(e)};let f;const p=e=>f||(f=m(e).finally(()=>{f=null}),f),m=async t=>{const n=document.querySelector("link[rel=next]"),o=document.querySelector(".js-load-posts"),r=o?.getAttribute("data-no-posts-text");if(GLOBAL.NEXT_PAGE_LINK=n&&!GLOBAL.NEXT_PAGE_LINK?n.getAttribute("href"):GLOBAL.NEXT_PAGE_LINK,!GLOBAL.NEXT_PAGE_LINK||GLOBAL.LAST_PAGE)return GLOBAL.LAST_PAGE=!0,{appended:0,lastPage:!0};t?.classList.add("is-loading");try{const n=await fetch(GLOBAL.NEXT_PAGE_LINK);if(!n.ok)throw new Error(`Unable to load ${GLOBAL.NEXT_PAGE_LINK}`);const o=await n.text(),i=(new DOMParser).parseFromString(o,"text/html"),s=document.querySelector(".js-post-list"),a=i.querySelector(".js-post-list");if(!s||!a)throw new Error("The next page did not contain a post list");const c=a.querySelectorAll(".js-post-card");if(!c.length)throw new Error("The next page did not contain posts");const l=e=>e.dataset?.postUrl||e.querySelector(".post-card-title")?.closest("a")?.getAttribute("href"),d=new Set(Array.from(s.querySelectorAll(".js-post-card")).map(l).filter(Boolean)),u=window.scrollY;let f=0;c.forEach(e=>{const t=l(e);t&&d.has(t)||(s.appendChild(e),t&&d.add(t),f+=1)}),f&&document.querySelector(".photo-gallery-grid")&&refreshFsLightbox(),f&&window.scrollY!==u&&(e=u,window.scrollTo(0,u));const p=i.querySelector("link[rel=next]");GLOBAL.CURRENT_PAGE+=1,GLOBAL.NEXT_PAGE_LINK=p?.getAttribute("href")||"",GLOBAL.NEXT_PAGE=GLOBAL.NEXT_PAGE_LINK?GLOBAL.CURRENT_PAGE+1:NaN,GLOBAL.LAST_PAGE=!GLOBAL.NEXT_PAGE_LINK||GLOBAL.CURRENT_PAGE>=GLOBAL.MAX_PAGES;const m=document.getElementById("currArticles");return m&&(m.innerHTML=Math.min(GLOBAL.CURRENT_PAGE*GLOBAL.POSTS_PER_PAGE,GLOBAL.TOTAL_POSTS)),t&&GLOBAL.LAST_PAGE&&(t.disabled=!0,t.classList.add("btn-disabled"),t.innerHTML=r),{appended:f,lastPage:GLOBAL.LAST_PAGE}}catch(e){return console.warn("Something went wrong.",e),{error:!0}}finally{t?.classList.remove("is-loading")}},h=()=>{document.querySelectorAll(".post-page-content .kg-embed-card iframe").forEach(e=>{const t=e.closest(".kg-embed-card");if(!t||t.querySelector(".article-print-embed"))return;const n=e.src;if(!n)return;const o=(e=>{try{const t=new URL(e,window.location.href),n=t.hostname.replace(/^www\./,"");if("youtu.be"===n)return t.pathname.split("/").filter(Boolean)[0]||"";if("youtube.com"===n||"youtube-nocookie.com"===n){const e=t.pathname.split("/").filter(Boolean);return"embed"===e[0]?e[1]||"":t.searchParams.get("v")||""}}catch(e){return""}return""})(n),r=/^[A-Za-z0-9_-]{6,}$/.test(o),i=r?`https://www.youtube.com/watch?v=${o}`:n,s=e.title||(r?"YouTube video":"Embedded content"),a=document.createElement("a"),c=document.createElement("span"),l=document.createElement("span"),d=document.createElement("strong"),u=document.createElement("span");if(a.className="article-print-embed hidden"+(r?" article-print-youtube":""),a.href=i,a.setAttribute("aria-label",`${r?"YouTube video":"Embedded content"}: ${s}`),r){const e=document.createElement("span"),t=document.createElement("img"),n=document.createElement("span");e.className="article-print-youtube-media",t.src=`https://i.ytimg.com/vi/${o}/maxresdefault.jpg`,t.alt="",t.addEventListener("error",()=>{t.dataset.fallback?t.remove():(t.dataset.fallback="true",t.src=`https://i.ytimg.com/vi/${o}/hqdefault.jpg`)}),n.className="article-print-youtube-icon",n.setAttribute("aria-hidden","true"),e.append(t,n),a.appendChild(e)}
1c.className="article-print-embed-details",l.className="article-print-embed-type",l.textContent=r?"YouTube":"Embedded content",d.textContent=s,u.className="article-print-embed-url",u.textContent=i,c.append(l,d,u),a.appendChild(c),t.appendChild(a)})};var g,b;function v(){GLOBAL.AUTO_HIDE_HEADER?(window.updateHeaderPositions=function(){const t=document.querySelector("header"),n=document.getElementById("ticker"),o=document.querySelector(".sticky-subscribe-form .sticky"),r=()=>{let e=t.clientHeight;return n&&"hidden"===n.dataset.visible&&(e=t.clientHeight),e};let i=r(),s=window.scrollY;const a=()=>{i=r(),n&&"hidden"!==n.dataset.visible&&(n.style.transform=`translateY(${i}px)`),o&&(o.style.top=`${i+16}px`)};return a(),window.addEventListener("scroll",r=>{if(void 0!==e){if(Math.abs(e-window.scrollY)<1)return void(s=window.scrollY);e=void 0}if(s===window.scrollY)return;const a=s<window.scrollY,c=window.scrollY>=i;a&&c?(t.style.transform="translateY(-100%)",n&&"hidden"!==n.dataset.visible&&(n.style.transform="translateY(0)"),o&&(o.style.top="16px")):(t.style.transform="translateY(0)",n&&"hidden"!==n.dataset.visible&&(n.style.transform=`translateY(${i}px)`),o&&(o.style.top=`${i+16}px`)),s=window.scrollY}),a}(),function(){const e=document.getElementById("ticker");if(e){const n=localStorage.getItem("ticker");"hidden"!==n&&"visible"!==n||(e.dataset.visible=n,localStorage.setItem("ticker",n));const o=document.getElementById("close-ticker");o&&o.addEventListener("click",()=>{e.dataset.visible="hidden",localStorage.setItem("ticker","hidden"),setTimeout(()=>{window.updateHeaderPositions&&window.updateHeaderPositions()},10)});const r=document.getElementById("ticker-content"),i=e.querySelector(".ticker-loop");if(r&&i){const t=r.querySelectorAll("li");if(t.length>0){const n=document.createDocumentFragment();t.forEach(e=>{const t=document.createElement("li");t.className="ticker-loop-item flex items-center gap-1";const o=document.createElement("div");o.className="ticker-loop-item-icon size-4 rounded-sm flex items-center justify-center text-[--text-primary] text-lg font-bold",o.textContent="â¢";const r=document.createElement("span");r.className="ticker-loop-item-title text-[--text-primary]",r.innerHTML=e.innerHTML,t.appendChild(o),t.appendChild(r),n.appendChild(t)}),i.innerHTML="",i.appendChild(n),r.innerHTML="",e.classList.add("ticker-ready")}}t(document.querySelectorAll(".scroller"))}}()):(window.updateHeaderPositions=function(){const e=document.querySelector("header"),t=document.getElementById("ticker"),n=document.querySelector(".sticky-subscribe-form .sticky");return window.updateHeaderPositions=function(){const o=e.clientHeight;e.style.top="0px",e.style.transform="translateY(0)",t&&"visible"===t.dataset.visible&&(t.style.top=`${o}px`,t.style.transform="translateY(0)"),n&&(n.style.top=`${o+16}px`)},window.updateHeaderPositions(),window.addEventListener("resize",()=>{window.updateHeaderPositions()}),window.updateHeaderPositions}(),function(){const e=document.getElementById("ticker");if(e){const n=localStorage.getItem("ticker");"hidden"!==n&&"visible"!==n||(e.dataset.visible=n,localStorage.setItem("ticker",n));const o=document.getElementById("close-ticker");o&&o.addEventListener("click",()=>{e.dataset.visible="hidden",localStorage.setItem("ticker","hidden"),setTimeout(()=>{window.updateHeaderPositions&&window.updateHeaderPositions()},10)});const r=document.getElementById("ticker-content"),i=e.querySelector(".ticker-loop");if(r&&i){const t=r.querySelectorAll("li");if(t.length>0){const n=document.createDocumentFragment();t.forEach(e=>{const t=document.createElement("li");t.className="ticker-loop-item flex items-center gap-1";const o=document.createElement("div");o.className="ticker-loop-item-icon size-4 rounded-sm flex items-center justify-center text-[--text-primary] text-lg font-bold",o.textContent="â¢";const r=document.createElement("span");r.className="ticker-loop-item-title text-[--text-primary]",r.innerHTML=e.innerHTML,t.appendChild(o),t.appendChild(r),n.appendChild(t)}),i.innerHTML="",i.appendChild(n),r.innerHTML="",e.classList.add("ticker-ready")}}t(document.querySelectorAll(".scroller"))}}()),o(),r(),n(),function(){const e=document.getElementById("category-container"),t=document.querySelectorAll(".secondary-dropdown-menu"),n=(e,t)=>{const n=e.parentElement,o=n.offsetWidth/2;t+n.offsetWidth-o<0||t>window.innerWidth-o?e.parentElement.dataset.open="false":t+e.offsetWidth>window.innerWidth?e.style.left=window.innerWidth-e.offsetWidth+"px":t+n.offsetWidth>0?e.style.left=`${Math.max(0,t)}px`:e.style.left=`${t}px`};t.forEach(t=>{const o=t.parentElement;o.addEventListener("click",()=>{n(t,o.offsetLeft-e.scrollLeft)}),e.addEventListener("scroll",()=>{n(t,o.offsetLeft-e.scrollLeft)}),document.addEventListener("click",e=>{o.contains(e.target)||o.setAttribute("data-open","false")})})}(),function(){const e=document.querySelector(".footer-nav");e&&(e.addEventListener("click",e=>{try{const t=e.target.closest(".footer-dropdown-container");if(!t)return void document.querySelectorAll('input[name="footer-dropdown"]').forEach(e
1=>{e.checked=!1});const n=t.querySelector('input[type="checkbox"]'),o=t.querySelector("label");if(!n||!o)return;o.contains(e.target)&&(e.preventDefault(),n.checked=!n.checked,document.querySelectorAll('input[name="footer-dropdown"]').forEach(e=>{e!==n&&(e.checked=!1)}))}catch(e){console.error("Error handling dropdown click:",e)}}),document.addEventListener("click",t=>{try{e.contains(t.target)||document.querySelectorAll('input[name="footer-dropdown"]').forEach(e=>{e.checked=!1})}catch(e){console.error("Error handling outside click:",e)}}),document.addEventListener("keydown",e=>{"Escape"===e.key&&document.querySelectorAll('input[name="footer-dropdown"]').forEach(e=>{e.checked=!1})}))}(),function(){const e=document.getElementById("mobile-nav");e.addEventListener("click",()=>{"true"===e.dataset.open?(e.setAttribute("data-open","false"),document.body.classList.remove("no-scroll")):(e.setAttribute("data-open","true"),document.body.classList.add("no-scroll"))})}(),function(){const e=document.getElementById("lang-switcher"),t=document.getElementById("lang-switcher-btn"),n=document.getElementById("lang-switcher-content");if(t){const o=e=>{const t="true"===e.dataset.open;t||document.querySelectorAll(".dropdown").forEach(e=>{e.setAttribute("data-open","false")}),e.setAttribute("data-open",t?"false":"true"),t||e.focus()};e.addEventListener("click",function(t){t.stopPropagation(),o(e)}),e.addEventListener("keydown",function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),o(e))}),document.addEventListener("click",function(t){e.contains(t.target)||e.setAttribute("data-open","false")});const r=GLOBAL.LOCALES.split(","),i=e=>/^[A-Z]{2}$/.test(e)?`https://flagsapi.com/${e.toUpperCase()}/flat/64.png`:"",s=e=>{const o=new Intl.Locale(e),a=new Intl.DisplayNames([e],{type:"language"}).of(o.language);n.innerHTML="";const c=r.filter(t=>t!==e);c.forEach(e=>{new Intl.Locale(e).language}),c.forEach(e=>{const t=new Intl.Locale(e),o=new Intl.DisplayNames([e],{type:"language"}).of(t.language),r=getLocaleURL(t.language),i=document.createElement("li");i.tabIndex="0",i.innerHTML=`<a id="localeURL${t}" href="${r}" style="margin-left: 0.5rem;height: 1.15rem;">\n <i class="fi fi-${t.region.toLowerCase()}" data-locale="${t}"></i>\n </a>\n <a href="${r}" style="padding-top:5px;text-wrap: nowrap; flex-grow: 1;">${o}</a>`,i.value=e,i.addEventListener("click",function(){s(e)}),i.addEventListener("keypress",function(t){"Enter"===t.key&&s(e)}),n.appendChild(i)});let l=`<img alt="flagdd" data-locale="${o}" src="${i(o.region)}" />`;l=`<i class="fi fi-${o.region.toLowerCase()}" data-locale="${o}"></i>`,t.innerHTML=l+`\n <span class="lang-name">${a}</span>\n <img src="/assets/img/arrow.svg" alt="arrow" aria-hidden="true" class="arrow-icon hidden xs:block filter-theme h-3.5 transition-transform duration-300"/>`};s(r[0]);const a=new Intl.Locale(navigator.language).language;"true"===GLOBAL.REDIRECT_ON_LOCALE?(console.log("Redirecting to locale: "+a),a!==GLOBAL.ROOT_LOCALE&&(s(r[r.findIndex(e=>e.includes(a+"-"))]),window.location=getLocaleURL(a))):s(r[r.findIndex(e=>e.includes(GLOBAL.ROOT_LOCALE+"-"))])}}(),function(){const e=document.getElementById("scroll-to-top"),t=document.getElementById("page-progress");e.addEventListener("click",()=>{window.scrollTo(0,0)}),window.addEventListener("scroll",()=>{const n=window.scrollY/(document.body.clientHeight-window.innerHeight);t.style.strokeDashoffset=""+305*(1-n),window.scrollY>=window.innerHeight/2?e.setAttribute("data-visible","true"):e.setAttribute("data-visible","false")})}(),function(){const e=document.getElementById("category-container"),t=document.querySelector("header"),n=document.getElementById("nav-items"),o=document.getElementById("mobile-nav"),r=document.querySelectorAll(".dropdown");new ResizeObserver(i=>{window.innerWidth>=991?(o.setAttribute("data-open","false"),r.forEach(e=>{e.addEventListener("click",()=>{e.setAttribute("data-open","true")})})):document.addEventListener("click",e=>{t.contains(e.target)||o.setAttribute("data-open","false"),n.contains(e.target)&&o.setAttribute("data-open","false")}),e.scrollWidth>e.offsetWidth?e.style.justifyContent="start":e.style.justifyContent="center"}).observe(document.body)}(),function(){const e=document.getElementById("membership-source-faqs"),t=document.querySelector(".membership-destination-faqs"),n=document.querySelector("#membership-destination-faqs-section");if(!e||!t)return;const o=e.querySelectorAll(".kg-toggle-card");if(0===o.length)return void(n.hidden=!0);let r="";
1const i=document.querySelector('img[alt="expand"]');r=i?i.src:"/assets/img/plus.svg",t.innerHTML="",o.forEach((e,n)=>{const o=e.querySelector(".kg-toggle-heading-text span"),i=e.querySelector(".kg-toggle-content p");if(!o||!i)return void console.warn(`FAQ ${n+1}: Missing question or answer element`);const s=o.textContent.trim(),a=i.innerHTML.trim(),c=String(n+1).padStart(2,"0"),l=document.createElement("div");l.setAttribute("data-open","false"),l.className="accordian border-b border-[--gray] group",l.innerHTML=`\n <div class="accordian-header flex gap-4 xs:gap-5 cursor-pointer text-sm xs:text-lg font-medium py-4 xs:py-5">\n <span class="text-[--text-primary] faq-number">${c}</span>\n <span class="text-[--text-primary] faq-title">${s}</span>\n <img src="${r}" alt="expand" class="ml-auto h-5 xs:h-6 filter-theme group-data-[open='true']:rotate-45 transition-all" aria-hidden="true"/>\n </div>\n <div class="grid group-data-[open='true']:grid-rows-[1fr] grid-rows-[0fr] [transition:grid-template-rows_ease-in-out_300ms]">\n <div class="overflow-hidden">\n <p class="text-[--text-secondary] pb-4 xs:pb-5 text-sm xs:text-base font-medium faq-paragraph">\n ${a}\n </p>\n </div>\n </div>\n `,t.appendChild(l)})}(),document.addEventListener("click",e=>{const t=e.target.closest(".accordian-header");if(!t)return;e.preventDefault(),e.stopPropagation();const n=t.parentElement;if(!n||!n.classList.contains("accordian"))return;const o=[];let r=n.previousElementSibling;for(;r;)r.classList&&r.classList.contains("accordian")&&o.push(r),r=r.previousElementSibling;o.length>0&&o.forEach(e=>{e.setAttribute("data-open","false")});const i=[];let s=n.nextElementSibling;for(;s;)s.classList&&s.classList.contains("accordian")&&i.push(s),s=s.nextElementSibling;i.length>0&&i.forEach(e=>{e.setAttribute("data-open","false")});const a="true"===n.dataset.open;n.setAttribute("data-open",a?"false":"true")}),(()=>{const e=document.querySelectorAll(".kg-image-card img, .kg-gallery-card img, img.section-post-content-img, .section-post-content-img img");document.querySelectorAll(".kg-gallery-image img").forEach(e=>{e.setAttribute("alt","Gallery Image");var t=e.closest(".kg-gallery-image"),n=e.attributes.width.value/e.attributes.height.value;t.style.flex=`${n} 1 0%`}),GLOBAL.ENABLE_IMAGE_LIGHTBOX&&(e.forEach(e=>{const t=e.currentSrc||e.src,n=e.closest("picture")||e,o=n.parentNode&&"A"===n.parentNode.nodeName?n.parentNode:null;if(o)return o.setAttribute("target","_blank"),void o.setAttribute("rel","noreferrer noopener nofollow");var r=document.createElement("a");r.setAttribute("data-no-swup",""),r.setAttribute("data-fslightbox",""),r.setAttribute("href",t),r.setAttribute("aria-label","Click for Lightbox"),n.parentNode.insertBefore(r,n),r.appendChild(n)}),refreshFsLightbox()),GLOBAL.ENABLE_IMAGE_LIGHTBOX&&refreshFsLightbox()})(),(()=>{const e=document.querySelector(".photo-gallery-grid"),t=document.querySelector("#photo-lightbox-details"),n=()=>window.fsLightboxInstances?.photos;if(!e||!t||!n())return;const o=e=>{e.closest(".js-photo-card")?.classList.add("is-loaded")};e.querySelectorAll(".photo-gallery-thumbnail").forEach(e=>{e.complete&&o(e)}),e.addEventListener("load",e=>o(e.target),!0),e.addEventListener("error",e=>o(e.target),!0),n().props.onInit=()=>{const e=n(),o=t.content.firstElementChild.cloneNode(!0),r=o.querySelector(".photo-lightbox-caption"),i=o.querySelector(".photo-lightbox-story"),s=e.componentsServices.setSlideNumber;e.elements.container.appendChild(o),e.componentsServices.setSlideNumber=t=>{s(t);const n=e.elements.a[e.stageIndexes.current];r.innerHTML=n.querySelector(".js-photo-caption")?.innerHTML.trim()||"",r.hidden=!r.innerHTML,i.href=n.dataset.postUrl}}})(),(()=>{const e=document.querySelector(".js-load-posts"),t=document.querySelector(".js-auto-load-posts");if(t&&"IntersectionObserver"in window)u(t);else{if(e&&GLOBAL.LAST_PAGE){e.disabled=!0,e.classList.add("btn-disabled");const t=e.getAttribute("data-no-posts-text");e.innerHTML=`<span class="umang h-[26px] flex items-center justify-center">${t}</span>`;const n=document.getElementById("currArticles");n&&(n.innerHTML=GLOBAL.TOTAL_POSTS)}e&&(e.onclick=()=>p(e))}})(),(()=>{if(GLOBAL.OPEN_LINKS_IN_NEW_TAB){const e=location.host.replace("www.","");document.querySelectorAll("body a").forEach(t=>{(t.href.includes("?ref=")?t.href.split("?ref=")[0]:t.href).includes(e)||(t.setAttribute("target","_blank"),t.setAttribute("rel","noreferrer noopener"))})}})(),(()=>{const e=()=>{document.querySelectorAll("#announcement-bar-root a").forEach(e
1=>{e.setAttribute("target","_blank"),e.relList.add("noopener","noreferrer","nofollow")})};e(),new MutationObserver(e).observe(document.body,{childList:!0,subtree:!0})})(),h(),document.querySelectorAll([".kg-bookmark-container[href]",".kg-button-card a[href]","figcaption a[href]",".kg-cta-button[href]",".kg-header-card-button[href]",".kg-file-card-container[href]",".kg-product-card-button[href]",".kg-image-card > a[href]:not([data-fslightbox])"].join(",")).forEach(e=>{const t=e.matches(".kg-bookmark-container")?e.querySelector(".kg-bookmark-content"):e.matches(".kg-file-card-container")?e.querySelector(".kg-file-card-contents"):e;if(!t||t.querySelector(".article-print-link-url"))return;const n=document.createElement("span"),o=new URL(e.href);Array.from(o.searchParams.keys()).forEach(e=>{("ref"===e||e.startsWith("utm_"))&&o.searchParams.delete(e)}),n.className="article-print-link-url hidden",n.textContent=o.href,t.appendChild(n)}),(()=>{const e=()=>{const e=Array.from(document.querySelectorAll(".article-print-logo, .section-post-content-img, .post-page-content .kg-card img"));return e.forEach(e=>{e.loading="eager"}),e};window.addEventListener("beforeprint",e),document.querySelectorAll(".print-article-button").forEach(t=>{t.addEventListener("click",async()=>{t.setAttribute("aria-busy","true");const n=e().filter(e=>!e.complete).map(e=>new Promise(t=>{e.addEventListener("load",t,{once:!0}),e.addEventListener("error",t,{once:!0})}));await Promise.race([Promise.all(n),new Promise(e=>setTimeout(e,5e3))]),t.removeAttribute("aria-busy"),window.print()})})})(),function(){const e=document.querySelector("[data-article-ad-layout]"),t=e?.querySelector("[data-article-column]"),n=e?.querySelector("[data-post-sidebar-ads]");if(!e||!t||!n)return;let o=0;const r=()=>{e.classList.contains("article-ad-layout-short")||(o=Math.max(o,n.scrollHeight)),e.classList.toggle("article-ad-layout-short",t.offsetHeight<o)};if(r(),"ResizeObserver"in window){const e=new ResizeObserver(r);e.observe(t),e.observe(n)}else window.addEventListener("load",r,{once:!0}),window.addEventListener("resize",r)}(),d(),reframe('iframe:not([src*="soundcloud"]):not([src*="spotify"]):not(.no-resize)')}g=void 0,b=function(){return function(e,t){var n="string"==typeof e?document.querySelectorAll(e):e,o=t||"js-reframe";"length"in n||(n=[n]);for(var r=0;r<n.length;r+=1){var i=n[r];if(!(-1!==i.className.split(" ").indexOf(o)||i.style.width.indexOf("%")>-1)){var s=(i.getAttribute("height")||i.offsetHeight)/(i.getAttribute("width")||i.offsetWidth)*100,a=document.createElement("div");a.className=o;var c=a.style;c.position="relative",c.width="100%",c.paddingTop=s+"%";var l=i.style;l.position="absolute",l.width="100%",l.height="100%",l.left="0",l.top="0",i.parentNode.insertBefore(a,i),i.parentNode.removeChild(i),a.appendChild(i)}}}},"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):(g=g||self).reframe=b(),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(window,function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n.r(t);var o,r="fslightbox-",i="".concat(r,"styles"),s="".concat(r,"cursor-grabbing"),a="".concat(r,"full-dimension"),c="".concat(r,"flex-centered"),l="".concat(r,"open"),d="".concat(r,"transform-transition"),u="".concat(r,"absoluted"),f="".concat(r,"slide-btn"),p="".concat(f,"-container"),m="".concat(r,"fade-in"),h="".concat(r,"fade-out"),g=m+"-strong",b=h+"-strong",v="".concat(r,"opacity-"),x="".concat(v,"1"),y="".concat(r,"source");function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e){var t,n=e.props,o=0,r={};
1this.getSourceTypeFromLocalStorageByUrl=function(e){return t[e]?t[e]:i(e)},this.handleReceivedSourceTypeForUrl=function(e,n){if(!1===r[n]&&(o--,"invalid"!==e?r[n]=e:delete r[n],0===o)){!function(e,t){for(var n in t)e[n]=t[n]}(t,r);try{localStorage.setItem("fslightbox-types",JSON.stringify(t))}catch(e){}}};var i=function(e){o++,r[e]=!1};if(n.disableLocalStorage)this.getSourceTypeFromLocalStorageByUrl=function(){},this.handleReceivedSourceTypeForUrl=function(){};else{try{t=JSON.parse(localStorage.getItem("fslightbox-types"))}catch(e){}t||(t={},this.getSourceTypeFromLocalStorageByUrl=i)}}function E(e,t,n,o){var r=e.data,i=e.elements.sources,s=n/o,a=0;this.adjustSize=function(){if((a=r.maxSourceWidth/s)<r.maxSourceHeight)return n<r.maxSourceWidth&&(a=o),c();a=o>r.maxSourceHeight?r.maxSourceHeight:o,c()};var c=function(){i[t].style.width=a*s+"px",i[t].style.height=a+"px"}}function A(e,t){var n=this,o=e.collections.sourceSizers,r=e.elements,i=r.sourceAnimationWrappers,s=r.sources,a=e.isl,c=e.resolve;function l(e,n){o[t]=c(E,[t,e,n]),o[t].adjustSize()}this.runActions=function(e,o){a[t]=!0,s[t].classList.add(x),i[t].classList.add(g),i[t].removeChild(i[t].firstChild),l(e,o),n.runActions=l}}function S(e,t){var n,o=this,r=e.elements.sources,i=e.props,s=(0,e.resolve)(A,[t]);this.handleImageLoad=function(e){var t=e.target,n=t.naturalWidth,o=t.naturalHeight;s.runActions(n,o)},this.handleVideoLoad=function(e){var t=e.target,o=t.videoWidth,r=t.videoHeight;n=!0,s.runActions(o,r)},this.handleNotMetaDatedVideoLoad=function(){n||o.handleYoutubeLoad()},this.handleYoutubeLoad=function(){var e=1920,t=1080;i.maxYoutubeDimensions&&(e=i.maxYoutubeDimensions.width,t=i.maxYoutubeDimensions.height),s.runActions(e,t)},this.handleCustomLoad=function(){var e=r[t],n=e.offsetWidth,i=e.offsetHeight;n&&i?s.runActions(n,i):setTimeout(o.handleCustomLoad)}}function k(e,t,n){var o=e.elements.sources,r=e.props.customClasses,i=r[t]?r[t]:"";o[t].className=n+" "+i}function N(e,t){var n=e.elements.sources,o=e.props.customAttributes;for(var r in o[t])n[t].setAttribute(r,o[t][r])}function I(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,r=o.sources,i=o.sourceAnimationWrappers,s=e.props.sources;r[t]=document.createElement("img"),k(e,t,y),r[t].src=s[t],r[t].onload=n[t].handleImageLoad,N(e,t),i[t].appendChild(r[t])}function C(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,r=o.sources,i=o.sourceAnimationWrappers,s=e.props,a=s.sources,c=s.videosPosters;r[t]=document.createElement("video"),k(e,t,y),r[t].src=a[t],r[t].onloadedmetadata=function(e){n[t].handleVideoLoad(e)},r[t].controls=!0,N(e,t),c[t]&&(r[t].poster=c[t]);var l=document.createElement("source");l.src=a[t],r[t].appendChild(l),setTimeout(n[t].handleNotMetaDatedVideoLoad,3e3),i[t].appendChild(r[t])}function T(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,i=o.sources,s=o.sourceAnimationWrappers,a=e.props.sources;i[t]=document.createElement("iframe"),k(e,t,"".concat(y," ").concat(r,"youtube-iframe"));var c=a[t],l=c.split("?")[1];i[t].src="https://www.youtube.com/embed/".concat(c.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/)[2],"?").concat(l||""),i[t].allowFullscreen=!0,N(e,t),s[t].appendChild(i[t]),n[t].handleYoutubeLoad()}function P(e,t){var n=e.collections.sourceLoadHandlers,o=e.elements,r=o.sources,i=o.sourceAnimationWrappers,s=e.props.sources;r[t]=s[t],k(e,t,"".concat(r[t].className," ").concat(y)),i[t].appendChild(r[t]),n[t].handleCustomLoad()}function $(e,t){var n=e.elements,o=n.sources,i=n.sourceAnimationWrappers;e.props.sources,o[t]=document.createElement("div"),o[t].className="".concat(r,"invalid-file-wrapper ").concat(c),o[t].innerHTML="Invalid source",i[t].classList.add(g),i[t].removeChild(i[t].firstChild),i[t].appendChild(o[t])}function q(e){var t=e.collections,n=t.sourceLoadHandlers,o=t.sourcesRenderFunctions,r=e.core.sourceDisplayFacade,i=e.resolve;this.runActionsForSourceTypeAndIndex=function(t,s){var a;switch("invalid"!==t&&(n[s]=i(S,[s])),t){case"image":a=I;break;case"video":a=C;break;case"youtube":a=T;break;case"custom":a=P;break;default:a=$}o[s]=function(){return a(e,s)}
1,r.displaySourcesWhichShouldBeDisplayed()}}function O(){var e,t,n,o=function(e){var t=document.createElement("a");return t.href=e,"www.youtube.com"===t.hostname||"youtu.be"===t.hostname},r=function(e){return e.slice(0,e.indexOf("/"))};function i(){if(4!==n.readyState){if(2===n.readyState){var e;switch(r(n.getResponseHeader("content-type"))){case"image":e="image";break;case"video":e="video";break;default:e="invalid"}n.onreadystatechange=null,n.abort(),t(e)}}else t("invalid")}this.setUrlToCheck=function(t){e=t},this.getSourceType=function(r){if(o(e))return r("youtube");t=r,(n=new XMLHttpRequest).onreadystatechange=i,n.open("GET",e,!0),n.send()}}function H(e,t,n){var o=e.props,r=o.types,i=o.type,s=o.sources,a=e.resolve;this.getTypeSetByClientForIndex=function(e){var t;return r&&r[e]?t=r[e]:i&&(t=i),t},this.retrieveTypeWithXhrForIndex=function(e){var o=a(O);o.setUrlToCheck(s[e]),o.getSourceType(function(o){t.handleReceivedSourceTypeForUrl(o,s[e]),n.runActionsForSourceTypeAndIndex(o,e)})}}function B(e,t){var n=e.core.stageManager,o=e.elements,r=o.smw,i=o.sourceWrappersContainer,s=e.props,l=0,f=document.createElement("div");function p(e){f.style.transform="translateX(".concat(e+l,"px)"),l=0}function m(){return(1+s.slideDistance)*innerWidth}f.className="".concat(u," ").concat(a," ").concat(c),f.s=function(){f.style.display="flex"},f.h=function(){f.style.display="none"},f.a=function(){f.classList.add(d)},f.d=function(){f.classList.remove(d)},f.n=function(){f.style.removeProperty("transform")},f.v=function(e){return l=e,f},f.ne=function(){p(-m())},f.z=function(){p(0)},f.p=function(){p(m())},n.i(t)||f.h(),r[t]=f,i.appendChild(f),function(e,t){var n=e.elements,o=n.smw,r=n.sourceAnimationWrappers,i=document.createElement("div"),s=document.createElement("div");s.className="fslightboxl";for(var a=0;a<3;a++){var c=document.createElement("div");s.appendChild(c)}i.appendChild(s),o[t].appendChild(i),r[t]=i}(e,t)}function F(e,t,n,o){var i=document.createElementNS("http://www.w3.org/2000/svg","svg");i.setAttributeNS(null,"width",t),i.setAttributeNS(null,"height",t),i.setAttributeNS(null,"viewBox",n);var s=document.createElementNS("http://www.w3.org/2000/svg","path");return s.setAttributeNS(null,"class","".concat(r,"svg-path")),s.setAttributeNS(null,"d",o),i.appendChild(s),e.appendChild(i),i}function _(e,t){var n=document.createElement("div");return n.className="".concat(r,"toolbar-button ").concat(c),n.title=t,e.appendChild(n),n}function M(e){var t=e.props.sources,n=e.elements.container,o=document.createElement("div");o.className="".concat(r,"nav"),n.appendChild(o),function(e,t){var n=document.createElement("div");n.className="".concat(r,"toolbar"),t.appendChild(n),function(e,t){var n=e.componentsServices,o=e.data,r=e.fs,i="M4.5 11H3v4h4v-1.5H4.5V11zM3 7h1.5V4.5H7V3H3v4zm10.5 6.5H11V15h4v-4h-1.5v2.5zM11 3v1.5h2.5V7H15V3h-4z",s=_(t);s.title="Enter fullscreen";var a=F(s,"20px","0 0 18 18",i);n.ofs=function(){o.ifs=!0,s.title="Exit fullscreen",a.setAttributeNS(null,"width","24px"),a.setAttributeNS(null,"height","24px"),a.setAttributeNS(null,"viewBox","0 0 950 1024"),a.firstChild.setAttributeNS(null,"d","M682 342h128v84h-212v-212h84v128zM598 810v-212h212v84h-128v128h-84zM342 342v-128h84v212h-212v-84h128zM214 682v-84h212v212h-84v-128h-128z")},n.xfs=function(){o.ifs=!1,s.title="Enter fullscreen",a.setAttributeNS(null,"width","20px"),a.setAttributeNS(null,"height","20px"),a.setAttributeNS(null,"viewBox","0 0 18 18"),a.firstChild.setAttributeNS(null,"d",i)},s.onclick=r.t}(e,n),function(e,t){var n=_(t,"Close");n.onclick=e.core.lightboxCloser.closeLightbox,F(n,"20px","0 0 24 24","M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z")}(e,n)}(e,o),t.length>1&&function(e,t){var n=e.componentsServices,o=e.props.sources,i=(e.stageIndexes,document.createElement("div"));i.className="".concat(r,"slide-number-container");var s=document.createElement("div");s.className=c;var a=document.createElement("span");n.setSlideNumber=function(e){return a.innerHTML=e};var l=document.createElement("span");l.className="".concat(r,"slash");var d=document.createElement("div");d.innerHTML=o.length,i.appendChild(s),s.appendChild(a),s.appendChild(l),s.appendChild(d),t.appendChild(i),setTimeout(function(){s.offsetWidth>55&&(i.style.justifyContent="flex-start")})}(e,o)}function W(e,t,n,o){var r=e.elements.container,i=n.charAt(0).toUpperCase()+n.slice(1),s=document.createElement("div");s.className="".concat(p," ").concat(p,"-").concat(n),s.title="".concat(i," slide"),s.onclick=t,function(e,t){var n=document.createElement("div");n.className="".concat(f," ").concat(c),F(n,"20px","0 0 20 20",t),e.appendChild(n)}(s,o),r.appendChild(s)}function z(e){var t=e.core,n=t.lightboxCloser,o=t.slideChangeFacade,r=e.fs;this.listener=function(e){switch(e.key){case"Escape":n.closeLightbox();break;case"ArrowLeft":o.changeToPrevious();break;case"ArrowRight":o.changeToNext();break;case"F11":e.preventDefault(),r.t()}}}function G(e){var t=e.elements,n=e.sourcePointerProps,o=e.stageIndexes;function r(e,o){t.smw[e].v(n.swipedX)[o]()}this.runActionsForEvent=function(e){var i,a,c;t.container.contains(t.slideSwipingHoverer)||t.container.appendChild(t.slideSwipingHoverer),i=t.container,a=s,(c=i.classList).contains(a)||c.add(a),n.swipedX=e.screenX-n.downScreenX;var l=o.previous,d=o.next;r(o.current,"z"),void 0!==l&&n.swipedX>0?r(l,"ne"):void 0!==d&&n.swipedX<0&&r(d,"p")}}function j(e){var t=e.props.sources,n=e.resolve,o=e.sourcePointerProps,r=n(G);1===t.length?this.listener=function(){o.swipedX=1}:this.listener=function(e){o.isPointering&&r.runActionsForEvent(e)}}function R(e){var t=e.core.slideIndexChanger,n=e.elements.smw,o=e.stageIndexes,r=e.sws;function i(e){var t=n[o.current];t.a(),t[e]()}function s(e,t){void 0!==e&&(n[e].s(),n[e][t]())}this.runPositiveSwipedXActions=function(){var e=o.previous;if(void 0===e)i("z");else{i("p");var n=o.next;t.changeTo(e);var a=o.previous;r.d(a),r.b(n),i("z"),s(a,"ne")}},this.runNegativeSwipedXActions=function(){var e=o.next;if(void 0===e)i("z");else{i("ne");var n=o.previous;t.changeTo(e);var a=o.next;r.d(a),r.b(n),i("z"),s(a,"p")}}}function D(e,t){e.contains(t)&&e.removeChild(t)}function X(e){var t=e.core.lightboxCloser,n=e.elements,o=e.resolve,r=e.sourcePointerProps,i=o(R);this.runNoSwipeActions=function(){D(n.container,n.slideSwipingHoverer),r.isSourceDownEventTarget||t.closeLightbox(),r.isPointering=!1},this.runActions=function(){r.swipedX>0?i.runPositiveSwipedXActions():i.runNegativeSwipedXActions(),D(n.container,n.slideSwipingHoverer),n.container.classList.remove(s),r.isPointering=!1}}function Y(e){var t=e.resolve,n=e.sourcePointerProps,o=t(X);this.listener=function(){n.isPointering&&(n.swipedX?o.runActions():o.runNoSwipeActions())}}
1function U(e){var t=this,n=e.core,o=n.eventsDispatcher,r=n.globalEventsController,i=n.scrollbarRecompensor,s=e.data,a=e.elements,c=e.fs,d=e.props,u=e.sourcePointerProps;this.isLightboxFadingOut=!1,this.runActions=function(){t.isLightboxFadingOut=!0,a.container.classList.add(b),r.removeListeners(),d.exitFullscreenOnClose&&s.ifs&&c.x(),setTimeout(function(){t.isLightboxFadingOut=!1,u.isPointering=!1,a.container.classList.remove(b),document.documentElement.classList.remove(l),i.removeRecompense(),document.body.removeChild(a.container),o.dispatch("onClose")},270)}}function K(e,t){var n=e.classList;n.contains(t)&&n.remove(t)}function V(e){var t,n,o;n=(t=e).core.eventsDispatcher,o=t.props,n.dispatch=function(e){o[e]&&o[e]()},function(e){var t=e.componentsServices,n=e.data,o=e.fs,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];function i(e){for(var t=0;t<r.length;t++)document[e](r[t],s)}function s(){document.fullscreenElement||document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement?t.ofs():t.xfs()}o.o=function(){t.ofs();var e=document.documentElement;e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.msRequestFullscreen&&e.msRequestFullscreen()},o.x=function(){t.xfs(),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},o.t=function(){n.ifs?o.x():o.o()},o.l=function(){i("addEventListener")},o.q=function(){i("removeEventListener")}}(e),function(e){var t=e.core,n=t.globalEventsController,o=t.windowResizeActioner,r=e.fs,i=e.resolve,s=i(z),a=i(j),c=i(Y);n.attachListeners=function(){document.addEventListener("pointermove",a.listener),document.addEventListener("pointerup",c.listener),addEventListener("resize",o.runActions),document.addEventListener("keydown",s.listener),r.l()},n.removeListeners=function(){document.removeEventListener("pointermove",a.listener),document.removeEventListener("pointerup",c.listener),removeEventListener("resize",o.runActions),document.removeEventListener("keydown",s.listener),r.q()}}(e),function(e){var t=e.core.lightboxCloser,n=(0,e.resolve)(U);t.closeLightbox=function(){n.isLightboxFadingOut||n.runActions()}}(e),function(e){var t=e.data,n=e.core.scrollbarRecompensor;function o(){document.body.offsetHeight>innerHeight&&(document.body.style.marginRight=t.scrollbarWidth+"px")}n.addRecompense=function(){"complete"===document.readyState?o():addEventListener("load",function(){o(),n.addRecompense=o})},n.removeRecompense=function(){document.body.style.removeProperty("margin-right")}}(e),function(e){var t=e.core,n=t.slideChangeFacade,o=t.slideIndexChanger,r=t.stageManager;e.props.sources.length>1?(n.changeToPrevious=function(){o.jumpTo(r.getPreviousSlideIndex())},n.changeToNext=function(){o.jumpTo(r.getNextSlideIndex())}):(n.changeToPrevious=function(){},n.changeToNext=function(){})}(e),function(e){var t=e.componentsServices,n=e.core,o=n.slideIndexChanger,r=n.sourceDisplayFacade,i=n.stageManager,s=e.elements,a=s.smw,c=s.sourceAnimationWrappers,l=e.isl,d=e.stageIndexes,u=e.sws;o.changeTo=function(e){d.current=e,i.updateStageIndexes(),t.setSlideNumber(e+1),r.displaySourcesWhichShouldBeDisplayed()},o.jumpTo=function(e){var t=d.previous,n=d.current,r=d.next,s=l[n],f=l[e];o.changeTo(e);for(var p=0;p<a.length;p++)a[p].d();u.d(n),u.c(),requestAnimationFrame(function(){requestAnimationFrame(function(){var e=d.previous,o=d.next;function p(){i.i(n)?n===d.previous?a[n].ne():n===d.next&&a[n].p():(a[n].h(),a[n].n())}s&&c[n].classList.add(h),f&&c[d.current].classList.add(m),u.a(),void 0!==e&&e!==n&&a[e].ne(),a[d.current].n(),void 0!==o&&o!==n&&a[o].p(),u.b(t),u.b(r),l[n]?setTimeout(p,260):p()})})}}(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements,o=n.smw,r=n.sources,i=e.sourcePointerProps,s=e.stageIndexes;t.listener=function(e){"VIDEO"!==e.target.tagName&&e.preventDefault(),i.isPointering=!0,i.downScreenX=e.screenX,i.swipedX=0;var t=r[s.current];t&&t.contains(e.target)?i.isSourceDownEventTarget=!0:i.isSourceDownEventTarget=!1;for(var n=0;n<o.length;n++)o[n].d()}}(e),function(e){var t=e.collections.sourcesRenderFunctions,n=e.core.sourceDisplayFacade,o=e.props,r=e.stageIndexes;function i(e){t[e]&&(t[e](),delete t[e])}
1n.displaySourcesWhichShouldBeDisplayed=function(){if(o.loadOnlyCurrentSource)i(r.current);else for(var e in r)i(r[e])}}(e),function(e){var t=e.core.stageManager,n=e.elements,o=n.smw,r=n.sourceAnimationWrappers,i=e.isl,s=e.stageIndexes,a=e.sws;a.a=function(){for(var e in s)o[s[e]].s()},a.b=function(e){void 0===e||t.i(e)||(o[e].h(),o[e].n())},a.c=function(){for(var e in s)a.d(s[e])},a.d=function(e){if(i[e]){var t=r[e];K(t,g),K(t,m),K(t,h)}}}(e),function(e){var t=e.collections.sourceSizers,n=e.core.windowResizeActioner,o=e.data,r=e.elements.smw,i=e.stageIndexes;n.runActions=function(){innerWidth<992?o.maxSourceWidth=innerWidth:o.maxSourceWidth=.9*innerWidth,o.maxSourceHeight=.9*innerHeight;for(var e=0;e<r.length;e++)r[e].d(),t[e]&&t[e].adjustSize();var n=i.previous,s=i.next;void 0!==n&&r[n].ne(),void 0!==s&&r[s].p()}}(e)}function J(e,t,n){return(J=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var o=[null];o.push.apply(o,t);var r=new(Function.bind.apply(e,o));return n&&Z(r,n.prototype),r}).apply(null,arguments)}function Z(e,t){return(Z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function ee(){for(var e=document.getElementsByTagName("a"),t=function(t){if(!e[t].hasAttribute("data-fslightbox"))return"continue";var n=e[t].hasAttribute("data-href")?e[t].getAttribute("data-href"):e[t].getAttribute("href");if(!n)return console.warn('The "data-fslightbox" attribute was set without the "href" attribute.'),"continue";var o=e[t].getAttribute("data-fslightbox");fsLightboxInstances[o]||(fsLightboxInstances[o]=new FsLightbox);var r=null;"#"===n.charAt(0)?(r=document.getElementById(n.substring(1)).cloneNode(!0)).removeAttribute("id"):r=n,fsLightboxInstances[o].props.sources.push(r),fsLightboxInstances[o].elements.a.push(e[t]);var i=fsLightboxInstances[o].props.sources.length-1;e[t].onclick=function(e){e.preventDefault(),fsLightboxInstances[o].open(i)},u("types","data-type"),u("videosPosters","data-video-poster"),u("customClasses","data-class"),u("customClasses","data-custom-class");for(var s=["href","data-fslightbox","data-href","data-type","data-video-poster","data-class","data-custom-class"],a=e[t].attributes,c=fsLightboxInstances[o].props.customAttributes,l=0;l<a.length;l++)if(-1===s.indexOf(a[l].name)&&"data-"===a[l].name.substr(0,5)){c[i]||(c[i]={});var d=a[l].name.substr(5);c[i][d]=a[l].value}function u(n,r){e[t].hasAttribute(r)&&(fsLightboxInstances[o].props[n][i]=e[t].getAttribute(r))}},n=0;n<e.length;n++)t(n);var o=Object.keys(fsLightboxInstances);window.fsLightbox=fsLightboxInstances[o[o.length-1]]}"object"===("undefined"==typeof document?"undefined":w(document))&&((o=document.createElement("style")).className=i,o.appendChild(document.createTextNode(".fslightbox-absoluted{position:absolute;top:0;left:0}.fslightbox-fade-in{animation:fslightbox-fade-in .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out{animation:fslightbox-fade-out .3s ease}.fslightbox-fade-in-strong{animation:fslightbox-fade-in-strong .3s cubic-bezier(0,0,.7,1)}.fslightbox-fade-out-strong{animation:fslightbox-fade-out-strong .3s ease}@keyframes fslightbox-fade-in{from{opacity:.65}to{opacity:1}}@keyframes fslightbox-fade-out{from{opacity:.35}to{opacity:0}}@keyframes fslightbox-fade-in-strong{from{opacity:.3}to{opacity:1}}@keyframes fslightbox-fade-out-strong{from{opacity:1}to{opacity:0}}.fslightbox-cursor-grabbing{cursor:grabbing}.fslightbox-full-dimension{width:100%;height:100%}.fslightbox-open{overflow:hidden;height:100%}.fslightbox-flex-centered{display:flex;justify-content:center;align-items:center}.fslightbox-opacity-0{opacity:0!important}.fslightbox-opacity-1{opacity:1!important}.fslightbox-scrollbarfix{padding-right:17px}.fslightbox-transform-transition{transition:transform .3s}.fslightbox-container{font-family:Arial,sans-serif;position:fixed;top:0;left:0;background:linear-gradient(rgba(30,30,30,.9),#000 1810%);touch-action:pinch-zoom;z-index:1000000000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.fslightbox-container *{box-sizing:border-box}.fslightbox-svg-path{transition:fill .15s ease;fill:#ddd}.fslightbox-nav{height:45px;width:100%;position:absolute;top:0;left:0}.fslightbox-slide-number-container{display:flex;justify-content:center;align-items:center;position:relative;height:100%;font-size:15px;color:#d7d7d7;z-index:0;max-width:55px;text-align:left}.fslightbox-slide-number-container .fslightbox-flex-centered{height:100%}.fslightbox-slash{display:block;margin:0 5px;width:1px;height:12px;transform:rotate(15deg);background:#fff}.fslightbox-toolbar{position:absolute;z-index:3;right:0;top:0;height:100%;display:flex;background:rgba(35,35,35,.65)}.fslightbox-toolbar-button{height:100%;width:45px;cursor:pointer}.fslightbox-toolbar-button:hover .fslightbox-svg-path{fill:#fff}.fslightbox-slide-btn-container{display:flex;align-items:center;padding:12px 12px 12px 6px;position:absolute;top:50%;cursor:pointer;z-index:3;transform:translateY(-50%)}@media (min-width:476px){.fslightbox-slide-btn-container{padding:22px 22px 22px 6px}}@media (min-width:768px){.fslightbox-slide-btn-container{padding:30px 30px 30px 6px}}.fslightbox-slide-btn-container:hover .fslightbox-svg-path{fill:#f1f1f1}.fslightbox-slide-btn{padding:9px;font-size:26px;background:rgba(35,35,35,.65)}@media (min-width:768px){.fslightbox-slide-btn{padding:10px}}@media (min-width:1600px){.fslightbox-slide-btn{padding:11px}}.fslightbox-slide-btn-container-previous{left:0}@media (max-width:475.99px){.fslightbox-slide-btn-container-previous{padding-left:3px}}.fslightbox-slide-btn-container-next{right:0;padding-left:12px;padding-right:3px}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-left:22px}}@media (min-width:768px){.fslightbox-slide-btn-container-next{padding-left:30px}}@media (min-width:476px){.fslightbox-slide-btn-container-next{padding-right:6px}}.fslightbox-down-event-detector{position:absolute;z-index:1}.fslightbox-slide-swiping-hoverer{z-index:4}.fslightbox-invalid-file-wrapper{font-size:22px;color:#eaebeb;margin:auto}.fslightbox-video{object-fit:cover}.fslightbox-youtube-iframe{border:0}.fslightboxl{display:block;margin:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:67px;height:67px}.fslightboxl div{box-sizing:border-box;display:block;position:absolute;width:54px;height:54px;margin:6px;border:5px solid;border-color:#999 transparent transparent transparent;border-radius:50%;animation:fslightboxl 1.2s cubic-bezier(.5,0,.5,1) infinite}.fslightboxl div:nth-child(1){animation-delay:-.45s}.fslightboxl div:nth-child(2){animation-delay:-.3s}.fslightboxl div:nth-child(3){animation-delay:-.15s}@keyframes fslightboxl{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fslightbox-source{position:relative;z-index:2;opacity:0}
1")),document.head.appendChild(o)),window.FsLightbox=function(){var e=this;this.props={sources:[],customAttributes:[],customClasses:[],types:[],videosPosters:[],slideDistance:.3},this.data={isFullscreenOpen:!1,maxSourceWidth:0,maxSourceHeight:0,scrollbarWidth:0},this.isl=[],this.sourcePointerProps={downScreenX:null,isPointering:!1,isSourceDownEventTarget:!1,swipedX:0},this.stageIndexes={},this.elements={a:[],container:null,slideSwipingHoverer:null,smw:[],sourceWrappersContainer:null,sources:[],sourceAnimationWrappers:[]},this.componentsServices={setSlideNumber:function(){}},this.resolve=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return n.unshift(e),J(t,function(e){return function(e){if(Array.isArray(e))return Q(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Q(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(n))},this.collections={sourceLoadHandlers:[],sourcesRenderFunctions:[],sourceSizers:[]},this.core={eventsDispatcher:{},globalEventsController:{},lightboxCloser:{},lightboxUpdater:{},scrollbarRecompensor:{},slideChangeFacade:{},slideIndexChanger:{},sourcesPointerDown:{},sourceDisplayFacade:{},stageManager:{},windowResizeActioner:{}},this.fs={},this.sws={},function(e){var t=e.componentsServices,n=e.core,o=n.eventsDispatcher,i=n.globalEventsController,s=n.scrollbarRecompensor,c=n.sourceDisplayFacade,d=n.stageManager,f=n.windowResizeActioner,p=e.data,m=e.elements,h=(e.props,e.stageIndexes),b=e.sws;function v(){var t,n;p.i=!0,p.scrollbarWidth=function(){var e=document.createElement("div"),t=e.style,n=document.createElement("div");t.visibility="hidden",t.width="100px",t.msOverflowStyle="scrollbar",t.overflow="scroll",n.style.width="100%",document.body.appendChild(e);var o=e.offsetWidth;e.appendChild(n);var r=n.offsetWidth;return document.body.removeChild(e),o-r}(),V(e),m.container=document.createElement("div"),m.container.className="".concat(r,"container ").concat(a," ").concat(g),function(e){var t=e.elements;t.slideSwipingHoverer=document.createElement("div"),t.slideSwipingHoverer.className="".concat(r,"slide-swiping-hoverer ").concat(a," ").concat(u)}(e),M(e),function(e){var t=e.core.sourcesPointerDown,n=e.elements,o=e.props.sources,r=document.createElement("div");r.className="".concat(u," ").concat(a),n.container.appendChild(r),r.addEventListener("pointerdown",t.listener),n.sourceWrappersContainer=r;for(var i=0;i<o.length;i++)B(e,i)}(e),e.props.sources.length>1&&(n=(t=e).core.slideChangeFacade,W(t,n.changeToPrevious,"previous","M18.271,9.212H3.615l4.184-4.184c0.306-0.306,0.306-0.801,0-1.107c-0.306-0.306-0.801-0.306-1.107,0L1.21,9.403C1.194,9.417,1.174,9.421,1.158,9.437c-0.181,0.181-0.242,0.425-0.209,0.66c0.005,0.038,0.012,0.071,0.022,0.109c0.028,0.098,0.075,0.188,0.142,0.271c0.021,0.026,0.021,0.061,0.045,0.085c0.015,0.016,0.034,0.02,0.05,0.033l5.484,5.483c0.306,0.307,0.801,0.307,1.107,0c0.306-0.305,0.306-0.801,0-1.105l-4.184-4.185h14.656c0.436,0,0.788-0.353,0.788-0.788S18.707,9.212,18.271,9.212z"),W(t,n.changeToNext,"next","M1.729,9.212h14.656l-4.184-4.184c-0.307-0.306-0.307-0.801,0-1.107c0.305-0.306,0.801-0.306,1.106,0l5.481,5.482c0.018,0.014,0.037,0.019,0.053,0.034c0.181,0.181,0.242,0.425,0.209,0.66c-0.004,0.038-0.012,0.071-0.021,0.109c-0.028,0.098-0.075,0.188-0.143,0.271c-0.021,0.026-0.021,0.061-0.045,0.085c-0.015,0.016-0.034,0.02-0.051,0.033l-5.483,5.483c-0.306,0.307-0.802,0.307-1.106,0c-0.307-0.305-0.307-0.801,0-1.105l4.184-4.185H1.729c-0.436,0-0.788-0.353-0.788-0.788S1.293,9.212,1.729,9.212z")),function(e){for(var t=e.props.sources,n=e.resolve,o=n(L),r=n(q),i=n(H,[o,r]),s=0;s<t.length;s++)if("string"==typeof t[s]){var a=i.getTypeSetByClientForIndex(s);if(a)r.runActionsForSourceTypeAndIndex(a,s);else{var c=o.getSourceTypeFromLocalStorageByUrl(t[s]);c?r.runActionsForSourceTypeAndIndex(c,s):i.retrieveTypeWithXhrForIndex(s)}}
1else r.runActionsForSourceTypeAndIndex("custom",s)}(e),o.dispatch("onInit")}e.open=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=h.previous,a=h.current,u=h.next;h.current=n,p.i||function(e){var t=e.stageIndexes,n=e.core.stageManager,o=e.props.sources.length-1;n.getPreviousSlideIndex=function(){return 0===t.current?o:t.current-1},n.getNextSlideIndex=function(){return t.current===o?0:t.current+1},n.updateStageIndexes=0===o?function(){}:1===o?function(){0===t.current?(t.next=1,delete t.previous):(t.previous=0,delete t.next)}:function(){t.previous=n.getPreviousSlideIndex(),t.next=n.getNextSlideIndex()},n.i=o<=2?function(){return!0}:function(e){var n=t.current;if(0===n&&e===o||n===o&&0===e)return!0;var r=n-e;return-1===r||0===r||1===r}}(e),d.updateStageIndexes(),p.i?(b.c(),b.a(),b.b(r),b.b(a),b.b(u),o.dispatch("onShow")):v(),c.displaySourcesWhichShouldBeDisplayed(),t.setSlideNumber(n+1),document.body.appendChild(m.container),document.documentElement.classList.add(l),s.addRecompense(),i.attachListeners(),f.runActions(),m.smw[h.current].n(),o.dispatch("onOpen")}}(this),this.close=function(){return e.core.lightboxCloser.closeLightbox()}},window.fsLightboxInstances={},ee(),window.refreshFsLightbox=function(){for(var e in fsLightboxInstances){var t=fsLightboxInstances[e].props;fsLightboxInstances[e]=new FsLightbox,fsLightboxInstances[e].props=t,fsLightboxInstances[e].props.sources=[],fsLightboxInstances[e].elements.a=[]}ee()}}])}),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?v():document.addEventListener("DOMContentLoaded",v)}(); 2//# sourceMappingURL=index.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.