;
(self.AMP=self.AMP||[]).push({m:1,v:"2603032146000",n:"amp-lightbox-gallery",ev:"0.1",l:!0,f:function(t,i){(()=>{function i(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function n(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);i&&(s=s.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,s)}return n}function s(t){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?n(Object(e),!0).forEach((function(n){i(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):n(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}))}return t}var e;function r(){return e||(e=Promise.resolve(void 0))}function o(t,i,n){return(t=t.width/t.height)>i.width/i.height!==n?{width:i.height*t,height:i.height}:{width:i.width,height:i.width/t}}function a(t,i,n=getComputedStyle(t).getPropertyValue("object-fit")){switch(t={width:t.naturalWidth,height:t.naturalHeight},n){case"cover":return o(t,i,!1);case"contain":return o(t,i,!0);case"fill":case"":case null:return i;case"none":return t;case"scale-down":return i=o(t,i,!0),{width:Math.min(t.width,i.width),height:Math.min(t.height,i.height)};default:throw Error(`object-fit: ${n} not supported`)}}function l(t,i){return t=(t.match(new RegExp("-?\\s*\\d+"+i))||["0"])[0].replace(" ",""),parseFloat(t)}function h(t,i,n){var s=t||"50% 50%",e=0===s.lastIndexOf("calc",0)?s.indexOf(")")+1:s.indexOf(" ");t=s.slice(0,e)||"",s=s.slice(e)||"",e=l(t,"px");let r=l(s,"px");return t=l(t,"%")/100,{top:l(s,"%")/100*(i.height-n.height)+r,left:t*(i.width-n.width)+e}}function c(t){return`cubic-bezier(${t.x1},${t.y1},${t.x2},${t.y2})`}function u(t,i,n){let s=n*n,e=s*n;return 3*(n-2*s+e)*t+3*(s-e)*i+e}var m={x1:.42,y1:0,x2:.58,y2:1},p=0;function f(t,i,n){var s=getComputedStyle(t);let e=s.getPropertyValue("object-fit");return{objectFit:e,objectPosition:s=s.getPropertyValue("object-position"),rect:i,c:n,j:t,h:a(t,i,e),s:i.width*i.height}}var d="load-end";function g(t){return t?Array.prototype.slice.call(t):[]}var{isArray:b}=Array;function v(t,i){const n=[];let s=0;for(let e=0;e<t.length;e++){const r=t[e];i(r,e,t)?n.push(r):(s<e&&(t[s]=r),s++)}return s<t.length&&(t.length=s),n}function _(t,i){for(let n=0;n<t.length;n++)if(i(t[n],n,t))return n;return-1}function A(t,i,n){if(t.length>=i)return t;i-=t.length;let s=n;for(;i>s.length;)s+=n;return s.slice(0,i)+t}var{hasOwnProperty:x,toString:P}=Object.prototype;function w(t){const i=Object.create(null);return t&&Object.assign(i,t),i}var y,M,E="​​​";function T(t){return 1==(null==(i=t)?void 0:i.nodeType)?t.tagName.toLowerCase()+(t.id?`#${t.id}`:""):t;var i}function I(t){return t.indexOf(E)>=0}function R(t,i,n,s,e,r,o,a,l,h,c){return t}function V(t,i,n,s,e,r,o,a,l,h,c){return function(t,i,n="Assertion failed",s){var e,r;if(i)return i;t&&-1==n.indexOf(t)&&(n+=t);let o=3;const a=n.split("%s");let l=a.shift();const h=[l];for(;a.length;){const t=arguments[o++],i=a.shift();l+=T(t)+i,h.push(t,i.trim())}const c=new Error(l);throw c.messageArray=v(h,(t=>""!==t)),null===(e=(r=self).__AMP_REPORT_ERROR)||void 0===e||e.call(r,c),c}(E,t,i,n,s,e,r,o,a,l,h,c)}function k(t){return(t.ownerDocument||t).defaultView}function C(t,i){return t.replace(/^|,/g,`$&${i} `)}function $(t){return CSS.escape(t)}function O(t){R(/^[\w-]+$/.test(t))}function S(t,i){return t.querySelector(C(i,":scope"))}function j(t,i){return t.closest(i)}function F(t,i){return O(i),S(t,`> ${i}`)}function z(t,i){return O(i),t.querySelector(i)}function D(t){const i=t.ownerDocument||t;return y&&y.ownerDocument===i||(y=i.createElement("div")),L}function L(t){return function(t,i){if(R(1===i.length),R(Array.isArray(i)||(n=i,x.call(n,"raw"))),self.trustedTypes&&self.trustedTypes.createPolicy){const n=self.trustedTypes.createPolicy("static-template#createNode",{createHTML:function(t){return i[0]}});t.innerHTML=n.createHTML("ignored")}else t.innerHTML=i[0];var n;const s=t.firstElementChild;return R(s),R(!s.nextElementSibling),t.removeChild(s),s}(y,t)}var B=["Webkit","webkit","Moz","moz","ms","O","o"];function N(t,i,n,s,e){const r=function(t,i,n){if(i.startsWith("--"))return i;M||(M=w());let s=M[i];if(!s||n){if(s=i,void 0===t[i]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(i),e=function(t,i){for(let n=0;n<B.length;n++){const s=B[n]+i;if(void 0!==t[s])return s}return""}(t,n);void 0!==t[e]&&(s=e)}n||(M[i]=s)}return s}(t.style,i,e);if(!r)return;const o=s?n+s:n;t.style.setProperty(function(t){const i=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return B.some((t=>i.startsWith(t+"-")))?`-${i}`:i}(r),o)}function G(t,i){for(const n in i)N(t,n,i[n])}function U(t,i){void 0===i&&(i=t.hasAttribute("hidden")),i?t.removeAttribute("hidden"):t.setAttribute("hidden","")}var H=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function X(t,i=""){try{return decodeURIComponent(t)}catch(t){return i}}function Y(t){const i=w();if(!t)return i;let n;for(;n=H.exec(t);){const t=X(n[1],n[1]),s=n[2]?X(n[2].replace(/\+/g," "),n[2]):"";i[t]=s}return i}function J(t){const{location:i}=t||self;return Y(i.originalHash||i.hash)}var Z="";function q(t){var i;return Z||(Z=(null===(i=t.AMP_CONFIG)||void 0===i?void 0:i.v)||"012603032146000"),Z}function W(t,i){const n=i||J(t);return["1","actions","amp","amp4ads","amp4email"].includes(n.development)||!!t.AMP_DEV_MODE}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null};var K=self.__AMP_LOG;function Q(t){return function(t,i){throw new Error("failed to call initLogConstructor")}()}function tt(t,i,n,s,e,r,o,a,l,h,c){return t}function it(t,i,n,s,e,r,o,a,l,h,c){return(K.user||(K.user=Q()),void K.user.win?K.userForEmbed||(K.userForEmbed=Q()):K.user).assert(t,i,n,s,e,r,o,a,l,h,c)}function nt(t,i){return at(t=function(t){return t.__AMP_TOP||(t.__AMP_TOP=t)}(t),i)}function st(t,i){return at(ot(rt(t)),i)}function et(t,i){return lt(ot(t),i)}function rt(t){return t.nodeType?(i=k(t),nt(i,"ampdoc")).getAmpDoc(t):t;var i}function ot(t){const i=rt(t);return i.isSingleDoc()?i.win:i}function at(t,i){tt(ct(t,i));const n=ht(t)[i];return n.obj||(tt(n.ctor),tt(n.context),n.obj=new n.ctor(n.context),tt(n.obj),n.context=null,n.resolve&&n.resolve(n.obj)),n.obj}function lt(t,i){const n=ht(t)[i];return n?n.promise?n.promise:(at(t,i),n.promise=Promise.resolve(n.obj)):null}function ht(t){let i=t.__AMP_SERVICES;return i||(i=t.__AMP_SERVICES={}),i}function ct(t,i){const n=t.__AMP_SERVICES&&t.__AMP_SERVICES[i];return!(!n||!n.ctor)}var ut="__AMP__EXPERIMENT_TOGGLES";function mt(t,i,n,s){const e=et(t,i);if(e)return e;const r=rt(t);return r.whenExtensionsKnown().then((()=>{const t=r.getExtensionVersion(n);return t?nt(r.win,"extensions").waitForExtension(n,t):null})).then((n=>n?s?et(t,i):function(t,i){return function(t,i){const n=lt(t,i);if(n)return n;const s=ht(t);return s[i]=function(){const t=new class{constructor(){this.promise=new Promise(((t,i)=>{this.resolve=t,this.reject=i}))}},{promise:i,reject:n,resolve:s}=t;return i.catch((()=>{})),{obj:null,promise:i,resolve:s,reject:n,context:null,ctor:null}}(),s[i].promise}(ot(t),i)}(t,i):null))}var pt,ft,dt=t=>function(t,i){const n=ot(rt(t));return ct(n,i)?at(n,i):null}(t,"action"),gt=t=>nt(t,"extensions"),bt=t=>st(t,"owners"),vt=t=>at(t,"timer");function _t(t,i,n={},s=!0){var e;(e=t,mt(e,"amp-analytics-instrumentation","amp-analytics")).then((e=>{e&&e.triggerEventForTarget(t,i,n,s)}))}function At(t,i,n,s){return function(t,i,n,s){let e=t,r=n,o=t=>{try{return r(t)}catch(t){var i,n;throw null===(i=(n=self).__AMP_REPORT_ERROR)||void 0===i||i.call(n,t),t}};const a=function(){if(void 0!==pt)return pt;pt=!1;try{const t={get capture(){return pt=!0,!1}};self.addEventListener("test-options",null,t),self.removeEventListener("test-options",null,t)}catch(t){}return pt}(),l=!(null==s||!s.capture);return e.addEventListener(i,o,a?s:l),()=>{null==e||e.removeEventListener(i,o,a?s:l),r=null,e=null,o=null}}(t,i,n,s)}var xt=['<div class=i-amphtml-lbg-caption><div class=i-amphtml-lbg-caption-scroll><div class="i-amphtml-lbg-caption-text amp-lightbox-gallery-caption"></div></div><div class=i-amphtml-lbg-caption-mask></div></div>'],Pt="clip",wt="expand",yt=class t{static build(i,n){const s=D(i)(xt);return new t(s,s.querySelector(".i-amphtml-lbg-caption-scroll"),s.querySelector(".amp-lightbox-gallery-caption"),s.querySelector(".i-amphtml-lbg-caption-mask"),n)}constructor(t,i,n,s,e){this.el=t,this.x4=i,this.xlt=n,this.Plt=s,this.ylt=e}getElement(){return this.el}setContent(t){this.xlt.innerText=t}setOverflowState(t){this.x4.setAttribute("i-amphtml-lbg-caption-state",t)}getOverflowState(){return this.x4.getAttribute("i-amphtml-lbg-caption-state")}Mlt(t,i,n){const s=t==wt;return s||i?(void 0!==n?n:!s)?wt:Pt:"none"}toggleOverflow(t){const{Plt:i,x4:n}=this;let s;this.ylt((()=>{s=n.scrollHeight-n.clientHeight>=i.clientHeight}),(()=>{const i=this.getOverflowState(),e=this.Mlt(i,s,t);this.setOverflowState(e),e!=wt&&(n.scrollTop=0)}))}},Mt=["<div class=i-amphtml-lbg-controls><div class=i-amphtml-lbg-top-bar><div role=button class=i-amphtml-lbg-button data-action=close aria-label=Close></div><div role=button class=i-amphtml-lbg-button data-action=gallery aria-label=Gallery></div><div role=button class=i-amphtml-lbg-button data-action=slides aria-label=Content></div></div><div role=button class=i-amphtml-lbg-button data-action=prev aria-label=Content></div><div role=button class=i-amphtml-lbg-button data-action=next aria-label=Content></div></div>"],Et={CLOSE:"close",GALLERY:"gallery",SLIDES:"slides",PREV:"prev",NEXT:"next"},Tt=class t{static build(i,n,s){const e=D(n)(Mt);(t=>nt(t,"input"))(i).isMouseDetected()||(e.querySelector('[data-action="prev"]').classList.add("i-amphtml-screen-reader"),e.querySelector('[data-action="next"]').classList.add("i-amphtml-screen-reader"));const r=Object.values(Et);return tt(g(e.querySelectorAll("[data-action]")).map((t=>t.getAttribute("data-action"))).every((t=>r.includes(t)))),new t(i,e,s)}constructor(t,i,n){this.i=t,this.el=i,this.ylt=n,this.el.addEventListener("click",(t=>{this._a(t)}))}getElement(){return this.el}_a(t){const i=t.target.getAttribute("data-action");i&&(this.el.dispatchEvent(function(t,i,n,s){const e={detail:n};return Object.assign(e,void 0),new t.CustomEvent("action",e)}(this.i,0,{"action":i})),t.stopPropagation(),t.preventDefault())}},It=/(\S+)(?:\s+(?:(-?\d+(?:\.\d+)?)([a-zA-Z]*)))?\s*(?:,|$)/g;function Rt(t){const i=t.getAttribute("srcset");if(i)return function(t){const i=[];let n;for(;n=It.exec(t);){const t=n[1];let s,e;if(n[2]){const t=n[3].toLowerCase();if("w"==t)s=parseInt(n[2],10);else{if("x"!=t)continue;e=parseFloat(n[2])}}else e=1;i.push({url:t,width:s,dpr:e})}return new kt(i)}(i);const n=t.getAttribute("src");return V(n,'Either non-empty "srcset" or "src" attribute must be specified: %s',t),Vt(n)}function Vt(t){return new kt([{url:t,width:void 0,dpr:1}])}var kt=class{constructor(t){V(t.length>0,"Srcset must have at least one source"),this.Lb=t;let i=!1,n=!1;for(let s=0;s<t.length;s++){const e=t[s];i=i||!!e.width,n=n||!!e.dpr}V(!(i===n),"Srcset must have width or dpr sources, but not both"),t.sort(i?Ct:$t),this.Hb=i}select(t,i){R(t),R(i);let n=0;return n=this.Hb?this.Ub(t*i):this.Db(i),this.Lb[n].url}Ub(t){const i=this.Lb;let n=0,s=1/0,e=1/0;for(let o=0;o<i.length;o++){var r;const a=null!==(r=i[o].width)&&void 0!==r?r:0,l=Math.abs(a-t);if(!(l<=1.1*s||t/e>1.2))break;n=o,s=l,e=a}return n}Db(t){const i=this.Lb;let n=0,s=1/0;for(let e=0;e<i.length;e++){const r=Math.abs(i[e].dpr-t);if(!(r<=s))break;n=e,s=r}return n}getUrls(){return this.Lb.map((t=>t.url))}stringify(t){const i=[],n=this.Lb;for(let s=0;s<n.length;s++){const e=n[s];let r=e.url;t&&(r=t(r)),this.Hb?r+=` ${e.width}w`:r+=` ${e.dpr}x`,i.push(r)}return i.join(", ")}};function Ct(t,i){return V(t.width!=i.width,"Duplicate width: %s",t.width),t.width-i.width}function $t(t,i){return V(t.dpr!=i.dpr,"Duplicate dpr: %s",t.dpr),t.dpr-i.dpr}var Ot=!1;/nochunking=1/.test(self.location.hash),r();var St=new Set(["AMP-IMG","IMG"]),jt=new Set(["AMP-IMG","IMG"]),Ft=new Set(["AMP-YOUTUBE","AMP-VIDEO"]),zt=new Set(["AMP-CAROUSEL","AMP-BASE-CAROUSEL"]);function Dt(t,i){const n=vt(t);return n.promise(1).then((()=>n.promise(i)))}function Lt(t){const i=Math.floor(t/3600),n=Math.floor(t/60),s=Math.floor(t%60);return A(i.toString(),2,"0")+":"+A(n.toString(),2,"0")+":"+A(s.toString(),2,"0")}var Bt=class{constructor(){this.un=null}add(t){return this.un||(this.un=[]),this.un.push(t),()=>{this.remove(t)}}remove(t){this.un&&function(t,i){const n=t.indexOf(i);-1!=n&&t.splice(n,1)}(this.un,t)}removeAll(){this.un&&(this.un.length=0)}fire(t){if(this.un)for(const i of this.un.slice())i(t)}getHandlerCount(){var t,i;return null!==(t=null===(i=this.un)||void 0===i?void 0:i.length)&&void 0!==t?t:0}},Nt="__AMP_Gestures",Gt=class t{static get(i,n=!1,s=!1){let e=i[Nt];return e||(e=new t(i,n,s),i[Nt]=e),e}constructor(t,i=!1,n=!1){this.el=t,this.qM=[],this.t_=[],this.gi=[],this.ZM=[],this.XM=null;const s=function(t){if(void 0!==ft)return ft;ft=!1;try{const i={get passive(){return ft=!0,!1}};t.addEventListener("test-options",null,i),t.removeEventListener("test-options",null,i)}catch(t){}return ft}(t.ownerDocument.defaultView);this.KM=i||s,this.JM=n,this.QM=!1,this.Be=new class{constructor(t,i,n){this.ke=vt(t),this.Ne=i,this.De=n||0,this.Le=-1,this.Ue=0,this.$e=!1,this.Fe=()=>{this.Be()}}isPending(){return-1!=this.Le}schedule(t){let i=t||this.De;this.$e&&i<10&&(i=10);const n=Date.now()+i;return(!this.isPending()||n-this.Ue<-10)&&(this.cancel(),this.Ue=n,this.Le=this.ke.delay(this.Fe,i),!0)}Be(){this.Le=-1,this.Ue=0,this.$e=!0,this.Ne(),this.$e=!1}cancel(){this.isPending()&&(this.ke.cancel(this.Le),this.Le=-1)}}(k(t),this.Im.bind(this)),this.aw=new Bt,this.hw=Object.create(null),this.lw=this.hp.bind(this),this.pw=this.cp.bind(this),this.mw=this.lp.bind(this),this.cw=this.h_.bind(this),this.el.addEventListener("touchstart",this.lw,!!s&&{passive:!0}),this.el.addEventListener("touchend",this.pw),this.el.addEventListener("touchmove",this.mw,!!s&&{passive:!0}),this.el.addEventListener("touchcancel",this.cw),this.uw=!1}cleanup(){this.el.removeEventListener("touchstart",this.lw),this.el.removeEventListener("touchend",this.pw),this.el.removeEventListener("touchmove",this.mw),this.el.removeEventListener("touchcancel",this.cw),delete this.el[Nt],this.Be.cancel()}onGesture(t,i){const n=new t(this),s=n.getType();let e=this.hw[s];return e||(this.qM.push(n),e=new Bt,this.hw[s]=e),e.add(i)}removeGesture(t){const i=new t(this).getType(),n=this.hw[i];if(n){n.removeAll();const t=_(this.qM,(t=>t.getType()==i));return!(t<0||(this.qM.splice(t,1),this.gi.splice(t,1),this.ZM.splice(t,1),this.t_.splice(t,1),delete this.hw[i],0))}return!1}onPointerDown(t){return this.aw.add(t)}hp(t){const i=Date.now();this.QM=!1,this.aw.fire(t);for(let n=0;n<this.qM.length;n++)this.gi[n]||(this.ZM[n]&&this.ZM[n]<i&&this.o_(n),this.qM[n].onTouchStart(t)&&this.u_(n));this.dw(t)}lp(t){const i=Date.now();for(let n=0;n<this.qM.length;n++)this.t_[n]&&(this.ZM[n]&&this.ZM[n]<i?this.o_(n):this.qM[n].onTouchMove(t)||this.o_(n));this.dw(t)}cp(t){const i=Date.now();for(let n=0;n<this.qM.length;n++){if(!this.t_[n])continue;if(this.ZM[n]&&this.ZM[n]<i){this.o_(n);continue}this.qM[n].onTouchEnd(t);const s=!this.ZM[n],e=this.ZM[n]<i;this.XM==this.qM[n]||!s&&!e||this.o_(n)}this.dw(t)}h_(t){for(let t=0;t<this.qM.length;t++)this.fw(t);this.dw(t)}ep(t,i){if(this.XM)return void t.acceptCancel();const n=Date.now();for(let s=0;s<this.qM.length;s++)this.qM[s]==t&&(this.gi[s]=n+i,this.ZM[s]=0);this.uw=!0}_w(t,i){if(this.XM)return void t.acceptCancel();const n=Date.now();for(let s=0;s<this.qM.length;s++)this.qM[s]==t&&(this.ZM[s]=n+i)}gw(t){this.XM==t&&(this.XM=null,this.QM=!0)}yw(t,i,n){R(this.XM==t);const s=this.hw[t.getType()];s&&s.fire(new class{constructor(t,i,n,s){this.type=t,this.data=i,this.time=n,this.event=s}}(t.getType(),i,Date.now(),n))}dw(t){let i=!!this.XM||this.QM;if(this.QM=!1,!i){const t=Date.now();for(let n=0;n<this.qM.length;n++)if(this.gi[n]||this.ZM[n]&&this.ZM[n]>=t){i=!0;break}}i?(t.stopPropagation(),this.KM||t.preventDefault()):this.JM&&t.stopPropagation(),this.uw&&(this.uw=!1,this.Im())}Im(){const t=Date.now();let i=-1;for(let n=0;n<this.qM.length;n++)this.gi[n]?(-1==i||this.gi[n]>this.gi[i])&&(i=n):this.ZM[n]&&this.ZM[n]<t&&this.o_(n);if(-1==i)return;let n=0;for(let i=0;i<this.qM.length;i++)!this.gi[i]&&this.t_[i]&&(n=Math.max(n,this.ZM[i]-t));n<2?this.Aw(i):this.Be.schedule(n)}Aw(t){const i=this.qM[t];for(let i=0;i<this.qM.length;i++)i!=t&&this.fw(i);this.gi[t]=0,this.ZM[t]=0,this.XM=i,i.acceptStart()}u_(t){this.t_[t]=!0,this.ZM[t]=0}o_(t){this.t_[t]=!1,this.ZM[t]=0,this.gi[t]||this.qM[t].acceptCancel()}fw(t){this.gi[t]=0,this.o_(t)}};function Ut(t,i,n){i<1&&(i=1);const s=t/i,e=.5+Math.min(i/33.34,.5);return s*e+n*(1-e)}function Ht(t,i,n,s){return Math.sqrt(Math.pow(t-n,2)+Math.pow(i-s,2))}function Xt(t,i,n){return t+(i-t)*n}Math.round(-16.67/Math.log(.95));var Yt,Jt=(()=>self.AMP.config.urls)();var Zt=(()=>self.AMP.config.urls)(),qt=self.__AMP_ERRORS||[];self.__AMP_ERRORS=qt;var Wt=function(t){return(Wt=function(t){const i=function(t){let i=0;return()=>{let t=Math.pow(1.5,i++);return t+=function(t,i){let n=t*(i=i||.3)*Math.random();return Math.random()>.5&&(n*=-1),n}(t),1e3*t}}();return t=>setTimeout(t,i())}())(t)};function Kt(t,i){try{let n;if(t)if(void 0!==t.message)t=function(t){const i=Object.getOwnPropertyDescriptor(t,"message");if(null!=i&&i.writable)return t;const{message:n,stack:s}=t,e=new Error(n);for(const i in t)e[i]=t[i];return e.stack=s,e}(t),n=!0;else{const i=t;(t=new Error(function(t){try{return JSON.stringify(t)}catch(i){return String(t)}}(i))).origError=i}else t=new Error("Unknown error");if(t.reported)return t;if(t.reported=!0,t.messageArray){const i=_(t.messageArray,(t=>null==t?void 0:t.tagName));i>-1&&(t.associatedElement=t.messageArray[i])}const s=i||t.associatedElement;if(s&&s.classList&&s.classList.add("i-amphtml-error"),self.console&&(I(t.message)||!t.expected)){const i=console.error||console.log;t.messageArray?i.apply(console,t.messageArray):s?i.call(console,t.message,s):i.call(console,t.message)}s&&s.dispatchCustomEventForTesting&&s.dispatchCustomEventForTesting("amp:error",t.message),Qt.call(self,void 0,void 0,void 0,void 0,t)}catch(t){setTimeout((function(){throw t}))}return t}function Qt(t,i,n,s,e){var o;!this||!this.document||e&&e.expected||(tt((o=this.document).defaultView),Ot||(Ot=!0,function(t){G(t.body,{opacity:1,visibility:"visible","animation":"none"})}(o)));let a=!1;try{a=function(t){if(!t.document)return!1;const i=t.document.querySelectorAll("script[src]");for(let t=0;t<i.length;t++)if(n=i[t].src.toLowerCase(),!Jt.cdnProxyRegex.test((t=>"string"==typeof t?function(t,i){return Yt||(Yt=self.document.createElement("a")),function(t,i,n){return t.href="",new URL(i,t.href)}(Yt,t)}(t):t)(n).origin))return!0;var n;return!1}(self)}catch(t){}if(a&&Math.random()<.99)return;const l=function(t,i,n,s,e,r){t=function(t,i){return i&&(t=i.message?i.message:String(i)),t||(t="Unknown error"),t}(t,e);let o=!(!e||!e.expected);if(/_reported_/.test(t))return;if("CANCELLED"==t)return;const a=!(self&&self.window),l=Math.random();if((function(t){return-1!=t.indexOf("Failed to load:")}(t)||"Script error."==t||a)&&(o=!0,l<.9999))return;const h=I(t);if(h&&l<.99)return;const c=Object.create(null);c.v=function(t){const i=t||self;return i.__AMP_MODE?i.__AMP_MODE:i.__AMP_MODE=function(t){return{localDev:!1,development:W(t,J(t)),esm:!0,test:!1,rtvVersion:q(t),ssrReady:!1}}(i)}().rtvVersion,c.noAmp=r?"1":"0",c.m=t.replace(E,""),c.a=h?"1":"0",c.ex=o?"1":"0",c.dw=a?"1":"0";let u="1p";var m,p;if(u="esm",c.esm="1",c.rt="esm",c.cdn=Zt.cdn,c.ca=null!==(p=self.AMP_CONFIG)&&void 0!==p&&p.canary?"1":"0",c.bt=(null===(m=self.AMP_CONFIG)||void 0===m?void 0:m.type)||"unknown",self.location.ancestorOrigins&&self.location.ancestorOrigins[0]&&(c.or=self.location.ancestorOrigins[0]),self.viewerState&&(c.vs=self.viewerState),self.parent&&self.parent!=self&&(c.iem="1"),self.AMP&&self.AMP.viewer){const t=self.AMP.viewer.getResolvedViewerUrl(),i=self.AMP.viewer.maybeGetMessagingOrigin();t&&(c.rvu=t),i&&(c.mso=i)}const f=[],d=self[ut]||null;var g,b,v;for(const t in d){const i=d[t];f.push(`${t}=${i?"1":"0"}`)}return c.exps=f.join(","),e?(c.el=(null===(g=e.associatedElement)||void 0===g?void 0:g.tagName)||"u",e.args&&(c.args=JSON.stringify(e.args)),h||e.ignoreStack||!e.stack||(c.s=e.stack),e.message&&(e.message+=" _reported_")):(c.f=i||"",c.l=n||"",c.c=s||""),c.r=self.document?self.document.referrer:"",c.ae=qt.join(","),c.fr=self.location.originalHash||self.location.hash,"production"===c.bt&&(c.pt="1"),v=t,(b=qt).length>=25&&b.splice(0,b.length-25+1),b.push(v),c}(t,i,n,s,e,a);l&&Wt((()=>{try{return function(t,i){return i.pt&&Math.random()<.9?r():function(t,i){const n=(t=>nt(t,"ampdoc"))(t);if(!n.isSingleDoc())return Promise.resolve(!1);const s=n.getSingleDoc();if(!s.getRootNode().documentElement.hasAttribute("report-errors-to-viewer"))return Promise.resolve(!1);const e=st(s,"viewer");return e.hasCapability("errorReporter")?e.isTrustedViewer().then((t=>{return!!t&&(e.sendMessage("error",{"m":(n=i).m,"a":n.a,"s":n.s,"el":n.el,"ex":n.ex,"v":n.v,"pt":n.pt}),!0);var n})):Promise.resolve(!1)}(t,i).then((t=>{if(!t){const t=new XMLHttpRequest;t.open("POST",Math.random()<.1?Zt.betaErrorReporting:Zt.errorReporting,!0),t.send(JSON.stringify(i))}}))}(this,l).catch((()=>{}))}catch(t){}}))}var ti=["<div class=i-amphtml-lbg><div class=i-amphtml-lbg-mask></div></div>"],ii=["<div class=i-amphtml-lbg-overlay></div>"],ni=["<amp-image-viewer layout=fill></amp-image-viewer>"],si=["<amp-carousel type=slides layout=fill loop=true></amp-carousel>"],ei=["<div class=i-amphtml-lbg-gallery></div>"],ri=["<div class=i-amphtml-lbg-gallery-thumbnail><img class=i-amphtml-lbg-gallery-thumbnail-img></div>"],oi=["<div class=i-amphtml-lbg-thumbnail-timestamp-container><span class=i-amphtml-lbg-thumbnail-play-icon></span><div></div></div>"],ai="amp-lightbox-gallery",li="amp-carousel",hi=".i-amphtml-slide-item, .i-amphtml-carousel-slotted",ci={x1:.8,y1:0,x2:.2,y2:1},ui=class extends t.BaseElement{constructor(t){super(t),this.hf=this.win.document,this.Elt=!1,this.kB=-1,this.Tlt=-1,this.po=this.mo.bind(this),this.Ilt=this.Rlt.bind(this),this.Nv=null,this.Xn=null,this.Oc=null,this.Vlt={default:[]},this.v_=null,this.Clt=null,this.$lt=null,this.zQ=null,this.Olt=null,this.V4=null,this.Slt=null,this.jlt=null,this.Flt=null,this.zlt=null,this.Dlt=1,this.Llt=null,this.Blt="default",this.Nlt=!1,this.Glt=this.measureMutateElement.bind(this),this.DQ=new class{constructor(t,i,n,s){this.i=t,this.el=i,this._F=n,this.XQ=s,this.OQ=null,this.Ult=null,this.zQ=null,this.$lt=null,this.Hlt=null,this.Xlt=!1}startSwipe(t){const{hiddenElement:i,mask:n,overlay:s,swipeElement:e}=t;this.OQ=e,this.Ult=i,this.zQ=n,this.$lt=s,this.Xlt=!0,this._F((()=>{this.Ylt()}))}WQ(t,i,n,s){const e=1*s;return G(this.OQ,{transform:`scale(${t}) translate(${i}px, ${n}px)`,transition:`${e}ms transform cubic-bezier(0.15, .55, .3, 0.95)`}),Dt(this.i,e)}YQ(t){const i=5*t;return this._F((()=>{G(this.OQ,{transform:"",transition:`${i}ms transform ease-out`}),G(this.zQ,{opacity:"",transition:`${i}ms opacity ease-out`}),G(this.$lt,{opacity:"",transition:`${i}ms opacity ease-out`})})).then((()=>Dt(this.i,i)))}NQ(t="",i="",n=""){G(this.OQ,{transform:t,transition:""}),G(this.zQ,{opacity:i,transition:""}),G(this.$lt,{opacity:n,transition:""})}GQ(t,i,n,s,e){const r=Ht(0,0,i,n),o=22.5*i+s,a=22.5*n+e,l=Ht(0,0,o,a);return this.WQ(t,o,a,r).then((()=>l<50&&r<.65?this.YQ(l):this.XQ()))}Ylt(){this.Ult.classList.add("i-amphtml-ghost"),this.Hlt=At(this.OQ,"scroll",(t=>{t.stopPropagation()}),{capture:!0}),this.el.setAttribute("i-amphtml-scale-animation",""),N(this.$lt,"animationFillMode","none")}Jlt(){this.Ult.classList.remove("i-amphtml-ghost"),this.Hlt(),this.el.removeAttribute("i-amphtml-scale-animation"),N(this.$lt,"animationFillMode","")}swipeMove(t){const{deltaX:i,deltaY:n,last:s,velocityX:e,velocityY:r}=t,o=this.Xlt;s&&(this.Xlt=!1);const a=Ht(0,0,i,n),l=Math.min(a/200,1),h=Math.min(a/50,1),c=Xt(1,.85,l),u=Xt(1,.2,l),m=Xt(1,0,h);this._F((()=>{t.last&&o?this.GQ(c,e,r,i,n).then((()=>{this.NQ(),this.Jlt()})):this.Xlt&&this.NQ(`scale(${c}) translate(${i}px, ${n}px)`,u,m)}))}}(this.win,this.element,(t=>this.mutateElement(t)),(()=>this.pI()))}renderOutsideViewport(){return!0}buildCallback(){return(t=this.element,function(t,i,n,s){return mt(t,i,n,void 0).then((t=>function(t,i,n){return it(t,"Service %s was requested to be provided through %s, but %s is not loaded in the current page. To fix this problem load the JavaScript file for %s in this page.","amp-lightbox-manager",n,n,n)}(t,0,n)))}(t,"amp-lightbox-manager","amp-lightbox-gallery")).then((t=>(this.Nv=t,this.Xn=st(this.getAmpDoc(),"history"),this.Oc=dt(this.element),this.getAmpDoc().whenFirstVisible()))).then((()=>{this.v_=D(this.hf)(ti),this.zQ=this.v_.querySelector(".i-amphtml-lbg-mask"),this.element.appendChild(this.v_),this.Nv.maybeInit(),this.registerDefaultAction((t=>this.Zlt(t)),"open")}));var t}layoutCallback(){return r()}qlt(){this.$lt=D(this.hf)(ii);const t=this.Wlt(),i=this.Klt();this.mutateElement((()=>{this.$lt.appendChild(t),this.$lt.appendChild(i),this.v_.appendChild(this.$lt)}))}Qlt(t){return this.Clt||(this.Clt=this.hf.createElement("div"),this.v_.appendChild(this.Clt)),this.$lt||this.qlt(),this.tht(t)}iht(t){if(t.classList.contains("amp-notsupported")){const i=t.getFallback();i&&(t=i)}const i=!t.classList.contains("i-amphtml-element"),n=t.cloneNode(i);return n.removeAttribute("on"),n.removeAttribute("id"),n.removeAttribute("i-amphtml-layout"),n.removeAttribute("fallback"),n}nht(t){let i=0;this.Vlt[this.Blt]=[],t.forEach((t=>{t.lightboxItemId=i++;const n=this.iht(t),s={descriptionText:this.Nv.getDescription(t),tagName:n.tagName,sourceElement:t,element:n};let e=n;if(jt.has(n.tagName)){const t=this.hf.createElement("div"),i=D(this.hf)(ni);for(const i in n.dataset)t.dataset[i]=n.dataset[i];n.removeAttribute("class"),i.appendChild(n),t.appendChild(i),e=t,s.imageViewer=i}this.V4.appendChild(e),this.Vlt[this.Blt].push(s)}))}tht(t){tt(this.v_);const i=this.element.querySelector(`amp-carousel[amp-lightbox-group=${$(t)}]`);return i?(this.V4=i,this.sht(t)):this.eht(t)}sht(t){return this.mutateElement((()=>{const{length:i}=this.Vlt[t];this.rht(i),bt(this.element).scheduleUnlayout(this.element,this.V4),U(this.V4,!0)}))}eht(t){const i=this.getAmpDoc().getExtensionVersion(li),n=function(t,i){const n=function(t){var i,n,e,r,o;if(t[ut])return t[ut];t[ut]=w();const a=t[ut];R(a);const l=s(s({},null!==(i=t.AMP_CONFIG)&&void 0!==i?i:{}),null!==(n=t.AMP_EXP)&&void 0!==n?n:(h=(null===(e=t.__AMP_EXP)||void 0===e?void 0:e.textContent)||"{}",JSON.parse(h)));var h;for(const t in l){const i=l[t];"number"==typeof i&&i>=0&&i<=1&&(a[t]=Math.random()<i)}const c=null===(r=t.AMP_CONFIG)||void 0===r?void 0:r["allow-doc-opt-in"];if(b(c)&&c.length){const i=t.document.head.querySelector('meta[name="amp-experiments-opt-in"]');if(i){var u;const t=(null===(u=i.getAttribute("content"))||void 0===u?void 0:u.split(","))||[];for(const i of t)c.includes(i)&&(a[i]=!0)}}Object.assign(a,function(t){var i;let n="";try{var s;"localStorage"in t&&(n=null!==(s=t.localStorage.getItem("amp-experiment-toggles"))&&void 0!==s?s:"")}catch(t){}const e=(null===(i=n)||void 0===i?void 0:i.split(/\s*,\s*/g))||[],r=w();for(const t of e)t&&("-"==t[0]?r[t.substr(1)]=!1:r[t]=!0);return r}(t));const m=null===(o=t.AMP_CONFIG)||void 0===o?void 0:o["allow-url-opt-in"];if(b(m)&&m.length){const i=Y(t.location.originalHash||t.location.hash);for(const t of m){const n=i[`e-${t}`];"1"==n&&(a[t]=!0),"0"==n&&(a[t]=!1)}}return a}(t);return!!n["amp-lightbox-gallery-carousel-0-2"]}(this.win)?"0.2":"0.1",e=null!=i?i:n;return Promise.all([gt(this.win).installExtensionForDoc(this.getAmpDoc(),li,e),gt(this.win).installExtensionForDoc(this.getAmpDoc(),"amp-image-viewer")]).then((()=>this.Nv.getElementsForLightboxGroup(t))).then((i=>(this.V4=D(this.hf)(si),this.V4.setAttribute("amp-lightbox-group",t),this.nht(i),this.mutateElement((()=>{this.Clt.appendChild(this.V4),this.rht(i.length)})))))}rht(t){!function(t,i,n){const s=t.hasAttribute(i),e=void 0!==n?n:!s;e!==s&&(e?t.setAttribute(i,""):t.removeAttribute(i))}(this.element,"i-amphtml-lbg-single-item",t<=1)}Rlt(t){const i=function(t){return t.data}(t).index;i!=this.Tlt&&(this.Tlt=i,this.oht())}Wlt(){this.Slt=yt.build(this.hf,this.Glt);const t=this.Slt.getElement();return t.addEventListener("click",(t=>{_t(this.element,"descriptionOverflowToggled"),this.Slt.toggleOverflow(),t.stopPropagation(),t.preventDefault()})),t}Klt(){this.jlt=Tt.build(this.win,this.hf,this.Glt);const t=this.jlt.getElement();return t.addEventListener("action",(t=>{switch(function(t){return t.detail}(t).action){case Et.CLOSE:this.pI();break;case Et.GALLERY:this.aht();break;case Et.SLIDES:this.lht();break;case Et.NEXT:this.hht();break;case Et.PREV:this.cht()}})),t}oht(t=!1){const i=this.uht().descriptionText;this.mutateElement((()=>{this.Slt.setContent(i),this.Slt.setOverflowState(Pt),this.Slt.toggleOverflow(t)}))}hht(){tt(this.V4).getImpl().then((t=>{t.interactionNext()}))}cht(){tt(this.V4).getImpl().then((t=>{t.interactionPrev()}))}bz(t){const i=t.target,n=null!==function(t,i,n){let s;for(s=t;s&&s!==n;s=s.parentElement)if(i(s))return s;return null}(i,(t=>"BUTTON"==t.tagName||"A"==t.tagName||"button"==t.getAttribute("role")),this.v_),s=this.Oc.hasAction(i,"tap",this.v_);return!(n||s)}mht(t){this.bz(t)&&(0==this.Dlt?this.pht():this.v_.hasAttribute("gallery-view")||this.fht()),_t(this.element,"controlsToggled")}pht(){this.$lt.setAttribute("i-amphtml-lbg-fade","in"),this.Dlt=1}fht(){this.$lt.setAttribute("i-amphtml-lbg-fade","out"),this.Dlt=0}dht(){tt(this.v_);const t=this.mht.bind(this);this.Llt=At(this.v_,"click",t)}ght(){this.Llt&&(this.Llt(),this.Llt=null)}GX(){Gt.get(this.V4).onGesture(class extends class extends class{constructor(t,i){this.UR=t,this.Nv=i}getType(){return this.UR}signalReady(t){this.Nv.ep(this,t)}signalPending(t){this.Nv._w(this,t)}signalEnd(){this.Nv.gw(this)}signalEmit(t,i){this.Nv.yw(this,t,i)}acceptStart(){}acceptCancel(){}onTouchStart(t){return!1}onTouchMove(t){return!1}onTouchEnd(t){}}{constructor(t,i,n,s){super(t,i),this.$R=n,this.jR=s,this.XM=!1,this.FR=0,this.HR=0,this.BR=0,this.YR=0,this.GR=0,this.WR=0,this.Ir=0,this.qR=0,this.ZR=0,this.XR=0,this.KR=0}onTouchStart(t){const{touches:i}=t;return!!(this.XM&&i&&i.length>1)||!(!i||1!=i.length)&&(this.Ir=Date.now(),this.FR=i[0].clientX,this.HR=i[0].clientY,!0)}onTouchMove(t){const{touches:i}=t;if(i&&i.length>=1){const{clientX:n,clientY:s}=i[0];if(this.BR=n,this.YR=s,this.XM)this.JR(!1,!1,t);else{const t=Math.abs(n-this.FR),i=Math.abs(s-this.HR);if(this.$R&&this.jR)(t>=8||i>=8)&&this.signalReady(-10);else if(this.$R){if(t>=8&&t>i)this.signalReady(-10);else if(i>=8)return!1}else{if(!this.jR)return!1;if(i>=8&&i>t)this.signalReady(-10);else if(t>=8)return!1}}return!0}return!1}onTouchEnd(t){const{touches:i}=t;i&&0==i.length&&this.QR(t)}acceptStart(){this.XM=!0,this.GR=this.FR,this.WR=this.HR,this.ZR=this.Ir,this.FR=this.BR,this.HR=this.YR,this.JR(!0,!1,null)}acceptCancel(){this.XM=!1}JR(t,i,n){this.qR=Date.now();const s=this.qR-this.ZR;if(!i&&s>4||i&&s>16){const t=Ut(this.BR-this.GR,s,this.XR),n=Ut(this.YR-this.WR,s,this.KR);(!i||s>32||0!=t||0!=n)&&(this.XR=Math.abs(t)>1e-4?t:0,this.KR=Math.abs(n)>1e-4?n:0),this.GR=this.BR,this.WR=this.YR,this.ZR=this.qR}this.signalEmit({first:t,last:i,time:this.qR,deltaX:this.BR-this.FR,deltaY:this.YR-this.HR,startX:this.FR,startY:this.HR,lastX:this.BR,lastY:this.YR,velocityX:this.XR,velocityY:this.KR},n)}QR(t){this.XM&&(this.XM=!1,this.JR(!1,!0,t),this.signalEnd())}}{constructor(t){super("swipe-y",t,!1,!0)}},(t=>{const{data:i}=t;this.bht(i)}))}bht(t){if(t.first){const{sourceElement:t}=this.uht(),i=this.vht(t);this.DQ.startSwipe({swipeElement:this.V4,hiddenElement:i||t,mask:this.zQ,overlay:this.$lt})}else this.DQ.swipeMove(t)}_ht(){const t=this.Blt,i=this.Vlt[t].map((t=>t.element));bt(this.element).schedulePause(this.element,i)}uht(){const t=this.Blt;return tt(this.Vlt[t][this.Tlt])}open(t,i=!1){return this.Aht(t,i).then((()=>this.Xn.push(this.pI.bind(this)))).then((t=>{this.kB=t}))}Zlt(t){const i=t.args||{},n=i.id,s=i.expandDescription,e=n?this.getAmpDoc().getElementById(n):t.caller;it(e,"amp-lightbox-gallery.open: element with id: %s not found",n),this.open(e,s)}Aht(t,i){const n=t.getAttribute("lightbox")||"default";return this.Blt=n,this.Nlt=function(t){const{documentElement:i}=t.document;return t.innerWidth-i.clientWidth}(this.win)>0,this.Qlt(n).then((()=>this.getViewport().enterLightboxMode())).then((()=>this.mutateElement((()=>{U(this.element,!0),N(this.element,"opacity",0),this.$lt.removeAttribute("i-amphtml-lbg-fade")})))).then((()=>(this.Elt=!0,bt(this.element).scheduleLayout(this.element,this.v_),this.hf.documentElement.addEventListener("keydown",this.po),this.V4.addEventListener("slideChange",this.Ilt),this.GX(),this.dht(),this.V4.signals().whenSignal(d)))).then((()=>this.xht(t,i))).then((()=>{N(this.element,"opacity",""),this.pht(),_t(this.element,"lightboxOpened")}))}xht(t,i){return this.Tlt=t.lightboxItemId,tt(this.V4).getImpl().then((t=>t.goToSlide(this.Tlt))),this.oht(i),this.k_()}Pht(t){return!!(t&&(i=t,i.complete||"complete"==i.readyState||function(t){return"AUDIO"===t.tagName||"VIDEO"===t.tagName}(i)&&i.readyState>0||i.document&&"complete"==i.document.readyState))&&!!jt.has(t.tagName)&&!!z(t,"img");var i}wht(){const t=this.uht().sourceElement;return this.Pht(t)}yht(t,i){return this.uht().imageViewer.getImpl().then((n=>{const{height:s,width:e}=n.getImageBoxWithOffset()||{};if(!e||!s)return this.Mht(i);const r=n.getImage(),o=F(t,"img");return this.Eht(i?o:r,i?r:o,i)}))}Tht(t,i){const n=t.getBoundingClientRect(),s=i.getBoundingClientRect(),e=this.getViewport().getSize().height,r=Math.abs(s.top-n.top);return this.xz(Math.abs(r),e)}Eht(t,i,n){const s=this.V4,e=this.v_;let r,o,l;const d=()=>{U(this.element,n),N(e,"animationName",""),N(s,"animationName",""),t.classList.remove("i-amphtml-ghost"),i.classList.remove("i-amphtml-ghost"),l&&l.cleanupAnimation()};return this.measureMutateElement((()=>{const n=j(t,"amp-img")||t,s=j(i,"amp-img")||i;r=this.Tht(t,i),o=.8*r;try{l=function({transitionContainer:t=document.body,styleContainer:i=document.head,srcImg:n,targetImg:s,srcImgRect:e=n.getBoundingClientRect(),srcCropRect:r=e,targetImgRect:o=s.getBoundingClientRect(),targetCropRect:l=o,curve:d=m,styles:g,keyframesNamespace:b="img-transform"}){n=f(n,e,r),o=(s=(l=f(s,o,l)).s>n.s)?n:l,l=s?l:n,n=`${b}-${p+=1}-`;let{J:v,m:_,i:A,v:x,A:P,j:w}=function(t,i=t.getBoundingClientRect(),n=i,s=getComputedStyle(t).getPropertyValue("object-position"),e=a(t,i)){i=h(s,i,e),s=document.createElement("div");let r=document.createElement("div"),o=document.createElement("div"),l=document.createElement("div"),c=document.createElement("div");return(t=t.cloneNode(!0)).className="",t.style.cssText="",c.appendChild(t),l.appendChild(c),o.appendChild(l),r.appendChild(o),s.appendChild(r),Object.assign(r.style,{overflow:"hidden",width:`${n.width}px`,height:`${n.height}px`}),Object.assign(c.style,{transform:`translate(${i.left}px,${i.top}px)`}),Object.assign(t.style,{display:"block",width:`${e.width}px`,height:`${e.height}px`}),{J:s,m:r,i:o,v:l,A:c,j:t}}(l.j,l.rect,l.c,l.objectPosition,l.h);e=function t(i){var{position:n}=getComputedStyle(i);return"static"!=n?i:(n=i.offsetParent||i.parentElement)?t(n):i}(t).getBoundingClientRect(),b=function({m:t,i:i,f:n,g:s,curve:e,styles:r,a:o,b:a}){let l=`${o}-crop`;o=`${o}-counterScale`,s={x:s.width/n.width,y:s.height/n.height};let h={x:1,y:1};return n=a?s:h,a=a?h:s,Object.assign(t.style,r,{willChange:"transform",transformOrigin:"top left",animationName:l,animationTimingFunction:"linear",animationFillMode:"forwards"}),Object.assign(i.style,r,{willChange:"transform",transformOrigin:"top left",animationName:o,animationTimingFunction:"linear",animationFillMode:"forwards"}),function({I:t,w:i,curve:n,F:s,u:e}){let r="",o="";for(let s=0;20>=s;s++){var a=.05*s,l=u(n.y1,n.y2,a);a=100*u(n.x1,n.x2,a);var h=t.x;h+=l*(i.x-h);var c=t.y;r+=`${a}% {transform: scale(${h},${l=c+l*(i.y-c)});}`,o+=`${a}% {transform: scale(${c=1/h},${1/l});}`}return`@keyframes ${s} {${r}}@keyframes ${e} {${o}}`}({I:n,w:a,curve:e,F:l,u:o})}({m:_,i:A,f:l.c,g:o.c,curve:d,styles:g,a:n,b:s}),e=function({element:t,D:i,f:n,g:s,curve:e,styles:r,a:o,b:a}){o=`${o}-translation`;var l=a?s:n;return n=a?n:s,s=l.left-n.left,l=l.top-n.top,Object.assign(t.style,r,{position:"absolute",top:n.top-i.top+"px",left:n.left-i.left+"px",willChange:"transform",animationName:o,animationTimingFunction:c(e),animationFillMode:"forwards"}),`@keyframes ${o} {from {transform: translate(${s}px,${l}px);}to {transform: translate(0,0);}}`}({element:v,D:e,f:l.c,g:o.c,curve:d,styles:g,a:n,b:s}),r=function({element:t,f:i,g:n,l:s,o:e,C:r,H:o,curve:a,styles:l,a:u,b:m}){return a=c(a),u=`${u}-object-position`,i=h(r,i,s),e=h(o,n,e),n=m?e:i,m=m?i:e,Object.assign(t.style,l,{willChange:"transform",animationName:u,animationTimingFunction:a,animationFillMode:"forwards"}),`@keyframes ${u} {from {transform: translate(${n.left}px,${n.top}px);}to {transform: translate(${m.left}px,${m.top}px);}}`}({element:P,f:l.rect,g:o.rect,l:l.h,o:o.h,C:l.objectPosition,H:o.objectPosition,curve:d,styles:g,a:n,b:s});let y=function({element:t,f:i,B:n,g:s,G:e,curve:r,styles:o,a:a,b:l}){return a=`${a}-crop-position`,i={top:i.top-n.top,left:i.left-n.left},e={top:s.top-e.top,left:s.left-e.left},s=l?e:i,l=l?i:e,Object.assign(t.style,o,{willChange:"transform",animationName:a,animationTimingFunction:c(r),animationFillMode:"forwards"}),`@keyframes ${a} {from {transform: translate(${s.left}px,${s.top}px);}to {transform: translate(${l.left}px,${l.top}px);}}`}({element:x,f:l.rect,B:l.c,g:o.rect,G:o.c,curve:d,styles:g,a:n,b:s});d=function({element:t,l:i,o:n,curve:s,styles:e,a:r,b:o}){r=`${r}-scale`;let a={x:1,y:1};return n={x:n.width/i.width,y:n.height/i.height},i=o?n:a,o=o?a:n,Object.assign(t.style,e,{willChange:"transform",transformOrigin:"top left",animationName:r,animationTimingFunction:c(s),animationFillMode:"forwards"}),`@keyframes ${r} {from {transform: scale(${i.x},${i.y});}to {transform: scale(${o.x},${o.y});}}`}({element:w,l:l.h,o:o.h,curve:d,styles:g,a:n,b:s});let M=document.createElement("style");return M.textContent=b+e+r+y+d,{applyAnimation:function(){i.appendChild(M),t.appendChild(v)},cleanupAnimation:function(){t.removeChild(v),i.removeChild(M)}}}({styleContainer:this.getAmpDoc().getHeadNode(),transitionContainer:this.getAmpDoc().getBody(),srcImg:t,srcCropRect:n.getBoundingClientRect(),targetImg:i,targetCropRect:s.getBoundingClientRect(),styles:{"animationDuration":`${o}ms`,"zIndex":2147483642},keyframesNamespace:void 0,curve:ci})}catch(t){Kt(t)}}),(()=>{U(s,n),N(this.element,"opacity",""),G(e,{animationName:n?"fadeIn":"fadeOut",animationTimingFunction:"cubic-bezier(0.8, 0, 0.2, 1)",animationDuration:`${o}ms`,animationFillMode:"forwards"}),G(s,{animationName:"fadeIn",animationDelay:o-.01+"ms",animationDuration:"0.01ms",animationFillMode:"forwards"}),t.classList.add("i-amphtml-ghost"),i.classList.add("i-amphtml-ghost"),l&&l.applyAnimation()})).then((()=>Dt(this.win,r))).then((()=>this.mutateElement(d)))}Iht(t){return this.yht(t,!0)}Rht(t){return this.yht(t,!1)}Mht(t){return this.mutateElement((()=>{t&&(bt(this.element).scheduleUnlayout(this.element,this.V4),U(this.V4,!0),U(this.element,!0)),this.element.setAttribute("i-amphtml-lbg-fade",t?"in":"out")})).then((()=>Dt(this.win,400))).then((()=>{this.element.removeAttribute("i-amphtml-lbg-fade"),t||(U(this.V4,!1),U(this.element,!1))}))}k_(){const{sourceElement:t}=this.uht();return this.Pht(t)?this.uht().imageViewer.signals().whenSignal(d).then((()=>this.Iht(t))):this.Mht(!0)}q_(){const{sourceElement:t}=this.uht();return this.wht()?this.Rht(t):this.Mht(!1)}xz(t,i=250,n=500,s=700){return e=Math.abs(t)/i*s,R((r=n)<=(o=s)),Math.min(Math.max(e,r),o);var e,r,o}vht(t){return j(t,'amp-carousel[type="slides"], amp-base-carousel')}Vht(){const t=this.uht().sourceElement,i=this.vht(t);if(i){const n=g(i.querySelectorAll(C(".i-amphtml-slide-item, .i-amphtml-carousel-slotted",":scope"))),s=j(t,hi),e=n.indexOf(s);tt(i).getImpl().then((t=>t.goToSlide(e)))}}pI(){return this.Elt?(this.Vht(),this.Elt=!1,this.ght(),this.hf.documentElement.removeEventListener("keydown",this.po),this.V4.removeEventListener("slideChange",this.Ilt),Gt.get(this.V4).cleanup(),this.Slt.toggleOverflow(!1),this.mutateElement((()=>{this.Nlt||this.getViewport().leaveLightboxMode(),this.v_.removeAttribute("gallery-view"),this.Flt&&(this.Flt.classList.add("i-amphtml-ghost"),this.Flt=null)})).then((()=>this.q_())).then((()=>{this.Nlt&&this.getViewport().leaveLightboxMode(),bt(this.element).schedulePause(this.element,this.v_),this._ht(),this.V4=null,-1!=this.kB&&this.Xn.pop(this.kB)}))):r()}mo(t){if(!this.Elt)return;const{key:i}=t;switch(i){case"Escape":this.pI();break;case"ArrowLeft":this.kht(-1);break;case"ArrowRight":this.kht(1)}}kht(t){this.v_.hasAttribute("gallery-view")||tt(this.V4).getImpl().then((i=>{i.goCallback(t,!0,!1)}))}aht(){this.Flt||this.Cht(),this.Slt.toggleOverflow(!1),this.mutateElement((()=>{this.v_.setAttribute("gallery-view",""),U(this.V4,!1)})),_t(this.element,"thumbnailsViewToggled")}lht(){return this.mutateElement((()=>{this.v_.removeAttribute("gallery-view"),bt(this.element).scheduleUnlayout(this.element,this.V4),U(this.V4,!0),this.oht()}))}Cht(){const t=this.Blt;this.Flt=this.element.querySelector(`.i-amphtml-lbg-gallery[amp-lightbox-group=${$(t)}]`),this.Flt?(this.Flt.classList.remove("i-amphtml-ghost"),this.$ht()):(this.Flt=D(this.hf)(ei),this.Flt.setAttribute("amp-lightbox-group",this.Blt),this.Oht(),this.mutateElement((()=>{this.v_.appendChild(this.Flt)})))}$ht(){const t=this.Nv.getThumbnails(this.Blt).map(((t,i)=>s({index:i},t))).filter((t=>Ft[t.element.tagName]));this.mutateElement((()=>{t.forEach((t=>{t.timestampPromise.then((i=>{if(!i||isNaN(i))return;const n=Lt(i),s=F(this.Flt.childNodes[t.index],"div");s.childNodes.length>1&&s.removeChild(s.childNodes[1]),s.appendChild(this.hf.createTextNode(n)),s.classList.add("i-amphtml-lbg-has-timestamp")}))}))}))}Oht(){const t=[];this.Nv.getThumbnails(this.Blt).forEach((i=>{if("AMP-AD"==i.element.tagName)return;const n=this.Sht(i);t.push(n)})),this.mutateElement((()=>t.forEach((t=>this.Flt.appendChild(t)))))}jht(t,i){t.stopPropagation(),Promise.all([this.lht(),tt(this.V4).getImpl()]).then((t=>{this.Tlt=i,t[1].goToSlide(this.Tlt),this.oht()}))}Sht(t){const i=D(this.hf)(ri),n=F(i,"img");if(t.srcset?n.setAttribute("srcset",t.srcset.stringify()):n.setAttribute("src",t.placeholderSrc),i.appendChild(n),Ft[t.element.tagName]){const n=D(this.hf)(oi);t.timestampPromise.then((t=>{if(!t||isNaN(t))return;const i=Lt(t);n.appendChild(this.hf.createTextNode(i)),n.classList.add("i-amphtml-lbg-has-timestamp")})),i.appendChild(n)}return i.addEventListener("click",(i=>{this.jht(i,t.element.lightboxItemId)})),i}};t.registerElement(ai,ui,'.i-amphtml-lbg-caption-scroll{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:1;padding-top:40px!important;box-sizing:border-box!important;color:#fff;text-shadow:1px 0 5px rgba(0,0,0,.4)!important;overflow:hidden!important;max-height:calc(80px + 3rem)!important;transition:max-height 0.3s ease-out!important;pointer-events:none!important}.i-amphtml-lbg-caption-text{padding:20px!important;pointer-events:all!important}.i-amphtml-lbg-caption-text:empty{display:none!important}[i-amphtml-lbg-caption-state=clip]{mask-image:linear-gradient(0deg,transparent 0rem,rgba(0,0,0,.2) 1rem,rgba(0,0,0,.55) 2rem,#000 3rem)}[i-amphtml-lbg-caption-state=expand]{overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;max-height:100%!important;transition:max-height 0.7s ease-out!important;mask-image:linear-gradient(transparent,rgba(0,0,0,.2) 20px,rgba(0,0,0,.55) 40px,#000 60px)}.i-amphtml-lbg-caption-mask{min-height:1rem;width:100%!important;position:fixed!important;bottom:0!important;pointer-events:all!important}[i-amphtml-lbg-caption-state=clip]+.i-amphtml-lbg-caption-mask{z-index:1!important;background:transparent!important;transition:background-color 0.5s ease-out!important}[i-amphtml-lbg-caption-state=expand]+.i-amphtml-lbg-caption-mask{background-color:rgba(0,0,0,.4)!important;top:0!important;z-index:0!important;transition:background-color 0.4s ease-in!important}.i-amphtml-lbg[gallery-view] .i-amphtml-lbg-caption{display:none}.i-amphtml-lbg-top-bar{position:absolute!important;left:0!important;right:0!important;top:0!important;height:56px!important;z-index:1!important;background:linear-gradient(rgba(0,0,0,.3),transparent)}@media (min-width:1024px){.i-amphtml-lbg-top-bar{height:80px!important}}.i-amphtml-lbg-button{position:absolute!important;cursor:pointer!important;width:24px;height:24px;padding:16px;box-sizing:content-box}@media (min-width:1024px){.i-amphtml-lbg-button{width:40px;height:40px;padding:20px}}.i-amphtml-lbg-button:after{content:""!important;width:100%!important;height:100%!important;display:block!important;background-repeat:no-repeat!important;background-position:50%!important}.i-amphtml-lbg-button[data-action=close]{top:0!important;right:0!important}.i-amphtml-lbg-button[data-action=close]:after{background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path stroke="%23fff" stroke-linejoin="round" stroke-width="2" d="m6.4 6.4 11.2 11.2Zm11.2 0L6.4 17.6Z"/></svg>\')}.i-amphtml-lbg-button[data-action=gallery]{top:0!important;left:0!important}.i-amphtml-lbg-button[data-action=gallery]:after{background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g fill="%23fff"><rect width="6" height="8" x="3" y="3" rx="1" ry="1"/><rect width="6" height="8" x="15" y="13" rx="1" ry="1"/><rect width="10" height="8" x="11" y="3" rx="1" ry="1"/><rect width="10" height="8" x="3" y="13" rx="1" ry="1"/></g></svg>\')}.i-amphtml-lbg-button[data-action=slides]{top:0!important;left:0!important;display:none}.i-amphtml-lbg-button[data-action=slides]:after{background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect width="16" height="16" x="4" y="4" fill="none" stroke="%23fff" stroke-width="2" rx="1"/><circle cx="15.5" cy="8.5" r="1.5" fill="%23fff"/><path fill="%23fff" d="M5 19v-6l3-3 5 5 3-3 3 3v4z"/></svg>\')}.i-amphtml-lbg-button[data-action=next],.i-amphtml-lbg-button[data-action=prev]{top:0!important;bottom:0!important;margin:auto!important;filter:drop-shadow(0 0 1px black)!important;width:40px;height:40px;padding:20px}.i-amphtml-lbg-button[data-action=next]{right:0!important;left:auto!important}.i-amphtml-lbg-button[data-action=next]:after{background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m10 7.4 4.6 4.6-4.6 4.6"/></svg>\')}.i-amphtml-lbg-button[data-action=prev]{right:auto!important;left:0!important}.i-amphtml-lbg-button[data-action=prev]:after{background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="%23fff" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 7.4 9.4 12l4.6 4.6"/></svg>\')}[i-amphtml-lbg-single-item] .i-amphtml-lbg-button[data-action=gallery],[i-amphtml-lbg-single-item] .i-amphtml-lbg-button[data-action=next],[i-amphtml-lbg-single-item] .i-amphtml-lbg-button[data-action=prev]{visibility:hidden!important}.i-amphtml-lbg[gallery-view] .i-amphtml-lbg-button[data-action=gallery],.i-amphtml-lbg[gallery-view] .i-amphtml-lbg-button[data-action=next],.i-amphtml-lbg[gallery-view] .i-amphtml-lbg-button[data-action=prev]{display:none!important}.i-amphtml-lbg[gallery-view] .i-amphtml-lbg-button[data-action=slides]{display:block!important}[i-amphtml-lbg-fade]{animation-fill-mode:forwards;animation-duration:400ms}[i-amphtml-lbg-fade=in]{animation-name:fadeIn}[i-amphtml-lbg-fade=out]{animation-name:fadeOut}amp-lightbox-gallery[i-amphtml-lbg-fade]{position:relative;z-index:2147483642;animation-timing-function:cubic-bezier(0.8,0,0.2,1)}amp-lightbox-gallery .amp-carousel-button{display:none}amp-lightbox-gallery amp-carousel{background:transparent!important}.i-amphtml-lbg{position:fixed!important;z-index:2147483642}.i-amphtml-lbg,.i-amphtml-lbg-gallery,.i-amphtml-lbg-mask{top:0!important;left:0!important;right:0!important;bottom:0!important}.i-amphtml-lbg-gallery,.i-amphtml-lbg-mask{background-color:#000!important;position:absolute!important}.i-amphtml-lbg-gallery{display:none;top:56px!important;overflow:auto!important}@media (min-width:1024px){.i-amphtml-lbg-gallery{top:80px!important}}.i-amphtml-lbg-overlay:not([i-amphtml-lbg-fade]){opacity:0;visibility:hidden}.i-amphtml-lbg-overlay[i-amphtml-lbg-fade=in]{animation-timing-function:ease-in}.i-amphtml-lbg-overlay[i-amphtml-lbg-fade=out]{animation-timing-function:linear}.i-amphtml-lbg[gallery-view] .i-amphtml-lbg-gallery{display:grid!important;-ms-flex-pack:center!important;justify-content:center!important;grid-gap:5px!important;grid-template-columns:repeat(3,1fr);grid-auto-rows:min-content!important;padding:5px}@media (min-width:1024px){.i-amphtml-lbg[gallery-view] .i-amphtml-lbg-gallery{grid-template-columns:repeat(4,249.75px)}}.i-amphtml-lbg-gallery-thumbnail{position:relative!important;padding-top:100%!important}.i-amphtml-lbg-gallery-thumbnail-img{width:100%!important;height:100%!important;position:absolute!important;top:0!important;-o-object-fit:cover!important;object-fit:cover!important;cursor:pointer!important}.i-amphtml-lbg-thumbnail-timestamp-container{background-color:#292d33;color:#fff;position:absolute;bottom:10px;left:10px;height:20px;border-radius:2px;opacity:0.8;width:20px}.i-amphtml-lbg-thumbnail-timestamp-container.i-amphtml-lbg-has-timestamp{font-size:12px;padding:0 5px 0 18px;line-height:1.3rem;width:auto}.i-amphtml-lbg-thumbnail-play-icon{background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 24 24"><path d="M8 5v14l11-7z"/><path fill="none" d="M0 0h24v24H0z"/></svg>\');height:16px;width:16px;position:absolute;left:2px;bottom:2px}amp-lightbox-gallery .i-amphtml-slide-item>*{height:auto}@keyframes fadeIn{0%{opacity:0}to{opacity:1;visibility:visible}}@keyframes fadeOut{0%{opacity:1}to{opacity:0;visibility:hidden}}\n/*# sourceURL=/extensions/amp-lightbox-gallery/0.1/amp-lightbox-gallery.css*/'),t.registerServiceForDoc("amp-lightbox-manager",class{constructor(t){this.ji=t,this.aN=null,this.Fht=w({default:[]}),this.QS=0,this.t$=new Set}maybeInit(){if(this.aN)return this.aN;this.aN=this.zht();const t=this.ji.getRootNode();return t.addEventListener("amp:dom-update",(()=>{this.aN=this.zht()})),t.addEventListener("amp-auto-lightbox:newly-set",(t=>{const{target:i}=t;this.Dht(i)})),this.aN}zht(){return this.ji.whenReady().then((()=>{const t=this.ji.getRootNode().querySelectorAll("[lightbox],[data-lightbox]"),i=this.Dht.bind(this);t.forEach(i)}))}Lht(t){return St.has(t.tagName)}Bht(t){const i=t.getAttribute("lightbox")||`carousel${t.getAttribute("id")||this.QS++}`;this.Nht(t).then((t=>{t.forEach((t=>{if(t.hasAttribute("lightbox-exclude")||t.hasAttribute("lightbox")&&t.getAttribute("lightbox")!==i)return;const n=function(t){const i=t.tagName.toUpperCase();if("AMP-IMG"==i||"FIGURE"==i)return t;const n=t.querySelector("figure");if(n)return n;const s=t.querySelectorAll("amp-img");return it(1==s.length,"Found more than one images or none in slide!"),s[0]}(t);this.t$.has(n)||(n.setAttribute("lightbox",i),this.t$.add(n),this.Ght(n,i))}))}))}Dht(t){if(!this.t$.has(t))if(this.t$.add(t),zt.has(t.tagName))this.Bht(t);else{const i=t.getAttribute("lightbox")||"default";this.Ght(t,i)}}Uht(t,i){const n=function(t,i){for(let n=t.firstElementChild;n;n=n.nextElementSibling)if(i(n))return n;return null}(t,(t=>"FIGCAPTION"!==t.tagName)),s=n.classList.contains("i-amphtml-inline-gallery-slide-content-slot"),e=s?s.firstChild:n;return e&&e.setAttribute("lightbox",i),e}Ght(t,i){if("FIGURE"==t.tagName){const n=this.Uht(t,i);if(!n)return;t=n}if(it(this.Lht(t),"The element %s isn't supported in lightbox yet.",t.tagName),this.Fht[i]||(this.Fht[i]=[]),this.Fht[i].push(t),function(t){if("a"==t.tagName.toLowerCase()&&t.hasAttribute("href"))return!0;if(t.querySelector("a[href]"))return!0;const i=dt(t);if(i.hasResolvableAction(t,"tap",t.parentElement))return!0;const n=t.querySelectorAll("[on]");for(let t=0;t<n.length;t++){const s=n[t];if(i.hasResolvableAction(s,"tap",s.parentElement))return!0}return!1}(t))return;const n=z(this.ji.getRootNode(),"amp-lightbox-gallery");dt(t).setActions(t,`tap:${n.id}.activate`)}Nht(t){return t.signals().whenSignal(d).then((()=>g(t.querySelectorAll(".amp-carousel-slide, .i-amphtml-carousel-slotted"))))}getElementsForLightboxGroup(t){return this.maybeInit().then((()=>tt(this.Fht[t])))}getDescription(t){const i=j(t,"figure");if(i){const t=z(i,"figcaption");if(t)return t.innerText}const n=t.getAttribute("aria-describedby");if(n){const t=this.ji.getElementById(n);if(t)return t.innerText}return""}Hht(t){return Ft[t.tagName]?t.getImpl().then((t=>t.getDuration())):r()}getThumbnails(t){return this.Fht[t].map((t=>({srcset:this.Xht(t),placeholderSrc:this.Yht(t),element:t,timestampPromise:this.Hht(t)})))}Yht(t){switch(t.tagName){case"AMP-AD":return'data:image/svg+xml;charset=utf-8,<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#1E3B63" d="M0 0h128v128H0z"/><rect fill="#2B6AC0" x="34" y="74" width="8" height="30" rx="2"/><rect fill="#2B6AC0" x="87" y="74" width="8" height="30" rx="2"/><rect fill="#ACC8F0" x="24" y="30" width="81" height="54" rx="4"/><path fill="#D1E5FF" d="M29 35h71v44H29z"/><path d="M64 53.5V66a3 3 0 0 1-6 0v-4h-5v4a3 3 0 0 1-6 0V53.5a8.5 8.5 0 0 1 17 0zm-6 0a2.5 2.5 0 0 0-5 0V56h5v-2.5zM71 45h3v.041C80.16 45.55 85 50.71 85 57s-4.84 11.45-11 11.959V69h-3a3 3 0 0 1-3-3V48a3 3 0 0 1 3-3zm3 6.083v11.834a6.002 6.002 0 0 0 0-11.834z" fill="#225CAC"/></g></svg>';case"AMP-VIDEO":case"AMP-YOUTUBE":return'data:image/svg+xml;charset=utf-8,<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path fill="#1E3B63" d="M0 0h128v128H0z"/><path d="M24 51h80v46a4 4 0 0 1-4 4H28a4 4 0 0 1-4-4V51z" fill="#225CAC"/><path fill="#1B519B" d="M24 49h80v12H24z"/><path fill="#D1E5FF" d="M56 49l-8 12h-9l8-12zm16 0l-8 12h-8l8-12zm32 0l-8 12h-8l8-12zm-16 0l-8 12h-8l8-12z"/><path d="M26.916 49.148l77.274-20.705-2.07-7.728a4 4 0 0 0-4.9-2.828L27.674 36.522a4 4 0 0 0-2.829 4.899l2.07 7.727z" fill="#1B519B"/><path fill="#D1E5FF" d="M57.826 40.866l-10.834-9.52-8.693 2.329 10.833 9.52zm15.454-4.141l-10.833-9.52-7.727 2.07 10.833 9.52zm30.91-8.282l-10.833-9.52-7.728 2.07 10.834 9.52zm-15.455 4.141l-10.833-9.52-7.728 2.07 10.834 9.52z"/><path d="M28 37h9.86a4 4 0 0 1 3.327 1.781L48 49l-8 12H24V41a4 4 0 0 1 4-4z" fill="#2B6AC0"/><circle fill="#D1E5FF" cx="29.5" cy="44.5" r="1.5"/><circle fill="#D1E5FF" cx="29.5" cy="55.5" r="1.5"/></g></svg>';default:return'data:image/svg+xml;charset=utf-8,<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M9 20.5a1.5 1.5 0 0 1-3 0c0-6.488 5-8.53 5-13.5a4 4 0 1 0-8 0 1.5 1.5 0 0 1-3 0 7 7 0 1 1 14 0c0 5.483-5 7.485-5 13.5z" id="a"/><circle id="b" cx="7.5" cy="29.5" r="1.5"/></defs><g fill="none" fill-rule="evenodd"><path fill="#1E3B63" d="M0 0h128v128H0z"/><path d="M33 24.5h62a4 4 0 0 1 4 4v54.952L78.081 104.5H33a4 4 0 0 1-4-4v-72a4 4 0 0 1 4-4z" fill="#D1E5FF"/><g transform="translate(57 48)"><use fill="#225CAC" xlink:href="#a"/><path stroke="#225CAC" d="M9.5 20.5a2 2 0 1 1-4 0c0-2.85.756-4.755 2.58-7.59l.385-.595c.152-.236.265-.412.373-.584C10.006 9.873 10.5 8.601 10.5 7a3.5 3.5 0 1 0-7 0 2 2 0 1 1-4 0 7.5 7.5 0 0 1 15 0c0 2.273-.642 3.81-2.314 6.409l-.266.412C10.133 16.592 9.5 18.103 9.5 20.5z"/></g><g transform="translate(57 48)"><use fill="#225CAC" xlink:href="#b"/><circle stroke="#225CAC" cx="7.5" cy="29.5" r="2"/></g><path d="M82 83.5h17l-21 21v-17a4 4 0 0 1 4-4z" fill="#ACC8F0"/></g></svg>'}}Xht(t){if(t.hasAttribute("lightbox-thumbnail-id")){const i=t.getAttribute("lightbox-thumbnail-id"),n=this.ji.getElementById(i);if(St.has(null==n?void 0:n.tagName))return Rt(n)}return this.Jht(t)}Jht(t){if(St.has(t.tagName))return Rt(t);if("AMP-VIDEO"==t.tagName)return this.Zht(t);const i=(n=t,O("placeholder"),S(n,"> [placeholder]"));var n;return i?this.Jht(i):null}Zht(t){const i=t.getAttribute("poster");return i?Vt(i):null}}),gt(t.win).addDocFactory((function(t){return t.whenReady().then((()=>t.getBody())).then((i=>{if(!z(t.getRootNode(),ai)){const n=t.win.document.createElement(ai);n.setAttribute("layout","nodisplay"),n.setAttribute("id","amp-lightbox-gallery"),i.appendChild(n)}}))}))})();
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */}});
//# sourceMappingURL=amp-lightbox-gallery-0.1.mjs.map