(()=>{"use strict";var t,e,n={585:(t,e,n)=>{n.d(e,{A:()=>s});var i=n(623),r=n.n(i),o=n(696),a=n.n(o)()(r());a.push([t.id,".pswp__dynamic-caption {\n  color: #fff;\n  position: absolute;\n  width: 100%;\n  left: 0;\n  top: 0;\n  transition: opacity 120ms linear !important; \n}\n\n.pswp-caption-content {\n  display: none;\n}\n\n.pswp__dynamic-caption a {\n  color: #fff;\n}\n\n.pswp__dynamic-caption--faded {\n  opacity: 0 !important;\n}\n\n.pswp__dynamic-caption--aside {\n  width: auto;\n  max-width: 300px;\n  padding: 20px 15px 20px 20px;\n  margin-top: 70px;\n}\n\n.pswp__dynamic-caption--below {\n  width: auto;\n  max-width: 700px;\n  padding: 15px 0 0;\n}\n\n.pswp__dynamic-caption--on-hor-edge {\n  padding-left: 15px;\n  padding-right: 15px;\n}\n\n.pswp__dynamic-caption--mobile {\n  width: 100%;\n  background: rgba(0,0,0,0.5);\n  padding: 10px 15px;\n\n  right: 0;\n  bottom: 0;\n\n  \n  top: auto !important; \n  left: 0 !important;\n}",""]);const s=a},696:t=>{t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],"){")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<t.length;c++){var u=[].concat(t[c]);i&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],"){").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),e.push(u))}},e}},623:t=>{t.exports=function(t){return t[1]}},316:t=>{var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var o={},a=[],s=0;s<t.length;s++){var l=t[s],c=i.base?l[0]+i.base:l[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),h={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)e[p].references++,e[p].updater(h);else{var f=r(h,i);i.byIndex=s,e.splice(s,0,{identifier:d,updater:f,references:1})}a.push(d)}return a}function r(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,r){var o=i(t=t||[],r=r||{});return function(t){t=t||[];for(var a=0;a<o.length;a++){var s=n(o[a]);e[s].references--}for(var l=i(t,r),c=0;c<o.length;c++){var u=n(o[c]);0===e[u].references&&(e[u].updater(),e.splice(u,1))}o=l}}},231:t=>{var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},584:t=>{t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},260:(t,e,n)=>{t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},525:t=>{t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,"){")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},117:t=>{t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}}},i={};function r(t){var e=i[t];if(void 0!==e)return e.exports;var o=i[t]={id:t,exports:{}};return n[t](o,o.exports,r),o.exports}r.m=n,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.f={},r.e=t=>Promise.all(Object.keys(r.f).reduce(((e,n)=>(r.f[n](t,e),e)),[])),r.u=t=>"lightbox-"+{641:"photoswipe",683:"photoswipe-css"}[t]+".js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t={},e="meow-lightbox:",r.l=(n,i,o,a)=>{if(t[n])t[n].push(i);else{var s,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==n||d.getAttribute("data-webpack")==e+o){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",e+o),s.src=n),t[n]=[i];var p=(e,i)=>{s.onerror=s.onload=null,clearTimeout(h);var r=t[n];if(delete t[n],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach((t=>t(i))),e)return e(i)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;r.g.importScripts&&(t=r.g.location+"");var e=r.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&(!t||!/^http(s?):/.test(t));)t=n[i--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=t})(),(()=>{var t={792:0};r.f.j=(e,n)=>{var i=r.o(t,e)?t[e]:void 0;if(0!==i)if(i)n.push(i[2]);else{var o=new Promise(((n,r)=>i=t[e]=[n,r]));n.push(i[2]=o);var a=r.p+r.u(e),s=new Error;r.l(a,(n=>{if(r.o(t,e)&&(0!==(i=t[e])&&(t[e]=void 0),i)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}}),"chunk-"+e,e)}};var e=(e,n)=>{var i,o,[a,s,l]=n,c=0;if(a.some((e=>0!==t[e]))){for(i in s)r.o(s,i)&&(r.m[i]=s[i]);if(l)l(r)}for(e&&e(n);c<a.length;c++)o=a[c],r.o(t,o)&&t[o]&&t[o][0](),t[o]=0},n=self.wpJsonLightbox=self.wpJsonLightbox||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})(),r.nc=void 0,(()=>{var t,e,n,i,o,a,s,l,c,u,d={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,f=Array.isArray;function m(t,e){for(var n in e)t[n]=e[n];return t}function _(t){var e=t.parentNode;e&&e.removeChild(t)}function y(e,n,i){var r,o,a,s={};for(a in n)"key"==a?r=n[a]:"ref"==a?o=n[a]:s[a]=n[a];if(arguments.length>2&&(s.children=arguments.length>3?t.call(arguments,2):i),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return v(e,s,r,o,null)}function v(t,i,r,o,a){var s={type:t,props:i,key:r,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++n:a,__i:-1,__u:0};return null==a&&null!=e.vnode&&e.vnode(s),s}function g(t){return t.children}function w(t,e){this.props=t,this.context=e}function b(t,e){if(null==e)return t.__?b(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?b(t):null}function x(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return x(t)}}function S(t){(!t.__d&&(t.__d=!0)&&i.push(t)&&!E.__r++||o!==e.debounceRendering)&&((o=e.debounceRendering)||a)(E)}function E(){var t,n,r,o,a,l,c,u;for(i.sort(s);t=i.shift();)t.__d&&(n=i.length,o=void 0,l=(a=(r=t).__v).__e,c=[],u=[],r.__P&&((o=m({},a)).__v=a.__v+1,e.vnode&&e.vnode(o),P(r.__P,o,a,r.__n,r.__P.namespaceURI,32&a.__u?[l]:null,c,null==l?b(a):l,!!(32&a.__u),u),o.__v=a.__v,o.__.__k[o.__i]=o,M(c,o,u),o.__e!=l&&x(o)),i.length>n&&i.sort(s));E.__r=0}function A(t,e,n,i,r,o,a,s,l,c,u){var h,f,m,_,y,v=i&&i.__k||p,g=e.length;for(n.__d=l,L(n,e,v),l=n.__d,h=0;h<g;h++)null!=(m=n.__k[h])&&"boolean"!=typeof m&&"function"!=typeof m&&(f=-1===m.__i?d:v[m.__i]||d,m.__i=h,P(t,m,f,r,o,a,s,l,c,u),_=m.__e,m.ref&&f.ref!=m.ref&&(f.ref&&z(f.ref,null,m),u.push(m.ref,m.__c||_,m)),null==y&&null!=_&&(y=_),65536&m.__u||f.__k===m.__k?(l&&!l.isConnected&&(l=b(f)),l=O(m,l,t)):"function"==typeof m.type&&void 0!==m.__d?l=m.__d:_&&(l=_.nextSibling),m.__d=void 0,m.__u&=-196609);n.__d=l,n.__e=y}function L(t,e,n){var i,r,o,a,s,l=e.length,c=n.length,u=c,d=0;for(t.__k=[],i=0;i<l;i++)a=i+d,null!=(r=t.__k[i]=null==(r=e[i])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?v(null,r,null,null,null):f(r)?v(g,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?v(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=t,r.__b=t.__b+1,s=C(r,n,a,u),r.__i=s,o=null,-1!==s&&(u--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof r.type&&(r.__u|=65536)):s!==a&&(s===a+1?d++:s>a?u>l-a?d+=s-a:d--:s<a?s==a-1&&(d=s-a):d=0,s!==i+d&&(r.__u|=65536))):(o=n[a])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==t.__d&&(t.__d=b(o)),N(o,o,!1),n[a]=null,u--);if(u)for(i=0;i<c;i++)null!=(o=n[i])&&!(131072&o.__u)&&(o.__e==t.__d&&(t.__d=b(o)),N(o,o))}function O(t,e,n){var i,r;if("function"==typeof t.type){for(i=t.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=t,e=O(i[r],e,n));return e}t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e);do{e=e&&e.nextSibling}while(null!=e&&8===e.nodeType);return e}function C(t,e,n,i){var r=t.key,o=t.type,a=n-1,s=n+1,l=e[n];if(null===l||l&&r==l.key&&o===l.type&&!(131072&l.__u))return n;if(i>(null==l||131072&l.__u?0:1))for(;a>=0||s<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&r==l.key&&o===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&r==l.key&&o===l.type)return s;s++}}return-1}function k(t,e,n){"-"===e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||h.test(e)?n:n+"px"}function T(t,e,n,i,r){var o;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(e in i)n&&e in n||k(t.style,e,"");if(n)for(e in n)i&&n[e]===i[e]||k(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||"onFocusOut"===e||"onFocusIn"===e?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=n,n?i?n.u=i.u:(n.u=l,t.addEventListener(e,o?u:c,o)):t.removeEventListener(e,o?u:c,o);else{if("http://www.w3.org/2000/svg"==r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!==e[4]?t.removeAttribute(e):t.setAttribute(e,n))}}function I(t){return function(n){if(this.l){var i=this.l[n.type+t];if(null==n.t)n.t=l++;else if(n.t<i.u)return;return i(e.event?e.event(n):n)}}}function P(t,n,i,r,o,a,s,l,c,u){var d,p,h,_,y,v,b,x,S,E,L,O,C,k,T,I=n.type;if(void 0!==n.constructor)return null;128&i.__u&&(c=!!(32&i.__u),a=[l=n.__e=i.__e]),(d=e.__b)&&d(n);t:if("function"==typeof I)try{if(x=n.props,S=(d=I.contextType)&&r[d.__c],E=d?S?S.props.value:d.__:r,i.__c?b=(p=n.__c=i.__c).__=p.__E:("prototype"in I&&I.prototype.render?n.__c=p=new I(x,E):(n.__c=p=new w(x,E),p.constructor=I,p.render=F),S&&S.sub(p),p.props=x,p.state||(p.state={}),p.context=E,p.__n=r,h=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=I.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=m({},p.__s)),m(p.__s,I.getDerivedStateFromProps(x,p.__s))),_=p.props,y=p.state,p.__v=n,h)null==I.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==I.getDerivedStateFromProps&&x!==_&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(x,E),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(x,p.__s,E)||n.__v===i.__v)){for(n.__v!==i.__v&&(p.props=x,p.state=p.__s,p.__d=!1),n.__e=i.__e,n.__k=i.__k,n.__k.forEach((function(t){t&&(t.__=n)})),L=0;L<p._sb.length;L++)p.__h.push(p._sb[L]);p._sb=[],p.__h.length&&s.push(p);break t}null!=p.componentWillUpdate&&p.componentWillUpdate(x,p.__s,E),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(_,y,v)}))}if(p.context=E,p.props=x,p.__P=t,p.__e=!1,O=e.__r,C=0,"prototype"in I&&I.prototype.render){for(p.state=p.__s,p.__d=!1,O&&O(n),d=p.render(p.props,p.state,p.context),k=0;k<p._sb.length;k++)p.__h.push(p._sb[k]);p._sb=[]}else do{p.__d=!1,O&&O(n),d=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++C<25);p.state=p.__s,null!=p.getChildContext&&(r=m(m({},r),p.getChildContext())),h||null==p.getSnapshotBeforeUpdate||(v=p.getSnapshotBeforeUpdate(_,y)),A(t,f(T=null!=d&&d.type===g&&null==d.key?d.props.children:d)?T:[T],n,i,r,o,a,s,l,c,u),p.base=n.__e,n.__u&=-161,p.__h.length&&s.push(p),b&&(p.__E=p.__=null)}catch(t){n.__v=null,c||null!=a?(n.__e=l,n.__u|=c?160:32,a[a.indexOf(l)]=null):(n.__e=i.__e,n.__k=i.__k),e.__e(t,n,i)}else null==a&&n.__v===i.__v?(n.__k=i.__k,n.__e=i.__e):n.__e=j(i.__e,n,i,r,o,a,s,c,u);(d=e.diffed)&&d(n)}function M(t,n,i){n.__d=void 0;for(var r=0;r<i.length;r++)z(i[r],i[++r],i[++r]);e.__c&&e.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){e.__e(t,n.__v)}}))}function j(e,n,i,r,o,a,s,l,c){var u,p,h,m,y,v,g,w=i.props,x=n.props,S=n.type;if("svg"===S?o="http://www.w3.org/2000/svg":"math"===S?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=a)for(u=0;u<a.length;u++)if((y=a[u])&&"setAttribute"in y==!!S&&(S?y.localName===S:3===y.nodeType)){e=y,a[u]=null;break}if(null==e){if(null===S)return document.createTextNode(x);e=document.createElementNS(o,S,x.is&&x),a=null,l=!1}if(null===S)w===x||l&&e.data===x||(e.data=x);else{if(a=a&&t.call(e.childNodes),w=i.props||d,!l&&null!=a)for(w={},u=0;u<e.attributes.length;u++)w[(y=e.attributes[u]).name]=y.value;for(u in w)if(y=w[u],"children"==u);else if("dangerouslySetInnerHTML"==u)h=y;else if("key"!==u&&!(u in x)){if("value"==u&&"defaultValue"in x||"checked"==u&&"defaultChecked"in x)continue;T(e,u,null,y,o)}for(u in x)y=x[u],"children"==u?m=y:"dangerouslySetInnerHTML"==u?p=y:"value"==u?v=y:"checked"==u?g=y:"key"===u||l&&"function"!=typeof y||w[u]===y||T(e,u,y,w[u],o);if(p)l||h&&(p.__html===h.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),n.__k=[];else if(h&&(e.innerHTML=""),A(e,f(m)?m:[m],n,i,r,"foreignObject"===S?"http://www.w3.org/1999/xhtml":o,a,s,a?a[0]:i.__k&&b(i,0),l,c),null!=a)for(u=a.length;u--;)null!=a[u]&&_(a[u]);l||(u="value",void 0!==v&&(v!==e[u]||"progress"===S&&!v||"option"===S&&v!==w[u])&&T(e,u,v,w[u],o),u="checked",void 0!==g&&g!==e[u]&&T(e,u,g,w[u],o))}return e}function z(t,n,i){try{"function"==typeof t?t(n):t.current=n}catch(t){e.__e(t,i)}}function N(t,n,i){var r,o;if(e.unmount&&e.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||z(r,null,n)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){e.__e(t,n)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&N(r[o],n,i||"function"!=typeof t.type);i||null==t.__e||_(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function F(t,e,n){return this.constructor(t,n)}function D(n,i,r){var o,a,s,l;e.__&&e.__(n,i),a=(o="function"==typeof r)?null:r&&r.__k||i.__k,s=[],l=[],P(i,n=(!o&&r||i).__k=y(g,null,[n]),a||d,d,i.namespaceURI,!o&&r?[r]:a?null:i.firstChild?t.call(i.childNodes):null,s,!o&&r?r:a?a.__e:i.firstChild,o,l),M(s,n,l)}function R(t,e){D(t,e,R)}t=p.slice,e={__e:function(t,e,n,i){for(var r,o,a;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(t)),a=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(t,i||{}),a=r.__d),a)return r.__E=r}catch(e){t=e}throw t}},n=0,w.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof t&&(t=t(m({},n),this.props)),t&&m(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),S(this))},w.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),S(this))},w.prototype.render=g,i=[],a="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(t,e){return t.__v.__b-e.__v.__b},E.__r=0,l=0,c=I(!1),u=I(!0);var H=mwl_settings,B=H.api_url,U=(H.rest_nonce,H.settings.selector),W=H.settings.anti_selector,q=H.settings.theme,Z=H.settings.flat_orientation,G={enabled:H.settings.slideshow.enabled,slide_duration:H.settings.slideshow.timer,autoplay:H.settings.slideshow.autoplay},V=(H.settings.preloading,H.settings.magnification),$={enabled:H.settings.full_screen,start_desktop:H.settings.full_screen_start_desktop,start_mobile:H.settings.full_screen_start_mobile},K=H.settings.backdrop_opacity,Y=H.settings.map,X=H.settings.caption_source,J=H.settings.caption_ellipsis,Q=(H.settings.low_res_placeholder,H.settings.wordpress_big_image,H.settings.deep_linking),tt=H.settings.deep_linking_slug,et=H.settings.separate_galleries,nt=H.settings.disable_arrows_on_mobile,it=H.settings.animation_toggle,rt=H.settings.animation_speed,ot=(H.settings.rtf_slider_fix,H.settings.social_sharing),at=[{label:"Facebook",path:"https://www.facebook.com/sharer/sharer.php?u=",enabled:H.settings.social_sharing_facebook},{label:"Twitter/X",path:"https://twitter.com/intent/tweet?text=",enabled:H.settings.social_sharing_twitter},{label:"Pinterest",path:"https://pinterest.com/pin/create/button/?url=",enabled:H.settings.social_sharing_pinterest}],st={title:H.settings.exif.title,caption:H.settings.exif.caption,camera:H.settings.exif.camera,date:H.settings.exif.date,time:H.settings.exif.time,lens:H.settings.exif.lens,shutter_speed:H.settings.exif.shutter_speed,aperture:H.settings.exif.aperture,focal_length:H.settings.exif.focal_length,iso:H.settings.exif.iso,keywords:H.settings.exif.keywords,metadata_toggle:H.settings.exif.metadata_toggle,copyright:H.settings.exif.copyright,author:H.settings.exif.author},lt={enabled:H.settings.exif.metadata_toggle,start_hidden:H.settings.exif.metadata_toggle_start_hidden},ct=H.settings.download_link,ut=H.settings.right_click_protection,dt=H.settings.js_logs,pt={very_fast:150,fast:300,normal:500,slow:700,very_slow:1e3},ht=H.settings.include_orphans,ft=H.settings.skip_dynamic_fetch;function mt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return _t(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_t(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var yt,vt,gt,wt,bt=function(){var t;dt&&(t=console).log.apply(t,arguments)},xt=function(t){switch(t){case"zoom_in_out":default:return"zoom";case"fade":return"fade";case"none":return"none"}},St=function(t){return t.preventDefault(),t.stopPropagation(),!1},Et=0,At=[],Lt=[],Ot=e,Ct=Ot.__b,kt=Ot.__r,Tt=Ot.diffed,It=Ot.__c,Pt=Ot.unmount,Mt=Ot.__;function jt(t,e){Ot.__h&&Ot.__h(vt,t,Et||e),Et=0;var n=vt.__H||(vt.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:Lt}),n.__[t]}function zt(t){return Et=1,function(t,e,n){var i=jt(yt++,2);if(i.t=t,!i.__c&&(i.__=[n?n(e):Wt(void 0,e),function(t){var e=i.__N?i.__N[0]:i.__[0],n=i.t(e,t);e!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=vt,!vt.u)){var r=function(t,e,n){if(!i.__c.__H)return!0;var r=i.__c.__H.__.filter((function(t){return!!t.__c}));if(r.every((function(t){return!t.__N})))return!o||o.call(this,t,e,n);var a=!1;return r.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(a=!0)}})),!(!a&&i.__c.props===t)&&(!o||o.call(this,t,e,n))};vt.u=!0;var o=vt.shouldComponentUpdate,a=vt.componentWillUpdate;vt.componentWillUpdate=function(t,e,n){if(this.__e){var i=o;o=void 0,r(t,e,n),o=i}a&&a.call(this,t,e,n)},vt.shouldComponentUpdate=r}return i.__N||i.__}(Wt,t)}function Nt(t,e){var n=jt(yt++,7);return Ut(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Ft(){for(var t;t=At.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Ht),t.__H.__h.forEach(Bt),t.__H.__h=[]}catch(e){t.__H.__h=[],Ot.__e(e,t.__v)}}Ot.__b=function(t){vt=null,Ct&&Ct(t)},Ot.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Mt&&Mt(t,e)},Ot.__r=function(t){kt&&kt(t),yt=0;var e=(vt=t.__c).__H;e&&(gt===vt?(e.__h=[],vt.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.__V=Lt,t.__N=t.i=void 0}))):(e.__h.forEach(Ht),e.__h.forEach(Bt),e.__h=[],yt=0)),gt=vt},Ot.diffed=function(t){Tt&&Tt(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==At.push(e)&&wt===Ot.requestAnimationFrame||((wt=Ot.requestAnimationFrame)||Rt)(Ft)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.__V!==Lt&&(t.__=t.__V),t.i=void 0,t.__V=Lt}))),gt=vt=null},Ot.__c=function(t,e){e.some((function(t){try{t.__h.forEach(Ht),t.__h=t.__h.filter((function(t){return!t.__||Bt(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],Ot.__e(n,t.__v)}})),It&&It(t,e)},Ot.unmount=function(t){Pt&&Pt(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{Ht(t)}catch(t){e=t}})),n.__H=void 0,e&&Ot.__e(e,n.__v))};var Dt="function"==typeof requestAnimationFrame;function Rt(t){var e,n=function(){clearTimeout(i),Dt&&cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,100);Dt&&(e=requestAnimationFrame(n))}function Ht(t){var e=vt,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),vt=e}function Bt(t){var e=vt;t.__c=t.__(),vt=e}function Ut(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function Wt(t,e){return"function"==typeof e?e(t):e}
function qt(t,e,n){const i=document.createElement(e);return t&&(i.className=t),n&&n.appendChild(i),i}function Zt(t,e,n){t.style.width="number"==typeof e?`${e}px`:e,t.style.height="number"==typeof n?`${n}px`:n}const Gt="idle",Vt="loading",$t="loaded",Kt="error";function Yt(t,e,n=document){let i=[];if(t instanceof Element)i=[t];else if(t instanceof NodeList||Array.isArray(t))i=Array.from(t);else{const r="string"==typeof t?t:e;r&&(i=Array.from(n.querySelectorAll(r)))}return i}function Xt(){return!(!navigator.vendor||!navigator.vendor.match(/apple/i))}class Jt{constructor(t,e){this.type=t,this.defaultPrevented=!1,e&&Object.assign(this,e)}preventDefault(){this.defaultPrevented=!0}}class Qt{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}addFilter(t,e,n=100){var i,r,o;this._filters[t]||(this._filters[t]=[]),null===(i=this._filters[t])||void 0===i||i.push({fn:e,priority:n}),null===(r=this._filters[t])||void 0===r||r.sort(((t,e)=>t.priority-e.priority)),null===(o=this.pswp)||void 0===o||o.addFilter(t,e,n)}removeFilter(t,e){this._filters[t]&&(this._filters[t]=this._filters[t].filter((t=>t.fn!==e))),this.pswp&&this.pswp.removeFilter(t,e)}applyFilters(t,...e){var n;return null===(n=this._filters[t])||void 0===n||n.forEach((t=>{e[0]=t.fn.apply(this,e)})),e[0]}on(t,e){var n,i;this._listeners[t]||(this._listeners[t]=[]),null===(n=this._listeners[t])||void 0===n||n.push(e),null===(i=this.pswp)||void 0===i||i.on(t,e)}off(t,e){var n;this._listeners[t]&&(this._listeners[t]=this._listeners[t].filter((t=>e!==t))),null===(n=this.pswp)||void 0===n||n.off(t,e)}dispatch(t,e){var n;if(this.pswp)return this.pswp.dispatch(t,e);const i=new Jt(t,e);return null===(n=this._listeners[t])||void 0===n||n.forEach((t=>{t.call(this,i)})),i}}class te{constructor(t,e){if(this.element=qt("pswp__img pswp__img--placeholder",t?"img":"div",e),t){const e=this.element;e.decoding="async",e.alt="",e.src=t,e.setAttribute("role","presentation")}this.element.setAttribute("aria-hidden","true")}setDisplayedSize(t,e){this.element&&("IMG"===this.element.tagName?(Zt(this.element,250,"auto"),this.element.style.transformOrigin="0 0",this.element.style.transform=function(t,e,n){let i=`translate3d(${t}px,${e||0}px,0)`;return void 0!==n&&(i+=` scale3d(${n},${n},1)`),i}(0,0,t/250)):Zt(this.element,t,e))}destroy(){var t;null!==(t=this.element)&&void 0!==t&&t.parentNode&&this.element.remove(),this.element=null}}class ee{constructor(t,e,n){this.instance=e,this.data=t,this.index=n,this.element=void 0,this.placeholder=void 0,this.slide=void 0,this.displayedImageWidth=0,this.displayedImageHeight=0,this.width=Number(this.data.w)||Number(this.data.width)||0,this.height=Number(this.data.h)||Number(this.data.height)||0,this.isAttached=!1,this.hasSlide=!1,this.isDecoding=!1,this.state=Gt,this.data.type?this.type=this.data.type:this.data.src?this.type="image":this.type="html",this.instance.dispatch("contentInit",{content:this})}removePlaceholder(){this.placeholder&&!this.keepPlaceholder()&&setTimeout((()=>{this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0)}),1e3)}load(t,e){if(this.slide&&this.usePlaceholder())if(this.placeholder){const t=this.placeholder.element;t&&!t.parentElement&&this.slide.container.prepend(t)}else{const t=this.instance.applyFilters("placeholderSrc",!(!this.data.msrc||!this.slide.isFirstSlide)&&this.data.msrc,this);this.placeholder=new te(t,this.slide.container)}this.element&&!e||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=qt("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=qt("pswp__content","div"),this.element.innerHTML=this.data.html||""),e&&this.slide&&this.slide.updateContentSize(!0))}loadImage(t){var e,n;if(!this.isImageContent()||!this.element||this.instance.dispatch("contentLoadImage",{content:this,isLazy:t}).defaultPrevented)return;const i=this.element;this.updateSrcsetSizes(),this.data.srcset&&(i.srcset=this.data.srcset),i.src=null!==(e=this.data.src)&&void 0!==e?e:"",i.alt=null!==(n=this.data.alt)&&void 0!==n?n:"",this.state=Vt,i.complete?this.onLoaded():(i.onload=()=>{this.onLoaded()},i.onerror=()=>{this.onError()})}setSlide(t){this.slide=t,this.hasSlide=!0,this.instance=t.pswp}onLoaded(){this.state=$t,this.slide&&this.element&&(this.instance.dispatch("loadComplete",{slide:this.slide,content:this}),this.slide.isActive&&this.slide.heavyAppended&&!this.element.parentNode&&(this.append(),this.slide.updateContentSize(!0)),this.state!==$t&&this.state!==Kt||this.removePlaceholder())}onError(){this.state=Kt,this.slide&&(this.displayError(),this.instance.dispatch("loadComplete",{slide:this.slide,isError:!0,content:this}),this.instance.dispatch("loadError",{slide:this.slide,content:this}))}isLoading(){return this.instance.applyFilters("isContentLoading",this.state===Vt,this)}isError(){return this.state===Kt}isImageContent(){return"image"===this.type}setDisplayedSize(t,e){if(this.element&&(this.placeholder&&this.placeholder.setDisplayedSize(t,e),!this.instance.dispatch("contentResize",{content:this,width:t,height:e}).defaultPrevented&&(Zt(this.element,t,e),this.isImageContent()&&!this.isError()))){const n=!this.displayedImageWidth&&t;this.displayedImageWidth=t,this.displayedImageHeight=e,n?this.loadImage(!1):this.updateSrcsetSizes(),this.slide&&this.instance.dispatch("imageSizeChange",{slide:this.slide,width:t,height:e,content:this})}}isZoomable(){return this.instance.applyFilters("isContentZoomable",this.isImageContent()&&this.state!==Kt,this)}updateSrcsetSizes(){if(!this.isImageContent()||!this.element||!this.data.srcset)return;const t=this.element,e=this.instance.applyFilters("srcsetSizesWidth",this.displayedImageWidth,this);(!t.dataset.largestUsedSize||e>parseInt(t.dataset.largestUsedSize,10))&&(t.sizes=e+"px",t.dataset.largestUsedSize=String(e))}usePlaceholder(){return this.instance.applyFilters("useContentPlaceholder",this.isImageContent(),this)}lazyLoad(){this.instance.dispatch("contentLazyLoad",{content:this}).defaultPrevented||this.load(!0)}keepPlaceholder(){return this.instance.applyFilters("isKeepingPlaceholder",this.isLoading(),this)}destroy(){this.hasSlide=!1,this.slide=void 0,this.instance.dispatch("contentDestroy",{content:this}).defaultPrevented||(this.remove(),this.placeholder&&(this.placeholder.destroy(),this.placeholder=void 0),this.isImageContent()&&this.element&&(this.element.onload=null,this.element.onerror=null,this.element=void 0))}displayError(){if(this.slide){var t,e;let n=qt("pswp__error-msg","div");n.innerText=null!==(t=null===(e=this.instance.options)||void 0===e?void 0:e.errorMsg)&&void 0!==t?t:"",n=this.instance.applyFilters("contentErrorElement",n,this),this.element=qt("pswp__content pswp__error-msg-container","div"),this.element.appendChild(n),this.slide.container.innerText="",this.slide.container.appendChild(this.element),this.slide.updateContentSize(!0),this.removePlaceholder()}}append(){if(this.isAttached||!this.element)return;if(this.isAttached=!0,this.state===Kt)return void this.displayError();if(this.instance.dispatch("contentAppend",{content:this}).defaultPrevented)return;const t="decode"in this.element;this.isImageContent()?t&&this.slide&&(!this.slide.isActive||Xt())?(this.isDecoding=!0,this.element.decode().catch((()=>{})).finally((()=>{this.isDecoding=!1,this.appendImage()}))):this.appendImage():this.slide&&!this.element.parentNode&&this.slide.container.appendChild(this.element)}activate(){!this.instance.dispatch("contentActivate",{content:this}).defaultPrevented&&this.slide&&(this.isImageContent()&&this.isDecoding&&!Xt()?this.appendImage():this.isError()&&this.load(!1,!0),this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","false"))}deactivate(){this.instance.dispatch("contentDeactivate",{content:this}),this.slide&&this.slide.holderElement&&this.slide.holderElement.setAttribute("aria-hidden","true")}remove(){this.isAttached=!1,this.instance.dispatch("contentRemove",{content:this}).defaultPrevented||(this.element&&this.element.parentNode&&this.element.remove(),this.placeholder&&this.placeholder.element&&this.placeholder.element.remove())}appendImage(){this.isAttached&&(this.instance.dispatch("contentAppendImage",{content:this}).defaultPrevented||(this.slide&&this.element&&!this.element.parentNode&&this.slide.container.appendChild(this.element),this.state!==$t&&this.state!==Kt||this.removePlaceholder()))}}function ne(t,e,n,i,r){let o=0;if(e.paddingFn)o=e.paddingFn(n,i,r)[t];else if(e.padding)o=e.padding[t];else{const n="padding"+t[0].toUpperCase()+t.slice(1);e[n]&&(o=e[n])}return Number(o)||0}class ie{constructor(t,e,n,i){this.pswp=i,this.options=t,this.itemData=e,this.index=n,this.panAreaSize=null,this.elementSize=null,this.fit=1,this.fill=1,this.vFill=1,this.initial=1,this.secondary=1,this.max=1,this.min=1}update(t,e,n){const i={x:t,y:e};this.elementSize=i,this.panAreaSize=n;const r=n.x/i.x,o=n.y/i.y;this.fit=Math.min(1,r<o?r:o),this.fill=Math.min(1,r>o?r:o),this.vFill=Math.min(1,o),this.initial=this._getInitial(),this.secondary=this._getSecondary(),this.max=Math.max(this.initial,this.secondary,this._getMax()),this.min=Math.min(this.fit,this.initial,this.secondary),this.pswp&&this.pswp.dispatch("zoomLevelsUpdate",{zoomLevels:this,slideData:this.itemData})}_parseZoomLevelOption(t){const e=t+"ZoomLevel",n=this.options[e];if(n)return"function"==typeof n?n(this):"fill"===n?this.fill:"fit"===n?this.fit:Number(n)}_getSecondary(){let t=this._parseZoomLevelOption("secondary");return t||(t=Math.min(1,3*this.fit),this.elementSize&&t*this.elementSize.x>4e3&&(t=4e3/this.elementSize.x),t)}_getInitial(){return this._parseZoomLevelOption("initial")||this.fit}_getMax(){return this._parseZoomLevelOption("max")||Math.max(1,4*this.fit)}}function re(t,e,n){const i=e.createContentFromData(t,n);let r;const{options:o}=e;if(o){let a;r=new ie(o,t,-1),a=e.pswp?e.pswp.viewportSize:function(t,e){if(t.getViewportSizeFn){const n=t.getViewportSizeFn(t,e);if(n)return n}return{x:document.documentElement.clientWidth,y:window.innerHeight}}(o,e);const s=function(t,e,n,i){return{x:e.x-ne("left",t,e,n,i)-ne("right",t,e,n,i),y:e.y-ne("top",t,e,n,i)-ne("bottom",t,e,n,i)}}(o,a,t,n);r.update(i.width,i.height,s)}return i.lazyLoad(),r&&i.setDisplayedSize(Math.ceil(i.width*r.initial),Math.ceil(i.height*r.initial)),i}class oe extends Qt{getNumItems(){var t;let e=0;const n=null===(t=this.options)||void 0===t?void 0:t.dataSource;n&&"length"in n?e=n.length:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),n.items&&(e=n.items.length));const i=this.dispatch("numItems",{dataSource:n,numItems:e});return this.applyFilters("numItems",i.numItems,n)}createContentFromData(t,e){return new ee(t,this,e)}getItemData(t){var e;const n=null===(e=this.options)||void 0===e?void 0:e.dataSource;let i={};Array.isArray(n)?i=n[t]:n&&"gallery"in n&&(n.items||(n.items=this._getGalleryDOMElements(n.gallery)),i=n.items[t]);let r=i;r instanceof Element&&(r=this._domElementToItemData(r));const o=this.dispatch("itemData",{itemData:r||{},index:t});return this.applyFilters("itemData",o.itemData,t)}_getGalleryDOMElements(t){var e,n;return null!==(e=this.options)&&void 0!==e&&e.children||null!==(n=this.options)&&void 0!==n&&n.childSelector?Yt(this.options.children,this.options.childSelector,t)||[]:[t]}_domElementToItemData(t){const e={element:t},n="A"===t.tagName?t:t.querySelector("a");if(n){e.src=n.dataset.pswpSrc||n.href,n.dataset.pswpSrcset&&(e.srcset=n.dataset.pswpSrcset),e.width=n.dataset.pswpWidth?parseInt(n.dataset.pswpWidth,10):0,e.height=n.dataset.pswpHeight?parseInt(n.dataset.pswpHeight,10):0,e.w=e.width,e.h=e.height,n.dataset.pswpType&&(e.type=n.dataset.pswpType);const r=t.querySelector("img");var i;if(r)e.msrc=r.currentSrc||r.src,e.alt=null!==(i=r.getAttribute("alt"))&&void 0!==i?i:"";(n.dataset.pswpCropped||n.dataset.cropped)&&(e.thumbCropped=!0)}return this.applyFilters("domItemData",e,t,n)}lazyLoadData(t,e){return re(t,this,e)}}class ae extends oe{constructor(t){super(),this.options=t||{},this._uid=0,this.shouldOpen=!1,this._preloadedContent=void 0,this.onThumbnailsClick=this.onThumbnailsClick.bind(this)}init(){Yt(this.options.gallery,this.options.gallerySelector).forEach((t=>{t.addEventListener("click",this.onThumbnailsClick,!1)}))}onThumbnailsClick(t){if(function(t){return"button"in t&&1===t.button||t.ctrlKey||t.metaKey||t.altKey||t.shiftKey}(t)||window.pswp)return;let e={x:t.clientX,y:t.clientY};e.x||e.y||(e=null);let n=this.getClickedIndex(t);n=this.applyFilters("clickedIndex",n,t,this);const i={gallery:t.currentTarget};n>=0&&(t.preventDefault(),this.loadAndOpen(n,i,e))}getClickedIndex(t){if(this.options.getClickedIndexFn)return this.options.getClickedIndexFn.call(this,t);const e=t.target,n=Yt(this.options.children,this.options.childSelector,t.currentTarget).findIndex((t=>t===e||t.contains(e)));return-1!==n?n:this.options.children||this.options.childSelector?-1:0}loadAndOpen(t,e,n){if(window.pswp||!this.options)return!1;if(!e&&this.options.gallery&&this.options.children){const t=Yt(this.options.gallery);t[0]&&(e={gallery:t[0]})}return this.options.index=t,this.options.initialPointerPos=n,this.shouldOpen=!0,this.preload(t,e),!0}preload(t,e){const{options:n}=this;e&&(n.dataSource=e);const i=[],r=typeof n.pswpModule;if("function"==typeof(o=n.pswpModule)&&o.prototype&&o.prototype.goTo)i.push(Promise.resolve(n.pswpModule));else{if("string"===r)throw new Error("pswpModule as string is no longer supported");if("function"!==r)throw new Error("pswpModule is not valid");i.push(n.pswpModule())}var o;"function"==typeof n.openPromise&&i.push(n.openPromise()),!1!==n.preloadFirstSlide&&t>=0&&(this._preloadedContent=function(t,e){const n=e.getItemData(t);if(!e.dispatch("lazyLoadSlide",{index:t,itemData:n}).defaultPrevented)return re(n,e,t)}(t,this));const a=++this._uid;Promise.all(i).then((t=>{if(this.shouldOpen){const e=t[0];this._openPhotoswipe(e,a)}}))}_openPhotoswipe(t,e){if(e!==this._uid&&this.shouldOpen)return;if(this.shouldOpen=!1,window.pswp)return;const n="object"==typeof t?new t.default(this.options):new t(this.options);this.pswp=n,window.pswp=n,Object.keys(this._listeners).forEach((t=>{var e;null===(e=this._listeners[t])||void 0===e||e.forEach((e=>{n.on(t,e)}))})),Object.keys(this._filters).forEach((t=>{var e;null===(e=this._filters[t])||void 0===e||e.forEach((e=>{n.addFilter(t,e.fn,e.priority)}))})),this._preloadedContent&&(n.contentLoader.addToCache(this._preloadedContent),this._preloadedContent=void 0),n.on("destroy",(()=>{this.pswp=void 0,delete window.pswp})),n.init()}destroy(){var t;null===(t=this.pswp)||void 0===t||t.destroy(),this.shouldOpen=!1,this._listeners={},Yt(this.options.gallery,this.options.gallerySelector).forEach((t=>{t.removeEventListener("click",this.onThumbnailsClick,!1)}))}}const{__:se}=wp.i18n,le={};le.GALLERY=se("Gallery","meow-lightbox"),le.DASHBOARD=se("Dashboard","meow-lightbox"),le.ARIA={ZOOM_IMAGE:se("Zoom image","meow-lightbox")},le.TOOLBAR={PREVIOUS:se("Previous","meow-lightbox"),NEXT:se("Next","meow-lightbox"),ACTIONS:se("Actions","meow-lightbox"),PLAY:se("Start Slideshow","meow-lightbox"),PAUSE:se("Stop Slideshow","meow-lightbox"),SHOW_INFO:se("Show Info","meow-lightbox"),HIDE_INFO:se("Hide Info","meow-lightbox"),SHOW_IMAGE:se("Show Image","meow-lightbox"),SHOW_ON_MAP:se("Show on Map","meow-lightbox"),SHOW_METADATA:se("Show Metadata","meow-lightbox"),HIDE_METADATA:se("Hide Metadata","meow-lightbox"),DOWNLOAD:se("Download","meow-lightbox"),CLOSE:se("Close","meow-lightbox"),IMAGE_CAPTION_AND_METADATA:se("Image caption and metadata","meow-lightbox"),SHARE:se("Share","meow-lightbox"),FULLSCREEN:se("Fullscreen","meow-lightbox"),EXIT_FULLSCREEN:se("Exit Fullscreen","meow-lightbox")},le.EXIF={CAMERA_MODEL:se("Camera model","meow-lightbox"),LENS:se("Lens","meow-lightbox"),FOCAL_LENGTH:se("Focal length","meow-lightbox"),SHUTTER_SPEED:se("Shutter speed","meow-lightbox"),APERTURE:se("Aperture","meow-lightbox"),ISO:se("ISO","meow-lightbox"),DATE:se("Date taken","meow-lightbox"),KEYWORDS:se("Keywords","meow-lightbox"),COPYRIGHT:se("Copyright","meow-lightbox"),AUTHOR:se("Author","meow-lightbox")};const ce=le;var ue=[{name:"Camera",key:"camera",aria:function(){return ce.EXIF.CAMERA_MODEL},icon:"camera",settingKey:"camera"},{name:"Lens",key:"lens",aria:function(){return ce.EXIF.LENS},icon:"lens",settingKey:"lens"},{name:"FocalLength",key:"focal_length",aria:function(){return ce.EXIF.FOCAL_LENGTH},icon:"eye",settingKey:"focal_length"},{name:"ShutterSpeed",key:"shutter_speed",aria:function(){return ce.EXIF.SHUTTER_SPEED},icon:"shutter_speed",settingKey:"shutter_speed"},{name:"Aperture",key:"aperture",aria:function(){return ce.EXIF.APERTURE},icon:"aperture",settingKey:"aperture"},{name:"Iso",key:"iso",aria:function(){return ce.EXIF.ISO},icon:"iso",settingKey:"iso"},{name:"Date",key:"date",aria:function(){return ce.EXIF.DATE},icon:"calendar",settingKey:"date",checkZero:!0,altSettingKey:"time"},{name:"Keywords",key:"keywords",aria:function(){return ce.EXIF.KEYWORDS},icon:"keywords",settingKey:"keywords"},{name:"Copyright",key:"copyright",aria:function(){return ce.EXIF.COPYRIGHT},icon:"copyright",settingKey:"copyright"}],de=[{name:"Author",key:"author",aria:function(){return ce.EXIF.AUTHOR},icon:"user",settingKey:"author"}],pe=function(t,e,n){return"N/A"!==t&&((!e.checkZero||0!=t)&&(e.altSettingKey?n[e.settingKey]||n[e.altSettingKey]:n[e.settingKey]))},he=function(t,e){return function(t,e){var n=[];return ue.forEach((function(i){var r=function(t,e){var n;return(null==t||null===(n=t.exif)||void 0===n?void 0:n[e])||"N/A"}(t,i.key);n.push({name:i.name,aria:i.aria(),icon:i.icon,value:r,visible:pe(r,i,e)})})),de.forEach((function(i){var r=function(t,e){var n;return(null==t||null===(n=t.meta)||void 0===n?void 0:n[e])||"N/A"}(t,i.key);n.push({name:i.name,aria:i.aria(),icon:i.icon,value:r,visible:pe(r,i,e)})})),n}(t,e).filter((function(t){return t.visible}))};var fe=0;Array.isArray;function me(t,n,i,r,o,a){n||(n={});var s,l,c=n;if("ref"in c)for(l in c={},n)"ref"==l?s=n[l]:c[l]=n[l];var u={type:t,props:c,key:i,ref:s,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--fe,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof t&&(s=t.defaultProps))for(l in s)void 0===c[l]&&(c[l]=s[l]);return e.vnode&&e.vnode(u),u}function _e(t){return _e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(t)}var ye=["children","size"];function ve(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ge(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ve(Object(n),!0).forEach((function(e){we(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function we(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=_e(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=_e(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_e(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var be={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"},xe=function(t){var e=t.children,n=t.size,i=void 0===n?24:n,r=function(t,e){if(null==t)return{};var n,i,r=function(t,e){if(null==t)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)>=0)continue;n[i]=t[i]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],e.indexOf(n)>=0||{}.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(t,ye);return me("svg",ge(ge(ge({},be),{},{width:i,height:i},r),{},{children:e}))},Se={close:function(t){return me(xe,{size:t,children:[me("path",{d:"M18 6 6 18"}),me("path",{d:"m6 6 12 12"})]})},fullscreen:function(t){return me(xe,{size:t,children:[me("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),me("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),me("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),me("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})},shrink:function(t){return me(xe,{size:t,children:[me("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),me("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),me("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),me("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})},minimize_meta:function(t){return me(xe,{size:t,children:[me("path",{d:"M4 14h6v6"}),me("path",{d:"M20 10h-6V4"}),me("path",{d:"m14 10 7-7"}),me("path",{d:"m3 21 7-7"})]})},expand_meta:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"10"}),me("path",{d:"M12 16v-4"}),me("path",{d:"M12 8h.01"})]})},play:function(t){return me(xe,{size:t,children:me("polygon",{points:"6 3 20 12 6 21 6 3"})})},pause:function(t){return me(xe,{size:t,children:[me("rect",{x:"14",y:"4",width:"4",height:"16",rx:"1"}),me("rect",{x:"6",y:"4",width:"4",height:"16",rx:"1"})]})},map:function(t){return me(xe,{size:t,children:[me("path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"}),me("circle",{cx:"12",cy:"10",r:"3"})]})},image:function(t){return me(xe,{size:t,children:[me("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),me("circle",{cx:"9",cy:"9",r:"2"}),me("path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"})]})},download:function(t){return me(xe,{size:t,children:[me("path",{d:"M12 13v8l-4-4"}),me("path",{d:"m12 21 4-4"}),me("path",{d:"M4.393 15.269A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.436 8.284"})]})},sharing:function(t){return me(xe,{size:t,children:[me("circle",{cx:"18",cy:"5",r:"3"}),me("circle",{cx:"6",cy:"12",r:"3"}),me("circle",{cx:"18",cy:"19",r:"3"}),me("line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49"}),me("line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49"})]})},arrow_left:function(t){return me(xe,{size:t,children:me("path",{d:"m15 18-6-6 6-6"})})},arrow_right:function(t){return me(xe,{size:t,children:me("path",{d:"m9 18 6-6-6-6"})})},chevron_up:function(t){return me(xe,{size:t,children:me("path",{d:"m18 15-6-6-6 6"})})},camera:function(t){return me(xe,{size:t,children:[me("path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z"}),me("circle",{cx:"12",cy:"13",r:"3"})]})},iso:function(t){return me(xe,{size:t,children:[me("path",{d:"m12 14 4-4"}),me("path",{d:"M3.34 19a10 10 0 1 1 17.32 0"})]})},shutter_speed:function(t){return me(xe,{size:t,children:[me("line",{x1:"10",x2:"14",y1:"2",y2:"2"}),me("line",{x1:"12",x2:"15",y1:"14",y2:"11"}),me("circle",{cx:"12",cy:"14",r:"8"})]})},lens:function(t){return me(xe,{size:t,children:me("circle",{cx:"12",cy:"12",r:"10"})})},aperture:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"10"}),me("path",{d:"m14.31 8 5.74 9.94"}),me("path",{d:"M9.69 8h11.48"}),me("path",{d:"m7.38 12 5.74-9.94"}),me("path",{d:"M9.69 16 3.95 6.06"}),me("path",{d:"M14.31 16H2.83"}),me("path",{d:"m16.62 12-5.74 9.94"})]})},calendar:function(t){return me(xe,{size:t,children:[me("path",{d:"M8 2v4"}),me("path",{d:"M16 2v4"}),me("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),me("path",{d:"M3 10h18"})]})},eye:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"3"}),me("path",{d:"M2 12c.945-4.564 5.063-8 10-8s9.055 3.436 10 8c-.945 4.564-5.063 8-10 8s-9.055-3.436-10-8Z"})]})},minus:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"10"}),me("path",{d:"M8 12h8"})]})},plus:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"10"}),me("path",{d:"M8 12h8"}),me("path",{d:"M12 8v8"})]})},keywords:function(t){return me(xe,{size:t,children:[me("path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z"}),me("circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor"})]})},ellipsis:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"10"}),me("circle",{cx:"17",cy:"12",r:"1"}),me("circle",{cx:"12",cy:"12",r:"1"}),me("circle",{cx:"7",cy:"12",r:"1"})]})},close_arrow:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"10"}),me("path",{d:"m12 8-4 4 4 4"}),me("path",{d:"M16 12H8"})]})},copyright:function(t){return me(xe,{size:t,children:[me("circle",{cx:"12",cy:"12",r:"10"}),me("path",{d:"M15.44 9.37a4 4 0 1 0 0 5.26"})]})},user:function(t){return me(xe,{size:t,children:[me("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),me("circle",{cx:"12",cy:"7",r:"4"})]})}},Ee=function(t){var e=t.icon,n=t.size,i=Se[e];return i?i(void 0===n?24:n):null};function Ae(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Le(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var Oe=function(t){var e,n=t.image,i=Ae(zt(!1),2),r=i[0],o=i[1],a=n.caption||n.meta&&n.meta.caption,s=(null!==(e=null==a?void 0:a.length)&&void 0!==e?e:"")>150,l=Nt((function(){return J&&s&&!r?a.substr(0,150):a}),[r,s,a]);if(!st.caption||!a)return null;return me(g,{children:me("div",{className:"description visible",children:me("div",{className:"caption-wrapper",onWheel:function(t){var e=t.currentTarget;e.scrollHeight>e.clientHeight&&(e.scrollTop+=t.deltaY,t.preventDefault())},children:[me("span",{className:"caption",dangerouslySetInnerHTML:{__html:l}}),J&&s&&me("span",{className:"toggle-full-description",onClick:function(){return o(!r)},children:me(Ee,{icon:r?"close_arrow":"ellipsis"})})]})})})},Ce=function(t){var e=t.icon,n=(t.name,t.aria),i=t.value;return me("div",{className:"exif","aria-label":n,role:"group",children:[me(Ee,{icon:e}),me("span",{children:["  ",i]})]})},ke=function(t){var e=t.image,n=e.exifs&&e.exifs.title||e.meta&&e.meta.title;return n&&st.title?me("h2",{dangerouslySetInnerHTML:{__html:n}}):null};function Te(t){return Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Te(t)}function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Pe(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=Te(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Te(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Te(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return je(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?je(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function je(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var ze=function(t){var e=t.className,n=t.image,i=t.onCloseClick,r=t.onCollapsedChange,o=Me(zt(!1),2),a=o[0],s=o[1],l=he(n,st);if(!n)return null;var c=function(t){t.stopPropagation();var e=!a;s(e),r&&r(e)};e&&"".concat(e," ").concat(a?"collapsed":"");return me(g,{children:[st.metadata_toggle&&me("button",a?{className:"mwl__metadata__toggle mwl__metadata__toggle--show",onClick:c,"aria-label":ce.TOOLBAR.SHOW_METADATA,children:me(Ee,{icon:"camera"})}:{className:"mwl__metadata__toggle mwl__metadata__toggle--hide",onClick:c,"aria-label":ce.TOOLBAR.HIDE_METADATA,children:me(Ee,{icon:"close"})}),me("div",{className:"mwl__metadata__content",children:[me(ke,{image:n}),me(Oe,{image:n}),me("div",{className:"exifs",onClick:i,children:l.map((function(t){return me(Ce,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach((function(e){Pe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}))})]})]})},Ne={isMapView:!1,isClosing:!1,defaultZoomLevel:[]};const Fe={captionContent:".pswp-caption-content",type:"auto",horizontalEdgeThreshold:20,mobileCaptionOverlapRatio:.3,mobileLayoutBreakpoint:600,verticallyCenterImage:!1};const De=class{constructor(t,e){this.options={...Fe,...e},this.lightbox=t,this.lightbox.on("init",(()=>{this.pswp=this.lightbox.pswp,this.initCaption()}))}initCaption(){const{pswp:t}=this;t.on("change",(()=>{this.showCaption(this.pswp.currSlide)})),t.on("calcSlideSize",(t=>this.onCalcSlideSize(t))),t.on("slideDestroy",(t=>{t.slide.dynamicCaption&&(t.slide.dynamicCaption.element&&t.slide.dynamicCaption.element.remove(),delete t.slide.dynamicCaption)})),t.on("zoomPanUpdate",(({slide:e})=>{if(t.opener.isOpen&&e.dynamicCaption){if(e.currZoomLevel>e.zoomLevels.initial?this.hideCaption(e):this.showCaption(e),e.dynamicCaption.element){let t=0;if(e.currZoomLevel<=e.zoomLevels.initial){const n=e.pan.y-e.bounds.center.y;Math.abs(n)>1&&(t=n)}this.setCaptionYOffset(e.dynamicCaption.element,t)}this.adjustPanArea(e,e.currZoomLevel)}})),t.on("beforeZoomTo",(e=>{this.adjustPanArea(t.currSlide,e.destZoomLevel)})),t.on("tapAction",(t=>{t.originalEvent.target.closest(".pswp__dynamic-caption")&&t.preventDefault()}))}adjustPanArea(t,e){t.dynamicCaption&&t.dynamicCaption.adjustedPanAreaSize&&(e>t.zoomLevels.initial?(t.panAreaSize.x=t.dynamicCaption.originalPanAreaSize.x,t.panAreaSize.y=t.dynamicCaption.originalPanAreaSize.y):(t.panAreaSize.x=t.dynamicCaption.adjustedPanAreaSize.x,t.panAreaSize.y=t.dynamicCaption.adjustedPanAreaSize.y))}useMobileLayout(){const{mobileLayoutBreakpoint:t}=this.options;return"function"==typeof t?t.call(this):"number"==typeof t&&window.innerWidth<t}hideCaption(t){if(t.dynamicCaption&&!t.dynamicCaption.hidden){const e=t.dynamicCaption.element;if(!e)return;t.dynamicCaption.hidden=!0,e.classList.add("pswp__dynamic-caption--faded"),t.captionFadeTimeout&&clearTimeout(t.captionFadeTimeout),t.captionFadeTimeout=setTimeout((()=>{e.style.visibility="hidden",delete t.captionFadeTimeout}),400)}}setCaptionYOffset(t,e){t.style.transform=`translateY(${e}px)`}showCaption(t){if(t.dynamicCaption&&t.dynamicCaption.hidden){const e=t.dynamicCaption.element;if(!e)return;t.dynamicCaption.hidden=!1,e.style.visibility="visible",clearTimeout(t.captionFadeTimeout),t.captionFadeTimeout=setTimeout((()=>{e.classList.remove("pswp__dynamic-caption--faded"),delete t.captionFadeTimeout}),50)}}setCaptionPosition(t,e,n){const i=e<=this.options.horizontalEdgeThreshold;t.classList[i?"add":"remove"]("pswp__dynamic-caption--on-hor-edge"),t.style.left=e+"px",t.style.top=n+"px"}setCaptionWidth(t,e){e?t.style.width=e+"px":t.style.removeProperty("width")}setCaptionType(t,e){const n=t.dataset.pswpCaptionType;e!==n&&(t.classList.add("pswp__dynamic-caption--"+e),t.classList.remove("pswp__dynamic-caption--"+n),t.dataset.pswpCaptionType=e)}updateCaptionPosition(t){if(!t.dynamicCaption||!t.dynamicCaption.type||!t.dynamicCaption.element)return;if("mobile"===t.dynamicCaption.type)return this.setCaptionType(t.dynamicCaption.element,t.dynamicCaption.type),t.dynamicCaption.element.style.removeProperty("left"),t.dynamicCaption.element.style.removeProperty("top"),void this.setCaptionWidth(t.dynamicCaption.element,!1);const e=t.zoomLevels.initial,n=Math.ceil(t.width*e),i=Math.ceil(t.height*e);this.setCaptionType(t.dynamicCaption.element,t.dynamicCaption.type),"aside"===t.dynamicCaption.type?(this.setCaptionPosition(t.dynamicCaption.element,t.bounds.center.x+n,t.bounds.center.y),this.setCaptionWidth(t.dynamicCaption.element,!1)):"below"===t.dynamicCaption.type&&(this.setCaptionPosition(t.dynamicCaption.element,t.bounds.center.x,t.bounds.center.y+i),this.setCaptionWidth(t.dynamicCaption.element,n))}onCalcSlideSize(t){const{slide:e}=t;let n,i;if(!e.dynamicCaption){e.dynamicCaption={element:void 0,type:!1,hidden:!1};const t=this.getCaptionHTML(e);if(!t)return;e.dynamicCaption.element=document.createElement("div"),e.dynamicCaption.element.className="pswp__dynamic-caption pswp__hide-on-close",e.dynamicCaption.element.innerHTML=t,this.pswp.dispatch("dynamicCaptionUpdateHTML",{captionElement:e.dynamicCaption.element,slide:e}),e.holderElement.appendChild(e.dynamicCaption.element)}if(!e.dynamicCaption.element)return;this.storeOriginalPanAreaSize(e),e.bounds.update(e.zoomLevels.initial),this.useMobileLayout()?(e.dynamicCaption.type="mobile",i=!0):"auto"===this.options.type?e.bounds.center.x>e.bounds.center.y?e.dynamicCaption.type="aside":e.dynamicCaption.type="below":e.dynamicCaption.type=this.options.type;const r=Math.ceil(e.width*e.zoomLevels.initial),o=Math.ceil(e.height*e.zoomLevels.initial);if(this.setCaptionType(e.dynamicCaption.element,e.dynamicCaption.type),"aside"===e.dynamicCaption.type){this.setCaptionWidth(e.dynamicCaption.element,!1),n=this.measureCaptionSize(e.dynamicCaption.element,t.slide);const i=n.x,o=r+e.bounds.center.x;e.panAreaSize.x-o<=i&&(e.panAreaSize.x-=i,this.recalculateZoomLevelAndBounds(e))}else if("below"===e.dynamicCaption.type||i){this.setCaptionWidth(e.dynamicCaption.element,i?this.pswp.viewportSize.x:r),n=this.measureCaptionSize(e.dynamicCaption.element,t.slide);const a=n.y;if(this.options.verticallyCenterImage)e.panAreaSize.y-=a,this.recalculateZoomLevelAndBounds(e);else{const t=o+e.bounds.center.y,n=e.panAreaSize.y-t,r=e.panAreaSize.y;if(n<=a){e.panAreaSize.y-=Math.min(2*(a-n),a),this.recalculateZoomLevelAndBounds(e);const t=e.panAreaSize.x*this.options.mobileCaptionOverlapRatio/2;i&&e.bounds.center.x>t&&(e.panAreaSize.y=r,this.recalculateZoomLevelAndBounds(e))}}}this.storeAdjustedPanAreaSize(e),this.updateCaptionPosition(e)}measureCaptionSize(t,e){const n=t.getBoundingClientRect();return this.pswp.dispatch("dynamicCaptionMeasureSize",{captionEl:t,slide:e,captionSize:{x:n.width,y:n.height}}).captionSize}recalculateZoomLevelAndBounds(t){t.zoomLevels.update(t.width,t.height,t.panAreaSize),t.bounds.update(t.zoomLevels.initial)}storeAdjustedPanAreaSize(t){t.dynamicCaption&&(t.dynamicCaption.adjustedPanAreaSize||(t.dynamicCaption.adjustedPanAreaSize={}),t.dynamicCaption.adjustedPanAreaSize.x=t.panAreaSize.x,t.dynamicCaption.adjustedPanAreaSize.y=t.panAreaSize.y)}storeOriginalPanAreaSize(t){t.dynamicCaption&&(t.dynamicCaption.originalPanAreaSize||(t.dynamicCaption.originalPanAreaSize={}),t.dynamicCaption.originalPanAreaSize.x=t.panAreaSize.x,t.dynamicCaption.originalPanAreaSize.y=t.panAreaSize.y)}getCaptionHTML(t){if("function"==typeof this.options.captionContent)return this.options.captionContent.call(this,t);const e=t.data.element;let n="";if(e){const t=e.querySelector(this.options.captionContent);if(t)n=t.innerHTML;else{const t=e.querySelector("img");t&&(n=t.getAttribute("alt"))}}return n}};var Re=r(316),He=r.n(Re),Be=r(525),Ue=r.n(Be),We=r(231),qe=r.n(We),Ze=r(260),Ge=r.n(Ze),Ve=r(584),$e=r.n(Ve),Ke=r(117),Ye=r.n(Ke),Xe=r(585),Je={};Je.styleTagTransform=Ye(),Je.setAttributes=Ge(),Je.insert=qe().bind(null,"head"),Je.domAPI=Ue(),Je.insertStyleElement=$e();He()(Xe.A,Je);Xe.A&&Xe.A.locals&&Xe.A.locals;var Qe=/[\s\n\\/='"\0<>]/,tn=/^(xlink|xmlns|xml)([A-Z])/,en=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,nn=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|spel|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,rn=/["&<]/;function on(t){if(0===t.length||!1===rn.test(t))return t;for(var e=0,n=0,i="",r="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 60:r="&lt;";break;default:continue}n!==e&&(i+=t.slice(e,n)),i+=r,e=n+1}return n!==e&&(i+=t.slice(e,n)),i}var an={},sn=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),ln=/[A-Z]/g;function cn(t){var e="";for(var n in t){var i=t[n];if(null!=i&&""!==i){var r="-"==n[0]?n:an[n]||(an[n]=n.replace(ln,"-$&").toLowerCase()),o=";";"number"!=typeof i||r.startsWith("--")||sn.has(r)||(o="px;"),e=e+r+":"+i+o}}return e||void 0}function un(){this.__d=!0}var dn,pn,hn,fn,mn={},_n=[],yn=Array.isArray,vn=Object.assign,gn="";function wn(t,n,i){var r=e.__s;e.__s=!0,dn=e.__b,pn=e.diffed,hn=e.__r,fn=e.unmount;var o=y(g,null);o.__k=[t];try{var a=xn(t,n||mn,!1,void 0,o,!1,i);return yn(a)?a.join(gn):a}catch(t){if(t.then)throw new Error('Use "renderToStringAsync" for suspenseful rendering.');throw t}finally{e.__c&&e.__c(t,_n),e.__s=r,_n.length=0}}function bn(t,e){var n,i=t.type,r=!0;return t.__c?(r=!1,(n=t.__c).state=n.__s):n=new i(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,null==n.state&&(n.state=mn),null==n.__s&&(n.__s=n.state),i.getDerivedStateFromProps?n.state=vn({},n.state,i.getDerivedStateFromProps(n.props,n.state)):r&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!r&&n.componentWillUpdate&&n.componentWillUpdate(),hn&&hn(t),n.render(n.props,n.state,e)}function xn(t,n,i,r,o,a,s){if(null==t||!0===t||!1===t||t===gn)return gn;var l=typeof t;if("object"!=l)return"function"==l?gn:"string"==l?on(t):t+gn;if(yn(t)){var c,u=gn;o.__k=t;for(var d=0;d<t.length;d++){var p=t[d];if(null!=p&&"boolean"!=typeof p){var h,f=xn(p,n,i,r,o,a,s);"string"==typeof f?u+=f:(c||(c=[]),u&&c.push(u),u=gn,yn(f)?(h=c).push.apply(h,f):c.push(f))}}return c?(u&&c.push(u),c):u}if(void 0!==t.constructor)return gn;t.__=o,dn&&dn(t);var m=t.type,_=t.props;if("function"==typeof m){var y,v,w,b=n;if(m===g){if("tpl"in _){for(var x=gn,S=0;S<_.tpl.length;S++)if(x+=_.tpl[S],_.exprs&&S<_.exprs.length){var E=_.exprs[S];if(null==E)continue;"object"!=typeof E||void 0!==E.constructor&&!yn(E)?x+=E:x+=xn(E,n,i,r,t,a,s)}return x}if("UNSTABLE_comment"in _)return"\x3c!--"+on(_.UNSTABLE_comment)+"--\x3e";v=_.children}else{if(null!=(y=m.contextType)){var A=n[y.__c];b=A?A.props.value:y.__}var L=m.prototype&&"function"==typeof m.prototype.render;if(L)v=bn(t,b),w=t.__c;else{t.__c=w=function(t,e){return{__v:t,context:e,props:t.props,setState:un,forceUpdate:un,__d:!0,__h:new Array(0)}}(t,b);for(var O=0;w.__d&&O++<25;)w.__d=!1,hn&&hn(t),v=m.call(w,_,b);w.__d=!0}if(null!=w.getChildContext&&(n=vn({},n,w.getChildContext())),L&&e.errorBoundaries&&(m.getDerivedStateFromError||w.componentDidCatch)){v=null!=v&&v.type===g&&null==v.key&&null==v.props.tpl?v.props.children:v;try{return xn(v,n,i,r,t,a,s)}catch(e){return m.getDerivedStateFromError&&(w.__s=m.getDerivedStateFromError(e)),w.componentDidCatch&&w.componentDidCatch(e,mn),w.__d?(v=bn(t,n),null!=(w=t.__c).getChildContext&&(n=vn({},n,w.getChildContext())),xn(v=null!=v&&v.type===g&&null==v.key&&null==v.props.tpl?v.props.children:v,n,i,r,t,a,s)):gn}finally{pn&&pn(t),t.__=null,fn&&fn(t)}}}v=null!=v&&v.type===g&&null==v.key&&null==v.props.tpl?v.props.children:v;try{var C=xn(v,n,i,r,t,a,s);return pn&&pn(t),t.__=null,e.unmount&&e.unmount(t),C}catch(o){if(!a&&s&&s.onError){var k=s.onError(o,t,(function(e){return xn(e,n,i,r,t,a,s)}));if(void 0!==k)return k;var T=e.__e;return T&&T(o,t),gn}if(!a)throw o;if(!o||"function"!=typeof o.then)throw o;return o.then((function e(){try{return xn(v,n,i,r,t,a,s)}catch(o){if(!o||"function"!=typeof o.then)throw o;return o.then((function(){return xn(v,n,i,r,t,a,s)}),e)}}))}}var I,P="<"+m,M=gn;for(var j in _){var z=_[j];if("function"!=typeof z||"class"===j||"className"===j){switch(j){case"children":I=z;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;j="for";break;case"className":if("class"in _)continue;j="class";break;case"defaultChecked":j="checked";break;case"defaultSelected":j="selected";break;case"defaultValue":case"value":switch(j="value",m){case"textarea":I=z;continue;case"select":r=z;continue;case"option":r!=z||"selected"in _||(P+=" selected")}break;case"dangerouslySetInnerHTML":M=z&&z.__html;continue;case"style":"object"==typeof z&&(z=cn(z));break;case"acceptCharset":j="accept-charset";break;case"httpEquiv":j="http-equiv";break;default:if(tn.test(j))j=j.replace(tn,"$1:$2").toLowerCase();else{if(Qe.test(j))continue;"-"!==j[4]&&"draggable"!==j||null==z?i?nn.test(j)&&(j="panose1"===j?"panose-1":j.replace(/([A-Z])/g,"-$1").toLowerCase()):en.test(j)&&"spellcheck"===(j=j.toLowerCase())&&(z=""+z):z+=gn}}null!=z&&!1!==z&&(P=!0===z||z===gn?P+" "+j:P+" "+j+'="'+("string"==typeof z?on(z):z+gn)+'"')}}if(Qe.test(m))throw new Error(m+" is not a valid HTML tag name in "+P+">");if(M||("string"==typeof I?M=on(I):null!=I&&!1!==I&&!0!==I&&(M=xn(I,n,"svg"===m||"foreignObject"!==m&&i,r,t,a,s))),pn&&pn(t),t.__=null,fn&&fn(t),!M&&Sn.has(m))return P+"/>";var N="</"+m+">",F=P+">";return yn(M)?[F].concat(M,[N]):"string"!=typeof M?[F,M,N]:F+M+N}var Sn=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);const En=wn;function An(t){var e=t.pswp.topBar;if(e){var n=e.querySelector(".mwl__actions");if(n&&!(n.children.length>0)){[".pswp__button--slideshow-button",".pswp__button--metadata-toggle-button",".pswp__button--map-button",".pswp__button--download-button",".pswp__button--social-share-button",".pswp__button--fullscreen-button",".pswp__button--custom-close"].forEach((function(t){var i=e.querySelector(t);i&&n.appendChild(i)}))}}}var Ln=function(t,e){var n;t.on("uiRegister",(function(){var i=e.autoplay;e.autoplay&&(n=setInterval((function(){t.pswp.next()}),e.slide_duration));var r=me(Ee,{icon:"play"}),o=me(Ee,{icon:"pause"});t.pswp.ui.registerElement({name:"slideshow-button",order:9,ariaLabel:i?ce.TOOLBAR.PAUSE:ce.TOOLBAR.PLAY,isButton:!0,html:wn(i?o:r),onInit:function(t){t.dataset.tooltip=i?ce.TOOLBAR.PAUSE:ce.TOOLBAR.PLAY},onClick:function(t,e){i=!i,function(t){t.innerHTML=wn(i?o:r),t.dataset.tooltip=i?ce.TOOLBAR.PAUSE:ce.TOOLBAR.PLAY}(e);var n=new Event(i?"startSlideshow":"stopSlideshow");document.dispatchEvent(n)}})})),t.on("bindEvents",(function(){document.addEventListener("startSlideshow",(function(){clearInterval(n),n=setInterval((function(){t.pswp.next()}),e.slide_duration)})),document.addEventListener("stopSlideshow",(function(){clearInterval(n)}))})),t.on("close",(function(){clearInterval(n)}))};function On(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){c=!0,r=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Cn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cn(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var kn=function(t){var e=t.url;return me("div",{className:"mwl__pswp--sharing__options",children:[me("button",{className:"mwl__sharing__close","aria-label":"Close sharing options",onClick:t.onClose,children:me(Ee,{icon:"close"})}),me("ul",{children:at.map((function(t){var n=t.label,i=t.path;return t.enabled&&me("li",{children:me("a",{href:"".concat(i).concat(e),target:"_blank",rel:"noopener noreferrer",children:"Share on ".concat(n)})},n)}))})]})},Tn=function(t){var e=t.url,n=t.containerParent,i=On(zt(!0),2),r=i[0],o=i[1];return r?me(kn,{url:e,onClose:function(){o(!1),setTimeout((function(){var t=n.querySelector(".mwl__sharing__container");t&&(D(null,n,t),t.remove())}),300)}}):null},In=function(t,e){var n=t.querySelector(".mwl__sharing__container");if(n)return D(null,t,n),n.remove(),!1;var i=document.createElement("div");return i.className="mwl__sharing__container",t.appendChild(i),D(me(Tn,{url:e,containerParent:t}),i),!0},Pn=function(t){var e=me(Ee,{icon:"map"}),n=me(Ee,{icon:"image"}),i=function(t){t.innerHTML=Ne.isMapView?wn(n):wn(e),t.dataset.tooltip=Ne.isMapView?ce.TOOLBAR.SHOW_IMAGE:ce.TOOLBAR.SHOW_ON_MAP},r=function(t){var e=document.querySelector(".pswp__button--map-button");e&&(e.style.display=t?"flex":"none")};t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"map-button",ariaLabel:ce.TOOLBAR.SHOW_ON_MAP,order:11,isButton:!0,html:wn(e),onInit:function(t){t.dataset.tooltip=ce.TOOLBAR.SHOW_ON_MAP},onClick:function(e,n){var r=t.pswp.currSlide;if(Ne.isMapView=!Ne.isMapView,Ne.isMapView){r.zoomTo(0,{x:0,y:0},0);var o=document.querySelector(".mwl__metadata");o&&(o.style.display="none");var a=document.createElement("div");a.id="map-overlay",a.style.cssText="position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;";var s=document.querySelector("#pswp__items").style.transform.match(/translate3d\(([^,]+),/)[1];s=s.startsWith("-")?s.substring(1):"-".concat(s),a.style.transform="translate3d(".concat(s,", 0, 0)"),["pointerdown","pointermove","pointerup","touchstart","touchmove","touchend"].forEach((function(t){a.addEventListener(t,(function(t){return t.stopPropagation()}))}));var l=document.createElement("div");l.id="map-container";var c=window.innerWidth,u=window.innerHeight,d=r.width/c,p=r.height/u,h=Math.max(d,p);h>1?(l.style.width=r.width/h+"px",l.style.height=r.height/h+"px"):(l.style.width=r.width+"px",l.style.height=r.height+"px"),l.style.position="absolute",l.style.top="50%",l.style.left="50%",l.style.transform="translate(-50%, -50%)",a.appendChild(l),t.pswp.container.appendChild(a),function(t,e){if(void 0!==window.mwlInitMap){var n=e.exif.gps;if(n&&"N/A"!==n){var i=n.split(","),r={gps:{lat:parseFloat(i[0]),lng:parseFloat(i[1])},src:e.src,dimensions:{width:e.width,height:e.height},low_res_src:e.msrc,exifs:{caption:e.meta.caption},title:e.meta.title};window.mwlInitMap(t,r)}else console.warn("No GPS data available for this image.")}else console.error("window.mwlInitMap is not defined. Please check that you have included the map script in your page.")}("map-container",r.data)}else{var f=document.querySelector(".mwl__metadata");f&&(f.style.display="block");var m=document.getElementById("map-overlay");m&&m.remove()}i(n)}})})),t.on("change",(function(){if(r(!0),Ne.isMapView){Ne.isMapView=!1;var e=document.querySelector(".mwl__metadata");e&&(e.style.display="block");var n=document.getElementById("map-overlay");n&&n.remove();var o=document.querySelector(".pswp__button--map-button");o&&i(o)}var a=t.pswp.currSlide;if(!a.data.exif.gps||"N/A"===a.data.exif.gps){Ne.isMapView=!1;var s=document.getElementById("map-overlay");s&&s.remove(),r(!1)}}))},Mn=function(t,e){var n=e.start_hidden||!1;t.on("uiRegister",(function(){var e=me(Ee,{icon:"expand_meta"}),i=me(Ee,{icon:"minimize_meta"});t.pswp.ui.registerElement({name:"metadata-toggle-button",ariaLabel:n?ce.TOOLBAR.SHOW_INFO:ce.TOOLBAR.HIDE_INFO,order:8,isButton:!0,html:wn(n?e:i),onInit:function(t){t.dataset.tooltip=n?ce.TOOLBAR.SHOW_INFO:ce.TOOLBAR.HIDE_INFO},onClick:function(r,o){n=!n,function(t){t.innerHTML=wn(n?e:i),t.dataset.tooltip=n?ce.TOOLBAR.SHOW_INFO:ce.TOOLBAR.HIDE_INFO}(o),t.pswp.element.classList.toggle("mwl--metadata-hidden",n),t.pswp.updateSize(!0)}})})),t.on("firstUpdate",(function(){n&&(t.pswp.element.classList.add("mwl--metadata-hidden"),t.pswp.updateSize(!0))}))};function jn(t){return jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jn(t)}function zn(){zn=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:L(t,n,s)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",_={};function y(){}function v(){}function g(){}var w={};c(w,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(I([])));x&&x!==n&&i.call(x,a)&&(w=x);var S=g.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(r,o,a,s){var l=d(t[r],t,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==jn(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function L(e,n,i){var r=p;return function(o,a){if(r===f)throw Error("Generator is already running");if(r===m){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var l=O(s,i);if(l){if(l===_)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=f;var c=d(e,n,i);if("normal"===c.type){if(r=i.done?m:h,c.arg===_)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r=m,i.method="throw",i.arg=c.arg)}}}function O(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),_;var o=d(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,_;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,_):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,_)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(jn(e)+" is not iterable")}return v.prototype=g,r(S,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:v,configurable:!0}),v.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},E(A.prototype),c(A.prototype,s,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new A(u(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(S),c(S,l,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=I,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),_},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),_}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;k(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:I(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),_}},e}function Nn(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}var Fn=function(t){t.on("uiRegister",(function(){var e=function(){return!(!document.fullscreenElement&&!document.webkitFullscreenElement)},n=me(Ee,{icon:"fullscreen"}),i=me(Ee,{icon:"shrink"}),r=function(t){var r=e();t.innerHTML=wn(r?i:n),t.dataset.tooltip=r?ce.TOOLBAR.EXIT_FULLSCREEN:ce.TOOLBAR.FULLSCREEN,t.setAttribute("aria-label",r?ce.TOOLBAR.EXIT_FULLSCREEN:ce.TOOLBAR.FULLSCREEN)},o=function(){var t=function(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){Nn(o,i,r,a,s,"next",t)}function s(t){Nn(o,i,r,a,s,"throw",t)}a(void 0)}))}}(zn().mark((function t(n){var i,o,a;return zn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e()){t.next=12;break}if(!(i=document.exitFullscreen||document.webkitExitFullscreen)){t.next=10;break}return t.prev=3,t.next=6,i.call(document);case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(3);case 10:t.next=22;break;case 12:if(o=document.documentElement,!(a=o.requestFullscreen||o.webkitRequestFullscreen)){t.next=22;break}return t.prev=15,t.next=18,a.call(o);case 18:t.next=22;break;case 20:t.prev=20,t.t1=t.catch(15);case 22:r(n);case 23:case"end":return t.stop()}}),t,null,[[3,8],[15,20]])})));return function(e){return t.apply(this,arguments)}}();t.pswp.ui.registerElement({name:"fullscreen-button",ariaLabel:ce.TOOLBAR.FULLSCREEN,order:11,isButton:!0,html:wn(n),onInit:function(e){e.dataset.tooltip=ce.TOOLBAR.FULLSCREEN;var n=function(){return r(e)};document.addEventListener("fullscreenchange",n),document.addEventListener("webkitfullscreenchange",n),t.on("close",(function(){document.removeEventListener("fullscreenchange",n),document.removeEventListener("webkitfullscreenchange",n)}))},onClick:function(t,e){o(e)}})})),t.on("close",(function(){if(!(!document.fullscreenElement&&!document.webkitFullscreenElement)){var t=document.exitFullscreen||document.webkitExitFullscreen;t&&t.call(document).catch((function(){}))}}))};function Dn(t){return Dn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dn(t)}function Rn(t){return function(t){if(Array.isArray(t))return Hn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Hn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hn(t,e):void 0}}(t)||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.")}()}function Hn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function Bn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Un(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=Dn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Dn(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Dn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wn,qn,Zn="mwl_pswp";function Gn(){var t=function(t){var e=t.getAttribute("aria-label")||"",n=t.getAttribute("alt")||"",i=e?"".concat(ce.ARIA.ZOOM_IMAGE,": ").concat(e):ce.ARIA.ZOOM_IMAGE;n&&(i+=" (".concat(n,")")),t.setAttribute("aria-label",i)},e=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=new ae(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bn(Object(n),!0).forEach((function(e){Un(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({bgOpacity:K/100,mainClass:"mwl mwl-theme-"+q+(null!==i?" mwl__pswp--gallery-".concat(i):""),pswpClassName:e,dataSource:t,showHideAnimationType:xt(it),showAnimationDuration:pt[rt],hideAnimationDuration:pt[rt],paddingFn:function(t){return t.x<600?{top:20,bottom:20,left:0,right:0}:{top:30,bottom:30,left:70,right:70}},pswpModule:function(){return r.e(641).then(r.bind(r,13))}},V?{}:{initialZoomLevel:"fit",secondaryZoomLevel:"fit",maxZoomLevel:1}));o.addFilter("thumbEl",(function(t,e){return(n||document).querySelector("[data-mwl-img-id='".concat(e.id,"']"))||t}));var a=0,s=function(t){window.scrollTo(0,a)},l=function(){return window.innerWidth<768?$.start_mobile:$.start_desktop};return o.on("beforeOpen",(function(){if(a=window.scrollY,window.addEventListener("scroll",s),l()){var t=document.documentElement,e=t.requestFullscreen||t.webkitRequestFullscreen;e&&e.call(t).catch((function(){}))}})),o.on("close",(function(){if(window.removeEventListener("scroll",s),l()&&(document.fullscreenElement||document.webkitFullscreenElement)){var t=document.exitFullscreen||document.webkitExitFullscreen;t&&t.call(document).catch((function(){}))}})),o.on("firstUpdate",(function(){window.mwl_pswp=o.pswp})),o.on("openingAnimationEnd",(function(){var t=document.getElementById("mwl-loading-overlay");t&&(t.remove(),window.mwlReopenSlideIndex=null)})),o.on("change",(function(){if(void 0!==window.mgl_load_more){var t=o.pswp.currIndex,e=n;if(e){if(!e.classList.contains("mgl-gallery"))return;if(!(o.pswp.getNumItems()-t<=3))return;window.mgl_load_more(e)}else{var i=o.pswp.currSlide;if(i){var r=document.querySelector("[data-mwl-img-id='".concat(i.data.id,"']"));if(r){var a=r.closest(".mgl-gallery");if(a){var s=Array.from(a.querySelectorAll("img[data-mwl-img-id]")),l=s.length,c=s.indexOf(r);if(-1!==c)l-c<=3&&window.mgl_load_more(a)}}}}}})),o.on("firstUpdate",(function(){if(!q.includes("flat")){var t=o.pswp.element;if(t&&!t.querySelector(".mwl__bottom-hover-zone")){var e=document.createElement("div");e.className="mwl__bottom-hover-zone",t.appendChild(e)}}})),q.includes("flat")?function(t){new De(t,{type:Z,captionContent:function(t){var e=t.data,n=e.caption||e.meta&&e.meta.caption,i=e.description||e.meta&&e.meta.description,r="description"===X?i:n;e.caption=r;var o=En(me(ze,{image:e,onCloseClick:function(){},onCollapsedChange:function(){}}));return'<div id="mwl-caption-'.concat(e.id,'" class="mwl-flat-caption-container mwl__metadata mwl__metadata--flat mwl__metadata--flat--').concat(Z,'">').concat(o,"</div>")}}),t.on("init",(function(){var e=t.pswp;e.on("openingAnimationStart",(function(){var t=e.element.querySelector(".pswp__dynamic-caption");t&&(t.style.opacity="0")})),e.on("openingAnimationEnd",(function(){var t=e.element.querySelector(".pswp__dynamic-caption");t&&setTimeout((function(){t.style.transition="opacity 300ms ease",t.style.opacity="1"}),50)}));var n=function(t){t.stopPropagation()},i=function(){var t=e.currSlide;if(t&&t.data){var i="mwl-caption-".concat(t.data.id),r=document.getElementById(i);r&&(r.setAttribute("aria-label","Image caption and metadata"),r.removeEventListener("pointerdown",n,!0),r.removeEventListener("touchstart",n,!0),r.removeEventListener("mousedown",n,!0),r.addEventListener("pointerdown",n,!0),r.addEventListener("touchstart",n,!0),r.addEventListener("mousedown",n,!0))}};e.on("contentInit",i);var r=function(){var t=e.currSlide;if(t&&t.data){var n=t.data,r="mwl-caption-".concat(n.id);setTimeout((function(){var t=document.getElementById(r);t&&(R(me(ze,{image:n,onCloseClick:function(){},onCollapsedChange:function(e){t.classList.toggle("collapsed",e)}}),t),i())}),50)}};e.on("change",r),e.on("resize",r)}))}(o):function(t,e,n,i){t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"custom-caption mwl__metadata",ariaLabel:ce.TOOLBAR.IMAGE_CAPTION_AND_METADATA,order:9,isButton:!1,appendTo:"wrapper",html:"",onInit:function(r,o){r.setAttribute("aria-label",ce.TOOLBAR.IMAGE_CAPTION_AND_METADATA);var a=function(t){t.stopPropagation()};r.addEventListener("pointerdown",a),r.addEventListener("touchstart",a),r.addEventListener("mousedown",a),t.pswp.on("closingAnimationStart",(function(){r.style.opacity=0,Ne.isClosing=!0})),t.pswp.on("closingAnimationEnd",(function(){Ne.isClosing=!1})),t.pswp.on("zoomPanUpdate",(function(t){var e=function(){if(t.slide===o.currSlide){var e=Math.round(100*o.currSlide.currZoomLevel),n=document.documentElement.clientWidth,i="index_"+o.currSlide.index+"_"+n,a=Ne.defaultZoomLevel[i]||0;a?e>a?r.style.opacity=0:r.classList.contains("collapsed")||(r.style.opacity=1):Ne.defaultZoomLevel[i]=e}};"none"===n||Ne.isClosing?e():setTimeout((function(){e()}),i)})),t.pswp.on("change",(function(){var n=t.pswp.currSlide.data,i=he(n,e),o=n.caption||n.meta&&n.meta.caption,a=n.description||n.meta&&n.meta.description,s="description"===X?a:o;n.caption=s;var l=n.exifs&&n.exifs.title||n.meta&&n.meta.title,c=e.title&&l||e.caption&&s;0===i.length&&!c||Ne.isMapView?r.style.display="none":(r.style.display="",D(me(ze,{image:n,onCloseClick:function(){},onCollapsedChange:function(t){r.classList.toggle("collapsed",t),t&&(r.style.opacity="")}}),r))}))}})}))}(o,st,xt(it),pt[rt]),function(t){t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"actions-container",ariaLabel:ce.TOOLBAR.ACTIONS,className:"mwl__actions",order:100,isButton:!1,html:"",appendTo:"bar"})})),t.on("openingAnimationEnd",(function(){An(t)})),t.on("firstUpdate",(function(){setTimeout((function(){An(t)}),50)}))}(o),function(t){var e=me(Ee,{icon:"close"});t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"custom-close",order:20,ariaLabel:ce.TOOLBAR.CLOSE,isButton:!0,html:wn(e),onClick:function(){t.pswp.close()},onInit:function(t){t.dataset.tooltip=ce.TOOLBAR.CLOSE}})}))}(o),function(t,e){t.on("uiRegister",(function(){setTimeout((function(){var n=t.pswp.element.querySelector(".pswp__button--arrow--prev"),i=t.pswp.element.querySelector(".pswp__button--arrow--next");n&&(n.setAttribute("aria-label",ce.TOOLBAR.PREVIOUS),n.removeAttribute("title")),i&&(i.setAttribute("aria-label",ce.TOOLBAR.NEXT),i.removeAttribute("title"));var r=/Mobi|Android/i.test(navigator.userAgent),o=window.matchMedia("(max-width: 820px)").matches;if((r||o)&&e)return n.classList.add("mwl__nav-arrow-not-visible"),void i.classList.add("mwl__nav-arrow-not-visible");n.classList.add("mwl__nav-arrow-visible"),i.classList.add("mwl__nav-arrow-visible")}),0)}))}(o,nt),G.enabled&&Ln(o,G),ct&&function(t){var e=me(Ee,{icon:"download"});t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"download-button",ariaLabel:ce.TOOLBAR.DOWNLOAD,order:10,isButton:!0,html:wn(e),onInit:function(t){t.dataset.tooltip=ce.TOOLBAR.DOWNLOAD},onClick:function(){var e=t.pswp.currSlide.data.meta.download,n=document.createElement("a");n.href=e,n.download=e.split(/[\\/]/).pop(),document.body.appendChild(n),n.click(),document.body.removeChild(n)}})}))}(o),$.enabled&&Fn(o),ut&&function(t){t.on("bindEvents",(function(){t.pswp.container.addEventListener("contextmenu",St)})),t.on("unbindEvents",(function(){t.pswp.container.removeEventListener("contextmenu",St)}))}(o),Q&&function(t,e,n){if(t.on("change",(function(){var e=t.pswp.currSlide.data.id,i="".concat(window.location.pathname,"#").concat(n,"-").concat(e);history.pushState(null,"",i)})),t.on("close",(function(){history.pushState(null,"",window.location.pathname)})),window.mwlDelayedRenderComplete){var i=window.location.hash;if(i){var r=i.split(n+"-")[1],o=e.findIndex((function(t){return t.id==r}));-1!==o&&t.loadAndOpen(o)}}}(o,t,tt),Q&&ot&&function(t){var e=me(Ee,{icon:"sharing"});t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"social-share-button",ariaLabel:ce.TOOLBAR.SHARE,order:10,isButton:!0,html:wn(e),onInit:function(t){t.dataset.tooltip=ce.TOOLBAR.SHARE},onClick:function(t,e){var n=e.closest(".pswp__scroll-wrap"),i=window.location.href;In(n,i)}})}))}(o),Y.enabled&&Pn(o),lt.enabled&&Mn(o,lt),o.init(),o};return function(t,e){var n=jt(yt++,3);!Ot.__s&&Ut(n.__H,e)&&(n.__=t,n.i=e,vt.__H.__h.push(n))}((function(){document.querySelector('link[href*="photoswipe"]')?console.warn("PhotoSwipe CSS already loaded. It seems like another Lightbox plugin is active. Please ensure only one Lightbox plugin is active to avoid conflicts."):r.e(683).then(r.bind(r,687));var n,i=(n=window.mwl_data)?Object.values(n).filter((function(t){return t.data})).map((function(t){return{id:t.data.id,src:t.file,srcset:t.srcset||"",msrc:t.file,width:t.dimension.width,height:t.dimension.height,thumbCropped:!0,meta:{title:t.data.title,caption:t.data.caption,description:t.data.description,keywords:t.data.keywords,author:t.data.author,date:t.data.date,download:t.download_link},exif:{camera:t.data.camera,focal_length:t.data.focal_length,shutter_speed:t.data.shutter_speed,aperture:t.data.aperture,iso:t.data.iso,lens:t.data.lens,date:t.data.date,keywords:t.data.keywords,gps:t.data.gps,copyright:t.data.copyright}}})):[];if(ht){var o=function(t,e,n){var i=t;i&&""!==i.trim()||(i=".entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image");var r=n?Object.keys(n):[],o=new Map;n&&Object.entries(n).forEach((function(t){var e=mt(t,2),n=e[0],i=e[1];null!=i&&i.file&&o.set(i.file,n)}));var a=e?e.split(",").map((function(t){return t.trim()})).filter(Boolean):[],s=[],l=0;return document.querySelectorAll(i).forEach((function(t){a.length>0&&a.some((function(e){try{return t.matches(e)}catch(t){return!1}}))||t.querySelectorAll("img").forEach((function(t){if(!(a.length>0&&a.some((function(e){try{return t.matches(e)||t.closest(e)}catch(t){return!1}})))){var e=t.getAttribute("data-mwl-img-id");if((!e||!r.includes(e))&&!(t.getAttribute("class")||"").match(/wp-image-(\d+)/)&&t.src&&!(t.naturalWidth>0&&t.naturalWidth<50)){var n=t.getAttribute("mgl-src")||t.src||"",i=o.get(n);if(i)t.setAttribute("data-mwl-img-id",i);else{var c,u,d="orphan-".concat(l++);t.setAttribute("data-mwl-img-id",d),o.set(n,d),s.push({id:d,src:u=(c=t).getAttribute("mgl-src")||c.src||"",srcset:c.getAttribute("mgl-srcset")||c.srcset||"",msrc:u,width:c.naturalWidth||800,height:c.naturalHeight||600,thumbCropped:!0,meta:{title:c.alt||"",caption:"",description:"",keywords:"",author:"",date:"",download:u},exif:{camera:"",focal_length:"",shutter_speed:"",aperture:"",iso:"",lens:"",date:"",keywords:"",gps:null,copyright:""}})}}}}))})),s}(U,W,window.mwl_data);o.length>0&&(i=[].concat(Rn(i),Rn(o)))}if(i.length){var a=U;a&&""!==a.trim()||(a=".entry-content, .gallery, .mgl-gallery, .wp-block-gallery,  .wp-block-image, .gmap-image-marker");var s=document.querySelectorAll("img[data-mwl-img-id]"),l=[];s.forEach((function(t){var e=t.dataset.mwlImgId;e&&!l.includes(e)&&l.push(e)})),i.sort((function(t,e){var n=l.indexOf(String(t.id)),i=l.indexOf(String(e.id));return-1===n?1:-1===i?-1:n-i}));var c=[],u=[];try{if(et){var d=U;d&&""!==d.trim()||(d=".entry-content, .gallery, .mgl-gallery, .wp-block-gallery,  .wp-block-image, .gmap-image-marker");var p=Array.from(document.querySelectorAll(d)),h=p.filter((function(t){return!p.some((function(e){return e!==t&&t.contains(e)}))})),f=new Set;h.forEach((function(n,r){var o=n.querySelectorAll("img[data-mwl-img-id]"),a=Array.from(o).map((function(t){return t.dataset.mwlImgId})).filter(Boolean),s=i.filter((function(t){return a.includes(String(t.id))}));if(0!==s.length){a.forEach((function(t){return f.add(t)}));var l=e(s,"".concat(Zn,"-").concat(r),n,r);c.push(l),o.forEach((function(e){var n=e.dataset.mwlImgId;if(n){var i=s.findIndex((function(t){return t.id==n}));if(-1!==i){t(e),e.style.cursor="pointer";var r=function(){e.style.cursor="pointer"},o=function(){e.style.cursor="pointer"},a=function(t){t.preventDefault(),l.loadAndOpen(i)};e.addEventListener("mouseenter",r),e.addEventListener("mouseleave",o),e.addEventListener("click",a),u.push((function(){e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o),e.removeEventListener("click",a)}))}}}))}}));var m=Array.from(s).filter((function(t){var e=t.dataset.mwlImgId;return e&&!f.has(e)}));if(m.length>0&&m.forEach((function(n,r){var o=n.dataset.mwlImgId,a=i.filter((function(t){return String(t.id)===o}));if(0!==a.length){var s=e(a,"".concat(Zn,"-orphan-").concat(r),null,null);c.push(s),t(n),n.style.cursor="pointer";var l=function(){n.style.cursor="pointer"},d=function(){n.style.cursor="pointer"},p=function(t){t.preventDefault(),s.loadAndOpen(0)};n.addEventListener("mouseenter",l),n.addEventListener("mouseleave",d),n.addEventListener("click",p),u.push((function(){n.removeEventListener("mouseenter",l),n.removeEventListener("mouseleave",d),n.removeEventListener("click",p)}))}})),null!==window.mwlReopenSlideIndex&&void 0!==window.mwlReopenSlideIndex&&c.length>0){var _,y=window.mwlReopenSlideIndex,v=c[0],g=null!==(_=v.options)&&void 0!==_&&null!==(_=_.dataSource)&&void 0!==_&&_.length?v.options.dataSource.length-1:0,w=Math.min(y,g);bt("🔓 Reopening lightbox (separate galleries) at slide",w),w>=0&&setTimeout((function(){v.loadAndOpen(w)}),100)}}else{var b=e(i,Zn);if(c.push(b),window.pswpLightbox=b,null!==window.mwlReopenSlideIndex&&void 0!==window.mwlReopenSlideIndex){var x=window.mwlReopenSlideIndex,S=Math.min(x,i.length-1);bt("🔓 Reopening lightbox at slide",S),S>=0&&setTimeout((function(){b.loadAndOpen(S)}),100)}s.forEach((function(e){var n=e.dataset.mwlImgId;if(n){var r=i.findIndex((function(t){return t.id==n}));if(-1!==r){t(e),e.style.cursor="pointer";var o=function(){e.style.cursor="pointer"},a=function(){e.style.cursor="pointer"},s=function(t){t.preventDefault(),b.loadAndOpen(r)};e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",a),e.addEventListener("click",s),u.push((function(){e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",a),e.removeEventListener("click",s)}))}}}))}}catch(t){console.error("Error initializing PhotoSwipe:",t)}return function(){u.forEach((function(t){return t()})),c.forEach((function(t){t&&t.destroy()}))}}console.warn("(Meow Lightbox PS) No images found.")}),[]),null}function Vn(t){return Vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vn(t)}function $n(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function Kn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$n(Object(n),!0).forEach((function(e){Yn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Yn(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=Vn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Vn(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Vn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return function(t){if(Array.isArray(t))return Jn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Jn(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jn(t,e):void 0}}(t)||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.")}()}function Jn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function Qn(){Qn=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function u(t,e,n,i){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new T(i||[]);return r(a,"_invoke",{value:L(t,n,s)}),a}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=u;var p="suspendedStart",h="suspendedYield",f="executing",m="completed",_={};function y(){}function v(){}function g(){}var w={};c(w,a,(function(){return this}));var b=Object.getPrototypeOf,x=b&&b(b(I([])));x&&x!==n&&i.call(x,a)&&(w=x);var S=g.prototype=y.prototype=Object.create(w);function E(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function n(r,o,a,s){var l=d(t[r],t,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==Vn(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(u).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var o;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function L(e,n,i){var r=p;return function(o,a){if(r===f)throw Error("Generator is already running");if(r===m){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var l=O(s,i);if(l){if(l===_)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=f;var c=d(e,n,i);if("normal"===c.type){if(r=i.done?m:h,c.arg===_)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r=m,i.method="throw",i.arg=c.arg)}}}function O(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,O(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),_;var o=d(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,_;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,_):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,_)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(Vn(e)+" is not iterable")}return v.prototype=g,r(S,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:v,configurable:!0}),v.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},E(A.prototype),c(A.prototype,s,(function(){return this})),e.AsyncIterator=A,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new A(u(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(S),c(S,l,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=I,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),_},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),_}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;k(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:I(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),_}},e}function ti(t,e,n,i,r,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(i,r)}function ei(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){ti(o,i,r,a,s,"next",t)}function s(t){ti(o,i,r,a,s,"throw",t)}a(void 0)}))}}if(null!==(Wn=window.mwl_settings)&&void 0!==Wn&&Wn.plugin_url&&(r.p=window.mwl_settings.plugin_url),null!==(qn=window.mwl_settings)&&void 0!==qn&&qn.version){var ni=r.u;r.u=function(t){return ni(t)+"?ver="+window.mwl_settings.version}}var ii=function(){if(!document.getElementById("mwl-loading-overlay")){var t=!q.includes("light"),e=t?"rgba(0, 0, 0, ".concat(K/100,")"):"rgba(255, 255, 255, ".concat(K/100,")"),n=t?"#fff":"#333",i=document.createElement("div");i.id="mwl-loading-overlay",i.style.cssText="\n    position: fixed;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    background: ".concat(e,';\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    z-index: 999999;\n    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;\n    font-size: 18px;\n    color: ').concat(n,";\n  "),i.innerHTML="<div>Loading more...</div>",document.body.appendChild(i)}},ri=[],oi=function(t){if(!(t instanceof HTMLElement)||"img"!==t.tagName.toLowerCase())return bt("🚫 Invalid image element:",t),void bt("ℹ️ The parameter should be an img HTML element");for(var e=0,n=ri;e<n.length;e++){if(n[e].element===t)return void bt("ℹ️ Image element is already in the Meow Lightbox queue:",t.src)}var i=t.getAttribute("data-mwl-img-id");if(i)bt("ℹ️ Image already has data-mwl-img-id:",i);else{var r=t.getAttribute("data-src")||t.getAttribute("src");if(r){var o=null,a=t.getAttribute("class");if(a){var s=a.match(/wp-image-(\d+)/);s&&(o=s[1])}ri.push({element:t,url:r,id:o})}else bt("🚫 Image element does not have a src attribute:",t)}},ai=function(){var t=ei(Qn().mark((function t(e){var n,i;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,fetch("".concat(B,"regenerate_mwl_data"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({images:e,page_url:window.location.href})});case 3:if((n=t.sent).ok){t.next=6;break}throw new Error("HTTP error! status: ".concat(n.status));case 6:return t.next=8,n.json();case 8:if(!(i=t.sent).success){t.next=13;break}return t.abrupt("return",i.data);case 13:return bt("Server responded with an error:",i),t.abrupt("return",null);case 15:t.next=21;break;case 17:return t.prev=17,t.t0=t.catch(0),t.t0.message&&alert(t.t0.message),t.abrupt("return",null);case 21:case"end":return t.stop()}}),t,null,[[0,17]])})));return function(e){return t.apply(this,arguments)}}(),si=function(){var t=ei(Qn().mark((function t(e){var n,i=arguments;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=i.length>1&&void 0!==i[1]?i[1]:0,document.querySelectorAll(e).forEach((function(t){W&&t.matches(W)?bt("⚠️ Meow Lightbox: The container ".concat(e," matches the anti-selector ").concat(W,". It will be ignored.")):t.querySelectorAll("img").forEach((function(t){W&&(t.matches(W)||t.closest(W))||oi(t)}))})),t.next=5,ui(n);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),li=function(){var t=ei(Qn().mark((function t(e){var n,i=arguments;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=i.length>1&&void 0!==i[1]?i[1]:0,e instanceof HTMLElement){t.next=4;break}return bt("🚫 Invalid parent element:",e),t.abrupt("return");case 4:if(!W||!e.matches(W)){t.next=7;break}return bt("⚠️ Meow Lightbox: The parent element matches the anti-selector ".concat(W,". It will be ignored.")),t.abrupt("return");case 7:return e.querySelectorAll("img").forEach((function(t){W&&(t.matches(W)||t.closest(W))||oi(t)})),t.next=11,ui(n);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ci=function(){var t=ei(Qn().mark((function t(e){var n,i;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof HTMLElement){t.next=3;break}return bt("🚫 Invalid parent element:",e),t.abrupt("return");case 3:if(0!==(n=e.querySelectorAll("[data-mwl-img-id]")).length){t.next=7;break}return bt("ℹ️ No elements with data-mwl-img-id found in parent"),t.abrupt("return");case 7:return i=[],n.forEach((function(t){var e=t.getAttribute("data-mwl-img-id");e&&(i.push(e),t.removeAttribute("data-mwl-img-id"))})),window.mwl_data&&i.length>0&&(i.forEach((function(t){delete window.mwl_data[t]})),bt("🗑️ Removed",i.length,"entries from mwl_data:",i)),t.next=12,ui();case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ui=function(){var t=ei(Qn().mark((function t(){var e,n,i,r,o,a,s,l,c,u,d,p,h,f,m,_=arguments;return Qn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(bt("🎞️ Rendering Meow Lightbox with delay:",_.length>0&&void 0!==_[0]?_[0]:0),!(ri.length>0)){t.next=32;break}if(e=Xn(ri),ri=[],bt("🔍 Processing queue with",e.length,"items",e),window.mwl_data&&e.forEach((function(t){if(t.id&&window.mwl_data[t.id])t.element.setAttribute("data-mwl-img-id",t.id);else if(window.mwl_url_index&&t.url){var e=window.mwl_url_index[t.url];if(e&&window.mwl_data[e])return void t.element.setAttribute("data-mwl-img-id",e)}})),n=e.filter((function(t){return!t.element.getAttribute("data-mwl-img-id")})),!(!0===window.mwl_data_has_dynamic_cache)||0!==n.length){t.next=13;break}bt("✅ All dynamic content is cached in page. Skipping REST call."),t.next=32;break;case 13:if(!(ft&&n.length>0)){t.next=23;break}bt("⏭️ Skipping dynamic fetch (skip_dynamic_fetch enabled). Images will be treated as orphans."),i={},r={},n.forEach((function(t,e){var n,o=t.element.getAttribute("mgl-src")||t.element.src||"",a=null===(n=window.mwl_url_index)||void 0===n?void 0:n[o];if(a)t.element.setAttribute("data-mwl-img-id",a);else{var s,l,c,u,d="orphan-dynamic-".concat(Date.now(),"-").concat(e);t.element.setAttribute("data-mwl-img-id",d),r[o]=d,i[d]=(s=d,l=t.element,c=l.getAttribute("mgl-src")||l.src||"",u=l.getAttribute("mgl-srcset")||l.srcset||"",{data:{id:s,title:l.alt||"",caption:"",description:"",keywords:"",author:"",date:"",camera:"",focal_length:"",shutter_speed:"",aperture:"",iso:"",lens:"",gps:null,copyright:""},file:c,srcset:u,dimension:{width:l.getAttribute("width")||l.naturalWidth||800,height:l.getAttribute("height")||l.naturalHeight||600},download_link:c})}})),window.mwl_data=Kn(Kn({},window.mwl_data),i),window.mwl_url_index=Kn(Kn({},window.mwl_url_index),r),bt("✅ Added",Object.keys(i).length,"orphan entries to mwl_data"),t.next=32;break;case 23:if(!(n.length>0)){t.next=32;break}return o=new Map,n.forEach((function(t){o.has(t.url)||o.set(t.url,{url:t.url,id:t.id})})),a=Array.from(o.values()),bt("🚚 Sending request to get the new mwl_data for",a.length,"images"),t.next=30,ai(a);case 30:(s=t.sent)&&(l={},c={},s.forEach((function(t){!1!==t.data.success?(l[t.id]=t.data,t.data.file&&(c[t.data.file]=t.id),e.forEach((function(e){e.url===t.url&&e.element&&e.element.setAttribute("data-mwl-img-id",t.id)}))):bt("🔴 Error fetching image data:",t.id,t.data)})),window.mwl_data=Kn(Kn({},window.mwl_data),l),window.mwl_url_index=Kn(Kn({},window.mwl_url_index),c));case 32:if(u=document.querySelector(".pswp--open"),!(null!==u)){t.next=42;break}return f=null!==(d=null===(p=window.mwl_pswp)||void 0===p?void 0:p.currIndex)&&void 0!==d?d:0,bt("⏳ Lightbox is open at slide",f,"- showing loading overlay"),ii(),window.mwlReopenSlideIndex=f,null!==(h=window.mwl_pswp)&&void 0!==h&&h.close&&window.mwl_pswp.close(),setTimeout((function(){bt("🔄 Rebuilding lightbox after close");var t=document.getElementById("mwl-root");t&&(D(null,t),t.parentNode.removeChild(t)),document.body.appendChild(document.createRange().createContextualFragment('<div id="mwl-root"></div>')),D(me(Gn,{}),document.getElementById("mwl-root")),setTimeout((function(){var t;!!(t=document.getElementById("mwl-loading-overlay"))&&(t.remove(),!0)&&(bt("⚠️ Fallback: hiding loading overlay (lightbox may not have reopened)"),window.mwlReopenSlideIndex=null)}),2e3)}),350),t.abrupt("return");case 42:(m=document.getElementById("mwl-root"))&&(D(null,m),m.parentNode.removeChild(m)),document.body.appendChild(document.createRange().createContextualFragment('<div id="mwl-root"></div>')),D(me(Gn,{}),document.getElementById("mwl-root"));case 46:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();document.addEventListener("DOMContentLoaded",(function(){var t,e,n=null!==(t=null===(e=window.mwl_settings)||void 0===e||null===(e=e.settings)||void 0===e?void 0:e.rendering_delay)&&void 0!==t?t:300;window.mwlDelayedRenderComplete=0===n,ui(),n>0&&setTimeout((function(){window.mwlDelayedRenderComplete=!0,si(U,n)}),n)})),window.renderMeowLightboxWithSelector=si,window.renderMeowLightboxWithParentElement=li,window.renderMeowLightbox=ui,window.addToMeowLightboxQueue=oi,window.destroyFromMeowLightbox=ci})()})();