Socket
Socket
Sign inDemoInstall

@ampproject/amp-inline-gallery

Package Overview
Dependencies
5
Maintainers
16
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2110212130.0 to 1.2110252343.0

2

dist/component-preact.module.js

@@ -1,2 +0,2 @@

function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach((function(t){Ht(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function on(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}import{cloneElement as ee,createContext as st,createElement as rt,createRef as re}from"preact";import{hydrate as ae,render as lt}from"preact";import{useCallback as le,useContext as at,useEffect as se,useImperativeHandle as ce,useLayoutEffect as ct,useMemo as ft,useRef as ie,useState as ut}from"preact/hooks";function oe(e,t,n){return rt.apply(void 0,arguments)}function ue(e){return ut(e)}var ht=st({slides:[],setSlides:e=>{}},void 0);import{Children as pe,createPortal as fe,forwardRef as Sn}from"preact/compat";function de(e){return Sn(e)}var Tn=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],Vn=[null,"paint","layout","content","size","size paint","size layout","strict"],In={"position":"relative","width":"100%","height":"100%"},On=de((function(e,t){let{as:n="div",children:r,"class":a,contentAs:l="div",contentClassName:s,contentProps:c,contentRef:i,contentStyle:o,layout:u=!1,paint:p=!1,size:f=!1,"style":d,wrapperClassName:y,wrapperStyle:b}=e;const v=(f?4:0)+(u?2:0)+(p?1:0);return oe(n,Bt(Bt({},on(e,Tn)),{},{ref:t,class:`${a||""} ${y||""}`.trim()||null,style:Bt(Bt(Bt({},d),b),{},{contain:Vn[v]})}),oe(l,Bt(Bt({},c),{},{ref:i,class:s,style:Bt(Bt({},f&&In),{},{"overflow":p?"hidden":"visible"},o)}),r))})),Cn=["as","children","class","style","wrapperClassName","wrapperStyle"];de((function(e,t){let{as:n="div",children:r,"class":a,"style":l,wrapperClassName:s,wrapperStyle:c}=e;return oe(n,Bt(Bt({},on(e,Cn)),{},{ref:t,class:`${a||""} ${s||""}`.trim()||null,style:Bt(Bt({},l),c)}),r)}));var{hasOwnProperty:gt,toString:_t}=Object.prototype,Fn=(new WeakMap,new WeakMap,["children"]);function ye(e){let{children:t}=e,n=on(e,Fn);const[r,a]=ue(0),[l,s]=ue([]),c=ft((()=>({currentSlide:r,setCurrentSlide:a,slides:l,setSlides:s})),[r,l]);return oe(On,Bt({size:!1,layout:!0},n),oe(ht.Provider,{value:c},t))}export{ye as BentoInlineGallery};
function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?t(Object(a),!0).forEach((function(t){e(n,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}function r(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}import{cloneElement as a,createContext as l,createElement as s,createRef as c}from"preact";import{hydrate as i,render as o}from"preact";import{useCallback as u,useContext as p,useEffect as f,useImperativeHandle as d,useLayoutEffect as y,useMemo as b,useRef as v,useState as m}from"preact/hooks";function O(e,t,n){return s.apply(void 0,arguments)}function j(e){return m(e)}var w=l({slides:[],setSlides:e=>{}},void 0);import{Children as h,createPortal as S,forwardRef as C}from"preact/compat";function z(e){return C(e)}var N=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],$=[null,"paint","layout","content","size","size paint","size layout","strict"],g={"position":"relative","width":"100%","height":"100%"},k=z((function(e,t){let{as:a="div",children:l,"class":s,contentAs:c="div",contentClassName:i,contentProps:o,contentRef:u,contentStyle:p,layout:f=!1,paint:d=!1,size:y=!1,"style":b,wrapperClassName:v,wrapperStyle:m}=e;const j=(y?4:0)+(f?2:0)+(d?1:0);return O(a,n(n({},r(e,N)),{},{ref:t,class:`${s||""} ${v||""}`.trim()||null,style:n(n(n({},b),m),{},{contain:$[j]})}),O(c,n(n({},o),{},{ref:u,class:i,style:n(n({},y&&g),{},{"overflow":d?"hidden":"visible"},p)}),l))})),P=["as","children","class","style","wrapperClassName","wrapperStyle"];z((function(e,t){let{as:a="div",children:l,"class":s,"style":c,wrapperClassName:i,wrapperStyle:o}=e;return O(a,n(n({},r(e,P)),{},{ref:t,class:`${s||""} ${i||""}`.trim()||null,style:n(n({},c),o)}),l)}));var{hasOwnProperty:A,toString:M}=Object.prototype,R=(new WeakMap,new WeakMap,["children"]);function W(e){let{children:t}=e,a=r(e,R);const[l,s]=j(0),[c,i]=j([]),o=b((()=>({currentSlide:l,setCurrentSlide:s,slides:c,setSlides:i})),[l,c]);return O(k,n({size:!1,layout:!0},a),O(w.Provider,{value:o},t))}export{W as BentoInlineGallery};
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */

@@ -1,2 +0,2 @@

function Ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach((function(t){Ht(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function on(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}import{cloneElement as ee,createContext as st,createElement as rt,createRef as re}from"react";import{hydrate as ae,render as lt}from"react-dom";import{useCallback as le,useContext as at,useEffect as se,useImperativeHandle as ce,useLayoutEffect as ct,useMemo as ft,useRef as ie,useState as ut}from"react";function oe(e,t,n){return rt.apply(void 0,arguments)}function ue(e){return ut(e)}var ht=st({slides:[],setSlides:e=>{}},void 0);import{Children as pe,createPortal as fe,forwardRef as Sn}from"react";function de(e){return Sn(e)}var Tn=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],Vn=[null,"paint","layout","content","size","size paint","size layout","strict"],In={"position":"relative","width":"100%","height":"100%"},On=de((function(e,t){let{as:n="div",children:r,"class":a,contentAs:l="div",contentClassName:s,contentProps:c,contentRef:i,contentStyle:o,layout:u=!1,paint:p=!1,size:f=!1,"style":d,wrapperClassName:y,wrapperStyle:b}=e;const v=(f?4:0)+(u?2:0)+(p?1:0);return oe(n,Bt(Bt({},on(e,Tn)),{},{ref:t,class:`${a||""} ${y||""}`.trim()||null,style:Bt(Bt(Bt({},d),b),{},{contain:Vn[v]})}),oe(l,Bt(Bt({},c),{},{ref:i,class:s,style:Bt(Bt({},f&&In),{},{"overflow":p?"hidden":"visible"},o)}),r))})),Cn=["as","children","class","style","wrapperClassName","wrapperStyle"];de((function(e,t){let{as:n="div",children:r,"class":a,"style":l,wrapperClassName:s,wrapperStyle:c}=e;return oe(n,Bt(Bt({},on(e,Cn)),{},{ref:t,class:`${a||""} ${s||""}`.trim()||null,style:Bt(Bt({},l),c)}),r)}));var{hasOwnProperty:gt,toString:_t}=Object.prototype,Fn=(new WeakMap,new WeakMap,["children"]);function ye(e){let{children:t}=e,n=on(e,Fn);const[r,a]=ue(0),[l,s]=ue([]),c=ft((()=>({currentSlide:r,setCurrentSlide:a,slides:l,setSlides:s})),[r,l]);return oe(On,Bt({size:!1,layout:!0},n),oe(ht.Provider,{value:c},t))}export{ye as BentoInlineGallery};
function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(n){for(var r=1;r<arguments.length;r++){var a=null!=arguments[r]?arguments[r]:{};r%2?t(Object(a),!0).forEach((function(t){e(n,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):t(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}function r(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}import{cloneElement as a,createContext as l,createElement as s,createRef as c}from"react";import{hydrate as i,render as o}from"react-dom";import{useCallback as u,useContext as p,useEffect as f,useImperativeHandle as d,useLayoutEffect as y,useMemo as b,useRef as v,useState as m}from"react";function O(e,t,n){return s.apply(void 0,arguments)}function j(e){return m(e)}var w=l({slides:[],setSlides:e=>{}},void 0);import{Children as h,createPortal as S,forwardRef as C}from"react";function z(e){return C(e)}var N=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],$=[null,"paint","layout","content","size","size paint","size layout","strict"],g={"position":"relative","width":"100%","height":"100%"},P=z((function(e,t){let{as:a="div",children:l,"class":s,contentAs:c="div",contentClassName:i,contentProps:o,contentRef:u,contentStyle:p,layout:f=!1,paint:d=!1,size:y=!1,"style":b,wrapperClassName:v,wrapperStyle:m}=e;const j=(y?4:0)+(f?2:0)+(d?1:0);return O(a,n(n({},r(e,N)),{},{ref:t,class:`${s||""} ${v||""}`.trim()||null,style:n(n(n({},b),m),{},{contain:$[j]})}),O(c,n(n({},o),{},{ref:u,class:i,style:n(n({},y&&g),{},{"overflow":d?"hidden":"visible"},p)}),l))})),k=["as","children","class","style","wrapperClassName","wrapperStyle"];z((function(e,t){let{as:a="div",children:l,"class":s,"style":c,wrapperClassName:i,wrapperStyle:o}=e;return O(a,n(n({},r(e,k)),{},{ref:t,class:`${s||""} ${i||""}`.trim()||null,style:n(n({},c),o)}),l)}));var{hasOwnProperty:A,toString:M}=Object.prototype,R=(new WeakMap,new WeakMap,["children"]);function W(e){let{children:t}=e,a=r(e,R);const[l,s]=j(0),[c,i]=j([]),o=b((()=>({currentSlide:l,setCurrentSlide:s,slides:c,setSlides:i})),[l,c]);return O(P,n({size:!1,layout:!0},a),O(w.Provider,{value:o},t))}export{W as BentoInlineGallery};
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */

@@ -1,2 +0,2 @@

function t(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,e=new Array(n);i<n;i++)e[i]=t[i];return e}function n(n,i){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(e)return(e=e.call(n)).next.bind(e);if(Array.isArray(n)||(e=function(n,i){if(n){if("string"==typeof n)return t(n,i);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(n,i):void 0}}(n))||i&&n&&"number"==typeof n.length){e&&(n=e);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i;function e(){return i||(i=Promise.resolve(void 0))}var r,l,o,s,u,c,a,f,h,d,v=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},p={},y=[],m=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function b(t,n){for(var i in n)t[i]=n[i];return t}function g(t){var n=t.parentNode;n&&n.removeChild(t)}function _(t,n,i){var e,l,o,s={};for(o in n)"key"==o?e=n[o]:"ref"==o?l=n[o]:s[o]=n[o];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(o in t.defaultProps)void 0===s[o]&&(s[o]=t.defaultProps[o]);return w(t,s,e,l,null)}function w(t,n,i,e,r){var s={type:t,props:n,key:i,ref:e,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++o:r};return null!=l.vnode&&l.vnode(s),s}function A(t){return t.children}function P(t,n){this.props=t,this.context=n}function k(t,n){if(null==n)return t.__?k(t.__,t.__.__k.indexOf(t)+1):null;for(var i;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e)return i.__e;return"function"==typeof t.type?k(t):null}function R(t){var n,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return R(t)}}function M(t){(!t.__d&&(t.__d=!0)&&s.push(t)&&!E.__r++||c!==l.debounceRendering)&&((c=l.debounceRendering)||u)(E)}function E(){for(var t;E.__r=s.length;)t=s.sort((function(t,n){return t.__v.__b-n.__v.__b})),s=[],t.some((function(t){var n,i,e,r,l,o;t.__d&&(l=(r=(n=t).__v).__e,(o=n.__P)&&(i=[],(e=b({},r)).__v=r.__v+1,x(o,r,e,n.__n,void 0!==o.ownerSVGElement,null!=r.__h?[l]:null,i,null==l?k(r):l,r.__h),N(i,r),r.__e!=l&&R(r)))}))}function S(t,n,i,e,r,l,o,s,u,c){var a,f,h,d,v,m,b,g=e&&e.__k||y,_=g.length;for(i.__k=[],a=0;a<n.length;a++)if(null!=(d=i.__k[a]=null==(d=n[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?w(null,d,null,null,d):Array.isArray(d)?w(A,{children:d},null,null,null):d.__b>0?w(d.type,d.props,d.key,null,d.__v):d)){if(d.__=i,d.__b=i.__b+1,null===(h=g[a])||h&&d.key==h.key&&d.type===h.type)g[a]=void 0;else for(f=0;f<_;f++){if((h=g[f])&&d.key==h.key&&d.type===h.type){g[f]=void 0;break}h=null}x(t,d,h=h||p,r,l,o,s,u,c),v=d.__e,(f=d.ref)&&h.ref!=f&&(b||(b=[]),h.ref&&b.push(h.ref,null,d),b.push(f,d.__c||v,d)),null!=v?(null==m&&(m=v),"function"==typeof d.type&&null!=d.__k&&d.__k===h.__k?d.__d=u=T(d,u,t):u=I(t,d,h,g,v,u),c||"option"!==i.type?"function"==typeof i.type&&(i.__d=u):t.value=""):u&&h.__e==u&&u.parentNode!=t&&(u=k(h))}for(i.__e=m,a=_;a--;)null!=g[a]&&("function"==typeof i.type&&null!=g[a].__e&&g[a].__e==i.__d&&(i.__d=k(e,a+1)),$(g[a],g[a]));if(b)for(a=0;a<b.length;a++)L(b[a],b[++a],b[++a])}function T(t,n,i){var e,r;for(e=0;e<t.__k.length;e++)(r=t.__k[e])&&(r.__=t,n="function"==typeof r.type?T(r,n,i):I(i,r,r,t.__k,r.__e,n));return n}function V(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){V(t,n)})):n.push(t)),n}function I(t,n,i,e,r,l){var o,s,u;if(void 0!==n.__d)o=n.__d,n.__d=void 0;else if(null==i||r!=l||null==r.parentNode)t:if(null==l||l.parentNode!==t)t.appendChild(r),o=null;else{for(s=l,u=0;(s=s.nextSibling)&&u<e.length;u+=2)if(s==r)break t;t.insertBefore(r,l),o=l}return void 0!==o?o:r.nextSibling}function O(t,n,i){"-"===n[0]?t.setProperty(n,i):t[n]=null==i?"":"number"!=typeof i||m.test(n)?i:i+"px"}function C(t,n,i,e,r){var l;t:if("style"===n)if("string"==typeof i)t.style.cssText=i;else{if("string"==typeof e&&(t.style.cssText=e=""),e)for(n in e)i&&n in i||O(t.style,n,"");if(i)for(n in i)e&&i[n]===e[n]||O(t.style,n,i[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+l]=i,i?e||t.addEventListener(n,l?z:j,l):t.removeEventListener(n,l?z:j,l);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in t)try{t[n]=null==i?"":i;break t}catch(t){}"function"==typeof i||(null!=i&&(!1!==i||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,i):t.removeAttribute(n))}}function j(t){this.l[t.type+!1](l.event?l.event(t):t)}function z(t){this.l[t.type+!0](l.event?l.event(t):t)}function x(t,n,i,e,o,s,u,c,a){var f,h,d,v,y,m,_,w,R,M,E,T=n.type;if(void 0!==n.constructor)return null;null!=i.__h&&(a=i.__h,c=n.__e=i.__e,n.__h=null,s=[c]),(f=l.__b)&&f(n);try{t:if("function"==typeof T){if(w=n.props,R=(f=T.contextType)&&e[f.__c],M=f?R?R.props.value:f.__:e,i.__c?_=(h=n.__c=i.__c).__=h.__E:("prototype"in T&&T.prototype.render?n.__c=h=new T(w,M):(n.__c=h=new P(w,M),h.constructor=T,h.render=U),R&&R.sub(h),h.props=w,h.state||(h.state={}),h.context=M,h.__n=e,d=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=b({},h.__s)),b(h.__s,T.getDerivedStateFromProps(w,h.__s))),v=h.props,y=h.state,d)null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==T.getDerivedStateFromProps&&w!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(w,M),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(w,h.__s,M)||n.__v===i.__v){h.props=w,h.state=h.__s,n.__v!==i.__v&&(h.__d=!1),h.__v=n,n.__e=i.__e,n.__k=i.__k,n.__k.forEach((function(t){t&&(t.__=n)})),h.__h.length&&u.push(h);break t}null!=h.componentWillUpdate&&h.componentWillUpdate(w,h.__s,M),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(v,y,m)}))}h.context=M,h.props=w,h.state=h.__s,(f=l.__r)&&f(n),h.__d=!1,h.__v=n,h.__P=t,f=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(e=b(b({},e),h.getChildContext())),d||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(v,y)),E=null!=f&&f.type===A&&null==f.key?f.props.children:f,S(t,Array.isArray(E)?E:[E],n,i,e,o,s,u,c,a),h.base=n.__e,n.__h=null,h.__h.length&&u.push(h),_&&(h.__E=h.__=null),h.__e=!1}else null==s&&n.__v===i.__v?(n.__k=i.__k,n.__e=i.__e):n.__e=function(t,n,i,e,l,o,s,u){var c,a,f,h=i.props,d=n.props,v=n.type,y=0;if("svg"===v&&(l=!0),null!=o)for(;y<o.length;y++)if((c=o[y])&&(c===t||(v?c.localName==v:3==c.nodeType))){t=c,o[y]=null;break}if(null==t){if(null===v)return document.createTextNode(d);t=l?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,d.is&&d),o=null,u=!1}if(null===v)h===d||u&&t.data===d||(t.data=d);else{if(o=o&&r.call(t.childNodes),a=(h=i.props||p).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!u){if(null!=o)for(h={},y=0;y<t.attributes.length;y++)h[t.attributes[y].name]=t.attributes[y].value;(f||a)&&(f&&(a&&f.__html==a.__html||f.__html===t.innerHTML)||(t.innerHTML=f&&f.__html||""))}if(function(t,n,i,e,r){var l;for(l in i)"children"===l||"key"===l||l in n||C(t,l,null,i[l],e);for(l in n)r&&"function"!=typeof n[l]||"children"===l||"key"===l||"value"===l||"checked"===l||i[l]===n[l]||C(t,l,n[l],i[l],e)}(t,d,h,l,u),f)n.__k=[];else if(y=n.props.children,S(t,Array.isArray(y)?y:[y],n,i,e,l&&"foreignObject"!==v,o,s,o?o[0]:i.__k&&k(i,0),u),null!=o)for(y=o.length;y--;)null!=o[y]&&g(o[y]);u||("value"in d&&void 0!==(y=d.value)&&(y!==t.value||"progress"===v&&!y)&&C(t,"value",y,h.value,!1),"checked"in d&&void 0!==(y=d.checked)&&y!==t.checked&&C(t,"checked",y,h.checked,!1))}return t}(i.__e,n,i,e,o,s,u,a);(f=l.diffed)&&f(n)}catch(t){n.__v=null,(a||null!=s)&&(n.__e=c,n.__h=!!a,s[s.indexOf(c)]=null),l.__e(t,n,i)}}function N(t,n){l.__c&&l.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){l.__e(t,n.__v)}}))}function L(t,n,i){try{"function"==typeof t?t(n):t.current=n}catch(t){l.__e(t,i)}}function $(t,n,i){var e,r;if(l.unmount&&l.unmount(t),(e=t.ref)&&(e.current&&e.current!==t.__e||L(e,null,n)),null!=(e=t.__c)){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(t){l.__e(t,n)}e.base=e.__P=null}if(e=t.__k)for(r=0;r<e.length;r++)e[r]&&$(e[r],n,"function"!=typeof t.type);i||null==t.__e||g(t.__e),t.__e=t.__d=void 0}function U(t,n,i){return this.constructor(t,i)}function W(t,n,i){var e,o,s;l.__&&l.__(t,n),o=(e="function"==typeof i)?null:i&&i.__k||n.__k,s=[],x(n,t=(!e&&i||n).__k=_(A,null,[t]),o||p,p,void 0!==n.ownerSVGElement,!e&&i?[i]:o?null:n.firstChild?r.call(n.childNodes):null,s,!e&&i?i:o?o.__e:n.firstChild,e),N(s,t)}function D(t,n){W(t,n,D)}r=y.slice,l={__e:function(t,n){for(var i,e,r;n=n.__;)if((i=n.__c)&&!i.__)try{if((e=i.constructor)&&null!=e.getDerivedStateFromError&&(i.setState(e.getDerivedStateFromError(t)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t),r=i.__d),r)return i.__E=i}catch(n){t=n}throw t}},o=0,P.prototype.setState=function(t,n){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=b({},this.state),"function"==typeof t&&(t=t(b({},i),this.props)),t&&b(i,t),null!=t&&this.__v&&(n&&this.__h.push(n),M(this))},P.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),M(this))},P.prototype.render=A,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(e()):setTimeout,E.__r=0,a=0;var F=0,q=[],H=l.__b,Z=l.__r,B=l.diffed,G=l.__c,Q=l.unmount;function J(t,n){l.__h&&l.__h(h,t,F||n),F=0;var i=h.__H||(h.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function K(t,n){var i=J(f++,7);return it(i.__H,n)&&(i.__=t(),i.__H=n,i.__h=t),i.__}function X(){q.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(tt),t.__H.__h.forEach(nt),t.__H.__h=[]}catch(n){t.__H.__h=[],l.__e(n,t.__v)}})),q=[]}l.__b=function(t){h=null,H&&H(t)},l.__r=function(t){Z&&Z(t),f=0;var n=(h=t.__c).__H;n&&(n.__h.forEach(tt),n.__h.forEach(nt),n.__h=[])},l.diffed=function(t){B&&B(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==q.push(n)&&d===l.requestAnimationFrame||((d=l.requestAnimationFrame)||function(t){var n,i=function(){clearTimeout(e),Y&&cancelAnimationFrame(n),setTimeout(t)},e=setTimeout(i,100);Y&&(n=requestAnimationFrame(i))})(X)),h=void 0},l.__c=function(t,n){n.some((function(t){try{t.__h.forEach(tt),t.__h=t.__h.filter((function(t){return!t.__||nt(t)}))}catch(i){n.some((function(t){t.__h&&(t.__h=[])})),n=[],l.__e(i,t.__v)}})),G&&G(t,n)},l.unmount=function(t){Q&&Q(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(tt)}catch(t){l.__e(t,n.__v)}};var Y="function"==typeof requestAnimationFrame;function tt(t){var n=h;"function"==typeof t.__c&&t.__c(),h=n}function nt(t){var n=h;t.__c=t.__(),h=n}function it(t,n){return!t||t.length!==n.length||n.some((function(n,i){return n!==t[i]}))}function et(t,n){return"function"==typeof n?n(t):n}function rt(t,n,i){return _.apply(void 0,arguments)}function lt(t,n,i){W(t,n,i)}function ot(t){return t.children}function st(t){return(i={__c:n="__cC"+a++,__:t,Consumer:function(t,n){return t.children(n)},Provider:function(t){var i,e;return this.getChildContext||(i=[],(e={})[n]=this,this.getChildContext=function(){return e},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&i.some(M)},this.sub=function(t){i.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){i.splice(i.indexOf(t),1),n&&n.call(t)}}),t.children}}).Provider.__=i.Consumer.contextType=i;var n,i}function ut(t){return F=1,n=et,i=t,(e=J(f++,2)).t=n,e.__c||(e.__=[et(void 0,i),function(t){var n=e.t(e.__[0],t);e.__[0]!==n&&(e.__=[n,e.__[1]],e.__c.setState({}))}],e.__c=h),e.__;var n,i,e}function ct(t,n){var i,e,r;i=t,e=n,r=J(f++,4),!l.__s&&it(r.__H,e)&&(r.__=i,r.__H=e,h.__h.push(r))}function at(t){return n=t,i=h.context[n.__c],(e=J(f++,9)).c=n,i?(null==e.__&&(e.__=!0,i.sub(h)),i.props.value):n.__;var n,i,e}function ft(t,n){return K(t,n)}var ht=st({slides:[],setSlides:t=>{}}),{isArray:dt}=Array;function vt(t){return dt(t)?t:[t]}function pt(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function yt(t,n){const i=t.indexOf(n);return-1!=i&&(t.splice(i,1),!0)}function mt(t,n){return n.toUpperCase()}function bt(t){return t.replace(/-([a-z])/g,mt)}var{hasOwnProperty:gt,toString:_t}=Object.prototype;function wt(t){return t||{}}function At(t){return 1==(null==t?void 0:t.nodeType)}function Pt(t,n,i,e,r,l,o,s,u,c,a){return t}function kt(t,n){return t}function Rt(){}function Mt(t,n=null){let i=!1;const e=()=>{i=!1,t()};return t=>{i||(i=!0,(t||n)(e))}}function Et(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:i,stack:e}=t,r=new Error(i);for(const n in t)r[n]=t[n];return r.stack=e,r}function St(t){let i=null,e="";for(var r,l=n(arguments,!0);!(r=l()).done;){const t=r.value;t instanceof Error&&!i?i=Et(t):(e&&(e+=" "),e+=t)}return i?e&&(i.message=e+": "+i.message):i=new Error(e),i}function Tt(t){var n,i;null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,t)}function Vt(t){const n=St.apply(null,arguments);setTimeout((()=>{throw Tt(n),n}))}function It(t,...n){try{return t.apply(null,n)}catch(t){Vt(t)}}function Ot(t,i,e,r=!0,l=!0){if(l){const n=i(t,e,r);n&&Ot(t,i,e,n,!1)}else if(t.children)for(var o,s=n(t.children,!0);!(o=s()).done;)Ot(o.value,i,e,r,!0)}Rt.prototype.key,Rt.prototype.type,Rt.prototype.deps,Rt.prototype.recursive,Rt.prototype.compute,Rt.prototype.defaultValue;var Ct=[],jt=()=>{};function zt(){}function xt(){}function Nt(t,n){return t.values.scan(n)}function Lt(t,n,i){return t.values.scanAll(i)}function $t(t,n){return t.values.has(n)}function Ut(t){return!!t.recursive}function Wt(t){return void 0!==t}zt.prototype.values,zt.prototype.setters,xt.prototype.prop,xt.prototype.subscribers,xt.prototype.value,xt.prototype.pending,xt.prototype.counter,xt.prototype.depValues,xt.prototype.parentValue,xt.prototype.parentContextNode,xt.prototype.ping,xt.prototype.pingDep,xt.prototype.pingParent;var Dt=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Dt(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let i=t;for(;i;){if(i!=t||n){if(i.__AMP_NODE)return i.__AMP_NODE;const{nodeType:t}=i;if(9==t||11==t||1==t&&kt(i).tagName.startsWith("AMP-"))return Dt.get(i)}i=i.__AMP_ASSIGNED_SLOT||i.assignedSlot||i.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,Ft(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,Ft(t))}static rediscoverChildren(t){var n;const i=t.__AMP_NODE;null==i||null===(n=i.children)||void 0===n||n.forEach(qt)}constructor(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor(t){this.i=t,this.h=null,this.v=null,this.p=Mt(this.p.bind(this),setTimeout)}set(t,n,i){Pt(n),Pt(void 0!==i);const{key:e}=t,r=this.h||(this.h=new Map);let l=r.get(e);l||(l={values:[],setters:[]},r.set(e,l));const o=l.setters.indexOf(n),s=-1==o||l.values[o]!==i;-1==o?(l.setters.push(n),l.values.push(i)):s&&(l.values[o]=i),s&&(this.ping(t,!1),Ut(t)&&Ot(this.i,Nt,t,!0,!1))}remove(t,n){Pt(n);const{key:i}=t,e=this.h,r=null==e?void 0:e.get(i);if(r){const l=r.setters.indexOf(n);-1!=l&&(r.setters.splice(l,1),r.values.splice(l,1),0==r.setters.length&&e.delete(i),Ot(this.i,Nt,t))}}has(t){var n;return!(null===(n=this.h)||void 0===n||!n.has(t.key))}subscribe(t,n){const i=this.m(t);if(!pt(i.subscribers,n))return;const e=i.value;Wt(e)&&this.g()&&n(e)}unsubscribe(t,n){var i;const e=null===(i=this.v)||void 0===i?void 0:i.get(t.key);e&&yt(e.subscribers,n)&&this._(e)}ping(t,n){var i,e;null===(i=this.v)||void 0===i||null===(e=i.get(t.key))||void 0===e||e.ping(n)}parentUpdated(){this.g()&&Ot(this.i,Lt,void 0,Ct)}rootUpdated(){const t=this.v;t&&(this.g()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Ut(n)&&this.A(t,null)})))}scan(t){return this.ping(t,!0),!!Ut(t)&&!this.has(t)}scanAll(t){let n=null;const i=this.v;return i&&i.forEach((i=>{const{prop:e}=i,{key:r}=e;-1==(n||t).indexOf(r)&&(this.ping(e,!0),this.i.children&&this.has(e)&&(n||(n=t.slice(0)),n.push(r)))})),n||t}g(){return!!this.i.root}m(t){const{deps:n,key:i}=t,e=this.v||(this.v=new Map);let r=e.get(i);return r||(r={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(jt):Ct,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.g()){const n=t?2:1;r.pending=Math.max(r.pending,n),this.p()}},pingDep:n.length>0?n.map(((t,n)=>t=>{r.depValues[n]=t,r.ping()})):Ct,pingParent:Ut(t)?t=>{r.parentValue=t,r.ping()}:null},e.set(i,r),n.forEach(((t,n)=>this.subscribe(t,r.pingDep[n]))),r.ping(!1)),r}_(t){if(t.subscribers.length>0)return;const{pingDep:n,prop:i}=t,{deps:e,key:r}=i;this.v.delete(r),this.A(t,null),e.length>0&&e.forEach(((t,i)=>{this.unsubscribe(t,n[i])}))}p(){if(!this.g())return;const t=this.v;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:i}=t.prop;if(t.counter++,t.counter>5)return Vt(`cyclical prop: ${i}`),void(t.pending=0);n++,this.P(t)}}))}while(n>0)}P(t){const n=2==t.pending;let i;try{i=this.k(t,n)}catch(t){Vt(t)}t.pending=0,this.R(t,i)}R(t,i){const{prop:e,value:r}=t,{key:l}=e,o=this.v;if(r===i||t!==(null==o?void 0:o.get(l))||!this.g())return;t.value=i;const{subscribers:s}=t;for(var u,c=n(s,!0);!(u=c()).done;)(0,u.value)(i)}k(t,n){var i,e;Pt(this.g());const{depValues:r,prop:l}=t,{compute:o,defaultValue:s,key:u}=l,c=null===(i=this.h)||void 0===i||null===(e=i.get(u))||void 0===e?void 0:e.values,a=function(t,n){const{compute:i,recursive:e}=t;return"function"==typeof e?!n||e(n):!(e&&n&&!i)&&e}(l,c);if(n||a!=Boolean(t.parentContextNode)){const n=a?function(t,n,i,e=!0){for(let r=e?t:t.parent;r;r=r.parent)if(n(r,i))return r;return null}(this.i,$t,l,!1):null;this.A(t,n)}const f=Wt(t.parentValue)?t.parentValue:a&&!t.parentContextNode?s:void 0;let h;if(r.every(Wt)&&(!a||Wt(f))){const{node:t}=this.i;c&&!o?h=c[0]:Ut(l)?c||r.length>0?h=function(t,n,i,e,r){switch(r.length){case 0:return t(n,i,e);case 1:return t(n,i,e,r[0]);case 2:return t(n,i,e,r[0],r[1]);case 3:return t(n,i,e,r[0],r[1],r[2]);default:return t.apply(null,[n,i,e].concat(r))}}(o,t,c||Ct,f,r):Wt(f)&&(h=f):o&&(h=function(t,n,i,e){switch(e.length){case 0:return t(n,i);case 1:return t(n,i,e[0]);case 2:return t(n,i,e[0],e[1]);case 3:return t(n,i,e[0],e[1],e[2]);default:return t.apply(null,[n,i].concat(e))}}(o,t,c||Ct,r))}return h}A(t,n){const{parentContextNode:i,pingParent:e,prop:r}=t;n!=i&&(t.parentContextNode=n,t.parentValue=void 0,i&&i.values.unsubscribe(r,Pt(e)),n&&n.values.subscribe(r,Pt(e)))}}(this),this.M=null,this.S=!1,this.T=Mt(this.V.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,i;const e=t.target;e.assignedNodes().forEach(Ft),null===(n=Dt.closest(e))||void 0===n||null===(i=n.children)||void 0===i||i.forEach(qt)})),this.discover()}discover(){this.isDiscoverable()?this.T():this.name&&this.children&&this.children.forEach(qt)}isDiscoverable(){return!this.isRoot&&!this.S}setParent(t){const n=null!=t&&t.nodeType?Dt.get(t):t;this.I(n,null!=t)}setIsRoot(t){var n,i;this.isRoot=t;const e=t?this:null!==(n=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==n?n:null;this.updateRoot(e)}updateRoot(t){Pt(!t||t.isRoot);const n=this.root;var i,e;t!=n&&(this.root=t,this.values.rootUpdated(),null===(i=this.M)||void 0===i||i.forEach((t=>t.rootUpdated())),null===(e=this.children)||void 0===e||e.forEach((n=>n.updateRoot(t))))}addGroup(t,n,i){const e=this.groups||(this.groups=new Map),{children:r,node:l}=this,o=new Dt(l,t);return e.set(t,{cn:o,match:n,weight:i}),o.setParent(this),null==r||r.forEach(qt),o}group(t){var n,i;return(null===(n=this.groups)||void 0===n||null===(i=n.get(t))||void 0===i?void 0:i.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let i=null,e=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:r,weight:l})=>{r(t,this.node)&&l>e&&(i=n,e=l)})),i}subscribe(t,n,i,e){const r=this.M||(this.M=new Map);let l=r.get(t);l||(l=new n(this,i,e),r.set(t,l))}unsubscribe(t){const n=this.M,i=null==n?void 0:n.get(t);i&&(i.dispose(),n.delete(t))}V(){if(!this.isDiscoverable())return;const t=Dt.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.I(n,!1)}I(t,i){var e;this.S=i;const r=this.parent;if(t!=r){if(this.parent=t,null!=r&&r.children&&yt(Pt(r.children),this),t){const i=t.children||(t.children=[]);pt(i,this);for(var l,o=n(i,!0);!(l=o()).done;){const t=l.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(e=null==t?void 0:t.root)&&void 0!==e?e:null)}};function Ft(t){!function(t,i,e=!0){const r=Dt.closest(t,e);if(r)if(r.node==t)i(r);else if(r.children)for(var l,o=n(r.children,!0);!(l=o()).done;){const n=l.value;t.contains(n.node)&&i(n)}}(t,qt)}function qt(t){t.discover()}function Ht(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function Zt(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function Bt(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Zt(Object(i),!0).forEach((function(n){Ht(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Zt(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t}var Gt=[];function Qt(t,n){const i=Bt({key:t,type:null,deps:Gt,recursive:!1,compute:null,defaultValue:void 0},n);return Pt(0==i.deps.length||i.compute),i}var Jt=[],Kt=()=>{};function Xt(t,n,i){n=vt(n);const e=i;Dt.get(t).subscribe(e,Yt,i,n)}var Yt=class{constructor(t,n,i){if(this.contextNode=t,this.O=n,this.C=i,this.j=i.length>0?i.map(Kt):Jt,this.N=i.length>0?i.map(((t,n)=>t=>{this.j[n]=t,this.L()})):Jt,this.$=!1,this.U=null,this.L=Mt(this.L.bind(this),setTimeout),i.length>0){const{values:t}=this.contextNode;i.forEach(((n,i)=>t.subscribe(n,this.N[i])))}this.g()&&this.L()}dispose(){if(this.C.length>0){const{values:t}=this.contextNode;this.C.forEach(((n,i)=>t.unsubscribe(n,this.N[i])))}this.W()}rootUpdated(){const t=this.g();this.W(),t&&this.L()}g(){return!!this.contextNode.root}L(){this.g()&&(this.j.every(tn)?(this.$=!0,this.D()):this.$&&(this.$=!1,this.W()))}D(){this.U&&(It(this.U),this.U=null);const t=this.O;this.U=function(t,n){switch(n.length){case 0:return t();case 1:return t(n[0]);case 2:return t(n[0],n[1]);case 3:return t(n[0],n[1],n[2]);default:return t.apply(null,n)}}(t,this.j)}W(){this.U&&(It(this.U),this.U=null)}};function tn(t){return void 0!==t}function nn(t){Dt.get(t).discover()}function en(t,n,i,e){Dt.get(t).values.set(n,i,e)}function rn(t,n,i){Dt.get(t).values.remove(n,i)}var ln=Qt("base-carousel:1.0:context",{type:ht,recursive:!0,defaultValue:null});function on(t,n){if(null==t)return{};var i,e,r={},l=Object.keys(t);for(e=0;e<l.length;e++)i=l[e],n.indexOf(i)>=0||(r[i]=t[i]);return r}function sn(t,n){for(var i in n)t[i]=n[i];return t}function un(t,n){for(var i in t)if("__source"!==i&&!(i in n))return!0;for(var e in n)if("__source"!==e&&t[e]!==n[e])return!0;return!1}function cn(t){this.props=t}(cn.prototype=new P).isPureReactComponent=!0,cn.prototype.shouldComponentUpdate=function(t,n){return un(this.props,t)||un(this.state,n)};var an=l.__b;l.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),an&&an(t)};var fn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,hn=l.__e;l.__e=function(t,n,i){if(t.then)for(var e,r=n;r=r.__;)if((e=r.__c)&&e.__c)return null==n.__e&&(n.__e=i.__e,n.__k=i.__k),e.__c(t,n);hn(t,n,i)};var dn=l.unmount;function vn(){this.__u=0,this.t=null,this.__b=null}function pn(t){var n=t.__.__c;return n&&n.__e&&n.__e(t)}function yn(){this.u=null,this.o=null}l.unmount=function(t){var n=t.__c;n&&n.__R&&n.__R(),n&&!0===t.__h&&(t.type=null),dn&&dn(t)},(vn.prototype=new P).__c=function(t,n){var i=n.__c,e=this;null==e.t&&(e.t=[]),e.t.push(i);var r=pn(e.__v),l=!1,o=function(){l||(l=!0,i.__R=null,r?r(s):s())};i.__R=o;var s=function(){if(!--e.__u){if(e.state.__e){var t=e.state.__e;e.__v.__k[0]=function t(n,i,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return t(n,i,e)})),n.__c&&n.__c.__P===i&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}(t,t.__c.__P,t.__c.__O)}var n;for(e.setState({__e:e.__b=null});n=e.t.pop();)n.forceUpdate()}},u=!0===n.__h;e.__u++||u||e.setState({__e:e.__b=e.__v.__k[0]}),t.then(o,o)},vn.prototype.componentWillUnmount=function(){this.t=[]},vn.prototype.render=function(t,n){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),e=this.__v.__k[0].__c;this.__v.__k[0]=function t(n,i,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),n.__c.__H=null),null!=(n=sn({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=i),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return t(n,i,e)}))),n}(this.__b,i,e.__O=e.__P)}this.__b=null}var r=n.__e&&_(A,null,t.fallback);return r&&(r.__h=null),[_(A,null,n.__e?null:t.children),r]};var mn=function(t,n,i){if(++i[1]===i[0]&&t.o.delete(n),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(i=t.u;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;t.u=i=i[2]}};(yn.prototype=new P).__e=function(t){var n=this,i=pn(n.__v),e=n.o.get(t);return e[0]++,function(r){var l=function(){n.props.revealOrder?(e.push(r),mn(n,t,e)):r()};i?i(l):l()}},yn.prototype.render=function(t){this.u=null,this.o=new Map;var n=V(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&n.reverse();for(var i=n.length;i--;)this.o.set(n[i],this.u=[1,0,this.u]);return t.children},yn.prototype.componentDidUpdate=yn.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(n,i){mn(t,i,n)}))};var bn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,gn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,_n=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};P.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(P.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})}));var wn=l.event;function An(){}function Pn(){return this.cancelBubble}function kn(){return this.defaultPrevented}l.event=function(t){return wn&&(t=wn(t)),t.persist=An,t.isPropagationStopped=Pn,t.isDefaultPrevented=kn,t.nativeEvent=t};var Rn={configurable:!0,get:function(){return this.class}},Mn=l.vnode;l.vnode=function(t){var n=t.type,i=t.props,e=i;if("string"==typeof n){for(var r in e={},i){var l=i[r];"value"===r&&"defaultValue"in i&&null==l||("defaultValue"===r&&"value"in i&&null==i.value?r="value":"download"===r&&!0===l?l="":/ondoubleclick/i.test(r)?r="ondblclick":/^onchange(textarea|input)/i.test(r+n)&&!_n(i.type)?r="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(r)?r=r.toLowerCase():gn.test(r)?r=r.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===l&&(l=void 0),e[r]=l)}"select"==n&&e.multiple&&Array.isArray(e.value)&&(e.value=V(i.children).forEach((function(t){t.props.selected=-1!=e.value.indexOf(t.props.value)}))),"select"==n&&null!=e.defaultValue&&(e.value=V(i.children).forEach((function(t){t.props.selected=e.multiple?-1!=e.defaultValue.indexOf(t.props.value):e.defaultValue==t.props.value}))),t.props=e}n&&i.class!=i.className&&(Rn.enumerable="className"in i,null!=i.className&&(e.class=i.className),Object.defineProperty(e,"className",Rn)),t.$$typeof=bn,Mn&&Mn(t)};var En=l.__r;function Sn(t){return function(t){function n(n,i){var e=sn({},n);return delete e.ref,t(e,(i=n.ref||i)&&("object"!=typeof i||"current"in i)?i:null)}return n.$$typeof=fn,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(t.displayName||t.name)+")",n}(t)}l.__r=function(t){En&&En(t),t.__c};var Tn=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],Vn=[null,"paint","layout","content","size","size paint","size layout","strict"],In={"position":"relative","width":"100%","height":"100%"},On=Sn((function(t,n){let{as:i="div",children:e,"class":r,contentAs:l="div",contentClassName:o,contentProps:s,contentRef:u,contentStyle:c,layout:a=!1,paint:f=!1,size:h=!1,"style":d,wrapperClassName:v,wrapperStyle:p}=t;const y=(h?4:0)+(a?2:0)+(f?1:0);return rt(i,Bt(Bt({},on(t,Tn)),{},{ref:n,class:`${r||""} ${v||""}`.trim()||null,style:Bt(Bt(Bt({},d),p),{},{contain:Vn[y]})}),rt(l,Bt(Bt({},s),{},{ref:u,class:o,style:Bt(Bt({},h&&In),{},{"overflow":f?"hidden":"visible"},c)}),e))})),Cn=["as","children","class","style","wrapperClassName","wrapperStyle"];function jn(t){return(t.ownerDocument||t).defaultView}function zn(t){Pt(/^[\w-]+$/.test(t))}function xn(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function Nn(t,n){const i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!i&&i.call(t,n)}function Ln(t,n){return zn(n),xn(t,`> [${n}]`)}function $n(t){return function(t,n){const i=[];for(let n=t.firstChild;n;n=n.nextSibling)!(function(t){let n;return"string"==typeof t?n=t:t.nodeType===Node.ELEMENT_NODE&&(n=kt(t).tagName),!!n&&n.toLowerCase().startsWith("i-")}(e=n)||e.nodeType===Node.ELEMENT_NODE&&(kt(e),e.hasAttribute("placeholder")||e.hasAttribute("fallback")||e.hasAttribute("overflow")))&&i.push(n);var e;return i}(t)}Sn((function(t,n){let{as:i="div",children:e,"class":r,"style":l,wrapperClassName:o,wrapperStyle:s}=t;return rt(i,Bt(Bt({},on(t,Cn)),{},{ref:n,class:`${r||""} ${o||""}`.trim()||null,style:Bt(Bt({},l),s)}),e)}));var Un={bubbles:!0,cancelable:!0};function Wn(t,n,i){return function(t,n){for(const i in n)t.setAttribute(i,n[i]);return t}(t.createElement(n),i)}function Dn(t,n,i,e){const r=i||{},l=t.ownerDocument.createEvent("Event");l.data=r;const{bubbles:o,cancelable:s}=e||Un;l.initEvent(n,o,s),t.dispatchEvent(l)}new WeakMap,new WeakMap;var Fn=["children"],qn=["auto","lazy","eager","unload"],Hn={auto:0,lazy:1,eager:2,unload:3};function Zn(t,n){const i=Hn[t]||0,e=Hn[n]||0,r=Math.max(i,e);return qn[r]}function Bn(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function Gn(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let i,e,r;if(")"==n.charAt(n.length-1)){let t=1;for(r=n.length-2;r>=0;r--){const i=n.charAt(r);if("("==i?t--:")"==i&&t++,0==t)break}const i=r-1;if(r>0)for(r--;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(r>=i)return null}else for(r=n.length-2;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return r>=0?(i=n.substring(0,r+1).trim(),e=n.substring(r+1).trim()):(e=n,i=void 0),e?{query:i?t.matchMedia(i):null,value:e}:null})).filter(Boolean)}function Qn(t,n,i){for(let e=0;e<t.length;e++){const{query:r}=t[e];r&&(void 0!==r.onchange?r.onchange=i?n:null:i?r.addListener(n):r.removeListener(n))}}var Jn,Kn,Xn={"getPropertyPriority":()=>"","getPropertyValue":()=>""},Yn=/vertical/,ti=new WeakMap,ni=new WeakMap,ii=new WeakMap;function ei(t){let n=ti.get(t);return n||(n=new t.ResizeObserver(ri),ti.set(t,n)),n}function ri(t){const n=new Set;for(let i=t.length-1;i>=0;i--){const e=t[i],{target:r}=e;if(n.has(r))continue;n.add(r);const l=ni.get(r);if(l){ii.set(r,e);for(let t=0;t<l.length;t++){const{callback:n,type:i}=l[t];li(i,n,e)}}}}function li(t,n,i){if(0==t){const{contentRect:t}=i,{height:e,width:r}=t;It(n,{width:r,height:e})}else if(1==t){const{borderBoxSize:t}=i;let e;if(t)e=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=i,n=jn(t),r=Yn.test(function(t,n){return t.getComputedStyle(n)||Xn}(n,t)["writing-mode"]),{offsetHeight:l,offsetWidth:o}=t;let s,u;r?(u=o,s=l):(s=o,u=l),e={inlineSize:s,blockSize:u}}It(n,e)}}if("undefined"!=typeof AMP&&AMP.BaseElement)Jn=AMP.BaseElement;else{const t=HTMLElement;class n{constructor(t){this.element=t,this.win=jn(t)}static"CustomElement"(n){return class extends t{constructor(){super(),this.implementation=new n(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement(t){e().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}Jn=n}function oi(){return Kn||(Kn=st({renderable:!0,playable:!0,loading:"auto"}))}function si({children:t,loading:n="auto",notify:i,playable:e=!0,renderable:r=!0}){const l=ui(),o=r&&l.renderable,s=o&&e&&l.playable,u=Zn(o?"auto":"lazy",Zn(n,l.loading)),c=i||l.notify,a=ft((()=>({renderable:o,playable:s,loading:u,notify:c})),[o,s,u,c]);return rt(oi().Provider,{children:t,value:a})}function ui(){return at(oi())}var ci=Qt("CanRender",{defaultValue:!0,recursive:t=>t.reduce(hi),compute:(t,n,i)=>i&&n.reduce(hi,!0)||!1}),ai=Qt("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(hi),deps:[ci],compute:(t,n,i,e)=>e&&i&&n.reduce(hi,!0)||!1}),fi=Qt("Loading",{defaultValue:"auto",recursive:!0,deps:[ci],compute:(t,n,i,e)=>Zn(e?"auto":"lazy",Zn(i||"auto",n.reduce(Zn,"auto")))}),hi=(t,n)=>t&&n;function di(t){return t?"number"==typeof t?t:"string"==typeof t?function(t){if(!t)return null;if("now"===t.toLowerCase())return Date.now();const n=Date.parse(t);return isNaN(n)?null:n}(t):(t=t).getTime():null}var vi=t=>t.ensureLoaded(),pi=t=>t.pause(),yi=t=>t.unmount();function mi(t,n=!0){_i(t,n,!1,vi)}function bi(t,n=!0){_i(t,n,!0,pi)}function gi(t,n=!0){_i(t,n,!0,yi)}function _i(t,n,i,e){const r=vt(t);for(let t=0;t<r.length;t++)wi(r[t],n,i,e)}function wi(t,n,i,e){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(It(e,n),!i){const t=n.getPlaceholder();return void(t&&wi(t,!0,!1,e))}}const r=t.getElementsByClassName("i-amphtml-element");let l=null;for(let t=0;t<r.length;t++){const n=r[t];if(i)It(e,n);else{l=l||[];let t=!1;for(let i=0;i<l.length;i++)if(l[i].contains(n)){t=!0;break}t||(l.push(n),It(e,n))}}}var Ai={},Pi=new WeakMap;function ki(t,n,i,e=!1){if(t.setAttribute("slot",n),!e)return rt(Ri,Bt(Bt({},i||Ai),{},{name:n}));const r=Pi.get(t);if(r&&function(t,n){if(null==t||null==n)return t===n;for(const i in t)if(t[i]!==n[i])return!1;for(const i in n)if(n[i]!==t[i])return!1;return!0}(r.oldProps,i))return r.component;function l(t){return rt(Ri,Bt(Bt({},i||Ai),{},{name:n},t))}return Pi.set(t,{oldProps:i,component:l}),l}function Ri(t){const n=(null,F=5,K((function(){return{current:null}}),[]));var i,e,r;return function(t,n){const{"loading":i}=n||Ai,e=ui();ct((()=>{const n=t.current;return Pt(At(n)),en(n,ci,Ri,e.renderable),en(n,ai,Ri,e.playable),en(n,fi,Ri,e.loading),e.playable||Mi(n,bi,!0),()=>{var t;rn(n,ci,Ri),rn(n,ai,Ri),rn(n,fi,Ri),t=n,Dt.rediscoverChildren(t)}}),[t,e]),ct((()=>{const n=t.current;return Pt(At(n)),"lazy"!=i&&Mi(n,mi,!0),()=>{Mi(n,gi,!1)}}),[t,i])}(n,t),i=()=>{t.postRender&&t.postRender()},e=undefined,r=J(f++,3),!l.__s&&it(r.__H,e)&&(r.__=i,r.__H=e,h.__H.__h.push(r)),rt("slot",Bt(Bt({},t),{},{ref:n}))}function Mi(t,n,i){const e=t.assignedElements?t.assignedElements():t;if(Array.isArray(e)&&0==e.length)return;if(!i)return void n(e);const r=t.ownerDocument.defaultView;r&&(r.requestIdleCallback||r.setTimeout)((()=>n(e)))}var Ei={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Si=function(){let t=0;return()=>String(++t)}(),Ti=t=>"string"==typeof t||!!t.selector,Vi=t=>3===t.nodeType&&0===t.nodeValue.trim().length;function Ii(t,n,i,e,r){const{"layoutSizeDefined":l,"lightDomTag":o,"props":s}=t;r&&r.start();const u=Bt(Bt({},e),{},{ref:i});return o&&(u["i-amphtml-rendered"]=!0,u.__AMP_RENDERED=!0,u.as=o),l&&(t.usesShadowDom?u.style=Ei:u.class="i-amphtml-fill-content"),Oi(t,u,s,n,r),r&&r.complete(),u}function Oi(t,n,i,e,r){if(function(t,n){return Object.values(t).some(n)}(i,Ti)){const l=$n(e);for(let e=0;e<l.length;e++){const o=l[e],s=ji(o,i);if(!s)continue;const u=i[s],{as:c=!1,single:a,name:f=s,clone:h,props:d={}}=u;Pt(h||t.usesShadowDom);const v={};if(Oi(t,v,d,o,r),a)n[f]=ki(o,o.getAttribute("slot")||`i-amphtml-${f}`,v,c);else{const t=n[f]||(n[f]=[]);Pt(!c),t.push(h?Ci(o):ki(o,o.getAttribute("slot")||`i-amphtml-${f}-${Si()}`,v))}}}for(const u in i){const c=i[u];let a;if(Pt(!!c.attr+!!c.attrs+!!c.attrPrefix+!!c.selector+!!c.passthrough+!!c.passthroughNonEmpty<=1),c.passthrough)Pt(t.usesShadowDom),a=[rt(Ri,{loading:"lazy"})];else if(c.passthroughNonEmpty)Pt(t.usesShadowDom),a=$n(e).every(Vi)?null:[rt(Ri,{loading:"lazy"})];else if(c.attr)a=e.getAttribute(c.attr),c.media&&null!=a&&(a=r.resolveListQuery(String(a)));else if(c.parseAttrs)Pt(c.attrs),a=c.parseAttrs(e);else if(c.attrPrefix){const t={};let n=!1;const i=e.attributes;for(let e=0;e<i.length;e++){const r=i[e];o=r.name,s=c.attrPrefix,null!==o&&void 0!==s&&o.startsWith(s)&&o!==s&&(t[bt(r.name.slice(c.attrPrefix.length))]=r.value,n=!0)}n&&(a=t)}if(null==a)null!=c.default&&(n[u]=c.default);else{const t="number"==c.type?parseFloat(a):"boolean"==c.type?null==(l=a)?void 0:"false"!==l:"date"==c.type?di(a):a;n[u]=t}}var l,o,s}function Ci(t){const n={"key":t},{attributes:i,localName:e}=t,{length:r}=i;for(let t=0;t<r;t++){const{name:e,value:r}=i[t];n[e]=r}return rt(e,n)}function ji(t,n){for(const i in n){const e=n[i];if(Nn(t,"string"==typeof e?e:e.selector))return i}return null}var zi=self.AMP_CONFIG||{},xi=("string"==typeof zi.thirdPartyFrameRegex?new RegExp(zi.thirdPartyFrameRegex):zi.thirdPartyFrameRegex,("string"==typeof zi.cdnProxyRegex?new RegExp(zi.cdnProxyRegex):zi.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function Ni(t){if(!self.document||!self.document.head)return null;if(self.location&&xi.test(self.location.origin))return null;const n=self.document.head.querySelector(`meta[name="${t}"]`);return n&&n.getAttribute("content")||null}zi.thirdPartyUrl,zi.thirdPartyFrameHost,zi.cdnUrl||Ni("runtime-host"),zi.errorReportingUrl,zi.betaErrorReportingUrl,zi.localDev,zi.geoApiUrl||Ni("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var Li=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+Li,"gim"),new RegExp("(-shadowcsscontext"+Li,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var $i={childList:!0},Ui={childList:!0,characterData:!0},Wi={childList:!0},Di=wt({"style":"display: contents; background: inherit;","part":"c"}),Fi=wt({"name":"i-amphtml-svc"}),qi=wt({"i-amphtml-rendered":""}),Hi=()=>!0;function Zi(t,n){return Object.values(t).some(n)}var Bi=t=>!!t.media,Gi=t=>"string"==typeof t||!!t.selector,Qi=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Ji=class extends Jn{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}constructor(t){super(t),this.F=wt({"loading":"auto","onReadyState":(t,n)=>{this.q(t,n)},"onPlayingState":t=>{this.H(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.Z={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.B=!1,this.G=null,this.J=null,this.K=t=>{null!==t&&(this.G?this.X(t):this.Y(t)),this.J=t,this.tt()},this.nt=null,this.it=null,this.et=null,this.rt=!1,this.lt=null,this.ot=()=>{this.rt=!1,this.st()},this.ut=!1,this.ct=!1,this.observer=null,this.at=new class{constructor(t){this.ft=t,this.ht=!1,this.dt=!1,this.vt=this.vt.bind(this)}updatePlaying(t){t!==this.ht&&(this.ht=t,t?(this.dt=!1,function(t,n){!function(t,n,i){const e=t.ownerDocument.defaultView;if(!e)return;let r=ni.get(t);if(r||(r=[],ni.set(t,r),ei(e).observe(t)),!r.some((t=>t.callback===i&&1===t.type))){r.push({type:1,callback:i});const n=ii.get(t);n&&setTimeout((()=>li(1,i,n)))}}(t,0,n)}(this.ft,this.vt)):function(t,n){!function(t,n,i){const e=ni.get(t);if(e&&(function(t,n){const e=[];let r=0;for(let n=0;n<t.length;n++){const o=t[n];(l=o).callback===i&&1===l.type?e.push(o):(r<n&&(t[r]=o),r++)}var l;r<t.length&&(t.length=r)}(e),0==e.length)){ni.delete(t),ii.delete(t);const n=t.ownerDocument.defaultView;n&&ei(n).unobserve(t)}}(t,0,n)}(this.ft,this.vt))}vt({blockSize:t,inlineSize:n}){const i=n>0&&t>0;if(i===this.dt)return;this.dt=i;const e=this.ft;i||e.pause()}}(t),this.yt=null}init(){}isLayoutSupported(t){return this.constructor.layoutSizeDefined?function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)||"container"==t:super.isLayoutSupported(t)}buildCallback(){const t=this.constructor;this.observer=new MutationObserver((t=>this.bt(t)));const n=t.props,i=Zi(n,Gi)?$i:null,e=Zi(n,Qi)?Ui:null,r=t.usesTemplate?Wi:null;this.observer.observe(this.element,Bt(Bt(Bt({attributes:!0},i),e),r)),this.yt=Zi(n,Bi)?new class{constructor(t,n){this.gt=t,this._t=n,this.wt={},this.At=null}start(){this.At=this.wt,this.wt={}}resolveMatchQuery(t){return"1"===this.Pt(t,Bn,"1")}resolveListQuery(t){return this.Pt(t,Gn,"")}complete(){for(const t in this.At)t in this.wt||Qn(this.At[t],this._t,!1);this.At=null}dispose(){for(const t in this.wt)Qn(this.wt[t],this._t,!1);this.wt={}}Pt(t,n,i){if(!t.trim())return i;let e=this.wt[t]||this.At[t];return e||(e=n(this.gt,t),Qn(e,this._t,!0)),this.wt[t]=e,function(t){for(let n=0;n<t.length;n++){const{query:i,value:e}=t[n];if(!i||i.matches)return e}return""}(e)}}(this.win,(()=>this.kt())):null;const l=t.staticProps,o=this.init();Object.assign(this.F,l,o),this.checkPropsPostMutations(),Xt(this.element,[],(()=>()=>{this.ct=!1,this.et&&lt(null,this.et)})),Xt(this.element,[ci,ai,fi],((t,n,i)=>{this.Z.renderable=t,this.Z.playable=n,this.Z.loading=i,this.ct=!0,this.kt()}));const s=t.useContexts;var u;return 0!=s.length&&Xt(this.element,s,((...t)=>{this.it=t,this.kt()})),this.lt=new v,this.kt(),t.loadable&&(null===(u=this.setReadyState)||void 0===u||u.call(this,"loading")),this.tt(),this.lt.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(wt({"loading":"eager"})),this.B=!0)}mountCallback(){nn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.B=!1)}unmountCallback(){var t;nn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.H(!1),null===(t=this.yt)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.et&&this.kt()}attemptChangeHeight(t){return super.attemptChangeHeight(t).catch((t=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),t}))}mutateProps(t){Object.assign(this.F,t),this.kt()}api(){return Pt(this.J)}registerApiAction(t,n,i=2){var e;null===(e=this.registerAction)||void 0===e||e.call(this,t,(t=>n(this.api(),t)),i)}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}bt(t){const n=this.constructor;this.mutationObserverCallback(t);const i=t.some((t=>function(t,n){const{type:i}=n;if("attributes"==i){if(t.usesTemplate&&"template"==n.attributeName)return!0;const i=t.props;for(const t in i){const l=i[t];if(n.attributeName==l.attr||l.attrs&&l.attrs.includes(Pt(n.attributeName))||(e=n.attributeName,r=l.attrPrefix,null!==e&&void 0!==r&&e.startsWith(r)&&e!==r))return!0}return!1}var e,r;return"childList"==i&&(Xi(n.addedNodes)||Xi(n.removedNodes))}(n,t)));i&&(this.checkPropsPostMutations(),this.kt())}kt(){this.rt||(this.rt=!0,this.mutateElement(this.ot))}tt(){const{J:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.q(n)}q(t,n){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,t,n),this.constructor.unloadOnPause&&this.H("complete"==t),this.B&&(this.B=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var t,n,i;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null===(n=this.toggleFallback)||void 0===n||n.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)}handleOnLoading(){var t;null===(t=this.toggleLoading)||void 0===t||t.call(this,!0)}handleOnError(){var t,n,i,e,r;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null!==(n=this.getFallback)&&void 0!==n&&n.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!1)):null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!0)}st(){if(!this.ct)return;const t=this.constructor,n=t.usesShadowDom,i=n?null:t.lightDomTag,e=t.detached;if(!this.et){const d=this.win.document;if(n){Pt(!e);let{shadowRoot:n}=this.element,i=n&&(h=n,zn("c"),xn(h,"> c"));if(i)this.ut=!0;else{var r,l,o,s,u,c;n=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const e=t.shadowCss;e&&function(t,n,i){const e=t.ownerDocument,r=e.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==r.CSSStyleSheet.prototype.replaceSync){const e=r.__AMP_SHADOW_CSS||(r.__AMP_SHADOW_CSS={});let l=e[n];l||(l=new r.CSSStyleSheet,l.replaceSync(i),e[n]=l),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(l)}else{const r=e.createElement("style");r.setAttribute("data-name",n),r.textContent=i,t.appendChild(r)}}(n,this.element.tagName,e),i=Wn(d,"c",Di),n.appendChild(i);const a=Wn(d,"slot",Fi);n.appendChild(a),null===(r=this.getPlaceholder)||void 0===r||null===(l=r.call(this))||void 0===l||l.setAttribute("slot","i-amphtml-svc"),null===(o=this.getFallback)||void 0===o||null===(s=o.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(u=this.getOverflowElement)||void 0===u||null===(c=u.call(this))||void 0===c||c.setAttribute("slot","i-amphtml-svc")}this.et=i,function(t,n){Dt.get(t).setParent(n)}(n,this.element),function(t,n,i,e=0){Dt.get(t).addGroup(n,i,e)}(this.element,"unslotted",Hi,-1),a=this.element,f=ci,Dt.get(a).group("unslotted").values.set(f,this,!1)}else if(i){this.et=this.element;const n=Ln(this.et,"i-amphtml-rendered")||Wn(d,i,qi);n.__AMP_RENDERED=!0,t.layoutSizeDefined&&n.classList.add("i-amphtml-fill-content"),this.et.appendChild(n)}else{const t=d.createElement("i-amphtml-c");this.et=t,t.classList.add("i-amphtml-fill-content"),e||this.element.appendChild(t)}}var a,f,h;const d=t.useContexts,v=this.it;if(0!=d.length&&null==v)return;const p=Ii(t,this.element,this.K,this.F,this.yt);if(this.updatePropsForRendering(p),!this.isReady(p))return;let y=rt(t.Component,p);for(let t=0;t<d.length;t++){const n=d[t].type,i=v[t];i&&(y=rt(n.Provider,{value:i},y))}const m=rt(si,Bt({},this.Z),y);if(this.ut)this.ut=!1,D(m,this.et);else{const t=i?Ln(this.et,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),lt(m,this.et,t)}n||e||this.mutateElement((()=>Dn(this.element,"amp:dom-update",null))),this.lt&&(this.lt.resolve(),this.lt=null)}getProp(t,n){return i=this.F,e=t,gt.call(i,e)?this.F[t]:n;var i,e}getApi(){const t=this.G;return t?Promise.resolve(t):(this.nt||(this.nt=new v),this.nt.promise)}Y(t){const n=Object.create(null),i=Object.keys(t);for(let t=0;t<i.length;t++)Ki(this,n,i[t]);this.G=n,this.nt&&(this.nt.resolve(n),this.nt=null)}X(t){}triggerEvent(t,n,i){Dn(t,n,i)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(wt({"loading":"unload"})),this.B=!0;else{var t;const{J:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}H(t){this.at.updatePlaying(t)}};function Ki(t,n,i){Object.defineProperty(n,i,{configurable:!0,get:()=>t.J[i],set(n){t.J[i]=n}})}function Xi(t){for(let n=0;n<t.length;n++){const i=t[n];if(At(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}Ji.Component=function(){Pt(!1)},Ji.staticProps=void 0,Ji.useContexts=[],Ji.loadable=!1,Ji.unloadOnPause=!1,Ji.layoutSizeDefined=!1,Ji.lightDomTag="",Ji.usesTemplate=!1,Ji.shadowCss=null,Ji.usesShadowDom=!1,Ji.detached=!1,Ji.delegatesFocus=!1,Ji.props={};var Yi=class extends Ji{init(){return wt({"children":rt(te,{shimDomElement:this.element})})}};function te({shimDomElement:t}){const n=at(ln.type);return ct((()=>{en(t,ln,te,n)}),[t,n]),rt(ot,null)}function ne(){{const t=document.createElement("style");t.textContent="bento-inline-gallery,bento-inline-gallery-pagination,bento-inline-gallery-thumbnails{display:block}bento-inline-gallery{contain:layout}bento-inline-gallery-pagination,bento-inline-gallery-thumbnails{overflow:hidden;position:relative}bento-inline-gallery-pagination:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-inline-gallery-thumbnails:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]){display:none;content-visibility:hidden}\n/*# sourceURL=/extensions/amp-inline-gallery/1.0/amp-inline-gallery.css*/",document.head.appendChild(t)}customElements.define("bento-inline-gallery",Yi.CustomElement(Yi))}Yi.Component=function(t){let{children:n}=t,i=on(t,Fn);const[e,r]=ut(0),[l,o]=ut([]),s=ft((()=>({currentSlide:e,setCurrentSlide:r,slides:l,setSlides:o})),[e,l]);return rt(On,Bt({size:!1,layout:!0},i),rt(ht.Provider,{value:s},n))},Yi.detached=!0,Yi.props={"loop":{attr:"loop",type:"boolean"}};export{ne as defineElement};
function t(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,e=new Array(n);i<n;i++)e[i]=t[i];return e}function n(n,i){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(e)return(e=e.call(n)).next.bind(e);if(Array.isArray(n)||(e=function(n,i){if(n){if("string"==typeof n)return t(n,i);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(n,i):void 0}}(n))||i&&n&&"number"==typeof n.length){e&&(n=e);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i;function e(){return i||(i=Promise.resolve(void 0))}var r,l,o,s,u,c,a,f,h,d,v=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},p={},y=[],m=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function b(t,n){for(var i in n)t[i]=n[i];return t}function g(t){var n=t.parentNode;n&&n.removeChild(t)}function _(t,n,i){var e,l,o,s={};for(o in n)"key"==o?e=n[o]:"ref"==o?l=n[o]:s[o]=n[o];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(o in t.defaultProps)void 0===s[o]&&(s[o]=t.defaultProps[o]);return w(t,s,e,l,null)}function w(t,n,i,e,r){var s={type:t,props:n,key:i,ref:e,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++o:r};return null==r&&null!=l.vnode&&l.vnode(s),s}function A(t){return t.children}function P(t,n){this.props=t,this.context=n}function k(t,n){if(null==n)return t.__?k(t.__,t.__.__k.indexOf(t)+1):null;for(var i;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e)return i.__e;return"function"==typeof t.type?k(t):null}function R(t){var n,i;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,n=0;n<t.__k.length;n++)if(null!=(i=t.__k[n])&&null!=i.__e){t.__e=t.__c.base=i.__e;break}return R(t)}}function M(t){(!t.__d&&(t.__d=!0)&&s.push(t)&&!E.__r++||c!==l.debounceRendering)&&((c=l.debounceRendering)||u)(E)}function E(){for(var t;E.__r=s.length;)t=s.sort((function(t,n){return t.__v.__b-n.__v.__b})),s=[],t.some((function(t){var n,i,e,r,l,o;t.__d&&(l=(r=(n=t).__v).__e,(o=n.__P)&&(i=[],(e=b({},r)).__v=r.__v+1,x(o,r,e,n.__n,void 0!==o.ownerSVGElement,null!=r.__h?[l]:null,i,null==l?k(r):l,r.__h),N(i,r),r.__e!=l&&R(r)))}))}function S(t,n,i,e,r,l,o,s,u,c){var a,f,h,d,v,m,b,g=e&&e.__k||y,_=g.length;for(i.__k=[],a=0;a<n.length;a++)if(null!=(d=i.__k[a]=null==(d=n[a])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?w(null,d,null,null,d):Array.isArray(d)?w(A,{children:d},null,null,null):d.__b>0?w(d.type,d.props,d.key,null,d.__v):d)){if(d.__=i,d.__b=i.__b+1,null===(h=g[a])||h&&d.key==h.key&&d.type===h.type)g[a]=void 0;else for(f=0;f<_;f++){if((h=g[f])&&d.key==h.key&&d.type===h.type){g[f]=void 0;break}h=null}x(t,d,h=h||p,r,l,o,s,u,c),v=d.__e,(f=d.ref)&&h.ref!=f&&(b||(b=[]),h.ref&&b.push(h.ref,null,d),b.push(f,d.__c||v,d)),null!=v?(null==m&&(m=v),"function"==typeof d.type&&d.__k===h.__k?d.__d=u=T(d,u,t):u=I(t,d,h,g,v,u),"function"==typeof i.type&&(i.__d=u)):u&&h.__e==u&&u.parentNode!=t&&(u=k(h))}for(i.__e=m,a=_;a--;)null!=g[a]&&("function"==typeof i.type&&null!=g[a].__e&&g[a].__e==i.__d&&(i.__d=k(e,a+1)),$(g[a],g[a]));if(b)for(a=0;a<b.length;a++)L(b[a],b[++a],b[++a])}function T(t,n,i){for(var e,r=t.__k,l=0;r&&l<r.length;l++)(e=r[l])&&(e.__=t,n="function"==typeof e.type?T(e,n,i):I(i,e,e,r,e.__e,n));return n}function V(t,n){return n=n||[],null==t||"boolean"==typeof t||(Array.isArray(t)?t.some((function(t){V(t,n)})):n.push(t)),n}function I(t,n,i,e,r,l){var o,s,u;if(void 0!==n.__d)o=n.__d,n.__d=void 0;else if(null==i||r!=l||null==r.parentNode)t:if(null==l||l.parentNode!==t)t.appendChild(r),o=null;else{for(s=l,u=0;(s=s.nextSibling)&&u<e.length;u+=2)if(s==r)break t;t.insertBefore(r,l),o=l}return void 0!==o?o:r.nextSibling}function O(t,n,i){"-"===n[0]?t.setProperty(n,i):t[n]=null==i?"":"number"!=typeof i||m.test(n)?i:i+"px"}function C(t,n,i,e,r){var l;t:if("style"===n)if("string"==typeof i)t.style.cssText=i;else{if("string"==typeof e&&(t.style.cssText=e=""),e)for(n in e)i&&n in i||O(t.style,n,"");if(i)for(n in i)e&&i[n]===e[n]||O(t.style,n,i[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+l]=i,i?e||t.addEventListener(n,l?z:j,l):t.removeEventListener(n,l?z:j,l);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in t)try{t[n]=null==i?"":i;break t}catch(t){}"function"==typeof i||(null!=i&&(!1!==i||"a"===n[0]&&"r"===n[1])?t.setAttribute(n,i):t.removeAttribute(n))}}function j(t){this.l[t.type+!1](l.event?l.event(t):t)}function z(t){this.l[t.type+!0](l.event?l.event(t):t)}function x(t,n,i,e,o,s,u,c,a){var f,h,d,v,y,m,_,w,R,M,E,T=n.type;if(void 0!==n.constructor)return null;null!=i.__h&&(a=i.__h,c=n.__e=i.__e,n.__h=null,s=[c]),(f=l.__b)&&f(n);try{t:if("function"==typeof T){if(w=n.props,R=(f=T.contextType)&&e[f.__c],M=f?R?R.props.value:f.__:e,i.__c?_=(h=n.__c=i.__c).__=h.__E:("prototype"in T&&T.prototype.render?n.__c=h=new T(w,M):(n.__c=h=new P(w,M),h.constructor=T,h.render=U),R&&R.sub(h),h.props=w,h.state||(h.state={}),h.context=M,h.__n=e,d=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=b({},h.__s)),b(h.__s,T.getDerivedStateFromProps(w,h.__s))),v=h.props,y=h.state,d)null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==T.getDerivedStateFromProps&&w!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(w,M),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(w,h.__s,M)||n.__v===i.__v){h.props=w,h.state=h.__s,n.__v!==i.__v&&(h.__d=!1),h.__v=n,n.__e=i.__e,n.__k=i.__k,n.__k.forEach((function(t){t&&(t.__=n)})),h.__h.length&&u.push(h);break t}null!=h.componentWillUpdate&&h.componentWillUpdate(w,h.__s,M),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(v,y,m)}))}h.context=M,h.props=w,h.state=h.__s,(f=l.__r)&&f(n),h.__d=!1,h.__v=n,h.__P=t,f=h.render(h.props,h.state,h.context),h.state=h.__s,null!=h.getChildContext&&(e=b(b({},e),h.getChildContext())),d||null==h.getSnapshotBeforeUpdate||(m=h.getSnapshotBeforeUpdate(v,y)),E=null!=f&&f.type===A&&null==f.key?f.props.children:f,S(t,Array.isArray(E)?E:[E],n,i,e,o,s,u,c,a),h.base=n.__e,n.__h=null,h.__h.length&&u.push(h),_&&(h.__E=h.__=null),h.__e=!1}else null==s&&n.__v===i.__v?(n.__k=i.__k,n.__e=i.__e):n.__e=function(t,n,i,e,l,o,s,u){var c,a,f,h=i.props,d=n.props,v=n.type,y=0;if("svg"===v&&(l=!0),null!=o)for(;y<o.length;y++)if((c=o[y])&&(c===t||(v?c.localName==v:3==c.nodeType))){t=c,o[y]=null;break}if(null==t){if(null===v)return document.createTextNode(d);t=l?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,d.is&&d),o=null,u=!1}if(null===v)h===d||u&&t.data===d||(t.data=d);else{if(o=o&&r.call(t.childNodes),a=(h=i.props||p).dangerouslySetInnerHTML,f=d.dangerouslySetInnerHTML,!u){if(null!=o)for(h={},y=0;y<t.attributes.length;y++)h[t.attributes[y].name]=t.attributes[y].value;(f||a)&&(f&&(a&&f.__html==a.__html||f.__html===t.innerHTML)||(t.innerHTML=f&&f.__html||""))}if(function(t,n,i,e,r){var l;for(l in i)"children"===l||"key"===l||l in n||C(t,l,null,i[l],e);for(l in n)r&&"function"!=typeof n[l]||"children"===l||"key"===l||"value"===l||"checked"===l||i[l]===n[l]||C(t,l,n[l],i[l],e)}(t,d,h,l,u),f)n.__k=[];else if(y=n.props.children,S(t,Array.isArray(y)?y:[y],n,i,e,l&&"foreignObject"!==v,o,s,o?o[0]:i.__k&&k(i,0),u),null!=o)for(y=o.length;y--;)null!=o[y]&&g(o[y]);u||("value"in d&&void 0!==(y=d.value)&&(y!==t.value||"progress"===v&&!y)&&C(t,"value",y,h.value,!1),"checked"in d&&void 0!==(y=d.checked)&&y!==t.checked&&C(t,"checked",y,h.checked,!1))}return t}(i.__e,n,i,e,o,s,u,a);(f=l.diffed)&&f(n)}catch(t){n.__v=null,(a||null!=s)&&(n.__e=c,n.__h=!!a,s[s.indexOf(c)]=null),l.__e(t,n,i)}}function N(t,n){l.__c&&l.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){l.__e(t,n.__v)}}))}function L(t,n,i){try{"function"==typeof t?t(n):t.current=n}catch(t){l.__e(t,i)}}function $(t,n,i){var e,r;if(l.unmount&&l.unmount(t),(e=t.ref)&&(e.current&&e.current!==t.__e||L(e,null,n)),null!=(e=t.__c)){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(t){l.__e(t,n)}e.base=e.__P=null}if(e=t.__k)for(r=0;r<e.length;r++)e[r]&&$(e[r],n,"function"!=typeof t.type);i||null==t.__e||g(t.__e),t.__e=t.__d=void 0}function U(t,n,i){return this.constructor(t,i)}function W(t,n,i){var e,o,s;l.__&&l.__(t,n),o=(e="function"==typeof i)?null:i&&i.__k||n.__k,s=[],x(n,t=(!e&&i||n).__k=_(A,null,[t]),o||p,p,void 0!==n.ownerSVGElement,!e&&i?[i]:o?null:n.firstChild?r.call(n.childNodes):null,s,!e&&i?i:o?o.__e:n.firstChild,e),N(s,t)}function D(t,n){W(t,n,D)}r=y.slice,l={__e:function(t,n){for(var i,e,r;n=n.__;)if((i=n.__c)&&!i.__)try{if((e=i.constructor)&&null!=e.getDerivedStateFromError&&(i.setState(e.getDerivedStateFromError(t)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t),r=i.__d),r)return i.__E=i}catch(n){t=n}throw t}},o=0,P.prototype.setState=function(t,n){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=b({},this.state),"function"==typeof t&&(t=t(b({},i),this.props)),t&&b(i,t),null!=t&&this.__v&&(n&&this.__h.push(n),M(this))},P.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),M(this))},P.prototype.render=A,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(e()):setTimeout,E.__r=0,a=0;var F=0,q=[],H=l.__b,Z=l.__r,B=l.diffed,G=l.__c,Q=l.unmount;function J(t,n){l.__h&&l.__h(h,t,F||n),F=0;var i=h.__H||(h.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function K(t,n){var i=J(f++,7);return it(i.__H,n)&&(i.__=t(),i.__H=n,i.__h=t),i.__}function X(){q.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(tt),t.__H.__h.forEach(nt),t.__H.__h=[]}catch(n){t.__H.__h=[],l.__e(n,t.__v)}})),q=[]}l.__b=function(t){h=null,H&&H(t)},l.__r=function(t){Z&&Z(t),f=0;var n=(h=t.__c).__H;n&&(n.__h.forEach(tt),n.__h.forEach(nt),n.__h=[])},l.diffed=function(t){B&&B(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==q.push(n)&&d===l.requestAnimationFrame||((d=l.requestAnimationFrame)||function(t){var n,i=function(){clearTimeout(e),Y&&cancelAnimationFrame(n),setTimeout(t)},e=setTimeout(i,100);Y&&(n=requestAnimationFrame(i))})(X)),h=null},l.__c=function(t,n){n.some((function(t){try{t.__h.forEach(tt),t.__h=t.__h.filter((function(t){return!t.__||nt(t)}))}catch(i){n.some((function(t){t.__h&&(t.__h=[])})),n=[],l.__e(i,t.__v)}})),G&&G(t,n)},l.unmount=function(t){Q&&Q(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(tt)}catch(t){l.__e(t,n.__v)}};var Y="function"==typeof requestAnimationFrame;function tt(t){var n=h;"function"==typeof t.__c&&t.__c(),h=n}function nt(t){var n=h;t.__c=t.__(),h=n}function it(t,n){return!t||t.length!==n.length||n.some((function(n,i){return n!==t[i]}))}function et(t,n){return"function"==typeof n?n(t):n}function rt(t,n,i){return _.apply(void 0,arguments)}function lt(t,n,i){W(t,n,i)}function ot(t){return t.children}function st(t){return(i={__c:n="__cC"+a++,__:t,Consumer:function(t,n){return t.children(n)},Provider:function(t){var i,e;return this.getChildContext||(i=[],(e={})[n]=this,this.getChildContext=function(){return e},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&i.some(M)},this.sub=function(t){i.push(t);var n=t.componentWillUnmount;t.componentWillUnmount=function(){i.splice(i.indexOf(t),1),n&&n.call(t)}}),t.children}}).Provider.__=i.Consumer.contextType=i;var n,i}function ut(t){return F=1,n=et,i=t,(e=J(f++,2)).t=n,e.__c||(e.__=[et(void 0,i),function(t){var n=e.t(e.__[0],t);e.__[0]!==n&&(e.__=[n,e.__[1]],e.__c.setState({}))}],e.__c=h),e.__;var n,i,e}function ct(t,n){var i,e,r;i=t,e=n,r=J(f++,4),!l.__s&&it(r.__H,e)&&(r.__=i,r.__H=e,h.__h.push(r))}function at(t){return n=t,i=h.context[n.__c],(e=J(f++,9)).c=n,i?(null==e.__&&(e.__=!0,i.sub(h)),i.props.value):n.__;var n,i,e}function ft(t,n){return K(t,n)}var ht=st({slides:[],setSlides:t=>{}}),{isArray:dt}=Array;function vt(t){return dt(t)?t:[t]}function pt(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function yt(t,n){const i=t.indexOf(n);return-1!=i&&(t.splice(i,1),!0)}function mt(t,n){return n.toUpperCase()}function bt(t){return t.replace(/-([a-z])/g,mt)}var{hasOwnProperty:gt,toString:_t}=Object.prototype;function wt(t){return t||{}}function At(t){return 1==(null==t?void 0:t.nodeType)}function Pt(t,n,i,e,r,l,o,s,u,c,a){return t}function kt(t,n){return t}function Rt(){}function Mt(t,n=null){let i=!1;const e=()=>{i=!1,t()};return t=>{i||(i=!0,(t||n)(e))}}function Et(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:i,stack:e}=t,r=new Error(i);for(const n in t)r[n]=t[n];return r.stack=e,r}function St(t){let i=null,e="";for(var r,l=n(arguments,!0);!(r=l()).done;){const t=r.value;t instanceof Error&&!i?i=Et(t):(e&&(e+=" "),e+=t)}return i?e&&(i.message=e+": "+i.message):i=new Error(e),i}function Tt(t){var n,i;null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,t)}function Vt(t){const n=St.apply(null,arguments);setTimeout((()=>{throw Tt(n),n}))}function It(t,...n){try{return t.apply(null,n)}catch(t){Vt(t)}}function Ot(t,i,e,r=!0,l=!0){if(l){const n=i(t,e,r);n&&Ot(t,i,e,n,!1)}else if(t.children)for(var o,s=n(t.children,!0);!(o=s()).done;)Ot(o.value,i,e,r,!0)}Rt.prototype.key,Rt.prototype.type,Rt.prototype.deps,Rt.prototype.recursive,Rt.prototype.compute,Rt.prototype.defaultValue;var Ct=[],jt=()=>{};function zt(){}function xt(){}function Nt(t,n){return t.values.scan(n)}function Lt(t,n,i){return t.values.scanAll(i)}function $t(t,n){return t.values.has(n)}function Ut(t){return!!t.recursive}function Wt(t){return void 0!==t}zt.prototype.values,zt.prototype.setters,xt.prototype.prop,xt.prototype.subscribers,xt.prototype.value,xt.prototype.pending,xt.prototype.counter,xt.prototype.depValues,xt.prototype.parentValue,xt.prototype.parentContextNode,xt.prototype.ping,xt.prototype.pingDep,xt.prototype.pingParent;var Dt=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Dt(t,null),t.__AMP_NODE=n),n}static closest(t,n=!0){let i=t;for(;i;){if(i!=t||n){if(i.__AMP_NODE)return i.__AMP_NODE;const{nodeType:t}=i;if(9==t||11==t||1==t&&kt(i).tagName.startsWith("AMP-"))return Dt.get(i)}i=i.__AMP_ASSIGNED_SLOT||i.assignedSlot||i.parentNode}return null}static assignSlot(t,n){t.__AMP_ASSIGNED_SLOT!=n&&(t.__AMP_ASSIGNED_SLOT=n,Ft(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,Ft(t))}static rediscoverChildren(t){var n;const i=t.__AMP_NODE;null==i||null===(n=i.children)||void 0===n||n.forEach(qt)}constructor(t,i){this.node=t,this.name=i,this.isRoot=9==t.nodeType,this.root=this.isRoot?this:null,this.parent=null,this.children=null,this.groups=null,this.values=new class{constructor(t){this.i=t,this.h=null,this.v=null,this.p=Mt(this.p.bind(this),setTimeout)}set(t,n,i){Pt(n),Pt(void 0!==i);const{key:e}=t,r=this.h||(this.h=new Map);let l=r.get(e);l||(l={values:[],setters:[]},r.set(e,l));const o=l.setters.indexOf(n),s=-1==o||l.values[o]!==i;-1==o?(l.setters.push(n),l.values.push(i)):s&&(l.values[o]=i),s&&(this.ping(t,!1),Ut(t)&&Ot(this.i,Nt,t,!0,!1))}remove(t,n){Pt(n);const{key:i}=t,e=this.h,r=null==e?void 0:e.get(i);if(r){const l=r.setters.indexOf(n);-1!=l&&(r.setters.splice(l,1),r.values.splice(l,1),0==r.setters.length&&e.delete(i),Ot(this.i,Nt,t))}}has(t){var n;return!(null===(n=this.h)||void 0===n||!n.has(t.key))}subscribe(t,n){const i=this.m(t);if(!pt(i.subscribers,n))return;const e=i.value;Wt(e)&&this.g()&&n(e)}unsubscribe(t,n){var i;const e=null===(i=this.v)||void 0===i?void 0:i.get(t.key);e&&yt(e.subscribers,n)&&this._(e)}ping(t,n){var i,e;null===(i=this.v)||void 0===i||null===(e=i.get(t.key))||void 0===e||e.ping(n)}parentUpdated(){this.g()&&Ot(this.i,Lt,void 0,Ct)}rootUpdated(){const t=this.v;t&&(this.g()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Ut(n)&&this.A(t,null)})))}scan(t){return this.ping(t,!0),!!Ut(t)&&!this.has(t)}scanAll(t){let n=null;const i=this.v;return i&&i.forEach((i=>{const{prop:e}=i,{key:r}=e;-1==(n||t).indexOf(r)&&(this.ping(e,!0),this.i.children&&this.has(e)&&(n||(n=t.slice(0)),n.push(r)))})),n||t}g(){return!!this.i.root}m(t){const{deps:n,key:i}=t,e=this.v||(this.v=new Map);let r=e.get(i);return r||(r={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(jt):Ct,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.g()){const n=t?2:1;r.pending=Math.max(r.pending,n),this.p()}},pingDep:n.length>0?n.map(((t,n)=>t=>{r.depValues[n]=t,r.ping()})):Ct,pingParent:Ut(t)?t=>{r.parentValue=t,r.ping()}:null},e.set(i,r),n.forEach(((t,n)=>this.subscribe(t,r.pingDep[n]))),r.ping(!1)),r}_(t){if(t.subscribers.length>0)return;const{pingDep:n,prop:i}=t,{deps:e,key:r}=i;this.v.delete(r),this.A(t,null),e.length>0&&e.forEach(((t,i)=>{this.unsubscribe(t,n[i])}))}p(){if(!this.g())return;const t=this.v;if(!t)return;let n;t.forEach((t=>{t.counter=0}));do{n=0,t.forEach((t=>{if(0!=t.pending){const{key:i}=t.prop;if(t.counter++,t.counter>5)return Vt(`cyclical prop: ${i}`),void(t.pending=0);n++,this.P(t)}}))}while(n>0)}P(t){const n=2==t.pending;let i;try{i=this.k(t,n)}catch(t){Vt(t)}t.pending=0,this.R(t,i)}R(t,i){const{prop:e,value:r}=t,{key:l}=e,o=this.v;if(r===i||t!==(null==o?void 0:o.get(l))||!this.g())return;t.value=i;const{subscribers:s}=t;for(var u,c=n(s,!0);!(u=c()).done;)(0,u.value)(i)}k(t,n){var i,e;Pt(this.g());const{depValues:r,prop:l}=t,{compute:o,defaultValue:s,key:u}=l,c=null===(i=this.h)||void 0===i||null===(e=i.get(u))||void 0===e?void 0:e.values,a=function(t,n){const{compute:i,recursive:e}=t;return"function"==typeof e?!n||e(n):!(e&&n&&!i)&&e}(l,c);if(n||a!=Boolean(t.parentContextNode)){const n=a?function(t,n,i,e=!0){for(let r=e?t:t.parent;r;r=r.parent)if(n(r,i))return r;return null}(this.i,$t,l,!1):null;this.A(t,n)}const f=Wt(t.parentValue)?t.parentValue:a&&!t.parentContextNode?s:void 0;let h;if(r.every(Wt)&&(!a||Wt(f))){const{node:t}=this.i;c&&!o?h=c[0]:Ut(l)?c||r.length>0?h=function(t,n,i,e,r){switch(r.length){case 0:return t(n,i,e);case 1:return t(n,i,e,r[0]);case 2:return t(n,i,e,r[0],r[1]);case 3:return t(n,i,e,r[0],r[1],r[2]);default:return t.apply(null,[n,i,e].concat(r))}}(o,t,c||Ct,f,r):Wt(f)&&(h=f):o&&(h=function(t,n,i,e){switch(e.length){case 0:return t(n,i);case 1:return t(n,i,e[0]);case 2:return t(n,i,e[0],e[1]);case 3:return t(n,i,e[0],e[1],e[2]);default:return t.apply(null,[n,i].concat(e))}}(o,t,c||Ct,r))}return h}A(t,n){const{parentContextNode:i,pingParent:e,prop:r}=t;n!=i&&(t.parentContextNode=n,t.parentValue=void 0,i&&i.values.unsubscribe(r,Pt(e)),n&&n.values.subscribe(r,Pt(e)))}}(this),this.M=null,this.S=!1,this.T=Mt(this.V.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,i;const e=t.target;e.assignedNodes().forEach(Ft),null===(n=Dt.closest(e))||void 0===n||null===(i=n.children)||void 0===i||i.forEach(qt)})),this.discover()}discover(){this.isDiscoverable()?this.T():this.name&&this.children&&this.children.forEach(qt)}isDiscoverable(){return!this.isRoot&&!this.S}setParent(t){const n=null!=t&&t.nodeType?Dt.get(t):t;this.I(n,null!=t)}setIsRoot(t){var n,i;this.isRoot=t;const e=t?this:null!==(n=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==n?n:null;this.updateRoot(e)}updateRoot(t){Pt(!t||t.isRoot);const n=this.root;var i,e;t!=n&&(this.root=t,this.values.rootUpdated(),null===(i=this.M)||void 0===i||i.forEach((t=>t.rootUpdated())),null===(e=this.children)||void 0===e||e.forEach((n=>n.updateRoot(t))))}addGroup(t,n,i){const e=this.groups||(this.groups=new Map),{children:r,node:l}=this,o=new Dt(l,t);return e.set(t,{cn:o,match:n,weight:i}),o.setParent(this),null==r||r.forEach(qt),o}group(t){var n,i;return(null===(n=this.groups)||void 0===n||null===(i=n.get(t))||void 0===i?void 0:i.cn)||null}findGroup(t){const{groups:n}=this;if(!n)return null;let i=null,e=Number.NEGATIVE_INFINITY;return n.forEach((({cn:n,match:r,weight:l})=>{r(t,this.node)&&l>e&&(i=n,e=l)})),i}subscribe(t,n,i,e){const r=this.M||(this.M=new Map);let l=r.get(t);l||(l=new n(this,i,e),r.set(t,l))}unsubscribe(t){const n=this.M,i=null==n?void 0:n.get(t);i&&(i.dispose(),n.delete(t))}V(){if(!this.isDiscoverable())return;const t=Dt.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.I(n,!1)}I(t,i){var e;this.S=i;const r=this.parent;if(t!=r){if(this.parent=t,null!=r&&r.children&&yt(Pt(r.children),this),t){const i=t.children||(t.children=[]);pt(i,this);for(var l,o=n(i,!0);!(l=o()).done;){const t=l.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(e=null==t?void 0:t.root)&&void 0!==e?e:null)}};function Ft(t){!function(t,i,e=!0){const r=Dt.closest(t,e);if(r)if(r.node==t)i(r);else if(r.children)for(var l,o=n(r.children,!0);!(l=o()).done;){const n=l.value;t.contains(n.node)&&i(n)}}(t,qt)}function qt(t){t.discover()}function Ht(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function Zt(t,n){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);n&&(e=e.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),i.push.apply(i,e)}return i}function Bt(t){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?Zt(Object(i),!0).forEach((function(n){Ht(t,n,i[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Zt(Object(i)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}))}return t}var Gt=[];function Qt(t,n){const i=Bt({key:t,type:null,deps:Gt,recursive:!1,compute:null,defaultValue:void 0},n);return Pt(0==i.deps.length||i.compute),i}var Jt=[],Kt=()=>{};function Xt(t,n,i){n=vt(n);const e=i;Dt.get(t).subscribe(e,Yt,i,n)}var Yt=class{constructor(t,n,i){if(this.contextNode=t,this.O=n,this.C=i,this.j=i.length>0?i.map(Kt):Jt,this.N=i.length>0?i.map(((t,n)=>t=>{this.j[n]=t,this.L()})):Jt,this.$=!1,this.U=null,this.L=Mt(this.L.bind(this),setTimeout),i.length>0){const{values:t}=this.contextNode;i.forEach(((n,i)=>t.subscribe(n,this.N[i])))}this.g()&&this.L()}dispose(){if(this.C.length>0){const{values:t}=this.contextNode;this.C.forEach(((n,i)=>t.unsubscribe(n,this.N[i])))}this.W()}rootUpdated(){const t=this.g();this.W(),t&&this.L()}g(){return!!this.contextNode.root}L(){this.g()&&(this.j.every(tn)?(this.$=!0,this.D()):this.$&&(this.$=!1,this.W()))}D(){this.U&&(It(this.U),this.U=null);const t=this.O;this.U=function(t,n){switch(n.length){case 0:return t();case 1:return t(n[0]);case 2:return t(n[0],n[1]);case 3:return t(n[0],n[1],n[2]);default:return t.apply(null,n)}}(t,this.j)}W(){this.U&&(It(this.U),this.U=null)}};function tn(t){return void 0!==t}function nn(t){Dt.get(t).discover()}function en(t,n,i,e){Dt.get(t).values.set(n,i,e)}function rn(t,n,i){Dt.get(t).values.remove(n,i)}var ln=Qt("base-carousel:1.0:context",{type:ht,recursive:!0,defaultValue:null});function on(t,n){if(null==t)return{};var i,e,r={},l=Object.keys(t);for(e=0;e<l.length;e++)i=l[e],n.indexOf(i)>=0||(r[i]=t[i]);return r}function sn(t,n){for(var i in n)t[i]=n[i];return t}function un(t,n){for(var i in t)if("__source"!==i&&!(i in n))return!0;for(var e in n)if("__source"!==e&&t[e]!==n[e])return!0;return!1}function cn(t){this.props=t}(cn.prototype=new P).isPureReactComponent=!0,cn.prototype.shouldComponentUpdate=function(t,n){return un(this.props,t)||un(this.state,n)};var an=l.__b;l.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),an&&an(t)};var fn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,hn=l.__e;l.__e=function(t,n,i){if(t.then)for(var e,r=n;r=r.__;)if((e=r.__c)&&e.__c)return null==n.__e&&(n.__e=i.__e,n.__k=i.__k),e.__c(t,n);hn(t,n,i)};var dn=l.unmount;function vn(){this.__u=0,this.t=null,this.__b=null}function pn(t){var n=t.__.__c;return n&&n.__e&&n.__e(t)}function yn(){this.u=null,this.o=null}l.unmount=function(t){var n=t.__c;n&&n.__R&&n.__R(),n&&!0===t.__h&&(t.type=null),dn&&dn(t)},(vn.prototype=new P).__c=function(t,n){var i=n.__c,e=this;null==e.t&&(e.t=[]),e.t.push(i);var r=pn(e.__v),l=!1,o=function(){l||(l=!0,i.__R=null,r?r(s):s())};i.__R=o;var s=function(){if(!--e.__u){if(e.state.__e){var t=e.state.__e;e.__v.__k[0]=function t(n,i,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return t(n,i,e)})),n.__c&&n.__c.__P===i&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}(t,t.__c.__P,t.__c.__O)}var n;for(e.setState({__e:e.__b=null});n=e.t.pop();)n.forceUpdate()}},u=!0===n.__h;e.__u++||u||e.setState({__e:e.__b=e.__v.__k[0]}),t.then(o,o)},vn.prototype.componentWillUnmount=function(){this.t=[]},vn.prototype.render=function(t,n){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),e=this.__v.__k[0].__c;this.__v.__k[0]=function t(n,i,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),n.__c.__H=null),null!=(n=sn({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=i),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return t(n,i,e)}))),n}(this.__b,i,e.__O=e.__P)}this.__b=null}var r=n.__e&&_(A,null,t.fallback);return r&&(r.__h=null),[_(A,null,n.__e?null:t.children),r]};var mn=function(t,n,i){if(++i[1]===i[0]&&t.o.delete(n),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.o.size))for(i=t.u;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;t.u=i=i[2]}};(yn.prototype=new P).__e=function(t){var n=this,i=pn(n.__v),e=n.o.get(t);return e[0]++,function(r){var l=function(){n.props.revealOrder?(e.push(r),mn(n,t,e)):r()};i?i(l):l()}},yn.prototype.render=function(t){this.u=null,this.o=new Map;var n=V(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&n.reverse();for(var i=n.length;i--;)this.o.set(n[i],this.u=[1,0,this.u]);return t.children},yn.prototype.componentDidUpdate=yn.prototype.componentDidMount=function(){var t=this;this.o.forEach((function(n,i){mn(t,i,n)}))};var bn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,gn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,_n="undefined"!=typeof document,wn=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(t)};P.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(P.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})}));var An=l.event;function Pn(){}function kn(){return this.cancelBubble}function Rn(){return this.defaultPrevented}l.event=function(t){return An&&(t=An(t)),t.persist=Pn,t.isPropagationStopped=kn,t.isDefaultPrevented=Rn,t.nativeEvent=t};var Mn={configurable:!0,get:function(){return this.class}},En=l.vnode;l.vnode=function(t){var n=t.type,i=t.props,e=i;if("string"==typeof n){var r=-1===n.indexOf("-");for(var l in e={},i){var o=i[l];_n&&"children"===l&&"noscript"===n||"value"===l&&"defaultValue"in i&&null==o||("defaultValue"===l&&"value"in i&&null==i.value?l="value":"download"===l&&!0===o?o="":/ondoubleclick/i.test(l)?l="ondblclick":/^onchange(textarea|input)/i.test(l+n)&&!wn(i.type)?l="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(l)?l=l.toLowerCase():r&&gn.test(l)?l=l.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===o&&(o=void 0),e[l]=o)}"select"==n&&e.multiple&&Array.isArray(e.value)&&(e.value=V(i.children).forEach((function(t){t.props.selected=-1!=e.value.indexOf(t.props.value)}))),"select"==n&&null!=e.defaultValue&&(e.value=V(i.children).forEach((function(t){t.props.selected=e.multiple?-1!=e.defaultValue.indexOf(t.props.value):e.defaultValue==t.props.value}))),t.props=e}n&&i.class!=i.className&&(Mn.enumerable="className"in i,null!=i.className&&(e.class=i.className),Object.defineProperty(e,"className",Mn)),t.$$typeof=bn,En&&En(t)};var Sn=l.__r;function Tn(t){return function(t){function n(n,i){var e=sn({},n);return delete e.ref,t(e,(i=n.ref||i)&&("object"!=typeof i||"current"in i)?i:null)}return n.$$typeof=fn,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(t.displayName||t.name)+")",n}(t)}l.__r=function(t){Sn&&Sn(t),t.__c};var Vn=["as","children","class","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle"],In=[null,"paint","layout","content","size","size paint","size layout","strict"],On={"position":"relative","width":"100%","height":"100%"},Cn=Tn((function(t,n){let{as:i="div",children:e,"class":r,contentAs:l="div",contentClassName:o,contentProps:s,contentRef:u,contentStyle:c,layout:a=!1,paint:f=!1,size:h=!1,"style":d,wrapperClassName:v,wrapperStyle:p}=t;const y=(h?4:0)+(a?2:0)+(f?1:0);return rt(i,Bt(Bt({},on(t,Vn)),{},{ref:n,class:`${r||""} ${v||""}`.trim()||null,style:Bt(Bt(Bt({},d),p),{},{contain:In[y]})}),rt(l,Bt(Bt({},s),{},{ref:u,class:o,style:Bt(Bt({},h&&On),{},{"overflow":f?"hidden":"visible"},c)}),e))})),jn=["as","children","class","style","wrapperClassName","wrapperStyle"];function zn(t){return(t.ownerDocument||t).defaultView}function xn(t){Pt(/^[\w-]+$/.test(t))}function Nn(t,n){return t.querySelector(function(t,n){return t.replace(/^|,/g,"$&:scope ")}(n))}function Ln(t,n){const i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!i&&i.call(t,n)}function $n(t,n){return xn(n),Nn(t,`> [${n}]`)}function Un(t){return function(t,n){const i=[];for(let n=t.firstChild;n;n=n.nextSibling)!(function(t){let n;return"string"==typeof t?n=t:t.nodeType===Node.ELEMENT_NODE&&(n=kt(t).tagName),!!n&&n.toLowerCase().startsWith("i-")}(e=n)||e.nodeType===Node.ELEMENT_NODE&&(kt(e),e.hasAttribute("placeholder")||e.hasAttribute("fallback")||e.hasAttribute("overflow")))&&i.push(n);var e;return i}(t)}Tn((function(t,n){let{as:i="div",children:e,"class":r,"style":l,wrapperClassName:o,wrapperStyle:s}=t;return rt(i,Bt(Bt({},on(t,jn)),{},{ref:n,class:`${r||""} ${o||""}`.trim()||null,style:Bt(Bt({},l),s)}),e)}));var Wn={bubbles:!0,cancelable:!0};function Dn(t,n,i){return function(t,n){for(const i in n)t.setAttribute(i,n[i]);return t}(t.createElement(n),i)}function Fn(t,n,i,e){const r=i||{},l=t.ownerDocument.createEvent("Event");l.data=r;const{bubbles:o,cancelable:s}=e||Wn;l.initEvent(n,o,s),t.dispatchEvent(l)}new WeakMap,new WeakMap;var qn=["children"],Hn=["auto","lazy","eager","unload"],Zn={auto:0,lazy:1,eager:2,unload:3};function Bn(t,n){const i=Zn[t]||0,e=Zn[n]||0,r=Math.max(i,e);return Hn[r]}function Gn(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function Qn(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let i,e,r;if(")"==n.charAt(n.length-1)){let t=1;for(r=n.length-2;r>=0;r--){const i=n.charAt(r);if("("==i?t--:")"==i&&t++,0==t)break}const i=r-1;if(r>0)for(r--;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(r>=i)return null}else for(r=n.length-2;r>=0;r--){const t=n.charAt(r);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return r>=0?(i=n.substring(0,r+1).trim(),e=n.substring(r+1).trim()):(e=n,i=void 0),e?{query:i?t.matchMedia(i):null,value:e}:null})).filter(Boolean)}function Jn(t,n,i){for(let e=0;e<t.length;e++){const{query:r}=t[e];r&&(void 0!==r.onchange?r.onchange=i?n:null:i?r.addListener(n):r.removeListener(n))}}var Kn,Xn,Yn={"getPropertyPriority":()=>"","getPropertyValue":()=>""},ti=/vertical/,ni=new WeakMap,ii=new WeakMap,ei=new WeakMap;function ri(t){let n=ni.get(t);return n||(n=new t.ResizeObserver(li),ni.set(t,n)),n}function li(t){const n=new Set;for(let i=t.length-1;i>=0;i--){const e=t[i],{target:r}=e;if(n.has(r))continue;n.add(r);const l=ii.get(r);if(l){ei.set(r,e);for(let t=0;t<l.length;t++){const{callback:n,type:i}=l[t];oi(i,n,e)}}}}function oi(t,n,i){if(0==t){const{contentRect:t}=i,{height:e,width:r}=t;It(n,{width:r,height:e})}else if(1==t){const{borderBoxSize:t}=i;let e;if(t)e=t.length>0?t[0]:{inlineSize:0,blockSize:0};else{const{target:t}=i,n=zn(t),r=ti.test(function(t,n){return t.getComputedStyle(n)||Yn}(n,t)["writing-mode"]),{offsetHeight:l,offsetWidth:o}=t;let s,u;r?(u=o,s=l):(s=o,u=l),e={inlineSize:s,blockSize:u}}It(n,e)}}if("undefined"!=typeof AMP&&AMP.BaseElement)Kn=AMP.BaseElement;else{const t=HTMLElement;class n{constructor(t){this.element=t,this.win=zn(t)}static"CustomElement"(n){return class extends t{constructor(){super(),this.implementation=new n(this)}connectedCallback(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()}disconnectedCallback(){this.implementation.unmountCallback()}getApi(){return this.implementation.getApi()}}}mutateElement(t){e().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}Kn=n}function si(){return Xn||(Xn=st({renderable:!0,playable:!0,loading:"auto"}))}function ui({children:t,loading:n="auto",notify:i,playable:e=!0,renderable:r=!0}){const l=ci(),o=r&&l.renderable,s=o&&e&&l.playable,u=Bn(o?"auto":"lazy",Bn(n,l.loading)),c=i||l.notify,a=ft((()=>({renderable:o,playable:s,loading:u,notify:c})),[o,s,u,c]);return rt(si().Provider,{children:t,value:a})}function ci(){return at(si())}var ai=Qt("CanRender",{defaultValue:!0,recursive:t=>t.reduce(di),compute:(t,n,i)=>i&&n.reduce(di,!0)||!1}),fi=Qt("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(di),deps:[ai],compute:(t,n,i,e)=>e&&i&&n.reduce(di,!0)||!1}),hi=Qt("Loading",{defaultValue:"auto",recursive:!0,deps:[ai],compute:(t,n,i,e)=>Bn(e?"auto":"lazy",Bn(i||"auto",n.reduce(Bn,"auto")))}),di=(t,n)=>t&&n;function vi(t){return t?"number"==typeof t?t:"string"==typeof t?function(t){if(!t)return null;if("now"===t.toLowerCase())return Date.now();const n=Date.parse(t);return isNaN(n)?null:n}(t):(t=t).getTime():null}var pi=t=>t.ensureLoaded(),yi=t=>t.pause(),mi=t=>t.unmount();function bi(t,n=!0){wi(t,n,!1,pi)}function gi(t,n=!0){wi(t,n,!0,yi)}function _i(t,n=!0){wi(t,n,!0,mi)}function wi(t,n,i,e){const r=vt(t);for(let t=0;t<r.length;t++)Ai(r[t],n,i,e)}function Ai(t,n,i,e){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(It(e,n),!i){const t=n.getPlaceholder();return void(t&&Ai(t,!0,!1,e))}}const r=t.getElementsByClassName("i-amphtml-element");let l=null;for(let t=0;t<r.length;t++){const n=r[t];if(i)It(e,n);else{l=l||[];let t=!1;for(let i=0;i<l.length;i++)if(l[i].contains(n)){t=!0;break}t||(l.push(n),It(e,n))}}}var Pi={},ki=new WeakMap;function Ri(t,n,i,e=!1){if(t.setAttribute("slot",n),!e)return rt(Mi,Bt(Bt({},i||Pi),{},{name:n}));const r=ki.get(t);if(r&&function(t,n){if(null==t||null==n)return t===n;for(const i in t)if(t[i]!==n[i])return!1;for(const i in n)if(n[i]!==t[i])return!1;return!0}(r.oldProps,i))return r.component;function l(t){return rt(Mi,Bt(Bt({},i||Pi),{},{name:n},t))}return ki.set(t,{oldProps:i,component:l}),l}function Mi(t){const n=(null,F=5,K((function(){return{current:null}}),[]));var i,e,r;return function(t,n){const{"loading":i}=n||Pi,e=ci();ct((()=>{const n=t.current;return Pt(At(n)),en(n,ai,Mi,e.renderable),en(n,fi,Mi,e.playable),en(n,hi,Mi,e.loading),e.playable||Ei(n,gi,!0),()=>{var t;rn(n,ai,Mi),rn(n,fi,Mi),rn(n,hi,Mi),t=n,Dt.rediscoverChildren(t)}}),[t,e]),ct((()=>{const n=t.current;return Pt(At(n)),"lazy"!=i&&Ei(n,bi,!0),()=>{Ei(n,_i,!1)}}),[t,i])}(n,t),i=()=>{t.postRender&&t.postRender()},e=undefined,r=J(f++,3),!l.__s&&it(r.__H,e)&&(r.__=i,r.__H=e,h.__H.__h.push(r)),rt("slot",Bt(Bt({},t),{},{ref:n}))}function Ei(t,n,i){const e=t.assignedElements?t.assignedElements():t;if(Array.isArray(e)&&0==e.length)return;if(!i)return void n(e);const r=t.ownerDocument.defaultView;r&&(r.requestIdleCallback||r.setTimeout)((()=>n(e)))}var Si={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},Ti=function(){let t=0;return()=>String(++t)}(),Vi=t=>"string"==typeof t||!!t.selector,Ii=t=>3===t.nodeType&&0===t.nodeValue.trim().length;function Oi(t,n,i,e,r){const{"layoutSizeDefined":l,"lightDomTag":o,"props":s}=t;r&&r.start();const u=Bt(Bt({},e),{},{ref:i});return o&&(u["i-amphtml-rendered"]=!0,u.__AMP_RENDERED=!0,u.as=o),l&&(t.usesShadowDom?u.style=Si:u.class="i-amphtml-fill-content"),Ci(t,u,s,n,r),r&&r.complete(),u}function Ci(t,n,i,e,r){if(function(t,n){return Object.values(t).some(n)}(i,Vi)){const l=Un(e);for(let e=0;e<l.length;e++){const o=l[e],s=zi(o,i);if(!s)continue;const u=i[s],{as:c=!1,single:a,name:f=s,clone:h,props:d={}}=u;Pt(h||t.usesShadowDom);const v={};if(Ci(t,v,d,o,r),a)n[f]=Ri(o,o.getAttribute("slot")||`i-amphtml-${f}`,v,c);else{const t=n[f]||(n[f]=[]);Pt(!c),t.push(h?ji(o):Ri(o,o.getAttribute("slot")||`i-amphtml-${f}-${Ti()}`,v))}}}for(const u in i){const c=i[u];let a;if(Pt(!!c.attr+!!c.attrs+!!c.attrPrefix+!!c.selector+!!c.passthrough+!!c.passthroughNonEmpty<=1),c.passthrough)Pt(t.usesShadowDom),a=[rt(Mi,{loading:"lazy"})];else if(c.passthroughNonEmpty)Pt(t.usesShadowDom),a=Un(e).every(Ii)?null:[rt(Mi,{loading:"lazy"})];else if(c.attr)a=e.getAttribute(c.attr),c.media&&null!=a&&(a=r.resolveListQuery(String(a)));else if(c.parseAttrs)Pt(c.attrs),a=c.parseAttrs(e);else if(c.attrPrefix){const t={};let n=!1;const i=e.attributes;for(let e=0;e<i.length;e++){const r=i[e];o=r.name,s=c.attrPrefix,null!==o&&void 0!==s&&o.startsWith(s)&&o!==s&&(t[bt(r.name.slice(c.attrPrefix.length))]=r.value,n=!0)}n&&(a=t)}if(null==a)null!=c.default&&(n[u]=c.default);else{const t="number"==c.type?parseFloat(a):"boolean"==c.type?null==(l=a)?void 0:"false"!==l:"date"==c.type?vi(a):a;n[u]=t}}var l,o,s}function ji(t){const n={"key":t},{attributes:i,localName:e}=t,{length:r}=i;for(let t=0;t<r;t++){const{name:e,value:r}=i[t];n[e]=r}return rt(e,n)}function zi(t,n){for(const i in n){const e=n[i];if(Ln(t,"string"==typeof e?e:e.selector))return i}return null}var xi=self.AMP_CONFIG||{},Ni=("string"==typeof xi.thirdPartyFrameRegex?new RegExp(xi.thirdPartyFrameRegex):xi.thirdPartyFrameRegex,("string"==typeof xi.cdnProxyRegex?new RegExp(xi.cdnProxyRegex):xi.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function Li(t){if(!self.document||!self.document.head)return null;if(self.location&&Ni.test(self.location.origin))return null;const n=self.document.head.querySelector(`meta[name="${t}"]`);return n&&n.getAttribute("content")||null}xi.thirdPartyUrl,xi.thirdPartyFrameHost,xi.cdnUrl||Li("runtime-host"),xi.errorReportingUrl,xi.betaErrorReportingUrl,xi.localDev,xi.geoApiUrl||Li("amp-geo-api"),self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var $i=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";new RegExp("(-shadowcsshost"+$i,"gim"),new RegExp("(-shadowcsscontext"+$i,"gim"),new RegExp("-shadowcsshost","gim"),new RegExp("-shadowcsscontext","gim");var Ui={childList:!0},Wi={childList:!0,characterData:!0},Di={childList:!0},Fi=wt({"style":"display: contents; background: inherit;","part":"c"}),qi=wt({"name":"i-amphtml-svc"}),Hi=wt({"i-amphtml-rendered":""}),Zi=()=>!0;function Bi(t,n){return Object.values(t).some(n)}var Gi=t=>!!t.media,Qi=t=>"string"==typeof t||!!t.selector,Ji=t=>!(!t.passthrough&&!t.passthroughNonEmpty),Ki=class extends Kn{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}constructor(t){super(t),this.F=wt({"loading":"auto","onReadyState":(t,n)=>{this.q(t,n)},"onPlayingState":t=>{this.H(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.Z={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.B=!1,this.G=null,this.J=null,this.K=t=>{null!==t&&(this.G?this.X(t):this.Y(t)),this.J=t,this.tt()},this.nt=null,this.it=null,this.et=null,this.rt=!1,this.lt=null,this.ot=()=>{this.rt=!1,this.st()},this.ut=!1,this.ct=!1,this.observer=null,this.at=new class{constructor(t){this.ft=t,this.ht=!1,this.dt=!1,this.vt=this.vt.bind(this)}updatePlaying(t){t!==this.ht&&(this.ht=t,t?(this.dt=!1,function(t,n){!function(t,n,i){const e=t.ownerDocument.defaultView;if(!e)return;let r=ii.get(t);if(r||(r=[],ii.set(t,r),ri(e).observe(t)),!r.some((t=>t.callback===i&&1===t.type))){r.push({type:1,callback:i});const n=ei.get(t);n&&setTimeout((()=>oi(1,i,n)))}}(t,0,n)}(this.ft,this.vt)):function(t,n){!function(t,n,i){const e=ii.get(t);if(e&&(function(t,n){const e=[];let r=0;for(let n=0;n<t.length;n++){const o=t[n];(l=o).callback===i&&1===l.type?e.push(o):(r<n&&(t[r]=o),r++)}var l;r<t.length&&(t.length=r)}(e),0==e.length)){ii.delete(t),ei.delete(t);const n=t.ownerDocument.defaultView;n&&ri(n).unobserve(t)}}(t,0,n)}(this.ft,this.vt))}vt({blockSize:t,inlineSize:n}){const i=n>0&&t>0;if(i===this.dt)return;this.dt=i;const e=this.ft;i||e.pause()}}(t),this.yt=null}init(){}isLayoutSupported(t){return this.constructor.layoutSizeDefined?function(t){return"fixed"==t||"fixed-height"==t||"responsive"==t||"fill"==t||"flex-item"==t||"fluid"==t||"intrinsic"==t}(t)||"container"==t:super.isLayoutSupported(t)}buildCallback(){const t=this.constructor;this.observer=new MutationObserver((t=>this.bt(t)));const n=t.props,i=Bi(n,Qi)?Ui:null,e=Bi(n,Ji)?Wi:null,r=t.usesTemplate?Di:null;this.observer.observe(this.element,Bt(Bt(Bt({attributes:!0},i),e),r)),this.yt=Bi(n,Gi)?new class{constructor(t,n){this.gt=t,this._t=n,this.wt={},this.At=null}start(){this.At=this.wt,this.wt={}}resolveMatchQuery(t){return"1"===this.Pt(t,Gn,"1")}resolveListQuery(t){return this.Pt(t,Qn,"")}complete(){for(const t in this.At)t in this.wt||Jn(this.At[t],this._t,!1);this.At=null}dispose(){for(const t in this.wt)Jn(this.wt[t],this._t,!1);this.wt={}}Pt(t,n,i){if(!t.trim())return i;let e=this.wt[t]||this.At[t];return e||(e=n(this.gt,t),Jn(e,this._t,!0)),this.wt[t]=e,function(t){for(let n=0;n<t.length;n++){const{query:i,value:e}=t[n];if(!i||i.matches)return e}return""}(e)}}(this.win,(()=>this.kt())):null;const l=t.staticProps,o=this.init();Object.assign(this.F,l,o),this.checkPropsPostMutations(),Xt(this.element,[],(()=>()=>{this.ct=!1,this.et&&lt(null,this.et)})),Xt(this.element,[ai,fi,hi],((t,n,i)=>{this.Z.renderable=t,this.Z.playable=n,this.Z.loading=i,this.ct=!0,this.kt()}));const s=t.useContexts;var u;return 0!=s.length&&Xt(this.element,s,((...t)=>{this.it=t,this.kt()})),this.lt=new v,this.kt(),t.loadable&&(null===(u=this.setReadyState)||void 0===u||u.call(this,"loading")),this.tt(),this.lt.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(wt({"loading":"eager"})),this.B=!0)}mountCallback(){nn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.B=!1)}unmountCallback(){var t;nn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.H(!1),null===(t=this.yt)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.et&&this.kt()}attemptChangeHeight(t){return super.attemptChangeHeight(t).catch((t=>{throw this.getOverflowElement&&!this.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",this.element),t}))}mutateProps(t){Object.assign(this.F,t),this.kt()}api(){return Pt(this.J)}registerApiAction(t,n,i=2){var e;null===(e=this.registerAction)||void 0===e||e.call(this,t,(t=>n(this.api(),t)),i)}mutationObserverCallback(t){}checkPropsPostMutations(){}updatePropsForRendering(t){}isReady(t){return!0}bt(t){const n=this.constructor;this.mutationObserverCallback(t);const i=t.some((t=>function(t,n){const{type:i}=n;if("attributes"==i){if(t.usesTemplate&&"template"==n.attributeName)return!0;const i=t.props;for(const t in i){const l=i[t];if(n.attributeName==l.attr||l.attrs&&l.attrs.includes(Pt(n.attributeName))||(e=n.attributeName,r=l.attrPrefix,null!==e&&void 0!==r&&e.startsWith(r)&&e!==r))return!0}return!1}var e,r;return"childList"==i&&(Yi(n.addedNodes)||Yi(n.removedNodes))}(n,t)));i&&(this.checkPropsPostMutations(),this.kt())}kt(){this.rt||(this.rt=!0,this.mutateElement(this.ot))}tt(){const{J:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.q(n)}q(t,n){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,t,n),this.constructor.unloadOnPause&&this.H("complete"==t),this.B&&(this.B=!1,this.mutateProps({"loading":"auto"}))}handleOnLoad(){var t,n,i;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null===(n=this.toggleFallback)||void 0===n||n.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)}handleOnLoading(){var t;null===(t=this.toggleLoading)||void 0===t||t.call(this,!0)}handleOnError(){var t,n,i,e,r;null===(t=this.toggleLoading)||void 0===t||t.call(this,!1),null!==(n=this.getFallback)&&void 0!==n&&n.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(e=this.togglePlaceholder)||void 0===e||e.call(this,!1)):null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!0)}st(){if(!this.ct)return;const t=this.constructor,n=t.usesShadowDom,i=n?null:t.lightDomTag,e=t.detached;if(!this.et){const d=this.win.document;if(n){Pt(!e);let{shadowRoot:n}=this.element,i=n&&(h=n,xn("c"),Nn(h,"> c"));if(i)this.ut=!0;else{var r,l,o,s,u,c;n=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const e=t.shadowCss;e&&function(t,n,i){const e=t.ownerDocument,r=e.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==r.CSSStyleSheet.prototype.replaceSync){const e=r.__AMP_SHADOW_CSS||(r.__AMP_SHADOW_CSS={});let l=e[n];l||(l=new r.CSSStyleSheet,l.replaceSync(i),e[n]=l),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(l)}else{const r=e.createElement("style");r.setAttribute("data-name",n),r.textContent=i,t.appendChild(r)}}(n,this.element.tagName,e),i=Dn(d,"c",Fi),n.appendChild(i);const a=Dn(d,"slot",qi);n.appendChild(a),null===(r=this.getPlaceholder)||void 0===r||null===(l=r.call(this))||void 0===l||l.setAttribute("slot","i-amphtml-svc"),null===(o=this.getFallback)||void 0===o||null===(s=o.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(u=this.getOverflowElement)||void 0===u||null===(c=u.call(this))||void 0===c||c.setAttribute("slot","i-amphtml-svc")}this.et=i,function(t,n){Dt.get(t).setParent(n)}(n,this.element),function(t,n,i,e=0){Dt.get(t).addGroup(n,i,e)}(this.element,"unslotted",Zi,-1),a=this.element,f=ai,Dt.get(a).group("unslotted").values.set(f,this,!1)}else if(i){this.et=this.element;const n=$n(this.et,"i-amphtml-rendered")||Dn(d,i,Hi);n.__AMP_RENDERED=!0,t.layoutSizeDefined&&n.classList.add("i-amphtml-fill-content"),this.et.appendChild(n)}else{const t=d.createElement("i-amphtml-c");this.et=t,t.classList.add("i-amphtml-fill-content"),e||this.element.appendChild(t)}}var a,f,h;const d=t.useContexts,v=this.it;if(0!=d.length&&null==v)return;const p=Oi(t,this.element,this.K,this.F,this.yt);if(this.updatePropsForRendering(p),!this.isReady(p))return;let y=rt(t.Component,p);for(let t=0;t<d.length;t++){const n=d[t].type,i=v[t];i&&(y=rt(n.Provider,{value:i},y))}const m=rt(ui,Bt({},this.Z),y);if(this.ut)this.ut=!1,D(m,this.et);else{const t=i?$n(this.et,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),lt(m,this.et,t)}n||e||this.mutateElement((()=>Fn(this.element,"amp:dom-update",null))),this.lt&&(this.lt.resolve(),this.lt=null)}getProp(t,n){return i=this.F,e=t,gt.call(i,e)?this.F[t]:n;var i,e}getApi(){const t=this.G;return t?Promise.resolve(t):(this.nt||(this.nt=new v),this.nt.promise)}Y(t){const n=Object.create(null),i=Object.keys(t);for(let t=0;t<i.length;t++)Xi(this,n,i[t]);this.G=n,this.nt&&(this.nt.resolve(n),this.nt=null)}X(t){}triggerEvent(t,n,i){Fn(t,n,i)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(wt({"loading":"unload"})),this.B=!0;else{var t;const{J:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}H(t){this.at.updatePlaying(t)}};function Xi(t,n,i){Object.defineProperty(n,i,{configurable:!0,get:()=>t.J[i],set(n){t.J[i]=n}})}function Yi(t){for(let n=0;n<t.length;n++){const i=t[n];if(At(i)){if(i.__AMP_RENDERED||i.tagName.startsWith("I-")||"i-amphtml-svc"==i.getAttribute("slot"))continue;return!0}if(3==i.nodeType)return!0}return!1}Ki.Component=function(){Pt(!1)},Ki.staticProps=void 0,Ki.useContexts=[],Ki.loadable=!1,Ki.unloadOnPause=!1,Ki.layoutSizeDefined=!1,Ki.lightDomTag="",Ki.usesTemplate=!1,Ki.shadowCss=null,Ki.usesShadowDom=!1,Ki.detached=!1,Ki.delegatesFocus=!1,Ki.props={};var te=class extends Ki{init(){return wt({"children":rt(ne,{shimDomElement:this.element})})}};function ne({shimDomElement:t}){const n=at(ln.type);return ct((()=>{en(t,ln,ne,n)}),[t,n]),rt(ot,null)}function ie(){{const t=document.createElement("style");t.textContent="bento-inline-gallery,bento-inline-gallery-pagination,bento-inline-gallery-thumbnails{display:block}bento-inline-gallery{contain:layout}bento-inline-gallery-pagination,bento-inline-gallery-thumbnails{overflow:hidden;position:relative}bento-inline-gallery-pagination:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]),bento-inline-gallery-thumbnails:not(.i-amphtml-built)>:not([placeholder]):not([slot=i-amphtml-svc]){display:none;content-visibility:hidden}\n/*# sourceURL=/extensions/amp-inline-gallery/1.0/amp-inline-gallery.css*/",document.head.appendChild(t)}customElements.define("bento-inline-gallery",te.CustomElement(te))}te.Component=function(t){let{children:n}=t,i=on(t,qn);const[e,r]=ut(0),[l,o]=ut([]),s=ft((()=>({currentSlide:e,setCurrentSlide:r,slides:l,setSlides:o})),[e,l]);return rt(Cn,Bt({size:!1,layout:!0},i),rt(ht.Provider,{value:s},n))},te.detached=!0,te.props={"loop":{attr:"loop",type:"boolean"}};export{ie as defineElement};
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */

@@ -3,0 +3,0 @@ /**

{
"name": "@ampproject/amp-inline-gallery",
"version": "1.2110212130.0",
"version": "1.2110252343.0",
"description": "AMP HTML amp-inline-gallery Component",
"author": "The AMP HTML Authors",
"license": "Apache-2.0",
"main": "./dist/component-preact.js",
"module": "./dist/component-preact.module.js",
"main": "./dist/web-component.js",
"module": "./dist/web-component.module.js",
"exports": {
".": "./preact",
".": "./web-component",
"./web-component": {
"import": "./dist/web-component.module.js",
"require": "./dist/web-component.js"
},
"./preact": {

@@ -12,0 +16,0 @@ "import": "./dist/component-preact.module.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc