;
(self.AMP = self.AMP || []).push({
    m: 0,
    v: "2305252018001",
    n: "amp-accordion",
    ev: "0.1",
    l: !0,
    f: function(n, t) {
        ! function() {
            function t(n, r) {
                return (t = Object.setPrototypeOf || function(n, t) {
                    return n.__proto__ = t, n
                })(n, r)
            }

            function r(n) {
                return (r = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
                    return n.__proto__ || Object.getPrototypeOf(n)
                })(n)
            }

            function i(n) {
                return (i = "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 e(n, t) {
                if (t && ("object" === i(t) || "function" == typeof t)) return t;
                if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
                return function(n) {
                    if (void 0 === n) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return n
                }(n)
            }

            function o(n) {
                return "string" == typeof n
            }

            function a(n, t) {
                (null == t || t > n.length) && (t = n.length);
                for (var r = 0, i = new Array(t); r < t; r++) i[r] = n[r];
                return i
            }

            function u(n, t) {
                var r = "undefined" != typeof Symbol && n[Symbol.iterator] || n["@@iterator"];
                if (r) return (r = r.call(n)).next.bind(r);
                if (Array.isArray(n) || (r = function(n, t) {
                        if (n) {
                            if ("string" == typeof n) return a(n, t);
                            var r = Object.prototype.toString.call(n).slice(8, -1);
                            return "Object" === r && n.constructor && (r = n.constructor.name), "Map" === r || "Set" === r ? Array.from(n) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? a(n, t) : void 0
                        }
                    }(n)) || t && n && "number" == typeof n.length) {
                    r && (n = r);
                    var i = 0;
                    return function() {
                        return i >= n.length ? {
                            done: !0
                        } : {
                            done: !1,
                            value: n[i++]
                        }
                    }
                }
                throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")
            }
            Array.isArray;
            var c = Object.prototype;

            function f(n, t, r, i, e, o, a, u, c, f, s) {
                return n
            }
            c.hasOwnProperty, c.toString;
            var s = "ArrowUp";

            function d(n, t, r, i) {
                return function(e) {
                    return h.solveYValueFromXValue(e, 0, 0, n, t, r, i, 1, 1)
                }
            }
            var h = function() {
                    function n() {}
                    return n.solveYValueFromXValue = function(t, r, i, e, o, a, u, c, f) {
                        return n.la(n.va(t, r, e, a, c), i, o, u, f)
                    }, n.va = function(t, r, i, e, o) {
                        var a = 1e-6,
                            u = (t - r) / (o - r);
                        if (u <= 0) return 0;
                        if (u >= 1) return 1;
                        for (var c = 0, f = 1, s = 0, d = 0; d < 8; d++) {
                            s = n.da(u, r, i, e, o);
                            var h = (n.da(u + a, r, i, e, o) - s) / a;
                            if (Math.abs(s - t) < a) return u;
                            if (Math.abs(h) < a) break;
                            s < t ? c = u : f = u, u -= (s - t) / h
                        }
                        for (var l = 0; Math.abs(s - t) > a && l < 8; l++) s < t ? (c = u, u = (u + f) / 2) : (f = u, u = (u + c) / 2), s = n.da(u, r, i, e, o);
                        return u
                    }, n.da = function(t, r, i, e, o) {
                        if (0 == t) return r;
                        if (1 == t) return o;
                        var a = n.ma(r, i, t),
                            u = n.ma(i, e, t),
                            c = n.ma(e, o, t);
                        return a = n.ma(a, u, t), u = n.ma(u, c, t), n.ma(a, u, t)
                    }, n.la = function(t, r, i, e, o) {
                        if (0 == t) return r;
                        if (1 == t) return o;
                        var a = n.ma(r, i, t),
                            u = n.ma(i, e, t),
                            c = n.ma(e, o, t);
                        return a = n.ma(a, u, t), u = n.ma(u, c, t), n.ma(a, u, t)
                    }, n.ma = function(n, t, r) {
                        return n + r * (t - n)
                    }, n
                }(),
                l = {
                    LINEAR: function(n) {
                        return n
                    },
                    EASE: function(n) {
                        return h.solveYValueFromXValue(n, 0, 0, .25, .1, .25, 1, 1, 1)
                    },
                    EASE_IN: function(n) {
                        return h.solveYValueFromXValue(n, 0, 0, .42, 0, 1, 1, 1, 1)
                    },
                    EASE_OUT: function(n) {
                        return h.solveYValueFromXValue(n, 0, 0, 0, 0, .58, 1, 1, 1)
                    },
                    EASE_IN_OUT: function(n) {
                        return h.solveYValueFromXValue(n, 0, 0, .42, 0, .58, 1, 1, 1)
                    }
                },
                v = {
                    "linear": l.LINEAR,
                    "ease": l.EASE,
                    "ease-in": l.EASE_IN,
                    "ease-out": l.EASE_OUT,
                    "ease-in-out": l.EASE_IN_OUT
                };

            function p(n) {
                if (!n) return null;
                if (o(n)) {
                    if (-1 != n.indexOf("cubic-bezier")) {
                        var t = n.match(/cubic-bezier\((.+)\)/);
                        if (t) {
                            var r = t[1].split(",").map(parseFloat);
                            if (4 == r.length) {
                                for (var i = 0; i < 4; i++)
                                    if (isNaN(r[i])) return null;
                                return d(r[0], r[1], r[2], r[3])
                            }
                        }
                        return null
                    }
                    return v[n]
                }
                return n
            }
            var m, b = !0,
                y = !0;

            function x(n) {
                var t = Object.getOwnPropertyDescriptor(n, "message");
                if (null != t && t.writable) return n;
                var r = n.message,
                    i = n.stack,
                    e = new Error(r);
                for (var o in n) e[o] = n[o];
                return e.stack = i, e
            }

            function w(n) {
                for (var t, r = null, i = "", e = u(arguments, !0); !(t = e()).done;) {
                    var o = t.value;
                    o instanceof Error && !r ? r = x(o) : (i && (i += " "), i += o)
                }
                return r ? i && (r.message = i + ": " + r.message) : r = new Error(i), r
            }

            function g(n) {
                var t, r;
                null === (t = (r = self).__AMP_REPORT_ERROR) || void 0 === t || t.call(r, n)
            }
            var E = ["Webkit", "webkit", "Moz", "moz", "ms", "O", "o"];

            function S(n) {
                var t = n.replace(/[A-Z]/g, (function(n) {
                    return "-" + n.toLowerCase()
                }));
                return E.some((function(n) {
                    return t.startsWith(n + "-")
                })) ? "-".concat(t) : t
            }

            function A(n, t, r) {
                if (j(t)) return t;
                var i;
                m || (i = Object.create(null), m = i);
                var e = m[t];
                if (!e || r) {
                    if (e = t, void 0 === n[t]) {
                        var o = function(n) {
                                return n.charAt(0).toUpperCase() + n.slice(1)
                            }(t),
                            a = function(n, t) {
                                for (var r = 0; r < E.length; r++) {
                                    var i = E[r] + t;
                                    if (void 0 !== n[i]) return i
                                }
                                return ""
                            }(n, o);
                        void 0 !== n[a] && (e = a)
                    }
                    r || (m[t] = e)
                }
                return e
            }

            function O(n, t, r, i, e) {
                var o = A(n.style, t, e);
                if (o) {
                    var a = i ? r + i : r;
                    n.style.setProperty(S(o), a)
                }
            }

            function M(n, t) {
                for (var r in t) O(n, r, t[r])
            }

            function j(n) {
                return n.startsWith("--")
            }

            function N(n, t) {
                return function(r, i) {
                    for (var e in t) O(n, ("display" === (o = e) && function(n) {
                        for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) r[i - 1] = arguments[i];
                        var e = w.apply(null, r);
                        e.name = n || e.name, g(e)
                    }("STYLE", "`display` style detected. You must use toggle instead."), o), t[e](r, i));
                    var o
                }
            }

            function R(n, t) {
                return function(r) {
                    return n + (t - n) * r
                }
            }

            function _(n) {
                return function(t) {
                    return r = n(t), "".concat(r, "px");
                    var r
                }
            }

            function k(n, t, r) {
                return f(t <= r), Math.min(Math.max(n, t), r)
            }
            self.__AMP_LOG = self.__AMP_LOG || {
                user: null,
                dev: null,
                userForEmbed: null
            };
            var I = self.__AMP_LOG;

            function C(n, t) {
                throw new Error("failed to call initLogConstructor")
            }

            function P(n) {
                return I.user || (I.user = T()),
                    function(n, t) {
                        return t && t.ownerDocument.defaultView != n
                    }(I.user.win, n) ? I.userForEmbed || (I.userForEmbed = T()) : I.user
            }

            function T(n) {
                return C()
            }

            function D() {
                return I.dev || (I.dev = C())
            }

            function F(n, t, r, i, e, o, a, u, c, f, s) {
                return n
            }

            function U(n, t, r, i, e, o, a, u, c, f, s) {
                return P().assert(n, t, r, i, e, o, a, u, c, f, s)
            }
            var z = function() {
                var n = this;
                this.promise = new Promise((function(t, r) {
                    n.resolve = t, n.reject = r
                }))
            };

            function L(n, t) {
                return J(n = function(n) {
                    return n.__AMP_TOP || (n.__AMP_TOP = n)
                }(n), t)
            }

            function B(n) {
                return n.nodeType ? (r = n, t = (r.ownerDocument || r).defaultView, L(t, "ampdoc")).getAmpDoc(n) : n;
                var t, r
            }

            function J(n, t) {
                F(Y(n, t));
                var r = function(n) {
                    var t = n.__AMP_SERVICES;
                    return t || (t = n.__AMP_SERVICES = {}), t
                }(n)[t];
                return r.obj || (F(r.ctor), F(r.context), r.obj = new r.ctor(r.context), F(r.obj), r.context = null, r.resolve && r.resolve(r.obj)), r.obj
            }

            function Y(n, t) {
                var r = n.__AMP_SERVICES && n.__AMP_SERVICES[t];
                return !(!r || !r.ctor)
            }
            var W = "Animation",
                Z = function() {},
                $ = function() {
                    function n(n, t) {
                        this.pa = n, this.As = t || L(self, "vsync"), this.ba = null, this.ga = []
                    }
                    n.animate = function(t, r, i, e) {
                        return new n(t).setCurve(e).add(0, r, 1).start(i)
                    };
                    var t = n.prototype;
                    return t.setCurve = function(n) {
                        return n && (this.ba = p(n)), this
                    }, t.add = function(n, t, r, i) {
                        return this.ga.push({
                            delay: n,
                            func: t,
                            duration: r,
                            curve: p(i)
                        }), this
                    }, t.start = function(n) {
                        return new q(this.As, this.pa, this.ga, this.ba, n)
                    }, n
                }(),
                q = function() {
                    function n(n, t, r, i, e) {
                        this.As = n, this.pa = t, this.ga = [];
                        for (var o = 0; o < r.length; o++) {
                            var a = r[o];
                            this.ga.push({
                                delay: a.delay,
                                func: a.func,
                                duration: a.duration,
                                curve: a.curve || i,
                                started: !1,
                                completed: !1
                            })
                        }
                        this.ya = e, this.ih = Date.now(), this.Rr = !0, this.ei = {};
                        var u = new z;
                        this.wa = u.promise, this.Qt = u.resolve, this.Aa = u.reject, this.xa = this.As.createAnimTask(this.pa, {
                            mutate: this.Ea.bind(this)
                        }), this.As.canAnimate(this.pa) ? this.xa(this.ei) : (D().warn(W, "cannot animate"), this.Oa(!1, 0))
                    }
                    var t = n.prototype;
                    return t.then = function(n, t) {
                        return n || t ? this.wa.then(n, t) : this.wa
                    }, t.thenAlways = function(n) {
                        var t = n || Z;
                        return this.then(t, t)
                    }, t.halt = function(n) {
                        this.Oa(!1, n || 0)
                    }, t.Oa = function(n, t) {
                        if (this.Rr) {
                            if (this.Rr = !1, 0 != t) {
                                this.ga.length > 1 && this.ga.sort((function(n, t) {
                                    return n.delay + n.duration - (t.delay + t.duration)
                                }));
                                try {
                                    if (t > 0)
                                        for (var r = 0; r < this.ga.length; r++) this.ga[r].func(1, !0);
                                    else
                                        for (var i = this.ga.length - 1; i >= 0; i--) this.ga[i].func(0, !1)
                                } catch (t) {
                                    D().error(W, "completion failed: " + t, t), n = !1
                                }
                            }
                            n ? this.Qt() : this.Aa()
                        }
                    }, t.Ea = function(n) {
                        if (this.Rr) {
                            for (var t = Date.now(), r = Math.min((t - this.ih) / this.ya, 1), i = 0; i < this.ga.length; i++) {
                                var e = this.ga[i];
                                !e.started && r >= e.delay && (e.started = !0)
                            }
                            for (var o = 0; o < this.ga.length; o++) {
                                var a = this.ga[o];
                                a.started && !a.completed && this.Pa(a, r)
                            }
                            1 == r ? this.Oa(!0, 0) : this.As.canAnimate(this.pa) ? this.xa(this.ei) : (D().warn(W, "cancel animation"), this.Oa(!1, 0))
                        }
                    }, t.Pa = function(n, t) {
                        var r, i;
                        if (n.duration > 0) {
                            if (i = r = Math.min((t - n.delay) / n.duration, 1), n.curve && 1 != i) try {
                                i = n.curve(r)
                            } catch (n) {
                                return D().error(W, "step curve failed: " + n, n), void this.Oa(!1, 0)
                            }
                        } else r = 1, i = 1;
                        1 == r && (n.completed = !0);
                        try {
                            n.func(i, n.completed)
                        } catch (n) {
                            return D().error(W, "step mutate failed: " + n, n), void this.Oa(!1, 0)
                        }
                    }, n
                }();
            new Set(["c", "v", "a", "ad"]);
            var G = "amp-accordion",
                H = d(.47, 0, .745, .715),
                K = d(.39, .575, .565, 1),
                Q = function(n) {
                    ! function(n, r) {
                        if ("function" != typeof r && null !== r) throw new TypeError("Super expression must either be null or a function");
                        n.prototype = Object.create(r && r.prototype, {
                            constructor: {
                                value: n,
                                writable: !0,
                                configurable: !0
                            }
                        }), r && t(n, r)
                    }(c, n);
                    var i, a, u = (i = c, a = 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
                        }
                    }(), function() {
                        var n, t = r(i);
                        if (a) {
                            var o = r(this).constructor;
                            n = Reflect.construct(t, arguments, o)
                        } else n = t.apply(this, arguments);
                        return e(this, n)
                    });

                    function c(n) {
                        var t;
                        return (t = u.call(this, n)).ann = [], t.cnn = null, t.fnn = null, t.dnn = !1, t.qS = null, t.Gr = null, t.xH = n.id ? n.id : Math.floor(100 * Math.random()), t
                    }
                    c.prerenderAllowed = function() {
                        return !0
                    };
                    var d = c.prototype;
                    return d.isLayoutSupported = function(n) {
                        return "container" == n
                    }, d.buildCallback = function() {
                        var n, t, r, i, e, a = this;
                        this.Gr = (n = this.element, t = "action", r = B(n), Y(e = (i = B(r)).isSingleDoc() ? i.win : i, t) ? J(e, t) : null), this.dnn = this.element.hasAttribute("disable-session-states"), this.cnn = this.hnn(), this.fnn = this.lnn(), this.qS = function(n, t) {
                            for (var r = [], i = n.firstElementChild; i; i = i.nextElementSibling) u = void 0, c = void 0, o(a = e = i) ? u = a : 1 == (null == (c = a) ? void 0 : c.nodeType) && (u = a.tagName), !(u && u.toLowerCase().startsWith("i-") || e.nodeType === Node.ELEMENT_NODE && (e.hasAttribute("placeholder") || e.hasAttribute("fallback") || e.hasAttribute("overflow"))) && r.push(i);
                            var e, a, u, c;
                            return r
                        }(this.element), this.qS.forEach((function(n, t) {
                            U("section" == n.tagName.toLowerCase(), "Sections should be enclosed in a <section> tag, See https://github.com/ampproject/amphtml/blob/main/extensions/amp-accordion/amp-accordion.md. Found in: %s", a.element);
                            var r = n.children;
                            U(2 == r.length, "Each section must have exactly two children. See https://github.com/ampproject/amphtml/blob/main/extensions/amp-accordion/amp-accordion.md. Found in: %s", a.element);
                            var i = r[0],
                                e = r[1];
                            e.classList.add("i-amphtml-accordion-content");
                            var o = e.getAttribute("id");
                            o || (o = a.xH + "_AMP_content_" + t, e.setAttribute("id", o));
                            var u = i.getAttribute("id");
                            u || (u = a.xH + "_AMP_header_" + t, i.setAttribute("id", u)), a.registerAction("toggle", (function(n) {
                                return a.i7(n)
                            })), a.registerAction("expand", (function(n) {
                                return a.i7(n)
                            })), a.registerAction("collapse", (function(n) {
                                return a.i7(n)
                            })), a.Gr.addToAllowlist(G, ["toggle", "expand", "collapse"], ["email"]), new a.win.MutationObserver((function(n) {
                                a.vnn(n, 2)
                            })).observe(n, {
                                attributes: !0,
                                attributeFilter: ["data-expand"]
                            }), a.fnn[o] ? n.setAttribute("expanded", "") : !1 === a.fnn[o] && n.removeAttribute("expanded"), a.mutateElement((function() {})), U(!n.hasAttribute("[expanded]") && !n.hasAttribute("data-amp-bind-expanded"), 'The "expanded" attribute cannot be used with amp-bind in version 0.1 of amp-accordion. Please bind to [data-expand] instead. Found in: %s', a.element);
                            var c = n.hasAttribute("expanded");
                            i.classList.add("i-amphtml-accordion-header"), i.hasAttribute("role") || i.setAttribute("role", "button"), i.setAttribute("aria-controls", o), i.setAttribute("aria-expanded", String(c)), i.hasAttribute("tabindex") || i.setAttribute("tabindex", 0), a.ann.push(i), e.setAttribute("aria-labelledby", u), e.hasAttribute("role") || e.setAttribute("role", "region"), U(0 == a.Gr.hasAction(i, "tap", n), "amp-accordion headings should not have tap actions registered."), i.addEventListener("click", a.NB.bind(a)), i.addEventListener("keydown", a.QB.bind(a))
                        }))
                    }, d.i7 = function(n) {
                        var t = n.args,
                            r = n.method,
                            i = n.trust,
                            e = void 0;
                        if ("expand" === r ? e = !0 : "collapse" === r && (e = !1), t) {
                            var o = t.section,
                                a = this.getAmpDoc().getElementById(o);
                            U(a = P().assertElement(a), "No element found with id: %s", o), this.TF(a, i, e)
                        } else
                            for (var u = 0; u < this.qS.length; u++) this.TF(this.qS[u], i, e)
                    }, d.hnn = function() {
                        var n = this.element.id || this.element.getResourceId(),
                            t = function(n) {
                                var t = n.indexOf("#");
                                return -1 == t ? n : n.substring(0, t)
                            }(this.win.location.href);
                        return "amp-".concat(n, "-").concat(t)
                    }, d.lnn = function() {
                        if (this.dnn) return {};
                        try {
                            var n = this.win.sessionStorage.getItem(this.cnn);
                            return n ? F((t = n, JSON.parse(t))) : {}
                        } catch (n) {
                            return D().fine("AMP-ACCORDION", "Error setting session state: %s, %s", n.message, n.stack), {}
                        }
                        var t
                    }, d.pnn = function() {
                        if (!this.dnn) {
                            var n = JSON.stringify(this.fnn);
                            try {
                                this.win.sessionStorage.setItem(this.cnn, n)
                            } catch (n) {
                                D().fine("AMP-ACCORDION", "Error setting session state: %s, %s", n.message, n.stack)
                            }
                        }
                    }, d.fD = function(n, t, r) {
                        var i = function(n, t, r, i) {
                            var e = {
                                detail: r
                            };
                            if (Object.assign(e, void 0), "function" == typeof n.CustomEvent) return new n.CustomEvent(t, e);
                            var o = n.document.createEvent("CustomEvent");
                            return o.initCustomEvent(t, !!e.bubbles, !!e.cancelable, r), o
                        }(this.win, "accordionSection.".concat(n), {});
                        this.Gr.trigger(t, n, i, r),
                            function(n, t, r, i) {
                                f(n.ownerDocument);
                                var e = n.ownerDocument.createEvent("Event");
                                e.data = {};
                                var o = b,
                                    a = y;
                                e.initEvent(t, o, a), n.dispatchEvent(e)
                            }(this.element, n)
                    }, d.TF = function(n, t, r) {
                        var i = this,
                            e = n.children,
                            o = e[0],
                            a = e[1].getAttribute("id"),
                            u = n.hasAttribute("expanded"),
                            c = null == r ? !n.hasAttribute("expanded") : r;
                        c && n.hasAttribute("expanded") || !c && !n.hasAttribute("expanded") || (this.element.hasAttribute("animate") ? c ? (o.setAttribute("aria-expanded", "true"), this.mnn(n, t), this.element.hasAttribute("expand-single-section") && this.qS.forEach((function(r) {
                            r != n && (i.bnn(r, t), r.children[0].setAttribute("aria-expanded", "false"))
                        }))) : (o.setAttribute("aria-expanded", "false"), this.bnn(n, t)) : this.mutateElement((function() {
                            c ? (i.fD("expand", n, t), n.setAttribute("expanded", ""), o.setAttribute("aria-expanded", "true"), i.element.hasAttribute("expand-single-section") && i.qS.forEach((function(r) {
                                r != n && (r.hasAttribute("expanded") && (i.fD("collapse", r, t), r.removeAttribute("expanded")), r.children[0].setAttribute("aria-expanded", "false"))
                            }))) : (i.fD("collapse", n, t), n.removeAttribute("expanded"), o.setAttribute("aria-expanded", "false"))
                        }), n), this.fnn[a] = !u, this.pnn())
                    }, d.mnn = function(n, t) {
                        var r, i, e, o, a, u = this,
                            c = n.children[1];
                        return this.measureMutateElement((function() {
                            r = n.offsetWidth, a = function(n, t, r) {
                                var i = A(n.style, "width", void 0);
                                if (i) return j(i) ? n.style.getPropertyValue(i) : n.style[i]
                            }(c)
                        }), (function() {
                            ! function(n, t) {
                                var r = n.style;
                                for (var i in t) r.setProperty(S(A(r, i)), String(t[i]), "important")
                            }(c, {
                                "position": "fixed",
                                "width": "".concat(r, "px"),
                                "opacity": "0"
                            }), n.hasAttribute("expanded") || n.setAttribute("expanded", "")
                        })).then((function() {
                            return u.measureMutateElement((function() {
                                i = n.offsetHeight, e = c.offsetHeight;
                                var t = u.getViewport().getHeight();
                                o = u.ynn(Math.abs(e), t)
                            }), (function() {
                                M(n, {
                                    "overflow": "hidden",
                                    "height": "".concat(i, "px")
                                }), M(c, {
                                    "position": "",
                                    "opacity": "",
                                    "width": a
                                })
                            }))
                        })).then((function() {
                            var r = new $(u.element);
                            return r.setCurve(H), r.add(0, N(n, {
                                "height": _(R(i, i + e))
                            }), 1), r.add(0, N(c, {
                                "opacity": R(0, 1)
                            }), 1), r.start(o).thenAlways((function() {
                                u.mutateElement((function() {
                                    u.fD("expand", n, t), M(n, {
                                        "overflow": "",
                                        "height": ""
                                    }), M(c, {
                                        "opacity": ""
                                    })
                                }))
                            }))
                        }))
                    }, d.bnn = function(n, t) {
                        var r, i, e, o = this,
                            a = n.firstElementChild;
                        return this.measureMutateElement((function() {
                            r = n.offsetHeight, i = a.offsetHeight;
                            var t = o.getViewport().getSize().height;
                            e = o.ynn(Math.abs(r), t)
                        }), (function() {
                            M(n, {
                                "overflow": "hidden"
                            })
                        })).then((function() {
                            return $.animate(n, N(n, {
                                "height": _(R(r, i))
                            }), e, K).thenAlways((function() {
                                return o.mutateElement((function() {
                                    n.hasAttribute("expanded") && (o.fD("collapse", n, t), n.removeAttribute("expanded")), M(n, {
                                        "height": "",
                                        "overflow": ""
                                    })
                                }))
                            }))
                        }))
                    }, d.ynn = function(n, t) {
                        var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 200,
                            i = arguments.length > 3 && void 0 !== arguments[3] ? arguments[3] : 500,
                            e = Math.abs(n) / t * i;
                        return k(e, r, i)
                    }, d.xnn = function(n) {
                        n.preventDefault();
                        var t = n.currentTarget.parentElement;
                        this.TF(t, 3)
                    }, d.NB = function(n) {
                        this.PH(n) && this.xnn(n)
                    }, d.PH = function(n) {
                        var t = n.target,
                            r = n.currentTarget,
                            i = !! function(n, t, r) {
                                var i;
                                for (i = n; i && i !== r; i = i.parentElement)
                                    if ("A" == i.tagName) return i;
                                return null
                            }(t, 0, r),
                            e = this.Gr.hasAction(t, "tap", r);
                        return !i && !e
                    }, d.QB = function(n) {
                        if (!n.defaultPrevented) switch (n.key) {
                            case s:
                            case "ArrowDown":
                                return void this.pH(n);
                            case "Enter":
                            case " ":
                                return void(n.target == n.currentTarget && this.xnn(n))
                        }
                    }, d.pH = function(n) {
                        var t = n.currentTarget,
                            r = this.ann.indexOf(t);
                        if (-1 !== r) {
                            n.preventDefault();
                            var i = (r + (n.key == s ? -1 : 1)) % this.ann.length;
                            i < 0 && (i += this.ann.length),
                                function(n) {
                                    try {
                                        n.focus()
                                    } catch (n) {}
                                }(this.ann[i])
                        }
                    }, d.vnn = function(n, t) {
                        var r = this;
                        n.forEach((function(n) {
                            var i = n.target,
                                e = i.hasAttribute("data-expand");
                            i.hasAttribute("expanded") !== e && r.TF(i, t, e)
                        }))
                    }, d.getActionServiceForTesting = function() {
                        return this.Gr
                    }, c
                }(n.BaseElement);
            n.registerElement(G, Q, "amp-accordion>section>:last-child{display:none!important}amp-accordion>section[expanded]>:last-child{display:block!important}.i-amphtml-accordion-content,.i-amphtml-accordion-header{margin:0}.i-amphtml-accordion-header{cursor:pointer;background-color:#efefef;padding-right:20px;border:1px solid #dfdfdf}amp-accordion>section:not([expanded]) .i-amphtml-media-component,amp-accordion>section:not([expanded]) .i-amphtml-media-component *{display:none!important;visibility:hidden!important}\n/*# sourceURL=/extensions/amp-accordion/0.1/amp-accordion.css*/")
        }();
        /*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
    }
});
//# sourceMappingURL=amp-accordion-0.1.js.map