@bentoproject/accordion
Advanced tools
Comparing version 1.2201131702.0 to 1.2201141909.0
@@ -1,2 +0,2 @@ | ||
var n=Object.defineProperty;function t(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function i(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function r(n){for(var r=1;r<arguments.length;r++){var u=null!=arguments[r]?arguments[r]:{};r%2?i(Object(u),!0).forEach((function(i){t(n,i,u[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(u,t))}))}return n}function u(n,t){return(u=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&u(n,t)}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function a(n,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(n)}function c(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,r=o(n);if(t){var u=o(this).constructor;i=Reflect.construct(r,arguments,u)}else i=r.apply(this,arguments);return a(this,i)}}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return yr}});var s=Array.isArray;function v(n){return s(n)?n:[n]}function h(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function d(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function m(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=y(n))||t&&n&&"number"==typeof n.length){i&&(n=i);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 b,g=Object.prototype,w=g.hasOwnProperty;function S(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function _(n){return n||{}}function j(n,t){return Object.keys(n).reduce((function(i,r){return t.includes(r)||(i[r]=n[r]),i}),{})}function O(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function k(n,t,i){var r=n[t];return void 0===r&&(r=i(n,t),n[t]=r),r}function x(n){return 1==(null==n?void 0:n.nodeType)}function M(n,t,i,r,u,e,o,l,f,a,c){return n}function A(n){return(n.ownerDocument||n).defaultView}function P(n){return void 0!==b?b:b=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n)}function z(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function E(n){M(/^[\w-]+$/.test(n))}function T(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var u=z(t,".".concat(r)),e=n.querySelectorAll(u);return i.remove(r),e}function C(n,t){if(P(n))return n.querySelector(z(t,":scope"));var i=T(n,t)[0];return void 0===i?null:i}function I(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;return!!i&&i.call(n,t)}function R(n,t){return E(t),C(n,"> [".concat(t,"]"))}function L(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)e=void 0,o=void 0,"string"==typeof(e=u=r)?o=e:x(e)&&(o=e.tagName),!(o&&o.toLowerCase().startsWith("i-")||u.nodeType===Node.ELEMENT_NODE&&(u.hasAttribute("placeholder")||u.hasAttribute("fallback")||u.hasAttribute("overflow")))&&i.push(r);var u,e,o;return i}(n)}g.toString;var H,N={bubbles:!0,cancelable:!0};function D(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function F(n,t,i,r){var u=i||{};M(n.ownerDocument);var e=n.ownerDocument.createEvent("Event");e.data=u;var o=r||N,l=o.bubbles,f=o.cancelable;e.initEvent(t,l,f),n.dispatchEvent(e)}function Y(){return H||(H=Promise.resolve(void 0))}var V,$,q,B,W,Z,U,X,G,J,K=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))},Q={},nn=[],tn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function rn(n,t){for(var i in t)n[i]=t[i];return n}function un(n){var t=n.parentNode;t&&t.removeChild(n)}function en(n,t,i){var r,u,e,o={};for(e in t)"key"==e?r=t[e]:"ref"==e?u=t[e]:o[e]=t[e];if(arguments.length>2&&(o.children=arguments.length>3?V.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(e in n.defaultProps)void 0===o[e]&&(o[e]=n.defaultProps[e]);return on(n,o,r,u,null)}function on(n,t,i,r,u){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++q:u};return null==u&&null!=$.vnode&&$.vnode(e),e}function ln(n){return n.children}function fn(n,t){this.props=n,this.context=t}function an(n,t){if(null==t)return n.__?an(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?an(n):null}function cn(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return cn(n)}}function sn(n){(!n.__d&&(n.__d=!0)&&B.push(n)&&!vn.__r++||Z!==$.debounceRendering)&&((Z=$.debounceRendering)||W)(vn)}function vn(){for(var n;vn.__r=B.length;)n=B.sort((function(n,t){return n.__v.__b-t.__v.__b})),B=[],n.some((function(n){var t,i,r,u,e,o;n.__d&&(e=(u=(t=n).__v).__e,(o=t.__P)&&(i=[],(r=rn({},u)).__v=u.__v+1,wn(o,u,r,t.__n,void 0!==o.ownerSVGElement,null!=u.__h?[e]:null,i,null==e?an(u):e,u.__h),Sn(i,u),u.__e!=e&&cn(u)))}))}function hn(n,t,i,r,u,e,o,l,f,a){var c,s,v,h,d,p,y,m=r&&r.__k||nn,b=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?on(null,h,null,null,h):Array.isArray(h)?on(ln,{children:h},null,null,null):h.__b>0?on(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<b;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}wn(n,h,v=v||Q,u,e,o,l,f,a),d=h.__e,(s=h.ref)&&v.ref!=s&&(y||(y=[]),v.ref&&y.push(v.ref,null,h),y.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=f=dn(h,f,n):f=pn(n,h,v,m,d,f),"function"==typeof i.type&&(i.__d=f)):f&&v.__e==f&&f.parentNode!=n&&(f=an(v))}for(i.__e=p,c=b;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=an(r,c+1)),jn(m[c],m[c]));if(y)for(c=0;c<y.length;c++)_n(y[c],y[++c],y[++c])}function dn(n,t,i){for(var r,u=n.__k,e=0;u&&e<u.length;e++)(r=u[e])&&(r.__=n,t="function"==typeof r.type?dn(r,t,i):pn(i,r,r,u,r.__e,t));return t}function pn(n,t,i,r,u,e){var o,l,f;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==i||u!=e||null==u.parentNode)n:if(null==e||e.parentNode!==n)n.appendChild(u),o=null;else{for(l=e,f=0;(l=l.nextSibling)&&f<r.length;f+=2)if(l==u)break n;n.insertBefore(u,e),o=e}return void 0!==o?o:u.nextSibling}function yn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||tn.test(t)?i:i+"px"}function mn(n,t,i,r,u){var e;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||yn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||yn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])e=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+e]=i,i?r||n.addEventListener(t,e?gn:bn,e):n.removeEventListener(t,e?gn:bn,e);else if("dangerouslySetInnerHTML"!==t){if(u)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function bn(n){this.l[n.type+!1]($.event?$.event(n):n)}function gn(n){this.l[n.type+!0]($.event?$.event(n):n)}function wn(n,t,i,r,u,e,o,l,f){var a,c,s,v,h,d,p,y,m,b,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(f=i.__h,l=t.__e=i.__e,t.__h=null,e=[l]),(a=$.__b)&&a(t);try{n:if("function"==typeof w){if(y=t.props,m=(a=w.contextType)&&r[a.__c],b=a?m?m.props.value:a.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(y,b):(t.__c=c=new fn(y,b),c.constructor=w,c.render=On),m&&m.sub(c),c.props=y,c.state||(c.state={}),c.context=b,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=rn({},c.__s)),rn(c.__s,w.getDerivedStateFromProps(y,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,b)||t.__v===i.__v){c.props=y,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&o.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=b,c.props=y,c.state=c.__s,(a=$.__r)&&a(t),c.__d=!1,c.__v=t,c.__P=n,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=rn(rn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=a&&a.type===ln&&null==a.key?a.props.children:a,hn(n,Array.isArray(g)?g:[g],t,i,r,u,e,o,l,f),c.base=t.__e,t.__h=null,c.__h.length&&o.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==e&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,u,e,o,l){var f,a,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(u=!0),null!=e)for(;d<e.length;d++)if((f=e[d])&&(f===n||(h?f.localName==h:3==f.nodeType))){n=f,e[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=u?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),e=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(e=e&&V.call(n.childNodes),a=(s=i.props||Q).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=e)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,u){var e;for(e in i)"children"===e||"key"===e||e in t||mn(n,e,null,i[e],r);for(e in t)u&&"function"!=typeof t[e]||"children"===e||"key"===e||"value"===e||"checked"===e||i[e]===t[e]||mn(n,e,t[e],i[e],r)}(n,v,s,u,l),c)t.__k=[];else if(d=t.props.children,hn(n,Array.isArray(d)?d:[d],t,i,r,u&&"foreignObject"!==h,e,o,e?e[0]:i.__k&&an(i,0),l),null!=e)for(d=e.length;d--;)null!=e[d]&&un(e[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&mn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&mn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,u,e,o,f);(a=$.diffed)&&a(t)}catch(n){t.__v=null,(f||null!=e)&&(t.__e=l,t.__h=!!f,e[e.indexOf(l)]=null),$.__e(n,t,i)}}function Sn(n,t){$.__c&&$.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){$.__e(n,t.__v)}}))}function _n(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){$.__e(n,i)}}function jn(n,t,i){var r,u;if($.unmount&&$.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||_n(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){$.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&jn(r[u],t,"function"!=typeof n.type);i||null==n.__e||un(n.__e),n.__e=n.__d=void 0}function On(n,t,i){return this.constructor(n,i)}function kn(n,t,i){var r,u,e;$.__&&$.__(n,t),u=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],wn(t,n=(!r&&i||t).__k=en(ln,null,[n]),u||Q,Q,void 0!==t.ownerSVGElement,!r&&i?[i]:u?null:t.firstChild?V.call(t.childNodes):null,e,!r&&i?i:u?u.__e:t.firstChild,r),Sn(e,n)}function xn(n,t){kn(n,t,xn)}function Mn(n,t){var i={__c:t="__cC"+U++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var i,r;return this.getChildContext||(i=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(sn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}V=nn.slice,$={__e:function(n,t){for(var i,r,u;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),u=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),u=i.__d),u)return i.__E=i}catch(t){n=t}throw n}},q=0,fn.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=rn({},this.state),"function"==typeof n&&(n=n(rn({},i),this.props)),n&&rn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),sn(this))},fn.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),sn(this))},fn.prototype.render=ln,B=[],W="function"==typeof Promise?Promise.prototype.then.bind(Y()):setTimeout,vn.__r=0,U=0;var An=0,Pn=[],zn=$.__b,En=$.__r,Tn=$.diffed,Cn=$.__c,In=$.unmount;function Rn(n,t){$.__h&&$.__h(G,n,An||t),An=0;var i=G.__H||(G.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Ln(n){return An=1,function(n,t,i){var r=Rn(X++,2);return r.t=n,r.__c||(r.__=[Xn(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=G),r.__}(Xn,n)}function Hn(n,t){var i=Rn(X++,3);!$.__s&&Un(i.__H,t)&&(i.__=n,i.__H=t,G.__H.__h.push(i))}function Nn(n,t){var i=Rn(X++,4);!$.__s&&Un(i.__H,t)&&(i.__=n,i.__H=t,G.__h.push(i))}function Dn(n){return An=5,Yn((function(){return{current:n}}),[])}function Fn(n,t,i){An=6,Nn((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Yn(n,t){var i=Rn(X++,7);return Un(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function Vn(n,t){return An=8,Yn((function(){return n}),t)}function $n(n){var t=G.context[n.__c],i=Rn(X++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(G)),t.props.value):n.__}function qn(){Pn.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Wn),n.__H.__h.forEach(Zn),n.__H.__h=[]}catch(t){n.__H.__h=[],$.__e(t,n.__v)}})),Pn=[]}$.__b=function(n){G=null,zn&&zn(n)},$.__r=function(n){En&&En(n),X=0;var t=(G=n.__c).__H;t&&(t.__h.forEach(Wn),t.__h.forEach(Zn),t.__h=[])},$.diffed=function(n){Tn&&Tn(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==Pn.push(t)&&J===$.requestAnimationFrame||((J=$.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),Bn&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);Bn&&(t=requestAnimationFrame(i))})(qn)),G=null},$.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Wn),n.__h=n.__h.filter((function(n){return!n.__||Zn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],$.__e(i,n.__v)}})),Cn&&Cn(n,t)},$.unmount=function(n){In&&In(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Wn)}catch(n){$.__e(n,t.__v)}};var Bn="function"==typeof requestAnimationFrame;function Wn(n){var t=G;"function"==typeof n.__c&&n.__c(),G=t}function Zn(n){var t=G;n.__c=n.__(),G=t}function Un(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Xn(n,t){return"function"==typeof t?t(n):t}var Gn,Jn=["auto","lazy","eager","unload"],Kn=(t(Gn={},"auto",0),t(Gn,"lazy",1),t(Gn,"eager",2),t(Gn,"unload",3),Gn);function Qn(n,t){var i=Kn[n]||0,r=Kn[t]||0,u=Math.max(i,r);return Jn[u]}function nt(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function tt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,u=new Error(i);for(var e in n)u[e]=n[e];return u.stack=r,u}function it(n){for(var t,i=null,r="",u=m(arguments,!0);!(t=u()).done;){var e=t.value;e instanceof Error&&!i?i=tt(e):(r&&(r+=" "),r+=e)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function rt(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function ut(n){var t=it.apply(null,arguments);setTimeout((function(){throw rt(t),t}))}function et(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){ut(n)}}function ot(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(u){var e=t(n,i,r);e&&ot(n,t,i,e,!1)}else if(n.children)for(var o,l=m(n.children,!0);!(o=l()).done;){var f=o.value;ot(f,t,i,r,!0)}}var lt=[],ft=function(){},at=function(){function n(n){this.Nh=n,this.v=null,this.m=null,this.nl=nt(this.nl.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){M(t),M(void 0!==i);var r=n.key,u=this.v||(this.v=new Map),e=u.get(r);e||(e={values:[],setters:[]},u.set(r,e));var o=e.setters.indexOf(t),l=-1==o||e.values[o]!==i;-1==o?(e.setters.push(t),e.values.push(i)):l&&(e.values[o]=i),l&&(this.ping(n,!1),ht(n)&&ot(this.Nh,ct,n,!0,!1))},t.remove=function(n,t){M(t);var i=n.key,r=this.v,u=null==r?void 0:r.get(i);if(u){M(r);var e=u.setters.indexOf(t);-1!=e&&(u.setters.splice(e,1),u.values.splice(e,1),0==u.setters.length&&r.delete(i),ot(this.Nh,ct,n))}},t.has=function(n){var t;return!(null===(t=this.v)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.tl(n);if(h(i.subscribers,t)){var r=i.value;dt(r)&&this.Fi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.m)||void 0===i?void 0:i.get(n.key);r&&d(r.subscribers,t)&&this.il(r)},t.ping=function(n,t){var i,r;null===(i=this.m)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.Fi()&&ot(this.Nh,st,void 0,lt)},t.rootUpdated=function(){var n=this,t=this.m;t&&(this.Fi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){ht(t.prop)&&n.rl(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!ht(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.m;return r&&r.forEach((function(r){var u=r.prop,e=u.key;-1==(i||n).indexOf(e)&&(t.ping(u,!0),t.Nh.children&&t.has(u)&&(i||(i=n.slice(0)),i.push(e)))})),i||n},t.Fi=function(){return!!this.Nh.root},t.tl=function(n){var t=this,i=n.deps,r=n.key,u=this.m||(this.m=new Map),e=u.get(r);return e||(e={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(ft):lt,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.Fi()){var i=n?2:1;e.pending=Math.max(e.pending,i),t.nl()}},pingDep:i.length>0?i.map((function(n,t){return function(n){e.depValues[t]=n,e.ping()}})):lt,pingParent:ht(n)?function(n){e.parentValue=n,e.ping()}:null},u.set(r,e),i.forEach((function(n,i){return t.subscribe(n,e.pingDep[i])})),e.ping(!1)),e},t.il=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,u=n.prop,e=u.deps,o=u.key;null===(t=this.m)||void 0===t||t.delete(o),this.rl(n,null),e.length>0&&e.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.nl=function(){var n=this;if(this.Fi()){var t=this.m;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return ut("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.ul(t)}}))}while(i>0)}}},t.ul=function(n){var t,i=2==n.pending;try{t=this.el(n,i)}catch(n){ut(n)}n.pending=0,this.ol(n,t)},t.ol=function(n,t){var i=n.prop,r=n.value,u=i.key,e=this.m;if(r!==t&&n===(null==e?void 0:e.get(u))&&this.Fi()){n.value=t;for(var o,l=m(n.subscribers,!0);!(o=l()).done;)(0,o.value)(t)}},t.el=function(n,t){var i,r;M(this.Fi());var u=n.depValues,e=n.prop,o=e.compute,l=e.defaultValue,f=e.key,a=null===(i=this.v)||void 0===i||null===(r=i.get(f))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(e,a);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Nh,vt,e,!1):null;this.rl(n,s)}var v=dt(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(u.every(dt)&&(!c||dt(v))){var d=this.Nh.node;a&&!o?h=a[0]:ht(e)?a||u.length>0?h=function(n,t,i,r,u){switch(u.length){case 0:return n(t,i,r);case 1:return n(t,i,r,u[0]);case 2:return n(t,i,r,u[0],u[1]);case 3:return n(t,i,r,u[0],u[1],u[2]);default:return n.apply(null,[t,i,r].concat(u))}}(o,d,a||lt,v,u):dt(v)&&(h=v):o&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(o,d,a||lt,u))}return h},t.rl=function(n,t){var i=n.parentContextNode,r=n.pingParent,u=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,M(r),i&&i.values.unsubscribe(u,r),t&&(M(r),t.values.subscribe(u,r)))},n}();function ct(n,t){return n.values.scan(t)}function st(n,t,i){return n.values.scanAll(i)}function vt(n,t){return n.values.has(t)}function ht(n){return!!n.recursive}function dt(n){return void 0!==n}var pt=function(){function n(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 at(this),this.ll=null,this.fl=!1,this.al=nt(this.cl.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,u=t.target;u.assignedNodes().forEach(yt),null===(i=n.closest(u))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(mt)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var u=r,e=u.nodeType;if(9==e||11==e||x(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var o=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=o||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,yt(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,yt(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(mt)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.al():this.name&&this.children&&this.children.forEach(mt)},t.isDiscoverable=function(){return!this.isRoot&&!this.fl},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.sl(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){M(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.ll)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var u=this.groups||(this.groups=new Map),e=this.children,o=new n(this.node,t);return u.set(t,{cn:o,match:i,weight:r}),o.setParent(this),null==e||e.forEach(mt),o},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,u=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var e=i.cn,o=i.match,l=i.weight;o(n,t.node)&&l>u&&(r=e,u=l)})),r},t.subscribe=function(n,t,i,r){var u=this.ll||(this.ll=new Map),e=u.get(n);e||(e=new t(this,i,r),u.set(n,e))},t.unsubscribe=function(n){var t=this.ll,i=null==t?void 0:t.get(n);i&&(i.dispose(),M(t),t.delete(n))},t.cl=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.sl(i,!1)}},t.sl=function(n,t){var i;this.fl=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(M(r.children),d(r.children,this)),n){var u=n.children||(n.children=[]);h(u,this);for(var e,o=m(u,!0);!(e=o()).done;){var l=e.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function yt(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=pt.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var u,e=m(r.children,!0);!(u=e()).done;){var o=u.value;n.contains(o.node)&&t(o)}}(n,mt)}function mt(n){n.discover()}var bt=[];function gt(n,t){var i=r({key:n,deps:bt,recursive:!1},t);return M(0==i.deps.length||i.compute),i}var wt=[],St=function(){};function _t(n,t,i){t=v(t);var r=i;pt.get(n).subscribe(r,jt,i,t)}var jt=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.vl=t,this.hl=i,this.dl=i.length>0?i.map(St):wt,this.pl=i.length>0?i.map((function(n,t){return function(n){r.dl[t]=n,r.yl()}})):wt,this.Yn=!1,this.ml=null,this.yl=nt(this.yl.bind(this),setTimeout),i.length>0){var u=this.contextNode.values;i.forEach((function(n,t){return u.subscribe(n,r.pl[t])}))}this.Fi()&&this.yl()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.hl.length>0){var t=this.contextNode.values;this.hl.forEach((function(i,r){return t.unsubscribe(i,n.pl[r])}))}this.Se()},t.rootUpdated=function(){var n=this.Fi();this.Se(),n&&this.yl()},t.Fi=function(){return!!this.contextNode.root},t.yl=function(){this.Fi()&&(this.dl.every(Ot)?(this.Yn=!0,this.bl()):this.Yn&&(this.Yn=!1,this.Se()))},t.bl=function(){this.Se();var n=this.vl;this.ml=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.dl)},t.Se=function(){this.ml&&(et(this.ml),this.ml=null)},n}();function Ot(n){return void 0!==n}function kt(n){pt.get(n).discover()}function xt(n,t,i,r){pt.get(n).values.set(t,i,r)}function Mt(n,t,i){pt.get(n).values.remove(t,i)}var At,Pt=function(){function n(n,t){this.o=n,this.K=t,this.St={},this._t=null}var t=n.prototype;return t.start=function(){this._t=this.St,this.St={}},t.resolveMatchQuery=function(n){return"1"===this.kt(n,zt,"1")},t.resolveListQuery=function(n){return this.kt(n,Et,"")},t.complete=function(){for(var n in this._t)n in this.St||Tt(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)Tt(this.St[n],this.K,!1);this.St={}},t.kt=function(n,t,i){if(!n.trim())return i;var r=this.St[n];return r||(M(this._t),r=this._t[n]),r||Tt(r=t(this.o,n),this.K,!0),this.St[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,u=i.value;if(!r||r.matches)return u}return""}(r)},n}();function zt(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function Et(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,u;if(")"==t.charAt(t.length-1)){var e=1;for(u=t.length-2;u>=0;u--){var o=t.charAt(u);if("("==o?e--:")"==o&&e++,0==e)break}var l=u-1;if(u>0)for(u--;u>=0;u--){var f=t.charAt(u);if(!("%"==f||"-"==f||"_"==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}if(u>=l)return null}else for(u=t.length-2;u>=0;u--){var a=t.charAt(u);if(!("%"==a||"."==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}return u>=0?(i=t.substring(0,u+1).trim(),r=t.substring(u+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function Tt(n,t,i){for(var r=0;r<n.length;r++){var u=n[r].query;u&&(void 0!==u.onchange?u.onchange=i?t:null:i?u.addListener(t):u.removeListener(t))}}var Ct=["Webkit","webkit","Moz","moz","ms","O","o"],It={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function Rt(n,t,i){if(Dt(t))return t;At||(At=S());var r=At[t];if(!r||i){if(r=t,void 0===n[t]){var u=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),e=function(n,t){for(var i=0;i<Ct.length;i++){var r=Ct[i]+t;if(void 0!==n[r])return r}return""}(n,u);void 0!==n[e]&&(r=e)}i||(At[t]=r)}return r}function Lt(n,t,i,r,u){var e=Rt(n.style,t,u);if(e){var o=r?i+r:i;Dt(e)?n.style.setProperty(e,o):n.style[e]=o}}function Ht(n,t,i){var r=Rt(n.style,t,i);if(r)return Dt(r)?n.style.getPropertyValue(r):n.style[r]}function Nt(n,t){for(var i in t)Lt(n,i,t[i])}function Dt(n){return n.startsWith("--")}var Ft=/vertical/,Yt=new WeakMap,Vt=new WeakMap,$t=new WeakMap;function qt(n){var t=Yt.get(n);return t||(t=new n.ResizeObserver(Bt),Yt.set(n,t)),t}function Bt(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],u=r.target;if(!t.has(u)){t.add(u);var e=Vt.get(u);if(e){$t.set(u,r);for(var o=0;o<e.length;o++){var l=e[o],f=l.callback;Wt(l.type,f,r)}}}}}function Wt(n,t,i){if(0==n){var r=i.contentRect,u=r.height;et(t,{width:r.width,height:u})}else if(1==n){var e,o=i.borderBoxSize;if(o)e=o.length>0?o[0]:{inlineSize:0,blockSize:0};else{var l,f,a=i.target,c=A(a),s=Ft.test(function(n,t){return n.getComputedStyle(t)||It}(c,a).writingMode),v=a,h=v.offsetHeight,d=v.offsetWidth;s?(f=d,l=h):(l=d,f=h),e={inlineSize:l,blockSize:f}}et(t,e)}}var Zt,Ut,Xt,Gt=function(){function n(n){this.gl=n,this.wl=!1,this.Sl=!1,this._l=this._l.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.wl&&(this.wl=n,n?(this.Sl=!1,function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var u=Vt.get(n);if(u||(u=[],Vt.set(n,u),qt(r).observe(n)),!u.some((function(n){return n.callback===i&&1===n.type}))){u.push({type:1,callback:i});var e=$t.get(n);e&&setTimeout((function(){return Wt(1,i,e)}))}}}(this.gl,0,this._l)):function(n,t){!function(n,t,i){var r=Vt.get(n);if(r&&(function(n,t){for(var r=[],u=0,e=0;e<n.length;e++){var o=n[e];(l=o).callback===i&&1===l.type?r.push(o):(u<e&&(n[u]=o),u++)}var l;u<n.length&&(n.length=u)}(r),0==r.length)){Vt.delete(n),$t.delete(n);var u=n.ownerDocument.defaultView;u&&qt(u).unobserve(n)}}(n,0,t)}(this.gl,this._l))},t._l=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this.Sl){this.Sl=i;var r=this.gl;i||r.pause()}},n}();function Jt(){return Xt||(Xt=Mn({renderable:!0,playable:!0,loading:"auto"}))}function Kt(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,u=n.notify,e=n.playable,o=void 0===e||e,l=n.renderable,f=void 0===l||l,a=Qt(),c=f&&a.renderable,s=c&&o&&a.playable,v=Qn(c?"auto":"lazy",Qn(r,a.loading)),h=u||a.notify,d=Yn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return en(Jt().Provider,{children:t,value:d})}function Qt(){return $n(Jt())}Zt="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=A(n)}n.CustomElement=function(n){return Ut||(Ut=function(n){if("object"!==("undefined"==typeof Reflect?"undefined":l(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}(HTMLElement)),function(t){e(r,Ut);var i=c(r);function r(){var t;return(t=i.call(this)).implementation=new n(f(t)),t}var u=r.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},r}()};var t=n.prototype;return t.mutateElement=function(n){Y().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var ni=gt("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(ri)},compute:function(n,t,i){return i&&t.reduce(ri,!0)||!1}}),ti=gt("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(ri)},deps:[ni],compute:function(n,t,i,r){return r&&i&&t.reduce(ri,!0)||!1}}),ii=gt("Loading",{defaultValue:"auto",recursive:!0,deps:[ni],compute:function(n,t,i,r){return Qn(r?"auto":"lazy",Qn(i||"auto",t.reduce(Qn,"auto")))}}),ri=function(n,t){return n&&t};function ui(){var n=0;return function(){return String(++n)}}var ei=function(n){return n.ensureLoaded()},oi=function(n){return n.pause()},li=function(n){return n.unmount()};function fi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];si(n,t,!1,ei)}function ai(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];si(n,t,!0,oi)}function ci(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];si(n,t,!0,li)}function si(n,t,i,r){for(var u=v(n),e=0;e<u.length;e++)vi(u[e],t,i,r)}function vi(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var u=n;if(et(r,u),!i){var e=u.getPlaceholder();return void(e&&vi(e,!0,!1,r))}}for(var o=n.getElementsByClassName("i-amphtml-element"),l=null,f=0;f<o.length;f++){var a=o[f];if(i)et(r,a);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(a)){c=!0;break}c||(l.push(a),et(r,a))}}}var hi={},di=new WeakMap;function pi(n,t,i){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!u)return en(yi,r(r({},i||hi),{},{name:t}));var e=di.get(n);if(e&&O(e.oldProps,i))return e.component;function o(n){return en(yi,r(r({},i||hi),{},{name:t},n))}return di.set(n,{oldProps:i,component:o}),o}function yi(n){var t=Dn(null);return mi(t,n),Hn((function(){n.postRender&&n.postRender()})),en("slot",r(r({},n),{},{ref:t}))}function mi(n,t){var i=null==t?void 0:t.loading,r=Qt();Nn((function(){var t=n.current;return M(x(t)),xt(t,ni,yi,r.renderable),xt(t,ti,yi,r.playable),xt(t,ii,yi,r.loading),r.playable||bi(t,ai,!0),function(){var n;Mt(t,ni,yi),Mt(t,ti,yi),Mt(t,ii,yi),n=t,pt.rediscoverChildren(n)}}),[n,r]),Nn((function(){var t=n.current;return M(x(t)),"lazy"!=i&&bi(t,fi,!0),function(){bi(t,ci,!1)}}),[n,i])}function bi(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var u=n.ownerDocument.defaultView;u&&(u.requestIdleCallback||u.setTimeout)((function(){return t(r)}))}else t(r)}var gi={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},wi=ui();function Si(n,t){return Object.values(n).some(t)}var _i=function(n){return"string"==typeof n||!!n.selector},ji=function(n){var t;return 3===n.nodeType&&0===(null===(t=n.nodeValue)||void 0===t?void 0:t.trim().length)};function Oi(n,t,i,u,e){var o=n.layoutSizeDefined,l=n.lightDomTag,f=n.props;e&&e.start();var a=r(r({},u),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),o&&(n.usesShadowDom?a.style=gi:a.class="i-amphtml-fill-content"),ki(n,a,f,t,e),e&&e.complete(),a}function ki(n,t,i,r,u){if(Si(i,_i))for(var e=L(r),o=0;o<e.length;o++){var l=e[o],f=Mi(l,i);if(f){var a=i[f],c=a.as,s=void 0!==c&&c,v=a.single,h=a.name,d=void 0===h?f:h,p=a.clone,y=a.props,m=void 0===y?{}:y;M(p||n.usesShadowDom);var b={};if(ki(n,b,m,l,u),v)t[d]=pi(l,l.getAttribute("slot")||"i-amphtml-".concat(d),b,s);else{var g=t[d]||(t[d]=[]);M(!s),g.push(p?xi(l):pi(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(wi()),b))}}}for(var w in i){var S=i[w];M([S.attr,S.attrs,S.attrMatches,S.selector,S.passthrough,S.passthroughNonEmpty].filter(Boolean).length<=1);var _=void 0;if(S.passthrough?(M(n.usesShadowDom),_=[en(yi,{loading:"lazy"})]):S.passthroughNonEmpty?(M(n.usesShadowDom),_=L(r).every(ji)?null:[en(yi,{loading:"lazy"})]):S.attr?(_=r.getAttribute(S.attr),S.media&&null!=_&&(M(u),_=u.resolveListQuery(String(_)))):S.parseAttrs&&(M(S.attrs||S.attrMatches),_=S.parseAttrs(r)),null==_)null!=S.default&&(t[w]=S.default);else{var j="number"==S.type?parseFloat(_):"boolean"==S.type?null==(O=_)?void 0:"false"!==O:_;t[w]=j}}var O}function xi(n){for(var t={"key":n},i=n.attributes,r=n.localName,u=i.length,e=0;e<u;e++){var o=i[e],l=o.name,f=o.value;t[l]=f}return en(r,t)}function Mi(n,t){for(var i in t){var r=t[i],u="string"==typeof r?r:r.selector;if(u&&I(n,u))return i}return null}var Ai={childList:!0},Pi={childList:!0,characterData:!0},zi={childList:!0},Ei=_({"style":"display: contents; background: inherit;","part":"c"}),Ti=_({"name":"i-amphtml-svc"}),Ci=_({"i-amphtml-rendered":""}),Ii=function(){return!0},Ri=function(n){return!!n.media},Li=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},Hi=function(n){e(i,n);var t=c(i);function i(n){var i;return(i=t.call(this,n)).jl=_({"loading":"auto","onReadyState":function(n,t){i.Ol(n,t)},"onPlayingState":function(n){i.kl(n)},"onLoading":function(){i.handleOnLoading()},"onLoad":function(){i.handleOnLoad()},"onError":function(){i.handleOnError()}}),i.xl={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.Ml=!1,i.Al=null,i.Pl=null,i.zl=function(n){null!==n&&(i.Al?i.El(n):i.Tl(n)),i.Pl=n,i.Cl()},i.Il=null,i.Rl=null,i.Ll=null,i.Hl=!1,i.Nl=null,i.Dl=function(){i.Hl=!1,i.Fl()},i.Yl=!1,i.Bi=!1,i.observer=null,i.Vl=new Gt(n),i.un=null,i}i.R1=function(){return!0},i.requiresShadowDom=function(){return this.usesShadowDom},i.usesLoading=function(){return this.loadable},i.prerenderAllowed=function(){return!this.usesLoading()},i.Component=function(){M(!1)};var u=i.prototype;return u.init=function(){},u.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},u.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.$l(t)}));var i=t.props,u=Si(i,_i)?Ai:null,e=Si(i,Li)?Pi:null,o=t.usesTemplate?zi:null;this.observer.observe(this.element,r(r(r({attributes:!0},u),e),o)),this.un=Si(i,Ri)?new Pt(this.win,(function(){return n.ql()})):null;var l=t.staticProps,f=this.init();Object.assign(this.jl,l,f),this.checkPropsPostMutations(),_t(this.element,[],(function(){return function(){n.Bi=!1,n.Ll&&kn(null,n.Ll)}})),_t(this.element,[ni,ti,ii],(function(t,i,r){n.xl.renderable=t,n.xl.playable=i,n.xl.loading=r,n.Bi=!0,n.ql()}));var a,c=t.useContexts;return 0!=c.length&&_t(this.element,c,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.Rl=i,n.ql()})),this.Nl=new K,this.ql(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Cl(),this.Nl.promise},u.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps(_({"loading":"eager"})),this.Ml=!0)},u.mountCallback=function(){kt(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Ml=!1)},u.unmountCallback=function(){var n;kt(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.kl(!1),null===(n=this.un)||void 0===n||n.dispose()},u.mutatedAttributesCallback=function(){this.Ll&&this.ql()},u.attemptChangeHeight=function(t){var i=this;return n.prototype.attemptChangeHeight.call(this,t).catch((function(n){throw i.getOverflowElement&&!i.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",i.element),n}))},u.mutateProps=function(n){Object.assign(this.jl,n),this.ql()},u.api=function(){var n=this.Pl;return M(n),n},u.registerApiAction=function(n,t){var i,r=this,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(i=this.registerAction)||void 0===i||i.call(this,n,(function(n){t(r.api(),n)}),u)},u.mutationObserverCallback=function(n){},u.checkPropsPostMutations=function(){},u.updatePropsForRendering=function(n){},u.isReady=function(n){return!0},u.$l=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var u in r){var e,o,l=r[u],f=t.attributeName;if(M(f),f==l.attr||null!==(e=l.attrs)&&void 0!==e&&e.includes(f)||null!==(o=l.attrMatches)&&void 0!==o&&o.call(l,f))return!0}return!1}return"childList"==i&&(Ni(t.addedNodes)||Ni(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.ql())},u.ql=function(){this.Hl||(this.Hl=!0,this.mutateElement(this.Dl))},u.Cl=function(){var n=this.Pl,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Ol(t)},u.Ol=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.kl("complete"==n),this.Ml&&(this.Ml=!1,this.mutateProps({"loading":"auto"}))},u.handleOnLoad=function(){var n,t,i;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null===(t=this.toggleFallback)||void 0===t||t.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)},u.handleOnLoading=function(){var n;null===(n=this.toggleLoading)||void 0===n||n.call(this,!0)},u.handleOnError=function(){var n,t,i,r,u;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null!==(t=this.getFallback)&&void 0!==t&&t.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!1)):null===(u=this.togglePlaceholder)||void 0===u||u.call(this,!0)},u.Fl=function(){var n,t,i,u=this;if(this.Bi){var e,o=this.constructor,l=o.detached,f=o.usesShadowDom,a=f?null:o.lightDomTag;if(!this.Ll){var c=this.win.document;if(f){M(!l);var s=this.element.shadowRoot,v=s&&(e=s,E("c"),C(e,"> ".concat("c")));if(v)this.Yl=!0;else{var h,d,p,y,m,b;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,u=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==u.CSSStyleSheet.prototype.replaceSync){var e=u.__AMP_SHADOW_CSS||(u.__AMP_SHADOW_CSS={}),o=e[t];o||(M((o=new u.CSSStyleSheet).replaceSync),o.replaceSync(i),e[t]=o),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(o)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=D(c,"c",Ei),s.appendChild(v);var w=D(c,"slot",Ti);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(y=p.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(b=m.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc")}this.Ll=v,M(s),function(n,t){pt.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;pt.get(n).addGroup(t,i,r)}(this.element,"unslotted",Ii,-1),n=this.element,t=ni,this,null===(i=pt.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){var S=this.element;this.Ll=S;var _=R(S,"i-amphtml-rendered")||D(c,a,Ci);_.__AMP_RENDERED=!0,o.layoutSizeDefined&&_.classList.add("i-amphtml-fill-content"),this.Ll.appendChild(_)}else{var j=c.createElement("i-amphtml-c");this.Ll=j,j.classList.add("i-amphtml-fill-content"),l||this.element.appendChild(j)}}var O=this.Ll;M(O);var k=o.useContexts,x=this.Rl;if(0==k.length||null!=x){var A=Oi(o,this.element,this.zl,this.jl,this.un);if(this.updatePropsForRendering(A),this.isReady(A)){for(var P=en(o.Component,A),z=0;z<k.length;z++){M(x);var T=k[z].type,I=x[z];I&&(P=en(T.Provider,{value:I},P))}var L=en(Kt,r({},this.xl),P);if(this.Yl)this.Yl=!1,xn(L,O);else{var H=a?R(O,"i-amphtml-rendered"):null;H&&(H.__AMP_RENDERED=!0),kn(L,O,null!=H?H:void 0)}f||l||this.mutateElement((function(){return F(u.element,"amp:dom-update",void 0)})),this.Nl&&(this.Nl.resolve(void 0),this.Nl=null)}}}},u.getProp=function(n,t){return i=this.jl,r=n,w.call(i,r)?this.jl[n]:t;var i,r},u.getApi=function(){var n=this.Al;return n?Promise.resolve(n):(this.Il||(this.Il=new K),this.Il.promise)},u.Tl=function(n){for(var t=S(),i=Object.keys(n),r=0;r<i.length;r++){var u=i[r];this.Bl(t,u)}this.Al=t,this.Il&&(this.Il.resolve(t),this.Il=null)},u.El=function(n){},u.triggerEvent=function(n,t,i){F(n,t,i)},u.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps(_({"loading":"unload"})),this.Ml=!0;else{var n,t=this.Pl;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},u.kl=function(n){this.Vl.updatePlaying(n)},u.Bl=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){var n=i.Pl;return M(n),n[t]},set:function(n){var r=i.Pl;M(r),r[t]=n}})},i}(Zt);function Ni(n){for(var t=0;t<n.length;t++){var i=n[t];if(x(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}function Di(n,t){if(null==n)return{};var i,r,u={},e=Object.keys(n);for(r=0;r<e.length;r++)i=e[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}t(Hi,"staticProps",void 0),t(Hi,"useContexts",[]),t(Hi,"loadable",!1),t(Hi,"unloadOnPause",!1),t(Hi,"layoutSizeDefined",!1),t(Hi,"lightDomTag",""),t(Hi,"usesTemplate",!1),t(Hi,"shadowCss",null),t(Hi,"usesShadowDom",!1),t(Hi,"detached",!1),t(Hi,"delegatesFocus",!1),t(Hi,"props",{});var Fi,Yi=["ref"],Vi="undefined"!=typeof Symbol&&(null===(Fi=Symbol.for)||void 0===Fi?void 0:Fi.call(Symbol,"react.forward_ref"))||3911,$i=$.__b;function qi(n){function t(t){var i=t.ref,r=Di(t,Yi);return n(r,i)}return t.$$typeof=Vi,t.render=t,t.prototype.isReactComponent=!0,t.Wl=!0,t}function Bi(n){var t=function(n,t){if("object"!==l(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(t)?t:String(t)}$.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.Wl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==$i||$i(n)};var Wi=[null,"paint","layout","content","size","size paint","size layout","strict"],Zi={"position":"relative","width":"100%","height":"100%"};function Ui(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,u,e=[],o=!0,l=!1;try{for(i=i.call(n);!(o=(r=i.next()).done)&&(e.push(r.value),!t||e.length!==t);o=!0);}catch(n){l=!0,u=n}finally{try{o||null==i.return||i.return()}finally{if(l)throw u}}return e}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xi(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var r=t();return r.onfinish=r.oncancel=function(){r=null,i&&i(),n.classList.remove("i-amphtml-animating")},function(){r&&r.cancel()}}function Gi(n){var t=window.innerHeight,i=Math.abs(n)/t*500;return Math.min(Math.max(i,200),500)}qi((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.contentAs,f=void 0===l?"div":l,a=n.contentClassName,c=n.contentProps,s=n.contentRef,v=n.contentStyle,h=n.layout,d=void 0!==h&&h,p=n.paint,y=void 0!==p&&p,m=n.size,b=void 0!==m&&m,g=n.style,w=n.wrapperClassName,S=n.wrapperStyle,_=n[i],j=(b?4:0)+(d?2:0)+(y?1:0);return en(e,r(r({},Di(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(Bi))),{},{ref:t,class:"".concat(_||""," ").concat(w||"").trim()||null,style:r(r(r({},g),S),{},{contain:Wi[j]})}),en(f,r(r({},c),{},{ref:s,class:a,style:r(r({},b&&Zi),{},{"overflow":y?"hidden":"visible"},v)}),o))})),qi((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.style,f=n.wrapperClassName,a=n.wrapperStyle,c=n[i];return en(e,r(r({},Di(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(Bi))),{},{ref:t,class:"".concat(c||""," ").concat(f||"").trim()||null,style:r(r({},l),a)}),o)}));var Ji=["animate","as","children","expandSingleSection","id"],Ki=["animate","as","children","expanded","id","onExpandStateChange"],Qi=Mn({}),nr=Mn({}),tr={},ir={},rr=ui(),ur=function(){return String(Math.floor(1e5*Math.random()))},er=qi((function(n,i){var u=n.animate,e=void 0!==u&&u,o=n.as,l=void 0===o?"section":o,f=n.children,a=n.expandSingleSection,c=void 0!==a&&a,s=n.id,v=Di(n,Ji),h=Ui(Ln(tr),2),d=h[0],p=h[1],y=Dn(ir),m=Ui(Ln(ur),1)[0],b=s||"a".concat(m);Hn((function(){c&&p((function(n){var t={},i=0;for(var r in n)t[r]=n[r]&&0==i++;return t}))}),[c]);var g=Vn((function(n,i,u){var e=u.current;return p((function(t){return or(n,i,t,c)})),y.current=r(r({},y.current),{},t({},n,e)),function(){p((function(t){return j(t,n)})),y.current=j(y.current,n)}}),[c]),w=Vn((function(n,t){p((function(i){var r=null!=t?t:!i[n],u=or(n,r,i,c);return Y().then((function(){for(var n in i){var t=y.current[n];t&&i[n]!=u[n]&&t(u[n])}})),u}))}),[c]),S=Vn((function(n,t){var i;return null!==(i=d[n])&&void 0!==i?i:t}),[d]),_=Vn((function(n){if(n)n in d&&w(n);else if(!c)for(var t in d)w(t)}),[d,w,c]),O=Vn((function(n){if(n)S(n,!0)||w(n);else if(!c)for(var t in d)S(t,!0)||w(t)}),[d,w,S,c]),k=Vn((function(n){if(n)S(n,!1)&&w(n);else for(var t in d)S(t,!1)&&w(t)}),[d,w,S]);Fn(i,(function(){return{toggle:_,expand:O,collapse:k}}),[_,k,O]);var x=Yn((function(){return{registerSection:g,toggleExpanded:w,isExpanded:S,animate:e,prefix:b}}),[g,w,S,e,b]);return en(l,r({id:s},v),en(Qi.Provider,{value:x},f))}));function or(n,i,u,e){var o;if(e&&i)for(var l in o=t({},n,i),u)l!=n&&(o[l]=!1);else o=r(r({},u),{},t({},n,i));return o}function lr(n){var t=n.animate,i=void 0!==t&&t,u=n.as,e=void 0===u?"section":u,o=n.children,l=n.expanded,f=void 0!==l&&l,a=n.id,c=n.onExpandStateChange,s=Di(n,Ki),v=Ui(Ln(rr),1)[0],h=a||v,d=Ui(Ln(ur),1)[0],p=Ui(Ln(f),2),y=p[0],m=p[1],b=Ui(Ln(null),2),g=b[0],w=b[1],S=Ui(Ln(null),2),_=S[0],j=S[1],O=$n(Qi),k=O.animate,x=O.isExpanded,M=O.prefix,A=O.registerSection,P=O.toggleExpanded,z=x?x(h,f):y,E=null!=k?k:i,T=g||"".concat(M||"a","-content-").concat(h,"-").concat(d),C=_||"".concat(M||"a","-header-").concat(h,"-").concat(d),I=Dn(null);I.current=c,Nn((function(){if(A)return A(h,f,I)}),[A,h,f]);var R=Vn((function(n){P?P(h,n):m((function(t){var i=null!=n?n:!t;return Y().then((function(){var n=I.current;n&&n(i)})),i}))}),[h,P]),L=Yn((function(){return{animate:E,contentId:T,headerId:C,expanded:z,toggleHandler:R,setContentId:w,setHeaderId:j}}),[E,T,C,z,R]);return en(e,r({},s),en(nr.Provider,{value:L},o))}function fr(n){var t="class",i="tabIndex",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.id,f=n.role,a=void 0===f?"button":f,c=n[t],s=void 0===c?"":c,v=n[i],h=void 0===v?0:v,d=Di(n,["as","children","id","role",t,i].map(Bi)),p=$n(nr),y=p.contentId,m=p.expanded,b=p.headerId,g=p.setHeaderId,w=p.toggleHandler;return Nn((function(){g&&g(l)}),[g,l]),en(e,r(r({},d),{},{id:b,role:a,class:"".concat(s," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:h,"aria-controls":y,onClick:function(){return w()},"aria-expanded":String(m)}),o)}function ar(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"region":l,a=n[t],c=void 0===a?"":a,s=Di(n,["as","children","id","role",t].map(Bi)),v=Dn(null),h=Dn(!1),d=$n(nr),p=d.animate,y=d.contentId,m=d.expanded,b=d.headerId,g=d.setContentId;return Hn((function(){return h.current=!0,function(){return h.current=!1}}),[]),Nn((function(){g&&g(o)}),[g,o]),Nn((function(){var n=h.current,t=v.current;if(p&&n&&t&&t.animate)return m?function(n){return Xi(n,(function(){var t=Ht(n,"height"),i=Ht(n,"opacity"),r=Ht(n,"overflowY");Nt(n,{height:0,opacity:0,overflowY:"auto"});var u=n.scrollHeight;Nt(n,{height:t,opacity:i,overflowY:r});var e=Gi(u);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:u+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:e})}))}(t):function(n){return Xi(n,(function(){var t=n.offsetHeight,i=Gi(t);return n.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(t)}),[m,p]),en(Kt,{renderable:m},en(u,r(r({},s),{},{ref:v,class:c+" section-child-00fce3c"+(m?"":" content-hidden-00fce3c"),id:y,"aria-labelledby":b,role:f}),e))}er.displayName="Accordion";var cr=function(n){e(i,Hi);var t=c(i);function i(){return t.apply(this,arguments)}return i.prototype.init=function(){var n=this,t=function(t){return function(i){var r;!function(n,t,i){var r=n.hasAttribute(t),u=void 0!==i?i:!r;u!==r&&(u?n.setAttribute(t,""):n.removeAttribute(t))}(t,"expanded",i),null===(r=t.__AMP_PR)||void 0===r||r.call(t),n.triggerEvent(t,i?"expand":"collapse")}},i=this.element,r=new MutationObserver((function(){n.mutateProps(sr(i,r,t))}));return r.observe(i,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),_({"children":sr(i,r,t).children})},i}();function sr(n,t,i){var u,e,o,l,f,a=(e=n,o="section",E(o),l=e,f="> ".concat(o),(u=P(l)?l.querySelectorAll(z(f,":scope")):T(l,f))?Array.prototype.slice.call(u):[]).map((function(n){n.__AMP_PR||(n.__AMP_PR=function(){return t.takeRecords()});var u=k(n,"__AMP_H_SHIM",hr),e=k(n,"__AMP_C_SHIM",pr),o=k(n,"__AMP_EXPAND_STATE_SHIM",i),l=_({"key":n,"expanded":n.hasAttribute("expanded"),"id":n.getAttribute("id"),"onExpandStateChange":o}),f=_({"as":u,"id":n.firstElementChild.getAttribute("id"),"role":n.firstElementChild.getAttribute("role")||void 0}),a=_({"as":e,"id":n.lastElementChild.getAttribute("id"),"role":n.lastElementChild.getAttribute("role")||void 0});return en(lr,r({},l),en(fr,r({},f)),en(ar,r({},a)))}));return _({"children":a})}function vr(n,t){var i=t["aria-controls"],r=t["aria-expanded"],u=t.id,e=t.onClick,o=t.role,l=n.firstElementChild;return Nn((function(){if(l&&e)return l.setAttribute("id",u),l.classList.add("i-amphtml-accordion-header"),l.addEventListener("click",e),l.hasAttribute("tabindex")||l.setAttribute("tabindex",0),l.setAttribute("aria-expanded",r),l.setAttribute("aria-controls",i),l.setAttribute("role",o),n.__AMP_PR&&n.__AMP_PR(),function(){l.removeEventListener("click",M(e))}}),[n,l,u,o,e,i,r]),en("header",null)}var hr=function(n){return vr.bind(null,n)};function dr(n,t,i){var r=t["aria-labelledby"],u=t.id,e=t.role,o=n.lastElementChild,l=Dn();return l.current=o,mi(l),function(n,t){Fn(n,(function(){return t}),[t])}(i,o),Nn((function(){o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",u),o.setAttribute("role",e),o.setAttribute("aria-labelledby",r),n.__AMP_PR&&n.__AMP_PR())}),[n,o,u,e,r]),en("div",null)}var pr=function(n){return qi(dr.bind(null,n))};function yr(){customElements.define("bento-accordion",cr.CustomElement(cr))} | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */cr.Component=er,cr.detached=!0,cr.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}}; | ||
var n=Object.defineProperty;function t(n,t,i){return t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n}function i(n,t){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.push.apply(i,r)}return i}function r(n){for(var r=1;r<arguments.length;r++){var u=null!=arguments[r]?arguments[r]:{};r%2?i(Object(u),!0).forEach((function(i){t(n,i,u[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(u)):i(Object(u)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(u,t))}))}return n}function u(n,t){return(u=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function e(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&u(n,t)}function o(n){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function f(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function a(n,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(n)}function c(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var i,r=o(n);if(t){var u=o(this).constructor;i=Reflect.construct(r,arguments,u)}else i=r.apply(this,arguments);return a(this,i)}}!function(t,i){for(var r in function(t){n(t,"__esModule",{value:!0})}(t),i)n(t,r,{get:i[r],enumerable:!0})}(exports,{defineElement:function(){return pr}});var s=Array.isArray;function v(n){return s(n)?n:[n]}function h(n,t){return n.indexOf(t)<0&&(n.push(t),!0)}function d(n,t){var i=n.indexOf(t);return-1!=i&&(n.splice(i,1),!0)}function p(n,t){(null==t||t>n.length)&&(t=n.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=n[i];return r}function y(n,t){if(n){if("string"==typeof n)return p(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);return"Object"===i&&n.constructor&&(i=n.constructor.name),"Map"===i||"Set"===i?Array.from(n):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?p(n,t):void 0}}function m(n,t){var i="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(i)return(i=i.call(n)).next.bind(i);if(Array.isArray(n)||(i=y(n))||t&&n&&"number"==typeof n.length){i&&(n=i);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 b,g=Object.prototype,w=g.hasOwnProperty;function S(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function _(n,t){return Object.keys(n).reduce((function(i,r){return t.includes(r)||(i[r]=n[r]),i}),{})}function j(n,t){if(null==n||null==t)return n===t;for(var i in n)if(n[i]!==t[i])return!1;for(var r in t)if(t[r]!==n[r])return!1;return!0}function O(n,t,i){var r=n[t];return void 0===r&&(r=i(n,t),n[t]=r),r}function k(n){return 1==(null==n?void 0:n.nodeType)}function x(n,t,i,r,u,e,o,l,f,a,c){return n}function M(n){return(n.ownerDocument||n).defaultView}function A(n){return void 0!==b?b:b=function(n){try{var t=n.ownerDocument,i=t.createElement("div"),r=t.createElement("div");return i.appendChild(r),i.querySelector(":scope div")===r}catch(n){return!1}}(n)}function P(n,t){return n.replace(/^|,/g,"$&".concat(t," "))}function z(n){x(/^[\w-]+$/.test(n))}function E(n,t){var i=n.classList,r="i-amphtml-scoped";i.add(r);var u=P(t,".".concat(r)),e=n.querySelectorAll(u);return i.remove(r),e}function T(n,t){if(A(n))return n.querySelector(P(t,":scope"));var i=E(n,t)[0];return void 0===i?null:i}function C(n,t){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector;return!!i&&i.call(n,t)}function I(n,t){return z(t),T(n,"> [".concat(t,"]"))}function R(n){return function(n,t){for(var i=[],r=n.firstChild;r;r=r.nextSibling)e=void 0,o=void 0,"string"==typeof(e=u=r)?o=e:k(e)&&(o=e.tagName),!(o&&o.toLowerCase().startsWith("i-")||u.nodeType===Node.ELEMENT_NODE&&(u.hasAttribute("placeholder")||u.hasAttribute("fallback")||u.hasAttribute("overflow")))&&i.push(r);var u,e,o;return i}(n)}g.toString;var L,H={bubbles:!0,cancelable:!0};function N(n,t,i){return function(n,t){for(var i in t)n.setAttribute(i,t[i]);return n}(n.createElement(t),i)}function D(n,t,i,r){var u=i||{};x(n.ownerDocument);var e=n.ownerDocument.createEvent("Event");e.data=u;var o=r||H,l=o.bubbles,f=o.cancelable;e.initEvent(t,l,f),n.dispatchEvent(e)}function F(){return L||(L=Promise.resolve(void 0))}var Y,V,$,q,B,W,Z,U,X,G,J=function(){var n=this;this.promise=new Promise((function(t,i){n.resolve=t,n.reject=i}))},K={},Q=[],nn=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function tn(n,t){for(var i in t)n[i]=t[i];return n}function rn(n){var t=n.parentNode;t&&t.removeChild(n)}function un(n,t,i){var r,u,e,o={};for(e in t)"key"==e?r=t[e]:"ref"==e?u=t[e]:o[e]=t[e];if(arguments.length>2&&(o.children=arguments.length>3?Y.call(arguments,2):i),"function"==typeof n&&null!=n.defaultProps)for(e in n.defaultProps)void 0===o[e]&&(o[e]=n.defaultProps[e]);return en(n,o,r,u,null)}function en(n,t,i,r,u){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==u?++$:u};return null==u&&null!=V.vnode&&V.vnode(e),e}function on(n){return n.children}function ln(n,t){this.props=n,this.context=t}function fn(n,t){if(null==t)return n.__?fn(n.__,n.__.__k.indexOf(n)+1):null;for(var i;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e)return i.__e;return"function"==typeof n.type?fn(n):null}function an(n){var t,i;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(i=n.__k[t])&&null!=i.__e){n.__e=n.__c.base=i.__e;break}return an(n)}}function cn(n){(!n.__d&&(n.__d=!0)&&q.push(n)&&!sn.__r++||W!==V.debounceRendering)&&((W=V.debounceRendering)||B)(sn)}function sn(){for(var n;sn.__r=q.length;)n=q.sort((function(n,t){return n.__v.__b-t.__v.__b})),q=[],n.some((function(n){var t,i,r,u,e,o;n.__d&&(e=(u=(t=n).__v).__e,(o=t.__P)&&(i=[],(r=tn({},u)).__v=u.__v+1,gn(o,u,r,t.__n,void 0!==o.ownerSVGElement,null!=u.__h?[e]:null,i,null==e?fn(u):e,u.__h),wn(i,u),u.__e!=e&&an(u)))}))}function vn(n,t,i,r,u,e,o,l,f,a){var c,s,v,h,d,p,y,m=r&&r.__k||Q,b=m.length;for(i.__k=[],c=0;c<t.length;c++)if(null!=(h=i.__k[c]=null==(h=t[c])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?en(null,h,null,null,h):Array.isArray(h)?en(on,{children:h},null,null,null):h.__b>0?en(h.type,h.props,h.key,null,h.__v):h)){if(h.__=i,h.__b=i.__b+1,null===(v=m[c])||v&&h.key==v.key&&h.type===v.type)m[c]=void 0;else for(s=0;s<b;s++){if((v=m[s])&&h.key==v.key&&h.type===v.type){m[s]=void 0;break}v=null}gn(n,h,v=v||K,u,e,o,l,f,a),d=h.__e,(s=h.ref)&&v.ref!=s&&(y||(y=[]),v.ref&&y.push(v.ref,null,h),y.push(s,h.__c||d,h)),null!=d?(null==p&&(p=d),"function"==typeof h.type&&h.__k===v.__k?h.__d=f=hn(h,f,n):f=dn(n,h,v,m,d,f),"function"==typeof i.type&&(i.__d=f)):f&&v.__e==f&&f.parentNode!=n&&(f=fn(v))}for(i.__e=p,c=b;c--;)null!=m[c]&&("function"==typeof i.type&&null!=m[c].__e&&m[c].__e==i.__d&&(i.__d=fn(r,c+1)),_n(m[c],m[c]));if(y)for(c=0;c<y.length;c++)Sn(y[c],y[++c],y[++c])}function hn(n,t,i){for(var r,u=n.__k,e=0;u&&e<u.length;e++)(r=u[e])&&(r.__=n,t="function"==typeof r.type?hn(r,t,i):dn(i,r,r,u,r.__e,t));return t}function dn(n,t,i,r,u,e){var o,l,f;if(void 0!==t.__d)o=t.__d,t.__d=void 0;else if(null==i||u!=e||null==u.parentNode)n:if(null==e||e.parentNode!==n)n.appendChild(u),o=null;else{for(l=e,f=0;(l=l.nextSibling)&&f<r.length;f+=2)if(l==u)break n;n.insertBefore(u,e),o=e}return void 0!==o?o:u.nextSibling}function pn(n,t,i){"-"===t[0]?n.setProperty(t,i):n[t]=null==i?"":"number"!=typeof i||nn.test(t)?i:i+"px"}function yn(n,t,i,r,u){var e;n:if("style"===t)if("string"==typeof i)n.style.cssText=i;else{if("string"==typeof r&&(n.style.cssText=r=""),r)for(t in r)i&&t in i||pn(n.style,t,"");if(i)for(t in i)r&&i[t]===r[t]||pn(n.style,t,i[t])}else if("o"===t[0]&&"n"===t[1])e=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+e]=i,i?r||n.addEventListener(t,e?bn:mn,e):n.removeEventListener(t,e?bn:mn,e);else if("dangerouslySetInnerHTML"!==t){if(u)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in n)try{n[t]=null==i?"":i;break n}catch(n){}"function"==typeof i||(null!=i&&(!1!==i||"a"===t[0]&&"r"===t[1])?n.setAttribute(t,i):n.removeAttribute(t))}}function mn(n){this.l[n.type+!1](V.event?V.event(n):n)}function bn(n){this.l[n.type+!0](V.event?V.event(n):n)}function gn(n,t,i,r,u,e,o,l,f){var a,c,s,v,h,d,p,y,m,b,g,w=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(f=i.__h,l=t.__e=i.__e,t.__h=null,e=[l]),(a=V.__b)&&a(t);try{n:if("function"==typeof w){if(y=t.props,m=(a=w.contextType)&&r[a.__c],b=a?m?m.props.value:a.__:r,i.__c?p=(c=t.__c=i.__c).__=c.__E:("prototype"in w&&w.prototype.render?t.__c=c=new w(y,b):(t.__c=c=new ln(y,b),c.constructor=w,c.render=jn),m&&m.sub(c),c.props=y,c.state||(c.state={}),c.context=b,c.__n=r,s=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=w.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=tn({},c.__s)),tn(c.__s,w.getDerivedStateFromProps(y,c.__s))),v=c.props,h=c.state,s)null==w.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==w.getDerivedStateFromProps&&y!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,b),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,b)||t.__v===i.__v){c.props=y,c.state=c.__s,t.__v!==i.__v&&(c.__d=!1),c.__v=t,t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(n){n&&(n.__=t)})),c.__h.length&&o.push(c);break n}null!=c.componentWillUpdate&&c.componentWillUpdate(y,c.__s,b),null!=c.componentDidUpdate&&c.__h.push((function(){c.componentDidUpdate(v,h,d)}))}c.context=b,c.props=y,c.state=c.__s,(a=V.__r)&&a(t),c.__d=!1,c.__v=t,c.__P=n,a=c.render(c.props,c.state,c.context),c.state=c.__s,null!=c.getChildContext&&(r=tn(tn({},r),c.getChildContext())),s||null==c.getSnapshotBeforeUpdate||(d=c.getSnapshotBeforeUpdate(v,h)),g=null!=a&&a.type===on&&null==a.key?a.props.children:a,vn(n,Array.isArray(g)?g:[g],t,i,r,u,e,o,l,f),c.base=t.__e,t.__h=null,c.__h.length&&o.push(c),p&&(c.__E=c.__=null),c.__e=!1}else null==e&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=function(n,t,i,r,u,e,o,l){var f,a,c,s=i.props,v=t.props,h=t.type,d=0;if("svg"===h&&(u=!0),null!=e)for(;d<e.length;d++)if((f=e[d])&&(f===n||(h?f.localName==h:3==f.nodeType))){n=f,e[d]=null;break}if(null==n){if(null===h)return document.createTextNode(v);n=u?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),e=null,l=!1}if(null===h)s===v||l&&n.data===v||(n.data=v);else{if(e=e&&Y.call(n.childNodes),a=(s=i.props||K).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!l){if(null!=e)for(s={},d=0;d<n.attributes.length;d++)s[n.attributes[d].name]=n.attributes[d].value;(c||a)&&(c&&(a&&c.__html==a.__html||c.__html===n.innerHTML)||(n.innerHTML=c&&c.__html||""))}if(function(n,t,i,r,u){var e;for(e in i)"children"===e||"key"===e||e in t||yn(n,e,null,i[e],r);for(e in t)u&&"function"!=typeof t[e]||"children"===e||"key"===e||"value"===e||"checked"===e||i[e]===t[e]||yn(n,e,t[e],i[e],r)}(n,v,s,u,l),c)t.__k=[];else if(d=t.props.children,vn(n,Array.isArray(d)?d:[d],t,i,r,u&&"foreignObject"!==h,e,o,e?e[0]:i.__k&&fn(i,0),l),null!=e)for(d=e.length;d--;)null!=e[d]&&rn(e[d]);l||("value"in v&&void 0!==(d=v.value)&&(d!==n.value||"progress"===h&&!d)&&yn(n,"value",d,s.value,!1),"checked"in v&&void 0!==(d=v.checked)&&d!==n.checked&&yn(n,"checked",d,s.checked,!1))}return n}(i.__e,t,i,r,u,e,o,f);(a=V.diffed)&&a(t)}catch(n){t.__v=null,(f||null!=e)&&(t.__e=l,t.__h=!!f,e[e.indexOf(l)]=null),V.__e(n,t,i)}}function wn(n,t){V.__c&&V.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){V.__e(n,t.__v)}}))}function Sn(n,t,i){try{"function"==typeof n?n(t):n.current=t}catch(n){V.__e(n,i)}}function _n(n,t,i){var r,u;if(V.unmount&&V.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||Sn(r,null,t)),null!=(r=n.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){V.__e(n,t)}r.base=r.__P=null}if(r=n.__k)for(u=0;u<r.length;u++)r[u]&&_n(r[u],t,"function"!=typeof n.type);i||null==n.__e||rn(n.__e),n.__e=n.__d=void 0}function jn(n,t,i){return this.constructor(n,i)}function On(n,t,i){var r,u,e;V.__&&V.__(n,t),u=(r="function"==typeof i)?null:i&&i.__k||t.__k,e=[],gn(t,n=(!r&&i||t).__k=un(on,null,[n]),u||K,K,void 0!==t.ownerSVGElement,!r&&i?[i]:u?null:t.firstChild?Y.call(t.childNodes):null,e,!r&&i?i:u?u.__e:t.firstChild,r),wn(e,n)}function kn(n,t){On(n,t,kn)}function xn(n,t){var i={__c:t="__cC"+Z++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var i,r;return this.getChildContext||(i=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&i.some(cn)},this.sub=function(n){i.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){i.splice(i.indexOf(n),1),t&&t.call(n)}}),n.children}};return i.Provider.__=i.Consumer.contextType=i}Y=Q.slice,V={__e:function(n,t){for(var i,r,u;t=t.__;)if((i=t.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),u=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n),u=i.__d),u)return i.__E=i}catch(t){n=t}throw n}},$=0,ln.prototype.setState=function(n,t){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=tn({},this.state),"function"==typeof n&&(n=n(tn({},i),this.props)),n&&tn(i,n),null!=n&&this.__v&&(t&&this.__h.push(t),cn(this))},ln.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),cn(this))},ln.prototype.render=on,q=[],B="function"==typeof Promise?Promise.prototype.then.bind(F()):setTimeout,sn.__r=0,Z=0;var Mn=0,An=[],Pn=V.__b,zn=V.__r,En=V.diffed,Tn=V.__c,Cn=V.unmount;function In(n,t){V.__h&&V.__h(X,n,Mn||t),Mn=0;var i=X.__H||(X.__H={__:[],__h:[]});return n>=i.__.length&&i.__.push({}),i.__[n]}function Rn(n){return Mn=1,function(n,t,i){var r=In(U++,2);return r.t=n,r.__c||(r.__=[Un(void 0,t),function(n){var t=r.t(r.__[0],n);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=X),r.__}(Un,n)}function Ln(n,t){var i=In(U++,3);!V.__s&&Zn(i.__H,t)&&(i.__=n,i.__H=t,X.__H.__h.push(i))}function Hn(n,t){var i=In(U++,4);!V.__s&&Zn(i.__H,t)&&(i.__=n,i.__H=t,X.__h.push(i))}function Nn(n){return Mn=5,Fn((function(){return{current:n}}),[])}function Dn(n,t,i){Mn=6,Hn((function(){"function"==typeof n?n(t()):n&&(n.current=t())}),null==i?i:i.concat(n))}function Fn(n,t){var i=In(U++,7);return Zn(i.__H,t)&&(i.__=n(),i.__H=t,i.__h=n),i.__}function Yn(n,t){return Mn=8,Fn((function(){return n}),t)}function Vn(n){var t=X.context[n.__c],i=In(U++,9);return i.c=n,t?(null==i.__&&(i.__=!0,t.sub(X)),t.props.value):n.__}function $n(){An.forEach((function(n){if(n.__P)try{n.__H.__h.forEach(Bn),n.__H.__h.forEach(Wn),n.__H.__h=[]}catch(t){n.__H.__h=[],V.__e(t,n.__v)}})),An=[]}V.__b=function(n){X=null,Pn&&Pn(n)},V.__r=function(n){zn&&zn(n),U=0;var t=(X=n.__c).__H;t&&(t.__h.forEach(Bn),t.__h.forEach(Wn),t.__h=[])},V.diffed=function(n){En&&En(n);var t=n.__c;t&&t.__H&&t.__H.__h.length&&(1!==An.push(t)&&G===V.requestAnimationFrame||((G=V.requestAnimationFrame)||function(n){var t,i=function(){clearTimeout(r),qn&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(i,100);qn&&(t=requestAnimationFrame(i))})($n)),X=null},V.__c=function(n,t){t.some((function(n){try{n.__h.forEach(Bn),n.__h=n.__h.filter((function(n){return!n.__||Wn(n)}))}catch(i){t.some((function(n){n.__h&&(n.__h=[])})),t=[],V.__e(i,n.__v)}})),Tn&&Tn(n,t)},V.unmount=function(n){Cn&&Cn(n);var t=n.__c;if(t&&t.__H)try{t.__H.__.forEach(Bn)}catch(n){V.__e(n,t.__v)}};var qn="function"==typeof requestAnimationFrame;function Bn(n){var t=X;"function"==typeof n.__c&&n.__c(),X=t}function Wn(n){var t=X;n.__c=n.__(),X=t}function Zn(n,t){return!n||n.length!==t.length||t.some((function(t,i){return t!==n[i]}))}function Un(n,t){return"function"==typeof t?t(n):t}var Xn,Gn=["auto","lazy","eager","unload"],Jn=(t(Xn={},"auto",0),t(Xn,"lazy",1),t(Xn,"eager",2),t(Xn,"unload",3),Xn);function Kn(n,t){var i=Jn[n]||0,r=Jn[t]||0,u=Math.max(i,r);return Gn[u]}function Qn(n,t){var i=!1,r=function(){i=!1,n()};return function(n){i||(i=!0,(n||t)(r))}}function nt(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var i=n.message,r=n.stack,u=new Error(i);for(var e in n)u[e]=n[e];return u.stack=r,u}function tt(n){for(var t,i=null,r="",u=m(arguments,!0);!(t=u()).done;){var e=t.value;e instanceof Error&&!i?i=nt(e):(r&&(r+=" "),r+=e)}return i?r&&(i.message=r+": "+i.message):i=new Error(r),i}function it(n){var t,i;null===(t=(i=self).__AMP_REPORT_ERROR)||void 0===t||t.call(i,n)}function rt(n){var t=tt.apply(null,arguments);setTimeout((function(){throw it(t),t}))}function ut(n){try{for(var t=arguments.length,i=new Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];return n.apply(null,i)}catch(n){rt(n)}}function et(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],u=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(u){var e=t(n,i,r);e&&et(n,t,i,e,!1)}else if(n.children)for(var o,l=m(n.children,!0);!(o=l()).done;){var f=o.value;et(f,t,i,r,!0)}}var ot=[],lt=function(){},ft=function(){function n(n){this.Nh=n,this.v=null,this.m=null,this.nl=Qn(this.nl.bind(this),setTimeout)}var t=n.prototype;return t.set=function(n,t,i){x(t),x(void 0!==i);var r=n.key,u=this.v||(this.v=new Map),e=u.get(r);e||(e={values:[],setters:[]},u.set(r,e));var o=e.setters.indexOf(t),l=-1==o||e.values[o]!==i;-1==o?(e.setters.push(t),e.values.push(i)):l&&(e.values[o]=i),l&&(this.ping(n,!1),vt(n)&&et(this.Nh,at,n,!0,!1))},t.remove=function(n,t){x(t);var i=n.key,r=this.v,u=null==r?void 0:r.get(i);if(u){x(r);var e=u.setters.indexOf(t);-1!=e&&(u.setters.splice(e,1),u.values.splice(e,1),0==u.setters.length&&r.delete(i),et(this.Nh,at,n))}},t.has=function(n){var t;return!(null===(t=this.v)||void 0===t||!t.has(n.key))},t.subscribe=function(n,t){var i=this.tl(n);if(h(i.subscribers,t)){var r=i.value;ht(r)&&this.Fi()&&t(r)}},t.unsubscribe=function(n,t){var i,r=null===(i=this.m)||void 0===i?void 0:i.get(n.key);r&&d(r.subscribers,t)&&this.il(r)},t.ping=function(n,t){var i,r;null===(i=this.m)||void 0===i||null===(r=i.get(n.key))||void 0===r||r.ping(t)},t.parentUpdated=function(){this.Fi()&&et(this.Nh,ct,void 0,ot)},t.rootUpdated=function(){var n=this,t=this.m;t&&(this.Fi()?t.forEach((function(t){var i=t.prop;n.ping(i,!0)})):t.forEach((function(t){vt(t.prop)&&n.rl(t,null)})))},t.scan=function(n){return this.ping(n,!0),!!vt(n)&&!this.has(n)},t.scanAll=function(n){var t=this,i=null,r=this.m;return r&&r.forEach((function(r){var u=r.prop,e=u.key;-1==(i||n).indexOf(e)&&(t.ping(u,!0),t.Nh.children&&t.has(u)&&(i||(i=n.slice(0)),i.push(e)))})),i||n},t.Fi=function(){return!!this.Nh.root},t.tl=function(n){var t=this,i=n.deps,r=n.key,u=this.m||(this.m=new Map),e=u.get(r);return e||(e={prop:n,subscribers:[],value:void 0,pending:0,counter:0,depValues:i.length>0?i.map(lt):ot,parentValue:void 0,parentContextNode:null,ping:function(n){if(t.Fi()){var i=n?2:1;e.pending=Math.max(e.pending,i),t.nl()}},pingDep:i.length>0?i.map((function(n,t){return function(n){e.depValues[t]=n,e.ping()}})):ot,pingParent:vt(n)?function(n){e.parentValue=n,e.ping()}:null},u.set(r,e),i.forEach((function(n,i){return t.subscribe(n,e.pingDep[i])})),e.ping(!1)),e},t.il=function(n){var t,i=this;if(!(n.subscribers.length>0)){var r=n.pingDep,u=n.prop,e=u.deps,o=u.key;null===(t=this.m)||void 0===t||t.delete(o),this.rl(n,null),e.length>0&&e.forEach((function(n,t){i.unsubscribe(n,r[t])}))}},t.nl=function(){var n=this;if(this.Fi()){var t=this.m;if(t){var i;t.forEach((function(n){n.counter=0}));do{i=0,t.forEach((function(t){if(0!=t.pending){var r=t.prop.key;if(t.counter++,t.counter>5)return rt("cyclical prop: ".concat(r)),void(t.pending=0);i++,n.ul(t)}}))}while(i>0)}}},t.ul=function(n){var t,i=2==n.pending;try{t=this.el(n,i)}catch(n){rt(n)}n.pending=0,this.ol(n,t)},t.ol=function(n,t){var i=n.prop,r=n.value,u=i.key,e=this.m;if(r!==t&&n===(null==e?void 0:e.get(u))&&this.Fi()){n.value=t;for(var o,l=m(n.subscribers,!0);!(o=l()).done;)(0,o.value)(t)}},t.el=function(n,t){var i,r;x(this.Fi());var u=n.depValues,e=n.prop,o=e.compute,l=e.defaultValue,f=e.key,a=null===(i=this.v)||void 0===i||null===(r=i.get(f))||void 0===r?void 0:r.values,c=function(n,t){var i=n.compute,r=n.recursive;return"function"==typeof r?!t||r(t):!(r&&t&&!i)&&r}(e,a);if(t||c!=Boolean(n.parentContextNode)){var s=c?function(n,t){for(var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?n.parent:n;r;r=r.parent)if(t(r,i))return r;return null}(this.Nh,st,e,!1):null;this.rl(n,s)}var v=ht(n.parentValue)?n.parentValue:c&&!n.parentContextNode?l:void 0,h=void 0;if(u.every(ht)&&(!c||ht(v))){var d=this.Nh.node;a&&!o?h=a[0]:vt(e)?a||u.length>0?h=function(n,t,i,r,u){switch(u.length){case 0:return n(t,i,r);case 1:return n(t,i,r,u[0]);case 2:return n(t,i,r,u[0],u[1]);case 3:return n(t,i,r,u[0],u[1],u[2]);default:return n.apply(null,[t,i,r].concat(u))}}(o,d,a||ot,v,u):ht(v)&&(h=v):o&&(h=function(n,t,i,r){switch(r.length){case 0:return n(t,i);case 1:return n(t,i,r[0]);case 2:return n(t,i,r[0],r[1]);case 3:return n(t,i,r[0],r[1],r[2]);default:return n.apply(null,[t,i].concat(r))}}(o,d,a||ot,u))}return h},t.rl=function(n,t){var i=n.parentContextNode,r=n.pingParent,u=n.prop;t!=i&&(n.parentContextNode=t,n.parentValue=void 0,x(r),i&&i.values.unsubscribe(u,r),t&&(x(r),t.values.subscribe(u,r)))},n}();function at(n,t){return n.values.scan(t)}function ct(n,t,i){return n.values.scanAll(i)}function st(n,t){return n.values.has(t)}function vt(n){return!!n.recursive}function ht(n){return void 0!==n}var dt=function(){function n(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 ft(this),this.ll=null,this.fl=!1,this.al=Qn(this.cl.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(function(t){var i,r,u=t.target;u.assignedNodes().forEach(pt),null===(i=n.closest(u))||void 0===i||null===(r=i.children)||void 0===r||r.forEach(yt)})),this.discover()}n.get=function(t){var i=t.__AMP_NODE;return i||(i=new n(t,null),t.__AMP_NODE=i),i},n.closest=function(t){for(var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t;r;){if(r!=t||i){if(r.__AMP_NODE)return r.__AMP_NODE;var u=r,e=u.nodeType;if(9==e||11==e||k(r)&&r.tagName.startsWith("AMP-"))return n.get(r)}var o=r.__AMP_ASSIGNED_SLOT||r.assignedSlot;r=o||r.parentNode}return null},n.assignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT!=t&&(n.__AMP_ASSIGNED_SLOT=t,pt(n))},n.unassignSlot=function(n,t){n.__AMP_ASSIGNED_SLOT==t&&(n.__AMP_ASSIGNED_SLOT=void 0,pt(n))},n.rediscoverChildren=function(n){var t,i=n.__AMP_NODE;null==i||null===(t=i.children)||void 0===t||t.forEach(yt)};var t=n.prototype;return t.discover=function(){this.isDiscoverable()?this.al():this.name&&this.children&&this.children.forEach(yt)},t.isDiscoverable=function(){return!this.isRoot&&!this.fl},t.setParent=function(t){var i=null!=t&&t.nodeType?n.get(t):t;this.sl(i,null!=t)},t.setIsRoot=function(n){var t,i;this.isRoot=n;var r=n?this:null!==(t=null===(i=this.parent)||void 0===i?void 0:i.root)&&void 0!==t?t:null;this.updateRoot(r)},t.updateRoot=function(n){x(!n||n.isRoot);var t,i,r=this.root;n!=r&&(this.root=n,this.values.rootUpdated(),null===(t=this.ll)||void 0===t||t.forEach((function(n){return n.rootUpdated()})),null===(i=this.children)||void 0===i||i.forEach((function(t){return t.updateRoot(n)})))},t.addGroup=function(t,i,r){var u=this.groups||(this.groups=new Map),e=this.children,o=new n(this.node,t);return u.set(t,{cn:o,match:i,weight:r}),o.setParent(this),null==e||e.forEach(yt),o},t.group=function(n){var t,i;return(null===(t=this.groups)||void 0===t||null===(i=t.get(n))||void 0===i?void 0:i.cn)||null},t.findGroup=function(n){var t=this,i=this.groups;if(!i)return null;var r=null,u=Number.NEGATIVE_INFINITY;return i.forEach((function(i){var e=i.cn,o=i.match,l=i.weight;o(n,t.node)&&l>u&&(r=e,u=l)})),r},t.subscribe=function(n,t,i,r){var u=this.ll||(this.ll=new Map),e=u.get(n);e||(e=new t(this,i,r),u.set(n,e))},t.unsubscribe=function(n){var t=this.ll,i=null==t?void 0:t.get(n);i&&(i.dispose(),x(t),t.delete(n))},t.cl=function(){if(this.isDiscoverable()){var t=n.closest(this.node,!1),i=(null==t?void 0:t.findGroup(this.node))||t;this.sl(i,!1)}},t.sl=function(n,t){var i;this.fl=t;var r=this.parent;if(n!=r){if(this.parent=n,null!=r&&r.children&&(x(r.children),d(r.children,this)),n){var u=n.children||(n.children=[]);h(u,this);for(var e,o=m(u,!0);!(e=o()).done;){var l=e.value;l!=this&&l.isDiscoverable()&&l.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==n?void 0:n.root)&&void 0!==i?i:null)},n}();function pt(n){!function(n,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=dt.closest(n,i);if(r)if(r.node==n)t(r);else if(r.children)for(var u,e=m(r.children,!0);!(u=e()).done;){var o=u.value;n.contains(o.node)&&t(o)}}(n,yt)}function yt(n){n.discover()}var mt=[];function bt(n,t){var i=r({key:n,deps:mt,recursive:!1},t);return x(0==i.deps.length||i.compute),i}var gt=[],wt=function(){};function St(n,t,i){t=v(t);var r=i;dt.get(n).subscribe(r,_t,i,t)}var _t=function(){function n(n,t,i){var r=this;if(this.contextNode=n,this.vl=t,this.hl=i,this.dl=i.length>0?i.map(wt):gt,this.pl=i.length>0?i.map((function(n,t){return function(n){r.dl[t]=n,r.yl()}})):gt,this.Yn=!1,this.ml=null,this.yl=Qn(this.yl.bind(this),setTimeout),i.length>0){var u=this.contextNode.values;i.forEach((function(n,t){return u.subscribe(n,r.pl[t])}))}this.Fi()&&this.yl()}var t=n.prototype;return t.dispose=function(){var n=this;if(this.hl.length>0){var t=this.contextNode.values;this.hl.forEach((function(i,r){return t.unsubscribe(i,n.pl[r])}))}this.Se()},t.rootUpdated=function(){var n=this.Fi();this.Se(),n&&this.yl()},t.Fi=function(){return!!this.contextNode.root},t.yl=function(){this.Fi()&&(this.dl.every(jt)?(this.Yn=!0,this.bl()):this.Yn&&(this.Yn=!1,this.Se()))},t.bl=function(){this.Se();var n=this.vl;this.ml=function(n,t){switch(t.length){case 0:return n();case 1:return n(t[0]);case 2:return n(t[0],t[1]);case 3:return n(t[0],t[1],t[2]);default:return n.apply(null,t)}}(n,this.dl)},t.Se=function(){this.ml&&(ut(this.ml),this.ml=null)},n}();function jt(n){return void 0!==n}function Ot(n){dt.get(n).discover()}function kt(n,t,i,r){dt.get(n).values.set(t,i,r)}function xt(n,t,i){dt.get(n).values.remove(t,i)}var Mt,At=function(){function n(n,t){this.o=n,this.K=t,this.St={},this._t=null}var t=n.prototype;return t.start=function(){this._t=this.St,this.St={}},t.resolveMatchQuery=function(n){return"1"===this.kt(n,Pt,"1")},t.resolveListQuery=function(n){return this.kt(n,zt,"")},t.complete=function(){for(var n in this._t)n in this.St||Et(this._t[n],this.K,!1);this._t=null},t.dispose=function(){for(var n in this.St)Et(this.St[n],this.K,!1);this.St={}},t.kt=function(n,t,i){if(!n.trim())return i;var r=this.St[n];return r||(x(this._t),r=this._t[n]),r||Et(r=t(this.o,n),this.K,!0),this.St[n]=r,function(n){for(var t=0;t<n.length;t++){var i=n[t],r=i.query,u=i.value;if(!r||r.matches)return u}return""}(r)},n}();function Pt(n,t){return[{query:n.matchMedia(t),value:"1"},{query:null,value:""}]}function zt(n,t){return t.split(",").map((function(t){if(0!=(t=t.replace(/\s+/g," ").trim()).length){var i,r,u;if(")"==t.charAt(t.length-1)){var e=1;for(u=t.length-2;u>=0;u--){var o=t.charAt(u);if("("==o?e--:")"==o&&e++,0==e)break}var l=u-1;if(u>0)for(u--;u>=0;u--){var f=t.charAt(u);if(!("%"==f||"-"==f||"_"==f||f>="a"&&f<="z"||f>="A"&&f<="Z"||f>="0"&&f<="9"))break}if(u>=l)return null}else for(u=t.length-2;u>=0;u--){var a=t.charAt(u);if(!("%"==a||"."==a||a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"))break}return u>=0?(i=t.substring(0,u+1).trim(),r=t.substring(u+1).trim()):(r=t,i=void 0),r?{query:i?n.matchMedia(i):null,value:r}:null}})).filter(Boolean)}function Et(n,t,i){for(var r=0;r<n.length;r++){var u=n[r].query;u&&(void 0!==u.onchange?u.onchange=i?t:null:i?u.addListener(t):u.removeListener(t))}}var Tt=["Webkit","webkit","Moz","moz","ms","O","o"],Ct={"getPropertyPriority":function(){return""},"getPropertyValue":function(){return""}};function It(n,t,i){if(Nt(t))return t;Mt||(Mt=S());var r=Mt[t];if(!r||i){if(r=t,void 0===n[t]){var u=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),e=function(n,t){for(var i=0;i<Tt.length;i++){var r=Tt[i]+t;if(void 0!==n[r])return r}return""}(n,u);void 0!==n[e]&&(r=e)}i||(Mt[t]=r)}return r}function Rt(n,t,i,r,u){var e=It(n.style,t,u);if(e){var o=r?i+r:i;Nt(e)?n.style.setProperty(e,o):n.style[e]=o}}function Lt(n,t,i){var r=It(n.style,t,i);if(r)return Nt(r)?n.style.getPropertyValue(r):n.style[r]}function Ht(n,t){for(var i in t)Rt(n,i,t[i])}function Nt(n){return n.startsWith("--")}var Dt=/vertical/,Ft=new WeakMap,Yt=new WeakMap,Vt=new WeakMap;function $t(n){var t=Ft.get(n);return t||(t=new n.ResizeObserver(qt),Ft.set(n,t)),t}function qt(n){for(var t=new Set,i=n.length-1;i>=0;i--){var r=n[i],u=r.target;if(!t.has(u)){t.add(u);var e=Yt.get(u);if(e){Vt.set(u,r);for(var o=0;o<e.length;o++){var l=e[o],f=l.callback;Bt(l.type,f,r)}}}}}function Bt(n,t,i){if(0==n){var r=i.contentRect,u=r.height;ut(t,{width:r.width,height:u})}else if(1==n){var e,o=i.borderBoxSize;if(o)e=o.length>0?o[0]:{inlineSize:0,blockSize:0};else{var l,f,a=i.target,c=M(a),s=Dt.test(function(n,t){return n.getComputedStyle(t)||Ct}(c,a).writingMode),v=a,h=v.offsetHeight,d=v.offsetWidth;s?(f=d,l=h):(l=d,f=h),e={inlineSize:l,blockSize:f}}ut(t,e)}}var Wt,Zt,Ut,Xt=function(){function n(n){this.gl=n,this.wl=!1,this.Sl=!1,this._l=this._l.bind(this)}var t=n.prototype;return t.updatePlaying=function(n){n!==this.wl&&(this.wl=n,n?(this.Sl=!1,function(n,t,i){var r=n.ownerDocument.defaultView;if(r){var u=Yt.get(n);if(u||(u=[],Yt.set(n,u),$t(r).observe(n)),!u.some((function(n){return n.callback===i&&1===n.type}))){u.push({type:1,callback:i});var e=Vt.get(n);e&&setTimeout((function(){return Bt(1,i,e)}))}}}(this.gl,0,this._l)):function(n,t){!function(n,t,i){var r=Yt.get(n);if(r&&(function(n,t){for(var r=[],u=0,e=0;e<n.length;e++){var o=n[e];(l=o).callback===i&&1===l.type?r.push(o):(u<e&&(n[u]=o),u++)}var l;u<n.length&&(n.length=u)}(r),0==r.length)){Yt.delete(n),Vt.delete(n);var u=n.ownerDocument.defaultView;u&&$t(u).unobserve(n)}}(n,0,t)}(this.gl,this._l))},t._l=function(n){var t=n.blockSize,i=n.inlineSize>0&&t>0;if(i!==this.Sl){this.Sl=i;var r=this.gl;i||r.pause()}},n}();function Gt(){return Ut||(Ut=xn({renderable:!0,playable:!0,loading:"auto"}))}function Jt(n){var t=n.children,i=n.loading,r=void 0===i?"auto":i,u=n.notify,e=n.playable,o=void 0===e||e,l=n.renderable,f=void 0===l||l,a=Kt(),c=f&&a.renderable,s=c&&o&&a.playable,v=Kn(c?"auto":"lazy",Kn(r,a.loading)),h=u||a.notify,d=Fn((function(){return{renderable:c,playable:s,loading:v,notify:h}}),[c,s,v,h]);return un(Gt().Provider,{children:t,value:d})}function Kt(){return Vn(Gt())}Wt="undefined"!=typeof AMP&&.BaseElement?AMP.BaseElement:function(){function n(n){this.element=n,this.win=M(n)}n.CustomElement=function(n){return Zt||(Zt=function(n){if("object"!==("undefined"==typeof Reflect?"undefined":l(Reflect))||!Reflect.construct)return n;function t(){return Reflect.construct(n,arguments,this.constructor)}return t.prototype=Object.create(n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(t,n)}(HTMLElement)),function(t){e(r,Zt);var i=c(r);function r(){var t;return(t=i.call(this)).implementation=new n(f(t)),t}var u=r.prototype;return u.connectedCallback=function(){this.classList.add("i-amphtml-built"),this.implementation.mountCallback(),this.implementation.buildCallback()},u.disconnectedCallback=function(){this.implementation.unmountCallback()},u.getApi=function(){return this.implementation.getApi()},r}()};var t=n.prototype;return t.mutateElement=function(n){F().then(n)},t.isLayoutSupported=function(){return!0},t.mountCallback=function(){},t.unmountCallback=function(){},t.buildCallback=function(){},n}();var Qt=bt("CanRender",{defaultValue:!0,recursive:function(n){return n.reduce(ii)},compute:function(n,t,i){return i&&t.reduce(ii,!0)||!1}}),ni=bt("CanPlay",{defaultValue:!0,recursive:function(n){return n.reduce(ii)},deps:[Qt],compute:function(n,t,i,r){return r&&i&&t.reduce(ii,!0)||!1}}),ti=bt("Loading",{defaultValue:"auto",recursive:!0,deps:[Qt],compute:function(n,t,i,r){return Kn(r?"auto":"lazy",Kn(i||"auto",t.reduce(Kn,"auto")))}}),ii=function(n,t){return n&&t};function ri(){var n=0;return function(){return String(++n)}}var ui=function(n){return n.ensureLoaded()},ei=function(n){return n.pause()},oi=function(n){return n.unmount()};function li(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!1,ui)}function fi(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!0,ei)}function ai(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];ci(n,t,!0,oi)}function ci(n,t,i,r){for(var u=v(n),e=0;e<u.length;e++)si(u[e],t,i,r)}function si(n,t,i,r){if(t&&n.classList.contains("i-amphtml-element")){var u=n;if(ut(r,u),!i){var e=u.getPlaceholder();return void(e&&si(e,!0,!1,r))}}for(var o=n.getElementsByClassName("i-amphtml-element"),l=null,f=0;f<o.length;f++){var a=o[f];if(i)ut(r,a);else{l=l||[];for(var c=!1,s=0;s<l.length;s++)if(l[s].contains(a)){c=!0;break}c||(l.push(a),ut(r,a))}}}var vi={},hi=new WeakMap;function di(n,t,i){var u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n.setAttribute("slot",t),!u)return un(pi,r(r({},i||vi),{},{name:t}));var e=hi.get(n);if(e&&j(e.oldProps,i))return e.component;function o(n){return un(pi,r(r({},i||vi),{},{name:t},n))}return hi.set(n,{oldProps:i,component:o}),o}function pi(n){var t=Nn(null);return yi(t,n),Ln((function(){n.postRender&&n.postRender()})),un("slot",r(r({},n),{},{ref:t}))}function yi(n,t){var i=null==t?void 0:t.loading,r=Kt();Hn((function(){var t=n.current;return x(k(t)),kt(t,Qt,pi,r.renderable),kt(t,ni,pi,r.playable),kt(t,ti,pi,r.loading),r.playable||mi(t,fi,!0),function(){var n;xt(t,Qt,pi),xt(t,ni,pi),xt(t,ti,pi),n=t,dt.rediscoverChildren(n)}}),[n,r]),Hn((function(){var t=n.current;return x(k(t)),"lazy"!=i&&mi(t,li,!0),function(){mi(t,ai,!1)}}),[n,i])}function mi(n,t,i){var r=n.assignedElements?n.assignedElements():n;if(!Array.isArray(r)||0!=r.length)if(i){var u=n.ownerDocument.defaultView;u&&(u.requestIdleCallback||u.setTimeout)((function(){return t(r)}))}else t(r)}var bi={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},gi=ri();function wi(n,t){return Object.values(n).some(t)}var Si=function(n){return"string"==typeof n||!!n.selector},_i=function(n){var t;return 3===n.nodeType&&0===(null===(t=n.nodeValue)||void 0===t?void 0:t.trim().length)};function ji(n,t,i,u,e){var o=n.layoutSizeDefined,l=n.lightDomTag,f=n.props;e&&e.start();var a=r(r({},u),{},{ref:i});return l&&(a["i-amphtml-rendered"]=!0,a.__AMP_RENDERED=!0,a.as=l),o&&(n.usesShadowDom?a.style=bi:a.class="i-amphtml-fill-content"),Oi(n,a,f,t,e),e&&e.complete(),a}function Oi(n,t,i,r,u){if(wi(i,Si))for(var e=R(r),o=0;o<e.length;o++){var l=e[o],f=xi(l,i);if(f){var a=i[f],c=a.as,s=void 0!==c&&c,v=a.single,h=a.name,d=void 0===h?f:h,p=a.clone,y=a.props,m=void 0===y?{}:y;x(p||n.usesShadowDom);var b={};if(Oi(n,b,m,l,u),v)t[d]=di(l,l.getAttribute("slot")||"i-amphtml-".concat(d),b,s);else{var g=t[d]||(t[d]=[]);x(!s),g.push(p?ki(l):di(l,l.getAttribute("slot")||"i-amphtml-".concat(d,"-").concat(gi()),b))}}}for(var w in i){var S=i[w];x([S.attr,S.attrs,S.attrMatches,S.selector,S.passthrough,S.passthroughNonEmpty].filter(Boolean).length<=1);var _=void 0;if(S.passthrough?(x(n.usesShadowDom),_=[un(pi,{loading:"lazy"})]):S.passthroughNonEmpty?(x(n.usesShadowDom),_=R(r).every(_i)?null:[un(pi,{loading:"lazy"})]):S.attr?(_=r.getAttribute(S.attr),S.media&&null!=_&&(x(u),_=u.resolveListQuery(String(_)))):S.parseAttrs&&(x(S.attrs||S.attrMatches),_=S.parseAttrs(r)),null==_)null!=S.default&&(t[w]=S.default);else{var j="number"==S.type?parseFloat(_):"boolean"==S.type?null==(O=_)?void 0:"false"!==O:_;t[w]=j}}var O}function ki(n){for(var t={"key":n},i=n.attributes,r=n.localName,u=i.length,e=0;e<u;e++){var o=i[e],l=o.name,f=o.value;t[l]=f}return un(r,t)}function xi(n,t){for(var i in t){var r=t[i],u="string"==typeof r?r:r.selector;if(u&&C(n,u))return i}return null}var Mi={childList:!0},Ai={childList:!0,characterData:!0},Pi={childList:!0},zi={"style":"display: contents; background: inherit;","part":"c"},Ei={"name":"i-amphtml-svc"},Ti={"i-amphtml-rendered":""},Ci=function(){return!0},Ii=function(n){return!!n.media},Ri=function(n){return!(!n.passthrough&&!n.passthroughNonEmpty)},Li=function(n){e(i,n);var t=c(i);function i(n){var i;return(i=t.call(this,n)).jl={"loading":"auto","onReadyState":function(n,t){i.Ol(n,t)},"onPlayingState":function(n){i.kl(n)},"onLoading":function(){i.handleOnLoading()},"onLoad":function(){i.handleOnLoad()},"onError":function(){i.handleOnError()}},i.xl={renderable:!1,playable:!0,loading:"auto",notify:function(){return i.mutateElement((function(){}))}},i.Ml=!1,i.Al=null,i.Pl=null,i.zl=function(n){null!==n&&(i.Al?i.El(n):i.Tl(n)),i.Pl=n,i.Cl()},i.Il=null,i.Rl=null,i.Ll=null,i.Hl=!1,i.Nl=null,i.Dl=function(){i.Hl=!1,i.Fl()},i.Yl=!1,i.Bi=!1,i.observer=null,i.Vl=new Xt(n),i.un=null,i}i.R1=function(){return!0},i.requiresShadowDom=function(){return this.usesShadowDom},i.usesLoading=function(){return this.loadable},i.prerenderAllowed=function(){return!this.usesLoading()},i.Component=function(){x(!1)};var u=i.prototype;return u.init=function(){},u.isLayoutSupported=function(t){return this.constructor.layoutSizeDefined?function(n){return"fixed"==n||"fixed-height"==n||"responsive"==n||"fill"==n||"flex-item"==n||"fluid"==n||"intrinsic"==n}(t)||"container"==t:n.prototype.isLayoutSupported.call(this,t)},u.buildCallback=function(){var n=this,t=this.constructor;this.observer=new MutationObserver((function(t){return n.$l(t)}));var i=t.props,u=wi(i,Si)?Mi:null,e=wi(i,Ri)?Ai:null,o=t.usesTemplate?Pi:null;this.observer.observe(this.element,r(r(r({attributes:!0},u),e),o)),this.un=wi(i,Ii)?new At(this.win,(function(){return n.ql()})):null;var l=t.staticProps,f=this.init();Object.assign(this.jl,l,f),this.checkPropsPostMutations(),St(this.element,[],(function(){return function(){n.Bi=!1,n.Ll&&On(null,n.Ll)}})),St(this.element,[Qt,ni,ti],(function(t,i,r){n.xl.renderable=t,n.xl.playable=i,n.xl.loading=r,n.Bi=!0,n.ql()}));var a,c=t.useContexts;return 0!=c.length&&St(this.element,c,(function(){for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];n.Rl=i,n.ql()})),this.Nl=new J,this.ql(),t.loadable&&(null===(a=this.setReadyState)||void 0===a||a.call(this,"loading")),this.Cl(),this.Nl.promise},u.ensureLoaded=function(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.Ml=!0)},u.mountCallback=function(){Ot(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Ml=!1)},u.unmountCallback=function(){var n;Ot(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.kl(!1),null===(n=this.un)||void 0===n||n.dispose()},u.mutatedAttributesCallback=function(){this.Ll&&this.ql()},u.attemptChangeHeight=function(t){var i=this;return n.prototype.attemptChangeHeight.call(this,t).catch((function(n){throw i.getOverflowElement&&!i.getOverflowElement()&&console.warn("[overflow] element not found. Provide one to enable resizing to full contents.",i.element),n}))},u.mutateProps=function(n){Object.assign(this.jl,n),this.ql()},u.api=function(){var n=this.Pl;return x(n),n},u.registerApiAction=function(n,t){var i,r=this,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;null===(i=this.registerAction)||void 0===i||i.call(this,n,(function(n){t(r.api(),n)}),u)},u.mutationObserverCallback=function(n){},u.checkPropsPostMutations=function(){},u.updatePropsForRendering=function(n){},u.isReady=function(n){return!0},u.$l=function(n){var t=this.constructor;this.mutationObserverCallback(n);var i=n.some((function(n){return function(n,t){var i=t.type;if("attributes"==i){if(n.usesTemplate&&"template"==t.attributeName)return!0;var r=n.props;for(var u in r){var e,o,l=r[u],f=t.attributeName;if(x(f),f==l.attr||null!==(e=l.attrs)&&void 0!==e&&e.includes(f)||null!==(o=l.attrMatches)&&void 0!==o&&o.call(l,f))return!0}return!1}return"childList"==i&&(Hi(t.addedNodes)||Hi(t.removedNodes))}(t,n)}));i&&(this.checkPropsPostMutations(),this.ql())},u.ql=function(){this.Hl||(this.Hl=!0,this.mutateElement(this.Dl))},u.Cl=function(){var n=this.Pl,t=null==n?void 0:n.readyState;t&&t!==this.element.readyState&&this.Ol(t)},u.Ol=function(n,t){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,n,t),this.constructor.unloadOnPause&&this.kl("complete"==n),this.Ml&&(this.Ml=!1,this.mutateProps({"loading":"auto"}))},u.handleOnLoad=function(){var n,t,i;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null===(t=this.toggleFallback)||void 0===t||t.call(this,!1),null===(i=this.togglePlaceholder)||void 0===i||i.call(this,!1)},u.handleOnLoading=function(){var n;null===(n=this.toggleLoading)||void 0===n||n.call(this,!0)},u.handleOnError=function(){var n,t,i,r,u;null===(n=this.toggleLoading)||void 0===n||n.call(this,!1),null!==(t=this.getFallback)&&void 0!==t&&t.call(this)?(null===(i=this.toggleFallback)||void 0===i||i.call(this,!0),null===(r=this.togglePlaceholder)||void 0===r||r.call(this,!1)):null===(u=this.togglePlaceholder)||void 0===u||u.call(this,!0)},u.Fl=function(){var n,t,i,u=this;if(this.Bi){var e,o=this.constructor,l=o.detached,f=o.usesShadowDom,a=f?null:o.lightDomTag;if(!this.Ll){var c=this.win.document;if(f){x(!l);var s=this.element.shadowRoot,v=s&&(e=s,z("c"),T(e,"> ".concat("c")));if(v)this.Yl=!0;else{var h,d,p,y,m,b;s=this.element.attachShadow({mode:"open",delegatesFocus:o.delegatesFocus});var g=o.shadowCss;g&&function(n,t,i){var r=n.ownerDocument,u=r.defaultView;if(void 0!==n.adoptedStyleSheets&&void 0!==u.CSSStyleSheet.prototype.replaceSync){var e=u.__AMP_SHADOW_CSS||(u.__AMP_SHADOW_CSS={}),o=e[t];o||(x((o=new u.CSSStyleSheet).replaceSync),o.replaceSync(i),e[t]=o),n.adoptedStyleSheets=n.adoptedStyleSheets.concat(o)}else{var l=r.createElement("style");l.setAttribute("data-name",t),l.textContent=i,n.appendChild(l)}}(s,this.element.tagName,g),v=N(c,"c",zi),s.appendChild(v);var w=N(c,"slot",Ei);s.appendChild(w),null===(h=this.getPlaceholder)||void 0===h||null===(d=h.call(this))||void 0===d||d.setAttribute("slot","i-amphtml-svc"),null===(p=this.getFallback)||void 0===p||null===(y=p.call(this))||void 0===y||y.setAttribute("slot","i-amphtml-svc"),null===(m=this.getOverflowElement)||void 0===m||null===(b=m.call(this))||void 0===b||b.setAttribute("slot","i-amphtml-svc")}this.Ll=v,x(s),function(n,t){dt.get(n).setParent(t)}(s,this.element),function(n,t,i){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;dt.get(n).addGroup(t,i,r)}(this.element,"unslotted",Ci,-1),n=this.element,t=Qt,this,null===(i=dt.get(n).group("unslotted"))||void 0===i||i.values.set(t,this,!1)}else if(a){var S=this.element;this.Ll=S;var _=I(S,"i-amphtml-rendered")||N(c,a,Ti);_.__AMP_RENDERED=!0,o.layoutSizeDefined&&_.classList.add("i-amphtml-fill-content"),this.Ll.appendChild(_)}else{var j=c.createElement("i-amphtml-c");this.Ll=j,j.classList.add("i-amphtml-fill-content"),l||this.element.appendChild(j)}}var O=this.Ll;x(O);var k=o.useContexts,M=this.Rl;if(0==k.length||null!=M){var A=ji(o,this.element,this.zl,this.jl,this.un);if(this.updatePropsForRendering(A),this.isReady(A)){for(var P=un(o.Component,A),E=0;E<k.length;E++){x(M);var C=k[E].type,R=M[E];R&&(P=un(C.Provider,{value:R},P))}var L=un(Jt,r({},this.xl),P);if(this.Yl)this.Yl=!1,kn(L,O);else{var H=a?I(O,"i-amphtml-rendered"):null;H&&(H.__AMP_RENDERED=!0),On(L,O,null!=H?H:void 0)}f||l||this.mutateElement((function(){return D(u.element,"amp:dom-update",void 0)})),this.Nl&&(this.Nl.resolve(void 0),this.Nl=null)}}}},u.getProp=function(n,t){return i=this.jl,r=n,w.call(i,r)?this.jl[n]:t;var i,r},u.getApi=function(){var n=this.Al;return n?Promise.resolve(n):(this.Il||(this.Il=new J),this.Il.promise)},u.Tl=function(n){for(var t=S(),i=Object.keys(n),r=0;r<i.length;r++){var u=i[r];this.Bl(t,u)}this.Al=t,this.Il&&(this.Il.resolve(t),this.Il=null)},u.El=function(n){},u.triggerEvent=function(n,t,i){D(n,t,i)},u.pauseCallback=function(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.Ml=!0;else{var n,t=this.Pl;null==t||null===(n=t.pause)||void 0===n||n.call(t)}},u.kl=function(n){this.Vl.updatePlaying(n)},u.Bl=function(n,t){var i=this;Object.defineProperty(n,t,{configurable:!0,get:function(){var n=i.Pl;return x(n),n[t]},set:function(n){var r=i.Pl;x(r),r[t]=n}})},i}(Wt);function Hi(n){for(var t=0;t<n.length;t++){var i=n[t];if(k(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}function Ni(n,t){if(null==n)return{};var i,r,u={},e=Object.keys(n);for(r=0;r<e.length;r++)i=e[r],t.indexOf(i)>=0||(u[i]=n[i]);return u}t(Li,"staticProps",void 0),t(Li,"useContexts",[]),t(Li,"loadable",!1),t(Li,"unloadOnPause",!1),t(Li,"layoutSizeDefined",!1),t(Li,"lightDomTag",""),t(Li,"usesTemplate",!1),t(Li,"shadowCss",null),t(Li,"usesShadowDom",!1),t(Li,"detached",!1),t(Li,"delegatesFocus",!1),t(Li,"props",{});var Di,Fi=["ref"],Yi="undefined"!=typeof Symbol&&(null===(Di=Symbol.for)||void 0===Di?void 0:Di.call(Symbol,"react.forward_ref"))||3911,Vi=V.__b;function $i(n){function t(t){var i=t.ref,r=Ni(t,Fi);return n(r,i)}return t.$$typeof=Yi,t.render=t,t.prototype.isReactComponent=!0,t.Wl=!0,t}function qi(n){var t=function(n,t){if("object"!==l(n)||null===n)return n;var i=n[Symbol.toPrimitive];if(void 0!==i){var r=i.call(n,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(t)?t:String(t)}V.__b=function(n){var t;null!==(t=n.type)&&void 0!==t&&t.Wl&&n.ref&&(n.props.ref=n.ref,n.ref=null),null==Vi||Vi(n)};var Bi=[null,"paint","layout","content","size","size paint","size layout","strict"],Wi={"position":"relative","width":"100%","height":"100%"};function Zi(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var i=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=i){var r,u,e=[],o=!0,l=!1;try{for(i=i.call(n);!(o=(r=i.next()).done)&&(e.push(r.value),!t||e.length!==t);o=!0);}catch(n){l=!0,u=n}finally{try{o||null==i.return||i.return()}finally{if(l)throw u}}return e}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ui(n,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;n.classList.add("i-amphtml-animating");var r=t();return r.onfinish=r.oncancel=function(){r=null,i&&i(),n.classList.remove("i-amphtml-animating")},function(){r&&r.cancel()}}function Xi(n){var t=window.innerHeight,i=Math.abs(n)/t*500;return Math.min(Math.max(i,200),500)}$i((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.contentAs,f=void 0===l?"div":l,a=n.contentClassName,c=n.contentProps,s=n.contentRef,v=n.contentStyle,h=n.layout,d=void 0!==h&&h,p=n.paint,y=void 0!==p&&p,m=n.size,b=void 0!==m&&m,g=n.style,w=n.wrapperClassName,S=n.wrapperStyle,_=n[i],j=(b?4:0)+(d?2:0)+(y?1:0);return un(e,r(r({},Ni(n,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",i].map(qi))),{},{ref:t,class:"".concat(_||""," ").concat(w||"").trim()||null,style:r(r(r({},g),S),{},{contain:Bi[j]})}),un(f,r(r({},c),{},{ref:s,class:a,style:r(r({},b&&Wi),{},{"overflow":y?"hidden":"visible"},v)}),o))})),$i((function(n,t){var i="class",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.style,f=n.wrapperClassName,a=n.wrapperStyle,c=n[i];return un(e,r(r({},Ni(n,["as","children","style","wrapperClassName","wrapperStyle",i].map(qi))),{},{ref:t,class:"".concat(c||""," ").concat(f||"").trim()||null,style:r(r({},l),a)}),o)}));var Gi=["animate","as","children","expandSingleSection","id"],Ji=["animate","as","children","expanded","id","onExpandStateChange"],Ki=xn({}),Qi=xn({}),nr={},tr={},ir=ri(),rr=function(){return String(Math.floor(1e5*Math.random()))},ur=$i((function(n,i){var u=n.animate,e=void 0!==u&&u,o=n.as,l=void 0===o?"section":o,f=n.children,a=n.expandSingleSection,c=void 0!==a&&a,s=n.id,v=Ni(n,Gi),h=Zi(Rn(nr),2),d=h[0],p=h[1],y=Nn(tr),m=Zi(Rn(rr),1)[0],b=s||"a".concat(m);Ln((function(){c&&p((function(n){var t={},i=0;for(var r in n)t[r]=n[r]&&0==i++;return t}))}),[c]);var g=Yn((function(n,i,u){var e=u.current;return p((function(t){return er(n,i,t,c)})),y.current=r(r({},y.current),{},t({},n,e)),function(){p((function(t){return _(t,n)})),y.current=_(y.current,n)}}),[c]),w=Yn((function(n,t){p((function(i){var r=null!=t?t:!i[n],u=er(n,r,i,c);return F().then((function(){for(var n in i){var t=y.current[n];t&&i[n]!=u[n]&&t(u[n])}})),u}))}),[c]),S=Yn((function(n,t){var i;return null!==(i=d[n])&&void 0!==i?i:t}),[d]),j=Yn((function(n){if(n)n in d&&w(n);else if(!c)for(var t in d)w(t)}),[d,w,c]),O=Yn((function(n){if(n)S(n,!0)||w(n);else if(!c)for(var t in d)S(t,!0)||w(t)}),[d,w,S,c]),k=Yn((function(n){if(n)S(n,!1)&&w(n);else for(var t in d)S(t,!1)&&w(t)}),[d,w,S]);Dn(i,(function(){return{toggle:j,expand:O,collapse:k}}),[j,k,O]);var x=Fn((function(){return{registerSection:g,toggleExpanded:w,isExpanded:S,animate:e,prefix:b}}),[g,w,S,e,b]);return un(l,r({id:s},v),un(Ki.Provider,{value:x},f))}));function er(n,i,u,e){var o;if(e&&i)for(var l in o=t({},n,i),u)l!=n&&(o[l]=!1);else o=r(r({},u),{},t({},n,i));return o}function or(n){var t=n.animate,i=void 0!==t&&t,u=n.as,e=void 0===u?"section":u,o=n.children,l=n.expanded,f=void 0!==l&&l,a=n.id,c=n.onExpandStateChange,s=Ni(n,Ji),v=Zi(Rn(ir),1)[0],h=a||v,d=Zi(Rn(rr),1)[0],p=Zi(Rn(f),2),y=p[0],m=p[1],b=Zi(Rn(null),2),g=b[0],w=b[1],S=Zi(Rn(null),2),_=S[0],j=S[1],O=Vn(Ki),k=O.animate,x=O.isExpanded,M=O.prefix,A=O.registerSection,P=O.toggleExpanded,z=x?x(h,f):y,E=null!=k?k:i,T=g||"".concat(M||"a","-content-").concat(h,"-").concat(d),C=_||"".concat(M||"a","-header-").concat(h,"-").concat(d),I=Nn(null);I.current=c,Hn((function(){if(A)return A(h,f,I)}),[A,h,f]);var R=Yn((function(n){P?P(h,n):m((function(t){var i=null!=n?n:!t;return F().then((function(){var n=I.current;n&&n(i)})),i}))}),[h,P]),L=Fn((function(){return{animate:E,contentId:T,headerId:C,expanded:z,toggleHandler:R,setContentId:w,setHeaderId:j}}),[E,T,C,z,R]);return un(e,r({},s),un(Qi.Provider,{value:L},o))}function lr(n){var t="class",i="tabIndex",u=n.as,e=void 0===u?"div":u,o=n.children,l=n.id,f=n.role,a=void 0===f?"button":f,c=n[t],s=void 0===c?"":c,v=n[i],h=void 0===v?0:v,d=Ni(n,["as","children","id","role",t,i].map(qi)),p=Vn(Qi),y=p.contentId,m=p.expanded,b=p.headerId,g=p.setHeaderId,w=p.toggleHandler;return Hn((function(){g&&g(l)}),[g,l]),un(e,r(r({},d),{},{id:b,role:a,class:"".concat(s," ").concat("section-child-00fce3c"," ").concat("header-00fce3c"),tabIndex:h,"aria-controls":y,onClick:function(){return w()},"aria-expanded":String(m)}),o)}function fr(n){var t="class",i=n.as,u=void 0===i?"div":i,e=n.children,o=n.id,l=n.role,f=void 0===l?"region":l,a=n[t],c=void 0===a?"":a,s=Ni(n,["as","children","id","role",t].map(qi)),v=Nn(null),h=Nn(!1),d=Vn(Qi),p=d.animate,y=d.contentId,m=d.expanded,b=d.headerId,g=d.setContentId;return Ln((function(){return h.current=!0,function(){return h.current=!1}}),[]),Hn((function(){g&&g(o)}),[g,o]),Hn((function(){var n=h.current,t=v.current;if(p&&n&&t&&t.animate)return m?function(n){return Ui(n,(function(){var t=Lt(n,"height"),i=Lt(n,"opacity"),r=Lt(n,"overflowY");Ht(n,{height:0,opacity:0,overflowY:"auto"});var u=n.scrollHeight;Ht(n,{height:t,opacity:i,overflowY:r});var e=Xi(u);return n.animate([{height:0,opacity:0,overflowY:"hidden"},{height:u+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:e})}))}(t):function(n){return Ui(n,(function(){var t=n.offsetHeight,i=Xi(t);return n.animate([{height:t+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(t)}),[m,p]),un(Jt,{renderable:m},un(u,r(r({},s),{},{ref:v,class:c+" section-child-00fce3c"+(m?"":" content-hidden-00fce3c"),id:y,"aria-labelledby":b,role:f}),e))}ur.displayName="Accordion";var ar=function(n){e(i,Li);var t=c(i);function i(){return t.apply(this,arguments)}return i.prototype.init=function(){var n=this,t=function(t){return function(i){var r;!function(n,t,i){var r=n.hasAttribute(t),u=void 0!==i?i:!r;u!==r&&(u?n.setAttribute(t,""):n.removeAttribute(t))}(t,"expanded",i),null===(r=t.__AMP_PR)||void 0===r||r.call(t),n.triggerEvent(t,i?"expand":"collapse")}},i=this.element,r=new MutationObserver((function(){n.mutateProps(cr(i,r,t))}));return r.observe(i,{attributeFilter:["expanded","id"],subtree:!0,childList:!0}),{"children":cr(i,r,t).children}},i}();function cr(n,t,i){var u,e,o,l,f;return{"children":(e=n,o="section",z(o),l=e,f="> ".concat(o),(u=A(l)?l.querySelectorAll(P(f,":scope")):E(l,f))?Array.prototype.slice.call(u):[]).map((function(n){n.__AMP_PR||(n.__AMP_PR=function(){return t.takeRecords()});var u=O(n,"__AMP_H_SHIM",vr),e=O(n,"__AMP_C_SHIM",dr),o=O(n,"__AMP_EXPAND_STATE_SHIM",i),l={"key":n,"expanded":n.hasAttribute("expanded"),"id":n.getAttribute("id"),"onExpandStateChange":o},f={"as":u,"id":n.firstElementChild.getAttribute("id"),"role":n.firstElementChild.getAttribute("role")||void 0},a={"as":e,"id":n.lastElementChild.getAttribute("id"),"role":n.lastElementChild.getAttribute("role")||void 0};return un(or,r({},l),un(lr,r({},f)),un(fr,r({},a)))}))}}function sr(n,t){var i=t["aria-controls"],r=t["aria-expanded"],u=t.id,e=t.onClick,o=t.role,l=n.firstElementChild;return Hn((function(){if(l&&e)return l.setAttribute("id",u),l.classList.add("i-amphtml-accordion-header"),l.addEventListener("click",e),l.hasAttribute("tabindex")||l.setAttribute("tabindex",0),l.setAttribute("aria-expanded",r),l.setAttribute("aria-controls",i),l.setAttribute("role",o),n.__AMP_PR&&n.__AMP_PR(),function(){l.removeEventListener("click",x(e))}}),[n,l,u,o,e,i,r]),un("header",null)}var vr=function(n){return sr.bind(null,n)};function hr(n,t,i){var r=t["aria-labelledby"],u=t.id,e=t.role,o=n.lastElementChild,l=Nn();return l.current=o,yi(l),function(n,t){Dn(n,(function(){return t}),[t])}(i,o),Hn((function(){o&&(o.classList.add("i-amphtml-accordion-content"),o.setAttribute("id",u),o.setAttribute("role",e),o.setAttribute("aria-labelledby",r),n.__AMP_PR&&n.__AMP_PR())}),[n,o,u,e,r]),un("div",null)}var dr=function(n){return $i(hr.bind(null,n))};function pr(){customElements.define("bento-accordion",ar.CustomElement(ar))} | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ar.Component=ur,ar.detached=!0,ar.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}}; |
@@ -1,2 +0,2 @@ | ||
function t(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function n(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 i(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?n(Object(o),!0).forEach((function(n){t(i,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(o,t))}))}return i}var{isArray:e}=Array;function o(t){return e(t)?t:[t]}function r(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function s(t,n){const i=t.indexOf(n);return-1!=i&&(t.splice(i,1),!0)}function l(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 u(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return l(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}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{hasOwnProperty:c,toString:a}=Object.prototype;function h(t){const n=Object.create(null);return t&&Object.assign(n,t),n}function f(t){return t||{}}function d(t,n){return Object.keys(t).reduce(((i,e)=>(n.includes(e)||(i[e]=t[e]),i)),{})}function v(t,n,i){let e=t[n];return void 0===e&&(e=i(t,n),t[n]=e),e}function p(t){return 1==(null==t?void 0:t.nodeType)}function y(t,n,i,e,o,r,s,l,u,c,a){return t}function m(t){return(t.ownerDocument||t).defaultView}function b(t,n){return t.replace(/^|,/g,`$&${n} `)}function g(t){y(/^[\w-]+$/.test(t))}function _(t,n){return t.querySelector(b(n,":scope"))}function P(t,n){const i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!i&&i.call(t,n)}function A(t,n){return g(n),_(t,`> [${n}]`)}function w(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:p(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(e=n)||e.nodeType===Node.ELEMENT_NODE&&(e.hasAttribute("placeholder")||e.hasAttribute("fallback")||e.hasAttribute("overflow")))&&i.push(n);var e;return i}(t)}var S,k={bubbles:!0,cancelable:!0};function M(t,n,i){return function(t,n){for(const i in n)t.setAttribute(i,n[i]);return t}(t.createElement(n),i)}function x(t,n,i,e){const o=i||{};y(t.ownerDocument);const r=t.ownerDocument.createEvent("Event");r.data=o;const{bubbles:s,cancelable:l}=e||k;r.initEvent(n,s,l),t.dispatchEvent(r)}function I(){return S||(S=Promise.resolve(void 0))}var E,T,C,R,O,V,z,j,$,L,N=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},H={},D=[],U=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function W(t,n){for(var i in n)t[i]=n[i];return t}function q(t){var n=t.parentNode;n&&n.removeChild(t)}function F(t,n,i){var e,o,r,s={};for(r in n)"key"==r?e=n[r]:"ref"==r?o=n[r]:s[r]=n[r];if(arguments.length>2&&(s.children=arguments.length>3?E.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===s[r]&&(s[r]=t.defaultProps[r]);return Y(t,s,e,o,null)}function Y(t,n,i,e,o){var r={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==o?++C:o};return null==o&&null!=T.vnode&&T.vnode(r),r}function B(t){return t.children}function G(t,n){this.props=t,this.context=n}function Q(t,n){if(null==n)return t.__?Q(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?Q(t):null}function Z(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 Z(t)}}function X(t){(!t.__d&&(t.__d=!0)&&R.push(t)&&!J.__r++||V!==T.debounceRendering)&&((V=T.debounceRendering)||O)(J)}function J(){for(var t;J.__r=R.length;)t=R.sort((function(t,n){return t.__v.__b-n.__v.__b})),R=[],t.some((function(t){var n,i,e,o,r,s;t.__d&&(r=(o=(n=t).__v).__e,(s=n.__P)&&(i=[],(e=W({},o)).__v=o.__v+1,st(s,o,e,n.__n,void 0!==s.ownerSVGElement,null!=o.__h?[r]:null,i,null==r?Q(o):r,o.__h),lt(i,o),o.__e!=r&&Z(o)))}))}function K(t,n,i,e,o,r,s,l,u,c){var a,h,f,d,v,p,y,m=e&&e.__k||D,b=m.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?Y(null,d,null,null,d):Array.isArray(d)?Y(B,{children:d},null,null,null):d.__b>0?Y(d.type,d.props,d.key,null,d.__v):d)){if(d.__=i,d.__b=i.__b+1,null===(f=m[a])||f&&d.key==f.key&&d.type===f.type)m[a]=void 0;else for(h=0;h<b;h++){if((f=m[h])&&d.key==f.key&&d.type===f.type){m[h]=void 0;break}f=null}st(t,d,f=f||H,o,r,s,l,u,c),v=d.__e,(h=d.ref)&&f.ref!=h&&(y||(y=[]),f.ref&&y.push(f.ref,null,d),y.push(h,d.__c||v,d)),null!=v?(null==p&&(p=v),"function"==typeof d.type&&d.__k===f.__k?d.__d=u=tt(d,u,t):u=nt(t,d,f,m,v,u),"function"==typeof i.type&&(i.__d=u)):u&&f.__e==u&&u.parentNode!=t&&(u=Q(f))}for(i.__e=p,a=b;a--;)null!=m[a]&&("function"==typeof i.type&&null!=m[a].__e&&m[a].__e==i.__d&&(i.__d=Q(e,a+1)),ct(m[a],m[a]));if(y)for(a=0;a<y.length;a++)ut(y[a],y[++a],y[++a])}function tt(t,n,i){for(var e,o=t.__k,r=0;o&&r<o.length;r++)(e=o[r])&&(e.__=t,n="function"==typeof e.type?tt(e,n,i):nt(i,e,e,o,e.__e,n));return n}function nt(t,n,i,e,o,r){var s,l,u;if(void 0!==n.__d)s=n.__d,n.__d=void 0;else if(null==i||o!=r||null==o.parentNode)t:if(null==r||r.parentNode!==t)t.appendChild(o),s=null;else{for(l=r,u=0;(l=l.nextSibling)&&u<e.length;u+=2)if(l==o)break t;t.insertBefore(o,r),s=r}return void 0!==s?s:o.nextSibling}function it(t,n,i){"-"===n[0]?t.setProperty(n,i):t[n]=null==i?"":"number"!=typeof i||U.test(n)?i:i+"px"}function et(t,n,i,e,o){var r;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||it(t.style,n,"");if(i)for(n in i)e&&i[n]===e[n]||it(t.style,n,i[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+r]=i,i?e||t.addEventListener(n,r?rt:ot,r):t.removeEventListener(n,r?rt:ot,r);else if("dangerouslySetInnerHTML"!==n){if(o)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 ot(t){this.l[t.type+!1](T.event?T.event(t):t)}function rt(t){this.l[t.type+!0](T.event?T.event(t):t)}function st(t,n,i,e,o,r,s,l,u){var c,a,h,f,d,v,p,y,m,b,g,_=n.type;if(void 0!==n.constructor)return null;null!=i.__h&&(u=i.__h,l=n.__e=i.__e,n.__h=null,r=[l]),(c=T.__b)&&c(n);try{t:if("function"==typeof _){if(y=n.props,m=(c=_.contextType)&&e[c.__c],b=c?m?m.props.value:c.__:e,i.__c?p=(a=n.__c=i.__c).__=a.__E:("prototype"in _&&_.prototype.render?n.__c=a=new _(y,b):(n.__c=a=new G(y,b),a.constructor=_,a.render=at),m&&m.sub(a),a.props=y,a.state||(a.state={}),a.context=b,a.__n=e,h=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=_.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=W({},a.__s)),W(a.__s,_.getDerivedStateFromProps(y,a.__s))),f=a.props,d=a.state,h)null==_.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==_.getDerivedStateFromProps&&y!==f&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(y,b),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(y,a.__s,b)||n.__v===i.__v){a.props=y,a.state=a.__s,n.__v!==i.__v&&(a.__d=!1),a.__v=n,n.__e=i.__e,n.__k=i.__k,n.__k.forEach((function(t){t&&(t.__=n)})),a.__h.length&&s.push(a);break t}null!=a.componentWillUpdate&&a.componentWillUpdate(y,a.__s,b),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(f,d,v)}))}a.context=b,a.props=y,a.state=a.__s,(c=T.__r)&&c(n),a.__d=!1,a.__v=n,a.__P=t,c=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(e=W(W({},e),a.getChildContext())),h||null==a.getSnapshotBeforeUpdate||(v=a.getSnapshotBeforeUpdate(f,d)),g=null!=c&&c.type===B&&null==c.key?c.props.children:c,K(t,Array.isArray(g)?g:[g],n,i,e,o,r,s,l,u),a.base=n.__e,n.__h=null,a.__h.length&&s.push(a),p&&(a.__E=a.__=null),a.__e=!1}else null==r&&n.__v===i.__v?(n.__k=i.__k,n.__e=i.__e):n.__e=function(t,n,i,e,o,r,s,l){var u,c,a,h=i.props,f=n.props,d=n.type,v=0;if("svg"===d&&(o=!0),null!=r)for(;v<r.length;v++)if((u=r[v])&&(u===t||(d?u.localName==d:3==u.nodeType))){t=u,r[v]=null;break}if(null==t){if(null===d)return document.createTextNode(f);t=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,f.is&&f),r=null,l=!1}if(null===d)h===f||l&&t.data===f||(t.data=f);else{if(r=r&&E.call(t.childNodes),c=(h=i.props||H).dangerouslySetInnerHTML,a=f.dangerouslySetInnerHTML,!l){if(null!=r)for(h={},v=0;v<t.attributes.length;v++)h[t.attributes[v].name]=t.attributes[v].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===t.innerHTML)||(t.innerHTML=a&&a.__html||""))}if(function(t,n,i,e,o){var r;for(r in i)"children"===r||"key"===r||r in n||et(t,r,null,i[r],e);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||i[r]===n[r]||et(t,r,n[r],i[r],e)}(t,f,h,o,l),a)n.__k=[];else if(v=n.props.children,K(t,Array.isArray(v)?v:[v],n,i,e,o&&"foreignObject"!==d,r,s,r?r[0]:i.__k&&Q(i,0),l),null!=r)for(v=r.length;v--;)null!=r[v]&&q(r[v]);l||("value"in f&&void 0!==(v=f.value)&&(v!==t.value||"progress"===d&&!v)&&et(t,"value",v,h.value,!1),"checked"in f&&void 0!==(v=f.checked)&&v!==t.checked&&et(t,"checked",v,h.checked,!1))}return t}(i.__e,n,i,e,o,r,s,u);(c=T.diffed)&&c(n)}catch(t){n.__v=null,(u||null!=r)&&(n.__e=l,n.__h=!!u,r[r.indexOf(l)]=null),T.__e(t,n,i)}}function lt(t,n){T.__c&&T.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){T.__e(t,n.__v)}}))}function ut(t,n,i){try{"function"==typeof t?t(n):t.current=n}catch(t){T.__e(t,i)}}function ct(t,n,i){var e,o;if(T.unmount&&T.unmount(t),(e=t.ref)&&(e.current&&e.current!==t.__e||ut(e,null,n)),null!=(e=t.__c)){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(t){T.__e(t,n)}e.base=e.__P=null}if(e=t.__k)for(o=0;o<e.length;o++)e[o]&&ct(e[o],n,"function"!=typeof t.type);i||null==t.__e||q(t.__e),t.__e=t.__d=void 0}function at(t,n,i){return this.constructor(t,i)}function ht(t,n,i){var e,o,r;T.__&&T.__(t,n),o=(e="function"==typeof i)?null:i&&i.__k||n.__k,r=[],st(n,t=(!e&&i||n).__k=F(B,null,[t]),o||H,H,void 0!==n.ownerSVGElement,!e&&i?[i]:o?null:n.firstChild?E.call(n.childNodes):null,r,!e&&i?i:o?o.__e:n.firstChild,e),lt(r,t)}function ft(t,n){ht(t,n,ft)}function dt(t,n){var i={__c:n="__cC"+z++,__: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(X)},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}};return i.Provider.__=i.Consumer.contextType=i}E=D.slice,T={__e:function(t,n){for(var i,e,o;n=n.__;)if((i=n.__c)&&!i.__)try{if((e=i.constructor)&&null!=e.getDerivedStateFromError&&(i.setState(e.getDerivedStateFromError(t)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t),o=i.__d),o)return i.__E=i}catch(n){t=n}throw t}},C=0,G.prototype.setState=function(t,n){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=W({},this.state),"function"==typeof t&&(t=t(W({},i),this.props)),t&&W(i,t),null!=t&&this.__v&&(n&&this.__h.push(n),X(this))},G.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),X(this))},G.prototype.render=B,R=[],O="function"==typeof Promise?Promise.prototype.then.bind(I()):setTimeout,J.__r=0,z=0;var vt=0,pt=[],yt=T.__b,mt=T.__r,bt=T.diffed,gt=T.__c,_t=T.unmount;function Pt(t,n){T.__h&&T.__h($,t,vt||n),vt=0;var i=$.__H||($.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function At(t){return vt=1,function(t,n,i){var e=Pt(j++,2);return e.t=t,e.__c||(e.__=[zt(void 0,n),function(t){var n=e.t(e.__[0],t);e.__[0]!==n&&(e.__=[n,e.__[1]],e.__c.setState({}))}],e.__c=$),e.__}(zt,t)}function wt(t,n){var i=Pt(j++,3);!T.__s&&Vt(i.__H,n)&&(i.__=t,i.__H=n,$.__H.__h.push(i))}function St(t,n){var i=Pt(j++,4);!T.__s&&Vt(i.__H,n)&&(i.__=t,i.__H=n,$.__h.push(i))}function kt(t){return vt=5,xt((function(){return{current:t}}),[])}function Mt(t,n,i){vt=6,St((function(){"function"==typeof t?t(n()):t&&(t.current=n())}),null==i?i:i.concat(t))}function xt(t,n){var i=Pt(j++,7);return Vt(i.__H,n)&&(i.__=t(),i.__H=n,i.__h=t),i.__}function It(t,n){return vt=8,xt((function(){return t}),n)}function Et(t){var n=$.context[t.__c],i=Pt(j++,9);return i.c=t,n?(null==i.__&&(i.__=!0,n.sub($)),n.props.value):t.__}function Tt(){pt.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(Rt),t.__H.__h.forEach(Ot),t.__H.__h=[]}catch(n){t.__H.__h=[],T.__e(n,t.__v)}})),pt=[]}T.__b=function(t){$=null,yt&&yt(t)},T.__r=function(t){mt&&mt(t),j=0;var n=($=t.__c).__H;n&&(n.__h.forEach(Rt),n.__h.forEach(Ot),n.__h=[])},T.diffed=function(t){bt&&bt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==pt.push(n)&&L===T.requestAnimationFrame||((L=T.requestAnimationFrame)||function(t){var n,i=function(){clearTimeout(e),Ct&&cancelAnimationFrame(n),setTimeout(t)},e=setTimeout(i,100);Ct&&(n=requestAnimationFrame(i))})(Tt)),$=null},T.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Rt),t.__h=t.__h.filter((function(t){return!t.__||Ot(t)}))}catch(i){n.some((function(t){t.__h&&(t.__h=[])})),n=[],T.__e(i,t.__v)}})),gt&>(t,n)},T.unmount=function(t){_t&&_t(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Rt)}catch(t){T.__e(t,n.__v)}};var Ct="function"==typeof requestAnimationFrame;function Rt(t){var n=$;"function"==typeof t.__c&&t.__c(),$=n}function Ot(t){var n=$;t.__c=t.__(),$=n}function Vt(t,n){return!t||t.length!==n.length||n.some((function(n,i){return n!==t[i]}))}function zt(t,n){return"function"==typeof n?n(t):n}var jt=["auto","lazy","eager","unload"],$t={auto:0,lazy:1,eager:2,unload:3};function Lt(t,n){const i=$t[t]||0,e=$t[n]||0,o=Math.max(i,e);return jt[o]}function Nt(t,n){let i=!1;const e=()=>{i=!1,t()};return t=>{i||(i=!0,(t||n)(e))}}function Ht(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:i,stack:e}=t,o=new Error(i);for(const n in t)o[n]=t[n];return o.stack=e,o}function Dt(t){let n=null,i="";for(var e,o=u(arguments,!0);!(e=o()).done;){const t=e.value;t instanceof Error&&!n?n=Ht(t):(i&&(i+=" "),i+=t)}return n?i&&(n.message=i+": "+n.message):n=new Error(i),n}function Ut(t){var n,i;null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,t)}function Wt(t){const n=Dt.apply(null,arguments);setTimeout((()=>{throw Ut(n),n}))}function qt(t,...n){try{return t.apply(null,n)}catch(t){Wt(t)}}function Ft(t,n,i,e=!0,o=!0){if(o){const o=n(t,i,e);o&&Ft(t,n,i,o,!1)}else if(t.children)for(var r,s=u(t.children,!0);!(r=s()).done;)Ft(r.value,n,i,e,!0)}var Yt=[],Bt=()=>{};function Gt(t,n){return t.values.scan(n)}function Qt(t,n,i){return t.values.scanAll(i)}function Zt(t,n){return t.values.has(n)}function Xt(t){return!!t.recursive}function Jt(t){return void 0!==t}var Kt=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Kt(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||p(i)&&i.tagName.startsWith("AMP-"))return Kt.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,tn(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,tn(t))}static rediscoverChildren(t){var n;const i=t.__AMP_NODE;null==i||null===(n=i.children)||void 0===n||n.forEach(nn)}constructor(t,n){this.node=t,this.name=n,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.Ze=t,this.v=null,this.m=null,this.el=Nt(this.el.bind(this),setTimeout)}set(t,n,i){y(n),y(void 0!==i);const{key:e}=t,o=this.v||(this.v=new Map);let r=o.get(e);r||(r={values:[],setters:[]},o.set(e,r));const s=r.setters.indexOf(n),l=-1==s||r.values[s]!==i;-1==s?(r.setters.push(n),r.values.push(i)):l&&(r.values[s]=i),l&&(this.ping(t,!1),Xt(t)&&Ft(this.Ze,Gt,t,!0,!1))}remove(t,n){y(n);const{key:i}=t,e=this.v,o=null==e?void 0:e.get(i);if(o){y(e);const r=o.setters.indexOf(n);-1!=r&&(o.setters.splice(r,1),o.values.splice(r,1),0==o.setters.length&&e.delete(i),Ft(this.Ze,Gt,t))}}has(t){var n;return!(null===(n=this.v)||void 0===n||!n.has(t.key))}subscribe(t,n){const i=this.Sa(t);if(!r(i.subscribers,n))return;const e=i.value;Jt(e)&&this.hi()&&n(e)}unsubscribe(t,n){var i;const e=null===(i=this.m)||void 0===i?void 0:i.get(t.key);e&&s(e.subscribers,n)&&this.ka(e)}ping(t,n){var i,e;null===(i=this.m)||void 0===i||null===(e=i.get(t.key))||void 0===e||e.ping(n)}parentUpdated(){this.hi()&&Ft(this.Ze,Qt,void 0,Yt)}rootUpdated(){const t=this.m;t&&(this.hi()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Xt(n)&&this.Ia(t,null)})))}scan(t){return this.ping(t,!0),!!Xt(t)&&!this.has(t)}scanAll(t){let n=null;const i=this.m;return i&&i.forEach((i=>{const{prop:e}=i,{key:o}=e;-1==(n||t).indexOf(o)&&(this.ping(e,!0),this.Ze.children&&this.has(e)&&(n||(n=t.slice(0)),n.push(o)))})),n||t}hi(){return!!this.Ze.root}Sa(t){const{deps:n,key:i}=t,e=this.m||(this.m=new Map);let o=e.get(i);return o||(o={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(Bt):Yt,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.hi()){const n=t?2:1;o.pending=Math.max(o.pending,n),this.el()}},pingDep:n.length>0?n.map(((t,n)=>t=>{o.depValues[n]=t,o.ping()})):Yt,pingParent:Xt(t)?t=>{o.parentValue=t,o.ping()}:null},e.set(i,o),n.forEach(((t,n)=>this.subscribe(t,o.pingDep[n]))),o.ping(!1)),o}ka(t){var n;if(t.subscribers.length>0)return;const{pingDep:i,prop:e}=t,{deps:o,key:r}=e;null===(n=this.m)||void 0===n||n.delete(r),this.Ia(t,null),o.length>0&&o.forEach(((t,n)=>{this.unsubscribe(t,i[n])}))}el(){if(!this.hi())return;const t=this.m;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 Wt(`cyclical prop: ${i}`),void(t.pending=0);n++,this.Ca(t)}}))}while(n>0)}Ca(t){const n=2==t.pending;let i;try{i=this.Ra(t,n)}catch(t){Wt(t)}t.pending=0,this.Oa(t,i)}Oa(t,n){const{prop:i,value:e}=t,{key:o}=i,r=this.m;if(e===n||t!==(null==r?void 0:r.get(o))||!this.hi())return;t.value=n;const{subscribers:s}=t;for(var l,c=u(s,!0);!(l=c()).done;)(0,l.value)(n)}Ra(t,n){var i,e;y(this.hi());const{depValues:o,prop:r}=t,{compute:s,defaultValue:l,key:u}=r,c=null===(i=this.v)||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}(r,c);if(n||a!=Boolean(t.parentContextNode)){const n=a?function(t,n,i,e=!0){for(let o=e?t:t.parent;o;o=o.parent)if(n(o,i))return o;return null}(this.Ze,Zt,r,!1):null;this.Ia(t,n)}const h=Jt(t.parentValue)?t.parentValue:a&&!t.parentContextNode?l:void 0;let f;if(o.every(Jt)&&(!a||Jt(h))){const{node:t}=this.Ze;c&&!s?f=c[0]:Xt(r)?c||o.length>0?f=function(t,n,i,e,o){switch(o.length){case 0:return t(n,i,e);case 1:return t(n,i,e,o[0]);case 2:return t(n,i,e,o[0],o[1]);case 3:return t(n,i,e,o[0],o[1],o[2]);default:return t.apply(null,[n,i,e].concat(o))}}(s,t,c||Yt,h,o):Jt(h)&&(f=h):s&&(f=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))}}(s,t,c||Yt,o))}return f}Ia(t,n){const{parentContextNode:i,pingParent:e,prop:o}=t;n!=i&&(t.parentContextNode=n,t.parentValue=void 0,y(e),i&&i.values.unsubscribe(o,e),n&&(y(e),n.values.subscribe(o,e)))}}(this),this.Va=null,this.za=!1,this.ja=Nt(this.$a.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,i;const e=t.target;e.assignedNodes().forEach(tn),null===(n=Kt.closest(e))||void 0===n||null===(i=n.children)||void 0===i||i.forEach(nn)})),this.discover()}discover(){this.isDiscoverable()?this.ja():this.name&&this.children&&this.children.forEach(nn)}isDiscoverable(){return!this.isRoot&&!this.za}setParent(t){const n=null!=t&&t.nodeType?Kt.get(t):t;this.La(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){y(!t||t.isRoot);const n=this.root;var i,e;t!=n&&(this.root=t,this.values.rootUpdated(),null===(i=this.Va)||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:o,node:r}=this,s=new Kt(r,t);return e.set(t,{cn:s,match:n,weight:i}),s.setParent(this),null==o||o.forEach(nn),s}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:o,weight:r})=>{o(t,this.node)&&r>e&&(i=n,e=r)})),i}subscribe(t,n,i,e){const o=this.Va||(this.Va=new Map);let r=o.get(t);r||(r=new n(this,i,e),o.set(t,r))}unsubscribe(t){const n=this.Va,i=null==n?void 0:n.get(t);i&&(i.dispose(),y(n),n.delete(t))}$a(){if(!this.isDiscoverable())return;const t=Kt.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.La(n,!1)}La(t,n){var i;this.za=n;const e=this.parent;if(t!=e){if(this.parent=t,null!=e&&e.children&&(y(e.children),s(e.children,this)),t){const n=t.children||(t.children=[]);r(n,this);for(var o,l=u(n,!0);!(o=l()).done;){const t=o.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==t?void 0:t.root)&&void 0!==i?i:null)}};function tn(t){!function(t,n,i=!0){const e=Kt.closest(t,i);if(e)if(e.node==t)n(e);else if(e.children)for(var o,r=u(e.children,!0);!(o=r()).done;){const i=o.value;t.contains(i.node)&&n(i)}}(t,nn)}function nn(t){t.discover()}var en=[];function on(t,n){const e=i({key:t,deps:en,recursive:!1},n);return y(0==e.deps.length||e.compute),e}var rn=[],sn=()=>{};function ln(t,n,i){n=o(n);const e=i;Kt.get(t).subscribe(e,cn,i,n)}var un,cn=class{constructor(t,n,i){if(this.contextNode=t,this.Na=n,this.Ha=i,this.Da=i.length>0?i.map(sn):rn,this.Ua=i.length>0?i.map(((t,n)=>t=>{this.Da[n]=t,this.Wa()})):rn,this._s=!1,this.qa=null,this.Wa=Nt(this.Wa.bind(this),setTimeout),i.length>0){const{values:t}=this.contextNode;i.forEach(((n,i)=>t.subscribe(n,this.Ua[i])))}this.hi()&&this.Wa()}dispose(){if(this.Ha.length>0){const{values:t}=this.contextNode;this.Ha.forEach(((n,i)=>t.unsubscribe(n,this.Ua[i])))}this.de()}rootUpdated(){const t=this.hi();this.de(),t&&this.Wa()}hi(){return!!this.contextNode.root}Wa(){this.hi()&&(this.Da.every(an)?(this._s=!0,this.Fa()):this._s&&(this._s=!1,this.de()))}Fa(){this.de();const t=this.Na;this.qa=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.Da)}de(){this.qa&&(qt(this.qa),this.qa=null)}};function an(t){return void 0!==t}function hn(t){Kt.get(t).discover()}function fn(t,n,i,e){Kt.get(t).values.set(n,i,e)}function dn(t,n,i){Kt.get(t).values.remove(n,i)}function vn(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function pn(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let i,e,o;if(")"==n.charAt(n.length-1)){let t=1;for(o=n.length-2;o>=0;o--){const i=n.charAt(o);if("("==i?t--:")"==i&&t++,0==t)break}const i=o-1;if(o>0)for(o--;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(o>=i)return null}else for(o=n.length-2;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return o>=0?(i=n.substring(0,o+1).trim(),e=n.substring(o+1).trim()):(e=n,i=void 0),e?{query:i?t.matchMedia(i):null,value:e}:null})).filter(Boolean)}function yn(t,n,i){for(let e=0;e<t.length;e++){const{query:o}=t[e];o&&(void 0!==o.onchange?o.onchange=i?n:null:i?o.addListener(n):o.removeListener(n))}}var mn=["Webkit","webkit","Moz","moz","ms","O","o"],bn={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function gn(t,n,i){if(wn(n))return n;un||(un=h());let e=un[n];if(!e||i){if(e=n,void 0===t[n]){const i=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n),o=function(t,n){for(let i=0;i<mn.length;i++){const e=mn[i]+n;if(void 0!==t[e])return e}return""}(t,i);void 0!==t[o]&&(e=o)}i||(un[n]=e)}return e}function _n(t,n,i,e,o){const r=gn(t.style,n,o);if(!r)return;const s=e?i+e:i;wn(r)?t.style.setProperty(r,s):t.style[r]=s}function Pn(t,n,i){const e=gn(t.style,n,i);if(e)return wn(e)?t.style.getPropertyValue(e):t.style[e]}function An(t,n){for(const i in n)_n(t,i,n[i])}function wn(t){return t.startsWith("--")}var Sn,kn,Mn=/vertical/,xn=new WeakMap,In=new WeakMap,En=new WeakMap;function Tn(t){let n=xn.get(t);return n||(n=new t.ResizeObserver(Cn),xn.set(t,n)),n}function Cn(t){const n=new Set;for(let i=t.length-1;i>=0;i--){const e=t[i],{target:o}=e;if(n.has(o))continue;n.add(o);const r=In.get(o);if(r){En.set(o,e);for(let t=0;t<r.length;t++){const{callback:n,type:i}=r[t];Rn(i,n,e)}}}}function Rn(t,n,i){if(0==t){const{contentRect:t}=i,{height:e,width:o}=t;qt(n,{width:o,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=m(t),o=Mn.test(function(t,n){return t.getComputedStyle(n)||bn}(n,t).writingMode),{offsetHeight:r,offsetWidth:s}=t;let l,u;o?(u=s,l=r):(l=s,u=r),e={inlineSize:l,blockSize:u}}qt(n,e)}}if("undefined"!=typeof AMP&&.BaseElement)Sn=AMP.BaseElement;else{let t;class n{constructor(t){this.element=t,this.win=m(t)}static"CustomElement"(n){return t||(t=HTMLElement),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){I().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}Sn=n}function On(){return kn||(kn=dt({renderable:!0,playable:!0,loading:"auto"}))}function Vn({children:t,loading:n="auto",notify:i,playable:e=!0,renderable:o=!0}){const r=zn(),s=o&&r.renderable,l=s&&e&&r.playable,u=Lt(s?"auto":"lazy",Lt(n,r.loading)),c=i||r.notify,a=xt((()=>({renderable:s,playable:l,loading:u,notify:c})),[s,l,u,c]);return F(On().Provider,{children:t,value:a})}function zn(){return Et(On())}var jn=on("CanRender",{defaultValue:!0,recursive:t=>t.reduce(Nn),compute:(t,n,i)=>i&&n.reduce(Nn,!0)||!1}),$n=on("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(Nn),deps:[jn],compute:(t,n,i,e)=>e&&i&&n.reduce(Nn,!0)||!1}),Ln=on("Loading",{defaultValue:"auto",recursive:!0,deps:[jn],compute:(t,n,i,e)=>Lt(e?"auto":"lazy",Lt(i||"auto",n.reduce(Lt,"auto")))}),Nn=(t,n)=>t&&n;function Hn(){let t=0;return()=>String(++t)}var Dn=t=>t.ensureLoaded(),Un=t=>t.pause(),Wn=t=>t.unmount();function qn(t,n=!0){Bn(t,n,!1,Dn)}function Fn(t,n=!0){Bn(t,n,!0,Un)}function Yn(t,n=!0){Bn(t,n,!0,Wn)}function Bn(t,n,i,e){const r=o(t);for(let t=0;t<r.length;t++)Gn(r[t],n,i,e)}function Gn(t,n,i,e){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(qt(e,n),!i){const t=n.getPlaceholder();return void(t&&Gn(t,!0,!1,e))}}const o=t.getElementsByClassName("i-amphtml-element");let r=null;for(let t=0;t<o.length;t++){const n=o[t];if(i)qt(e,n);else{r=r||[];let t=!1;for(let i=0;i<r.length;i++)if(r[i].contains(n)){t=!0;break}t||(r.push(n),qt(e,n))}}}var Qn={},Zn=new WeakMap;function Xn(t,n,e,o=!1){if(t.setAttribute("slot",n),!o)return F(Jn,i(i({},e||Qn),{},{name:n}));const r=Zn.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,e))return r.component;function s(t){return F(Jn,i(i({},e||Qn),{},{name:n},t))}return Zn.set(t,{oldProps:e,component:s}),s}function Jn(t){const n=kt(null);return Kn(n,t),wt((()=>{t.postRender&&t.postRender()})),F("slot",i(i({},t),{},{ref:n}))}function Kn(t,n){const i=null==n?void 0:n.loading,e=zn();St((()=>{const n=t.current;return y(p(n)),fn(n,jn,Jn,e.renderable),fn(n,$n,Jn,e.playable),fn(n,Ln,Jn,e.loading),e.playable||ti(n,Fn,!0),()=>{var t;dn(n,jn,Jn),dn(n,$n,Jn),dn(n,Ln,Jn),t=n,Kt.rediscoverChildren(t)}}),[t,e]),St((()=>{const n=t.current;return y(p(n)),"lazy"!=i&&ti(n,qn,!0),()=>{ti(n,Yn,!1)}}),[t,i])}function ti(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 o=t.ownerDocument.defaultView;o&&(o.requestIdleCallback||o.setTimeout)((()=>n(e)))}var ni={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},ii=Hn();function ei(t,n){return Object.values(t).some(n)}var oi=t=>"string"==typeof t||!!t.selector,ri=t=>{var n;return 3===t.nodeType&&0===(null===(n=t.nodeValue)||void 0===n?void 0:n.trim().length)};function si(t,n,e,o,r){const{"layoutSizeDefined":s,"lightDomTag":l,"props":u}=t;r&&r.start();const c=i(i({},o),{},{ref:e});return l&&(c["i-amphtml-rendered"]=!0,c.__AMP_RENDERED=!0,c.as=l),s&&(t.usesShadowDom?c.style=ni:c.class="i-amphtml-fill-content"),li(t,c,u,n,r),r&&r.complete(),c}function li(t,n,i,e,o){if(ei(i,oi)){const r=w(e);for(let e=0;e<r.length;e++){const s=r[e],l=ci(s,i);if(!l)continue;const u=i[l],{as:c=!1,single:a,name:h=l,clone:f,props:d={}}=u;y(f||t.usesShadowDom);const v={};if(li(t,v,d,s,o),a)n[h]=Xn(s,s.getAttribute("slot")||`i-amphtml-${h}`,v,c);else{const t=n[h]||(n[h]=[]);y(!c),t.push(f?ui(s):Xn(s,s.getAttribute("slot")||`i-amphtml-${h}-${ii()}`,v))}}}for(const s in i){const l=i[s];let u;if(y([l.attr,l.attrs,l.attrMatches,l.selector,l.passthrough,l.passthroughNonEmpty].filter(Boolean).length<=1),l.passthrough?(y(t.usesShadowDom),u=[F(Jn,{loading:"lazy"})]):l.passthroughNonEmpty?(y(t.usesShadowDom),u=w(e).every(ri)?null:[F(Jn,{loading:"lazy"})]):l.attr?(u=e.getAttribute(l.attr),l.media&&null!=u&&(y(o),u=o.resolveListQuery(String(u)))):l.parseAttrs&&(y(l.attrs||l.attrMatches),u=l.parseAttrs(e)),null==u)null!=l.default&&(n[s]=l.default);else{const t="number"==l.type?parseFloat(u):"boolean"==l.type?null==(r=u)?void 0:"false"!==r:u;n[s]=t}}var r}function ui(t){const n={"key":t},{attributes:i,localName:e}=t,{length:o}=i;for(let t=0;t<o;t++){const{name:e,value:o}=i[t];n[e]=o}return F(e,n)}function ci(t,n){for(const i in n){const e=n[i],o="string"==typeof e?e:e.selector;if(o&&P(t,o))return i}return null}var ai={childList:!0},hi={childList:!0,characterData:!0},fi={childList:!0},di=f({"style":"display: contents; background: inherit;","part":"c"}),vi=f({"name":"i-amphtml-svc"}),pi=f({"i-amphtml-rendered":""}),yi=()=>!0,mi=t=>!!t.media,bi=t=>!(!t.passthrough&&!t.passthroughNonEmpty),gi=class extends Sn{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){y(!1)}constructor(t){super(t),this.Ya=f({"loading":"auto","onReadyState":(t,n)=>{this.Ba(t,n)},"onPlayingState":t=>{this.Ga(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}}),this.Qa={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.Za=!1,this.Xa=null,this.Ja=null,this.Ka=t=>{null!==t&&(this.Xa?this.tf(t):this.nf(t)),this.Ja=t,this.if()},this.ef=null,this.rf=null,this.sf=null,this.lf=!1,this.uf=null,this.cf=()=>{this.lf=!1,this.af()},this.hf=!1,this.ui=!1,this.observer=null,this.ff=new class{constructor(t){this.df=t,this.vf=!1,this.pf=!1,this.yf=this.yf.bind(this)}updatePlaying(t){t!==this.vf&&(this.vf=t,t?(this.pf=!1,function(t,n){!function(t,n,i){const e=t.ownerDocument.defaultView;if(!e)return;let o=In.get(t);if(o||(o=[],In.set(t,o),Tn(e).observe(t)),!o.some((t=>t.callback===i&&1===t.type))){o.push({type:1,callback:i});const n=En.get(t);n&&setTimeout((()=>Rn(1,i,n)))}}(t,0,n)}(this.df,this.yf)):function(t,n){!function(t,n,i){const e=In.get(t);if(e&&(function(t,n){const e=[];let o=0;for(let n=0;n<t.length;n++){const s=t[n];(r=s).callback===i&&1===r.type?e.push(s):(o<n&&(t[o]=s),o++)}var r;o<t.length&&(t.length=o)}(e),0==e.length)){In.delete(t),En.delete(t);const n=t.ownerDocument.defaultView;n&&Tn(n).unobserve(t)}}(t,0,n)}(this.df,this.yf))}yf({blockSize:t,inlineSize:n}){const i=n>0&&t>0;if(i===this.pf)return;this.pf=i;const e=this.df;i||e.pause()}}(t),this.Ti=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.mf(t)));const{props:n}=t,e=ei(n,oi)?ai:null,o=ei(n,bi)?hi:null,r=t.usesTemplate?fi:null;this.observer.observe(this.element,i(i(i({attributes:!0},e),o),r)),this.Ti=ei(n,mi)?new class{constructor(t,n){this.Wt=t,this.o=n,this.Li={},this.Ui=null}start(){this.Ui=this.Li,this.Li={}}resolveMatchQuery(t){return"1"===this.$i(t,vn,"1")}resolveListQuery(t){return this.$i(t,pn,"")}complete(){for(const t in this.Ui)t in this.Li||yn(this.Ui[t],this.o,!1);this.Ui=null}dispose(){for(const t in this.Li)yn(this.Li[t],this.o,!1);this.Li={}}$i(t,n,i){if(!t.trim())return i;let e=this.Li[t];return e||(y(this.Ui),e=this.Ui[t]),e||(e=n(this.Wt,t),yn(e,this.o,!0)),this.Li[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.bf())):null;const{staticProps:s}=t,l=this.init();Object.assign(this.Ya,s,l),this.checkPropsPostMutations(),ln(this.element,[],(()=>()=>{this.ui=!1,this.sf&&ht(null,this.sf)})),ln(this.element,[jn,$n,Ln],((t,n,i)=>{this.Qa.renderable=t,this.Qa.playable=n,this.Qa.loading=i,this.ui=!0,this.bf()}));const{useContexts:u}=t;var c;return 0!=u.length&&ln(this.element,u,((...t)=>{this.rf=t,this.bf()})),this.uf=new N,this.bf(),t.loadable&&(null===(c=this.setReadyState)||void 0===c||c.call(this,"loading")),this.if(),this.uf.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps(f({"loading":"eager"})),this.Za=!0)}mountCallback(){hn(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Za=!1)}unmountCallback(){var t;hn(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Ga(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.sf&&this.bf()}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.Ya,t),this.bf()}api(){const t=this.Ja;return y(t),t}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}mf(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{props:i}=t;for(const t in i){var e,o;const r=i[t],s=n.attributeName;if(y(s),s==r.attr||null!==(e=r.attrs)&&void 0!==e&&e.includes(s)||null!==(o=r.attrMatches)&&void 0!==o&&o.call(r,s))return!0}return!1}return"childList"==i&&(_i(n.addedNodes)||_i(n.removedNodes))}(n,t)));i&&(this.checkPropsPostMutations(),this.bf())}bf(){this.lf||(this.lf=!0,this.mutateElement(this.cf))}if(){const{Ja:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.Ba(n)}Ba(t,n){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,t,n),this.constructor.unloadOnPause&&this.Ga("complete"==t),this.Za&&(this.Za=!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,o;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===(o=this.togglePlaceholder)||void 0===o||o.call(this,!0)}af(){if(!this.ui)return;const t=this.constructor,{detached:n,usesShadowDom:e}=t,o=e?null:t.lightDomTag;if(!this.sf){const i=this.win.document;if(e){y(!n);let{shadowRoot:e}=this.element,o=e&&(v=e,g("c"),_(v,"> c"));if(o)this.hf=!0;else{var r,s,l,u,c,a;e=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const{shadowCss:n}=t;n&&function(t,n,i){const e=t.ownerDocument,o=e.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==o.CSSStyleSheet.prototype.replaceSync){const e=o.__AMP_SHADOW_CSS||(o.__AMP_SHADOW_CSS={});let r=e[n];r||(r=new o.CSSStyleSheet,y(r.replaceSync),r.replaceSync(i),e[n]=r),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(r)}else{const o=e.createElement("style");o.setAttribute("data-name",n),o.textContent=i,t.appendChild(o)}}(e,this.element.tagName,n),o=M(i,"c",di),e.appendChild(o);const h=M(i,"slot",vi);e.appendChild(h),null===(r=this.getPlaceholder)||void 0===r||null===(s=r.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(l=this.getFallback)||void 0===l||null===(u=l.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(c=this.getOverflowElement)||void 0===c||null===(a=c.call(this))||void 0===a||a.setAttribute("slot","i-amphtml-svc")}this.sf=o,y(e),function(t,n){Kt.get(t).setParent(n)}(e,this.element),function(t,n,i,e=0){Kt.get(t).addGroup(n,i,e)}(this.element,"unslotted",yi,-1),h=this.element,f=jn,null===(d=Kt.get(h).group("unslotted"))||void 0===d||d.values.set(f,this,!1)}else if(o){const n=this.element;this.sf=n;const e=A(n,"i-amphtml-rendered")||M(i,o,pi);e.__AMP_RENDERED=!0,t.layoutSizeDefined&&e.classList.add("i-amphtml-fill-content"),this.sf.appendChild(e)}else{const t=i.createElement("i-amphtml-c");this.sf=t,t.classList.add("i-amphtml-fill-content"),n||this.element.appendChild(t)}}var h,f,d,v;const p=this.sf;y(p);const{useContexts:m}=t,b=this.rf;if(0!=m.length&&null==b)return;const P=si(t,this.element,this.Ka,this.Ya,this.Ti);if(this.updatePropsForRendering(P),!this.isReady(P))return;let w=F(t.Component,P);for(let t=0;t<m.length;t++){y(b);const n=m[t].type,i=b[t];i&&(w=F(n.Provider,{value:i},w))}const S=F(Vn,i({},this.Qa),w);if(this.hf)this.hf=!1,ft(S,p);else{const t=o?A(p,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),ht(S,p,null!=t?t:void 0)}e||n||this.mutateElement((()=>x(this.element,"amp:dom-update",void 0))),this.uf&&(this.uf.resolve(void 0),this.uf=null)}getProp(t,n){return i=this.Ya,e=t,c.call(i,e)?this.Ya[t]:n;var i,e}getApi(){const t=this.Xa;return t?Promise.resolve(t):(this.ef||(this.ef=new N),this.ef.promise)}nf(t){const n=h(),i=Object.keys(t);for(let t=0;t<i.length;t++){const e=i[t];this.gf(n,e)}this.Xa=n,this.ef&&(this.ef.resolve(n),this.ef=null)}tf(t){}triggerEvent(t,n,i){x(t,n,i)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps(f({"loading":"unload"})),this.Za=!0;else{var t;const{Ja:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}Ga(t){this.ff.updatePlaying(t)}gf(t,n){Object.defineProperty(t,n,{configurable:!0,get:()=>{const t=this.Ja;return y(t),t[n]},set:t=>{const i=this.Ja;y(i),i[n]=t}})}};function _i(t){for(let n=0;n<t.length;n++){const i=t[n];if(p(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}function Pi(t,n){if(null==t)return{};var i,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i=r[e],n.indexOf(i)>=0||(o[i]=t[i]);return o}t(gi,"staticProps",void 0),t(gi,"useContexts",[]),t(gi,"loadable",!1),t(gi,"unloadOnPause",!1),t(gi,"layoutSizeDefined",!1),t(gi,"lightDomTag",""),t(gi,"usesTemplate",!1),t(gi,"shadowCss",null),t(gi,"usesShadowDom",!1),t(gi,"detached",!1),t(gi,"delegatesFocus",!1),t(gi,"props",{});var Ai,wi=["ref"],Si="undefined"!=typeof Symbol&&(null===(Ai=Symbol.for)||void 0===Ai?void 0:Ai.call(Symbol,"react.forward_ref"))||3911,ki=T.__b;function Mi(t){function n(n){const{ref:i}=n,e=Pi(n,wi);return t(e,i)}return n.$$typeof=Si,n.render=n,n.prototype.isReactComponent=!0,n._f=!0,n}function xi(t){return(xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ii(t){var n=function(t,n){if("object"!==xi(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var e=i.call(t,"string");if("object"!==xi(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===xi(n)?n:String(n)}T.__b=function(t){var n;null!==(n=t.type)&&void 0!==n&&n._f&&t.ref&&(t.props.ref=t.ref,t.ref=null),null==ki||ki(t)};var Ei=[null,"paint","layout","content","size","size paint","size layout","strict"],Ti={"position":"relative","width":"100%","height":"100%"};function Ci(t,n,i){t.classList.add("i-amphtml-animating");let e=n();return e.onfinish=e.oncancel=()=>{e=null,i&&i(),t.classList.remove("i-amphtml-animating")},()=>{e&&e.cancel()}}function Ri(t){const n=window.innerHeight,i=Math.abs(t)/n*500;return Math.min(Math.max(i,200),500)}Mi((function(t,n){let e="class",{as:o="div",children:r,contentAs:s="div",contentClassName:l,contentProps:u,contentRef:c,contentStyle:a,layout:h=!1,paint:f=!1,size:d=!1,"style":v,wrapperClassName:p,wrapperStyle:y,[e]:m}=t;const b=(d?4:0)+(h?2:0)+(f?1:0);return F(o,i(i({},Pi(t,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",e].map(Ii))),{},{ref:n,class:`${m||""} ${p||""}`.trim()||null,style:i(i(i({},v),y),{},{contain:Ei[b]})}),F(s,i(i({},u),{},{ref:c,class:l,style:i(i({},d&&Ti),{},{"overflow":f?"hidden":"visible"},a)}),r))})),Mi((function(t,n){let e="class",{as:o="div",children:r,"style":s,wrapperClassName:l,wrapperStyle:u,[e]:c}=t;return F(o,i(i({},Pi(t,["as","children","style","wrapperClassName","wrapperStyle",e].map(Ii))),{},{ref:n,class:`${c||""} ${l||""}`.trim()||null,style:i(i({},s),u)}),r)}));var Oi=["animate","as","children","expandSingleSection","id"],Vi=["animate","as","children","expanded","id","onExpandStateChange"],zi=dt({}),ji=dt({}),$i={},Li={},Ni=Hn(),Hi=()=>String(Math.floor(1e5*Math.random())),Di=Mi((function(t,n){let{animate:e=!1,as:o="section",children:r,expandSingleSection:s=!1,id:l}=t,u=Pi(t,Oi);const[c,a]=At($i),h=kt(Li),[f]=At(Hi),v=l||`a${f}`;wt((()=>{s&&a((t=>{const n={};let i=0;for(const e in t)n[e]=t[e]&&0==i++;return n}))}),[s]);const p=It(((t,n,{current:e})=>(a((i=>Ui(t,n,i,s))),h.current=i(i({},h.current),{},{[t]:e}),()=>{a((n=>d(n,t))),h.current=d(h.current,t)})),[s]),y=It(((t,n)=>{a((i=>{const e=null!=n?n:!i[t],o=Ui(t,e,i,s);return I().then((()=>{for(const t in i){const n=h.current[t];n&&i[t]!=o[t]&&n(o[t])}})),o}))}),[s]),m=It(((t,n)=>{var i;return null!==(i=c[t])&&void 0!==i?i:n}),[c]),b=It((t=>{if(t)t in c&&y(t);else if(!s)for(const t in c)y(t)}),[c,y,s]),g=It((t=>{if(t)m(t,!0)||y(t);else if(!s)for(const t in c)m(t,!0)||y(t)}),[c,y,m,s]),_=It((t=>{if(t)m(t,!1)&&y(t);else for(const t in c)m(t,!1)&&y(t)}),[c,y,m]);Mt(n,(()=>({toggle:b,expand:g,collapse:_})),[b,_,g]);const P=xt((()=>({registerSection:p,toggleExpanded:y,isExpanded:m,animate:e,prefix:v})),[p,y,m,e,v]);return F(o,i({id:l},u),F(zi.Provider,{value:P},r))}));function Ui(t,n,e,o){let r;if(o&&n){r={[t]:n};for(const n in e)n!=t&&(r[n]=!1)}else r=i(i({},e),{},{[t]:n});return r}function Wi(t){let{animate:n=!1,as:e="section",children:o,expanded:r=!1,id:s,onExpandStateChange:l}=t,u=Pi(t,Vi);const[c]=At(Ni),a=s||c,[h]=At(Hi),[f,d]=At(r),[v,p]=At(null),[y,m]=At(null),{animate:b,isExpanded:g,prefix:_,registerSection:P,toggleExpanded:A}=Et(zi),w=g?g(a,r):f,S=null!=b?b:n,k=v||`${_||"a"}-content-${a}-${h}`,M=y||`${_||"a"}-header-${a}-${h}`,x=kt(null);x.current=l,St((()=>{if(P)return P(a,r,x)}),[P,a,r]);const E=It((t=>{A?A(a,t):d((n=>{const i=null!=t?t:!n;return I().then((()=>{const t=x.current;t&&t(i)})),i}))}),[a,A]),T=xt((()=>({animate:S,contentId:k,headerId:M,expanded:w,toggleHandler:E,setContentId:p,setHeaderId:m})),[S,k,M,w,E]);return F(e,i({},u),F(ji.Provider,{value:T},o))}function qi(t){let n="class",e="tabIndex",{as:o="div",children:r,id:s,role:l="button",[n]:u="",[e]:c=0}=t,a=Pi(t,["as","children","id","role",n,e].map(Ii));const{contentId:h,expanded:f,headerId:d,setHeaderId:v,toggleHandler:p}=Et(ji);return St((()=>{v&&v(s)}),[v,s]),F(o,i(i({},a),{},{id:d,role:l,class:`${u} section-child-00fce3c header-00fce3c`,tabIndex:c,"aria-controls":h,onClick:()=>p(),"aria-expanded":String(f)}),r)}function Fi(t){let n="class",{as:e="div",children:o,id:r,role:s="region",[n]:l=""}=t,u=Pi(t,["as","children","id","role",n].map(Ii));const c=kt(null),a=kt(!1),{animate:h,contentId:f,expanded:d,headerId:v,setContentId:p}=Et(ji);return wt((()=>(a.current=!0,()=>a.current=!1)),[]),St((()=>{p&&p(r)}),[p,r]),St((()=>{const t=a.current,n=c.current;if(h&&t&&n&&n.animate)return d?function(t){return Ci(t,(()=>{const n=Pn(t,"height"),i=Pn(t,"opacity"),e=Pn(t,"overflowY");An(t,{height:0,opacity:0,overflowY:"auto"});const o=t.scrollHeight;An(t,{height:n,opacity:i,overflowY:e});const r=Ri(o);return t.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:r})}))}(n):function(t){return Ci(t,(()=>{const n=t.offsetHeight,i=Ri(n);return t.animate([{height:n+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(n)}),[d,h]),F(Vn,{renderable:d},F(e,i(i({},u),{},{ref:c,class:l+" section-child-00fce3c"+(d?"":" content-hidden-00fce3c"),id:f,"aria-labelledby":v,role:s}),o))}Di.displayName="Accordion";var Yi=class extends gi{init(){const t=t=>n=>{var i;!function(t,n,i){const e=t.hasAttribute(n),o=void 0!==i?i:!e;o!==e&&(o?t.setAttribute(n,""):t.removeAttribute(n))}(t,"expanded",n),null===(i=t.__AMP_PR)||void 0===i||i.call(t),this.triggerEvent(t,n?"expand":"collapse")},{element:n}=this,i=new MutationObserver((()=>{this.mutateProps(Bi(n,i,t))}));i.observe(n,{attributeFilter:["expanded","id"],subtree:!0,childList:!0});const{"children":e}=Bi(n,i,t);return f({"children":e})}};function Bi(t,n,e){var o;const r=(s=t,l="section",g(l),"> section",(o=s.querySelectorAll(b("> section",":scope")))?Array.prototype.slice.call(o):[]).map((t=>{t.__AMP_PR||(t.__AMP_PR=()=>n.takeRecords());const o=v(t,"__AMP_H_SHIM",Qi),r=v(t,"__AMP_C_SHIM",Xi),s=v(t,"__AMP_EXPAND_STATE_SHIM",e),l=f({"key":t,"expanded":t.hasAttribute("expanded"),"id":t.getAttribute("id"),"onExpandStateChange":s}),u=f({"as":o,"id":t.firstElementChild.getAttribute("id"),"role":t.firstElementChild.getAttribute("role")||void 0}),c=f({"as":r,"id":t.lastElementChild.getAttribute("id"),"role":t.lastElementChild.getAttribute("role")||void 0});return F(Wi,i({},l),F(qi,i({},u)),F(Fi,i({},c)))}));var s,l;return f({"children":r})}function Gi(t,{"aria-controls":n,"aria-expanded":i,id:e,onClick:o,role:r}){const s=t.firstElementChild;return St((()=>{if(s&&o)return s.setAttribute("id",e),s.classList.add("i-amphtml-accordion-header"),s.addEventListener("click",o),s.hasAttribute("tabindex")||s.setAttribute("tabindex",0),s.setAttribute("aria-expanded",i),s.setAttribute("aria-controls",n),s.setAttribute("role",r),t.__AMP_PR&&t.__AMP_PR(),()=>{s.removeEventListener("click",y(o))}}),[t,s,e,r,o,n,i]),F("header",null)}var Qi=t=>Gi.bind(null,t);function Zi(t,{"aria-labelledby":n,id:i,role:e},o){const r=t.lastElementChild,s=kt();return s.current=r,Kn(s),function(t,n){Mt(t,(()=>n),[n])}(o,r),St((()=>{r&&(r.classList.add("i-amphtml-accordion-content"),r.setAttribute("id",i),r.setAttribute("role",e),r.setAttribute("aria-labelledby",n),t.__AMP_PR&&t.__AMP_PR())}),[t,r,i,e,n]),F("div",null)}var Xi=t=>Mi(Zi.bind(null,t));function Ji(){customElements.define("bento-accordion",Yi.CustomElement(Yi))}Yi.Component=Di,Yi.detached=!0,Yi.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}};export{Ji as defineElement}; | ||
function t(t,n,i){return n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t}function n(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 i(i){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?n(Object(o),!0).forEach((function(n){t(i,n,o[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):n(Object(o)).forEach((function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(o,t))}))}return i}var{isArray:e}=Array;function o(t){return e(t)?t:[t]}function r(t,n){return t.indexOf(n)<0&&(t.push(n),!0)}function s(t,n){const i=t.indexOf(n);return-1!=i&&(t.splice(i,1),!0)}function l(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 u(t,n){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(i)return(i=i.call(t)).next.bind(i);if(Array.isArray(t)||(i=function(t,n){if(t){if("string"==typeof t)return l(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){i&&(t=i);var e=0;return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}}}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{hasOwnProperty:c,toString:a}=Object.prototype;function h(t){const n=Object.create(null);return t&&Object.assign(n,t),n}function f(t,n){return Object.keys(t).reduce(((i,e)=>(n.includes(e)||(i[e]=t[e]),i)),{})}function d(t,n,i){let e=t[n];return void 0===e&&(e=i(t,n),t[n]=e),e}function v(t){return 1==(null==t?void 0:t.nodeType)}function p(t,n,i,e,o,r,s,l,u,c,a){return t}function y(t){return(t.ownerDocument||t).defaultView}function m(t,n){return t.replace(/^|,/g,`$&${n} `)}function b(t){p(/^[\w-]+$/.test(t))}function g(t,n){return t.querySelector(m(n,":scope"))}function _(t,n){const i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;return!!i&&i.call(t,n)}function P(t,n){return b(n),g(t,`> [${n}]`)}function A(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:v(t)&&(n=t.tagName),!!n&&n.toLowerCase().startsWith("i-")}(e=n)||e.nodeType===Node.ELEMENT_NODE&&(e.hasAttribute("placeholder")||e.hasAttribute("fallback")||e.hasAttribute("overflow")))&&i.push(n);var e;return i}(t)}var w,S={bubbles:!0,cancelable:!0};function k(t,n,i){return function(t,n){for(const i in n)t.setAttribute(i,n[i]);return t}(t.createElement(n),i)}function M(t,n,i,e){const o=i||{};p(t.ownerDocument);const r=t.ownerDocument.createEvent("Event");r.data=o;const{bubbles:s,cancelable:l}=e||S;r.initEvent(n,s,l),t.dispatchEvent(r)}function x(){return w||(w=Promise.resolve(void 0))}var I,E,T,C,R,O,V,z,j,$,L=class{constructor(){this.promise=new Promise(((t,n)=>{this.resolve=t,this.reject=n}))}},N={},H=[],D=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function U(t,n){for(var i in n)t[i]=n[i];return t}function W(t){var n=t.parentNode;n&&n.removeChild(t)}function q(t,n,i){var e,o,r,s={};for(r in n)"key"==r?e=n[r]:"ref"==r?o=n[r]:s[r]=n[r];if(arguments.length>2&&(s.children=arguments.length>3?I.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===s[r]&&(s[r]=t.defaultProps[r]);return F(t,s,e,o,null)}function F(t,n,i,e,o){var r={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==o?++T:o};return null==o&&null!=E.vnode&&E.vnode(r),r}function Y(t){return t.children}function B(t,n){this.props=t,this.context=n}function G(t,n){if(null==n)return t.__?G(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?G(t):null}function Q(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 Q(t)}}function Z(t){(!t.__d&&(t.__d=!0)&&C.push(t)&&!X.__r++||O!==E.debounceRendering)&&((O=E.debounceRendering)||R)(X)}function X(){for(var t;X.__r=C.length;)t=C.sort((function(t,n){return t.__v.__b-n.__v.__b})),C=[],t.some((function(t){var n,i,e,o,r,s;t.__d&&(r=(o=(n=t).__v).__e,(s=n.__P)&&(i=[],(e=U({},o)).__v=o.__v+1,rt(s,o,e,n.__n,void 0!==s.ownerSVGElement,null!=o.__h?[r]:null,i,null==r?G(o):r,o.__h),st(i,o),o.__e!=r&&Q(o)))}))}function J(t,n,i,e,o,r,s,l,u,c){var a,h,f,d,v,p,y,m=e&&e.__k||H,b=m.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?F(null,d,null,null,d):Array.isArray(d)?F(Y,{children:d},null,null,null):d.__b>0?F(d.type,d.props,d.key,null,d.__v):d)){if(d.__=i,d.__b=i.__b+1,null===(f=m[a])||f&&d.key==f.key&&d.type===f.type)m[a]=void 0;else for(h=0;h<b;h++){if((f=m[h])&&d.key==f.key&&d.type===f.type){m[h]=void 0;break}f=null}rt(t,d,f=f||N,o,r,s,l,u,c),v=d.__e,(h=d.ref)&&f.ref!=h&&(y||(y=[]),f.ref&&y.push(f.ref,null,d),y.push(h,d.__c||v,d)),null!=v?(null==p&&(p=v),"function"==typeof d.type&&d.__k===f.__k?d.__d=u=K(d,u,t):u=tt(t,d,f,m,v,u),"function"==typeof i.type&&(i.__d=u)):u&&f.__e==u&&u.parentNode!=t&&(u=G(f))}for(i.__e=p,a=b;a--;)null!=m[a]&&("function"==typeof i.type&&null!=m[a].__e&&m[a].__e==i.__d&&(i.__d=G(e,a+1)),ut(m[a],m[a]));if(y)for(a=0;a<y.length;a++)lt(y[a],y[++a],y[++a])}function K(t,n,i){for(var e,o=t.__k,r=0;o&&r<o.length;r++)(e=o[r])&&(e.__=t,n="function"==typeof e.type?K(e,n,i):tt(i,e,e,o,e.__e,n));return n}function tt(t,n,i,e,o,r){var s,l,u;if(void 0!==n.__d)s=n.__d,n.__d=void 0;else if(null==i||o!=r||null==o.parentNode)t:if(null==r||r.parentNode!==t)t.appendChild(o),s=null;else{for(l=r,u=0;(l=l.nextSibling)&&u<e.length;u+=2)if(l==o)break t;t.insertBefore(o,r),s=r}return void 0!==s?s:o.nextSibling}function nt(t,n,i){"-"===n[0]?t.setProperty(n,i):t[n]=null==i?"":"number"!=typeof i||D.test(n)?i:i+"px"}function it(t,n,i,e,o){var r;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||nt(t.style,n,"");if(i)for(n in i)e&&i[n]===e[n]||nt(t.style,n,i[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in t?n.toLowerCase().slice(2):n.slice(2),t.l||(t.l={}),t.l[n+r]=i,i?e||t.addEventListener(n,r?ot:et,r):t.removeEventListener(n,r?ot:et,r);else if("dangerouslySetInnerHTML"!==n){if(o)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 et(t){this.l[t.type+!1](E.event?E.event(t):t)}function ot(t){this.l[t.type+!0](E.event?E.event(t):t)}function rt(t,n,i,e,o,r,s,l,u){var c,a,h,f,d,v,p,y,m,b,g,_=n.type;if(void 0!==n.constructor)return null;null!=i.__h&&(u=i.__h,l=n.__e=i.__e,n.__h=null,r=[l]),(c=E.__b)&&c(n);try{t:if("function"==typeof _){if(y=n.props,m=(c=_.contextType)&&e[c.__c],b=c?m?m.props.value:c.__:e,i.__c?p=(a=n.__c=i.__c).__=a.__E:("prototype"in _&&_.prototype.render?n.__c=a=new _(y,b):(n.__c=a=new B(y,b),a.constructor=_,a.render=ct),m&&m.sub(a),a.props=y,a.state||(a.state={}),a.context=b,a.__n=e,h=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=_.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=U({},a.__s)),U(a.__s,_.getDerivedStateFromProps(y,a.__s))),f=a.props,d=a.state,h)null==_.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==_.getDerivedStateFromProps&&y!==f&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(y,b),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(y,a.__s,b)||n.__v===i.__v){a.props=y,a.state=a.__s,n.__v!==i.__v&&(a.__d=!1),a.__v=n,n.__e=i.__e,n.__k=i.__k,n.__k.forEach((function(t){t&&(t.__=n)})),a.__h.length&&s.push(a);break t}null!=a.componentWillUpdate&&a.componentWillUpdate(y,a.__s,b),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(f,d,v)}))}a.context=b,a.props=y,a.state=a.__s,(c=E.__r)&&c(n),a.__d=!1,a.__v=n,a.__P=t,c=a.render(a.props,a.state,a.context),a.state=a.__s,null!=a.getChildContext&&(e=U(U({},e),a.getChildContext())),h||null==a.getSnapshotBeforeUpdate||(v=a.getSnapshotBeforeUpdate(f,d)),g=null!=c&&c.type===Y&&null==c.key?c.props.children:c,J(t,Array.isArray(g)?g:[g],n,i,e,o,r,s,l,u),a.base=n.__e,n.__h=null,a.__h.length&&s.push(a),p&&(a.__E=a.__=null),a.__e=!1}else null==r&&n.__v===i.__v?(n.__k=i.__k,n.__e=i.__e):n.__e=function(t,n,i,e,o,r,s,l){var u,c,a,h=i.props,f=n.props,d=n.type,v=0;if("svg"===d&&(o=!0),null!=r)for(;v<r.length;v++)if((u=r[v])&&(u===t||(d?u.localName==d:3==u.nodeType))){t=u,r[v]=null;break}if(null==t){if(null===d)return document.createTextNode(f);t=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,f.is&&f),r=null,l=!1}if(null===d)h===f||l&&t.data===f||(t.data=f);else{if(r=r&&I.call(t.childNodes),c=(h=i.props||N).dangerouslySetInnerHTML,a=f.dangerouslySetInnerHTML,!l){if(null!=r)for(h={},v=0;v<t.attributes.length;v++)h[t.attributes[v].name]=t.attributes[v].value;(a||c)&&(a&&(c&&a.__html==c.__html||a.__html===t.innerHTML)||(t.innerHTML=a&&a.__html||""))}if(function(t,n,i,e,o){var r;for(r in i)"children"===r||"key"===r||r in n||it(t,r,null,i[r],e);for(r in n)o&&"function"!=typeof n[r]||"children"===r||"key"===r||"value"===r||"checked"===r||i[r]===n[r]||it(t,r,n[r],i[r],e)}(t,f,h,o,l),a)n.__k=[];else if(v=n.props.children,J(t,Array.isArray(v)?v:[v],n,i,e,o&&"foreignObject"!==d,r,s,r?r[0]:i.__k&&G(i,0),l),null!=r)for(v=r.length;v--;)null!=r[v]&&W(r[v]);l||("value"in f&&void 0!==(v=f.value)&&(v!==t.value||"progress"===d&&!v)&&it(t,"value",v,h.value,!1),"checked"in f&&void 0!==(v=f.checked)&&v!==t.checked&&it(t,"checked",v,h.checked,!1))}return t}(i.__e,n,i,e,o,r,s,u);(c=E.diffed)&&c(n)}catch(t){n.__v=null,(u||null!=r)&&(n.__e=l,n.__h=!!u,r[r.indexOf(l)]=null),E.__e(t,n,i)}}function st(t,n){E.__c&&E.__c(n,t),t.some((function(n){try{t=n.__h,n.__h=[],t.some((function(t){t.call(n)}))}catch(t){E.__e(t,n.__v)}}))}function lt(t,n,i){try{"function"==typeof t?t(n):t.current=n}catch(t){E.__e(t,i)}}function ut(t,n,i){var e,o;if(E.unmount&&E.unmount(t),(e=t.ref)&&(e.current&&e.current!==t.__e||lt(e,null,n)),null!=(e=t.__c)){if(e.componentWillUnmount)try{e.componentWillUnmount()}catch(t){E.__e(t,n)}e.base=e.__P=null}if(e=t.__k)for(o=0;o<e.length;o++)e[o]&&ut(e[o],n,"function"!=typeof t.type);i||null==t.__e||W(t.__e),t.__e=t.__d=void 0}function ct(t,n,i){return this.constructor(t,i)}function at(t,n,i){var e,o,r;E.__&&E.__(t,n),o=(e="function"==typeof i)?null:i&&i.__k||n.__k,r=[],rt(n,t=(!e&&i||n).__k=q(Y,null,[t]),o||N,N,void 0!==n.ownerSVGElement,!e&&i?[i]:o?null:n.firstChild?I.call(n.childNodes):null,r,!e&&i?i:o?o.__e:n.firstChild,e),st(r,t)}function ht(t,n){at(t,n,ht)}function ft(t,n){var i={__c:n="__cC"+V++,__: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(Z)},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}};return i.Provider.__=i.Consumer.contextType=i}I=H.slice,E={__e:function(t,n){for(var i,e,o;n=n.__;)if((i=n.__c)&&!i.__)try{if((e=i.constructor)&&null!=e.getDerivedStateFromError&&(i.setState(e.getDerivedStateFromError(t)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(t),o=i.__d),o)return i.__E=i}catch(n){t=n}throw t}},T=0,B.prototype.setState=function(t,n){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=U({},this.state),"function"==typeof t&&(t=t(U({},i),this.props)),t&&U(i,t),null!=t&&this.__v&&(n&&this.__h.push(n),Z(this))},B.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Z(this))},B.prototype.render=Y,C=[],R="function"==typeof Promise?Promise.prototype.then.bind(x()):setTimeout,X.__r=0,V=0;var dt=0,vt=[],pt=E.__b,yt=E.__r,mt=E.diffed,bt=E.__c,gt=E.unmount;function _t(t,n){E.__h&&E.__h(j,t,dt||n),dt=0;var i=j.__H||(j.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function Pt(t){return dt=1,function(t,n,i){var e=_t(z++,2);return e.t=t,e.__c||(e.__=[Vt(void 0,n),function(t){var n=e.t(e.__[0],t);e.__[0]!==n&&(e.__=[n,e.__[1]],e.__c.setState({}))}],e.__c=j),e.__}(Vt,t)}function At(t,n){var i=_t(z++,3);!E.__s&&Ot(i.__H,n)&&(i.__=t,i.__H=n,j.__H.__h.push(i))}function wt(t,n){var i=_t(z++,4);!E.__s&&Ot(i.__H,n)&&(i.__=t,i.__H=n,j.__h.push(i))}function St(t){return dt=5,Mt((function(){return{current:t}}),[])}function kt(t,n,i){dt=6,wt((function(){"function"==typeof t?t(n()):t&&(t.current=n())}),null==i?i:i.concat(t))}function Mt(t,n){var i=_t(z++,7);return Ot(i.__H,n)&&(i.__=t(),i.__H=n,i.__h=t),i.__}function xt(t,n){return dt=8,Mt((function(){return t}),n)}function It(t){var n=j.context[t.__c],i=_t(z++,9);return i.c=t,n?(null==i.__&&(i.__=!0,n.sub(j)),n.props.value):t.__}function Et(){vt.forEach((function(t){if(t.__P)try{t.__H.__h.forEach(Ct),t.__H.__h.forEach(Rt),t.__H.__h=[]}catch(n){t.__H.__h=[],E.__e(n,t.__v)}})),vt=[]}E.__b=function(t){j=null,pt&&pt(t)},E.__r=function(t){yt&&yt(t),z=0;var n=(j=t.__c).__H;n&&(n.__h.forEach(Ct),n.__h.forEach(Rt),n.__h=[])},E.diffed=function(t){mt&&mt(t);var n=t.__c;n&&n.__H&&n.__H.__h.length&&(1!==vt.push(n)&&$===E.requestAnimationFrame||(($=E.requestAnimationFrame)||function(t){var n,i=function(){clearTimeout(e),Tt&&cancelAnimationFrame(n),setTimeout(t)},e=setTimeout(i,100);Tt&&(n=requestAnimationFrame(i))})(Et)),j=null},E.__c=function(t,n){n.some((function(t){try{t.__h.forEach(Ct),t.__h=t.__h.filter((function(t){return!t.__||Rt(t)}))}catch(i){n.some((function(t){t.__h&&(t.__h=[])})),n=[],E.__e(i,t.__v)}})),bt&&bt(t,n)},E.unmount=function(t){gt&>(t);var n=t.__c;if(n&&n.__H)try{n.__H.__.forEach(Ct)}catch(t){E.__e(t,n.__v)}};var Tt="function"==typeof requestAnimationFrame;function Ct(t){var n=j;"function"==typeof t.__c&&t.__c(),j=n}function Rt(t){var n=j;t.__c=t.__(),j=n}function Ot(t,n){return!t||t.length!==n.length||n.some((function(n,i){return n!==t[i]}))}function Vt(t,n){return"function"==typeof n?n(t):n}var zt=["auto","lazy","eager","unload"],jt={auto:0,lazy:1,eager:2,unload:3};function $t(t,n){const i=jt[t]||0,e=jt[n]||0,o=Math.max(i,e);return zt[o]}function Lt(t,n){let i=!1;const e=()=>{i=!1,t()};return t=>{i||(i=!0,(t||n)(e))}}function Nt(t){const n=Object.getOwnPropertyDescriptor(t,"message");if(null!=n&&n.writable)return t;const{message:i,stack:e}=t,o=new Error(i);for(const n in t)o[n]=t[n];return o.stack=e,o}function Ht(t){let n=null,i="";for(var e,o=u(arguments,!0);!(e=o()).done;){const t=e.value;t instanceof Error&&!n?n=Nt(t):(i&&(i+=" "),i+=t)}return n?i&&(n.message=i+": "+n.message):n=new Error(i),n}function Dt(t){var n,i;null===(n=(i=self).__AMP_REPORT_ERROR)||void 0===n||n.call(i,t)}function Ut(t){const n=Ht.apply(null,arguments);setTimeout((()=>{throw Dt(n),n}))}function Wt(t,...n){try{return t.apply(null,n)}catch(t){Ut(t)}}function qt(t,n,i,e=!0,o=!0){if(o){const o=n(t,i,e);o&&qt(t,n,i,o,!1)}else if(t.children)for(var r,s=u(t.children,!0);!(r=s()).done;)qt(r.value,n,i,e,!0)}var Ft=[],Yt=()=>{};function Bt(t,n){return t.values.scan(n)}function Gt(t,n,i){return t.values.scanAll(i)}function Qt(t,n){return t.values.has(n)}function Zt(t){return!!t.recursive}function Xt(t){return void 0!==t}var Jt=class{static get(t){let n=t.__AMP_NODE;return n||(n=new Jt(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||v(i)&&i.tagName.startsWith("AMP-"))return Jt.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,Kt(t))}static unassignSlot(t,n){t.__AMP_ASSIGNED_SLOT==n&&(t.__AMP_ASSIGNED_SLOT=void 0,Kt(t))}static rediscoverChildren(t){var n;const i=t.__AMP_NODE;null==i||null===(n=i.children)||void 0===n||n.forEach(tn)}constructor(t,n){this.node=t,this.name=n,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.Ze=t,this.v=null,this.m=null,this.el=Lt(this.el.bind(this),setTimeout)}set(t,n,i){p(n),p(void 0!==i);const{key:e}=t,o=this.v||(this.v=new Map);let r=o.get(e);r||(r={values:[],setters:[]},o.set(e,r));const s=r.setters.indexOf(n),l=-1==s||r.values[s]!==i;-1==s?(r.setters.push(n),r.values.push(i)):l&&(r.values[s]=i),l&&(this.ping(t,!1),Zt(t)&&qt(this.Ze,Bt,t,!0,!1))}remove(t,n){p(n);const{key:i}=t,e=this.v,o=null==e?void 0:e.get(i);if(o){p(e);const r=o.setters.indexOf(n);-1!=r&&(o.setters.splice(r,1),o.values.splice(r,1),0==o.setters.length&&e.delete(i),qt(this.Ze,Bt,t))}}has(t){var n;return!(null===(n=this.v)||void 0===n||!n.has(t.key))}subscribe(t,n){const i=this.Sa(t);if(!r(i.subscribers,n))return;const e=i.value;Xt(e)&&this.hi()&&n(e)}unsubscribe(t,n){var i;const e=null===(i=this.m)||void 0===i?void 0:i.get(t.key);e&&s(e.subscribers,n)&&this.ka(e)}ping(t,n){var i,e;null===(i=this.m)||void 0===i||null===(e=i.get(t.key))||void 0===e||e.ping(n)}parentUpdated(){this.hi()&&qt(this.Ze,Gt,void 0,Ft)}rootUpdated(){const t=this.m;t&&(this.hi()?t.forEach((t=>{const{prop:n}=t;this.ping(n,!0)})):t.forEach((t=>{const{prop:n}=t;Zt(n)&&this.Ia(t,null)})))}scan(t){return this.ping(t,!0),!!Zt(t)&&!this.has(t)}scanAll(t){let n=null;const i=this.m;return i&&i.forEach((i=>{const{prop:e}=i,{key:o}=e;-1==(n||t).indexOf(o)&&(this.ping(e,!0),this.Ze.children&&this.has(e)&&(n||(n=t.slice(0)),n.push(o)))})),n||t}hi(){return!!this.Ze.root}Sa(t){const{deps:n,key:i}=t,e=this.m||(this.m=new Map);let o=e.get(i);return o||(o={prop:t,subscribers:[],value:void 0,pending:0,counter:0,depValues:n.length>0?n.map(Yt):Ft,parentValue:void 0,parentContextNode:null,ping:t=>{if(this.hi()){const n=t?2:1;o.pending=Math.max(o.pending,n),this.el()}},pingDep:n.length>0?n.map(((t,n)=>t=>{o.depValues[n]=t,o.ping()})):Ft,pingParent:Zt(t)?t=>{o.parentValue=t,o.ping()}:null},e.set(i,o),n.forEach(((t,n)=>this.subscribe(t,o.pingDep[n]))),o.ping(!1)),o}ka(t){var n;if(t.subscribers.length>0)return;const{pingDep:i,prop:e}=t,{deps:o,key:r}=e;null===(n=this.m)||void 0===n||n.delete(r),this.Ia(t,null),o.length>0&&o.forEach(((t,n)=>{this.unsubscribe(t,i[n])}))}el(){if(!this.hi())return;const t=this.m;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 Ut(`cyclical prop: ${i}`),void(t.pending=0);n++,this.Ca(t)}}))}while(n>0)}Ca(t){const n=2==t.pending;let i;try{i=this.Ra(t,n)}catch(t){Ut(t)}t.pending=0,this.Oa(t,i)}Oa(t,n){const{prop:i,value:e}=t,{key:o}=i,r=this.m;if(e===n||t!==(null==r?void 0:r.get(o))||!this.hi())return;t.value=n;const{subscribers:s}=t;for(var l,c=u(s,!0);!(l=c()).done;)(0,l.value)(n)}Ra(t,n){var i,e;p(this.hi());const{depValues:o,prop:r}=t,{compute:s,defaultValue:l,key:u}=r,c=null===(i=this.v)||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}(r,c);if(n||a!=Boolean(t.parentContextNode)){const n=a?function(t,n,i,e=!0){for(let o=e?t:t.parent;o;o=o.parent)if(n(o,i))return o;return null}(this.Ze,Qt,r,!1):null;this.Ia(t,n)}const h=Xt(t.parentValue)?t.parentValue:a&&!t.parentContextNode?l:void 0;let f;if(o.every(Xt)&&(!a||Xt(h))){const{node:t}=this.Ze;c&&!s?f=c[0]:Zt(r)?c||o.length>0?f=function(t,n,i,e,o){switch(o.length){case 0:return t(n,i,e);case 1:return t(n,i,e,o[0]);case 2:return t(n,i,e,o[0],o[1]);case 3:return t(n,i,e,o[0],o[1],o[2]);default:return t.apply(null,[n,i,e].concat(o))}}(s,t,c||Ft,h,o):Xt(h)&&(f=h):s&&(f=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))}}(s,t,c||Ft,o))}return f}Ia(t,n){const{parentContextNode:i,pingParent:e,prop:o}=t;n!=i&&(t.parentContextNode=n,t.parentValue=void 0,p(e),i&&i.values.unsubscribe(o,e),n&&(p(e),n.values.subscribe(o,e)))}}(this),this.Va=null,this.za=!1,this.ja=Lt(this.$a.bind(this),setTimeout),11==t.nodeType&&t.addEventListener("slotchange",(t=>{var n,i;const e=t.target;e.assignedNodes().forEach(Kt),null===(n=Jt.closest(e))||void 0===n||null===(i=n.children)||void 0===i||i.forEach(tn)})),this.discover()}discover(){this.isDiscoverable()?this.ja():this.name&&this.children&&this.children.forEach(tn)}isDiscoverable(){return!this.isRoot&&!this.za}setParent(t){const n=null!=t&&t.nodeType?Jt.get(t):t;this.La(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){p(!t||t.isRoot);const n=this.root;var i,e;t!=n&&(this.root=t,this.values.rootUpdated(),null===(i=this.Va)||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:o,node:r}=this,s=new Jt(r,t);return e.set(t,{cn:s,match:n,weight:i}),s.setParent(this),null==o||o.forEach(tn),s}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:o,weight:r})=>{o(t,this.node)&&r>e&&(i=n,e=r)})),i}subscribe(t,n,i,e){const o=this.Va||(this.Va=new Map);let r=o.get(t);r||(r=new n(this,i,e),o.set(t,r))}unsubscribe(t){const n=this.Va,i=null==n?void 0:n.get(t);i&&(i.dispose(),p(n),n.delete(t))}$a(){if(!this.isDiscoverable())return;const t=Jt.closest(this.node,!1),n=(null==t?void 0:t.findGroup(this.node))||t;this.La(n,!1)}La(t,n){var i;this.za=n;const e=this.parent;if(t!=e){if(this.parent=t,null!=e&&e.children&&(p(e.children),s(e.children,this)),t){const n=t.children||(t.children=[]);r(n,this);for(var o,l=u(n,!0);!(o=l()).done;){const t=o.value;t!=this&&t.isDiscoverable()&&t.discover()}}this.values.parentUpdated()}this.updateRoot(null!==(i=null==t?void 0:t.root)&&void 0!==i?i:null)}};function Kt(t){!function(t,n,i=!0){const e=Jt.closest(t,i);if(e)if(e.node==t)n(e);else if(e.children)for(var o,r=u(e.children,!0);!(o=r()).done;){const i=o.value;t.contains(i.node)&&n(i)}}(t,tn)}function tn(t){t.discover()}var nn=[];function en(t,n){const e=i({key:t,deps:nn,recursive:!1},n);return p(0==e.deps.length||e.compute),e}var on=[],rn=()=>{};function sn(t,n,i){n=o(n);const e=i;Jt.get(t).subscribe(e,un,i,n)}var ln,un=class{constructor(t,n,i){if(this.contextNode=t,this.Na=n,this.Ha=i,this.Da=i.length>0?i.map(rn):on,this.Ua=i.length>0?i.map(((t,n)=>t=>{this.Da[n]=t,this.Wa()})):on,this._s=!1,this.qa=null,this.Wa=Lt(this.Wa.bind(this),setTimeout),i.length>0){const{values:t}=this.contextNode;i.forEach(((n,i)=>t.subscribe(n,this.Ua[i])))}this.hi()&&this.Wa()}dispose(){if(this.Ha.length>0){const{values:t}=this.contextNode;this.Ha.forEach(((n,i)=>t.unsubscribe(n,this.Ua[i])))}this.de()}rootUpdated(){const t=this.hi();this.de(),t&&this.Wa()}hi(){return!!this.contextNode.root}Wa(){this.hi()&&(this.Da.every(cn)?(this._s=!0,this.Fa()):this._s&&(this._s=!1,this.de()))}Fa(){this.de();const t=this.Na;this.qa=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.Da)}de(){this.qa&&(Wt(this.qa),this.qa=null)}};function cn(t){return void 0!==t}function an(t){Jt.get(t).discover()}function hn(t,n,i,e){Jt.get(t).values.set(n,i,e)}function fn(t,n,i){Jt.get(t).values.remove(n,i)}function dn(t,n){return[{query:t.matchMedia(n),value:"1"},{query:null,value:""}]}function vn(t,n){return n.split(",").map((n=>{if(0==(n=n.replace(/\s+/g," ").trim()).length)return;let i,e,o;if(")"==n.charAt(n.length-1)){let t=1;for(o=n.length-2;o>=0;o--){const i=n.charAt(o);if("("==i?t--:")"==i&&t++,0==t)break}const i=o-1;if(o>0)for(o--;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"-"==t||"_"==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}if(o>=i)return null}else for(o=n.length-2;o>=0;o--){const t=n.charAt(o);if(!("%"==t||"."==t||t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"))break}return o>=0?(i=n.substring(0,o+1).trim(),e=n.substring(o+1).trim()):(e=n,i=void 0),e?{query:i?t.matchMedia(i):null,value:e}:null})).filter(Boolean)}function pn(t,n,i){for(let e=0;e<t.length;e++){const{query:o}=t[e];o&&(void 0!==o.onchange?o.onchange=i?n:null:i?o.addListener(n):o.removeListener(n))}}var yn=["Webkit","webkit","Moz","moz","ms","O","o"],mn={"getPropertyPriority":()=>"","getPropertyValue":()=>""};function bn(t,n,i){if(An(n))return n;ln||(ln=h());let e=ln[n];if(!e||i){if(e=n,void 0===t[n]){const i=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n),o=function(t,n){for(let i=0;i<yn.length;i++){const e=yn[i]+n;if(void 0!==t[e])return e}return""}(t,i);void 0!==t[o]&&(e=o)}i||(ln[n]=e)}return e}function gn(t,n,i,e,o){const r=bn(t.style,n,o);if(!r)return;const s=e?i+e:i;An(r)?t.style.setProperty(r,s):t.style[r]=s}function _n(t,n,i){const e=bn(t.style,n,i);if(e)return An(e)?t.style.getPropertyValue(e):t.style[e]}function Pn(t,n){for(const i in n)gn(t,i,n[i])}function An(t){return t.startsWith("--")}var wn,Sn,kn=/vertical/,Mn=new WeakMap,xn=new WeakMap,In=new WeakMap;function En(t){let n=Mn.get(t);return n||(n=new t.ResizeObserver(Tn),Mn.set(t,n)),n}function Tn(t){const n=new Set;for(let i=t.length-1;i>=0;i--){const e=t[i],{target:o}=e;if(n.has(o))continue;n.add(o);const r=xn.get(o);if(r){In.set(o,e);for(let t=0;t<r.length;t++){const{callback:n,type:i}=r[t];Cn(i,n,e)}}}}function Cn(t,n,i){if(0==t){const{contentRect:t}=i,{height:e,width:o}=t;Wt(n,{width:o,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=y(t),o=kn.test(function(t,n){return t.getComputedStyle(n)||mn}(n,t).writingMode),{offsetHeight:r,offsetWidth:s}=t;let l,u;o?(u=s,l=r):(l=s,u=r),e={inlineSize:l,blockSize:u}}Wt(n,e)}}if("undefined"!=typeof AMP&&.BaseElement)wn=AMP.BaseElement;else{let t;class n{constructor(t){this.element=t,this.win=y(t)}static"CustomElement"(n){return t||(t=HTMLElement),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){x().then(t)}isLayoutSupported(){return!0}mountCallback(){}unmountCallback(){}buildCallback(){}}wn=n}function Rn(){return Sn||(Sn=ft({renderable:!0,playable:!0,loading:"auto"}))}function On({children:t,loading:n="auto",notify:i,playable:e=!0,renderable:o=!0}){const r=Vn(),s=o&&r.renderable,l=s&&e&&r.playable,u=$t(s?"auto":"lazy",$t(n,r.loading)),c=i||r.notify,a=Mt((()=>({renderable:s,playable:l,loading:u,notify:c})),[s,l,u,c]);return q(Rn().Provider,{children:t,value:a})}function Vn(){return It(Rn())}var zn=en("CanRender",{defaultValue:!0,recursive:t=>t.reduce(Ln),compute:(t,n,i)=>i&&n.reduce(Ln,!0)||!1}),jn=en("CanPlay",{defaultValue:!0,recursive:t=>t.reduce(Ln),deps:[zn],compute:(t,n,i,e)=>e&&i&&n.reduce(Ln,!0)||!1}),$n=en("Loading",{defaultValue:"auto",recursive:!0,deps:[zn],compute:(t,n,i,e)=>$t(e?"auto":"lazy",$t(i||"auto",n.reduce($t,"auto")))}),Ln=(t,n)=>t&&n;function Nn(){let t=0;return()=>String(++t)}var Hn=t=>t.ensureLoaded(),Dn=t=>t.pause(),Un=t=>t.unmount();function Wn(t,n=!0){Yn(t,n,!1,Hn)}function qn(t,n=!0){Yn(t,n,!0,Dn)}function Fn(t,n=!0){Yn(t,n,!0,Un)}function Yn(t,n,i,e){const r=o(t);for(let t=0;t<r.length;t++)Bn(r[t],n,i,e)}function Bn(t,n,i,e){if(n&&t.classList.contains("i-amphtml-element")){const n=t;if(Wt(e,n),!i){const t=n.getPlaceholder();return void(t&&Bn(t,!0,!1,e))}}const o=t.getElementsByClassName("i-amphtml-element");let r=null;for(let t=0;t<o.length;t++){const n=o[t];if(i)Wt(e,n);else{r=r||[];let t=!1;for(let i=0;i<r.length;i++)if(r[i].contains(n)){t=!0;break}t||(r.push(n),Wt(e,n))}}}var Gn={},Qn=new WeakMap;function Zn(t,n,e,o=!1){if(t.setAttribute("slot",n),!o)return q(Xn,i(i({},e||Gn),{},{name:n}));const r=Qn.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,e))return r.component;function s(t){return q(Xn,i(i({},e||Gn),{},{name:n},t))}return Qn.set(t,{oldProps:e,component:s}),s}function Xn(t){const n=St(null);return Jn(n,t),At((()=>{t.postRender&&t.postRender()})),q("slot",i(i({},t),{},{ref:n}))}function Jn(t,n){const i=null==n?void 0:n.loading,e=Vn();wt((()=>{const n=t.current;return p(v(n)),hn(n,zn,Xn,e.renderable),hn(n,jn,Xn,e.playable),hn(n,$n,Xn,e.loading),e.playable||Kn(n,qn,!0),()=>{var t;fn(n,zn,Xn),fn(n,jn,Xn),fn(n,$n,Xn),t=n,Jt.rediscoverChildren(t)}}),[t,e]),wt((()=>{const n=t.current;return p(v(n)),"lazy"!=i&&Kn(n,Wn,!0),()=>{Kn(n,Fn,!1)}}),[t,i])}function Kn(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 o=t.ownerDocument.defaultView;o&&(o.requestIdleCallback||o.setTimeout)((()=>n(e)))}var ti={"position":"absolute","top":"0","left":"0","width":"100%","height":"100%"},ni=Nn();function ii(t,n){return Object.values(t).some(n)}var ei=t=>"string"==typeof t||!!t.selector,oi=t=>{var n;return 3===t.nodeType&&0===(null===(n=t.nodeValue)||void 0===n?void 0:n.trim().length)};function ri(t,n,e,o,r){const{"layoutSizeDefined":s,"lightDomTag":l,"props":u}=t;r&&r.start();const c=i(i({},o),{},{ref:e});return l&&(c["i-amphtml-rendered"]=!0,c.__AMP_RENDERED=!0,c.as=l),s&&(t.usesShadowDom?c.style=ti:c.class="i-amphtml-fill-content"),si(t,c,u,n,r),r&&r.complete(),c}function si(t,n,i,e,o){if(ii(i,ei)){const r=A(e);for(let e=0;e<r.length;e++){const s=r[e],l=ui(s,i);if(!l)continue;const u=i[l],{as:c=!1,single:a,name:h=l,clone:f,props:d={}}=u;p(f||t.usesShadowDom);const v={};if(si(t,v,d,s,o),a)n[h]=Zn(s,s.getAttribute("slot")||`i-amphtml-${h}`,v,c);else{const t=n[h]||(n[h]=[]);p(!c),t.push(f?li(s):Zn(s,s.getAttribute("slot")||`i-amphtml-${h}-${ni()}`,v))}}}for(const s in i){const l=i[s];let u;if(p([l.attr,l.attrs,l.attrMatches,l.selector,l.passthrough,l.passthroughNonEmpty].filter(Boolean).length<=1),l.passthrough?(p(t.usesShadowDom),u=[q(Xn,{loading:"lazy"})]):l.passthroughNonEmpty?(p(t.usesShadowDom),u=A(e).every(oi)?null:[q(Xn,{loading:"lazy"})]):l.attr?(u=e.getAttribute(l.attr),l.media&&null!=u&&(p(o),u=o.resolveListQuery(String(u)))):l.parseAttrs&&(p(l.attrs||l.attrMatches),u=l.parseAttrs(e)),null==u)null!=l.default&&(n[s]=l.default);else{const t="number"==l.type?parseFloat(u):"boolean"==l.type?null==(r=u)?void 0:"false"!==r:u;n[s]=t}}var r}function li(t){const n={"key":t},{attributes:i,localName:e}=t,{length:o}=i;for(let t=0;t<o;t++){const{name:e,value:o}=i[t];n[e]=o}return q(e,n)}function ui(t,n){for(const i in n){const e=n[i],o="string"==typeof e?e:e.selector;if(o&&_(t,o))return i}return null}var ci={childList:!0},ai={childList:!0,characterData:!0},hi={childList:!0},fi={"style":"display: contents; background: inherit;","part":"c"},di={"name":"i-amphtml-svc"},vi={"i-amphtml-rendered":""},pi=()=>!0,yi=t=>!!t.media,mi=t=>!(!t.passthrough&&!t.passthroughNonEmpty),bi=class extends wn{static R1(){return!0}static requiresShadowDom(){return this.usesShadowDom}static usesLoading(){return this.loadable}static prerenderAllowed(){return!this.usesLoading()}static Component(){p(!1)}constructor(t){super(t),this.Ya={"loading":"auto","onReadyState":(t,n)=>{this.Ba(t,n)},"onPlayingState":t=>{this.Ga(t)},"onLoading":()=>{this.handleOnLoading()},"onLoad":()=>{this.handleOnLoad()},"onError":()=>{this.handleOnError()}},this.Qa={renderable:!1,playable:!0,loading:"auto",notify:()=>this.mutateElement((()=>{}))},this.Za=!1,this.Xa=null,this.Ja=null,this.Ka=t=>{null!==t&&(this.Xa?this.tf(t):this.nf(t)),this.Ja=t,this.if()},this.ef=null,this.rf=null,this.sf=null,this.lf=!1,this.uf=null,this.cf=()=>{this.lf=!1,this.af()},this.hf=!1,this.ui=!1,this.observer=null,this.ff=new class{constructor(t){this.df=t,this.vf=!1,this.pf=!1,this.yf=this.yf.bind(this)}updatePlaying(t){t!==this.vf&&(this.vf=t,t?(this.pf=!1,function(t,n){!function(t,n,i){const e=t.ownerDocument.defaultView;if(!e)return;let o=xn.get(t);if(o||(o=[],xn.set(t,o),En(e).observe(t)),!o.some((t=>t.callback===i&&1===t.type))){o.push({type:1,callback:i});const n=In.get(t);n&&setTimeout((()=>Cn(1,i,n)))}}(t,0,n)}(this.df,this.yf)):function(t,n){!function(t,n,i){const e=xn.get(t);if(e&&(function(t,n){const e=[];let o=0;for(let n=0;n<t.length;n++){const s=t[n];(r=s).callback===i&&1===r.type?e.push(s):(o<n&&(t[o]=s),o++)}var r;o<t.length&&(t.length=o)}(e),0==e.length)){xn.delete(t),In.delete(t);const n=t.ownerDocument.defaultView;n&&En(n).unobserve(t)}}(t,0,n)}(this.df,this.yf))}yf({blockSize:t,inlineSize:n}){const i=n>0&&t>0;if(i===this.pf)return;this.pf=i;const e=this.df;i||e.pause()}}(t),this.Ti=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.mf(t)));const{props:n}=t,e=ii(n,ei)?ci:null,o=ii(n,mi)?ai:null,r=t.usesTemplate?hi:null;this.observer.observe(this.element,i(i(i({attributes:!0},e),o),r)),this.Ti=ii(n,yi)?new class{constructor(t,n){this.Wt=t,this.o=n,this.Li={},this.Ui=null}start(){this.Ui=this.Li,this.Li={}}resolveMatchQuery(t){return"1"===this.$i(t,dn,"1")}resolveListQuery(t){return this.$i(t,vn,"")}complete(){for(const t in this.Ui)t in this.Li||pn(this.Ui[t],this.o,!1);this.Ui=null}dispose(){for(const t in this.Li)pn(this.Li[t],this.o,!1);this.Li={}}$i(t,n,i){if(!t.trim())return i;let e=this.Li[t];return e||(p(this.Ui),e=this.Ui[t]),e||(e=n(this.Wt,t),pn(e,this.o,!0)),this.Li[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.bf())):null;const{staticProps:s}=t,l=this.init();Object.assign(this.Ya,s,l),this.checkPropsPostMutations(),sn(this.element,[],(()=>()=>{this.ui=!1,this.sf&&at(null,this.sf)})),sn(this.element,[zn,jn,$n],((t,n,i)=>{this.Qa.renderable=t,this.Qa.playable=n,this.Qa.loading=i,this.ui=!0,this.bf()}));const{useContexts:u}=t;var c;return 0!=u.length&&sn(this.element,u,((...t)=>{this.rf=t,this.bf()})),this.uf=new L,this.bf(),t.loadable&&(null===(c=this.setReadyState)||void 0===c||c.call(this,"loading")),this.if(),this.uf.promise}ensureLoaded(){this.constructor.loadable&&(this.mutateProps({"loading":"eager"}),this.Za=!0)}mountCallback(){an(this.element),this.constructor.loadable&&"auto"!=this.getProp("loading")&&(this.mutateProps({"loading":"auto"}),this.Za=!1)}unmountCallback(){var t;an(this.element),this.constructor.loadable&&this.mutateProps({"loading":"unload"}),this.Ga(!1),null===(t=this.Ti)||void 0===t||t.dispose()}mutatedAttributesCallback(){this.sf&&this.bf()}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.Ya,t),this.bf()}api(){const t=this.Ja;return p(t),t}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}mf(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{props:i}=t;for(const t in i){var e,o;const r=i[t],s=n.attributeName;if(p(s),s==r.attr||null!==(e=r.attrs)&&void 0!==e&&e.includes(s)||null!==(o=r.attrMatches)&&void 0!==o&&o.call(r,s))return!0}return!1}return"childList"==i&&(gi(n.addedNodes)||gi(n.removedNodes))}(n,t)));i&&(this.checkPropsPostMutations(),this.bf())}bf(){this.lf||(this.lf=!0,this.mutateElement(this.cf))}if(){const{Ja:t}=this,n=null==t?void 0:t.readyState;n&&n!==this.element.readyState&&this.Ba(n)}Ba(t,n){var i;null===(i=this.setReadyState)||void 0===i||i.call(this,t,n),this.constructor.unloadOnPause&&this.Ga("complete"==t),this.Za&&(this.Za=!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,o;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===(o=this.togglePlaceholder)||void 0===o||o.call(this,!0)}af(){if(!this.ui)return;const t=this.constructor,{detached:n,usesShadowDom:e}=t,o=e?null:t.lightDomTag;if(!this.sf){const i=this.win.document;if(e){p(!n);let{shadowRoot:e}=this.element,o=e&&(v=e,b("c"),g(v,"> c"));if(o)this.hf=!0;else{var r,s,l,u,c,a;e=this.element.attachShadow({mode:"open",delegatesFocus:t.delegatesFocus});const{shadowCss:n}=t;n&&function(t,n,i){const e=t.ownerDocument,o=e.defaultView;if(void 0!==t.adoptedStyleSheets&&void 0!==o.CSSStyleSheet.prototype.replaceSync){const e=o.__AMP_SHADOW_CSS||(o.__AMP_SHADOW_CSS={});let r=e[n];r||(r=new o.CSSStyleSheet,p(r.replaceSync),r.replaceSync(i),e[n]=r),t.adoptedStyleSheets=t.adoptedStyleSheets.concat(r)}else{const o=e.createElement("style");o.setAttribute("data-name",n),o.textContent=i,t.appendChild(o)}}(e,this.element.tagName,n),o=k(i,"c",fi),e.appendChild(o);const h=k(i,"slot",di);e.appendChild(h),null===(r=this.getPlaceholder)||void 0===r||null===(s=r.call(this))||void 0===s||s.setAttribute("slot","i-amphtml-svc"),null===(l=this.getFallback)||void 0===l||null===(u=l.call(this))||void 0===u||u.setAttribute("slot","i-amphtml-svc"),null===(c=this.getOverflowElement)||void 0===c||null===(a=c.call(this))||void 0===a||a.setAttribute("slot","i-amphtml-svc")}this.sf=o,p(e),function(t,n){Jt.get(t).setParent(n)}(e,this.element),function(t,n,i,e=0){Jt.get(t).addGroup(n,i,e)}(this.element,"unslotted",pi,-1),h=this.element,f=zn,null===(d=Jt.get(h).group("unslotted"))||void 0===d||d.values.set(f,this,!1)}else if(o){const n=this.element;this.sf=n;const e=P(n,"i-amphtml-rendered")||k(i,o,vi);e.__AMP_RENDERED=!0,t.layoutSizeDefined&&e.classList.add("i-amphtml-fill-content"),this.sf.appendChild(e)}else{const t=i.createElement("i-amphtml-c");this.sf=t,t.classList.add("i-amphtml-fill-content"),n||this.element.appendChild(t)}}var h,f,d,v;const y=this.sf;p(y);const{useContexts:m}=t,_=this.rf;if(0!=m.length&&null==_)return;const A=ri(t,this.element,this.Ka,this.Ya,this.Ti);if(this.updatePropsForRendering(A),!this.isReady(A))return;let w=q(t.Component,A);for(let t=0;t<m.length;t++){p(_);const n=m[t].type,i=_[t];i&&(w=q(n.Provider,{value:i},w))}const S=q(On,i({},this.Qa),w);if(this.hf)this.hf=!1,ht(S,y);else{const t=o?P(y,"i-amphtml-rendered"):null;t&&(t.__AMP_RENDERED=!0),at(S,y,null!=t?t:void 0)}e||n||this.mutateElement((()=>M(this.element,"amp:dom-update",void 0))),this.uf&&(this.uf.resolve(void 0),this.uf=null)}getProp(t,n){return i=this.Ya,e=t,c.call(i,e)?this.Ya[t]:n;var i,e}getApi(){const t=this.Xa;return t?Promise.resolve(t):(this.ef||(this.ef=new L),this.ef.promise)}nf(t){const n=h(),i=Object.keys(t);for(let t=0;t<i.length;t++){const e=i[t];this.gf(n,e)}this.Xa=n,this.ef&&(this.ef.resolve(n),this.ef=null)}tf(t){}triggerEvent(t,n,i){M(t,n,i)}pauseCallback(){if(this.constructor.unloadOnPause)this.mutateProps({"loading":"unload"}),this.Za=!0;else{var t;const{Ja:n}=this;null==n||null===(t=n.pause)||void 0===t||t.call(n)}}Ga(t){this.ff.updatePlaying(t)}gf(t,n){Object.defineProperty(t,n,{configurable:!0,get:()=>{const t=this.Ja;return p(t),t[n]},set:t=>{const i=this.Ja;p(i),i[n]=t}})}};function gi(t){for(let n=0;n<t.length;n++){const i=t[n];if(v(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}function _i(t,n){if(null==t)return{};var i,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i=r[e],n.indexOf(i)>=0||(o[i]=t[i]);return o}t(bi,"staticProps",void 0),t(bi,"useContexts",[]),t(bi,"loadable",!1),t(bi,"unloadOnPause",!1),t(bi,"layoutSizeDefined",!1),t(bi,"lightDomTag",""),t(bi,"usesTemplate",!1),t(bi,"shadowCss",null),t(bi,"usesShadowDom",!1),t(bi,"detached",!1),t(bi,"delegatesFocus",!1),t(bi,"props",{});var Pi,Ai=["ref"],wi="undefined"!=typeof Symbol&&(null===(Pi=Symbol.for)||void 0===Pi?void 0:Pi.call(Symbol,"react.forward_ref"))||3911,Si=E.__b;function ki(t){function n(n){const{ref:i}=n,e=_i(n,Ai);return t(e,i)}return n.$$typeof=wi,n.render=n,n.prototype.isReactComponent=!0,n._f=!0,n}function Mi(t){return(Mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xi(t){var n=function(t,n){if("object"!==Mi(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var e=i.call(t,"string");if("object"!==Mi(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Mi(n)?n:String(n)}E.__b=function(t){var n;null!==(n=t.type)&&void 0!==n&&n._f&&t.ref&&(t.props.ref=t.ref,t.ref=null),null==Si||Si(t)};var Ii=[null,"paint","layout","content","size","size paint","size layout","strict"],Ei={"position":"relative","width":"100%","height":"100%"};function Ti(t,n,i){t.classList.add("i-amphtml-animating");let e=n();return e.onfinish=e.oncancel=()=>{e=null,i&&i(),t.classList.remove("i-amphtml-animating")},()=>{e&&e.cancel()}}function Ci(t){const n=window.innerHeight,i=Math.abs(t)/n*500;return Math.min(Math.max(i,200),500)}ki((function(t,n){let e="class",{as:o="div",children:r,contentAs:s="div",contentClassName:l,contentProps:u,contentRef:c,contentStyle:a,layout:h=!1,paint:f=!1,size:d=!1,"style":v,wrapperClassName:p,wrapperStyle:y,[e]:m}=t;const b=(d?4:0)+(h?2:0)+(f?1:0);return q(o,i(i({},_i(t,["as","children","contentAs","contentClassName","contentProps","contentRef","contentStyle","layout","paint","size","style","wrapperClassName","wrapperStyle",e].map(xi))),{},{ref:n,class:`${m||""} ${p||""}`.trim()||null,style:i(i(i({},v),y),{},{contain:Ii[b]})}),q(s,i(i({},u),{},{ref:c,class:l,style:i(i({},d&&Ei),{},{"overflow":f?"hidden":"visible"},a)}),r))})),ki((function(t,n){let e="class",{as:o="div",children:r,"style":s,wrapperClassName:l,wrapperStyle:u,[e]:c}=t;return q(o,i(i({},_i(t,["as","children","style","wrapperClassName","wrapperStyle",e].map(xi))),{},{ref:n,class:`${c||""} ${l||""}`.trim()||null,style:i(i({},s),u)}),r)}));var Ri=["animate","as","children","expandSingleSection","id"],Oi=["animate","as","children","expanded","id","onExpandStateChange"],Vi=ft({}),zi=ft({}),ji={},$i={},Li=Nn(),Ni=()=>String(Math.floor(1e5*Math.random())),Hi=ki((function(t,n){let{animate:e=!1,as:o="section",children:r,expandSingleSection:s=!1,id:l}=t,u=_i(t,Ri);const[c,a]=Pt(ji),h=St($i),[d]=Pt(Ni),v=l||`a${d}`;At((()=>{s&&a((t=>{const n={};let i=0;for(const e in t)n[e]=t[e]&&0==i++;return n}))}),[s]);const p=xt(((t,n,{current:e})=>(a((i=>Di(t,n,i,s))),h.current=i(i({},h.current),{},{[t]:e}),()=>{a((n=>f(n,t))),h.current=f(h.current,t)})),[s]),y=xt(((t,n)=>{a((i=>{const e=null!=n?n:!i[t],o=Di(t,e,i,s);return x().then((()=>{for(const t in i){const n=h.current[t];n&&i[t]!=o[t]&&n(o[t])}})),o}))}),[s]),m=xt(((t,n)=>{var i;return null!==(i=c[t])&&void 0!==i?i:n}),[c]),b=xt((t=>{if(t)t in c&&y(t);else if(!s)for(const t in c)y(t)}),[c,y,s]),g=xt((t=>{if(t)m(t,!0)||y(t);else if(!s)for(const t in c)m(t,!0)||y(t)}),[c,y,m,s]),_=xt((t=>{if(t)m(t,!1)&&y(t);else for(const t in c)m(t,!1)&&y(t)}),[c,y,m]);kt(n,(()=>({toggle:b,expand:g,collapse:_})),[b,_,g]);const P=Mt((()=>({registerSection:p,toggleExpanded:y,isExpanded:m,animate:e,prefix:v})),[p,y,m,e,v]);return q(o,i({id:l},u),q(Vi.Provider,{value:P},r))}));function Di(t,n,e,o){let r;if(o&&n){r={[t]:n};for(const n in e)n!=t&&(r[n]=!1)}else r=i(i({},e),{},{[t]:n});return r}function Ui(t){let{animate:n=!1,as:e="section",children:o,expanded:r=!1,id:s,onExpandStateChange:l}=t,u=_i(t,Oi);const[c]=Pt(Li),a=s||c,[h]=Pt(Ni),[f,d]=Pt(r),[v,p]=Pt(null),[y,m]=Pt(null),{animate:b,isExpanded:g,prefix:_,registerSection:P,toggleExpanded:A}=It(Vi),w=g?g(a,r):f,S=null!=b?b:n,k=v||`${_||"a"}-content-${a}-${h}`,M=y||`${_||"a"}-header-${a}-${h}`,I=St(null);I.current=l,wt((()=>{if(P)return P(a,r,I)}),[P,a,r]);const E=xt((t=>{A?A(a,t):d((n=>{const i=null!=t?t:!n;return x().then((()=>{const t=I.current;t&&t(i)})),i}))}),[a,A]),T=Mt((()=>({animate:S,contentId:k,headerId:M,expanded:w,toggleHandler:E,setContentId:p,setHeaderId:m})),[S,k,M,w,E]);return q(e,i({},u),q(zi.Provider,{value:T},o))}function Wi(t){let n="class",e="tabIndex",{as:o="div",children:r,id:s,role:l="button",[n]:u="",[e]:c=0}=t,a=_i(t,["as","children","id","role",n,e].map(xi));const{contentId:h,expanded:f,headerId:d,setHeaderId:v,toggleHandler:p}=It(zi);return wt((()=>{v&&v(s)}),[v,s]),q(o,i(i({},a),{},{id:d,role:l,class:`${u} section-child-00fce3c header-00fce3c`,tabIndex:c,"aria-controls":h,onClick:()=>p(),"aria-expanded":String(f)}),r)}function qi(t){let n="class",{as:e="div",children:o,id:r,role:s="region",[n]:l=""}=t,u=_i(t,["as","children","id","role",n].map(xi));const c=St(null),a=St(!1),{animate:h,contentId:f,expanded:d,headerId:v,setContentId:p}=It(zi);return At((()=>(a.current=!0,()=>a.current=!1)),[]),wt((()=>{p&&p(r)}),[p,r]),wt((()=>{const t=a.current,n=c.current;if(h&&t&&n&&n.animate)return d?function(t){return Ti(t,(()=>{const n=_n(t,"height"),i=_n(t,"opacity"),e=_n(t,"overflowY");Pn(t,{height:0,opacity:0,overflowY:"auto"});const o=t.scrollHeight;Pn(t,{height:n,opacity:i,overflowY:e});const r=Ci(o);return t.animate([{height:0,opacity:0,overflowY:"hidden"},{height:o+"px",opacity:1,overflowY:"hidden"}],{easing:"cubic-bezier(0.47, 0, 0.745, 0.715)",duration:r})}))}(n):function(t){return Ti(t,(()=>{const n=t.offsetHeight,i=Ci(n);return t.animate([{height:n+"px",opacity:1,overflowY:"hidden"},{height:"0",opacity:0,overflowY:"hidden"}],{easing:"cubic-bezier(0.39, 0.575, 0.565, 1)",duration:i})}))}(n)}),[d,h]),q(On,{renderable:d},q(e,i(i({},u),{},{ref:c,class:l+" section-child-00fce3c"+(d?"":" content-hidden-00fce3c"),id:f,"aria-labelledby":v,role:s}),o))}Hi.displayName="Accordion";var Fi=class extends bi{init(){const t=t=>n=>{var i;!function(t,n,i){const e=t.hasAttribute(n),o=void 0!==i?i:!e;o!==e&&(o?t.setAttribute(n,""):t.removeAttribute(n))}(t,"expanded",n),null===(i=t.__AMP_PR)||void 0===i||i.call(t),this.triggerEvent(t,n?"expand":"collapse")},{element:n}=this,i=new MutationObserver((()=>{this.mutateProps(Yi(n,i,t))}));i.observe(n,{attributeFilter:["expanded","id"],subtree:!0,childList:!0});const{"children":e}=Yi(n,i,t);return{"children":e}}};function Yi(t,n,e){var o,r,s;return{"children":(r=t,s="section",b(s),"> section",(o=r.querySelectorAll(m("> section",":scope")))?Array.prototype.slice.call(o):[]).map((t=>{t.__AMP_PR||(t.__AMP_PR=()=>n.takeRecords());const o=d(t,"__AMP_H_SHIM",Gi),r=d(t,"__AMP_C_SHIM",Zi),s=d(t,"__AMP_EXPAND_STATE_SHIM",e),l={"key":t,"expanded":t.hasAttribute("expanded"),"id":t.getAttribute("id"),"onExpandStateChange":s},u={"as":o,"id":t.firstElementChild.getAttribute("id"),"role":t.firstElementChild.getAttribute("role")||void 0},c={"as":r,"id":t.lastElementChild.getAttribute("id"),"role":t.lastElementChild.getAttribute("role")||void 0};return q(Ui,i({},l),q(Wi,i({},u)),q(qi,i({},c)))}))}}function Bi(t,{"aria-controls":n,"aria-expanded":i,id:e,onClick:o,role:r}){const s=t.firstElementChild;return wt((()=>{if(s&&o)return s.setAttribute("id",e),s.classList.add("i-amphtml-accordion-header"),s.addEventListener("click",o),s.hasAttribute("tabindex")||s.setAttribute("tabindex",0),s.setAttribute("aria-expanded",i),s.setAttribute("aria-controls",n),s.setAttribute("role",r),t.__AMP_PR&&t.__AMP_PR(),()=>{s.removeEventListener("click",p(o))}}),[t,s,e,r,o,n,i]),q("header",null)}var Gi=t=>Bi.bind(null,t);function Qi(t,{"aria-labelledby":n,id:i,role:e},o){const r=t.lastElementChild,s=St();return s.current=r,Jn(s),function(t,n){kt(t,(()=>n),[n])}(o,r),wt((()=>{r&&(r.classList.add("i-amphtml-accordion-content"),r.setAttribute("id",i),r.setAttribute("role",e),r.setAttribute("aria-labelledby",n),t.__AMP_PR&&t.__AMP_PR())}),[t,r,i,e,n]),q("div",null)}var Zi=t=>ki(Qi.bind(null,t));function Xi(){customElements.define("bento-accordion",Fi.CustomElement(Fi))}Fi.Component=Hi,Fi.detached=!0,Fi.props={"animate":{attr:"animate",type:"boolean",media:!0},"expandSingleSection":{attr:"expand-single-section",type:"boolean"}};export{Xi as defineElement}; | ||
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */ |
{ | ||
"name": "@bentoproject/accordion", | ||
"version": "1.2201131702.0", | ||
"version": "1.2201141909.0", | ||
"description": "Displays content sections that can be collapsed and expanded.", | ||
@@ -5,0 +5,0 @@ "author": "Bento Authors", |
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 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 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
989066
10998