id: A++, callback: i, priorityLevel: e, startTime: a, expirationTime: (l = a + l), sortIndex: -1 }), a > s ? ((e.sortIndex = a), k(P, e), null === _(E) && e === _(P) && (T ? o() : (T = !0), r(N, a - s))) : ((e.sortIndex = l), k(E, e), j || R || ((j = !0), n(D))), e ); }), (t.unstable_wrapCallback = function (e) { var t = C; return function () { var n = C; C = t; try { return e.apply(this, arguments); } finally { C = n; } }; }); }, 3840: function (e, t, n) { 'use strict'; e.exports = n(53); }, 6774: function (e) { e.exports = function (e, t, n, r) { var o = n ? n.call(r, e, t) : void 0; if (void 0 !== o) return !!o; if (e === t) return !0; if ('object' != typeof e || !e || 'object' != typeof t || !t) return !1; var i = Object.keys(e), a = Object.keys(t); if (i.length !== a.length) return !1; for ( var s = Object.prototype.hasOwnProperty.bind(t), l = 0; l < i.length; l++ ) { var c = i[l]; if (!s(c)) return !1; var u = e[c], p = t[c]; if ( !1 === (o = n ? n.call(r, u, p, c) : void 0) || (void 0 === o && u !== p) ) return !1; } return !0; }; }, 1304: function (e) { var t; (t = function () { var e = JSON.parse( '{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xA2":"cent","\xA3":"pound","\xA4":"currency","\xA5":"yen","\xA9":"(c)","\xAA":"a","\xAE":"(r)","\xBA":"o","\xC0":"A","\xC1":"A","\xC2":"A","\xC3":"A","\xC4":"A","\xC5":"A","\xC6":"AE","\xC7":"C","\xC8":"E","\xC9":"E","\xCA":"E","\xCB":"E","\xCC":"I","\xCD":"I","\xCE":"I","\xCF":"I","\xD0":"D","\xD1":"N","\xD2":"O","\xD3":"O","\xD4":"O","\xD5":"O","\xD6":"O","\xD8":"O","\xD9":"U","\xDA":"U","\xDB":"U","\xDC":"U","\xDD":"Y","\xDE":"TH","\xDF":"ss","\xE0":"a","\xE1":"a","\xE2":"a","\xE3":"a","\xE4":"a","\xE5":"a","\xE6":"ae","\xE7":"c","\xE8":"e","\xE9":"e","\xEA":"e","\xEB":"e","\xEC":"i","\xED":"i","\xEE":"i","\xEF":"i","\xF0":"d","\xF1":"n","\xF2":"o","\xF3":"o","\xF4":"o","\xF5":"o","\xF6":"o","\xF8":"o","\xF9":"u","\xFA":"u","\xFB":"u","\xFC":"u","\xFD":"y","\xFE":"th","\xFF":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010C":"C","\u010D":"c","\u010E":"D","\u010F":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011A":"E","\u011B":"e","\u011E":"G","\u011F":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012A":"i","\u012B":"i","\u012E":"I","\u012F":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013B":"L","\u013C":"l","\u013D":"L","\u013E":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014C":"O","\u014D":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015A":"S","\u015B":"s","\u015E":"S","\u015F":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016A":"u","\u016B":"u","\u016E":"U","\u016F":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017A":"z","\u017B":"Z","\u017C":"z","\u017D":"Z","\u017E":"z","\u018F":"E","\u0192":"f","\u01A0":"O","\u01A1":"o","\u01AF":"U","\u01B0":"u","\u01C8":"LJ","\u01C9":"lj","\u01CB":"NJ","\u01CC":"nj","\u0218":"S","\u0219":"s","\u021A":"T","\u021B":"t","\u0259":"e","\u02DA":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038A":"I","\u038C":"O","\u038E":"Y","\u038F":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039A":"K","\u039B":"L","\u039C":"M","\u039D":"N","\u039E":"3","\u039F":"O","\u03A0":"P","\u03A1":"R","\u03A3":"S","\u03A4":"T","\u03A5":"Y","\u03A6":"F","\u03A7":"X","\u03A8":"PS","\u03A9":"W","\u03AA":"I","\u03AB":"Y","\u03AC":"a","\u03AD":"e","\u03AE":"h","\u03AF":"i","\u03B0":"y","\u03B1":"a","\u03B2":"b","\u03B3":"g","\u03B4":"d","\u03B5":"e","\u03B6":"z","\u03B7":"h","\u03B8":"8","\u03B9":"i","\u03BA":"k","\u03BB":"l","\u03BC":"m","\u03BD":"n","\u03BE":"3","\u03BF":"o","\u03C0":"p","\u03C1":"r","\u03C2":"s","\u03C3":"s","\u03C4":"t","\u03C5":"y","\u03C6":"f","\u03C7":"x","\u03C8":"ps","\u03C9":"w","\u03CA":"i","\u03CB":"y","\u03CC":"o","\u03CD":"y","\u03CE":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040A":"NJ","\u040B":"C","\u040F":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041A":"K","\u041B":"L","\u041C":"M","\u041D":"N","\u041E":"O","\u041F":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042A":"U","\u042B":"Y","\u042C":"","\u042D":"E","\u042E":"Yu","\u042F":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043A":"k","\u043B":"l","\u043C":"m","\u043D":"n","\u043E":"o","\u043F":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044A":"u","\u044B":"y","\u044C":"","\u044D":"e","\u044E":"yu","\u044F":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045A":"nj","\u045B":"c","\u045D":"u","\u045F":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049A":"KH","\u049B":"kh","\u04A2":"NG","\u04A3":"ng","\u04AE":"UE","\u04AF":"ue","\u04B0":"U","\u04B1":"u","\u04BA":"H","\u04BB":"h","\u04D8":"AE","\u04D9":"ae","\u04E8":"OE","\u04E9":"oe","\u0E3F":"baht","\u10D0":"a","\u10D1":"b","\u10D2":"g","\u10D3":"d","\u10D4":"e","\u10D5":"v","\u10D6":"z","\u10D7":"t","\u10D8":"i","\u10D9":"k","\u10DA":"l","\u10DB":"m","\u10DC":"n","\u10DD":"o","\u10DE":"p","\u10DF":"zh","\u10E0":"r","\u10E1":"s","\u10E2":"t","\u10E3":"u","\u10E4":"f","\u10E5":"k","\u10E6":"gh","\u10E7":"q","\u10E8":"sh","\u10E9":"ch","\u10EA":"ts","\u10EB":"dz","\u10EC":"ts","\u10ED":"ch","\u10EE":"kh","\u10EF":"j","\u10F0":"h","\u1E80":"W","\u1E81":"w","\u1E82":"W","\u1E83":"w","\u1E84":"W","\u1E85":"w","\u1E9E":"SS","\u1EA0":"A","\u1EA1":"a","\u1EA2":"A","\u1EA3":"a","\u1EA4":"A","\u1EA5":"a","\u1EA6":"A","\u1EA7":"a","\u1EA8":"A","\u1EA9":"a","\u1EAA":"A","\u1EAB":"a","\u1EAC":"A","\u1EAD":"a","\u1EAE":"A","\u1EAF":"a","\u1EB0":"A","\u1EB1":"a","\u1EB2":"A","\u1EB3":"a","\u1EB4":"A","\u1EB5":"a","\u1EB6":"A","\u1EB7":"a","\u1EB8":"E","\u1EB9":"e","\u1EBA":"E","\u1EBB":"e","\u1EBC":"E","\u1EBD":"e","\u1EBE":"E","\u1EBF":"e","\u1EC0":"E","\u1EC1":"e","\u1EC2":"E","\u1EC3":"e","\u1EC4":"E","\u1EC5":"e","\u1EC6":"E","\u1EC7":"e","\u1EC8":"I","\u1EC9":"i","\u1ECA":"I","\u1ECB":"i","\u1ECC":"O","\u1ECD":"o","\u1ECE":"O","\u1ECF":"o","\u1ED0":"O","\u1ED1":"o","\u1ED2":"O","\u1ED3":"o","\u1ED4":"O","\u1ED5":"o","\u1ED6":"O","\u1ED7":"o","\u1ED8":"O","\u1ED9":"o","\u1EDA":"O","\u1EDB":"o","\u1EDC":"O","\u1EDD":"o","\u1EDE":"O","\u1EDF":"o","\u1EE0":"O","\u1EE1":"o","\u1EE2":"O","\u1EE3":"o","\u1EE4":"U","\u1EE5":"u","\u1EE6":"U","\u1EE7":"u","\u1EE8":"U","\u1EE9":"u","\u1EEA":"U","\u1EEB":"u","\u1EEC":"U","\u1EED":"u","\u1EEE":"U","\u1EEF":"u","\u1EF0":"U","\u1EF1":"u","\u1EF2":"Y","\u1EF3":"y","\u1EF4":"Y","\u1EF5":"y","\u1EF6":"Y","\u1EF7":"y","\u1EF8":"Y","\u1EF9":"y","\u2018":"\\'","\u2019":"\\'","\u201C":"\\\\"","\u201D":"\\\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20A0":"ecu","\u20A2":"cruzeiro","\u20A3":"french franc","\u20A4":"lira","\u20A5":"mill","\u20A6":"naira","\u20A7":"peseta","\u20A8":"rupee","\u20A9":"won","\u20AA":"new shequel","\u20AB":"dong","\u20AC":"euro","\u20AD":"kip","\u20AE":"tugrik","\u20AF":"drachma","\u20B0":"penny","\u20B1":"peso","\u20B2":"guarani","\u20B3":"austral","\u20B4":"hryvnia","\u20B5":"cedi","\u20B8":"kazakhstani tenge","\u20B9":"indian rupee","\u20BA":"turkish lira","\u20BD":"russian ruble","\u20BF":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221E":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\uFDFC":"rial"}' ), t = JSON.parse( '{"de":{"\xC4":"AE","\xE4":"ae","\xD6":"OE","\xF6":"oe","\xDC":"UE","\xFC":"ue","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221E":"unendlich","\u2665":"liebe"},"vi":{"\u0110":"D","\u0111":"d"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xA2":"centime","\xA3":"livre","\xA4":"devise","\u20A3":"franc","\u2211":"somme","\u221E":"infini","\u2665":"amour"}}' ); function n(n, r) { if ('string' != typeof n) throw new Error('slugify: string argument expected'); var o = t[ (r = 'string' == typeof r ? { replacement: r } : r || {}) .locale ] || {}, i = void 0 === r.replacement ? '-' : r.replacement, a = n .split('') .reduce(function (t, n) { return ( t + (o[n] || e[n] || n).replace( r.remove || /[^\\w\\s$*_+~.()'"!\\-:@]+/g, '' ) ); }, '') .trim() .replace(new RegExp('[\\\\s' + i + ']+', 'g'), i); return ( r.lower && (a = a.toLowerCase()), r.strict && (a = a .replace(new RegExp('[^a-zA-Z0-9' + i + ']', 'g'), '') .replace(new RegExp('[\\\\s' + i + ']+', 'g'), i)), a ); } return ( (n.extend = function (t) { for (var n in t) e[n] = t[n]; }), n ); }), (e.exports = t()), (e.exports.default = t()); }, 5114: function (e) { e.exports = function (e, t) { e || (e = document), t || (t = window); var n, r, o = [], i = !1, a = e.documentElement, s = function () {}, l = 'hidden', c = 'visibilitychange'; void 0 !== e.webkitHidden && ((l = 'webkitHidden'), (c = 'webkitvisibilitychange')), t.getComputedStyle || f(); for ( var u = ['', '-webkit-', '-moz-', '-ms-'], p = document.createElement('div'), d = u.length - 1; d >= 0; d-- ) { try { p.style.position = u[d] + 'sticky'; } catch (e) {} '' != p.style.position && f(); } function f() { C = N = R = j = T = I = s; } function h(e) { return parseFloat(e) || 0; } function m() { n = { top: t.pageYOffset, left: t.pageXOffset }; } function g() { if (t.pageXOffset != n.left) return m(), void R(); t.pageYOffset != n.top && (m(), v()); } function y(e) { setTimeout(function () { t.pageYOffset != n.top && ((n.top = t.pageYOffset), v()); }, 0); } function v() { for (var e = o.length - 1; e >= 0; e--) b(o[e]); } function b(e) { if (e.inited) { var t = n.top <= e.limit.start ? 0 : n.top >= e.limit.end ? 2 : 1; e.mode != t && (function (e, t) { var n = e.node.style; switch (t) { case 0: (n.position = 'absolute'), (n.left = e.offset.left + 'px'), (n.right = e.offset.right + 'px'), (n.top = e.offset.top + 'px'), (n.bottom = 'auto'), (n.width = 'auto'), (n.marginLeft = 0), (n.marginRight = 0), (n.marginTop = 0); break; case 1: (n.position = 'fixed'), (n.left = e.box.left + 'px'), (n.right = e.box.right + 'px'), (n.top = e.css.top), (n.bottom = 'auto'), (n.width = 'auto'), (n.marginLeft = 0), (n.marginRight = 0), (n.marginTop = 0); break; case 2: (n.position = 'absolute'), (n.left = e.offset.left + 'px'), (n.right = e.offset.right + 'px'), (n.top = 'auto'), (n.bottom = 0), (n.width = 'auto'), (n.marginLeft = 0), (n.marginRight = 0); } e.mode = t; })(e, t); } } function w(e) { isNaN(parseFloat(e.computed.top)) || e.isCell || ((e.inited = !0), e.clone || (function (e) { e.clone = document.createElement('div'); var t = e.node.nextSibling || e.node, n = e.clone.style; (n.height = e.height + 'px'), (n.width = e.width + 'px'), (n.marginTop = e.computed.marginTop), (n.marginBottom = e.computed.marginBottom), (n.marginLeft = e.computed.marginLeft), (n.marginRight = e.computed.marginRight), (n.padding = n.border = n.borderSpacing = 0), (n.fontSize = '1em'), (n.position = 'static'), (n.cssFloat = e.computed.cssFloat), e.node.parentNode.insertBefore(e.clone, t); })(e), 'absolute' != e.parent.computed.position && 'relative' != e.parent.computed.position && (e.parent.node.style.position = 'relative'), b(e), (e.parent.height = e.parent.node.offsetHeight), (e.docOffsetTop = S(e.clone))); } function x(e) { var t = !0; e.clone && (function (e) { e.clone.parentNode.removeChild(e.clone), (e.clone = void 0); })(e), (function (e, t) { for (key in t) t.hasOwnProperty(key) && (e[key] = t[key]); })(e.node.style, e.css); for (var n = o.length - 1; n >= 0; n--) if ( o[n].node !== e.node && o[n].parent.node === e.parent.node ) { t = !1; break; } t && (e.parent.node.style.position = e.parent.css.position), (e.mode = -1); } function k() { for (var e = o.length - 1; e >= 0; e--) w(o[e]); } function _() { for (var e = o.length - 1; e >= 0; e--) x(o[e]); } function O(e) { var t = getComputedStyle(e), n = e.parentNode, r = getComputedStyle(n), o = e.style.position; e.style.position = 'relative'; var i = { top: t.top, marginTop: t.marginTop, marginBottom: t.marginBottom, marginLeft: t.marginLeft, marginRight: t.marginRight, cssFloat: t.cssFloat }, s = { top: h(t.top), marginBottom: h(t.marginBottom), paddingLeft: h(t.paddingLeft), paddingRight: h(t.paddingRight), borderLeftWidth: h(t.borderLeftWidth), borderRightWidth: h(t.borderRightWidth) }; e.style.position = o; var l = { position: e.style.position, top: e.style.top, bottom: e.style.bottom, left: e.style.left, right: e.style.right, width: e.style.width, marginTop: e.style.marginTop, marginLeft: e.style.marginLeft, marginRight: e.style.marginRight }, c = E(e), u = E(n), p = { node: n, css: { position: n.style.position }, computed: { position: r.position }, numeric: { borderLeftWidth: h(r.borderLeftWidth), borderRightWidth: h(r.borderRightWidth), borderTopWidth: h(r.borderTopWidth), borderBottomWidth: h(r.borderBottomWidth) } }; return { node: e, box: { left: c.win.left, right: a.clientWidth - c.win.right }, offset: { top: c.win.top - u.win.top - p.numeric.borderTopWidth, left: c.win.left - u.win.left - p.numeric.borderLeftWidth, right: -c.win.right + u.win.right - p.numeric.borderRightWidth }, css: l, isCell: 'table-cell' == t.display, computed: i, numeric: s, width: c.win.right - c.win.left, height: c.win.bottom - c.win.top, mode: -1, inited: !1, parent: p, limit: { start: c.doc.top - s.top, end: u.doc.top + n.offsetHeight - p.numeric.borderBottomWidth - e.offsetHeight - s.top - s.marginBottom } }; } function S(e) { for (var t = 0; e; ) (t += e.offsetTop), (e = e.offsetParent); return t; } function E(e) { var n = e.getBoundingClientRect(); return { doc: { top: n.top + t.pageYOffset, left: n.left + t.pageXOffset }, win: n }; } function P() { r = setInterval(function () { !(function () { for (var e = o.length - 1; e >= 0; e--) if (o[e].inited) { var t = Math.abs(S(o[e].clone) - o[e].docOffsetTop), n = Math.abs( o[e].parent.node.offsetHeight - o[e].parent.height ); if (t >= 2 || n >= 2) return !1; } return !0; })() && R(); }, 500); } function A() { clearInterval(r); } function $() { i && (document[l] ? A() : P()); } function C() { i || (m(), k(), t.addEventListener('scroll', g), t.addEventListener('wheel', y), t.addEventListener('resize', R), t.addEventListener('orientationchange', R), e.addEventListener(c, $), P(), (i = !0)); } function R() { if (i) { _(); for (var e = o.length - 1; e >= 0; e--) o[e] = O(o[e].node); k(); } } function j() { t.removeEventListener('scroll', g), t.removeEventListener('wheel', y), t.removeEventListener('resize', R), t.removeEventListener('orientationchange', R), e.removeEventListener(c, $), A(), (i = !1); } function T() { j(), _(); } function I() { for (T(); o.length; ) o.pop(); } function N(e) { for (var t = o.length - 1; t >= 0; t--) if (o[t].node === e) return; var n = O(e); o.push(n), i ? w(n) : C(); } return ( m(), { stickies: o, add: N, remove: function (e) { for (var t = o.length - 1; t >= 0; t--) o[t].node === e && (x(o[t]), o.splice(t, 1)); }, init: C, rebuild: R, pause: j, stop: T, kill: I } ); }; }, 3433: function (e, t, n) { 'use strict'; n.r(t); var r = n(3379), o = n.n(r), i = n(7795), a = n.n(i), s = n(569), l = n.n(s), c = n(3565), u = n.n(c), p = n(9216), d = n.n(p), f = n(4589), h = n.n(f), m = n(2295), g = {}; (g.styleTagTransform = h()), (g.setAttributes = u()), (g.insert = l().bind(null, 'head')), (g.domAPI = a()), (g.insertStyleElement = d()), o()(m.Z, g), (t.default = m.Z && m.Z.locals ? m.Z.locals : void 0); }, 3379: function (e) { 'use strict'; var t = []; function n(e) { for (var n = -1, r = 0; r < t.length; r++) if (t[r].identifier === e) { n = r; break; } return n; } function r(e, r) { for (var i = {}, a = [], s = 0; s < e.length; s++) { var l = e[s], c = r.base ? l[0] + r.base : l[0], u = i[c] || 0, p = ''.concat(c, ' ').concat(u); i[c] = u + 1; var d = n(p), f = { css: l[1], media: l[2], sourceMap: l[3], supports: l[4], layer: l[5] }; if (-1 !== d) t[d].references++, t[d].updater(f); else { var h = o(f, r); (r.byIndex = s), t.splice(s, 0, { identifier: p, updater: h, references: 1 }); } a.push(p); } return a; } function o(e, t) { var n = t.domAPI(t); return ( n.update(e), function (t) { if (t) { if ( t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap && t.supports === e.supports && t.layer === e.layer ) return; n.update((e = t)); } else n.remove(); } ); } e.exports = function (e, o) { var i = r((e = e || []), (o = o || {})); return function (e) { e = e || []; for (var a = 0; a < i.length; a++) { var s = n(i[a]); t[s].references--; } for (var l = r(e, o), c = 0; c < i.length; c++) { var u = n(i[c]); 0 === t[u].references && (t[u].updater(), t.splice(u, 1)); } i = l; }; }; }, 569: function (e) { 'use strict'; var t = {}; e.exports = function (e, n) { var r = (function (e) { if (void 0 === t[e]) { var n = document.querySelector(e); if ( window.HTMLIFrameElement && n instanceof window.HTMLIFrameElement ) try { n = n.contentDocument.head; } catch (e) { n = null; } t[e] = n; } return t[e]; })(e); if (!r) throw new Error( "Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid." ); r.appendChild(n); }; }, 9216: function (e) { 'use strict'; e.exports = function (e) { var t = document.createElement('style'); return e.setAttributes(t, e.attributes), e.insert(t, e.options), t; }; }, 3565: function (e, t, n) { 'use strict'; e.exports = function (e) { var t = n.nc; t && e.setAttribute('nonce', t); }; }, 7795: function (e) { 'use strict'; e.exports = function (e) { var t = e.insertStyleElement(e); return { update: function (n) { !(function (e, t, n) { var r = ''; n.supports && (r += '@supports ('.concat(n.supports, ') {')), n.media && (r += '@media '.concat(n.media, ' {')); var o = void 0 !== n.layer; o && (r += '@layer'.concat( n.layer.length > 0 ? ' '.concat(n.layer) : '', ' {' )), (r += n.css), o && (r += '}'), n.media && (r += '}'), n.supports && (r += '}'); var i = n.sourceMap; i && 'undefined' != typeof btoa && (r += '\\n/*# sourceMappingURL=data:application/json;base64,'.concat( btoa(unescape(encodeURIComponent(JSON.stringify(i)))), ' */' )), t.styleTagTransform(r, e, t.options); })(t, e, n); }, remove: function () { !(function (e) { if (null === e.parentNode) return !1; e.parentNode.removeChild(e); })(t); } }; }; }, 4589: function (e) { 'use strict'; e.exports = function (e, t) { if (t.styleSheet) t.styleSheet.cssText = e; else { for (; t.firstChild; ) t.removeChild(t.firstChild); t.appendChild(document.createTextNode(e)); } }; }, 8925: function (e, t, n) { 'use strict'; const r = n(9045), o = n(8150), i = (n(6470), n(4480)), a = n(8150), s = n(8150), l = n(7053), c = l.jptr, u = n(2592).isRef, p = n(4683).clone, d = n(4683).circularClone, f = n(8401).recurse, h = n(4856), m = n(1804), g = n(3342), y = n(2711).statusCodes, v = n(4109).i8, b = '3.0.0'; let w; class x extends Error { constructor(e) { super(e), (this.name = 'S2OError'); } } function k(e, t) { let n = new x(e); if (((n.options = t), !t.promise)) throw n; t.promise.reject(n); } function _(e, t, n) { n.warnOnly ? (t[n.warnProperty || 'x-s2o-warning'] = e) : k(e, n); } function O(e, t) { m.walkSchema(e, {}, {}, function (e, n, r) { !(function (e, t) { if ( (e['x-required'] && Array.isArray(e['x-required']) && (e.required || (e.required = []), (e.required = e.required.concat(e['x-required'])), delete e['x-required']), e['x-anyOf'] && ((e.anyOf = e['x-anyOf']), delete e['x-anyOf']), e['x-oneOf'] && ((e.oneOf = e['x-oneOf']), delete e['x-oneOf']), e['x-not'] && ((e.not = e['x-not']), delete e['x-not']), 'boolean' == typeof e['x-nullable'] && ((e.nullable = e['x-nullable']), delete e['x-nullable']), 'object' == typeof e['x-discriminator'] && 'string' == typeof e['x-discriminator'].propertyName) ) { (e.discriminator = e['x-discriminator']), delete e['x-discriminator']; for (let t in e.discriminator.mapping) { let n = e.discriminator.mapping[t]; n.startsWith('#/definitions/') && (e.discriminator.mapping[t] = n.replace( '#/definitions/', '#/components/schemas/' )); } } })(e), (function (e, t, n) { if ( (e.nullable && n.patches++, e.discriminator && 'string' == typeof e.discriminator && (e.discriminator = { propertyName: e.discriminator }), e.items && Array.isArray(e.items) && (0 === e.items.length ? (e.items = {}) : 1 === e.items.length ? (e.items = e.items[0]) : (e.items = { anyOf: e.items })), e.type && Array.isArray(e.type)) ) if (n.patch) { if ((n.patches++, 0 === e.type.length)) delete e.type; else { e.oneOf || (e.oneOf = []); for (let t of e.type) { let n = {}; if ('null' === t) e.nullable = !0; else { n.type = t; for (let t of g.arrayProperties) void 0 !== e.prop && ((n[t] = e[t]), delete e[t]); } n.type && e.oneOf.push(n); } delete e.type, 0 === e.oneOf.length ? delete e.oneOf : e.oneOf.length < 2 && ((e.type = e.oneOf[0].type), Object.keys(e.oneOf[0]).length > 1 && _('Lost properties from oneOf', e, n), delete e.oneOf); } e.type && Array.isArray(e.type) && 1 === e.type.length && (e.type = e.type[0]); } else k('(Patchable) schema type must not be an array', n); e.type && 'null' === e.type && (delete e.type, (e.nullable = !0)), 'array' !== e.type || e.items || (e.items = {}), 'file' === e.type && ((e.type = 'string'), (e.format = 'binary')), 'boolean' == typeof e.required && (e.required && e.name && (void 0 === t.required && (t.required = []), Array.isArray(t.required) && t.required.push(e.name)), delete e.required), e.xml && 'string' == typeof e.xml.namespace && (e.xml.namespace || delete e.xml.namespace), void 0 !== e.allowEmptyValue && (n.patches++, delete e.allowEmptyValue); })(e, n, t); }); } function S(e, t, n) { let r = n.payload.options; if (u(e, t)) { if (e[t].startsWith('#/components/')); else if ('#/consumes' === e[t]) delete e[t], (n.parent[n.pkey] = p(r.openapi.consumes)); else if ('#/produces' === e[t]) delete e[t], (n.parent[n.pkey] = p(r.openapi.produces)); else if (e[t].startsWith('#/definitions/')) { let n = e[t].replace('#/definitions/', '').split('/'); const o = l.jpunescape(n[0]); let i = w.schemas[decodeURIComponent(o)]; i ? (n[0] = i) : _('Could not resolve reference ' + e[t], e, r), (e[t] = '#/components/schemas/' + n.join('/')); } else if (e[t].startsWith('#/parameters/')) e[t] = '#/components/parameters/' + g.sanitise(e[t].replace('#/parameters/', '')); else if (e[t].startsWith('#/responses/')) e[t] = '#/components/responses/' + g.sanitise(e[t].replace('#/responses/', '')); else if (e[t].startsWith('#')) { let n = p(l.jptr(r.openapi, e[t])); if (!1 === n) _('direct $ref not found ' + e[t], e, r); else if (r.refmap[e[t]]) e[t] = r.refmap[e[t]]; else { let i = e[t]; (i = i.replace('/properties/headers/', '')), (i = i.replace('/properties/responses/', '')), (i = i.replace('/properties/parameters/', '')), (i = i.replace('/properties/schemas/', '')); let a = 'schemas', s = i.lastIndexOf('/schema'); if ( ((a = i.indexOf('/headers/') > s ? 'headers' : i.indexOf('/responses/') > s ? 'responses' : i.indexOf('/example') > s ? 'examples' : i.indexOf('/x-') > s ? 'extensions' : i.indexOf('/parameters/') > s ? 'parameters' : 'schemas'), 'schemas' === a && O(n, r), 'responses' !== a && 'extensions' !== a) ) { let i = a.substr(0, a.length - 1); 'parameter' === i && n.name && n.name === g.sanitise(n.name) && (i = encodeURIComponent(n.name)); let s = 1; for ( e['x-miro'] && ((o = (o = e['x-miro']).indexOf('#') >= 0 ? o.split('#')[1].split('/').pop() : o.split('/').pop().split('.')[0]), (i = encodeURIComponent(g.sanitise(o))), (s = '')); l.jptr(r.openapi, '#/components/' + a + '/' + i + s); ) s = '' === s ? 2 : ++s; let c = '#/components/' + a + '/' + i + s, u = ''; 'examples' === a && ((n = { value: n }), (u = '/value')), l.jptr(r.openapi, c, n), (r.refmap[e[t]] = c + u), (e[t] = c + u); } } } if ((delete e['x-miro'], Object.keys(e).length > 1)) { const o = e[t], i = n.path.indexOf('/schema') >= 0; 'preserve' === r.refSiblings || (i && 'allOf' === r.refSiblings ? (delete e.$ref, (n.parent[n.pkey] = { allOf: [{ $ref: o }, e] })) : (n.parent[n.pkey] = { $ref: o })); } } var o; if ( 'x-ms-odata' === t && 'string' == typeof e[t] && e[t].startsWith('#/') ) { let n = e[t] .replace('#/definitions/', '') .replace('#/components/schemas/', '') .split('/'), o = w.schemas[decodeURIComponent(n[0])]; o ? (n[0] = o) : _('Could not resolve reference ' + e[t], e, r), (e[t] = '#/components/schemas/' + n.join('/')); } } function E(e) { for (let t in e) for (let n in e[t]) { let r = g.sanitise(n); n !== r && ((e[t][r] = e[t][n]), delete e[t][n]); } } function P(e, t) { if ( ('basic' === e.type && ((e.type = 'http'), (e.scheme = 'basic')), 'oauth2' === e.type) ) { let n = {}, r = e.flow; 'application' === e.flow && (r = 'clientCredentials'), 'accessCode' === e.flow && (r = 'authorizationCode'), void 0 !== e.authorizationUrl && (n.authorizationUrl = e.authorizationUrl.split('?')[0].trim() || '/'), 'string' == typeof e.tokenUrl && (n.tokenUrl = e.tokenUrl.split('?')[0].trim() || '/'), (n.scopes = e.scopes || {}), (e.flows = {}), (e.flows[r] = n), delete e.flow, delete e.authorizationUrl, delete e.tokenUrl, delete e.scopes, void 0 !== e.name && (t.patch ? (t.patches++, delete e.name) : k( '(Patchable) oauth2 securitySchemes should not have name property', t )); } } function A(e) { return e && !e['x-s2o-delete']; } function $(e, t) { if (e.$ref) e.$ref = e.$ref.replace( '#/responses/', '#/components/responses/' ); else { e.type && !e.schema && (e.schema = {}), e.type && (e.schema.type = e.type), e.items && 'array' !== e.items.type && (e.items.collectionFormat !== e.collectionFormat && _('Nested collectionFormats are not supported', e, t), delete e.items.collectionFormat), 'array' === e.type ? ('ssv' === e.collectionFormat ? _( 'collectionFormat:ssv is no longer supported for headers', e, t ) : 'pipes' === e.collectionFormat ? _( 'collectionFormat:pipes is no longer supported for headers', e, t ) : 'multi' === e.collectionFormat ? (e.explode = !0) : 'tsv' === e.collectionFormat ? (_('collectionFormat:tsv is no longer supported', e, t), (e['x-collectionFormat'] = 'tsv')) : (e.style = 'simple'), delete e.collectionFormat) : e.collectionFormat && (t.patch ? (t.patches++, delete e.collectionFormat) : k( '(Patchable) collectionFormat is only applicable to header.type array', t )), delete e.type; for (let t of g.parameterTypeProperties) void 0 !== e[t] && ((e.schema[t] = e[t]), delete e[t]); for (let t of g.arrayProperties) void 0 !== e[t] && ((e.schema[t] = e[t]), delete e[t]); } } function C(e, t) { if (e.$ref.indexOf('#/parameters/') >= 0) { let t = e.$ref.split('#/parameters/'); e.$ref = t[0] + '#/components/parameters/' + g.sanitise(t[1]); } e.$ref.indexOf('#/definitions/') >= 0 && _('Definition used as parameter', e, t); } function R(e, t, n, r, o, i, a) { let s, l = {}, u = !0; if (t && t.consumes && 'string' == typeof t.consumes) { if (!a.patch) return k('(Patchable) operation.consumes must be an array', a); a.patches++, (t.consumes = [t.consumes]); } Array.isArray(i.consumes) || delete i.consumes; let d = ((t ? t.consumes : null) || i.consumes || []).filter( g.uniqueOnly ); if (e && e.$ref && 'string' == typeof e.$ref) { C(e, a); let t = decodeURIComponent( e.$ref.replace('#/components/parameters/', '') ), n = !1, r = i.components.parameters[t]; if ( ((r && !r['x-s2o-delete']) || !e.$ref.startsWith('#/') || ((e['x-s2o-delete'] = !0), (n = !0)), n) ) { let t = e.$ref, n = c(i, e.$ref); !n && t.startsWith('#/') ? _('Could not resolve reference ' + t, e, a) : n && (e = n); } } if (e && (e.name || e.in)) { 'boolean' == typeof e['x-deprecated'] && ((e.deprecated = e['x-deprecated']), delete e['x-deprecated']), void 0 !== e['x-example'] && ((e.example = e['x-example']), delete e['x-example']), 'body' === e.in || e.type || (a.patch ? (a.patches++, (e.type = 'string')) : k( '(Patchable) parameter.type is mandatory for non-body parameters', a )), e.type && 'object' == typeof e.type && e.type.$ref && (e.type = c(i, e.type.$ref)), 'file' === e.type && ((e['x-s2o-originalType'] = e.type), (s = e.type)), e.description && 'object' == typeof e.description && e.description.$ref && (e.description = c(i, e.description.$ref)), null === e.description && delete e.description; let t = e.collectionFormat; if ( ('array' !== e.type || t || (t = 'csv'), t && ('array' !== e.type && (a.patch ? (a.patches++, delete e.collectionFormat) : k( '(Patchable) collectionFormat is only applicable to param.type array', a )), 'csv' !== t || ('query' !== e.in && 'cookie' !== e.in) || ((e.style = 'form'), (e.explode = !1)), 'csv' !== t || ('path' !== e.in && 'header' !== e.in) || (e.style = 'simple'), 'ssv' === t && ('query' === e.in ? (e.style = 'spaceDelimited') : _( 'collectionFormat:ssv is no longer supported except for in:query parameters', e, a )), 'pipes' === t && ('query' === e.in ? (e.style = 'pipeDelimited') : _( 'collectionFormat:pipes is no longer supported except for in:query parameters', e, a )), 'multi' === t && (e.explode = !0), 'tsv' === t && (_('collectionFormat:tsv is no longer supported', e, a), (e['x-collectionFormat'] = 'tsv')), delete e.collectionFormat), e.type && 'body' !== e.type && 'formData' !== e.in) ) if (e.items && e.schema) _('parameter has array,items and schema', e, a); else { e.schema && a.patches++, (e.schema && 'object' == typeof e.schema) || (e.schema = {}), (e.schema.type = e.type), e.items && ((e.schema.items = e.items), delete e.items, f(e.schema.items, null, function (n, r, o) { 'collectionFormat' === r && 'string' == typeof n[r] && (t && n[r] !== t && _( 'Nested collectionFormats are not supported', e, a ), delete n[r]); })); for (let t of g.parameterTypeProperties) void 0 !== e[t] && (e.schema[t] = e[t]), delete e[t]; } e.schema && O(e.schema, a), e['x-ms-skip-url-encoding'] && 'query' === e.in && ((e.allowReserved = !0), delete e['x-ms-skip-url-encoding']); } if (e && 'formData' === e.in) { (u = !1), (l.content = {}); let t = 'application/x-www-form-urlencoded'; if ( (d.length && d.indexOf('multipart/form-data') >= 0 && (t = 'multipart/form-data'), (l.content[t] = {}), e.schema) ) (l.content[t].schema = e.schema), e.schema.$ref && (l['x-s2o-name'] = decodeURIComponent( e.schema.$ref.replace('#/components/schemas/', '') )); else { (l.content[t].schema = {}), (l.content[t].schema.type = 'object'), (l.content[t].schema.properties = {}), (l.content[t].schema.properties[e.name] = {}); let n = l.content[t].schema, r = l.content[t].schema.properties[e.name]; e.description && (r.description = e.description), e.example && (r.example = e.example), e.type && (r.type = e.type); for (let t of g.parameterTypeProperties) void 0 !== e[t] && (r[t] = e[t]); !0 === e.required && (n.required || (n.required = []), n.required.push(e.name), (l.required = !0)), void 0 !== e.default && (r.default = e.default), r.properties && (r.properties = e.properties), e.allOf && (r.allOf = e.allOf), 'array' === e.type && e.items && ((r.items = e.items), r.items.collectionFormat && delete r.items.collectionFormat), ('file' !== s && 'file' !== e['x-s2o-originalType']) || ((r.type = 'string'), (r.format = 'binary')), j(e, r); } } else e && 'file' === e.type && (e.required && (l.required = e.required), (l.content = {}), (l.content['application/octet-stream'] = {}), (l.content['application/octet-stream'].schema = {}), (l.content['application/octet-stream'].schema.type = 'string'), (l.content['application/octet-stream'].schema.format = 'binary'), j(e, l)); if (e && 'body' === e.in) { (l.content = {}), e.name && (l['x-s2o-name'] = (t && t.operationId ? g.sanitiseAll(t.operationId) : '') + ('_' + e.name).toCamelCase()), e.description && (l.description = e.description), e.required && (l.required = e.required), t && a.rbname && e.name && (t[a.rbname] = e.name), e.schema && e.schema.$ref ? (l['x-s2o-name'] = decodeURIComponent( e.schema.$ref.replace('#/components/schemas/', '') )) : e.schema && 'array' === e.schema.type && e.schema.items && e.schema.items.$ref && (l['x-s2o-name'] = decodeURIComponent( e.schema.items.$ref.replace('#/components/schemas/', '') ) + 'Array'), d.length || d.push('application/json'); for (let t of d) (l.content[t] = {}), (l.content[t].schema = p(e.schema || {})), O(l.content[t].schema, a); j(e, l); } if ( (Object.keys(l).length > 0 && ((e['x-s2o-delete'] = !0), t) && (t.requestBody && u ? ((t.requestBody['x-s2o-overloaded'] = !0), _( 'Operation ' + (t.operationId || o) + ' has multiple requestBodies', t, a )) : (t.requestBody || (t = n[r] = (function (e, t) { let n = {}; for (let r of Object.keys(e)) (n[r] = e[r]), 'parameters' === r && ((n.requestBody = {}), t.rbname && (n[t.rbname] = '')); return (n.requestBody = {}), n; })(t, a)), t.requestBody.content && t.requestBody.content['multipart/form-data'] && t.requestBody.content['multipart/form-data'].schema && t.requestBody.content['multipart/form-data'].schema .properties && l.content['multipart/form-data'] && l.content['multipart/form-data'].schema && l.content['multipart/form-data'].schema.properties ? ((t.requestBody.content[ 'multipart/form-data' ].schema.properties = Object.assign( t.requestBody.content['multipart/form-data'].schema .properties, l.content['multipart/form-data'].schema.properties )), (t.requestBody.content[ 'multipart/form-data' ].schema.required = ( t.requestBody.content['multipart/form-data'].schema .required || [] ).concat( l.content['multipart/form-data'].schema.required || [] )), t.requestBody.content['multipart/form-data'].schema .required.length || delete t.requestBody.content['multipart/form-data'] .schema.required) : t.requestBody.content && t.requestBody.content[ 'application/x-www-form-urlencoded' ] && t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema && t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema.properties && l.content['application/x-www-form-urlencoded'] && l.content['application/x-www-form-urlencoded'].schema && l.content['application/x-www-form-urlencoded'].schema .properties ? ((t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema.properties = Object.assign( t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema.properties, l.content['application/x-www-form-urlencoded'].schema .properties )), (t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema.required = ( t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema.required || [] ).concat( l.content['application/x-www-form-urlencoded'].schema .required || [] )), t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema.required.length || delete t.requestBody.content[ 'application/x-www-form-urlencoded' ].schema.required) : ((t.requestBody = Object.assign(t.requestBody, l)), t.requestBody['x-s2o-name'] || (t.requestBody.schema && t.requestBody.schema.$ref ? (t.requestBody['x-s2o-name'] = decodeURIComponent( t.requestBody.schema.$ref.replace( '#/components/schemas/', '' ) ) .split('/') .join('')) : t.operationId && (t.requestBody['x-s2o-name'] = g.sanitiseAll( t.operationId )))))), e && !e['x-s2o-delete']) ) { delete e.type; for (let t of g.parameterTypeProperties) delete e[t]; 'path' !== e.in || (void 0 !== e.required && !0 === e.required) || (a.patch ? (a.patches++, (e.required = !0)) : k( '(Patchable) path parameters must be required:true [' + e.name + ' in ' + o + ']', a )); } return t; } function j(e, t) { for (let n in e) n.startsWith('x-') && !n.startsWith('x-s2o') && (t[n] = e[n]); } function T(e, t, n, r, o) { if (!e) return !1; if (e.$ref && 'string' == typeof e.$ref) e.$ref.indexOf('#/definitions/') >= 0 ? _('definition used as response: ' + e.$ref, e, o) : e.$ref.startsWith('#/responses/') && (e.$ref = '#/components/responses/' + g.sanitise( decodeURIComponent(e.$ref.replace('#/responses/', '')) )); else { if ( ((void 0 === e.description || null === e.description || ('' === e.description && o.patch)) && (o.patch ? 'object' != typeof e || Array.isArray(e) || (o.patches++, (e.description = y[e] || '')) : k('(Patchable) response.description is mandatory', o)), void 0 !== e.schema) ) { if ( (O(e.schema, o), e.schema.$ref && 'string' == typeof e.schema.$ref && e.schema.$ref.startsWith('#/responses/') && (e.schema.$ref = '#/components/responses/' + g.sanitise( decodeURIComponent( e.schema.$ref.replace('#/responses/', '') ) )), n && n.produces && 'string' == typeof n.produces) ) { if (!o.patch) return k( '(Patchable) operation.produces must be an array', o ); o.patches++, (n.produces = [n.produces]); } r.produces && !Array.isArray(r.produces) && delete r.produces; let t = ((n ? n.produces : null) || r.produces || []).filter( g.uniqueOnly ); t.length || t.push('*/*'), (e.content = {}); for (let n of t) { if ( ((e.content[n] = {}), (e.content[n].schema = p(e.schema)), e.examples && e.examples[n]) ) { let t = {}; (t.value = e.examples[n]), (e.content[n].examples = {}), (e.content[n].examples.response = t), delete e.examples[n]; } 'file' === e.content[n].schema.type && (e.content[n].schema = { type: 'string', format: 'binary' }); } delete e.schema; } for (let t in e.examples) e.content || (e.content = {}), e.content[t] || (e.content[t] = {}), (e.content[t].examples = {}), (e.content[t].examples.response = {}), (e.content[t].examples.response.value = e.examples[t]); if ((delete e.examples, e.headers)) for (let t in e.headers) 'status code' === t.toLowerCase() ? o.patch ? (o.patches++, delete e.headers[t]) : k('(Patchable) "Status Code" is not a valid header', o) : $(e.headers[t], o); } } function I(e, t, n, r, i) { for (let a in e) { let s = e[a]; s && s['x-trace'] && 'object' == typeof s['x-trace'] && ((s.trace = s['x-trace']), delete s['x-trace']),