vendor: 4,158 bytes, line 1
1(()=>{"use strict";var t,e,n={585:(t,e,n)=>{n.d(e,{A:()=>l});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; /* override default */\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 /* override styles that were set via JS.\n as they interfere with size measurement */\n top: auto !important; \n left: 0 !important;\n}",""]);const l=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 l=0;l<this.length;l++){var s=this[l][0];null!=s&&(a[s]=!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=[],l=0;l<t.length;l++){var s=t[l],c=i.base?s[0]+i.base:s[0],u=o[c]||0,d="".concat(c," ").concat(u);o[c]=u+1;var p=n(d),h={css:s[1],media:s[2],sourceMap:s[3],supports:s[4],layer:s[5]};if(-1!==p)e[p].references++,e[p].updater(h);else{var f=r(h,i);i.byIndex=l,e.splice(l,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 l=n(o[a]);e[l].references--}for(var s=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=s}}},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)}
1(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 l,s;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){l=d;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,r.nc&&l.setAttribute("nonce",r.nc),l.setAttribute("data-webpack",e+o),l.src=n),t[n]=[i];var p=(e,i)=>{l.onerror=l.onload=null,clearTimeout(h);var r=t[n];if(delete t[n],l.parentNode&&l.parentNode.removeChild(l),r&&r.forEach((t=>t(i))),e)return e(i)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),s&&document.head.appendChild(l)}},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),l=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;l.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,i[1](l)}}),"chunk-"+e,e)}};var e=(e,n)=>{var i,o,[a,l,s]=n,c=0;if(a.some((e=>0!==t[e]))){for(i in l)r.o(l,i)&&(r.m[i]=l[i]);if(s)s(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,l,s,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,l={};for(a in n)"key"==a?r=n[a]:"ref"==a?o=n[a]:l[a]=n[a];if(arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):i),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===l[a]&&(l[a]=e.defaultProps[a]
vendor: 2,697 bytes, line 1
1);return v(e,l,r,o,null)}function v(t,i,r,o,a){var l={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(l),l}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,s,c,u;for(i.sort(l);t=i.shift();)t.__d&&(n=i.length,o=void 0,s=(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?[s]:null,c,null==s?b(a):s,!!(32&a.__u),u),o.__v=a.__v,o.__.__k[o.__i]=o,M(c,o,u),o.__e!=s&&x(o)),i.length>n&&i.sort(l));E.__r=0}function A(t,e,n,i,r,o,a,l,s,c,u){var h,f,m,_,y,v=i&&i.__k||p,g=e.length;for(n.__d=s,L(n,e,v),s=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,l,s,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?(s&&!s.isConnected&&(s=b(f)),s=O(m,s,t)):"function"==typeof m.type&&void 0!==m.__d?s=m.__d:_&&(s=_.nextSibling),m.__d=void 0,m.__u&=-196609);n.__d=s,n.__e=y}function L(t,e,n){var i,r,o,a,l,s=e.length,c=n.length,u=c,d=0;for(t.__k=[],i=0;i<s;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,l=C(r,n,a,u),r.__i=l,o=null,-1!==l&&(u--,(o=n[l])&&(o.__u|=131072)),null==o||null===o.__v?(-1==l&&d--,"function"!=typeof r.type&&(r.__u|=65536)):l!==a&&(l===a+1?d++:l>a?u>s-a?d+=l-a:d--:l<a?l==a-1&&(d=l-a):d=0,l!==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}
vendor: 6,831 bytes, line 1
1while(null!=e&&8===e.nodeType);return e}function C(t,e,n,i){var r=t.key,o=t.type,a=n-1,l=n+1,s=e[n];if(null===s||s&&r==s.key&&o===s.type&&!(131072&s.__u))return n;if(i>(null==s||131072&s.__u?0:1))for(;a>=0||l<e.length;){if(a>=0){if((s=e[a])&&!(131072&s.__u)&&r==s.key&&o===s.type)return a;a--}if(l<e.length){if((s=e[l])&&!(131072&s.__u)&&r==s.key&&o===s.type)return l;l++}}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=s,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=s++;else if(n.t<i.u)return;return i(e.event?e.event(n):n)}}}function P(t,n,i,r,o,a,l,s,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=[s=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&&l.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,l,s,c,u),p.base=n.__e,n.__u&=-161,p.__h.length&&l.push(p),b&&(p.__E=p.__=null)}catch(t){n.__v=null,c||null!=a?(n.__e=s,n.__u|=c?160:32,a[a.indexOf(s)]=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,l,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,l,s,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,s=!1}if(null===S)w===x||s&&e.data===x||(e.data=x);else{if(a=a&&t.call(e.childNodes),w=i.props||d,!s&&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||s&&"function"!=typeof y||w[u]===y||T(e,u,y,w[u],o);if(p)s||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,l,a?a[0]:i.__k&&b(i,0),s,c),null!=a)for(u=a.length;u--;)null!=a[u]&&_(a[u]);s||(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,l,s;e.__&&e.__(n,i),a=(o="function"==typeof r)?null:r&&r.__k||i.__k,l=[],s=[],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,l,!o&&r?r:a?a.__e:i.firstChild,o,s),M(l,n,s)}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(Prom
1ise.resolve()):setTimeout,l=function(t,e){return t.__v.__b-e.__v.__b},E.__r=0,s=0,c=I(!1),u=I(!0);var H=mwl_settings,B=H.api_url,U=H.rest_nonce,W=H.settings.selector,q=H.settings.anti_selector,Z=H.settings.theme,G=H.settings.flat_orientation,V={enabled:H.settings.slideshow.enabled,slide_duration:H.settings.slideshow.timer,autoplay:H.settings.slideshow.autoplay},$=(H.settings.preloading,H.settings.magnification),K={enabled:H.settings.full_screen,start_desktop:H.settings.full_screen_start_desktop,start_mobile:H.settings.full_screen_start_mobile},X=H.settings.backdrop_opacity,Y=H.settings.map,J=H.settings.caption_source,Q=H.settings.caption_ellipsis,tt=(H.settings.low_res_placeholder,H.settings.wordpress_big_image,H.settings.deep_linking),et=H.settings.deep_linking_slug,nt=H.settings.separate_galleries,it=H.settings.disable_arrows_on_mobile,rt=H.settings.animation_toggle,ot=H.settings.animation_speed,at=(H.settings.rtf_slider_fix,H.settings.social_sharing),lt=[{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},ct={enabled:H.settings.exif.metadata_toggle,start_hidden:H.settings.exif.metadata_toggle_start_hidden},ut=H.settings.download_link,dt=H.settings.right_click_protection,pt=H.settings.js_logs,ht={very_fast:150,fast:300,normal:500,slow:700,very_slow:1e3},ft=H.settings.include_orphans,mt=H.settings.skip_dynamic_fetch;function _t(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,l=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=o.call(n)).done)&&(l.push(i.value),l.length!==e);s=!0);}catch(t){c=!0,r=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return yt(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)?yt(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 yt(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 vt,gt,wt,bt,xt=function(){var t;pt&&(t=console).log.apply(t,arguments)},St=function(t){switch(t){case"zoom_in_out":default:return"zoom";case"fade":return"fade";case"none":return"none"}},Et=function(t){return t.preventDefault(),t.stopPropagation(),!1},At=0,Lt=[],Ot=[],Ct=e,kt=Ct.__b,Tt=Ct.__r,It=Ct.diffed,Pt=Ct.__c,Mt=Ct.unmount,jt=Ct.__;function zt(t,e){Ct.__h&&Ct.__h(gt,t,At||e),At=0;var n=gt.__H||(gt.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:Ot}),n.__[t]}function Nt(t){return At=1,function(t,e,n){var i=zt(vt++,2);if(i.t=t,!i.__c&&(i.__=[n?n(e):qt(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=gt,!gt.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))};gt.u=!0;var o=gt.shouldComponentUpdate,a=gt.componentWillUpdate;gt.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)},gt.shouldComponentUpdate=r}return i.__N||i.__}(qt,t)}function Ft(t,e){var n=zt(vt++,7);return Wt(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Dt(){for(var t;t=Lt.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Bt),t.__H.__h.forEach(Ut),t.__H.__h=[]}catch(e){t.__H.__h=[],Ct.__e(e,t.__v)}}Ct.__b=function(t){gt=null,kt&&kt(t)},Ct.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),jt&&jt(t,e)},Ct.__r=function(t){Tt&&Tt(t),vt=0;var e=(gt=t.__c).__H;e&&(wt===gt?(e.__h=[],gt.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.__V=Ot,t.__N=t.i=void 0}))):(e.__h.forEach(Bt),e.__h.forEach(Ut),e.__h=[],vt=0)),wt=gt},Ct.diffed=function(t){It&&It(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==Lt.push(e)&&bt===Ct.requestAnimationFrame||((bt=Ct.requestAnimationFrame)||Ht)(Dt)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.__V!==Ot&&(t.__=t.__V),t.i=void 0,t.__V=Ot}))),wt=gt=null},Ct.__c=function(t,e){e.some((function(t){try{t.__h.forEach(Bt),t.__h=t.__h.filter((function(t){return!t.__||Ut(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],Ct.__e(n,t.__v)}})),Pt&&Pt(t,e)},Ct.unmount=function(t){Mt&&Mt(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{Bt(t)}catch(t){e=t}})),n.__H=void 0,e&&Ct.__e(e,n.__v))};var Rt="function"==typeof requestAnimationFrame;function Ht(t){var e,n=function(){clearTimeout(i),Rt&&cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,100);Rt&&(e=requestAnimationFrame(n))}function Bt(t){var e=gt,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),gt=e}function Ut(t){var e=gt;t.__c=t.__(),gt=e}function Wt(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function qt(t,e){return"function"==typeof e?e(t):e} 2/*! 3 * PhotoSwipe Lightbox 5.4.4 - https://photoswipe.com 4 * (c) 2024 Dmytro Semenov 5 */ 6function Zt(t,e,n){const i=document.createElement(e);return t&&(i.className=t),n&&n.appendChild(i),i}function Gt(t,e,n){t.style.width="number"==typeof e?`${e}px`:e,t.style.height="number"==typeof n?`${n}px`:n}const Vt="idle",$t="loading",Kt="loaded",Xt="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 Jt(){return!(!navigator.vendor||!navigator.vendor.match(/apple/i))}class Qt{constructor(t,e){this.type=t,this.defaultPrevented=!1,e&&Object.assign(this,e)}preventDefault(){this.defaultPrevented=!0}}class te{constructor(){this._listeners={},this._filters={},this.pswp=void 0,this.options=void 0}
vendor: 9,678 bytes, line 6
6addFilter(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 Qt(t,e);return null===(n=this._listeners[t])||void 0===n||n.forEach((t=>{t.call(this,i)})),i}}class ee{constructor(t,e){if(this.element=Zt("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?(Gt(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)):Gt(this.element,t,e))}destroy(){var t;null!==(t=this.element)&&void 0!==t&&t.parentNode&&this.element.remove(),this.element=null}}class ne{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=Vt,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 ee(t,this.slide.container)}this.element&&!e||this.instance.dispatch("contentLoad",{content:this,isLazy:t}).defaultPrevented||(this.isImageContent()?(this.element=Zt("pswp__img","img"),this.displayedImageWidth&&this.loadImage(t)):(this.element=Zt("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=$t,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=Kt,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!==Kt&&this.state!==Xt||this.removePlaceholder())}onError(){this.state=Xt,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===$t,this)}isError(){return this.state===Xt}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&&(Gt(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!==Xt,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=Zt("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=Zt("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===Xt)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||Jt())?(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&&!Jt()?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!==Kt&&this.state!==Xt||this.removePlaceholder()))}}function ie(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 re{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 oe(t,e,n){const i=e.createContentFromData(t,n);let r;const{options:o}=e;if(o){let a;r=new re(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 l=function(t,e,n,i){return{x:e.x-ie("left",t,e,n,i)-ie("right",t,e,n,i),y:e.y-ie("top",t,e,n,i)-ie("bottom",t,e,n,i)}}(o,a,t,n);r.update(i.width,i.height,l)}return i.lazyLoad(),r&&i.setDisplayedSize(Math.ceil(i.width*r.initial),Math.ceil(i.height*r.initial)),i}class ae extends te{getNumItems(){var t;let e=0;const n=null===(t=this.options)||void 0===t?void 0:t.dataSource;
6n&&"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 ne(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 oe(t,this,e)}}class le extends ae{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 oe(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,ce={};ce.GALLERY=se("Gallery","meow-lightbox"),ce.DASHBOARD=se("Dashboard","meow-lightbox"),ce.ARIA={ZOOM_IMAGE:se("Zoom image","meow-lightbox")},ce.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")},ce.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 ue=ce;var de=[{name:"Camera",key:"camera",aria:function(){return ue.EXIF.CAMERA_MODEL},icon:"camera",settingKey:"camera"},{name:"Lens",key:"lens",aria:function(){return ue.EXIF.LENS},icon:"lens",settingKey:"lens"},{name:"FocalLength",key:"focal_length",aria:function(){return ue.EXIF.FOCAL_LENGTH},icon:"eye",settingKey:"focal_length"},{name:"ShutterSpeed",key:"shutter_speed",aria:function(){return ue.EXIF.SHUTTER_SPEED},icon:"shutter_speed",settingKey:"shutter_speed"},{name:"Aperture",key:"aperture",aria:function(){return ue.EXIF.APERTURE},icon:"aperture",settingKey:"aperture"},{name:"Iso",key:"iso",aria:function(){return ue.EXIF.ISO},icon:"iso",settingKey:"iso"},{name:"Date",key:"date",aria:function(){return ue.EXIF.DATE},icon:"calendar",settingKey:"date",checkZero:!0,altSettingKey:"time"},{name:"Keywords",key:"keywords",aria:function(){return ue.EXIF.KEYWORDS},icon:"keywords",settingKey:"keywords"},{name:"Copyright",key:"copyright",aria:function(){return ue.EXIF.COPYRIGHT},icon:"copyright",settingKey:"copyright"}],pe=[{name:"Author",key:"author",aria:function(){return ue.EXIF.AUTHOR},icon:"user",settingKey:"author"}],he=function(t,e,n){return"N/A"!==t&&((!e.checkZero||0!=t)&&(e.altSettingKey?n[e.settingKey]||n[e.altSettingKey]:n[e.settingKey]))},fe=function(t,e){return function(t,e){var n=[];return de.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:he(r,i,e)})})),pe.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:he(r,i,e)})})),n}(t,e).filter((function(t){return t.visible}))};var me=0;Array.isArray;function _e(t,n,i,r,o,a){n||(n={});var l,s,c=n;if("ref"in c)for(s in c={},n)"ref"==s?l=n[s]:c[s]=n[s];var u={type:t,props:c,key:i,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--me,__i:-1,__u:0,__source:o,__self:a};if("function"==typeof t&&(l=t.defaultProps))for(s in l)void 0===c[s]&&(c[s]=l[s]);return e.vnode&&e.vnode(u),u}function ye(t){return ye="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},ye(t)}var ve=["children","size"];function ge(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 we(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
6e%2?ge(Object(n),!0).forEach((function(e){be(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function be(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=ye(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=ye(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ye(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xe={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"},Se=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,ve);return _e("svg",we(we(we({},xe),{},{width:i,height:i},r),{},{children:e}))},Ee={close:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M18 6 6 18"}),_e("path",{d:"m6 6 12 12"})]})},fullscreen:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),_e("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),_e("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),_e("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})},shrink:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),_e("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),_e("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),_e("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})},minimize_meta:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M4 14h6v6"}),_e("path",{d:"M20 10h-6V4"}),_e("path",{d:"m14 10 7-7"}),_e("path",{d:"m3 21 7-7"})]})},expand_meta:function(t){return _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"10"}),_e("path",{d:"M12 16v-4"}),_e("path",{d:"M12 8h.01"})]})},play:function(t){return _e(Se,{size:t,children:_e("polygon",{points:"6 3 20 12 6 21 6 3"})})},pause:function(t){return _e(Se,{size:t,children:[_e("rect",{x:"14",y:"4",width:"4",height:"16",rx:"1"}),_e("rect",{x:"6",y:"4",width:"4",height:"16",rx:"1"})]})},map:function(t){return _e(Se,{size:t,children:[_e("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"}),_e("circle",{cx:"12",cy:"10",r:"3"})]})},image:function(t){return _e(Se,{size:t,children:[_e("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}),_e("circle",{cx:"9",cy:"9",r:"2"}),_e("path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"})]})},download:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M12 13v8l-4-4"}),_e("path",{d:"m12 21 4-4"}),_e("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 _e(Se,{size:t,children:[_e("circle",{cx:"18",cy:"5",r:"3"}),_e("circle",{cx:"6",cy:"12",r:"3"}),_e("circle",{cx:"18",cy:"19",r:"3"}),_e("line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49"}),_e("line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49"})]})},arrow_left:function(t){return _e(Se,{size:t,children:_e("path",{d:"m15 18-6-6 6-6"})})},arrow_right:function(t){return _e(Se,{size:t,children:_e("path",{d:"m9 18 6-6-6-6"})})},chevron_up:function(t){return _e(Se,{size:t,children:_e("path",{d:"m18 15-6-6-6 6"})})},camera:function(t){return _e(Se,{size:t,children:[_e("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"}),_e("circle",{cx:"12",cy:"13",r:"3"})]})},iso:function(t){return _e(Se,{size:t,children:[_e("path",{d:"m12 14 4-4"}),_e("path",{d:"M3.34 19a10 10 0 1 1 17.32 0"})]})},shutter_speed:function(t){return _e(Se,{size:t,children:[_e("line",{x1:"10",x2:"14",y1:"2",y2:"2"}),_e("line",{x1:"12",x2:"15",y1:"14",y2:"11"}),_e("circle",{cx:"12",cy:"14",r:"8"})]})},lens:function(t){return _e(Se,{size:t,children:_e("circle",{cx:"12",cy:"12",r:"10"})})},aperture:function(t){return _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"10"}),_e("path",{d:"m14.31 8 5.74 9.94"}),_e("path",{d:"M9.69 8h11.48"}),_e("path",{d:"m7.38 12 5.74-9.94"}),_e("path",{d:"M9.69 16 3.95 6.06"}),_e("path",{d:"M14.31 16H2.83"}),_e("path",{d:"m16.62 12-5.74 9.94"})]})},calendar:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M8 2v4"}),_e("path",{d:"M16 2v4"}),_e("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),_e("path",{d:"M3 10h18"})]})},eye:function(t){return _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"3"}),_e("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 _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"10"}),_e("path",{d:"M8 12h8"})]})},plus:function(t){return _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"10"}),_e("path",{d:"M8 12h8"}),_e("path",{d:"M12 8v8"})]})},keywords:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M12.586 2.586A2 2 0 0 0 11.
6172 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"}),_e("circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor"})]})},ellipsis:function(t){return _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"10"}),_e("circle",{cx:"17",cy:"12",r:"1"}),_e("circle",{cx:"12",cy:"12",r:"1"}),_e("circle",{cx:"7",cy:"12",r:"1"})]})},close_arrow:function(t){return _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"10"}),_e("path",{d:"m12 8-4 4 4 4"}),_e("path",{d:"M16 12H8"})]})},copyright:function(t){return _e(Se,{size:t,children:[_e("circle",{cx:"12",cy:"12",r:"10"}),_e("path",{d:"M15.44 9.37a4 4 0 1 0 0 5.26"})]})},user:function(t){return _e(Se,{size:t,children:[_e("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),_e("circle",{cx:"12",cy:"7",r:"4"})]})}},Ae=function(t){var e=t.icon,n=t.size,i=Ee[e];return i?i(void 0===n?24:n):null};function Le(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,l=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=o.call(n)).done)&&(l.push(i.value),l.length!==e);s=!0);}catch(t){c=!0,r=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Oe(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)?Oe(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 Oe(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 Ce=function(t){var e,n=t.image,i=Le(Nt(!1),2),r=i[0],o=i[1],a=n.caption||n.meta&&n.meta.caption,l=(null!==(e=null==a?void 0:a.length)&&void 0!==e?e:"")>150,s=Ft((function(){return Q&&l&&!r?a.substr(0,150):a}),[r,l,a]);if(!st.caption||!a)return null;return _e(g,{children:_e("div",{className:"description visible",children:_e("div",{className:"caption-wrapper",onWheel:function(t){var e=t.currentTarget;e.scrollHeight>e.clientHeight&&(e.scrollTop+=t.deltaY,t.preventDefault())},children:[_e("span",{className:"caption",dangerouslySetInnerHTML:{__html:s}}),Q&&l&&_e("span",{className:"toggle-full-description",onClick:function(){return o(!r)},children:_e(Ae,{icon:r?"close_arrow":"ellipsis"})})]})})})},ke=function(t){var e=t.icon,n=(t.name,t.aria),i=t.value;return _e("div",{className:"exif","aria-label":n,role:"group",children:[_e(Ae,{icon:e}),_e("span",{children:[" Â ",i]})]})},Te=function(t){var e=t.image,n=e.exifs&&e.exifs.title||e.meta&&e.meta.title;return n&&st.title?_e("h2",{dangerouslySetInnerHTML:{__html:n}}):null};function Ie(t){return Ie="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},Ie(t)}function Pe(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 Me(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=Ie(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Ie(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ie(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function je(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,l=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=o.call(n)).done)&&(l.push(i.value),l.length!==e);s=!0);}catch(t){c=!0,r=t}
6finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ze(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)?ze(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 ze(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 Ne=function(t){var e=t.className,n=t.image,i=t.onCloseClick,r=t.onCollapsedChange,o=je(Nt(!1),2),a=o[0],l=o[1],s=fe(n,st);if(!n)return null;var c=function(t){t.stopPropagation();var e=!a;l(e),r&&r(e)};e&&"".concat(e," ").concat(a?"collapsed":"");return _e(g,{children:[st.metadata_toggle&&_e("button",a?{className:"mwl__metadata__toggle mwl__metadata__toggle--show",onClick:c,"aria-label":ue.TOOLBAR.SHOW_METADATA,children:_e(Ae,{icon:"camera"})}:{className:"mwl__metadata__toggle mwl__metadata__toggle--hide",onClick:c,"aria-label":ue.TOOLBAR.HIDE_METADATA,children:_e(Ae,{icon:"close"})}),_e("div",{className:"mwl__metadata__content",children:[_e(Te,{image:n}),_e(Ce,{image:n}),_e("div",{className:"exifs",onClick:i,children:s.map((function(t){return _e(ke,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pe(Object(n),!0).forEach((function(e){Me(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}))})]})]})},Fe={isMapView:!1,isClosing:!1,defaultZoomLevel:[]};const De={captionContent:".pswp-caption-content",type:"auto",horizontalEdgeThreshold:20,mobileCaptionOverlapRatio:.3,mobileLayoutBreakpoint:600,verticallyCenterImage:!1};const Re=class{constructor(t,e){this.options={...De,...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"}
vendor: 4,605 bytes, line 6
6setCaptionWidth(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 He=r(316),Be=r.n(He),Ue=r(525),We=r.n(Ue),qe=r(231),Ze=r.n(qe),Ge=r(260),Ve=r.n(Ge),$e=r(584),Ke=r.n($e),Xe=r(117),Ye=r.n(Xe),Je=r(585),Qe={};Qe.styleTagTransform=Ye(),Qe.setAttributes=Ve(),Qe.insert=Ze().bind(null,"head"),Qe.domAPI=We(),Qe.insertStyleElement=Ke();Be()(Je.A,Qe);Je.A&&Je.A.locals&&Je.A.locals;var tn=/[\s\n\\/='"\0<>]/,en=/^(xlink|xmlns|xml)([A-Z])/,nn=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spell
6C|src[A-Z]|tabI|useM|item[A-Z]/,rn=/^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/,on=/["&<]/;function an(t){if(0===t.length||!1===on.test(t))return t;for(var e=0,n=0,i="",r="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 60:r="<";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 ln={},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"]),cn=/[A-Z]/g;function un(t){var e="";for(var n in t){var i=t[n];if(null!=i&&""!==i){var r="-"==n[0]?n:ln[n]||(ln[n]=n.replace(cn,"-$&").toLowerCase()),o=";";"number"!=typeof i||r.startsWith("--")||sn.has(r)||(o="px;"),e=e+r+":"+i+o}}return e||void 0}function dn(){this.__d=!0}var pn,hn,fn,mn,_n={},yn=[],vn=Array.isArray,gn=Object.assign,wn="";function bn(t,n,i){var r=e.__s;e.__s=!0,pn=e.__b,hn=e.diffed,fn=e.__r,mn=e.unmount;var o=y(g,null);o.__k=[t];try{var a=Sn(t,n||_n,!1,void 0,o,!1,i);return vn(a)?a.join(wn):a}catch(t){if(t.then)throw new Error('Use "renderToStringAsync" for suspenseful rendering.');throw t}finally{e.__c&&e.__c(t,yn),e.__s=r,yn.length=0}}function xn(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=_n),null==n.__s&&(n.__s=n.state),i.getDerivedStateFromProps?n.state=gn({},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(),fn&&fn(t),n.render(n.props,n.state,e)}function Sn(t,n,i,r,o,a,l){if(null==t||!0===t||!1===t||t===wn)return wn;var s=typeof t;if("object"!=s)return"function"==s?wn:"string"==s?an(t):t+wn;if(vn(t)){var c,u=wn;o.__k=t;for(var d=0;d<t.length;d++){var p=t[d];if(null!=p&&"boolean"!=typeof p){var h,f=Sn(p,n,i,r,o,a,l);"string"==typeof f?u+=f:(c||(c=[]),u&&c.push(u),u=wn,vn(f)?(h=c).push.apply(h,f):c.push(f))}}return c?(u&&c.push(u),c):u}if(void 0!==t.constructor)return wn;t.__=o,pn&&pn(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=wn,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&&!vn(E)?x+=E:x+=Sn(E,n,i,r,t,a,l)}return x}if("UNSTABLE_comment"in _)return"\x3c!--"+an(_.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=xn(t,b),w=t.__c;else{t.__c=w=function(t,e){return{__v:t,context:e,props:t.props,setState:dn,forceUpdate:dn,__d:!0,__h:new Array(0)}}(t,b);for(var O=0;w.__d&&O++<25;)w.__d=!1,fn&&fn(t),v=m.call(w,_,b);w.__d=!0}if(null!=w.getChildContext&&(n=gn({},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 Sn(v,n,i,r,t,a,l)}catch(e){return m.getDerivedStateFromError&&(w.__s=m.getDerivedStateFromError(e)),w.componentDidCatch&&w.componentDidCatch(e,_n),w.__d?(v=xn(t,n),null!=(w=t.__c).getChildContext&&(n=gn({},n,w.getChildContext())),Sn(v=null!=v&&v.type===g&&null==v.key&&null==v.props.tpl?v.props.children:v,n,i,r,t,a,l)):wn}finally{hn&&hn(t),t.__=null,mn&&mn(t)}}}v=null!=v&&v.type===g&&null==v.key&&null==v.props.tpl?v.props.children:v;try{var C=Sn(v,n,i,r,t,a,l);return hn&&hn(t),t.__=null,e.unmount&&e.unmount(t),C}catch(o){if(!a&&l&&l.onError){var k=l.onError(o,t,(function(e){return Sn(e,n,i,r,t,a,l)}));if(void 0!==k)return k;var T=e.__e;return T&&T(o,t),wn}if(!a)throw o;if(!o||"function"!=typeof o.then)throw o;return o.then((function e(){try{return Sn(v,n,i,r,t,a,l)}catch(o){if(!o||"function"!=typeof o.then)throw o;return o.then((function(){return Sn(v,n,i,r,t,a,l)}),e)}}))}}var I,P="<"+m,M=wn;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":
6I=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=un(z));break;case"acceptCharset":j="accept-charset";break;case"httpEquiv":j="http-equiv";break;default:if(en.test(j))j=j.replace(en,"$1:$2").toLowerCase();else{if(tn.test(j))continue;"-"!==j[4]&&"draggable"!==j||null==z?i?rn.test(j)&&(j="panose1"===j?"panose-1":j.replace(/([A-Z])/g,"-$1").toLowerCase()):nn.test(j)&&"spellcheck"===(j=j.toLowerCase())&&(z=""+z):z+=wn}}null!=z&&!1!==z&&(P=!0===z||z===wn?P+" "+j:P+" "+j+'="'+("string"==typeof z?an(z):z+wn)+'"')}}if(tn.test(m))throw new Error(m+" is not a valid HTML tag name in "+P+">");if(M||("string"==typeof I?M=an(I):null!=I&&!1!==I&&!0!==I&&(M=Sn(I,n,"svg"===m||"foreignObject"!==m&&i,r,t,a,l))),hn&&hn(t),t.__=null,mn&&mn(t),!M&&En.has(m))return P+"/>";var N="</"+m+">",F=P+">";return vn(M)?[F].concat(M,[N]):"string"!=typeof M?[F,M,N]:F+M+N}var En=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);const An=bn;function Ln(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 On=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=_e(Ae,{icon:"play"}),o=_e(Ae,{icon:"pause"});t.pswp.ui.registerElement({name:"slideshow-button",order:9,ariaLabel:i?ue.TOOLBAR.PAUSE:ue.TOOLBAR.PLAY,isButton:!0,html:bn(i?o:r),onInit:function(t){t.dataset.tooltip=i?ue.TOOLBAR.PAUSE:ue.TOOLBAR.PLAY},onClick:function(t,e){i=!i,function(t){t.innerHTML=bn(i?o:r),t.dataset.tooltip=i?ue.TOOLBAR.PAUSE:ue.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 Cn(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,l=[],s=!0,c=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(i=o.call(n)).done)&&(l.push(i.value),l.length!==e);s=!0);}catch(t){c=!0,r=t}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return kn(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)?kn(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 kn(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 Tn=function(t){var e=t.url;return _e("div",{className:"mwl__pswp--sharing__options",children:[_e("button",{className:"mwl__sharing__close","aria-label":"Close sharing options",onClick:t.onClose,children:_e(Ae,{icon:"close"})}),_e("ul",{children:lt.map((function(t){var n=t.label,i=t.path;return t.enabled&&_e("li",{children:_e("a",{href:"".concat(i).concat(e),target:"_blank",rel:"noopener noreferrer",children:"Share on ".concat(n)})},n)}))})]})},In=function(t){var e=t.url,n=t.containerParent,i=Cn(Nt(!0),2),r=i[0],o=i[1];return r?_e(Tn,{url:e,onClose:function(){o(!1),setTimeout((function(){var t=n.querySelector(".mwl__sharing__container");t&&(D(null,n,t),t.remove())}),300)}}):null},Pn=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(_e(In,{url:e,containerParent:t}),i),!0},Mn=function(t){var e=_e(Ae,{icon:"map"}),n=_e(Ae,{icon:"image"}),i=function(t){t.innerHTML=Fe.isMapView?bn(n):bn(e),t.dataset.tooltip=Fe.isMapView?ue.TOOLBAR.SHOW_IMAGE:ue.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:ue.TOOLBAR.SHOW_ON_MAP,order:11,isButton:!0,html:bn(e),onInit:function(t){t.dataset.tooltip=ue.TOOLBAR.SHOW_ON_MAP},onClick:function(e,n){var r=t.pswp.currSlide;if(Fe.isMapView=!Fe.isMapView,Fe.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 l=document.querySelector("#pswp__items").style.transform.match(/translate3d\(([^,]+),/)[1];
6l=l.startsWith("-")?l.substring(1):"-".concat(l),a.style.transform="translate3d(".concat(l,", 0, 0)"),["pointerdown","pointermove","pointerup","touchstart","touchmove","touchend"].forEach((function(t){a.addEventListener(t,(function(t){return t.stopPropagation()}))}));var s=document.createElement("div");s.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?(s.style.width=r.width/h+"px",s.style.height=r.height/h+"px"):(s.style.width=r.width+"px",s.style.height=r.height+"px"),s.style.position="absolute",s.style.top="50%",s.style.left="50%",s.style.transform="translate(-50%, -50%)",a.appendChild(s),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),Fe.isMapView){Fe.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){Fe.isMapView=!1;var l=document.getElementById("map-overlay");l&&l.remove(),r(!1)}}))},jn=function(t,e){var n=e.start_hidden||!1;t.on("uiRegister",(function(){var e=_e(Ae,{icon:"expand_meta"}),i=_e(Ae,{icon:"minimize_meta"});
vendor: 5,488 bytes, line 6
6t.pswp.ui.registerElement({name:"metadata-toggle-button",ariaLabel:n?ue.TOOLBAR.SHOW_INFO:ue.TOOLBAR.HIDE_INFO,order:8,isButton:!0,html:bn(n?e:i),onInit:function(t){t.dataset.tooltip=n?ue.TOOLBAR.SHOW_INFO:ue.TOOLBAR.HIDE_INFO},onClick:function(r,o){n=!n,function(t){t.innerHTML=bn(n?e:i),t.dataset.tooltip=n?ue.TOOLBAR.SHOW_INFO:ue.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 zn(t){return zn="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},zn(t)}function Nn(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Nn=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",l=o.asyncIterator||"@@asyncIterator",s=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),l=new T(i||[]);return r(a,"_invoke",{value:L(t,n,l)}),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,l){var s=d(t[r],t,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==zn(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(u).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,l)}))}l(s.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 l=i.delegate;if(l){var s=O(l,i);if(s){if(s===_)continue;return s}}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(zn(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,s,"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,s,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},E(A.prototype),c(A.prototype,l,(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,s,"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.forEac
6h(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 l.type="throw",l.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],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){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 Fn(t,e,n,i,r,o,a){try{var l=t[o](a),s=l.value}catch(t){return void n(t)}l.done?e(s):Promise.resolve(s).then(i,r)}var Dn=function(t){t.on("uiRegister",(function(){var e=function(){return!(!document.fullscreenElement&&!document.webkitFullscreenElement)},n=_e(Ae,{icon:"fullscreen"}),i=_e(Ae,{icon:"shrink"}),r=function(t){var r=e();t.innerHTML=bn(r?i:n),t.dataset.tooltip=r?ue.TOOLBAR.EXIT_FULLSCREEN:ue.TOOLBAR.FULLSCREEN,t.setAttribute("aria-label",r?ue.TOOLBAR.EXIT_FULLSCREEN:ue.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){Fn(o,i,r,a,l,"next",t)}function l(t){Fn(o,i,r,a,l,"throw",t)}a(void 0)}))}}(Nn().mark((function t(n){var i,o,a;return Nn().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;
6case 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:ue.TOOLBAR.FULLSCREEN,order:11,isButton:!0,html:bn(n),onInit:function(e){e.dataset.tooltip=ue.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 Rn(t){return Rn="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},Rn(t)}function Hn(t){return function(t){if(Array.isArray(t))return Bn(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 Bn(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)?Bn(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 Bn(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 Un(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 Wn(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=Rn(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Rn(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Rn(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var qn,Zn,Gn="mwl_pswp";function Vn(){var t=function(t){var e=t.getAttribute("aria-label")||"",n=t.getAttribute("alt")||"",i=e?"".concat(ue.ARIA.ZOOM_IMAGE,": ").concat(e):ue.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 le(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Un(Object(n),!0).forEach((function(e){Wn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({bgOpacity:X/100,mainClass:"mwl mwl-theme-"+Z+(null!==i?" mwl__pswp--gallery-".concat(i):""),pswpClassName:e,dataSource:t,showHideAnimationType:St(rt),showAnimationDuration:ht[ot],hideAnimationDuration:ht[ot],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))}},$?{}:{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,l=function(t){window.scrollTo(0,a)},s=function(){return window.innerWidth<768?K.start_mobile:K.start_desktop};return o.on("beforeOpen",(function(){if(a=window.scrollY,window.addEventListener("scroll",l),s()){var t=document.documentElement,e=t.requestFullscreen||t.webkitRequestFullscreen;e&&e.call(t).catch((function(){}))}})),o.on("close",(function(){if(window.removeEventListener("scroll",l),s()&&(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");
6if(a){var l=Array.from(a.querySelectorAll("img[data-mwl-img-id]")),s=l.length,c=l.indexOf(r);if(-1!==c)s-c<=3&&window.mgl_load_more(a)}}}}}})),o.on("firstUpdate",(function(){if(!Z.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)}}})),Z.includes("flat")?function(t){new Re(t,{type:G,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"===J?i:n;e.caption=r;var o=An(_e(Ne,{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(G,'">').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(_e(Ne,{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:ue.TOOLBAR.IMAGE_CAPTION_AND_METADATA,order:9,isButton:!1,appendTo:"wrapper",html:"",onInit:function(r,o){r.setAttribute("aria-label",ue.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,Fe.isClosing=!0})),t.pswp.on("closingAnimationEnd",(function(){Fe.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=Fe.defaultZoomLevel[i]||0;a?e>a?r.style.opacity=0:r.classList.contains("collapsed")||(r.style.opacity=1):Fe.defaultZoomLevel[i]=e}};"none"===n||Fe.isClosing?e():setTimeout((function(){e()}),i)})),t.pswp.on("change",(function(){var n=t.pswp.currSlide.data,i=fe(n,e),o=n.caption||n.meta&&n.meta.caption,a=n.description||n.meta&&n.meta.description,l="description"===J?a:o;n.caption=l;var s=n.exifs&&n.exifs.title||n.meta&&n.meta.title,c=e.title&&s||e.caption&&l;0===i.length&&!c||Fe.isMapView?r.style.display="none":(r.style.display="",D(_e(Ne,{image:n,onCloseClick:function(){},onCollapsedChange:function(t){r.classList.toggle("collapsed",t),t&&(r.style.opacity="")}}),r))}))}})}))}(o,st,St(rt),ht[ot]),function(t){t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"actions-container",ariaLabel:ue.TOOLBAR.ACTIONS,className:"mwl__actions",order:100,isButton:!1,html:"",appendTo:"bar"})})),t.on("openingAnimationEnd",(function(){Ln(t)})),t.on("firstUpdate",(function(){setTimeout((function(){Ln(t)}),50)}))}(o),function(t){var e=_e(Ae,{icon:"close"});t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"custom-close",order:20,ariaLabel:ue.TOOLBAR.CLOSE,isButton:!0,html:bn(e),onClick:function(){t.pswp.close()},onInit:function(t){t.dataset.tooltip=ue.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",ue.TOOLBAR.PREVIOUS),n.removeAttribute("title")),i&&(i.setAttribute("aria-label",ue.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,it),V.enabled&&On(o,V),ut&&function(t){var e=_e(Ae,{icon:"download"});t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"download-button",ariaLabel:ue.TOOLBAR.DOWNLOAD,order:10,isButton:!0,html:bn(e),onInit:function(e){e.dataset.tooltip=ue.TOOLBAR.DOWNLOAD;var n=function(){var n,i=!(null===(n=t.pswp.currSlide)||void 0===n||null===(n=n.data)||void 0===n||null===(n=n.meta)||void 0===n||!n.download);e.style.display=i?"":"none"};t.pswp.on("change",n),n()},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),K.enabled&&Dn(o),dt&&function(t){t.on("bindEvents",(function(){t.pswp.container.addEventListener("contextmenu",Et)})),t.on("unbindEvents",(function(){t.pswp.container.removeEventListener("contextmenu",Et)}))}(o),tt&&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,et),tt&&at&&function(t){var e=_e(Ae,{icon:"sharing"});t.on("uiRegister",(function(){t.pswp.ui.registerElement({name:"social-share-button",ariaLabel:ue.TOOLBAR.SHARE,order:10,isButton:!0,html:bn(e),onInit:function(t){t.dataset.tooltip=ue.TOOLBAR.SHARE},onClick:function(t,e){var n=e.closest(".pswp__scroll-wrap"),i=window.location.href;Pn(n,i)}})}))}(o),Y.enabled&&Mn(o),ct.enabled&&jn(o,ct),o.init(),o};return function(t,e){var n=zt(vt++,3);!Ct.__s&&Wt(n.__H,e)&&(n.__=t,n.i=e,gt.__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(ft){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;
6n&&Object.entries(n).forEach((function(t){var e=_t(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):[],l=[],s=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(s++);t.setAttribute("data-mwl-img-id",d),o.set(n,d),l.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:""}})}}}}))})),l}(W,q,window.mwl_data);o.length>0&&(i=[].concat(Hn(i),Hn(o)))}if(i.length){var a=W;a&&""!==a.trim()||(a=".entry-content, .gallery, .mgl-gallery, .wp-block-gallery, .wp-block-image, .gmap-image-marker");var l=document.querySelectorAll("img[data-mwl-img-id]"),s=[];l.forEach((function(t){var e=t.dataset.mwlImgId;e&&!s.includes(e)&&s.push(e)})),i.sort((function(t,e){var n=s.indexOf(String(t.id)),i=s.indexOf(String(e.id));return-1===n?1:-1===i?-1:n-i}));var c=[],u=[];try{if(nt){var d=W;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),l=i.filter((function(t){return a.includes(String(t.id))}));if(0!==l.length){a.forEach((function(t){return f.add(t)}));var s=e(l,"".concat(Gn,"-").concat(r),n,r);c.push(s),o.forEach((function(e){var n=e.dataset.mwlImgId;if(n){var i=l.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(),s.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(l).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 l=e(a,"".concat(Gn,"-orphan-").concat(r),null,null);c.push(l),t(n),n.style.cursor="pointer";var s=function(){n.style.cursor="pointer"},d=function(){n.style.cursor="pointer"},p=function(t){t.preventDefault(),l.loadAndOpen(0)};n.addEventListener("mouseenter",s),n.addEventListener("mouseleave",d),n.addEventListener("click",p),u.push((function(){n.removeEventListener("mouseenter",s),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);xt("ð Reopening lightbox (separate galleries) at slide",w),w>=0&&setTimeout((function(){v.loadAndOpen(w)}),100)}}else{var b=e(i,Gn);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);xt("ð Reopening lightbox at slide",S),S>=0&&setTimeout((function(){b.loadAndOpen(S)}),100)}l.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"},l=function(t){t.preventDefault(),b.loadAndOpen(r)};e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",a),e.addEventListener("click",l),u.push((function(){e.removeEventListener("mouseenter",o),e.removeEventListener("mouseleave",a),e.removeEventListener("click",l)}))}}}))}}catch(t){console.error("Error initializing PhotoSwipe:",t)}return function(){u.forEach((function(t){return t()}
vendor: 4,485 bytes, line 6
6)),c.forEach((function(t){t&&t.destroy()}))}}console.warn("(Meow Lightbox PS) No images found.")}),[]),null}function $n(t){return $n="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},$n(t)}function Kn(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 Xn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kn(Object(n),!0).forEach((function(e){Yn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kn(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"!=$n(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=$n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==$n(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return function(t){if(Array.isArray(t))return Qn(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 Qn(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)?Qn(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 Qn(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 ti(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ti=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",l=o.asyncIterator||"@@asyncIterator",s=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),l=new T(i||[]);return r(a,"_invoke",{value:L(t,n,l)}),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,l){var s=d(t[r],t,o);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==$n(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,a,l)}),(function(t){n("throw",t,a,l)})):e.resolve(u).then((function(t){c.value=t,a(c)}),(function(t){return n("throw",t,a,l)}))}l(s.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 l=i.delegate;if(l){var s=O(l,i);if(s){if(s===_)continue;return s}}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&&
vendor: 4,436 bytes, line 6
6(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($n(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,s,"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,s,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},E(A.prototype),c(A.prototype,l,(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,s,"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 l.type="throw",l.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],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){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 ei(t,e,n,i,r,o,a){try{var l=t[o](a),s=l.value}catch(t){return void n(t)}l.done?e(s):Promise.resolve(s).then(i,r)}function ni(t){return function(){var e=this,n=arguments;
6return new Promise((function(i,r){var o=t.apply(e,n);function a(t){ei(o,i,r,a,l,"next",t)}function l(t){ei(o,i,r,a,l,"throw",t)}a(void 0)}))}}if(null!==(qn=window.mwl_settings)&&void 0!==qn&&qn.plugin_url&&(r.p=window.mwl_settings.plugin_url),null!==(Zn=window.mwl_settings)&&void 0!==Zn&&Zn.version){var ii=r.u;r.u=function(t){return ii(t)+"?ver="+window.mwl_settings.version}}var ri=function(){if(!document.getElementById("mwl-loading-overlay")){var t=!Z.includes("light"),e=t?"rgba(0, 0, 0, ".concat(X/100,")"):"rgba(255, 255, 255, ".concat(X/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)}},oi=[],ai=function(t){if(!(t instanceof HTMLElement)||"img"!==t.tagName.toLowerCase())return xt("ð« Invalid image element:",t),void xt("â¹ï¸ The parameter should be an img HTML element");for(var e=0,n=oi;e<n.length;e++){if(n[e].element===t)return void xt("â¹ï¸ Image element is already in the Meow Lightbox queue:",t.src)}var i=t.getAttribute("data-mwl-img-id");if(i)xt("â¹ï¸ 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 l=a.match(/wp-image-(\d+)/);l&&(o=l[1])}oi.push({element:t,url:r,id:o})}else xt("ð« Image element does not have a src attribute:",t)}},li=function(){var t=ni(ti().mark((function t(e){var n,i;return ti().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",credentials:"same-origin",headers:{"Content-Type":"application/json","X-WP-Nonce":U},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 xt("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=ni(ti().mark((function t(e){var n,i=arguments;return ti().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){q&&t.matches(q)?xt("â ï¸ Meow Lightbox: The container ".concat(e," matches the anti-selector ").concat(q,". It will be ignored.")):t.querySelectorAll("img").forEach((function(t){q&&(t.matches(q)||t.closest(q))||ai(t)}))})),t.next=5,di(n);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ci=function(){var t=ni(ti().mark((function t(e){var n,i=arguments;return ti().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 xt("ð« Invalid parent element:",e),t.abrupt("return");case 4:if(!q||!e.matches(q)){t.next=7;break}return xt("â ï¸ Meow Lightbox: The parent element matches the anti-selector ".concat(q,". It will be ignored.")),t.abrupt("return");case 7:return e.querySelectorAll("img").forEach((function(t){q&&(t.matches(q)||t.closest(q))||ai(t)})),t.next=11,di(n);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ui=function(){var t=ni(ti().mark((function t(e){var n,i;return ti().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof HTMLElement){t.next=3;break}return xt("ð« Invalid parent element:",e),t.abrupt("return");case 3:if(0!==(n=e.querySelectorAll("[data-mwl-img-id]")).length){t.next=7;break}
6return xt("â¹ï¸ 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]})),xt("ðï¸ Removed",i.length,"entries from mwl_data:",i)),t.next=12,di();case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),di=function(){var t=ni(ti().mark((function t(){var e,n,i,r,o,a,l,s,c,u,d,p,h,f,m,_=arguments;return ti().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(xt("ðï¸ Rendering Meow Lightbox with delay:",_.length>0&&void 0!==_[0]?_[0]:0),!(oi.length>0)){t.next=32;break}if(e=Jn(oi),oi=[],xt("ð 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}xt("â
All dynamic content is cached in page. Skipping REST call."),t.next=32;break;case 13:if(!(mt&&n.length>0)){t.next=23;break}xt("âï¸ 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 l,s,c,u,d="orphan-dynamic-".concat(Date.now(),"-").concat(e);t.element.setAttribute("data-mwl-img-id",d),r[o]=d,i[d]=(l=d,s=t.element,c=s.getAttribute("mgl-src")||s.src||"",u=s.getAttribute("mgl-srcset")||s.srcset||"",{data:{id:l,title:s.alt||"",caption:"",description:"",keywords:"",author:"",date:"",camera:"",focal_length:"",shutter_speed:"",aperture:"",iso:"",lens:"",gps:null,copyright:""},file:c,srcset:u,dimension:{width:s.getAttribute("width")||s.naturalWidth||800,height:s.getAttribute("height")||s.naturalHeight||600},download_link:c})}})),window.mwl_data=Xn(Xn({},window.mwl_data),i),window.mwl_url_index=Xn(Xn({},window.mwl_url_index),r),xt("â
Added",Object.keys(i).length,"orphan entries to mwl_data"),t.next=32;break;case 23:if(!(n.length>0)){t.next=32;break}
6return 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()),xt("ð Sending request to get the new mwl_data for",a.length,"images"),t.next=30,li(a);case 30:(l=t.sent)&&(s={},c={},l.forEach((function(t){!1!==t.data.success?(s[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)}))):xt("ð´ Error fetching image data:",t.id,t.data)})),window.mwl_data=Xn(Xn({},window.mwl_data),s),window.mwl_url_index=Xn(Xn({},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,xt("â³ Lightbox is open at slide",f,"- showing loading overlay"),ri(),window.mwlReopenSlideIndex=f,null!==(h=window.mwl_pswp)&&void 0!==h&&h.close&&window.mwl_pswp.close(),setTimeout((function(){xt("ð 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(_e(Vn,{}),document.getElementById("mwl-root")),setTimeout((function(){var t;!!(t=document.getElementById("mwl-loading-overlay"))&&(t.remove(),!0)&&(xt("â ï¸ 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(_e(Vn,{}),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,di(),n>0&&setTimeout((function(){window.mwlDelayedRenderComplete=!0,si(W,n)}),n)})),window.renderMeowLightboxWithSelector=si,window.renderMeowLightboxWithParentElement=ci,window.renderMeowLightbox=di,window.addToMeowLightboxQueue=ai,window.destroyFromMeowLightbox=ui})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.