// source --> https://www.hotelvienna.at/wp-includes/js/jquery/jquery.min.js?ver=3.7.1 
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.1",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}function fe(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}ce.fn=ce.prototype={jquery:t,constructor:ce,length:0,toArray:function(){return ae.call(this)},get:function(e){return null==e?ae.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return ce.each(this,e)},map:function(n){return this.pushStack(ce.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(ae.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(ce.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(ce.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:oe.sort,splice:oe.splice},ce.extend=ce.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||ce.isPlainObject(n)?n:{},i=!1,a[t]=ce.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},ce.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==i.call(e))&&(!(t=r(e))||"function"==typeof(n=ue.call(t,"constructor")&&t.constructor)&&o.call(n)===a)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){m(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(c(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)while(t=e[r++])n+=ce.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(c(Object(e))?ce.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:se.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!l.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(c(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:le}),"function"==typeof Symbol&&(ce.fn[Symbol.iterator]=oe[Symbol.iterator]),ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var pe=oe.pop,de=oe.sort,he=oe.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");ce.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var f=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function p(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}ce.escapeSelector=function(e){return(e+"").replace(f,p)};var ye=C,me=s;!function(){var e,b,w,o,a,T,r,C,d,i,k=me,S=ce.expando,E=0,n=0,s=W(),c=W(),u=W(),h=W(),l=function(e,t){return e===t&&(a=!0),0},f="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",t="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",p="\\["+ge+"*("+t+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+t+"))|)"+ge+"*\\]",g=":("+t+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+p+")*)|.*)\\)|)",v=new RegExp(ge+"+","g"),y=new RegExp("^"+ge+"*,"+ge+"*"),m=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},M=function(){V()},R=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&U(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function z(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function U(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="<a id='"+S+"' href='' disabled='disabled'></a><select id='"+S+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0<I(t,T,null,[e]).length},I.contains=function(e,t){return(e.ownerDocument||e)!=T&&V(e),ce.contains(e,t)},I.attr=function(e,t){(e.ownerDocument||e)!=T&&V(e);var n=b.attrHandle[t.toLowerCase()],r=n&&ue.call(b.attrHandle,t.toLowerCase())?n(e,t,!C):void 0;return void 0!==r?r:e.getAttribute(t)},I.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ce.uniqueSort=function(e){var t,n=[],r=0,i=0;if(a=!le.sortStable,o=!le.sortStable&&ae.call(e,0),de.call(e,l),a){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)he.call(e,n[r],1)}return o=null,e},ce.fn.uniqueSort=function(){return this.pushStack(ce.uniqueSort(ae.apply(this)))},(b=ce.expr={cacheLength:50,createPseudo:F,match:D,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(v," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,g){var v="nth"!==d.slice(0,3),y="last"!==d.slice(-4),m="of-type"===e;return 1===h&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u=v!==y?"nextSibling":"previousSibling",l=e.parentNode,c=m&&e.nodeName.toLowerCase(),f=!n&&!m,p=!1;if(l){if(v){while(u){o=e;while(o=o[u])if(m?fe(o,c):1===o.nodeType)return!1;s=u="only"===d&&!s&&"nextSibling"}return!0}if(s=[y?l.firstChild:l.lastChild],y&&f){p=(a=(r=(i=l[S]||(l[S]={}))[d]||[])[0]===E&&r[1])&&r[2],o=a&&l.childNodes[a];while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if(1===o.nodeType&&++p&&o===e){i[d]=[E,a,p];break}}else if(f&&(p=a=(r=(i=e[S]||(e[S]={}))[d]||[])[0]===E&&r[1]),!1===p)while(o=++a&&o&&o[u]||(p=a=0)||s.pop())if((m?fe(o,c):1===o.nodeType)&&++p&&(f&&((i=o[S]||(o[S]={}))[d]=[E,p]),o===e))break;return(p-=g)===h||p%h==0&&0<=p/h}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||I.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?F(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=se.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:F(function(e){var r=[],i=[],s=ne(e.replace(ve,"$1"));return s[S]?F(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:F(function(t){return function(e){return 0<I(t,e).length}}),contains:F(function(t){return t=t.replace(O,P),function(e){return-1<(e.textContent||ce.text(e)).indexOf(t)}}),lang:F(function(n){return A.test(n||"")||I.error("unsupported lang: "+n),n=n.replace(O,P).toLowerCase(),function(e){var t;do{if(t=C?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=ie.location&&ie.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===r},focus:function(e){return e===function(){try{return T.activeElement}catch(e){}}()&&T.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:z(!1),disabled:z(!0),checked:function(e){return fe(e,"input")&&!!e.checked||fe(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return N.test(e.nodeName)},button:function(e){return fe(e,"input")&&"button"===e.type||fe(e,"button")},text:function(e){var t;return fe(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:X(function(){return[0]}),last:X(function(e,t){return[t-1]}),eq:X(function(e,t,n){return[n<0?n+t:n]}),even:X(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:X(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:X(function(e,t,n){var r;for(r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:X(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=B(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=_(e);function G(){}function Y(e,t){var n,r,i,o,a,s,u,l=c[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=y.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=m.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(ve," ")}),a=a.slice(n.length)),b.filter)!(r=D[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?I.error(e):c(e,s).slice(0)}function Q(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function J(a,e,t){var s=e.dir,u=e.next,l=u||s,c=t&&"parentNode"===l,f=n++;return e.first?function(e,t,n){while(e=e[s])if(1===e.nodeType||c)return a(e,t,n);return!1}:function(e,t,n){var r,i,o=[E,f];if(n){while(e=e[s])if((1===e.nodeType||c)&&a(e,t,n))return!0}else while(e=e[s])if(1===e.nodeType||c)if(i=e[S]||(e[S]={}),u&&fe(e,u))e=e[s]||e;else{if((r=i[l])&&r[0]===E&&r[1]===f)return o[2]=r[2];if((i[l]=o)[2]=a(e,t,n))return!0}return!1}}function K(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Z(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function ee(d,h,g,v,y,e){return v&&!v[S]&&(v=ee(v)),y&&!y[S]&&(y=ee(y,e)),F(function(e,t,n,r){var i,o,a,s,u=[],l=[],c=t.length,f=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)I(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),p=!d||!e&&h?f:Z(f,u,d,n,r);if(g?g(p,s=y||(e?d:c||v)?[]:t,n,r):s=p,v){i=Z(s,l),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(s[l[o]]=!(p[l[o]]=a))}if(e){if(y||d){if(y){i=[],o=s.length;while(o--)(a=s[o])&&i.push(p[o]=a);y(null,s=[],i,r)}o=s.length;while(o--)(a=s[o])&&-1<(i=y?se.call(e,a):u[o])&&(e[i]=!(t[i]=a))}}else s=Z(s===t?s.splice(c,s.length):s),y?y(null,t,s,r):k.apply(t,s)})}function te(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=J(function(e){return e===i},a,!0),l=J(function(e){return-1<se.call(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!=w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[J(K(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return ee(1<s&&K(c),1<s&&Q(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),t,s<n&&te(e.slice(s,n)),n<r&&te(e=e.slice(n)),n<r&&Q(e))}c.push(t)}return K(c)}function ne(e,t){var n,v,y,m,x,r,i=[],o=[],a=u[e+" "];if(!a){t||(t=Y(e)),n=t.length;while(n--)(a=te(t[n]))[S]?i.push(a):o.push(a);(a=u(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=E+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==T||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==T||(V(o),n=!C);while(s=v[a++])if(s(o,t||T,n)){k.call(r,o);break}i&&(E=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=pe.call(r));f=Z(f)}k.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&ce.uniqueSort(r)}return i&&(E=h,w=p),c},m?F(r):r))).selector=e}return a}function re(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&Y(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&C&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(O,P),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=D.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(O,P),H.test(o[0].type)&&U(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&Q(o)))return k.apply(n,r),n;break}}}return(l||ne(e,c))(r,t,!C,n,!t||H.test(e)&&U(t.parentNode)||t),n}G.prototype=b.filters=b.pseudos,b.setFilters=new G,le.sortStable=S.split("").sort(l).join("")===S,V(),le.sortDetached=$(function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))}),ce.find=I,ce.expr[":"]=ce.expr.pseudos,ce.unique=ce.uniqueSort,I.compile=ne,I.select=re,I.setDocument=V,I.tokenize=Y,I.escape=ce.escapeSelector,I.getText=ce.text,I.isXML=ce.isXMLDoc,I.selectors=ce.expr,I.support=ce.support,I.uniqueSort=ce.uniqueSort}();var d=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&ce(e).is(n))break;r.push(e)}return r},h=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},b=ce.expr.match.needsContext,w=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1<se.call(n,e)!==r}):ce.filter(n,e,r)}ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ce.find.matchesSelector(r,e)?[r]:[]:ce.find.matches(e,ce.grep(t,function(e){return 1===e.nodeType}))},ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(ce(e).filter(function(){for(t=0;t<r;t++)if(ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)ce.find(e,i[t],n);return 1<r?ce.uniqueSort(n):n},filter:function(e){return this.pushStack(T(this,e||[],!1))},not:function(e){return this.pushStack(T(this,e||[],!0))},is:function(e){return!!T(this,"string"==typeof e&&b.test(e)?ce(e):e||[],!1).length}});var k,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&ce(e);if(!b.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?se.call(ce(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ce.uniqueSort(ce.merge(this.get(),ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return d(e,"parentNode")},parentsUntil:function(e,t,n){return d(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return d(e,"nextSibling")},prevAll:function(e){return d(e,"previousSibling")},nextUntil:function(e,t,n){return d(e,"nextSibling",n)},prevUntil:function(e,t,n){return d(e,"previousSibling",n)},siblings:function(e){return h((e.parentNode||{}).firstChild,e)},children:function(e){return h(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(fe(e,"template")&&(e=e.content||e),ce.merge([],e.childNodes))}},function(r,i){ce.fn[r]=function(e,t){var n=ce.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=ce.filter(t,n)),1<this.length&&(j[r]||ce.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var D=/[^\x20\t\r\n\f]+/g;function N(e){return e}function q(e){throw e}function L(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}ce.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},ce.each(e.match(D)||[],function(e,t){n[t]=!0}),n):ce.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){ce.each(e,function(e,t){v(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return ce.each(arguments,function(e,t){var n;while(-1<(n=ce.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<ce.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},ce.extend({Deferred:function(e){var o=[["notify","progress",ce.Callbacks("memory"),ce.Callbacks("memory"),2],["resolve","done",ce.Callbacks("once memory"),ce.Callbacks("once memory"),0,"resolved"],["reject","fail",ce.Callbacks("once memory"),ce.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return ce.Deferred(function(r){ce.each(o,function(e,t){var n=v(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&v(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,v(t)?s?t.call(e,l(u,o,N,s),l(u,o,q,s)):(u++,t.call(e,l(u,o,N,s),l(u,o,q,s),l(u,o,N,o.notifyWith))):(a!==N&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){ce.Deferred.exceptionHook&&ce.Deferred.exceptionHook(e,t.error),u<=i+1&&(a!==q&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(ce.Deferred.getErrorHook?t.error=ce.Deferred.getErrorHook():ce.Deferred.getStackHook&&(t.error=ce.Deferred.getStackHook()),ie.setTimeout(t))}}return ce.Deferred(function(e){o[0][3].add(l(0,e,v(r)?r:N,e.notifyWith)),o[1][3].add(l(0,e,v(t)?t:N)),o[2][3].add(l(0,e,v(n)?n:q))}).promise()},promise:function(e){return null!=e?ce.extend(e,a):a}},s={};return ce.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=ae.call(arguments),o=ce.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?ae.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(L(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||v(i[t]&&i[t].then)))return o.then();while(t--)L(i[t],a(t),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ce.Deferred.exceptionHook=function(e,t){ie.console&&ie.console.warn&&e&&H.test(e.name)&&ie.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ce.readyException=function(e){ie.setTimeout(function(){throw e})};var O=ce.Deferred();function P(){C.removeEventListener("DOMContentLoaded",P),ie.removeEventListener("load",P),ce.ready()}ce.fn.ready=function(e){return O.then(e)["catch"](function(e){ce.readyException(e)}),this},ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ce.readyWait:ce.isReady)||(ce.isReady=!0)!==e&&0<--ce.readyWait||O.resolveWith(C,[ce])}}),ce.ready.then=O.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?ie.setTimeout(ce.ready):(C.addEventListener("DOMContentLoaded",P),ie.addEventListener("load",P));var M=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)M(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(ce(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},R=/^-ms-/,I=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function F(e){return e.replace(R,"ms-").replace(I,W)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function B(){this.expando=ce.expando+B.uid++}B.uid=1,B.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[F(t)]=n;else for(r in t)i[F(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][F(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(F):(t=F(t))in r?[t]:t.match(D)||[]).length;while(n--)delete r[t[n]]}(void 0===t||ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!ce.isEmptyObject(t)}};var _=new B,z=new B,X=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,U=/[A-Z]/g;function V(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(U,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:X.test(i)?JSON.parse(i):i)}catch(e){}z.set(e,t,n)}else n=void 0;return n}ce.extend({hasData:function(e){return z.hasData(e)||_.hasData(e)},data:function(e,t,n){return z.access(e,t,n)},removeData:function(e,t){z.remove(e,t)},_data:function(e,t,n){return _.access(e,t,n)},_removeData:function(e,t){_.remove(e,t)}}),ce.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=z.get(o),1===o.nodeType&&!_.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=F(r.slice(5)),V(o,r,i[r]));_.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){z.set(this,n)}):M(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=z.get(o,n))?t:void 0!==(t=V(o,n))?t:void 0;this.each(function(){z.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){z.remove(this,e)})}}),ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=_.get(e,t),n&&(!r||Array.isArray(n)?r=_.access(e,t,ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ce.queue(e,t),r=n.length,i=n.shift(),o=ce._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){ce.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return _.get(e,n)||_.access(e,n,{empty:ce.Callbacks("once memory").add(function(){_.remove(e,[t+"queue",n])})})}}),ce.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?ce.queue(this[0],t):void 0===n?this:this.each(function(){var e=ce.queue(this,t,n);ce._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&ce.dequeue(this,t)})},dequeue:function(e){return this.each(function(){ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ce.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=_.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var G=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Y=new RegExp("^(?:([+-])=|)("+G+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],J=C.documentElement,K=function(e){return ce.contains(e.ownerDocument,e)},Z={composed:!0};J.getRootNode&&(K=function(e){return ce.contains(e.ownerDocument,e)||e.getRootNode(Z)===e.ownerDocument});var ee=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&K(e)&&"none"===ce.css(e,"display")};function te(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return ce.css(e,t,"")},u=s(),l=n&&n[3]||(ce.cssNumber[t]?"":"px"),c=e.nodeType&&(ce.cssNumber[t]||"px"!==l&&+u)&&Y.exec(ce.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)ce.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ne={};function re(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=_.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ee(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ne[s])||(o=a.body.appendChild(a.createElement(s)),u=ce.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ne[s]=u)))):"none"!==n&&(l[c]="none",_.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}ce.fn.extend({show:function(){return re(this,!0)},hide:function(){return re(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ee(this)?ce(this).show():ce(this).hide()})}});var xe,be,we=/^(?:checkbox|radio)$/i,Te=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="<textarea>x</textarea>",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="<option></option>",le.option=!!xe.lastChild;var ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n<r;n++)_.set(e[n],"globalEval",!t||_.get(t[n],"globalEval"))}ke.tbody=ke.tfoot=ke.colgroup=ke.caption=ke.thead,ke.th=ke.td,le.option||(ke.optgroup=ke.option=[1,"<select multiple='multiple'>","</select>"]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))ce.merge(p,o.nodeType?[o]:o);else if(je.test(o)){a=a||f.appendChild(t.createElement("div")),s=(Te.exec(o)||["",""])[1].toLowerCase(),u=ke[s]||ke._default,a.innerHTML=u[1]+ce.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;ce.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<ce.inArray(o,r))i&&i.push(o);else if(l=K(o),a=Se(f.appendChild(o),"script"),l&&Ee(a),n){c=0;while(o=a[c++])Ce.test(o.type||"")&&n.push(o)}return f}var De=/^([^.]*)(?:\.(.+)|)/;function Ne(){return!0}function qe(){return!1}function Le(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=qe;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return ce().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=ce.guid++)),e.each(function(){ce.event.add(this,t,i,r,n)})}function He(e,r,t){t?(_.set(e,r,!1),ce.event.add(e,r,{namespace:!1,handler:function(e){var t,n=_.get(this,r);if(1&e.isTrigger&&this[r]){if(n)(ce.event.special[r]||{}).delegateType&&e.stopPropagation();else if(n=ae.call(arguments),_.set(this,r,n),this[r](),t=_.get(this,r),_.set(this,r,!1),n!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else n&&(_.set(this,r,ce.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ne)}})):void 0===_.get(e,r)&&ce.event.add(e,r,Ne)}ce.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.get(t);if($(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&ce.find.matchesSelector(J,i),n.guid||(n.guid=ce.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof ce&&ce.event.triggered!==e.type?ce.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(D)||[""]).length;while(l--)d=g=(s=De.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=ce.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=ce.event.special[d]||{},c=ce.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ce.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),ce.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=_.hasData(e)&&_.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(D)||[""]).length;while(l--)if(d=g=(s=De.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=ce.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ce.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)ce.event.remove(e,d+t[l],n,r,!0);ce.isEmptyObject(u)&&_.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=ce.event.fix(e),l=(_.get(this,"events")||Object.create(null))[u.type]||[],c=ce.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=ce.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<ce(i,this).index(l):ce.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(ce.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[ce.expando]?e:new ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click",!0),!1},trigger:function(e){var t=this||e;return we.test(t.type)&&t.click&&fe(t,"input")&&He(t,"click"),!0},_default:function(e){var t=e.target;return we.test(t.type)&&t.click&&fe(t,"input")&&_.get(t,"click")||fe(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},ce.Event=function(e,t){if(!(this instanceof ce.Event))return new ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ne:qe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[ce.expando]=!0},ce.Event.prototype={constructor:ce.Event,isDefaultPrevented:qe,isPropagationStopped:qe,isImmediatePropagationStopped:qe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ne,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ne,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ne,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},ce.event.addProp),ce.each({focus:"focusin",blur:"focusout"},function(r,i){function o(e){if(C.documentMode){var t=_.get(this,"handle"),n=ce.event.fix(e);n.type="focusin"===e.type?"focus":"blur",n.isSimulated=!0,t(e),n.target===n.currentTarget&&t(n)}else ce.event.simulate(i,e.target,ce.event.fix(e))}ce.event.special[r]={setup:function(){var e;if(He(this,r,!0),!C.documentMode)return!1;(e=_.get(this,i))||this.addEventListener(i,o),_.set(this,i,(e||0)+1)},trigger:function(){return He(this,r),!0},teardown:function(){var e;if(!C.documentMode)return!1;(e=_.get(this,i)-1)?_.set(this,i,e):(this.removeEventListener(i,o),_.remove(this,i))},_default:function(e){return _.get(e.target,r)},delegateType:i},ce.event.special[i]={setup:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i);n||(C.documentMode?this.addEventListener(i,o):e.addEventListener(r,o,!0)),_.set(t,i,(n||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=C.documentMode?this:e,n=_.get(t,i)-1;n?_.set(t,i,n):(C.documentMode?this.removeEventListener(i,o):e.removeEventListener(r,o,!0),_.remove(t,i))}}}),ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){ce.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||ce.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),ce.fn.extend({on:function(e,t,n,r){return Le(this,e,t,n,r)},one:function(e,t,n,r){return Le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=qe),this.each(function(){ce.event.remove(this,e,n,t)})}});var Oe=/<script|<style|<link/i,Pe=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)ce.event.add(t,i,s[i][n]);z.hasData(e)&&(o=z.access(e),a=ce.extend({},o),z.set(t,a))}}function $e(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=v(d);if(h||1<f&&"string"==typeof d&&!le.checkClone&&Pe.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),$e(t,r,i,o)});if(f&&(t=(e=Ae(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=ce.map(Se(e,"script"),Ie)).length;c<f;c++)u=e,c!==p&&(u=ce.clone(u,!0,!0),s&&ce.merge(a,Se(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,ce.map(a,We),c=0;c<s;c++)u=a[c],Ce.test(u.type||"")&&!_.access(u,"globalEval")&&ce.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?ce._evalUrl&&!u.noModule&&ce._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):m(u.textContent.replace(Me,""),u,l))}return n}function Be(e,t,n){for(var r,i=t?ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ce.cleanData(Se(r)),r.parentNode&&(n&&K(r)&&Ee(Se(r,"script")),r.parentNode.removeChild(r));return e}ce.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=K(e);if(!(le.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ce.isXMLDoc(e)))for(a=Se(c),r=0,i=(o=Se(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&we.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||Se(e),a=a||Se(c),r=0,i=o.length;r<i;r++)Fe(o[r],a[r]);else Fe(e,c);return 0<(a=Se(c,"script")).length&&Ee(a,!f&&Se(e,"script")),c},cleanData:function(e){for(var t,n,r,i=ce.event.special,o=0;void 0!==(n=e[o]);o++)if($(n)){if(t=n[_.expando]){if(t.events)for(r in t.events)i[r]?ce.event.remove(n,r):ce.removeEvent(n,r,t.handle);n[_.expando]=void 0}n[z.expando]&&(n[z.expando]=void 0)}}}),ce.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return M(this,function(e){return void 0===e?ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return $e(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e)})},prepend:function(){return $e(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return $e(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ce.cleanData(Se(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ce.clone(this,e,t)})},html:function(e){return M(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ke[(Te.exec(e)||["",""])[1].toLowerCase()]){e=ce.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(ce.cleanData(Se(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return $e(this,arguments,function(e){var t=this.parentNode;ce.inArray(this,n)<0&&(ce.cleanData(Se(this)),t&&t.replaceChild(e,this))},n)}}),ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){ce.fn[e]=function(e){for(var t,n=[],r=ce(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),ce(r[o])[a](t),s.apply(n,t.get());return this.pushStack(n)}});var _e=new RegExp("^("+G+")(?!px)[a-z%]+$","i"),ze=/^--/,Xe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=ie),t.getComputedStyle(e)},Ue=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Ve=new RegExp(Q.join("|"),"i");function Ge(e,t,n){var r,i,o,a,s=ze.test(t),u=e.style;return(n=n||Xe(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||K(e)||(a=ce.style(e,t)),!le.pixelBoxStyles()&&_e.test(a)&&Ve.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",J.appendChild(u).appendChild(l);var e=ie.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),J.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=C.createElement("div"),l=C.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",le.clearCloneStyle="content-box"===l.style.backgroundClip,ce.extend(le,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=C.createElement("table"),t=C.createElement("tr"),n=C.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",J.appendChild(e).appendChild(t).appendChild(n),r=ie.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,J.removeChild(e)),a}}))}();var Qe=["Webkit","Moz","ms"],Je=C.createElement("div").style,Ke={};function Ze(e){var t=ce.cssProps[e]||Ke[e];return t||(e in Je?e:Ke[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=Qe.length;while(n--)if((e=Qe[n]+t)in Je)return e}(e)||e)}var et=/^(none|table(?!-c[ea]).+)/,tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var r=Y.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function it(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=ce.css(e,n+Q[a],!0,i)),r?("content"===n&&(u-=ce.css(e,"padding"+Q[a],!0,i)),"margin"!==n&&(u-=ce.css(e,"border"+Q[a]+"Width",!0,i))):(u+=ce.css(e,"padding"+Q[a],!0,i),"padding"!==n?u+=ce.css(e,"border"+Q[a]+"Width",!0,i):s+=ce.css(e,"border"+Q[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u+l}function ot(e,t,n){var r=Xe(e),i=(!le.boxSizingReliable()||n)&&"border-box"===ce.css(e,"boxSizing",!1,r),o=i,a=Ge(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(_e.test(a)){if(!n)return a;a="auto"}return(!le.boxSizingReliable()&&i||!le.reliableTrDimensions()&&fe(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===ce.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===ce.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+it(e,t,n||(i?"border":"content"),o,r,a)+"px"}function at(e,t,n,r,i){return new at.prototype.init(e,t,n,r,i)}ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ge(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=F(t),u=ze.test(t),l=e.style;if(u||(t=Ze(s)),a=ce.cssHooks[t]||ce.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=Y.exec(n))&&i[1]&&(n=te(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(ce.cssNumber[s]?"":"px")),le.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=F(t);return ze.test(t)||(t=Ze(s)),(a=ce.cssHooks[t]||ce.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Ge(e,t,r)),"normal"===i&&t in nt&&(i=nt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ce.each(["height","width"],function(e,u){ce.cssHooks[u]={get:function(e,t,n){if(t)return!et.test(ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ot(e,u,n):Ue(e,tt,function(){return ot(e,u,n)})},set:function(e,t,n){var r,i=Xe(e),o=!le.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===ce.css(e,"boxSizing",!1,i),s=n?it(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-it(e,u,"border",!1,i)-.5)),s&&(r=Y.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=ce.css(e,u)),rt(0,t,s)}}}),ce.cssHooks.marginLeft=Ye(le.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ge(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),ce.each({margin:"",padding:"",border:"Width"},function(i,o){ce.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Q[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(ce.cssHooks[i+o].set=rt)}),ce.fn.extend({css:function(e,t){return M(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Xe(e),i=t.length;a<i;a++)o[t[a]]=ce.css(e,t[a],!1,r);return o}return void 0!==n?ce.style(e,t,n):ce.css(e,t)},e,t,1<arguments.length)}}),((ce.Tween=at).prototype={constructor:at,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ce.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}}).init.prototype=at.prototype,(at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ce.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ce.fx.step[e.prop]?ce.fx.step[e.prop](e):1!==e.elem.nodeType||!ce.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:ce.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ce.fx=at.prototype.init,ce.fx.step={};var st,ut,lt,ct,ft=/^(?:toggle|show|hide)$/,pt=/queueHooks$/;function dt(){ut&&(!1===C.hidden&&ie.requestAnimationFrame?ie.requestAnimationFrame(dt):ie.setTimeout(dt,ce.fx.interval),ce.fx.tick())}function ht(){return ie.setTimeout(function(){st=void 0}),st=Date.now()}function gt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=Q[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function vt(e,t,n){for(var r,i=(yt.tweeners[t]||[]).concat(yt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function yt(o,e,t){var n,a,r=0,i=yt.prefilters.length,s=ce.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=st||ht(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:ce.extend({},e),opts:ce.extend(!0,{specialEasing:{},easing:ce.easing._default},t),originalProperties:e,originalOptions:t,startTime:st||ht(),duration:t.duration,tweens:[],createTween:function(e,t){var n=ce.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=F(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ce.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=yt.prefilters[r].call(l,o,c,l.opts))return v(n.stop)&&(ce._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return ce.map(c,vt,l),v(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),ce.fx.timer(ce.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}ce.Animation=ce.extend(yt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return te(n.elem,e,Y.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(D);for(var n,r=0,i=e.length;r<i;r++)n=e[r],yt.tweeners[n]=yt.tweeners[n]||[],yt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ee(e),v=_.get(e,"fxshow");for(r in n.queue||(null==(a=ce._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,ce.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ft.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||ce.style(e,r)}if((u=!ce.isEmptyObject(t))||!ce.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=_.get(e,"display")),"none"===(c=ce.css(e,"display"))&&(l?c=l:(re([e],!0),l=e.style.display||l,c=ce.css(e,"display"),re([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===ce.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=_.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&re([e],!0),p.done(function(){for(r in g||re([e]),_.remove(e,"fxshow"),d)ce.style(e,r,d[r])})),u=vt(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?yt.prefilters.unshift(e):yt.prefilters.push(e)}}),ce.speed=function(e,t,n){var r=e&&"object"==typeof e?ce.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in ce.fx.speeds?r.duration=ce.fx.speeds[r.duration]:r.duration=ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&ce.dequeue(this,r.queue)},r},ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ee).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=ce.isEmptyObject(t),o=ce.speed(e,n,r),a=function(){var e=yt(this,ce.extend({},t),o);(i||_.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=ce.timers,r=_.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&pt.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||ce.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=_.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=ce.timers,o=n?n.length:0;for(t.finish=!0,ce.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),ce.each(["toggle","show","hide"],function(e,r){var i=ce.fn[r];ce.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(gt(r,!0),e,t,n)}}),ce.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){ce.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),ce.timers=[],ce.fx.tick=function(){var e,t=0,n=ce.timers;for(st=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||ce.fx.stop(),st=void 0},ce.fx.timer=function(e){ce.timers.push(e),ce.fx.start()},ce.fx.interval=13,ce.fx.start=function(){ut||(ut=!0,dt())},ce.fx.stop=function(){ut=null},ce.fx.speeds={slow:600,fast:200,_default:400},ce.fn.delay=function(r,e){return r=ce.fx&&ce.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=ie.setTimeout(e,r);t.stop=function(){ie.clearTimeout(n)}})},lt=C.createElement("input"),ct=C.createElement("select").appendChild(C.createElement("option")),lt.type="checkbox",le.checkOn=""!==lt.value,le.optSelected=ct.selected,(lt=C.createElement("input")).value="t",lt.type="radio",le.radioValue="t"===lt.value;var mt,xt=ce.expr.attrHandle;ce.fn.extend({attr:function(e,t){return M(this,ce.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){ce.removeAttr(this,e)})}}),ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?ce.prop(e,t,n):(1===o&&ce.isXMLDoc(e)||(i=ce.attrHooks[t.toLowerCase()]||(ce.expr.match.bool.test(t)?mt:void 0)),void 0!==n?null===n?void ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=ce.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!le.radioValue&&"radio"===t&&fe(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(D);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),mt={set:function(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(D)||[]}ce.fn.extend({prop:function(e,t){return M(this,ce.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[ce.propFix[e]||e]})}}),ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ce.isXMLDoc(e)||(t=ce.propFix[t]||t,i=ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ce.find.attr(e,"tabindex");return t?parseInt(t,10):bt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),le.optSelected||(ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ce.propFix[this.toLowerCase()]=this}),ce.fn.extend({addClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).addClass(t.call(this,e,Ct(this)))}):(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this},removeClass:function(t){var e,n,r,i,o,a;return v(t)?this.each(function(e){ce(this).removeClass(t.call(this,e,Ct(this)))}):arguments.length?(e=kt(t)).length?this.each(function(){if(r=Ct(this),n=1===this.nodeType&&" "+Tt(r)+" "){for(o=0;o<e.length;o++){i=e[o];while(-1<n.indexOf(" "+i+" "))n=n.replace(" "+i+" "," ")}a=Tt(n),r!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(t,n){var e,r,i,o,a=typeof t,s="string"===a||Array.isArray(t);return v(t)?this.each(function(e){ce(this).toggleClass(t.call(this,e,Ct(this),n),n)}):"boolean"==typeof n&&s?n?this.addClass(t):this.removeClass(t):(e=kt(t),this.each(function(){if(s)for(o=ce(this),i=0;i<e.length;i++)r=e[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==a||((r=Ct(this))&&_.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":_.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+Tt(Ct(n))+" ").indexOf(t))return!0;return!1}});var St=/\r/g;ce.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=v(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,ce(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=ce.map(t,function(e){return null==e?"":e+""})),(r=ce.valHooks[this.type]||ce.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=ce.valHooks[t.type]||ce.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(St,""):null==e?"":e:void 0}}),ce.extend({valHooks:{option:{get:function(e){var t=ce.find.attr(e,"value");return null!=t?t:Tt(ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!fe(n.parentNode,"optgroup"))){if(t=ce(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=ce.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<ce.inArray(ce.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),ce.each(["radio","checkbox"],function(){ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<ce.inArray(ce(e).val(),t)}},le.checkOn||(ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Et=ie.location,jt={guid:Date.now()},At=/\?/;ce.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new ie.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||ce.error("Invalid XML: "+(n?ce.map(n.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var Dt=/^(?:focusinfocus|focusoutblur)$/,Nt=function(e){e.stopPropagation()};ce.extend(ce.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||C],d=ue.call(e,"type")?e.type:e,h=ue.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||C,3!==n.nodeType&&8!==n.nodeType&&!Dt.test(d+ce.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[ce.expando]?e:new ce.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ce.makeArray(t,[e]),c=ce.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!y(n)){for(s=c.delegateType||d,Dt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||C)&&p.push(a.defaultView||a.parentWindow||ie)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(_.get(o,"events")||Object.create(null))[e.type]&&_.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&$(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!$(n)||u&&v(n[d])&&!y(n)&&((a=n[u])&&(n[u]=null),ce.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,Nt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,Nt),ce.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=ce.extend(new ce.Event,n,{type:e,isSimulated:!0});ce.event.trigger(r,null,t)}}),ce.fn.extend({trigger:function(e,t){return this.each(function(){ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ce.event.trigger(e,t,n,!0)}});var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Pt(n,e,r,i){var t;if(Array.isArray(e))ce.each(e,function(e,t){r||qt.test(n)?i(n,t):Pt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==x(e))i(n,e);else for(t in e)Pt(n+"["+t+"]",e[t],r,i)}ce.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ce.isPlainObject(e))ce.each(e,function(){i(this.name,this.value)});else for(n in e)Pt(n,e[n],t,i);return r.join("&")},ce.fn.extend({serialize:function(){return ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ce.prop(this,"elements");return e?ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ce(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!we.test(e))}).map(function(e,t){var n=ce(this).val();return null==n?null:Array.isArray(n)?ce.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Mt=/%20/g,Rt=/#.*$/,It=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,$t=/^\/\//,Bt={},_t={},zt="*/".concat("*"),Xt=C.createElement("a");function Ut(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(D)||[];if(v(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Vt(t,i,o,a){var s={},u=t===_t;function l(e){var r;return s[e]=!0,ce.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function Gt(e,t){var n,r,i=ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&ce.extend(!0,e,r),e}Xt.href=Et.href,ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Gt(Gt(e,ce.ajaxSettings),t):Gt(ce.ajaxSettings,e)},ajaxPrefilter:Ut(Bt),ajaxTransport:Ut(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=ce.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?ce(y):ce.event,x=ce.Deferred(),b=ce.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Wt.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Et.href)+"").replace($t,Et.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(D)||[""],null==v.crossDomain){r=C.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Xt.protocol+"//"+Xt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=ce.param(v.data,v.traditional)),Vt(Bt,v,t,T),h)return T;for(i in(g=ce.event&&v.global)&&0==ce.active++&&ce.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ft.test(v.type),f=v.url.replace(Rt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(Mt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(At.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(It,"$1"),o=(At.test(f)?"&":"?")+"_="+jt.guid+++o),v.url=f+o),v.ifModified&&(ce.lastModified[f]&&T.setRequestHeader("If-Modified-Since",ce.lastModified[f]),ce.etag[f]&&T.setRequestHeader("If-None-Match",ce.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+zt+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Vt(_t,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=ie.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&ie.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<ce.inArray("script",v.dataTypes)&&ce.inArray("json",v.dataTypes)<0&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(ce.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(ce.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--ce.active||ce.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return ce.get(e,t,n,"json")},getScript:function(e,t){return ce.get(e,void 0,t,"script")}}),ce.each(["get","post"],function(e,i){ce[i]=function(e,t,n,r){return v(t)&&(r=r||n,n=t,t=void 0),ce.ajax(ce.extend({url:e,type:i,dataType:r,data:t,success:n},ce.isPlainObject(e)&&e))}}),ce.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),ce._evalUrl=function(e,t,n){return ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ce.globalEval(e,t,n)}})},ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return v(n)?this.each(function(e){ce(this).wrapInner(n.call(this,e))}):this.each(function(){var e=ce(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=v(t);return this.each(function(e){ce(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){ce(this).replaceWith(this.childNodes)}),this}}),ce.expr.pseudos.hidden=function(e){return!ce.expr.pseudos.visible(e)},ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ce.ajaxSettings.xhr=function(){try{return new ie.XMLHttpRequest}catch(e){}};var Yt={0:200,1223:204},Qt=ce.ajaxSettings.xhr();le.cors=!!Qt&&"withCredentials"in Qt,le.ajax=Qt=!!Qt,ce.ajaxTransport(function(i){var o,a;if(le.cors||Qt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(Yt[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&ie.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ce.globalEval(e),e}}}),ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),ce.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=ce("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=Tt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ce("<div>").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return M(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return M(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=ae.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(ae.call(arguments)))}).guid=e.guid=e.guid||ce.guid++,i},ce.holdReady=function(e){e?ce.readyWait++:ce.ready(!0)},ce.isArray=Array.isArray,ce.parseJSON=JSON.parse,ce.nodeName=fe,ce.isFunction=v,ce.isWindow=y,ce.camelCase=F,ce.type=x,ce.now=Date.now,ce.isNumeric=function(e){var t=ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},ce.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return ce});var tn=ie.jQuery,nn=ie.$;return ce.noConflict=function(e){return ie.$===ce&&(ie.$=nn),e&&ie.jQuery===ce&&(ie.jQuery=tn),ce},"undefined"==typeof e&&(ie.jQuery=ie.$=ce),ce});
jQuery.noConflict();
// source --> https://www.hotelvienna.at/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1 
/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
// source --> https://www.hotelvienna.at/wp-content/plugins/royal-elementor-addons/assets/js/lib/dompurify/dompurify.min.js?ver=3.0.6 
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=R(Array.prototype.forEach),m=R(Array.prototype.lastIndexOf),p=R(Array.prototype.pop),f=R(Array.prototype.push),d=R(Array.prototype.splice),h=R(String.prototype.toLowerCase),g=R(String.prototype.toString),T=R(String.prototype.match),y=R(String.prototype.replace),E=R(String.prototype.indexOf),A=R(String.prototype.trim),_=R(Object.prototype.hasOwnProperty),S=R(RegExp.prototype.test),b=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function R(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function w(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function O(e){for(let t=0;t<e.length;t++){_(e,t)||(e[t]=null)}return e}function D(t){const n=l(null);for(const[o,r]of e(t)){_(t,o)&&(Array.isArray(r)?n[o]=O(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=D(r):n[o]=r)}return n}function v(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),x=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),M=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),U=i(["#text"]),z=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),P=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),H=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=a(/<%[\w\W]*|[\w\W]*%>/gm),G=a(/\$\{[\w\W]*/gm),Y=a(/^data-[\-\w.\u00B7-\uFFFF]+$/),j=a(/^aria-[\-\w]+$/),X=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=a(/^(?:\w+script|data):/i),$=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K=a(/^html$/i),V=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,ARIA_ATTR:j,ATTR_WHITESPACE:$,CUSTOM_ELEMENT:V,DATA_ATTR:Y,DOCTYPE_NAME:K,ERB_EXPR:W,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:q,MUSTACHE_EXPR:B,TMPLIT_EXPR:G});const J=1,Q=3,ee=7,te=8,ne=9,oe=function(){return"undefined"==typeof window?null:window};var re=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:oe();const o=e=>t(e);if(o.version="3.2.6",o.removed=[],!n||!n.document||n.document.nodeType!==ne||!n.Element)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:R,Element:O,NodeFilter:B,NamedNodeMap:W=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:G,DOMParser:Y,trustedTypes:j}=n,q=O.prototype,$=v(q,"cloneNode"),V=v(q,"remove"),re=v(q,"nextSibling"),ie=v(q,"childNodes"),ae=v(q,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let le,ce="";const{implementation:se,createNodeIterator:ue,createDocumentFragment:me,getElementsByTagName:pe}=r,{importNode:fe}=a;let de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};o.isSupported="function"==typeof e&&"function"==typeof ae&&se&&void 0!==se.createHTMLDocument;const{MUSTACHE_EXPR:he,ERB_EXPR:ge,TMPLIT_EXPR:Te,DATA_ATTR:ye,ARIA_ATTR:Ee,IS_SCRIPT_OR_DATA:Ae,ATTR_WHITESPACE:_e,CUSTOM_ELEMENT:Se}=Z;let{IS_ALLOWED_URI:be}=Z,Ne=null;const Re=w({},[...L,...C,...x,...M,...U]);let we=null;const Oe=w({},[...z,...P,...H,...F]);let De=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ve=null,Le=null,Ce=!0,xe=!0,Ie=!1,Me=!0,ke=!1,Ue=!0,ze=!1,Pe=!1,He=!1,Fe=!1,Be=!1,We=!1,Ge=!0,Ye=!1,je=!0,Xe=!1,qe={},$e=null;const Ke=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ve=null;const Ze=w({},["audio","video","img","source","image","track"]);let Je=null;const Qe=w({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),et="http://www.w3.org/1998/Math/MathML",tt="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let ot=nt,rt=!1,it=null;const at=w({},[et,tt,nt],g);let lt=w({},["mi","mo","mn","ms","mtext"]),ct=w({},["annotation-xml"]);const st=w({},["title","style","font","a","script"]);let ut=null;const mt=["application/xhtml+xml","text/html"];let pt=null,ft=null;const dt=r.createElement("form"),ht=function(e){return e instanceof RegExp||e instanceof Function},gt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ft||ft!==e){if(e&&"object"==typeof e||(e={}),e=D(e),ut=-1===mt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,pt="application/xhtml+xml"===ut?g:h,Ne=_(e,"ALLOWED_TAGS")?w({},e.ALLOWED_TAGS,pt):Re,we=_(e,"ALLOWED_ATTR")?w({},e.ALLOWED_ATTR,pt):Oe,it=_(e,"ALLOWED_NAMESPACES")?w({},e.ALLOWED_NAMESPACES,g):at,Je=_(e,"ADD_URI_SAFE_ATTR")?w(D(Qe),e.ADD_URI_SAFE_ATTR,pt):Qe,Ve=_(e,"ADD_DATA_URI_TAGS")?w(D(Ze),e.ADD_DATA_URI_TAGS,pt):Ze,$e=_(e,"FORBID_CONTENTS")?w({},e.FORBID_CONTENTS,pt):Ke,ve=_(e,"FORBID_TAGS")?w({},e.FORBID_TAGS,pt):D({}),Le=_(e,"FORBID_ATTR")?w({},e.FORBID_ATTR,pt):D({}),qe=!!_(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,Ie=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Me=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ue=!1!==e.SAFE_FOR_XML,ze=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,Be=e.RETURN_DOM_FRAGMENT||!1,We=e.RETURN_TRUSTED_TYPE||!1,He=e.FORCE_BODY||!1,Ge=!1!==e.SANITIZE_DOM,Ye=e.SANITIZE_NAMED_PROPS||!1,je=!1!==e.KEEP_CONTENT,Xe=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||X,ot=e.NAMESPACE||nt,lt=e.MATHML_TEXT_INTEGRATION_POINTS||lt,ct=e.HTML_INTEGRATION_POINTS||ct,De=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(De.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ht(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(De.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(De.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(xe=!1),Be&&(Fe=!0),qe&&(Ne=w({},U),we=[],!0===qe.html&&(w(Ne,L),w(we,z)),!0===qe.svg&&(w(Ne,C),w(we,P),w(we,F)),!0===qe.svgFilters&&(w(Ne,x),w(we,P),w(we,F)),!0===qe.mathMl&&(w(Ne,M),w(we,H),w(we,F))),e.ADD_TAGS&&(Ne===Re&&(Ne=D(Ne)),w(Ne,e.ADD_TAGS,pt)),e.ADD_ATTR&&(we===Oe&&(we=D(we)),w(we,e.ADD_ATTR,pt)),e.ADD_URI_SAFE_ATTR&&w(Je,e.ADD_URI_SAFE_ATTR,pt),e.FORBID_CONTENTS&&($e===Ke&&($e=D($e)),w($e,e.FORBID_CONTENTS,pt)),je&&(Ne["#text"]=!0),ze&&w(Ne,["html","head","body"]),Ne.table&&(w(Ne,["tbody"]),delete ve.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');le=e.TRUSTED_TYPES_POLICY,ce=le.createHTML("")}else void 0===le&&(le=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(j,c)),null!==le&&"string"==typeof ce&&(ce=le.createHTML(""));i&&i(e),ft=e}},Tt=w({},[...C,...x,...I]),yt=w({},[...M,...k]),Et=function(e){f(o.removed,{element:e});try{ae(e).removeChild(e)}catch(t){V(e)}},At=function(e,t){try{f(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Fe||Be)try{Et(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},_t=function(e){let t=null,n=null;if(He)e="<remove></remove>"+e;else{const t=T(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ut&&ot===nt&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=le?le.createHTML(e):e;if(ot===nt)try{t=(new Y).parseFromString(o,ut)}catch(e){}if(!t||!t.documentElement){t=se.createDocument(ot,"template",null);try{t.documentElement.innerHTML=rt?ce:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ot===nt?pe.call(t,ze?"html":"body")[0]:ze?t.documentElement:i},St=function(e){return ue.call(e.ownerDocument||e,e,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},bt=function(e){return e instanceof G&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof W)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof R&&e instanceof R};function Rt(e,t,n){u(e,(e=>{e.call(o,t,n,ft)}))}const wt=function(e){let t=null;if(Rt(de.beforeSanitizeElements,e,null),bt(e))return Et(e),!0;const n=pt(e.nodeName);if(Rt(de.uponSanitizeElement,e,{tagName:n,allowedTags:Ne}),Ue&&e.hasChildNodes()&&!Nt(e.firstElementChild)&&S(/<[/\w!]/g,e.innerHTML)&&S(/<[/\w!]/g,e.textContent))return Et(e),!0;if(e.nodeType===ee)return Et(e),!0;if(Ue&&e.nodeType===te&&S(/<[/\w]/g,e.data))return Et(e),!0;if(!Ne[n]||ve[n]){if(!ve[n]&&Dt(n)){if(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,n))return!1;if(De.tagNameCheck instanceof Function&&De.tagNameCheck(n))return!1}if(je&&!$e[n]){const t=ae(e)||e.parentNode,n=ie(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=$(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,re(e))}}}return Et(e),!0}return e instanceof O&&!function(e){let t=ae(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});const n=h(e.tagName),o=h(t.tagName);return!!it[e.namespaceURI]&&(e.namespaceURI===tt?t.namespaceURI===nt?"svg"===n:t.namespaceURI===et?"svg"===n&&("annotation-xml"===o||lt[o]):Boolean(Tt[n]):e.namespaceURI===et?t.namespaceURI===nt?"math"===n:t.namespaceURI===tt?"math"===n&&ct[o]:Boolean(yt[n]):e.namespaceURI===nt?!(t.namespaceURI===tt&&!ct[o])&&!(t.namespaceURI===et&&!lt[o])&&!yt[n]&&(st[n]||!Tt[n]):!("application/xhtml+xml"!==ut||!it[e.namespaceURI]))}(e)?(Et(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!S(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Q&&(t=e.textContent,u([he,ge,Te],(e=>{t=y(t,e," ")})),e.textContent!==t&&(f(o.removed,{element:e.cloneNode()}),e.textContent=t)),Rt(de.afterSanitizeElements,e,null),!1):(Et(e),!0)},Ot=function(e,t,n){if(Ge&&("id"===t||"name"===t)&&(n in r||n in dt))return!1;if(xe&&!Le[t]&&S(ye,t));else if(Ce&&S(Ee,t));else if(!we[t]||Le[t]){if(!(Dt(e)&&(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,e)||De.tagNameCheck instanceof Function&&De.tagNameCheck(e))&&(De.attributeNameCheck instanceof RegExp&&S(De.attributeNameCheck,t)||De.attributeNameCheck instanceof Function&&De.attributeNameCheck(t))||"is"===t&&De.allowCustomizedBuiltInElements&&(De.tagNameCheck instanceof RegExp&&S(De.tagNameCheck,n)||De.tagNameCheck instanceof Function&&De.tagNameCheck(n))))return!1}else if(Je[t]);else if(S(be,y(n,_e,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==E(n,"data:")||!Ve[e]){if(Ie&&!S(Ae,y(n,_e,"")));else if(n)return!1}else;return!0},Dt=function(e){return"annotation-xml"!==e&&T(e,Se)},vt=function(e){Rt(de.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||bt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=pt(a),m=c;let f="value"===a?m:A(m);if(n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,Rt(de.uponSanitizeAttribute,e,n),f=n.attrValue,!Ye||"id"!==s&&"name"!==s||(At(a,e),f="user-content-"+f),Ue&&S(/((--!?|])>)|<\/(style|title)/i,f)){At(a,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){At(a,e);continue}if(!Me&&S(/\/>/i,f)){At(a,e);continue}ke&&u([he,ge,Te],(e=>{f=y(f,e," ")}));const d=pt(e.nodeName);if(Ot(d,s,f)){if(le&&"object"==typeof j&&"function"==typeof j.getAttributeType)if(l);else switch(j.getAttributeType(d,s)){case"TrustedHTML":f=le.createHTML(f);break;case"TrustedScriptURL":f=le.createScriptURL(f)}if(f!==m)try{l?e.setAttributeNS(l,a,f):e.setAttribute(a,f),bt(e)?Et(e):p(o.removed)}catch(t){At(a,e)}}else At(a,e)}Rt(de.afterSanitizeAttributes,e,null)},Lt=function e(t){let n=null;const o=St(t);for(Rt(de.beforeSanitizeShadowDOM,t,null);n=o.nextNode();)Rt(de.uponSanitizeShadowNode,n,null),wt(n),vt(n),n.content instanceof s&&e(n.content);Rt(de.afterSanitizeShadowDOM,t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(rt=!e,rt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw b("toString is not a function");if("string"!=typeof(e=e.toString()))throw b("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Pe||gt(t),o.removed=[],"string"==typeof e&&(Xe=!1),Xe){if(e.nodeName){const t=pt(e.nodeName);if(!Ne[t]||ve[t])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof R)n=_t("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===J&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!ze&&-1===e.indexOf("<"))return le&&We?le.createHTML(e):e;if(n=_t(e),!n)return Fe?null:We?ce:""}n&&He&&Et(n.firstChild);const c=St(Xe?e:n);for(;i=c.nextNode();)wt(i),vt(i),i.content instanceof s&&Lt(i.content);if(Xe)return e;if(Fe){if(Be)for(l=me.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(we.shadowroot||we.shadowrootmode)&&(l=fe.call(a,l,!0)),l}let m=ze?n.outerHTML:n.innerHTML;return ze&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(K,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([he,ge,Te],(e=>{m=y(m,e," ")})),le&&We?le.createHTML(m):m},o.setConfig=function(){gt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Pe=!0},o.clearConfig=function(){ft=null,Pe=!1},o.isValidAttribute=function(e,t,n){ft||gt({});const o=pt(e),r=pt(t);return Ot(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&f(de[e],t)},o.removeHook=function(e,t){if(void 0!==t){const n=m(de[e],t);return-1===n?void 0:d(de[e],n,1)[0]}return p(de[e])},o.removeHooks=function(e){de[e]=[]},o.removeAllHooks=function(){de={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},o}();return re}));
//# sourceMappingURL=purify.min.js.map;
// source --> https://my.hotelvienna.at/booking-likemagic.min.js 
var kQ=Object.defineProperty,SQ=Object.defineProperties,xQ=Object.getOwnPropertyDescriptors,H0=Object.getOwnPropertySymbols,GP=Object.prototype.hasOwnProperty,YP=Object.prototype.propertyIsEnumerable,WP=(xe,ke,Ve)=>ke in xe?kQ(xe,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):xe[ke]=Ve,Rt=(xe,ke)=>{for(var Ve in ke||(ke={}))GP.call(ke,Ve)&&WP(xe,Ve,ke[Ve]);if(H0)for(var Ve of H0(ke))YP.call(ke,Ve)&&WP(xe,Ve,ke[Ve]);return xe},wo=(xe,ke)=>SQ(xe,xQ(ke)),j0=xe=>"symbol"==typeof xe?xe:xe+"",Vo=(xe,ke)=>{var Ve={};for(var we in xe)GP.call(xe,we)&&ke.indexOf(we)<0&&(Ve[we]=xe[we]);if(null!=xe&&H0)for(var we of H0(xe))ke.indexOf(we)<0&&YP.call(xe,we)&&(Ve[we]=xe[we]);return Ve};(self.webpackChunkbooking_search_widget=self.webpackChunkbooking_search_widget||[]).push([[179],{212:(module,exports,__webpack_require__)=>{var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(xe){return"[object Array]"===Object.prototype.toString.call(xe)}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(xe){return"object"==typeof xe&&xe.buffer&&xe.buffer.constructor===ArrayBuffer});var createOutputMethod=function(xe,ke){return function(Ve){return new Sha256(ke,!0).update(Ve)[xe]()}},createMethod=function(xe){var ke=createOutputMethod("hex",xe);NODE_JS&&(ke=nodeWrap(ke,xe)),ke.create=function(){return new Sha256(xe)},ke.update=function(je){return ke.create().update(je)};for(var Ve=0;Ve<OUTPUT_TYPES.length;++Ve){var we=OUTPUT_TYPES[Ve];ke[we]=createOutputMethod(we,xe)}return ke},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(xe){if("string"==typeof xe)return crypto.createHash(algorithm).update(xe,"utf8").digest("hex");if(null==xe)throw new Error(ERROR);return xe.constructor===ArrayBuffer&&(xe=new Uint8Array(xe)),Array.isArray(xe)||ArrayBuffer.isView(xe)||xe.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(xe)).digest("hex"):method(xe)};return nodeMethod},createHmacOutputMethod=function(xe,ke){return function(Ve,we){return new HmacSha256(Ve,ke,!0).update(we)[xe]()}},createHmacMethod=function(xe){var ke=createHmacOutputMethod("hex",xe);ke.create=function(je){return new HmacSha256(je,xe)},ke.update=function(je,be){return ke.create(je).update(be)};for(var Ve=0;Ve<OUTPUT_TYPES.length;++Ve){var we=OUTPUT_TYPES[Ve];ke[we]=createHmacOutputMethod(we,xe)}return ke};function Sha256(xe,ke){ke?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],xe?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=xe}function HmacSha256(xe,ke,Ve){var we,je=typeof xe;if("string"===je){var bt,be=[],Xe=xe.length,Se=0;for(we=0;we<Xe;++we)(bt=xe.charCodeAt(we))<128?be[Se++]=bt:bt<2048?(be[Se++]=192|bt>>6,be[Se++]=128|63&bt):bt<55296||bt>=57344?(be[Se++]=224|bt>>12,be[Se++]=128|bt>>6&63,be[Se++]=128|63&bt):(bt=65536+((1023&bt)<<10|1023&xe.charCodeAt(++we)),be[Se++]=240|bt>>18,be[Se++]=128|bt>>12&63,be[Se++]=128|bt>>6&63,be[Se++]=128|63&bt);xe=be}else{if("object"!==je)throw new Error(ERROR);if(null===xe)throw new Error(ERROR);if(ARRAY_BUFFER&&xe.constructor===ArrayBuffer)xe=new Uint8Array(xe);else if(!(Array.isArray(xe)||ARRAY_BUFFER&&ArrayBuffer.isView(xe)))throw new Error(ERROR)}xe.length>64&&(xe=new Sha256(ke,!0).update(xe).array());var Ge=[],Ct=[];for(we=0;we<64;++we){var yt=xe[we]||0;Ge[we]=92^yt,Ct[we]=54^yt}Sha256.call(this,ke,Ve),this.update(Ct),this.oKeyPad=Ge,this.inner=!0,this.sharedMemory=Ve}Sha256.prototype.update=function(xe){if(!this.finalized){var ke,Ve=typeof xe;if("string"!==Ve){if("object"!==Ve)throw new Error(ERROR);if(null===xe)throw new Error(ERROR);if(ARRAY_BUFFER&&xe.constructor===ArrayBuffer)xe=new Uint8Array(xe);else if(!(Array.isArray(xe)||ARRAY_BUFFER&&ArrayBuffer.isView(xe)))throw new Error(ERROR);ke=!0}for(var we,be,je=0,Xe=xe.length,Se=this.blocks;je<Xe;){if(this.hashed&&(this.hashed=!1,Se[0]=this.block,Se[16]=Se[1]=Se[2]=Se[3]=Se[4]=Se[5]=Se[6]=Se[7]=Se[8]=Se[9]=Se[10]=Se[11]=Se[12]=Se[13]=Se[14]=Se[15]=0),ke)for(be=this.start;je<Xe&&be<64;++je)Se[be>>2]|=xe[je]<<SHIFT[3&be++];else for(be=this.start;je<Xe&&be<64;++je)(we=xe.charCodeAt(je))<128?Se[be>>2]|=we<<SHIFT[3&be++]:we<2048?(Se[be>>2]|=(192|we>>6)<<SHIFT[3&be++],Se[be>>2]|=(128|63&we)<<SHIFT[3&be++]):we<55296||we>=57344?(Se[be>>2]|=(224|we>>12)<<SHIFT[3&be++],Se[be>>2]|=(128|we>>6&63)<<SHIFT[3&be++],Se[be>>2]|=(128|63&we)<<SHIFT[3&be++]):(we=65536+((1023&we)<<10|1023&xe.charCodeAt(++je)),Se[be>>2]|=(240|we>>18)<<SHIFT[3&be++],Se[be>>2]|=(128|we>>12&63)<<SHIFT[3&be++],Se[be>>2]|=(128|we>>6&63)<<SHIFT[3&be++],Se[be>>2]|=(128|63&we)<<SHIFT[3&be++]);this.lastByteIndex=be,this.bytes+=be-this.start,be>=64?(this.block=Se[16],this.start=be-64,this.hash(),this.hashed=!0):this.start=be}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var xe=this.blocks,ke=this.lastByteIndex;xe[16]=this.block,xe[ke>>2]|=EXTRA[3&ke],this.block=xe[16],ke>=56&&(this.hashed||this.hash(),xe[0]=this.block,xe[16]=xe[1]=xe[2]=xe[3]=xe[4]=xe[5]=xe[6]=xe[7]=xe[8]=xe[9]=xe[10]=xe[11]=xe[12]=xe[13]=xe[14]=xe[15]=0),xe[14]=this.hBytes<<3|this.bytes>>>29,xe[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var Ge,ut,Et,Dt,Ue,Vt,xe=this.h0,ke=this.h1,Ve=this.h2,we=this.h3,je=this.h4,be=this.h5,Xe=this.h6,Se=this.h7,bt=this.blocks;for(Ge=16;Ge<64;++Ge)bt[Ge]=bt[Ge-16]+(((ut=bt[Ge-15])>>>7|ut<<25)^(ut>>>18|ut<<14)^ut>>>3)+bt[Ge-7]+(((ut=bt[Ge-2])>>>17|ut<<15)^(ut>>>19|ut<<13)^ut>>>10)<<0;for(Vt=ke&Ve,Ge=0;Ge<64;Ge+=4)this.first?(this.is224?(Et=300032,Se=(ut=bt[0]-1413257819)-150054599<<0,we=ut+24177077<<0):(Et=704751109,Se=(ut=bt[0]-210244248)-1521486534<<0,we=ut+143694565<<0),this.first=!1):(Se=we+(ut=Se+((je>>>6|je<<26)^(je>>>11|je<<21)^(je>>>25|je<<7))+(je&be^~je&Xe)+K[Ge]+bt[Ge])<<0,we=ut+(((xe>>>2|xe<<30)^(xe>>>13|xe<<19)^(xe>>>22|xe<<10))+((Et=xe&ke)^xe&Ve^Vt))<<0),Xe=Ve+(ut=Xe+((Se>>>6|Se<<26)^(Se>>>11|Se<<21)^(Se>>>25|Se<<7))+(Se&je^~Se&be)+K[Ge+1]+bt[Ge+1])<<0,Ve=ut+(((we>>>2|we<<30)^(we>>>13|we<<19)^(we>>>22|we<<10))+((Dt=we&xe)^we&ke^Et))<<0,be=ke+(ut=be+((Xe>>>6|Xe<<26)^(Xe>>>11|Xe<<21)^(Xe>>>25|Xe<<7))+(Xe&Se^~Xe&je)+K[Ge+2]+bt[Ge+2])<<0,ke=ut+(((Ve>>>2|Ve<<30)^(Ve>>>13|Ve<<19)^(Ve>>>22|Ve<<10))+((Ue=Ve&we)^Ve&xe^Dt))<<0,je=xe+(ut=je+((be>>>6|be<<26)^(be>>>11|be<<21)^(be>>>25|be<<7))+(be&Xe^~be&Se)+K[Ge+3]+bt[Ge+3])<<0,xe=ut+(((ke>>>2|ke<<30)^(ke>>>13|ke<<19)^(ke>>>22|ke<<10))+((Vt=ke&Ve)^ke&we^Ue))<<0;this.h0=this.h0+xe<<0,this.h1=this.h1+ke<<0,this.h2=this.h2+Ve<<0,this.h3=this.h3+we<<0,this.h4=this.h4+je<<0,this.h5=this.h5+be<<0,this.h6=this.h6+Xe<<0,this.h7=this.h7+Se<<0},Sha256.prototype.hex=function(){this.finalize();var xe=this.h0,ke=this.h1,Ve=this.h2,we=this.h3,je=this.h4,be=this.h5,Xe=this.h6,Se=this.h7,bt=HEX_CHARS[xe>>28&15]+HEX_CHARS[xe>>24&15]+HEX_CHARS[xe>>20&15]+HEX_CHARS[xe>>16&15]+HEX_CHARS[xe>>12&15]+HEX_CHARS[xe>>8&15]+HEX_CHARS[xe>>4&15]+HEX_CHARS[15&xe]+HEX_CHARS[ke>>28&15]+HEX_CHARS[ke>>24&15]+HEX_CHARS[ke>>20&15]+HEX_CHARS[ke>>16&15]+HEX_CHARS[ke>>12&15]+HEX_CHARS[ke>>8&15]+HEX_CHARS[ke>>4&15]+HEX_CHARS[15&ke]+HEX_CHARS[Ve>>28&15]+HEX_CHARS[Ve>>24&15]+HEX_CHARS[Ve>>20&15]+HEX_CHARS[Ve>>16&15]+HEX_CHARS[Ve>>12&15]+HEX_CHARS[Ve>>8&15]+HEX_CHARS[Ve>>4&15]+HEX_CHARS[15&Ve]+HEX_CHARS[we>>28&15]+HEX_CHARS[we>>24&15]+HEX_CHARS[we>>20&15]+HEX_CHARS[we>>16&15]+HEX_CHARS[we>>12&15]+HEX_CHARS[we>>8&15]+HEX_CHARS[we>>4&15]+HEX_CHARS[15&we]+HEX_CHARS[je>>28&15]+HEX_CHARS[je>>24&15]+HEX_CHARS[je>>20&15]+HEX_CHARS[je>>16&15]+HEX_CHARS[je>>12&15]+HEX_CHARS[je>>8&15]+HEX_CHARS[je>>4&15]+HEX_CHARS[15&je]+HEX_CHARS[be>>28&15]+HEX_CHARS[be>>24&15]+HEX_CHARS[be>>20&15]+HEX_CHARS[be>>16&15]+HEX_CHARS[be>>12&15]+HEX_CHARS[be>>8&15]+HEX_CHARS[be>>4&15]+HEX_CHARS[15&be]+HEX_CHARS[Xe>>28&15]+HEX_CHARS[Xe>>24&15]+HEX_CHARS[Xe>>20&15]+HEX_CHARS[Xe>>16&15]+HEX_CHARS[Xe>>12&15]+HEX_CHARS[Xe>>8&15]+HEX_CHARS[Xe>>4&15]+HEX_CHARS[15&Xe];return this.is224||(bt+=HEX_CHARS[Se>>28&15]+HEX_CHARS[Se>>24&15]+HEX_CHARS[Se>>20&15]+HEX_CHARS[Se>>16&15]+HEX_CHARS[Se>>12&15]+HEX_CHARS[Se>>8&15]+HEX_CHARS[Se>>4&15]+HEX_CHARS[15&Se]),bt},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var xe=this.h0,ke=this.h1,Ve=this.h2,we=this.h3,je=this.h4,be=this.h5,Xe=this.h6,Se=this.h7,bt=[xe>>24&255,xe>>16&255,xe>>8&255,255&xe,ke>>24&255,ke>>16&255,ke>>8&255,255&ke,Ve>>24&255,Ve>>16&255,Ve>>8&255,255&Ve,we>>24&255,we>>16&255,we>>8&255,255&we,je>>24&255,je>>16&255,je>>8&255,255&je,be>>24&255,be>>16&255,be>>8&255,255&be,Xe>>24&255,Xe>>16&255,Xe>>8&255,255&Xe];return this.is224||bt.push(Se>>24&255,Se>>16&255,Se>>8&255,255&Se),bt},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var xe=new ArrayBuffer(this.is224?28:32),ke=new DataView(xe);return ke.setUint32(0,this.h0),ke.setUint32(4,this.h1),ke.setUint32(8,this.h2),ke.setUint32(12,this.h3),ke.setUint32(16,this.h4),ke.setUint32(20,this.h5),ke.setUint32(24,this.h6),this.is224||ke.setUint32(28,this.h7),xe},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var xe=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(xe),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()},131:(xe,ke)=>{"use strict";for(var we=[],je=[],Xe=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),Se=0,bt=Xe.length;Se<bt;++Se)we[Se]=Xe[Se],je[Xe.charCodeAt(Se)]=Se;je["-".charCodeAt(0)]=62,je["_".charCodeAt(0)]=63},985:(xe,ke,Ve)=>{xe=Ve.nmd(xe);var je="__lodash_hash_undefined__",Se=9007199254740991,bt="[object Arguments]",jt="[object Function]",Vt="[object Object]",De=/^\[object .+?Constructor\]$/,He=/^(?:0|[1-9]\d*)$/,_t={};_t["[object Float32Array]"]=_t["[object Float64Array]"]=_t["[object Int8Array]"]=_t["[object Int16Array]"]=_t["[object Int32Array]"]=_t["[object Uint8Array]"]=_t["[object Uint8ClampedArray]"]=_t["[object Uint16Array]"]=_t["[object Uint32Array]"]=!0,_t[bt]=_t["[object Array]"]=_t["[object ArrayBuffer]"]=_t["[object Boolean]"]=_t["[object DataView]"]=_t["[object Date]"]=_t["[object Error]"]=_t[jt]=_t["[object Map]"]=_t["[object Number]"]=_t[Vt]=_t["[object RegExp]"]=_t["[object Set]"]=_t["[object String]"]=_t["[object WeakMap]"]=!1;var Yt="object"==typeof global&&global&&global.Object===Object&&global,Zt="object"==typeof self&&self&&self.Object===Object&&self,vn=Yt||Zt||Function("return this")(),nr=ke&&!ke.nodeType&&ke,On=nr&&xe&&!xe.nodeType&&xe,xr=On&&On.exports===nr,Lr=xr&&Yt.process,xc=function(){try{return On&&On.require&&On.require("util").types||Lr&&Lr.binding&&Lr.binding("util")}catch(Ee){}}(),Qu=xc&&xc.isTypedArray;function Gs(ce,Ee,Oe){switch(Oe.length){case 0:return ce.call(Ee);case 1:return ce.call(Ee,Oe[0]);case 2:return ce.call(Ee,Oe[0],Oe[1]);case 3:return ce.call(Ee,Oe[0],Oe[1],Oe[2])}return ce.apply(Ee,Oe)}var ce,fs=Array.prototype,hs=Object.prototype,ga=vn["__core-js_shared__"],bi=Function.prototype.toString,wi=hs.hasOwnProperty,Ks=(ce=/[^.]+$/.exec(ga&&ga.keys&&ga.keys.IE_PROTO||""))?"Symbol(src)_1."+ce:"",qs=hs.toString,Ac=bi.call(Object),Rl=RegExp("^"+bi.call(wi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Xs=xr?vn.Buffer:void 0,Ol=vn.Symbol,ps=vn.Uint8Array,Tc=Xs?Xs.allocUnsafe:void 0,Jo=function Bo(ce,Ee){return function(Oe){return ce(Ee(Oe))}}(Object.getPrototypeOf,Object),ge=Object.create,nt=hs.propertyIsEnumerable,Ye=fs.splice,Kt=Ol?Ol.toStringTag:void 0,Hn=function(){try{var ce=Bf(Object,"defineProperty");return ce({},"",{}),ce}catch(Ee){}}(),jn=Xs?Xs.isBuffer:void 0,Dn=Math.max,Gn=Date.now,Ho=Bf(vn,"Map"),yr=Bf(Object,"create"),ja=function(){function ce(){}return function(Ee){if(!wa(Ee))return{};if(ge)return ge(Ee);ce.prototype=Ee;var Oe=new ce;return ce.prototype=void 0,Oe}}();function Co(ce){var Ee=-1,Oe=null==ce?0:ce.length;for(this.clear();++Ee<Oe;){var At=ce[Ee];this.set(At[0],At[1])}}function fi(ce){var Ee=-1,Oe=null==ce?0:ce.length;for(this.clear();++Ee<Oe;){var At=ce[Ee];this.set(At[0],At[1])}}function ea(ce){var Ee=-1,Oe=null==ce?0:ce.length;for(this.clear();++Ee<Oe;){var At=ce[Ee];this.set(At[0],At[1])}}function ms(ce){var Ee=this.__data__=new fi(ce);this.size=Ee.size}function Rc(ce,Ee,Oe){(void 0!==Oe&&!hi(ce[Ee],Oe)||void 0===Oe&&!(Ee in ce))&&oo(ce,Ee,Oe)}function Vf(ce,Ee,Oe){var At=ce[Ee];(!wi.call(ce,Ee)||!hi(At,Oe)||void 0===Oe&&!(Ee in ce))&&oo(ce,Ee,Oe)}function $a(ce,Ee){for(var Oe=ce.length;Oe--;)if(hi(ce[Oe][0],Ee))return Oe;return-1}function oo(ce,Ee,Oe){"__proto__"==Ee&&Hn?Hn(ce,Ee,{configurable:!0,enumerable:!0,value:Oe,writable:!0}):ce[Ee]=Oe}Co.prototype.clear=function Tf(){this.__data__=yr?yr(null):{},this.size=0},Co.prototype.delete=function Ff(ce){var Ee=this.has(ce)&&delete this.__data__[ce];return this.size-=Ee?1:0,Ee},Co.prototype.get=function Ju(ce){var Ee=this.__data__;if(yr){var Oe=Ee[ce];return Oe===je?void 0:Oe}return wi.call(Ee,ce)?Ee[ce]:void 0},Co.prototype.has=function If(ce){var Ee=this.__data__;return yr?void 0!==Ee[ce]:wi.call(Ee,ce)},Co.prototype.set=function Rf(ce,Ee){var Oe=this.__data__;return this.size+=this.has(ce)?0:1,Oe[ce]=yr&&void 0===Ee?je:Ee,this},fi.prototype.clear=function Of(){this.__data__=[],this.size=0},fi.prototype.delete=function ya(ce){var Ee=this.__data__,Oe=$a(Ee,ce);return!(Oe<0||(Oe==Ee.length-1?Ee.pop():Ye.call(Ee,Oe,1),--this.size,0))},fi.prototype.get=function Fc(ce){var Ee=this.__data__,Oe=$a(Ee,ce);return Oe<0?void 0:Ee[Oe][1]},fi.prototype.has=function za(ce){return $a(this.__data__,ce)>-1},fi.prototype.set=function ay(ce,Ee){var Oe=this.__data__,At=$a(Oe,ce);return At<0?(++this.size,Oe.push([ce,Ee])):Oe[At][1]=Ee,this},ea.prototype.clear=function Pl(){this.size=0,this.__data__={hash:new Co,map:new(Ho||fi),string:new Co}},ea.prototype.delete=function Qs(ce){var Ee=tl(this,ce).delete(ce);return this.size-=Ee?1:0,Ee},ea.prototype.get=function ed(ce){return tl(this,ce).get(ce)},ea.prototype.has=function Ic(ce){return tl(this,ce).has(ce)},ea.prototype.set=function Hp(ce,Ee){var Oe=tl(this,ce),At=Oe.size;return Oe.set(ce,Ee),this.size+=Oe.size==At?0:1,this},ms.prototype.clear=function Ua(){this.__data__=new fi,this.size=0},ms.prototype.delete=function Pf(ce){var Ee=this.__data__,Oe=Ee.delete(ce);return this.size=Ee.size,Oe},ms.prototype.get=function Nf(ce){return this.__data__.get(ce)},ms.prototype.has=function jp(ce){return this.__data__.has(ce)},ms.prototype.set=function Lf(ce,Ee){var Oe=this.__data__;if(Oe instanceof fi){var At=Oe.__data__;if(!Ho||At.length<199)return At.push([ce,Ee]),this.size=++Oe.size,this;Oe=this.__data__=new ea(At)}return Oe.set(ce,Ee),this.size=Oe.size,this};var xn=function Ll(ce){return function(Ee,Oe,At){for(var Pn=-1,Mn=Object(Ee),Tn=At(Ee),Nn=Tn.length;Nn--;){var ir=Tn[ce?Nn:++Pn];if(!1===Oe(Mn[ir],ir,Mn))break}return Ee}}();function Zs(ce){return null==ce?void 0===ce?"[object Undefined]":"[object Null]":Kt&&Kt in Object(ce)?function Pc(ce){var Ee=wi.call(ce,Kt),Oe=ce[Kt];try{ce[Kt]=void 0;var At=!0}catch(Mn){}var Pn=qs.call(ce);return At&&(Ee?ce[Kt]=Oe:delete ce[Kt]),Pn}(ce):function zp(ce){return qs.call(ce)}(ce)}function Js(ce){return ys(ce)&&Zs(ce)==bt}function Nl(ce,Ee,Oe,At,Pn){ce!==Ee&&xn(Ee,function(Mn,Tn){if(Pn||(Pn=new ms),wa(Mn))!function Oc(ce,Ee,Oe,At,Pn,Mn,Tn){var Nn=Vl(ce,Oe),ir=Vl(Ee,Oe),Ir=Tn.get(ir);if(Ir)Rc(ce,Oe,Ir);else{var Ai=Mn?Mn(Nn,ir,Oe+"",ce,Ee,Tn):void 0,il=void 0===Ai;if(il){var ol=va(ir),Hl=!ol&&pt(ir),or=!ol&&!Hl&&zf(ir);Ai=ir,ol||Hl||or?va(Nn)?Ai=Nn:function gs(ce){return ys(ce)&&ba(ce)}(Nn)?Ai=function nd(ce,Ee){var Oe=-1,At=ce.length;for(Ee||(Ee=Array(At));++Oe<At;)Ee[Oe]=ce[Oe];return Ee}(Nn):Hl?(il=!1,Ai=function Eo(ce,Ee){if(Ee)return ce.slice();var Oe=ce.length,At=Tc?Tc(Oe):new ce.constructor(Oe);return ce.copy(At),At}(ir,!0)):or?(il=!1,Ai=function Ot(ce,Ee){var Oe=Ee?function sy(ce){var Ee=new ce.constructor(ce.byteLength);return new ps(Ee).set(new ps(ce)),Ee}(ce.buffer):ce.buffer;return new ce.constructor(Oe,ce.byteOffset,ce.length)}(ir,!0)):Ai=[]:function Bl(ce){if(!ys(ce)||Zs(ce)!=Vt)return!1;var Ee=Jo(ce);if(null===Ee)return!0;var Oe=wi.call(Ee,"constructor")&&Ee.constructor;return"function"==typeof Oe&&Oe instanceof Oe&&bi.call(Oe)==Ac}(ir)||rr(ir)?(Ai=Nn,rr(Nn)?Ai=function od(ce){return function rn(ce,Ee,Oe,At){var Pn=!Oe;Oe||(Oe={});for(var Mn=-1,Tn=Ee.length;++Mn<Tn;){var Nn=Ee[Mn],ir=At?At(Oe[Nn],ce[Nn],Nn,Oe,ce):void 0;void 0===ir&&(ir=ce[Nn]),Pn?oo(Oe,Nn,ir):Vf(Oe,Nn,ir)}return Oe}(ce,Wa(ce))}(Nn):(!wa(Nn)||nl(Nn))&&(Ai=function Bi(ce){return"function"!=typeof ce.constructor||id(ce)?{}:ja(Jo(ce))}(ir))):il=!1}il&&(Tn.set(ir,Ai),Pn(Ai,ir,At,Mn,Tn),Tn.delete(ir)),Rc(ce,Oe,Ai)}}(ce,Ee,Tn,Oe,Nl,At,Pn);else{var Nn=At?At(Vl(ce,Tn),Mn,Tn+"",ce,Ee,Pn):void 0;void 0===Nn&&(Nn=Mn),Rc(ce,Tn,Nn)}},Wa)}var mn=Hn?function(ce,Ee){return Hn(ce,"toString",{configurable:!0,enumerable:!1,value:Uf(Ee),writable:!0})}:rl;function tl(ce,Ee){var Oe=ce.__data__;return function Nc(ce){var Ee=typeof ce;return"string"==Ee||"number"==Ee||"symbol"==Ee||"boolean"==Ee?"__proto__"!==ce:null===ce}(Ee)?Oe["string"==typeof Ee?"string":"hash"]:Oe.map}function Bf(ce,Ee){var Oe=function Mc(ce,Ee){return null==ce?void 0:ce[Ee]}(ce,Ee);return function _r(ce){return!(!wa(ce)||function _a(ce){return!!Ks&&Ks in ce}(ce))&&(nl(ce)?Rl:De).test(function Wp(ce){if(null!=ce){try{return bi.call(ce)}catch(Ee){}try{return ce+""}catch(Ee){}}return""}(ce))}(Oe)?Oe:void 0}function Hf(ce,Ee){var Oe=typeof ce;return!!(Ee=null==Ee?Se:Ee)&&("number"==Oe||"symbol"!=Oe&&He.test(ce))&&ce>-1&&ce%1==0&&ce<Ee}function id(ce){var Ee=ce&&ce.constructor;return ce===("function"==typeof Ee&&Ee.prototype||hs)}function Vl(ce,Ee){if(("constructor"!==Ee||"function"!=typeof ce[Ee])&&"__proto__"!=Ee)return ce[Ee]}var $p=function jf(ce){var Ee=0,Oe=0;return function(){var At=Gn(),Pn=16-(At-Oe);if(Oe=At,Pn>0){if(++Ee>=800)return arguments[0]}else Ee=0;return ce.apply(void 0,arguments)}}(mn);function hi(ce,Ee){return ce===Ee||ce!=ce&&Ee!=Ee}var rr=Js(function(){return arguments}())?Js:function(ce){return ys(ce)&&wi.call(ce,"callee")&&!nt.call(ce,"callee")},va=Array.isArray;function ba(ce){return null!=ce&&un(ce.length)&&!nl(ce)}var pt=jn||function nn(){return!1};function nl(ce){if(!wa(ce))return!1;var Ee=Zs(ce);return Ee==jt||"[object GeneratorFunction]"==Ee||"[object AsyncFunction]"==Ee||"[object Proxy]"==Ee}function un(ce){return"number"==typeof ce&&ce>-1&&ce%1==0&&ce<=Se}function wa(ce){var Ee=typeof ce;return null!=ce&&("object"==Ee||"function"==Ee)}function ys(ce){return null!=ce&&"object"==typeof ce}var zf=Qu?function ds(ce){return function(Ee){return ce(Ee)}}(Qu):function el(ce){return ys(ce)&&un(ce.length)&&!!_t[Zs(ce)]};function Wa(ce){return ba(ce)?function td(ce,Ee){var Oe=va(ce),At=!Oe&&rr(ce),Pn=!Oe&&!At&&pt(ce),Mn=!Oe&&!At&&!Pn&&zf(ce),Tn=Oe||At||Pn||Mn,Nn=Tn?function Zu(ce,Ee){for(var Oe=-1,At=Array(ce);++Oe<ce;)At[Oe]=Ee(Oe);return At}(ce.length,String):[],ir=Nn.length;for(var Ir in ce)(Ee||wi.call(ce,Ir))&&(!Tn||!("length"==Ir||Pn&&("offset"==Ir||"parent"==Ir)||Mn&&("buffer"==Ir||"byteLength"==Ir||"byteOffset"==Ir)||Hf(Ir,ir)))&&Nn.push(Ir);return Nn}(ce,!0):function hr(ce){if(!wa(ce))return function vr(ce){var Ee=[];if(null!=ce)for(var Oe in Object(ce))Ee.push(Oe);return Ee}(ce);var Ee=id(ce),Oe=[];for(var At in ce)"constructor"==At&&(Ee||!wi.call(ce,At))||Oe.push(At);return Oe}(ce)}var Lc=function Qr(ce){return function kn(ce,Ee){return $p(function Up(ce,Ee,Oe){return Ee=Dn(void 0===Ee?ce.length-1:Ee,0),function(){for(var At=arguments,Pn=-1,Mn=Dn(At.length-Ee,0),Tn=Array(Mn);++Pn<Mn;)Tn[Pn]=At[Ee+Pn];Pn=-1;for(var Nn=Array(Ee+1);++Pn<Ee;)Nn[Pn]=At[Pn];return Nn[Ee]=Oe(Tn),Gs(ce,this,Nn)}}(ce,Ee,rl),ce+"")}(function(Ee,Oe){var At=-1,Pn=Oe.length,Mn=Pn>1?Oe[Pn-1]:void 0,Tn=Pn>2?Oe[2]:void 0;for(Mn=ce.length>3&&"function"==typeof Mn?(Pn--,Mn):void 0,Tn&&function rd(ce,Ee,Oe){if(!wa(Oe))return!1;var At=typeof Ee;return!!("number"==At?ba(Oe)&&Hf(Ee,Oe.length):"string"==At&&Ee in Oe)&&hi(Oe[Ee],ce)}(Oe[0],Oe[1],Tn)&&(Mn=Pn<3?void 0:Mn,Pn=1),Ee=Object(Ee);++At<Pn;){var Nn=Oe[At];Nn&&ce(Ee,Nn,At,Mn)}return Ee})}(function(ce,Ee,Oe,At){Nl(ce,Ee,Oe,At)});function Uf(ce){return function(){return ce}}function rl(ce){return ce}xe.exports=Lc},814:xe=>{var ke="undefined"!=typeof Element,Ve="function"==typeof Map,we="function"==typeof Set,je="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function be(Xe,Se){if(Xe===Se)return!0;if(Xe&&Se&&"object"==typeof Xe&&"object"==typeof Se){if(Xe.constructor!==Se.constructor)return!1;var bt,Ge,Ct,yt;if(Array.isArray(Xe)){if((bt=Xe.length)!=Se.length)return!1;for(Ge=bt;0!=Ge--;)if(!be(Xe[Ge],Se[Ge]))return!1;return!0}if(Ve&&Xe instanceof Map&&Se instanceof Map){if(Xe.size!==Se.size)return!1;for(yt=Xe.entries();!(Ge=yt.next()).done;)if(!Se.has(Ge.value[0]))return!1;for(yt=Xe.entries();!(Ge=yt.next()).done;)if(!be(Ge.value[1],Se.get(Ge.value[0])))return!1;return!0}if(we&&Xe instanceof Set&&Se instanceof Set){if(Xe.size!==Se.size)return!1;for(yt=Xe.entries();!(Ge=yt.next()).done;)if(!Se.has(Ge.value[0]))return!1;return!0}if(je&&ArrayBuffer.isView(Xe)&&ArrayBuffer.isView(Se)){if((bt=Xe.length)!=Se.length)return!1;for(Ge=bt;0!=Ge--;)if(Xe[Ge]!==Se[Ge])return!1;return!0}if(Xe.constructor===RegExp)return Xe.source===Se.source&&Xe.flags===Se.flags;if(Xe.valueOf!==Object.prototype.valueOf)return Xe.valueOf()===Se.valueOf();if(Xe.toString!==Object.prototype.toString)return Xe.toString()===Se.toString();if((bt=(Ct=Object.keys(Xe)).length)!==Object.keys(Se).length)return!1;for(Ge=bt;0!=Ge--;)if(!Object.prototype.hasOwnProperty.call(Se,Ct[Ge]))return!1;if(ke&&Xe instanceof Element)return!1;for(Ge=bt;0!=Ge--;)if(("_owner"!==Ct[Ge]&&"__v"!==Ct[Ge]&&"__o"!==Ct[Ge]||!Xe.$$typeof)&&!be(Xe[Ct[Ge]],Se[Ct[Ge]]))return!1;return!0}return Xe!=Xe&&Se!=Se}xe.exports=function(Se,bt){try{return be(Se,bt)}catch(Ge){if((Ge.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw Ge}}},105:(xe,ke,Ve)=>{"use strict";function we(N){return"function"==typeof N}function je(N){const f=N(L=>{Error.call(L),L.stack=(new Error).stack});return f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f}const be=je(N=>function(f){N(this),this.message=f?`${f.length} errors occurred during unsubscription:\n${f.map((L,V)=>`${V+1}) ${L.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=f});function Xe(N,I){if(N){const f=N.indexOf(I);0<=f&&N.splice(f,1)}}class Se{constructor(I){this.initialTeardown=I,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let I;if(!this.closed){this.closed=!0;const{_parentage:f}=this;if(f)if(this._parentage=null,Array.isArray(f))for(const z of f)z.remove(this);else f.remove(this);const{initialTeardown:L}=this;if(we(L))try{L()}catch(z){I=z instanceof be?z.errors:[z]}const{_teardowns:V}=this;if(V){this._teardowns=null;for(const z of V)try{Ct(z)}catch(Y){I=null!=I?I:[],Y instanceof be?I=[...I,...Y.errors]:I.push(Y)}}if(I)throw new be(I)}}add(I){var f;if(I&&I!==this)if(this.closed)Ct(I);else{if(I instanceof Se){if(I.closed||I._hasParent(this))return;I._addParent(this)}(this._teardowns=null!==(f=this._teardowns)&&void 0!==f?f:[]).push(I)}}_hasParent(I){const{_parentage:f}=this;return f===I||Array.isArray(f)&&f.includes(I)}_addParent(I){const{_parentage:f}=this;this._parentage=Array.isArray(f)?(f.push(I),f):f?[f,I]:I}_removeParent(I){const{_parentage:f}=this;f===I?this._parentage=null:Array.isArray(f)&&Xe(f,I)}remove(I){const{_teardowns:f}=this;f&&Xe(f,I),I instanceof Se&&I._removeParent(this)}}Se.EMPTY=(()=>{const N=new Se;return N.closed=!0,N})();const bt=Se.EMPTY;function Ge(N){return N instanceof Se||N&&"closed"in N&&we(N.remove)&&we(N.add)&&we(N.unsubscribe)}function Ct(N){we(N)?N():N.unsubscribe()}const yt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pt={setTimeout(...N){const{delegate:I}=Pt;return((null==I?void 0:I.setTimeout)||setTimeout)(...N)},clearTimeout(N){const{delegate:I}=Pt;return((null==I?void 0:I.clearTimeout)||clearTimeout)(N)},delegate:void 0};function ut(N){Pt.setTimeout(()=>{const{onUnhandledError:I}=yt;if(!I)throw N;I(N)})}function jt(){}const cn=Ue("C",void 0,void 0);function Ue(N,I,f){return{kind:N,value:I,error:f}}let Vt=null;function Vn(N){if(yt.useDeprecatedSynchronousErrorHandling){const I=!Vt;if(I&&(Vt={errorThrown:!1,error:null}),N(),I){const{errorThrown:f,error:L}=Vt;if(Vt=null,f)throw L}}else N()}class fr extends Se{constructor(I){super(),this.isStopped=!1,I?(this.destination=I,Ge(I)&&I.add(this)):this.destination=Qi}static create(I,f,L){return new tr(I,f,L)}next(I){this.isStopped?Sr(function Dt(N){return Ue("N",N,void 0)}(I),this):this._next(I)}error(I){this.isStopped?Sr(function Et(N){return Ue("E",void 0,N)}(I),this):(this.isStopped=!0,this._error(I))}complete(){this.isStopped?Sr(cn,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(I){this.destination.next(I)}_error(I){try{this.destination.error(I)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class tr extends fr{constructor(I,f,L){let V;if(super(),we(I))V=I;else if(I){let z;({next:V,error:f,complete:L}=I),this&&yt.useDeprecatedNextContext?(z=Object.create(I),z.unsubscribe=()=>this.unsubscribe()):z=I,V=null==V?void 0:V.bind(z),f=null==f?void 0:f.bind(z),L=null==L?void 0:L.bind(z)}this.destination={next:V?dn(V):jt,error:dn(null!=f?f:Xr),complete:L?dn(L):jt}}}function dn(N,I){return(...f)=>{try{N(...f)}catch(L){yt.useDeprecatedSynchronousErrorHandling?function _n(N){yt.useDeprecatedSynchronousErrorHandling&&Vt&&(Vt.errorThrown=!0,Vt.error=N)}(L):ut(L)}}}function Xr(N){throw N}function Sr(N,I){const{onStoppedNotification:f}=yt;f&&Pt.setTimeout(()=>f(N,I))}const Qi={closed:!0,next:jt,error:Xr,complete:jt},Fe="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ze(N){return N}let Gt=(()=>{class N{constructor(f){f&&(this._subscribe=f)}lift(f){const L=new N;return L.source=this,L.operator=f,L}subscribe(f,L,V){const z=function rt(N){return N&&N instanceof fr||function Mi(N){return N&&we(N.next)&&we(N.error)&&we(N.complete)}(N)&&Ge(N)}(f)?f:new tr(f,L,V);return Vn(()=>{const{operator:Y,source:X}=this;z.add(Y?Y.call(z,X):X?this._subscribe(z):this._trySubscribe(z))}),z}_trySubscribe(f){try{return this._subscribe(f)}catch(L){f.error(L)}}forEach(f,L){return new(L=tn(L))((V,z)=>{const Y=new tr({next:X=>{try{f(X)}catch(Q){z(Q),Y.unsubscribe()}},error:z,complete:V});this.subscribe(Y)})}_subscribe(f){var L;return null===(L=this.source)||void 0===L?void 0:L.subscribe(f)}[Fe](){return this}pipe(...f){return function pn(N){return 0===N.length?Ze:1===N.length?N[0]:function(f){return N.reduce((L,V)=>V(L),f)}}(f)(this)}toPromise(f){return new(f=tn(f))((L,V)=>{let z;this.subscribe(Y=>z=Y,Y=>V(Y),()=>L(z))})}}return N.create=I=>new N(I),N})();function tn(N){var I;return null!==(I=null!=N?N:yt.Promise)&&void 0!==I?I:Promise}const Xt=je(N=>function(){N(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ke=(()=>{class N extends Gt{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(f){const L=new De(this,this);return L.operator=f,L}_throwIfClosed(){if(this.closed)throw new Xt}next(f){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){const L=this.observers.slice();for(const V of L)V.next(f)}})}error(f){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=f;const{observers:L}=this;for(;L.length;)L.shift().error(f)}})}complete(){Vn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:f}=this;for(;f.length;)f.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var f;return(null===(f=this.observers)||void 0===f?void 0:f.length)>0}_trySubscribe(f){return this._throwIfClosed(),super._trySubscribe(f)}_subscribe(f){return this._throwIfClosed(),this._checkFinalizedStatuses(f),this._innerSubscribe(f)}_innerSubscribe(f){const{hasError:L,isStopped:V,observers:z}=this;return L||V?bt:(z.push(f),new Se(()=>Xe(z,f)))}_checkFinalizedStatuses(f){const{hasError:L,thrownError:V,isStopped:z}=this;L?f.error(V):z&&f.complete()}asObservable(){const f=new Gt;return f.source=this,f}}return N.create=(I,f)=>new De(I,f),N})();class De extends Ke{constructor(I,f){super(),this.destination=I,this.source=f}next(I){var f,L;null===(L=null===(f=this.destination)||void 0===f?void 0:f.next)||void 0===L||L.call(f,I)}error(I){var f,L;null===(L=null===(f=this.destination)||void 0===f?void 0:f.error)||void 0===L||L.call(f,I)}complete(){var I,f;null===(f=null===(I=this.destination)||void 0===I?void 0:I.complete)||void 0===f||f.call(I)}_subscribe(I){var f,L;return null!==(L=null===(f=this.source)||void 0===f?void 0:f.subscribe(I))&&void 0!==L?L:bt}}function _t(N){return I=>{if(function He(N){return we(null==N?void 0:N.lift)}(I))return I.lift(function(f){try{return N(f,this)}catch(L){this.error(L)}});throw new TypeError("Unable to lift unknown Observable type")}}class Yt extends fr{constructor(I,f,L,V,z){super(I),this.onFinalize=z,this._next=f?function(Y){try{f(Y)}catch(X){I.error(X)}}:super._next,this._error=V?function(Y){try{V(Y)}catch(X){I.error(X)}finally{this.unsubscribe()}}:super._error,this._complete=L?function(){try{L()}catch(Y){I.error(Y)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var I;const{closed:f}=this;super.unsubscribe(),!f&&(null===(I=this.onFinalize)||void 0===I||I.call(this))}}function Zt(N,I){return _t((f,L)=>{let V=0;f.subscribe(new Yt(L,z=>{L.next(N.call(I,z,V++))}))})}function bi(N){return this instanceof bi?(this.v=N,this):new bi(N)}function wi(N,I,f){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,L=f.apply(N,I||[]),z=[];return V={},Y("next"),Y("throw"),Y("return"),V[Symbol.asyncIterator]=function(){return this},V;function Y(oe){L[oe]&&(V[oe]=function(ae){return new Promise(function(le,ue){z.push([oe,ae,le,ue])>1||X(oe,ae)})})}function X(oe,ae){try{!function Q(oe){oe.value instanceof bi?Promise.resolve(oe.value.v).then(J,te):re(z[0][2],oe)}(L[oe](ae))}catch(le){re(z[0][3],le)}}function J(oe){X("next",oe)}function te(oe){X("throw",oe)}function re(oe,ae){oe(ae),z.shift(),z.length&&X(z[0][0],z[0][1])}}function qs(N){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var f,I=N[Symbol.asyncIterator];return I?I.call(N):(N=function Bo(N){var I="function"==typeof Symbol&&Symbol.iterator,f=I&&N[I],L=0;if(f)return f.call(N);if(N&&"number"==typeof N.length)return{next:function(){return N&&L>=N.length&&(N=void 0),{value:N&&N[L++],done:!N}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")}(N),f={},L("next"),L("throw"),L("return"),f[Symbol.asyncIterator]=function(){return this},f);function L(z){f[z]=N[z]&&function(Y){return new Promise(function(X,Q){!function V(z,Y,X,Q){Promise.resolve(Q).then(function(J){z({value:J,done:X})},Y)}(X,Q,(Y=N[z](Y)).done,Y.value)})}}}const Jo=N=>N&&"number"==typeof N.length&&"function"!=typeof N;function ge(N){return we(null==N?void 0:N.then)}function nt(N){return we(N[Fe])}function Ye(N){return Symbol.asyncIterator&&we(null==N?void 0:N[Symbol.asyncIterator])}function Kt(N){return new TypeError(`You provided ${null!==N&&"object"==typeof N?"an invalid object":`'${N}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const jn=function Hn(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Dn(N){return we(null==N?void 0:N[jn])}function Gn(N){return wi(this,arguments,function*(){const f=N.getReader();try{for(;;){const{value:L,done:V}=yield bi(f.read());if(V)return yield bi(void 0);yield yield bi(L)}}finally{f.releaseLock()}})}function Ho(N){return we(null==N?void 0:N.getReader)}function yr(N){if(N instanceof Gt)return N;if(null!=N){if(nt(N))return function ja(N){return new Gt(I=>{const f=N[Fe]();if(we(f.subscribe))return f.subscribe(I);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(N);if(Jo(N))return function Co(N){return new Gt(I=>{for(let f=0;f<N.length&&!I.closed;f++)I.next(N[f]);I.complete()})}(N);if(ge(N))return function Tf(N){return new Gt(I=>{N.then(f=>{I.closed||(I.next(f),I.complete())},f=>I.error(f)).then(null,ut)})}(N);if(Ye(N))return Ju(N);if(Dn(N))return function Ff(N){return new Gt(I=>{for(const f of N)if(I.next(f),I.closed)return;I.complete()})}(N);if(Ho(N))return function If(N){return Ju(Gn(N))}(N)}throw Kt(N)}function Ju(N){return new Gt(I=>{(function Rf(N,I){var f,L,V,z;return function Gs(N,I,f,L){return new(f||(f=Promise))(function(z,Y){function X(te){try{J(L.next(te))}catch(re){Y(re)}}function Q(te){try{J(L.throw(te))}catch(re){Y(re)}}function J(te){te.done?z(te.value):function V(z){return z instanceof f?z:new f(function(Y){Y(z)})}(te.value).then(X,Q)}J((L=L.apply(N,I||[])).next())})}(this,void 0,void 0,function*(){try{for(f=qs(N);!(L=yield f.next()).done;)if(I.next(L.value),I.closed)return}catch(Y){V={error:Y}}finally{try{L&&!L.done&&(z=f.return)&&(yield z.call(f))}finally{if(V)throw V.error}}I.complete()})})(N,I).catch(f=>I.error(f))})}function fi(N,I,f,L=0,V=!1){const z=I.schedule(function(){f(),V?N.add(this.schedule(null,L)):this.unsubscribe()},L);if(N.add(z),!V)return z}function ya(N,I,f=1/0){return we(I)?ya((L,V)=>Zt((z,Y)=>I(L,z,V,Y))(yr(N(L,V))),f):("number"==typeof I&&(f=I),_t((L,V)=>function Of(N,I,f,L,V,z,Y,X){const Q=[];let J=0,te=0,re=!1;const oe=()=>{re&&!Q.length&&!J&&I.complete()},ae=ue=>J<L?le(ue):Q.push(ue),le=ue=>{z&&I.next(ue),J++;let ve=!1;yr(f(ue,te++)).subscribe(new Yt(I,ye=>{null==V||V(ye),z?ae(ye):I.next(ye)},()=>{ve=!0},void 0,()=>{if(ve)try{for(J--;Q.length&&J<L;){const ye=Q.shift();Y?fi(I,Y,()=>le(ye)):le(ye)}oe()}catch(ye){I.error(ye)}}))};return N.subscribe(new Yt(I,ae,()=>{re=!0,oe()})),()=>{null==X||X()}}(L,V,N,f)))}function Fc(N=1/0){return ya(Ze,N)}const za=new Gt(N=>N.complete());function Pl(N){return N&&we(N.schedule)}function Qs(N){return N[N.length-1]}function Ic(N){return Pl(Qs(N))?N.pop():void 0}function ms(N,I=0){return _t((f,L)=>{f.subscribe(new Yt(L,V=>fi(L,N,()=>L.next(V),I),()=>fi(L,N,()=>L.complete(),I),V=>fi(L,N,()=>L.error(V),I)))})}function Ua(N,I=0){return _t((f,L)=>{L.add(N.schedule(()=>f.subscribe(L),I))})}function td(N,I){if(!N)throw new Error("Iterable cannot be null");return new Gt(f=>{fi(f,I,()=>{const L=N[Symbol.asyncIterator]();fi(f,I,()=>{L.next().then(V=>{V.done?f.complete():f.next(V.value)})},0,!0)})})}function $a(N,I){return I?function Vf(N,I){if(null!=N){if(nt(N))return function Pf(N,I){return yr(N).pipe(Ua(I),ms(I))}(N,I);if(Jo(N))return function jp(N,I){return new Gt(f=>{let L=0;return I.schedule(function(){L===N.length?f.complete():(f.next(N[L++]),f.closed||this.schedule())})})}(N,I);if(ge(N))return function Nf(N,I){return yr(N).pipe(Ua(I),ms(I))}(N,I);if(Ye(N))return td(N,I);if(Dn(N))return function Lf(N,I){return new Gt(f=>{let L;return fi(f,I,()=>{L=N[jn](),fi(f,I,()=>{let V,z;try{({value:V,done:z}=L.next())}catch(Y){return void f.error(Y)}z?f.complete():f.next(V)},0,!0)}),()=>we(null==L?void 0:L.return)&&L.return()})}(N,I);if(Ho(N))return function Rc(N,I){return td(Gn(N),I)}(N,I)}throw Kt(N)}(N,I):yr(N)}function oo(...N){const I=Ic(N),f=function Hp(N,I){return"number"==typeof Qs(N)?N.pop():I}(N,1/0),L=N;return L.length?1===L.length?yr(L[0]):Fc(f)($a(L,I)):za}function xn(N){return N<=0?()=>za:_t((I,f)=>{let L=0;I.subscribe(new Yt(f,V=>{++L<=N&&(f.next(V),N<=L&&f.complete())}))})}function Zs(N={}){const{connector:I=(()=>new Ke),resetOnError:f=!0,resetOnComplete:L=!0,resetOnRefCountZero:V=!0}=N;return z=>{let Y=null,X=null,Q=null,J=0,te=!1,re=!1;const oe=()=>{null==X||X.unsubscribe(),X=null},ae=()=>{oe(),Y=Q=null,te=re=!1},le=()=>{const ue=Y;ae(),null==ue||ue.unsubscribe()};return _t((ue,ve)=>{J++,!re&&!te&&oe();const ye=Q=null!=Q?Q:I();ve.add(()=>{J--,0===J&&!re&&!te&&(X=Js(le,V))}),ye.subscribe(ve),Y||(Y=new tr({next:pe=>ye.next(pe),error:pe=>{re=!0,oe(),X=Js(ae,f,pe),ye.error(pe)},complete:()=>{te=!0,oe(),X=Js(ae,L),ye.complete()}}),$a(ue).subscribe(Y))})(z)}}function Js(N,I,...f){return!0===I?(N(),null):!1===I?null:I(...f).pipe(xn(1)).subscribe(()=>N())}function _r(N){for(let I in N)if(N[I]===_r)return I;throw Error("Could not find renamed property on target object.")}function el(N,I){for(const f in I)I.hasOwnProperty(f)&&!N.hasOwnProperty(f)&&(N[f]=I[f])}function hr(N){if("string"==typeof N)return N;if(Array.isArray(N))return"["+N.map(hr).join(", ")+"]";if(null==N)return""+N;if(N.overriddenName)return`${N.overriddenName}`;if(N.name)return`${N.name}`;const I=N.toString();if(null==I)return""+I;const f=I.indexOf("\n");return-1===f?I:I.substring(0,f)}function Nl(N,I){return null==N||""===N?null===I?"":I:null==I||""===I?N:N+" "+I}const Oc=_r({__forward_ref__:_r});function kn(N){return N.__forward_ref__=kn,N.toString=function(){return hr(this())},N}function mn(N){return Eo(N)?N():N}function Eo(N){return"function"==typeof N&&N.hasOwnProperty(Oc)&&N.__forward_ref__===kn}class Ot extends Error{constructor(I,f){super(function nd(N,I){return`NG0${Math.abs(N)}${I?": "+I:""}`}(I,f)),this.code=I}}function rn(N){return"string"==typeof N?N:null==N?"":String(N)}function Qr(N){return"function"==typeof N?N.name||N.toString():"object"==typeof N&&null!=N&&"function"==typeof N.type?N.type.name||N.type.toString():rn(N)}function Pc(N,I){const f=I?` in ${I}`:"";throw new Ot(-201,`No provider for ${Qr(N)} found${f}`)}function hi(N,I){null==N&&function rr(N,I,f,L){throw new Error(`ASSERTION ERROR: ${N}`+(null==L?"":` [Expected=> ${f} ${L} ${I} <=Actual]`))}(I,N,null,"!=")}function pt(N){return{token:N.token,providedIn:N.providedIn||null,factory:N.factory,value:void 0}}function un(N){return{providers:N.providers||[],imports:N.imports||[]}}function wa(N){return ys(N,Wa)||ys(N,Uf)}function ys(N,I){return N.hasOwnProperty(I)?N[I]:null}function od(N){return N&&(N.hasOwnProperty(Lc)||N.hasOwnProperty(rl))?N[Lc]:null}const Wa=_r({\u0275prov:_r}),Lc=_r({\u0275inj:_r}),Uf=_r({ngInjectableDef:_r}),rl=_r({ngInjectorDef:_r});var nn=(()=>((nn=nn||{})[nn.Default=0]="Default",nn[nn.Host=1]="Host",nn[nn.Self=2]="Self",nn[nn.SkipSelf=4]="SkipSelf",nn[nn.Optional=8]="Optional",nn))();let ce;function Oe(N){const I=ce;return ce=N,I}function At(N,I,f){const L=wa(N);return L&&"root"==L.providedIn?void 0===L.value?L.value=L.factory():L.value:f&nn.Optional?null:void 0!==I?I:void Pc(hr(N),"Injector")}function Mn(N){return{toString:N}.toString()}var Tn=(()=>((Tn=Tn||{})[Tn.OnPush=0]="OnPush",Tn[Tn.Default=1]="Default",Tn))(),Ir=(()=>{return(N=Ir||(Ir={}))[N.Emulated=0]="Emulated",N[N.None=2]="None",N[N.ShadowDom=3]="ShadowDom",Ir;var N})();const Ai="undefined"!=typeof globalThis&&globalThis,il="undefined"!=typeof window&&window,ol="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,or=Ai||"undefined"!=typeof global&&global||il||ol,al={},pr=[],$f=_r({\u0275cmp:_r}),sd=_r({\u0275dir:_r}),ld=_r({\u0275pipe:_r}),Vc=_r({\u0275mod:_r}),na=_r({\u0275fac:_r}),Bc=_r({__NG_ELEMENT_ID__:_r});let z0=0;function Rr(N){return Mn(()=>{const f={},L={type:N.type,providersResolver:null,decls:N.decls,vars:N.vars,factory:null,template:N.template||null,consts:N.consts||null,ngContentSelectors:N.ngContentSelectors,hostBindings:N.hostBindings||null,hostVars:N.hostVars||0,hostAttrs:N.hostAttrs||null,contentQueries:N.contentQueries||null,declaredInputs:f,inputs:null,outputs:null,exportAs:N.exportAs||null,onPush:N.changeDetection===Tn.OnPush,directiveDefs:null,pipeDefs:null,selectors:N.selectors||pr,viewQuery:N.viewQuery||null,features:N.features||null,data:N.data||{},encapsulation:N.encapsulation||Ir.Emulated,id:"c",styles:N.styles||pr,_:null,setInput:null,schemas:N.schemas||null,tView:null},V=N.directives,z=N.features,Y=N.pipes;return L.id+=z0++,L.inputs=uy(N.inputs,f),L.outputs=uy(N.outputs),z&&z.forEach(X=>X(L)),L.directiveDefs=V?()=>("function"==typeof V?V():V).map(Wf):null,L.pipeDefs=Y?()=>("function"==typeof Y?Y():Y).map(ly):null,L})}function Wf(N){return Zi(N)||function sl(N){return N[sd]||null}(N)}function ly(N){return function jl(N){return N[ld]||null}(N)}const cy={};function zn(N){return Mn(()=>{const I={type:N.type,bootstrap:N.bootstrap||pr,declarations:N.declarations||pr,imports:N.imports||pr,exports:N.exports||pr,transitiveCompileScopes:null,schemas:N.schemas||null,id:N.id||null};return null!=N.id&&(cy[N.id]=N.type),I})}function uy(N,I){if(null==N)return al;const f={};for(const L in N)if(N.hasOwnProperty(L)){let V=N[L],z=V;Array.isArray(V)&&(z=V[1],V=V[0]),f[V]=L,I&&(I[V]=z)}return f}const Mt=Rr;function ao(N){return{type:N.type,name:N.name,factory:null,pure:!1!==N.pure,onDestroy:N.type.prototype.ngOnDestroy||null}}function Zi(N){return N[$f]||null}function Do(N,I){const f=N[Vc]||null;if(!f&&!0===I)throw new Error(`Type ${hr(N)} does not have '\u0275mod' property.`);return f}function Ea(N){return Array.isArray(N)&&"object"==typeof N[1]}function jo(N){return Array.isArray(N)&&!0===N[1]}function dd(N){return 0!=(8&N.flags)}function fd(N){return 2==(2&N.flags)}function hd(N){return 1==(1&N.flags)}function ia(N){return null!==N.template}function Y0(N){return 0!=(512&N[2])}function Ka(N,I){return N.hasOwnProperty(na)?N[na]:null}class qp{constructor(I,f,L){this.previousValue=I,this.currentValue=f,this.firstChange=L}isFirstChange(){return this.firstChange}}function ai(){return Xp}function Xp(N){return N.type.prototype.ngOnChanges&&(N.setInput=gy),my}function my(){const N=vs(this),I=null==N?void 0:N.current;if(I){const f=N.previous;if(f===al)N.previous=I;else for(let L in I)f[L]=I[L];N.current=null,this.ngOnChanges(I)}}function gy(N,I,f,L){const V=vs(N)||function Zp(N,I){return N[Qp]=I}(N,{previous:al,current:null}),z=V.current||(V.current={}),Y=V.previous,X=this.declaredInputs[f],Q=Y[X];z[X]=new qp(Q&&Q.currentValue,I,Y===al),N[L]=I}ai.ngInherit=!0;const Qp="__ngSimpleChanges__";function vs(N){return N[Qp]||null}let yd;function Wl(){return void 0!==yd?yd:"undefined"!=typeof document?document:void 0}function jr(N){return!!N.listen}const Wc={createRenderer:(N,I)=>Wl()};function Br(N){for(;Array.isArray(N);)N=N[0];return N}function Jf(N,I){return Br(I[N])}function zo(N,I){return Br(I[N.index])}function Gc(N,I){return N.data[I]}function cl(N,I){return N[I]}function uo(N,I){const f=I[N];return Ea(f)?f:f[0]}function th(N){return 4==(4&N[2])}function _d(N){return 128==(128&N[2])}function bs(N,I){return null==I?null:N[I]}function vy(N){N[18]=0}function Jp(N,I){N[5]+=I;let f=N,L=N[3];for(;null!==L&&(1===I&&1===f[5]||-1===I&&0===f[5]);)L[5]+=I,f=L,L=L[3]}const sn={lFrame:vd(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Kc(){return sn.bindingsEnabled}function Qe(){return sn.lFrame.lView}function Yn(){return sn.lFrame.tView}function si(N){return sn.lFrame.contextLView=N,N[8]}function Gr(){let N=Yl();for(;null!==N&&64===N.type;)N=N.parent;return N}function Yl(){return sn.lFrame.currentTNode}function aa(N,I){const f=sn.lFrame;f.currentTNode=N,f.isParent=I}function dl(){return sn.lFrame.isParent}function Xa(){sn.lFrame.isParent=!1}function Da(){return sn.isInCheckNoChangesMode}function Ci(N){sn.isInCheckNoChangesMode=N}function Ei(){return sn.lFrame.bindingIndex++}function sa(N){const I=sn.lFrame,f=I.bindingIndex;return I.bindingIndex=I.bindingIndex+N,f}function nh(N,I){const f=sn.lFrame;f.bindingIndex=f.bindingRootIndex=N,ka(I)}function ka(N){sn.lFrame.currentDirectiveIndex=N}function qc(N){const I=sn.lFrame.currentDirectiveIndex;return-1===I?null:N[I]}function rh(){return sn.lFrame.currentQueryIndex}function ih(N){sn.lFrame.currentQueryIndex=N}function ob(N){const I=N[1];return 2===I.type?I.declTNode:1===I.type?N[6]:null}function Cs(N,I,f){if(f&nn.SkipSelf){let V=I,z=N;for(;!(V=V.parent,null!==V||f&nn.Host||(V=ob(z),null===V||(z=z[15],10&V.type))););if(null===V)return!1;I=V,N=z}const L=sn.lFrame=ql();return L.currentTNode=I,L.lView=N,!0}function Es(N){const I=ql(),f=N[1];sn.lFrame=I,I.currentTNode=f.firstChild,I.lView=N,I.tView=f,I.contextLView=N,I.bindingIndex=f.bindingStartIndex,I.inI18n=!1}function ql(){const N=sn.lFrame,I=null===N?null:N.child;return null===I?vd(N):I}function vd(N){const I={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:N,child:null,inI18n:!1};return null!==N&&(N.child=I),I}function bd(){const N=sn.lFrame;return sn.lFrame=N.parent,N.currentTNode=null,N.lView=null,N}const Uo=bd;function ho(){const N=bd();N.isParent=!0,N.tView=null,N.selectedIndex=-1,N.contextLView=null,N.elementDepthCount=0,N.currentDirectiveIndex=-1,N.currentNamespace=null,N.bindingRootIndex=-1,N.bindingIndex=-1,N.currentQueryIndex=0}function Yr(){return sn.lFrame.selectedIndex}function ko(N){sn.lFrame.selectedIndex=N}function Kr(){const N=sn.lFrame;return Gc(N.tView,N.selectedIndex)}function Ql(){sn.lFrame.currentNamespace="svg"}function wd(N,I){for(let f=I.directiveStart,L=I.directiveEnd;f<L;f++){const z=N.data[f].type.prototype,{ngAfterContentInit:Y,ngAfterContentChecked:X,ngAfterViewInit:Q,ngAfterViewChecked:J,ngOnDestroy:te}=z;Y&&(N.contentHooks||(N.contentHooks=[])).push(-f,Y),X&&((N.contentHooks||(N.contentHooks=[])).push(f,X),(N.contentCheckHooks||(N.contentCheckHooks=[])).push(f,X)),Q&&(N.viewHooks||(N.viewHooks=[])).push(-f,Q),J&&((N.viewHooks||(N.viewHooks=[])).push(f,J),(N.viewCheckHooks||(N.viewCheckHooks=[])).push(f,J)),null!=te&&(N.destroyHooks||(N.destroyHooks=[])).push(f,te)}}function Cd(N,I,f){rm(N,I,3,f)}function Xc(N,I,f,L){(3&N[2])===f&&rm(N,I,f,L)}function Ed(N,I){let f=N[2];(3&f)===I&&(f&=2047,f+=1,N[2]=f)}function rm(N,I,f,L){const z=null!=L?L:-1,Y=I.length-1;let X=0;for(let Q=void 0!==L?65535&N[18]:0;Q<Y;Q++)if("number"==typeof I[Q+1]){if(X=I[Q],null!=L&&X>=L)break}else I[Q]<0&&(N[18]+=65536),(X<z||-1==z)&&(oh(N,f,I,Q),N[18]=(4294901760&N[18])+Q+2),Q++}function oh(N,I,f,L){const V=f[L]<0,z=f[L+1],X=N[V?-f[L]:f[L]];if(V){if(N[2]>>11<N[18]>>16&&(3&N[2])===I){N[2]+=2048;try{z.call(X)}finally{}}}else try{z.call(X)}finally{}}class Qa{constructor(I,f,L){this.factory=I,this.resolving=!1,this.canSeeViewProviders=f,this.injectImpl=L}}function Jc(N,I,f){const L=jr(N);let V=0;for(;V<f.length;){const z=f[V];if("number"==typeof z){if(0!==z)break;V++;const Y=f[V++],X=f[V++],Q=f[V++];L?N.setAttribute(I,X,Q,Y):I.setAttributeNS(Y,X,Q)}else{const Y=z,X=f[++V];fl(Y)?L&&N.setProperty(I,Y,X):L?N.setAttribute(I,Y,X):I.setAttribute(Y,X),V++}}return V}function sh(N){return 3===N||4===N||6===N}function fl(N){return 64===N.charCodeAt(0)}function mo(N,I){if(null!==I&&0!==I.length)if(null===N||0===N.length)N=I.slice();else{let f=-1;for(let L=0;L<I.length;L++){const V=I[L];"number"==typeof V?f=V:0===f||hl(N,f,V,null,-1===f||2===f?I[++L]:null)}}return N}function hl(N,I,f,L,V){let z=0,Y=N.length;if(-1===I)Y=-1;else for(;z<N.length;){const X=N[z++];if("number"==typeof X){if(X===I){Y=-1;break}if(X>I){Y=z-1;break}}}for(;z<N.length;){const X=N[z];if("number"==typeof X)break;if(X===f){if(null===L)return void(null!==V&&(N[z+1]=V));if(L===N[z+1])return void(N[z+2]=V)}z++,null!==L&&z++,null!==V&&z++}-1!==Y&&(N.splice(Y,0,I),z=Y+1),N.splice(z++,0,f),null!==L&&N.splice(z++,0,L),null!==V&&N.splice(z++,0,V)}function lh(N){return-1!==N}function Zl(N){return 32767&N}function Wo(N,I){let f=function Ss(N){return N>>16}(N),L=I;for(;f>0;)L=L[15],f--;return L}let Dd=!0;function kd(N){const I=Dd;return Dd=N,I}let ky=0;function eu(N,I){const f=xd(N,I);if(-1!==f)return f;const L=I[1];L.firstCreatePass&&(N.injectorIndex=I.length,uh(L.data,N),uh(I,null),uh(L.blueprint,null));const V=Jl(N,I),z=N.injectorIndex;if(lh(V)){const Y=Zl(V),X=Wo(V,I),Q=X[1].data;for(let J=0;J<8;J++)I[z+J]=X[Y+J]|Q[Y+J]}return I[z+8]=V,z}function uh(N,I){N.push(0,0,0,0,0,0,0,0,I)}function xd(N,I){return-1===N.injectorIndex||N.parent&&N.parent.injectorIndex===N.injectorIndex||null===I[N.injectorIndex+8]?-1:N.injectorIndex}function Jl(N,I){if(N.parent&&-1!==N.parent.injectorIndex)return N.parent.injectorIndex;let f=0,L=null,V=I;for(;null!==V;){const z=V[1],Y=z.type;if(L=2===Y?z.declTNode:1===Y?V[6]:null,null===L)return-1;if(f++,V=V[15],-1!==L.injectorIndex)return L.injectorIndex|f<<16}return-1}function Md(N,I,f){!function ch(N,I,f){let L;"string"==typeof f?L=f.charCodeAt(0)||0:f.hasOwnProperty(Bc)&&(L=f[Bc]),null==L&&(L=f[Bc]=ky++);const V=255&L;I.data[N+(V>>5)]|=1<<V}(N,I,f)}function om(N,I,f){if(f&nn.Optional)return N;Pc(I,"NodeInjector")}function dh(N,I,f,L){if(f&nn.Optional&&void 0===L&&(L=null),0==(f&(nn.Self|nn.Host))){const V=N[9],z=Oe(void 0);try{return V?V.get(I,L,f&nn.Optional):At(I,L,f&nn.Optional)}finally{Oe(z)}}return om(L,I,f)}function tu(N,I,f,L=nn.Default,V){if(null!==N){const z=function Td(N){if("string"==typeof N)return N.charCodeAt(0)||0;const I=N.hasOwnProperty(Bc)?N[Bc]:void 0;return"number"==typeof I?I>=0?255&I:xy:I}(f);if("function"==typeof z){if(!Cs(I,N,L))return L&nn.Host?om(V,f,L):dh(I,f,L,V);try{const Y=z(L);if(null!=Y||L&nn.Optional)return Y;Pc(f)}finally{Uo()}}else if("number"==typeof z){let Y=null,X=xd(N,I),Q=-1,J=L&nn.Host?I[16][6]:null;for((-1===X||L&nn.SkipSelf)&&(Q=-1===X?Jl(N,I):I[X+8],-1!==Q&&ru(L,!1)?(Y=I[1],X=Zl(Q),I=Wo(Q,I)):X=-1);-1!==X;){const te=I[1];if(xa(z,X,te.data)){const re=My(X,I,f,Y,L,J);if(re!==Ad)return re}Q=I[X+8],-1!==Q&&ru(L,I[1].data[X+8]===J)&&xa(z,X,I)?(Y=te,X=Zl(Q),I=Wo(Q,I)):X=-1}}}return dh(I,f,L,V)}const Ad={};function xy(){return new Za(Gr(),Qe())}function My(N,I,f,L,V,z){const Y=I[1],X=Y.data[N+8],te=Ms(X,Y,f,null==L?fd(X)&&Dd:L!=Y&&0!=(3&X.type),V&nn.Host&&z===X);return null!==te?nu(I,Y,te,X):Ad}function Ms(N,I,f,L,V){const z=N.providerIndexes,Y=I.data,X=1048575&z,Q=N.directiveStart,te=z>>20,oe=V?X+te:N.directiveEnd;for(let ae=L?X:X+te;ae<oe;ae++){const le=Y[ae];if(ae<Q&&f===le||ae>=Q&&le.type===f)return ae}if(V){const ae=Y[Q];if(ae&&ia(ae)&&ae.type===f)return Q}return null}function nu(N,I,f,L){let V=N[f];const z=I.data;if(function im(N){return N instanceof Qa}(V)){const Y=V;Y.resolving&&function Ll(N,I){const f=I?`. Dependency path: ${I.join(" > ")} > ${N}`:"";throw new Ot(-200,`Circular dependency in DI detected for ${N}${f}`)}(Qr(z[f]));const X=kd(Y.canSeeViewProviders);Y.resolving=!0;const Q=Y.injectImpl?Oe(Y.injectImpl):null;Cs(N,L,nn.Default);try{V=N[f]=Y.factory(void 0,z,N,L),I.firstCreatePass&&f>=L.directiveStart&&function Sa(N,I,f){const{ngOnChanges:L,ngOnInit:V,ngDoCheck:z}=I.type.prototype;if(L){const Y=Xp(I);(f.preOrderHooks||(f.preOrderHooks=[])).push(N,Y),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(N,Y)}V&&(f.preOrderHooks||(f.preOrderHooks=[])).push(0-N,V),z&&((f.preOrderHooks||(f.preOrderHooks=[])).push(N,z),(f.preOrderCheckHooks||(f.preOrderCheckHooks=[])).push(N,z))}(f,z[f],I)}finally{null!==Q&&Oe(Q),kd(X),Y.resolving=!1,Uo()}}return V}function xa(N,I,f){return!!(f[I+(N>>5)]&1<<N)}function ru(N,I){return!(N&nn.Self||N&nn.Host&&I)}class Za{constructor(I,f){this._tNode=I,this._lView=f}get(I,f,L){return tu(this._tNode,this._lView,I,L,f)}}function Dr(N){return Mn(()=>{const I=N.prototype.constructor,f=I[na]||Fd(I),L=Object.prototype;let V=Object.getPrototypeOf(N.prototype).constructor;for(;V&&V!==L;){const z=V[na]||Fd(V);if(z&&z!==f)return z;V=Object.getPrototypeOf(V)}return z=>new z})}function Fd(N){return Eo(N)?()=>{const I=Fd(mn(N));return I&&I()}:Ka(N)}function Ma(N){return function Sy(N,I){if("class"===I)return N.classes;if("style"===I)return N.styles;const f=N.attrs;if(f){const L=f.length;let V=0;for(;V<L;){const z=f[V];if(sh(z))break;if(0===z)V+=2;else if("number"==typeof z)for(V++;V<L&&"string"==typeof f[V];)V++;else{if(z===I)return f[V+1];V+=2}}}return null}(Gr(),N)}const ml="__parameters__";function gl(N,I,f){return Mn(()=>{const L=function Rd(N){return function(...f){if(N){const L=N(...f);for(const V in L)this[V]=L[V]}}}(I);function V(...z){if(this instanceof V)return L.apply(this,z),this;const Y=new V(...z);return X.annotation=Y,X;function X(Q,J,te){const re=Q.hasOwnProperty(ml)?Q[ml]:Object.defineProperty(Q,ml,{value:[]})[ml];for(;re.length<=te;)re.push(null);return(re[te]=re[te]||[]).push(Y),Q}}return f&&(V.prototype=Object.create(f.prototype)),V.prototype.ngMetadataName=N,V.annotationCls=V,V})}class wt{constructor(I,f){this._desc=I,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof f?this.__NG_ELEMENT_ID__=f:void 0!==f&&(this.\u0275prov=pt({token:this,providedIn:f.providedIn||"root",factory:f.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Mo(N,I){void 0===I&&(I=N);for(let f=0;f<N.length;f++){let L=N[f];Array.isArray(L)?(I===N&&(I=N.slice(0,f)),Mo(L,I)):I!==N&&I.push(L)}return I}function la(N,I){N.forEach(f=>Array.isArray(f)?la(f,I):I(f))}function cm(N,I,f){I>=N.length?N.push(f):N.splice(I,0,f)}function Nd(N,I){return I>=N.length-1?N.pop():N.splice(I,1)[0]}function iu(N,I){const f=[];for(let L=0;L<N;L++)f.push(I);return f}function Ao(N,I,f){let L=As(N,I);return L>=0?N[1|L]=f:(L=~L,function Fy(N,I,f,L){let V=N.length;if(V==I)N.push(f,L);else if(1===V)N.push(L,N[0]),N[0]=f;else{for(V--,N.push(N[V-1],N[V]);V>I;)N[V]=N[V-2],V--;N[I]=f,N[I+1]=L}}(N,L,I,f)),L}function au(N,I){const f=As(N,I);if(f>=0)return N[1|f]}function As(N,I){return function ph(N,I,f){let L=0,V=N.length>>f;for(;V!==L;){const z=L+(V-L>>1),Y=N[z<<f];if(I===Y)return z<<f;Y>I?V=z:L=z+1}return~(V<<f)}(N,I,1)}const su={},hm="__NG_DI_FLAG__",gh="ngTempTokenPath",Ly=/\n/gm,Vd="__source",ub=_r({provide:String,useValue:_r});let Bd;function By(N){const I=Bd;return Bd=N,I}function lu(N,I=nn.Default){if(void 0===Bd)throw new Ot(203,"");return null===Bd?At(N,void 0,I):Bd.get(N,I&nn.Optional?null:void 0,I)}function Pe(N,I=nn.Default){return(function Ee(){return ce}()||lu)(mn(N),I)}const _h=Pe;function vh(N){const I=[];for(let f=0;f<N.length;f++){const L=mn(N[f]);if(Array.isArray(L)){if(0===L.length)throw new Ot(900,"");let V,z=nn.Default;for(let Y=0;Y<L.length;Y++){const X=L[Y],Q=Hy(X);"number"==typeof Q?-1===Q?V=X.token:z|=Q:V=X}I.push(Pe(V,z))}else I.push(Pe(L))}return I}function cu(N,I){return N[hm]=I,N.prototype[hm]=I,N}function Hy(N){return N[hm]}const qr=cu(gl("Optional"),8),Ts=cu(gl("SkipSelf"),4);let jd,zd;function To(N){var I;return(null===(I=function du(){if(void 0===jd&&(jd=null,or.trustedTypes))try{jd=or.trustedTypes.createPolicy("angular",{createHTML:N=>N,createScript:N=>N,createScriptURL:N=>N})}catch(N){}return jd}())||void 0===I?void 0:I.createHTML(N))||N}function fu(N){var I;return(null===(I=function Ch(){if(void 0===zd&&(zd=null,or.trustedTypes))try{zd=or.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:N=>N,createScript:N=>N,createScriptURL:N=>N})}catch(N){}return zd}())||void 0===I?void 0:I.createHTML(N))||N}class nc{constructor(I){this.changingThisBreaksApplicationSecurity=I}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class Eh extends nc{getTypeName(){return"HTML"}}class to extends nc{getTypeName(){return"Style"}}class hb extends nc{getTypeName(){return"Script"}}class Nt extends nc{getTypeName(){return"URL"}}class hu extends nc{getTypeName(){return"ResourceURL"}}function go(N){return N instanceof nc?N.changingThisBreaksApplicationSecurity:N}function Ta(N,I){const f=Xy(N);if(null!=f&&f!==I){if("ResourceURL"===f&&"URL"===I)return!0;throw new Error(`Required a safe ${I}, got a ${f} (see https://g.co/ng/security#xss)`)}return f===I}function Xy(N){return N instanceof nc&&N.getTypeName()||null}class Dm{constructor(I){this.inertDocumentHelper=I}getInertBodyElement(I){I="<body><remove></remove>"+I;try{const f=(new window.DOMParser).parseFromString(To(I),"text/html").body;return null===f?this.inertDocumentHelper.getInertBodyElement(I):(f.removeChild(f.firstChild),f)}catch(f){return null}}}class km{constructor(I){if(this.defaultDoc=I,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const f=this.inertDocument.createElement("html");this.inertDocument.appendChild(f);const L=this.inertDocument.createElement("body");f.appendChild(L)}}getInertBodyElement(I){const f=this.inertDocument.createElement("template");if("content"in f)return f.innerHTML=To(I),f;const L=this.inertDocument.createElement("body");return L.innerHTML=To(I),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(L),L}stripCustomNsAttrs(I){const f=I.attributes;for(let V=f.length-1;0<V;V--){const Y=f.item(V).name;("xmlns:ns1"===Y||0===Y.indexOf("ns1:"))&&I.removeAttribute(Y)}let L=I.firstChild;for(;L;)L.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(L),L=L.nextSibling}}const Fa=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Jy=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function pu(N){return(N=String(N)).match(Fa)||N.match(Jy)?N:"unsafe:"+N}function ca(N){return(N=String(N)).split(",").map(I=>pu(I.trim())).join(", ")}function Ia(N){const I={};for(const f of N.split(","))I[f]=!0;return I}function Fo(...N){const I={};for(const f of N)for(const L in f)f.hasOwnProperty(L)&&(I[L]=!0);return I}const e_=Ia("area,br,col,hr,img,wbr"),Sm=Ia("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xm=Ia("rp,rt"),mu=Fo(e_,Fo(Sm,Ia("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Fo(xm,Ia("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Fo(xm,Sm)),$d=Ia("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Io=Ia("srcset"),ci=Fo($d,Io,Ia("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Ia("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),$i=Ia("script,style,template");class Go{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(I){let f=I.firstChild,L=!0;for(;f;)if(f.nodeType===Node.ELEMENT_NODE?L=this.startElement(f):f.nodeType===Node.TEXT_NODE?this.chars(f.nodeValue):this.sanitizedSomething=!0,L&&f.firstChild)f=f.firstChild;else for(;f;){f.nodeType===Node.ELEMENT_NODE&&this.endElement(f);let V=this.checkClobberedElement(f,f.nextSibling);if(V){f=V;break}f=this.checkClobberedElement(f,f.parentNode)}return this.buf.join("")}startElement(I){const f=I.nodeName.toLowerCase();if(!mu.hasOwnProperty(f))return this.sanitizedSomething=!0,!$i.hasOwnProperty(f);this.buf.push("<"),this.buf.push(f);const L=I.attributes;for(let V=0;V<L.length;V++){const z=L.item(V),Y=z.name,X=Y.toLowerCase();if(!ci.hasOwnProperty(X)){this.sanitizedSomething=!0;continue}let Q=z.value;$d[X]&&(Q=pu(Q)),Io[X]&&(Q=ca(Q)),this.buf.push(" ",Y,'="',yu(Q),'"')}return this.buf.push(">"),!0}endElement(I){const f=I.nodeName.toLowerCase();mu.hasOwnProperty(f)&&!e_.hasOwnProperty(f)&&(this.buf.push("</"),this.buf.push(f),this.buf.push(">"))}chars(I){this.buf.push(yu(I))}checkClobberedElement(I,f){if(f&&(I.compareDocumentPosition(f)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${I.outerHTML}`);return f}}const gu=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Di=/([^\#-~ |!])/g;function yu(N){return N.replace(/&/g,"&amp;").replace(gu,function(I){return"&#"+(1024*(I.charCodeAt(0)-55296)+(I.charCodeAt(1)-56320)+65536)+";"}).replace(Di,function(I){return"&#"+I.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Ja;function Wd(N,I){let f=null;try{Ja=Ja||function Em(N){const I=new km(N);return function zi(){try{return!!(new window.DOMParser).parseFromString(To(""),"text/html")}catch(N){return!1}}()?new Dm(I):I}(N);let L=I?String(I):"";f=Ja.getInertBodyElement(L);let V=5,z=L;do{if(0===V)throw new Error("Failed to sanitize html because the input is unstable");V--,L=z,z=f.innerHTML,f=Ja.getInertBodyElement(L)}while(L!==z);return To((new Go).sanitizeChildren(Gd(f)||f))}finally{if(f){const L=Gd(f)||f;for(;L.firstChild;)L.removeChild(L.firstChild)}}}function Gd(N){return"content"in N&&function Yd(N){return N.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===N.nodeName}(N)?N.content:null}var fn=(()=>((fn=fn||{})[fn.NONE=0]="NONE",fn[fn.HTML=1]="HTML",fn[fn.STYLE=2]="STYLE",fn[fn.SCRIPT=3]="SCRIPT",fn[fn.URL=4]="URL",fn[fn.RESOURCE_URL=5]="RESOURCE_URL",fn))();function kh(N){const I=function vl(){const N=Qe();return N&&N[12]}();return I?fu(I.sanitize(fn.HTML,N)||""):Ta(N,"HTML")?fu(go(N)):Wd(Wl(),rn(N))}const ua="__ngContext__";function wr(N,I){N[ua]=I}function qd(N){const I=function vu(N){return N[ua]||null}(N);return I?Array.isArray(I)?I:I.lView:null}function Fm(N){return N.ngOriginalError}function i_(N,...I){N.error(...I)}class bl{constructor(){this._console=console}handleError(I){const f=this._findOriginalError(I),L=function yb(N){return N&&N.ngErrorLogger||i_}(I);L(this._console,"ERROR",I),f&&L(this._console,"ORIGINAL ERROR",f)}_findOriginalError(I){let f=I&&Fm(I);for(;f&&Fm(f);)f=Fm(f);return f||null}}const c_=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(or))();function Gi(N){return N instanceof Function?N():N}var yo=(()=>((yo=yo||{})[yo.Important=1]="Important",yo[yo.DashCase=2]="DashCase",yo))();function Qd(N,I){return undefined(N,I)}function Eu(N){const I=N[3];return jo(I)?I[3]:I}function Rh(N){return d_(N[13])}function ef(N){return d_(N[4])}function d_(N){for(;null!==N&&!jo(N);)N=N[4];return N}function wl(N,I,f,L,V){if(null!=L){let z,Y=!1;jo(L)?z=L:Ea(L)&&(Y=!0,L=L[0]);const X=Br(L);0===N&&null!==f?null==V?Le(I,f,X):_e(I,f,X,V||null,!0):1===N&&null!==f?_e(I,f,X,V||null,!0):2===N?function en(N,I,f){const L=qe(N,I);L&&function at(N,I,f,L){jr(N)?N.removeChild(I,f,L):I.removeChild(f)}(N,L,I,f)}(I,X,Y):3===N&&I.destroyNode(X),null!=z&&function xb(N,I,f,L,V){const z=f[7];z!==Br(f)&&wl(I,N,L,z,V);for(let X=10;X<f.length;X++){const Q=f[X];ni(Q[1],Q,N,I,L,z)}}(I,N,z,f,V)}}function Nh(N,I,f){if(jr(N))return N.createElement(I,f);{const L=null!==f?function Vr(N){const I=N.toLowerCase();return"svg"===I?"http://www.w3.org/2000/svg":"math"===I?"http://www.w3.org/1998/MathML/":null}(f):null;return null===L?N.createElement(I):N.createElementNS(L,I)}}function G(N,I){const f=N[9],L=f.indexOf(I),V=I[3];1024&I[2]&&(I[2]&=-1025,Jp(V,-1)),f.splice(L,1)}function q(N,I){if(N.length<=10)return;const f=10+I,L=N[f];if(L){const V=L[17];null!==V&&V!==N&&G(V,L),I>0&&(N[f-1][4]=L[4]);const z=Nd(N,10+I);!function Db(N,I){ni(N,I,I[11],2,null,null),I[0]=null,I[6]=null}(L[1],L);const Y=z[19];null!==Y&&Y.detachView(z[1]),L[3]=null,L[4]=null,L[2]&=-129}return L}function Z(N,I){if(!(256&I[2])){const f=I[11];jr(f)&&f.destroyNode&&ni(N,I,f,3,null,null),function tf(N){let I=N[13];if(!I)return ee(N[1],N);for(;I;){let f=null;if(Ea(I))f=I[13];else{const L=I[10];L&&(f=L)}if(!f){for(;I&&!I[4]&&I!==N;)Ea(I)&&ee(I[1],I),I=I[3];null===I&&(I=N),Ea(I)&&ee(I[1],I),f=I&&I[4]}I=f}}(I)}}function ee(N,I){if(!(256&I[2])){I[2]&=-129,I[2]|=256,function ie(N,I){let f;if(null!=N&&null!=(f=N.destroyHooks))for(let L=0;L<f.length;L+=2){const V=I[f[L]];if(!(V instanceof Qa)){const z=f[L+1];if(Array.isArray(z))for(let Y=0;Y<z.length;Y+=2){const X=V[z[Y]],Q=z[Y+1];try{Q.call(X)}finally{}}else try{z.call(V)}finally{}}}}(N,I),function ne(N,I){const f=N.cleanup,L=I[7];let V=-1;if(null!==f)for(let z=0;z<f.length-1;z+=2)if("string"==typeof f[z]){const Y=f[z+1],X="function"==typeof Y?Y(I):Br(I[Y]),Q=L[V=f[z+2]],J=f[z+3];"boolean"==typeof J?X.removeEventListener(f[z],Q,J):J>=0?L[V=J]():L[V=-J].unsubscribe(),z+=2}else{const Y=L[V=f[z+1]];f[z].call(Y)}if(null!==L){for(let z=V+1;z<L.length;z++)L[z]();I[7]=null}}(N,I),1===I[1].type&&jr(I[11])&&I[11].destroy();const f=I[17];if(null!==f&&jo(I[3])){f!==I[3]&&G(f,I);const L=I[19];null!==L&&L.detachView(N)}}}function se(N,I,f){return function fe(N,I,f){let L=I;for(;null!==L&&40&L.type;)L=(I=L).parent;if(null===L)return f[0];if(2&L.flags){const V=N.data[L.directiveStart].encapsulation;if(V===Ir.None||V===Ir.Emulated)return null}return zo(L,f)}(N,I.parent,f)}function _e(N,I,f,L,V){jr(N)?N.insertBefore(I,f,L,V):I.insertBefore(f,L,V)}function Le(N,I,f){jr(N)?N.appendChild(I,f):I.appendChild(f)}function Je(N,I,f,L,V){null!==L?_e(N,I,f,L,V):Le(N,I,f)}function qe(N,I){return jr(N)?N.parentNode(I):I.parentNode}function Bt(N,I,f){return ti(N,I,f)}let ti=function zt(N,I,f){return 40&N.type?zo(N,f):null};function Te(N,I,f,L){const V=se(N,L,I),z=I[11],X=Bt(L.parent||I[6],L,I);if(null!=V)if(Array.isArray(f))for(let Q=0;Q<f.length;Q++)Je(z,V,f[Q],X,!1);else Je(z,V,f,X,!1)}function dt(N,I){if(null!==I){const f=I.type;if(3&f)return zo(I,N);if(4&f)return Jt(-1,N[I.index]);if(8&f){const L=I.child;if(null!==L)return dt(N,L);{const V=N[I.index];return jo(V)?Jt(-1,V):Br(V)}}if(32&f)return Qd(I,N)()||Br(N[I.index]);{const L=Wt(N,I);return null!==L?Array.isArray(L)?L[0]:dt(Eu(N[16]),L):dt(N,I.next)}}return null}function Wt(N,I){return null!==I?N[16][6].projection[I.projection]:null}function Jt(N,I){const f=10+N+1;if(f<I.length){const L=I[f],V=L[1].firstChild;if(null!==V)return dt(L,V)}return I[7]}function on(N,I,f,L,V,z,Y){for(;null!=f;){const X=L[f.index],Q=f.type;if(Y&&0===I&&(X&&wr(Br(X),L),f.flags|=4),64!=(64&f.flags))if(8&Q)on(N,I,f.child,L,V,z,!1),wl(I,N,V,X,z);else if(32&Q){const J=Qd(f,L);let te;for(;te=J();)wl(I,N,V,te,z);wl(I,N,V,X,z)}else 16&Q?Rs(N,I,L,f,V,z):wl(I,N,V,X,z);f=Y?f.projectionNext:f.next}}function ni(N,I,f,L,V,z){on(f,L,N.firstChild,I,V,z,!1)}function Rs(N,I,f,L,V,z){const Y=f[16],Q=Y[6].projection[L.projection];if(Array.isArray(Q))for(let J=0;J<Q.length;J++)wl(I,N,V,Q[J],z);else on(N,I,Q,Y[3],V,z,!0)}function m1(N,I,f){jr(N)?N.setAttribute(I,"style",f):I.style.cssText=f}function Mb(N,I,f){jr(N)?""===f?N.removeAttribute(I,"class"):N.setAttribute(I,"class",f):I.className=f}function g1(N,I,f){let L=N.length;for(;;){const V=N.indexOf(I,f);if(-1===V)return V;if(0===V||N.charCodeAt(V-1)<=32){const z=I.length;if(V+z===L||N.charCodeAt(V+z)<=32)return V}f=V+1}}const y1="ng-template";function qP(N,I,f){let L=0;for(;L<N.length;){let V=N[L++];if(f&&"class"===V){if(V=N[L],-1!==g1(V.toLowerCase(),I,0))return!0}else if(1===V){for(;L<N.length&&"string"==typeof(V=N[L++]);)if(V.toLowerCase()===I)return!0;return!1}}return!1}function _1(N){return 4===N.type&&N.value!==y1}function XP(N,I,f){return I===(4!==N.type||f?N.value:y1)}function QP(N,I,f){let L=4;const V=N.attrs||[],z=function e2(N){for(let I=0;I<N.length;I++)if(sh(N[I]))return I;return N.length}(V);let Y=!1;for(let X=0;X<I.length;X++){const Q=I[X];if("number"!=typeof Q){if(!Y)if(4&L){if(L=2|1&L,""!==Q&&!XP(N,Q,f)||""===Q&&1===I.length){if(Os(L))return!1;Y=!0}}else{const J=8&L?Q:I[++X];if(8&L&&null!==N.attrs){if(!qP(N.attrs,J,f)){if(Os(L))return!1;Y=!0}continue}const re=ZP(8&L?"class":Q,V,_1(N),f);if(-1===re){if(Os(L))return!1;Y=!0;continue}if(""!==J){let oe;oe=re>z?"":V[re+1].toLowerCase();const ae=8&L?oe:null;if(ae&&-1!==g1(ae,J,0)||2&L&&J!==oe){if(Os(L))return!1;Y=!0}}}}else{if(!Y&&!Os(L)&&!Os(Q))return!1;if(Y&&Os(Q))continue;Y=!1,L=Q|1&L}}return Os(L)||Y}function Os(N){return 0==(1&N)}function ZP(N,I,f,L){if(null===I)return-1;let V=0;if(L||!f){let z=!1;for(;V<I.length;){const Y=I[V];if(Y===N)return V;if(3===Y||6===Y)z=!0;else{if(1===Y||2===Y){let X=I[++V];for(;"string"==typeof X;)X=I[++V];continue}if(4===Y)break;if(0===Y){V+=4;continue}}V+=z?1:2}return-1}return function t2(N,I){let f=N.indexOf(4);if(f>-1)for(f++;f<N.length;){const L=N[f];if("number"==typeof L)return-1;if(L===I)return f;f++}return-1}(I,N)}function v1(N,I,f=!1){for(let L=0;L<I.length;L++)if(QP(N,I[L],f))return!0;return!1}function n2(N,I){e:for(let f=0;f<I.length;f++){const L=I[f];if(N.length===L.length){for(let V=0;V<N.length;V++)if(N[V]!==L[V])continue e;return!0}}return!1}function b1(N,I){return N?":not("+I.trim()+")":I}function r2(N){let I=N[0],f=1,L=2,V="",z=!1;for(;f<N.length;){let Y=N[f];if("string"==typeof Y)if(2&L){const X=N[++f];V+="["+Y+(X.length>0?'="'+X+'"':"")+"]"}else 8&L?V+="."+Y:4&L&&(V+=" "+Y);else""!==V&&!Os(Y)&&(I+=b1(z,V),V=""),L=Y,z=z||!Os(L);f++}return""!==V&&(I+=b1(z,V)),I}const wn={};function it(N){w1(Yn(),Qe(),Yr()+N,Da())}function w1(N,I,f,L){if(!L)if(3==(3&I[2])){const z=N.preOrderCheckHooks;null!==z&&Cd(I,z,f)}else{const z=N.preOrderHooks;null!==z&&Xc(I,z,0,f)}ko(f)}function f_(N,I){return N<<17|I<<2}function Ps(N){return N>>17&32767}function Ab(N){return 2|N}function sc(N){return(131068&N)>>2}function Tb(N,I){return-131069&N|I<<2}function Fb(N){return 1|N}function I1(N,I){const f=N.contentQueries;if(null!==f)for(let L=0;L<f.length;L+=2){const V=f[L],z=f[L+1];if(-1!==z){const Y=N.data[z];ih(V),Y.contentQueries(2,I[z],z)}}}function Nm(N,I,f,L,V,z,Y,X,Q,J){const te=I.blueprint.slice();return te[0]=V,te[2]=140|L,vy(te),te[3]=te[15]=N,te[8]=f,te[10]=Y||N&&N[10],te[11]=X||N&&N[11],te[12]=Q||N&&N[12]||null,te[9]=J||N&&N[9]||null,te[6]=z,te[16]=2==I.type?N[16]:te,te}function Bh(N,I,f,L,V){let z=N.data[I];if(null===z)z=function Hb(N,I,f,L,V){const z=Yl(),Y=dl(),Q=N.data[I]=function C2(N,I,f,L,V,z){return{type:f,index:L,insertBeforeIndex:null,injectorIndex:I?I.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:V,attrs:z,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:I,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,Y?z:z&&z.parent,f,I,L,V);return null===N.firstChild&&(N.firstChild=Q),null!==z&&(Y?null==z.child&&null!==Q.parent&&(z.child=Q):null===z.next&&(z.next=Q)),Q}(N,I,f,L,V),function wy(){return sn.lFrame.inI18n}()&&(z.flags|=64);else if(64&z.type){z.type=f,z.value=L,z.attrs=V;const Y=function ul(){const N=sn.lFrame,I=N.currentTNode;return N.isParent?I:I.parent}();z.injectorIndex=null===Y?-1:Y.injectorIndex}return aa(z,!0),z}function Hh(N,I,f,L){if(0===f)return-1;const V=I.length;for(let z=0;z<f;z++)I.push(L),N.blueprint.push(L),N.data.push(null);return V}function Lm(N,I,f){Es(I);try{const L=N.viewQuery;null!==L&&qb(1,L,f);const V=N.template;null!==V&&R1(N,I,V,1,f),N.firstCreatePass&&(N.firstCreatePass=!1),N.staticContentQueries&&I1(N,I),N.staticViewQueries&&qb(2,N.viewQuery,f);const z=N.components;null!==z&&function v2(N,I){for(let f=0;f<I.length;f++)H2(N,I[f])}(I,z)}catch(L){throw N.firstCreatePass&&(N.incompleteFirstPass=!0,N.firstCreatePass=!1),L}finally{I[2]&=-5,ho()}}function jh(N,I,f,L){const V=I[2];if(256==(256&V))return;Es(I);const z=Da();try{vy(I),function Kl(N){return sn.lFrame.bindingIndex=N}(N.bindingStartIndex),null!==f&&R1(N,I,f,2,L);const Y=3==(3&V);if(!z)if(Y){const J=N.preOrderCheckHooks;null!==J&&Cd(I,J,null)}else{const J=N.preOrderHooks;null!==J&&Xc(I,J,0,null),Ed(I,0)}if(function V2(N){for(let I=Rh(N);null!==I;I=ef(I)){if(!I[2])continue;const f=I[9];for(let L=0;L<f.length;L++){const V=f[L],z=V[3];0==(1024&V[2])&&Jp(z,1),V[2]|=1024}}}(I),function L2(N){for(let I=Rh(N);null!==I;I=ef(I))for(let f=10;f<I.length;f++){const L=I[f],V=L[1];_d(L)&&jh(V,L,V.template,L[8])}}(I),null!==N.contentQueries&&I1(N,I),!z)if(Y){const J=N.contentCheckHooks;null!==J&&Cd(I,J)}else{const J=N.contentHooks;null!==J&&Xc(I,J,1),Ed(I,1)}!function y2(N,I){const f=N.hostBindingOpCodes;if(null!==f)try{for(let L=0;L<f.length;L++){const V=f[L];if(V<0)ko(~V);else{const z=V,Y=f[++L],X=f[++L];nh(Y,z),X(2,I[z])}}}finally{ko(-1)}}(N,I);const X=N.components;null!==X&&function _2(N,I){for(let f=0;f<I.length;f++)B2(N,I[f])}(I,X);const Q=N.viewQuery;if(null!==Q&&qb(2,Q,L),!z)if(Y){const J=N.viewCheckHooks;null!==J&&Cd(I,J)}else{const J=N.viewHooks;null!==J&&Xc(I,J,2),Ed(I,2)}!0===N.firstUpdatePass&&(N.firstUpdatePass=!1),z||(I[2]&=-73),1024&I[2]&&(I[2]&=-1025,Jp(I[3],-1))}finally{ho()}}function b2(N,I,f,L){const V=I[10],z=!Da(),Y=th(I);try{z&&!Y&&V.begin&&V.begin(),Y&&Lm(N,I,L),jh(N,I,f,L)}finally{z&&!Y&&V.end&&V.end()}}function R1(N,I,f,L,V){const z=Yr(),Y=2&L;try{ko(-1),Y&&I.length>20&&w1(N,I,20,Da()),f(L,V)}finally{ko(z)}}function O1(N,I,f){if(dd(I)){const V=I.directiveEnd;for(let z=I.directiveStart;z<V;z++){const Y=N.data[z];Y.contentQueries&&Y.contentQueries(1,f[z],z)}}}function jb(N,I,f){!Kc()||(function A2(N,I,f,L){const V=f.directiveStart,z=f.directiveEnd;N.firstCreatePass||eu(f,I),wr(L,I);const Y=f.initialInputs;for(let X=V;X<z;X++){const Q=N.data[X],J=ia(Q);J&&O2(I,f,Q);const te=nu(I,N,X,f);wr(te,I),null!==Y&&P2(0,X-V,te,Q,0,Y),J&&(uo(f.index,I)[8]=te)}}(N,I,f,zo(f,I)),128==(128&f.flags)&&function T2(N,I,f){const L=f.directiveStart,V=f.directiveEnd,Y=f.index,X=function Cy(){return sn.lFrame.currentDirectiveIndex}();try{ko(Y);for(let Q=L;Q<V;Q++){const J=N.data[Q],te=I[Q];ka(Q),(null!==J.hostBindings||0!==J.hostVars||null!==J.hostAttrs)&&z1(J,te)}}finally{ko(-1),ka(X)}}(N,I,f))}function zb(N,I,f=zo){const L=I.localNames;if(null!==L){let V=I.index+1;for(let z=0;z<L.length;z+=2){const Y=L[z+1],X=-1===Y?f(I,N):N[Y];N[V++]=X}}}function P1(N){const I=N.tView;return null===I||I.incompleteFirstPass?N.tView=m_(1,null,N.template,N.decls,N.vars,N.directiveDefs,N.pipeDefs,N.viewQuery,N.schemas,N.consts):I}function m_(N,I,f,L,V,z,Y,X,Q,J){const te=20+L,re=te+V,oe=function w2(N,I){const f=[];for(let L=0;L<I;L++)f.push(L<N?null:wn);return f}(te,re),ae="function"==typeof J?J():J;return oe[1]={type:N,blueprint:oe,template:f,queries:null,viewQuery:X,declTNode:I,data:oe.slice().fill(null,te),bindingStartIndex:te,expandoStartIndex:re,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof z?z():z,pipeRegistry:"function"==typeof Y?Y():Y,firstChild:null,schemas:Q,consts:ae,incompleteFirstPass:!1}}function V1(N,I,f,L){const V=K1(I);null===f?V.push(L):(V.push(f),N.firstCreatePass&&q1(N).push(L,V.length-1))}function B1(N,I,f){for(let L in N)if(N.hasOwnProperty(L)){const V=N[L];(f=null===f?{}:f).hasOwnProperty(L)?f[L].push(I,V):f[L]=[I,V]}return f}function Ra(N,I,f,L,V,z,Y,X){const Q=zo(I,f);let te,J=I.inputs;!X&&null!=J&&(te=J[L])?(Z1(N,f,te,L,V),fd(I)&&function k2(N,I){const f=uo(I,N);16&f[2]||(f[2]|=64)}(f,I.index)):3&I.type&&(L=function D2(N){return"class"===N?"className":"for"===N?"htmlFor":"formaction"===N?"formAction":"innerHtml"===N?"innerHTML":"readonly"===N?"readOnly":"tabindex"===N?"tabIndex":N}(L),V=null!=Y?Y(V,I.value||"",L):V,jr(z)?z.setProperty(Q,L,V):fl(L)||(Q.setProperty?Q.setProperty(L,V):Q[L]=V))}function Ub(N,I,f,L){let V=!1;if(Kc()){const z=function F2(N,I,f){const L=N.directiveRegistry;let V=null;if(L)for(let z=0;z<L.length;z++){const Y=L[z];v1(f,Y.selectors,!1)&&(V||(V=[]),Md(eu(f,I),N,Y.type),ia(Y)?(U1(N,f),V.unshift(Y)):V.push(Y))}return V}(N,I,f),Y=null===L?null:{"":-1};if(null!==z){V=!0,$1(f,N.data.length,z.length);for(let te=0;te<z.length;te++){const re=z[te];re.providersResolver&&re.providersResolver(re)}let X=!1,Q=!1,J=Hh(N,I,z.length,null);for(let te=0;te<z.length;te++){const re=z[te];f.mergedAttrs=mo(f.mergedAttrs,re.hostAttrs),W1(N,f,I,J,re),R2(J,re,Y),null!==re.contentQueries&&(f.flags|=8),(null!==re.hostBindings||null!==re.hostAttrs||0!==re.hostVars)&&(f.flags|=128);const oe=re.type.prototype;!X&&(oe.ngOnChanges||oe.ngOnInit||oe.ngDoCheck)&&((N.preOrderHooks||(N.preOrderHooks=[])).push(f.index),X=!0),!Q&&(oe.ngOnChanges||oe.ngDoCheck)&&((N.preOrderCheckHooks||(N.preOrderCheckHooks=[])).push(f.index),Q=!0),J++}!function E2(N,I){const L=I.directiveEnd,V=N.data,z=I.attrs,Y=[];let X=null,Q=null;for(let J=I.directiveStart;J<L;J++){const te=V[J],re=te.inputs,oe=null===z||_1(I)?null:N2(re,z);Y.push(oe),X=B1(re,J,X),Q=B1(te.outputs,J,Q)}null!==X&&(X.hasOwnProperty("class")&&(I.flags|=16),X.hasOwnProperty("style")&&(I.flags|=32)),I.initialInputs=Y,I.inputs=X,I.outputs=Q}(N,f)}Y&&function I2(N,I,f){if(I){const L=N.localNames=[];for(let V=0;V<I.length;V+=2){const z=f[I[V+1]];if(null==z)throw new Ot(-301,!1);L.push(I[V],z)}}}(f,L,Y)}return f.mergedAttrs=mo(f.mergedAttrs,f.attrs),V}function j1(N,I,f,L,V,z){const Y=z.hostBindings;if(Y){let X=N.hostBindingOpCodes;null===X&&(X=N.hostBindingOpCodes=[]);const Q=~I.index;(function M2(N){let I=N.length;for(;I>0;){const f=N[--I];if("number"==typeof f&&f<0)return f}return 0})(X)!=Q&&X.push(Q),X.push(L,V,Y)}}function z1(N,I){null!==N.hostBindings&&N.hostBindings(1,I)}function U1(N,I){I.flags|=2,(N.components||(N.components=[])).push(I.index)}function R2(N,I,f){if(f){if(I.exportAs)for(let L=0;L<I.exportAs.length;L++)f[I.exportAs[L]]=N;ia(I)&&(f[""]=N)}}function $1(N,I,f){N.flags|=1,N.directiveStart=I,N.directiveEnd=I+f,N.providerIndexes=I}function W1(N,I,f,L,V){N.data[L]=V;const z=V.factory||(V.factory=Ka(V.type)),Y=new Qa(z,ia(V),null);N.blueprint[L]=Y,f[L]=Y,j1(N,I,0,L,Hh(N,f,V.hostVars,wn),V)}function O2(N,I,f){const L=zo(I,N),V=P1(f),z=N[10],Y=g_(N,Nm(N,V,null,f.onPush?64:16,L,I,z,z.createRenderer(L,f),null,null));N[I.index]=Y}function Cl(N,I,f,L,V,z){const Y=zo(N,I);!function $b(N,I,f,L,V,z,Y){if(null==z)jr(N)?N.removeAttribute(I,V,f):I.removeAttribute(V);else{const X=null==Y?rn(z):Y(z,L||"",V);jr(N)?N.setAttribute(I,V,X,f):f?I.setAttributeNS(f,V,X):I.setAttribute(V,X)}}(I[11],Y,z,N.value,f,L,V)}function P2(N,I,f,L,V,z){const Y=z[I];if(null!==Y){const X=L.setInput;for(let Q=0;Q<Y.length;){const J=Y[Q++],te=Y[Q++],re=Y[Q++];null!==X?L.setInput(f,re,J,te):f[te]=re}}}function N2(N,I){let f=null,L=0;for(;L<I.length;){const V=I[L];if(0!==V)if(5!==V){if("number"==typeof V)break;N.hasOwnProperty(V)&&(null===f&&(f=[]),f.push(V,N[V],I[L+1])),L+=2}else L+=2;else L+=4}return f}function G1(N,I,f,L){return new Array(N,!0,!1,I,null,0,L,f,null,null)}function B2(N,I){const f=uo(I,N);if(_d(f)){const L=f[1];80&f[2]?jh(L,f,L.template,f[8]):f[5]>0&&Wb(f)}}function Wb(N){for(let L=Rh(N);null!==L;L=ef(L))for(let V=10;V<L.length;V++){const z=L[V];if(1024&z[2]){const Y=z[1];jh(Y,z,Y.template,z[8])}else z[5]>0&&Wb(z)}const f=N[1].components;if(null!==f)for(let L=0;L<f.length;L++){const V=uo(f[L],N);_d(V)&&V[5]>0&&Wb(V)}}function H2(N,I){const f=uo(I,N),L=f[1];(function j2(N,I){for(let f=I.length;f<N.blueprint.length;f++)I.push(N.blueprint[f])})(L,f),Lm(L,f,f[8])}function g_(N,I){return N[13]?N[14][4]=I:N[13]=I,N[14]=I,I}function Gb(N){for(;N;){N[2]|=64;const I=Eu(N);if(Y0(N)&&!I)return N;N=I}return null}function Kb(N,I,f){const L=I[10];L.begin&&L.begin();try{jh(N,I,N.template,f)}catch(V){throw Q1(I,V),V}finally{L.end&&L.end()}}function Y1(N){!function Yb(N){for(let I=0;I<N.components.length;I++){const f=N.components[I],L=qd(f),V=L[1];b2(V,L,V.template,f)}}(N[8])}function qb(N,I,f){ih(0),I(N,f)}const W2=(()=>Promise.resolve(null))();function K1(N){return N[7]||(N[7]=[])}function q1(N){return N.cleanup||(N.cleanup=[])}function X1(N,I,f){return(null===N||ia(N))&&(f=function _y(N){for(;Array.isArray(N);){if("object"==typeof N[1])return N;N=N[0]}return null}(f[I.index])),f[11]}function Q1(N,I){const f=N[9],L=f?f.get(bl,null):null;L&&L.handleError(I)}function Z1(N,I,f,L,V){for(let z=0;z<f.length;){const Y=f[z++],X=f[z++],Q=I[Y],J=N.data[Y];null!==J.setInput?J.setInput(Q,V,L,X):Q[X]=V}}function lc(N,I,f){const L=Jf(I,N);!function Oh(N,I,f){jr(N)?N.setValue(I,f):I.textContent=f}(N[11],L,f)}function y_(N,I,f){let L=f?N.styles:null,V=f?N.classes:null,z=0;if(null!==I)for(let Y=0;Y<I.length;Y++){const X=I[Y];"number"==typeof X?z=X:1==z?V=Nl(V,X):2==z&&(L=Nl(L,X+": "+I[++Y]+";"))}f?N.styles=L:N.stylesWithoutHost=L,f?N.classes=V:N.classesWithoutHost=V}const Xb=new wt("INJECTOR",-1);class J1{get(I,f=su){if(f===su){const L=new Error(`NullInjectorError: No provider for ${hr(I)}!`);throw L.name="NullInjectorError",L}return f}}const Qb=new wt("Set Injector scope."),Vm={},K2={};let Zb;function eS(){return void 0===Zb&&(Zb=new J1),Zb}function tS(N,I=null,f=null,L){const V=nS(N,I,f,L);return V._resolveInjectorDefTypes(),V}function nS(N,I=null,f=null,L){return new q2(N,f,I||eS(),L)}class q2{constructor(I,f,L,V=null){this.parent=L,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const z=[];f&&la(f,X=>this.processProvider(X,I,f)),la([I],X=>this.processInjectorType(X,[],z)),this.records.set(Xb,zh(void 0,this));const Y=this.records.get(Qb);this.scope=null!=Y?Y.value:null,this.source=V||("object"==typeof I?null:hr(I))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(I=>I.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(I,f=su,L=nn.Default){this.assertNotDestroyed();const V=By(this),z=Oe(void 0);try{if(!(L&nn.SkipSelf)){let X=this.records.get(I);if(void 0===X){const Q=function rN(N){return"function"==typeof N||"object"==typeof N&&N instanceof wt}(I)&&wa(I);X=Q&&this.injectableDefInScope(Q)?zh(Jb(I),Vm):null,this.records.set(I,X)}if(null!=X)return this.hydrate(I,X)}return(L&nn.Self?eS():this.parent).get(I,f=L&nn.Optional&&f===su?null:f)}catch(Y){if("NullInjectorError"===Y.name){if((Y[gh]=Y[gh]||[]).unshift(hr(I)),V)throw Y;return function jy(N,I,f,L){const V=N[gh];throw I[Vd]&&V.unshift(I[Vd]),N.message=function zy(N,I,f,L=null){N=N&&"\n"===N.charAt(0)&&"\u0275"==N.charAt(1)?N.substr(2):N;let V=hr(I);if(Array.isArray(I))V=I.map(hr).join(" -> ");else if("object"==typeof I){let z=[];for(let Y in I)if(I.hasOwnProperty(Y)){let X=I[Y];z.push(Y+":"+("string"==typeof X?JSON.stringify(X):hr(X)))}V=`{${z.join(", ")}}`}return`${f}${L?"("+L+")":""}[${V}]: ${N.replace(Ly,"\n  ")}`}("\n"+N.message,V,f,L),N.ngTokenPath=V,N[gh]=null,N}(Y,I,"R3InjectorError",this.source)}throw Y}finally{Oe(z),By(V)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(I=>this.get(I))}toString(){const I=[];return this.records.forEach((L,V)=>I.push(hr(V))),`R3Injector[${I.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ot(205,!1)}processInjectorType(I,f,L){if(!(I=mn(I)))return!1;let V=od(I);const z=null==V&&I.ngModule||void 0,Y=void 0===z?I:z,X=-1!==L.indexOf(Y);if(void 0!==z&&(V=od(z)),null==V)return!1;if(null!=V.imports&&!X){let te;L.push(Y);try{la(V.imports,re=>{this.processInjectorType(re,f,L)&&(void 0===te&&(te=[]),te.push(re))})}finally{}if(void 0!==te)for(let re=0;re<te.length;re++){const{ngModule:oe,providers:ae}=te[re];la(ae,le=>this.processProvider(le,oe,ae||pr))}}this.injectorDefTypes.add(Y);const Q=Ka(Y)||(()=>new Y);this.records.set(Y,zh(Q,Vm));const J=V.providers;if(null!=J&&!X){const te=I;la(J,re=>this.processProvider(re,te,J))}return void 0!==z&&void 0!==I.providers}processProvider(I,f,L){let V=Uh(I=mn(I))?I:mn(I&&I.provide);const z=function Q2(N,I,f){return iS(N)?zh(void 0,N.useValue):zh(rS(N),Vm)}(I);if(Uh(I)||!0!==I.multi)this.records.get(V);else{let Y=this.records.get(V);Y||(Y=zh(void 0,Vm,!0),Y.factory=()=>vh(Y.multi),this.records.set(V,Y)),V=I,Y.multi.push(I)}this.records.set(V,z)}hydrate(I,f){return f.value===Vm&&(f.value=K2,f.value=f.factory()),"object"==typeof f.value&&f.value&&function nN(N){return null!==N&&"object"==typeof N&&"function"==typeof N.ngOnDestroy}(f.value)&&this.onDestroy.add(f.value),f.value}injectableDefInScope(I){if(!I.providedIn)return!1;const f=mn(I.providedIn);return"string"==typeof f?"any"===f||f===this.scope:this.injectorDefTypes.has(f)}}function Jb(N){const I=wa(N),f=null!==I?I.factory:Ka(N);if(null!==f)return f;if(N instanceof wt)throw new Ot(204,!1);if(N instanceof Function)return function X2(N){const I=N.length;if(I>0)throw iu(I,"?"),new Ot(204,!1);const f=function Bl(N){const I=N&&(N[Wa]||N[Uf]);if(I){const f=function zf(N){if(N.hasOwnProperty("name"))return N.name;const I=(""+N).match(/^function\s*([^\s(]+)/);return null===I?"":I[1]}(N);return console.warn(`DEPRECATED: DI is instantiating a token "${f}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${f}" class.`),I}return null}(N);return null!==f?()=>f.factory(N):()=>new N}(N);throw new Ot(204,!1)}function rS(N,I,f){let L;if(Uh(N)){const V=mn(N);return Ka(V)||Jb(V)}if(iS(N))L=()=>mn(N.useValue);else if(function J2(N){return!(!N||!N.useFactory)}(N))L=()=>N.useFactory(...vh(N.deps||[]));else if(function Z2(N){return!(!N||!N.useExisting)}(N))L=()=>Pe(mn(N.useExisting));else{const V=mn(N&&(N.useClass||N.provide));if(!function tN(N){return!!N.deps}(N))return Ka(V)||Jb(V);L=()=>new V(...vh(N.deps))}return L}function zh(N,I,f=!1){return{factory:N,value:I,multi:f?[]:void 0}}function iS(N){return null!==N&&"object"==typeof N&&ub in N}function Uh(N){return"function"==typeof N}let ui=(()=>{class N{static create(f,L){var V;if(Array.isArray(f))return tS({name:""},L,f,"");{const z=null!==(V=f.name)&&void 0!==V?V:"";return tS({name:z},f.parent,f.providers,z)}}}return N.THROW_IF_NOT_FOUND=su,N.NULL=new J1,N.\u0275prov=pt({token:N,providedIn:"any",factory:()=>Pe(Xb)}),N.__NG_ELEMENT_ID__=-1,N})();function dN(N,I){wd(qd(N)[1],Gr())}function gn(N){let I=function gS(N){return Object.getPrototypeOf(N.prototype).constructor}(N.type),f=!0;const L=[N];for(;I;){let V;if(ia(N))V=I.\u0275cmp||I.\u0275dir;else{if(I.\u0275cmp)throw new Ot(903,"");V=I.\u0275dir}if(V){if(f){L.push(V);const Y=N;Y.inputs=nw(N.inputs),Y.declaredInputs=nw(N.declaredInputs),Y.outputs=nw(N.outputs);const X=V.hostBindings;X&&mN(N,X);const Q=V.viewQuery,J=V.contentQueries;if(Q&&hN(N,Q),J&&pN(N,J),el(N.inputs,V.inputs),el(N.declaredInputs,V.declaredInputs),el(N.outputs,V.outputs),ia(V)&&V.data.animation){const te=N.data;te.animation=(te.animation||[]).concat(V.data.animation)}}const z=V.features;if(z)for(let Y=0;Y<z.length;Y++){const X=z[Y];X&&X.ngInherit&&X(N),X===gn&&(f=!1)}}I=Object.getPrototypeOf(I)}!function fN(N){let I=0,f=null;for(let L=N.length-1;L>=0;L--){const V=N[L];V.hostVars=I+=V.hostVars,V.hostAttrs=mo(V.hostAttrs,f=mo(f,V.hostAttrs))}}(L)}function nw(N){return N===al?{}:N===pr?[]:N}function hN(N,I){const f=N.viewQuery;N.viewQuery=f?(L,V)=>{I(L,V),f(L,V)}:I}function pN(N,I){const f=N.contentQueries;N.contentQueries=f?(L,V,z)=>{I(L,V,z),f(L,V,z)}:I}function mN(N,I){const f=N.hostBindings;N.hostBindings=f?(L,V)=>{I(L,V),f(L,V)}:I}let __=null;function $h(){if(!__){const N=or.Symbol;if(N&&N.iterator)__=N.iterator;else{const I=Object.getOwnPropertyNames(Map.prototype);for(let f=0;f<I.length;++f){const L=I[f];"entries"!==L&&"size"!==L&&Map.prototype[L]===Map.prototype.entries&&(__=L)}}}return __}function Bm(N){return!!rw(N)&&(Array.isArray(N)||!(N instanceof Map)&&$h()in N)}function rw(N){return null!==N&&("function"==typeof N||"object"==typeof N)}function Ro(N,I,f){return!Object.is(N[I],f)&&(N[I]=f,!0)}function Kn(N,I,f,L){const V=Qe();return Ro(V,Ei(),I)&&(Yn(),Cl(Kr(),V,N,I,f,L)),Kn}function Gh(N,I,f,L){return Ro(N,Ei(),f)?I+rn(f)+L:wn}function lr(N,I,f,L,V,z,Y,X){const Q=Qe(),J=Yn(),te=N+20,re=J.firstCreatePass?function CN(N,I,f,L,V,z,Y,X,Q){const J=I.consts,te=Bh(I,N,4,Y||null,bs(J,X));Ub(I,f,te,bs(J,Q)),wd(I,te);const re=te.tViews=m_(2,te,L,V,z,I.directiveRegistry,I.pipeRegistry,null,I.schemas,J);return null!==I.queries&&(I.queries.template(I,te),re.queries=I.queries.embeddedTView(te)),te}(te,J,Q,I,f,L,V,z,Y):J.data[te];aa(re,!1);const oe=Q[11].createComment("");Te(J,Q,oe,re),wr(oe,Q),g_(Q,Q[te]=G1(oe,Q,oe,re)),hd(re)&&jb(J,Q,re),null!=Y&&zb(Q,re,X)}function iw(N){return cl(function Pr(){return sn.lFrame.contextLView}(),20+N)}function he(N,I=nn.Default){const f=Qe();return null===f?Pe(N,I):tu(Gr(),f,mn(N),I)}function w_(){throw new Error("invalid")}function kt(N,I,f){const L=Qe();return Ro(L,Ei(),I)&&Ra(Yn(),Kr(),L,N,I,L[11],f,!1),kt}function cw(N,I,f,L,V){const Y=V?"class":"style";Z1(N,f,I.inputs[Y],Y,L)}function mt(N,I,f,L){const V=Qe(),z=Yn(),Y=20+N,X=V[11],Q=V[Y]=Nh(X,I,function Ur(){return sn.lFrame.currentNamespace}()),J=z.firstCreatePass?function UN(N,I,f,L,V,z,Y){const X=I.consts,J=Bh(I,N,2,V,bs(X,z));return Ub(I,f,J,bs(X,Y)),null!==J.attrs&&y_(J,J.attrs,!1),null!==J.mergedAttrs&&y_(J,J.mergedAttrs,!0),null!==I.queries&&I.queries.elementStart(I,J),J}(Y,z,V,0,I,f,L):z.data[Y];aa(J,!0);const te=J.mergedAttrs;null!==te&&Jc(X,Q,te);const re=J.classes;null!==re&&Mb(X,Q,re);const oe=J.styles;return null!==oe&&m1(X,Q,oe),64!=(64&J.flags)&&Te(z,V,Q,J),0===function by(){return sn.lFrame.elementDepthCount}()&&wr(Q,V),function Yc(){sn.lFrame.elementDepthCount++}(),hd(J)&&(jb(z,V,J),O1(z,J,V)),null!==L&&zb(V,J),mt}function vt(){let N=Gr();dl()?Xa():(N=N.parent,aa(N,!1));const I=N;!function qa(){sn.lFrame.elementDepthCount--}();const f=Yn();return f.firstCreatePass&&(wd(f,N),dd(N)&&f.queries.elementEnd(N)),null!=I.classesWithoutHost&&function ah(N){return 0!=(16&N.flags)}(I)&&cw(f,I,Qe(),I.classesWithoutHost,!0),null!=I.stylesWithoutHost&&function Zc(N){return 0!=(32&N.flags)}(I)&&cw(f,I,Qe(),I.stylesWithoutHost,!1),vt}function Nr(N,I,f,L){return mt(N,I,f,L),vt(),Nr}function jm(N,I,f){const L=Qe(),V=Yn(),z=N+20,Y=V.firstCreatePass?function $N(N,I,f,L,V){const z=I.consts,Y=bs(z,L),X=Bh(I,N,8,"ng-container",Y);return null!==Y&&y_(X,Y,!0),Ub(I,f,X,bs(z,V)),null!==I.queries&&I.queries.elementStart(I,X),X}(z,V,L,I,f):V.data[z];aa(Y,!0);const X=L[z]=L[11].createComment("");return Te(V,L,X,Y),wr(X,L),hd(Y)&&(jb(V,L,Y),O1(V,Y,L)),null!=f&&zb(L,Y),jm}function zm(){let N=Gr();const I=Yn();return dl()?Xa():(N=N.parent,aa(N,!1)),I.firstCreatePass&&(wd(I,N),dd(N)&&I.queries.elementEnd(N)),zm}function cc(){return Qe()}function C_(N){return!!N&&"function"==typeof N.then}const VS=function LS(N){return!!N&&"function"==typeof N.subscribe};function hn(N,I,f,L){const V=Qe(),z=Yn(),Y=Gr();return BS(z,V,V[11],Y,N,I,!!f,L),hn}function E_(N,I){const f=Gr(),L=Qe(),V=Yn();return BS(V,L,X1(qc(V.data),f,L),f,N,I,!1),E_}function BS(N,I,f,L,V,z,Y,X){const Q=hd(L),te=N.firstCreatePass&&q1(N),re=I[8],oe=K1(I);let ae=!0;if(3&L.type||X){const ve=zo(L,I),ye=X?X(ve):ve,pe=oe.length,Ie=X?Re=>X(Br(Re[L.index])):L.index;if(jr(f)){let Re=null;if(!X&&Q&&(Re=function WN(N,I,f,L){const V=N.cleanup;if(null!=V)for(let z=0;z<V.length-1;z+=2){const Y=V[z];if(Y===f&&V[z+1]===L){const X=I[7],Q=V[z+2];return X.length>Q?X[Q]:null}"string"==typeof Y&&(z+=2)}return null}(N,I,V,L.index)),null!==Re)(Re.__ngLastListenerFn__||Re).__ngNextListenerFn__=z,Re.__ngLastListenerFn__=z,ae=!1;else{z=uw(L,I,re,z,!1);const ft=f.listen(ye,V,z);oe.push(z,ft),te&&te.push(V,Ie,pe,pe+1)}}else z=uw(L,I,re,z,!0),ye.addEventListener(V,z,Y),oe.push(z),te&&te.push(V,Ie,pe,Y)}else z=uw(L,I,re,z,!1);const le=L.outputs;let ue;if(ae&&null!==le&&(ue=le[V])){const ve=ue.length;if(ve)for(let ye=0;ye<ve;ye+=2){const et=I[ue[ye]][ue[ye+1]].subscribe(z),$t=oe.length;oe.push(z,et),te&&te.push(V,L.index,$t,-($t+1))}}}function HS(N,I,f,L){try{return!1!==f(L)}catch(V){return Q1(N,V),!1}}function uw(N,I,f,L,V){return function z(Y){if(Y===Function)return L;const X=2&N.flags?uo(N.index,I):I;0==(32&I[2])&&Gb(X);let Q=HS(I,0,L,Y),J=z.__ngNextListenerFn__;for(;J;)Q=HS(I,0,J,Y)&&Q,J=J.__ngNextListenerFn__;return V&&!1===Q&&(Y.preventDefault(),Y.returnValue=!1),Q}}function Bn(N=1){return function Xl(N){return(sn.lFrame.contextLView=function Ds(N,I){for(;N>0;)I=I[15],N--;return I}(N,sn.lFrame.contextLView))[8]}(N)}function GN(N,I){let f=null;const L=function JP(N){const I=N.attrs;if(null!=I){const f=I.indexOf(5);if(0==(1&f))return I[f+1]}return null}(N);for(let V=0;V<I.length;V++){const z=I[V];if("*"!==z){if(null===L?v1(N,z,!0):n2(L,z))return V}else f=V}return f}function uc(N){const I=Qe()[16][6];if(!I.projection){const L=I.projection=iu(N?N.length:1,null),V=L.slice();let z=I.child;for(;null!==z;){const Y=N?GN(z,N):0;null!==Y&&(V[Y]?V[Y].projectionNext=z:L[Y]=z,V[Y]=z),z=z.next}}}function no(N,I=0,f){const L=Qe(),V=Yn(),z=Bh(V,20+N,16,null,f||null);null===z.projection&&(z.projection=I),Xa(),64!=(64&z.flags)&&function sr(N,I,f){Rs(I[11],0,I,f,se(N,f,I),Bt(f.parent||I[6],f,I))}(V,L,z)}function XS(N,I,f,L,V){const z=N[f+1],Y=null===I;let X=L?Ps(z):sc(z),Q=!1;for(;0!==X&&(!1===Q||Y);){const te=N[X+1];qN(N[X],I)&&(Q=!0,N[X+1]=L?Fb(te):Ab(te)),X=L?Ps(te):sc(te)}Q&&(N[f+1]=L?Ab(z):Fb(z))}function qN(N,I){return null===N||null==I||(Array.isArray(N)?N[1]:N)===I||!(!Array.isArray(N)||"string"!=typeof I)&&As(N,I)>=0}const Yi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function QS(N){return N.substring(Yi.key,Yi.keyEnd)}function ZS(N,I){const f=Yi.textEnd;return f===I?-1:(I=Yi.keyEnd=function JN(N,I,f){for(;I<f&&N.charCodeAt(I)>32;)I++;return I}(N,Yi.key=I,f),tp(N,I,f))}function tp(N,I,f){for(;I<f&&N.charCodeAt(I)<=32;)I++;return I}function rf(N,I,f){return Ls(N,I,f,!1),rf}function ri(N,I){return Ls(N,I,null,!0),ri}function kl(N,I){for(let f=function QN(N){return function ex(N){Yi.key=0,Yi.keyEnd=0,Yi.value=0,Yi.valueEnd=0,Yi.textEnd=N.length}(N),ZS(N,tp(N,0,Yi.textEnd))}(I);f>=0;f=ZS(I,f))Ao(N,QS(I),!0)}function Ls(N,I,f,L){const V=Qe(),z=Yn(),Y=sa(2);z.firstUpdatePass&&ix(z,N,Y,L),I!==wn&&Ro(V,Y,I)&&ax(z,z.data[Yr()],V,V[11],N,V[Y+1]=function uL(N,I){return null==N||("string"==typeof I?N+=I:"object"==typeof N&&(N=hr(go(N)))),N}(I,f),L,Y)}function rx(N,I){return I>=N.expandoStartIndex}function ix(N,I,f,L){const V=N.data;if(null===V[f+1]){const z=V[Yr()],Y=rx(N,f);lx(z,L)&&null===I&&!Y&&(I=!1),I=function iL(N,I,f,L){const V=qc(N);let z=L?I.residualClasses:I.residualStyles;if(null===V)0===(L?I.classBindings:I.styleBindings)&&(f=Um(f=fw(null,N,I,f,L),I.attrs,L),z=null);else{const Y=I.directiveStylingLast;if(-1===Y||N[Y]!==V)if(f=fw(V,N,I,f,L),null===z){let Q=function oL(N,I,f){const L=f?I.classBindings:I.styleBindings;if(0!==sc(L))return N[Ps(L)]}(N,I,L);void 0!==Q&&Array.isArray(Q)&&(Q=fw(null,N,I,Q[1],L),Q=Um(Q,I.attrs,L),function aL(N,I,f,L){N[Ps(f?I.classBindings:I.styleBindings)]=L}(N,I,L,Q))}else z=function sL(N,I,f){let L;const V=I.directiveEnd;for(let z=1+I.directiveStylingLast;z<V;z++)L=Um(L,N[z].hostAttrs,f);return Um(L,I.attrs,f)}(N,I,L)}return void 0!==z&&(L?I.residualClasses=z:I.residualStyles=z),f}(V,z,I,L),function YN(N,I,f,L,V,z){let Y=z?I.classBindings:I.styleBindings,X=Ps(Y),Q=sc(Y);N[L]=f;let te,J=!1;if(Array.isArray(f)){const re=f;te=re[1],(null===te||As(re,te)>0)&&(J=!0)}else te=f;if(V)if(0!==Q){const oe=Ps(N[X+1]);N[L+1]=f_(oe,X),0!==oe&&(N[oe+1]=Tb(N[oe+1],L)),N[X+1]=function s2(N,I){return 131071&N|I<<17}(N[X+1],L)}else N[L+1]=f_(X,0),0!==X&&(N[X+1]=Tb(N[X+1],L)),X=L;else N[L+1]=f_(Q,0),0===X?X=L:N[Q+1]=Tb(N[Q+1],L),Q=L;J&&(N[L+1]=Ab(N[L+1])),XS(N,te,L,!0),XS(N,te,L,!1),function KN(N,I,f,L,V){const z=V?N.residualClasses:N.residualStyles;null!=z&&"string"==typeof I&&As(z,I)>=0&&(f[L+1]=Fb(f[L+1]))}(I,te,N,L,z),Y=f_(X,Q),z?I.classBindings=Y:I.styleBindings=Y}(V,z,I,f,Y,L)}}function fw(N,I,f,L,V){let z=null;const Y=f.directiveEnd;let X=f.directiveStylingLast;for(-1===X?X=f.directiveStart:X++;X<Y&&(z=I[X],L=Um(L,z.hostAttrs,V),z!==N);)X++;return null!==N&&(f.directiveStylingLast=X),L}function Um(N,I,f){const L=f?1:2;let V=-1;if(null!==I)for(let z=0;z<I.length;z++){const Y=I[z];"number"==typeof Y?V=Y:V===L&&(Array.isArray(N)||(N=void 0===N?[]:["",N]),Ao(N,Y,!!f||I[++z]))}return void 0===N?null:N}function ax(N,I,f,L,V,z,Y,X){if(!(3&I.type))return;const Q=N.data,J=Q[X+1];D_(function D1(N){return 1==(1&N)}(J)?sx(Q,I,f,V,sc(J),Y):void 0)||(D_(z)||function E1(N){return 2==(2&N)}(J)&&(z=sx(Q,null,f,V,X,Y)),function KP(N,I,f,L,V){const z=jr(N);if(I)V?z?N.addClass(f,L):f.classList.add(L):z?N.removeClass(f,L):f.classList.remove(L);else{let Y=-1===L.indexOf("-")?void 0:yo.DashCase;if(null==V)z?N.removeStyle(f,L,Y):f.style.removeProperty(L);else{const X="string"==typeof V&&V.endsWith("!important");X&&(V=V.slice(0,-10),Y|=yo.Important),z?N.setStyle(f,L,V,Y):f.style.setProperty(L,V,X?"important":"")}}}(L,Y,Jf(Yr(),f),V,z))}function sx(N,I,f,L,V,z){const Y=null===I;let X;for(;V>0;){const Q=N[V],J=Array.isArray(Q),te=J?Q[1]:Q,re=null===te;let oe=f[V+1];oe===wn&&(oe=re?pr:void 0);let ae=re?au(oe,L):te===L?oe:void 0;if(J&&!D_(ae)&&(ae=au(Q,L)),D_(ae)&&(X=ae,Y))return X;const le=N[V+1];V=Y?Ps(le):sc(le)}if(null!==I){let Q=z?I.residualClasses:I.residualStyles;null!=Q&&(X=au(Q,L))}return X}function D_(N){return void 0!==N}function lx(N,I){return 0!=(N.flags&(I?16:32))}function br(N,I=""){const f=Qe(),L=Yn(),V=N+20,z=L.firstCreatePass?Bh(L,V,1,I,null):L.data[V],Y=f[V]=function Du(N,I){return jr(N)?N.createText(I):N.createTextNode(I)}(f[11],I);Te(L,f,Y,z),aa(z,!1)}function $r(N){return dc("",N,""),$r}function dc(N,I,f){const L=Qe(),V=Gh(L,N,I,f);return V!==wn&&lc(L,Yr(),V),dc}function yx(N,I,f){!function Vs(N,I,f,L){const V=Yn(),z=sa(2);V.firstUpdatePass&&ix(V,null,z,L);const Y=Qe();if(f!==wn&&Ro(Y,z,f)){const X=V.data[Yr()];if(lx(X,L)&&!rx(V,z)){let Q=L?X.classesWithoutHost:X.stylesWithoutHost;null!==Q&&(f=Nl(Q,f||"")),cw(V,X,Y,f,L)}else!function cL(N,I,f,L,V,z,Y,X){V===wn&&(V=pr);let Q=0,J=0,te=0<V.length?V[0]:null,re=0<z.length?z[0]:null;for(;null!==te||null!==re;){const oe=Q<V.length?V[Q+1]:void 0,ae=J<z.length?z[J+1]:void 0;let ue,le=null;te===re?(Q+=2,J+=2,oe!==ae&&(le=re,ue=ae)):null===re||null!==te&&te<re?(Q+=2,le=te):(J+=2,le=re,ue=ae),null!==le&&ax(N,I,f,L,le,ue,Y,X),te=Q<V.length?V[Q]:null,re=J<z.length?z[J]:null}}(V,X,Y,Y[11],Y[z+1],Y[z+1]=function lL(N,I,f){if(null==f||""===f)return pr;const L=[],V=go(f);if(Array.isArray(V))for(let z=0;z<V.length;z++)N(L,V[z],!0);else if("object"==typeof V)for(const z in V)V.hasOwnProperty(z)&&N(L,z,V[z]);else"string"==typeof V&&I(L,V);return L}(N,I,f),L,z)}}(Ao,kl,Gh(Qe(),N,I,f),!0)}function Sl(N,I,f){const L=Qe();return Ro(L,Ei(),I)&&Ra(Yn(),Kr(),L,N,I,L[11],f,!0),Sl}function k_(N,I,f){const L=Qe();if(Ro(L,Ei(),I)){const z=Yn(),Y=Kr();Ra(z,Y,L,N,I,X1(qc(z.data),Y,L),f,!0)}return k_}const S_="en-US";let Ax=S_;function mw(N,I,f,L,V){if(N=mn(N),Array.isArray(N))for(let z=0;z<N.length;z++)mw(N[z],I,f,L,V);else{const z=Yn(),Y=Qe();let X=Uh(N)?N:mn(N.provide),Q=rS(N);const J=Gr(),te=1048575&J.providerIndexes,re=J.directiveStart,oe=J.providerIndexes>>20;if(Uh(N)||!N.multi){const ae=new Qa(Q,V,he),le=yw(X,I,V?te:te+oe,re);-1===le?(Md(eu(J,Y),z,X),gw(z,N,I.length),I.push(X),J.directiveStart++,J.directiveEnd++,V&&(J.providerIndexes+=1048576),f.push(ae),Y.push(ae)):(f[le]=ae,Y[le]=ae)}else{const ae=yw(X,I,te+oe,re),le=yw(X,I,te,te+oe),ue=ae>=0&&f[ae],ve=le>=0&&f[le];if(V&&!ve||!V&&!ue){Md(eu(J,Y),z,X);const ye=function M3(N,I,f,L,V){const z=new Qa(N,f,he);return z.multi=[],z.index=I,z.componentProviders=0,Jx(z,V,L&&!f),z}(V?x3:S3,f.length,V,L,Q);!V&&ve&&(f[le].providerFactory=ye),gw(z,N,I.length,0),I.push(X),J.directiveStart++,J.directiveEnd++,V&&(J.providerIndexes+=1048576),f.push(ye),Y.push(ye)}else gw(z,N,ae>-1?ae:le,Jx(f[V?le:ae],Q,!V&&L));!V&&L&&ve&&f[le].componentProviders++}}}function gw(N,I,f,L){const V=Uh(I),z=function eN(N){return!!N.useClass}(I);if(V||z){const Q=(z?mn(I.useClass):I).prototype.ngOnDestroy;if(Q){const J=N.destroyHooks||(N.destroyHooks=[]);if(!V&&I.multi){const te=J.indexOf(f);-1===te?J.push(f,[L,Q]):J[te+1].push(L,Q)}else J.push(f,Q)}}}function Jx(N,I,f){return f&&N.componentProviders++,N.multi.push(I)-1}function yw(N,I,f,L){for(let V=f;V<L;V++)if(I[V]===N)return V;return-1}function S3(N,I,f,L){return _w(this.multi,[])}function x3(N,I,f,L){const V=this.multi;let z;if(this.providerFactory){const Y=this.providerFactory.componentProviders,X=nu(f,f[1],this.providerFactory.index,L);z=X.slice(0,Y),_w(V,z);for(let Q=Y;Q<X.length;Q++)z.push(X[Q])}else z=[],_w(V,z);return z}function _w(N,I){for(let f=0;f<N.length;f++)I.push((0,N[f])());return I}function Qn(N,I=[]){return f=>{f.providersResolver=(L,V)=>function k3(N,I,f){const L=Yn();if(L.firstCreatePass){const V=ia(N);mw(f,L.data,L.blueprint,V,!0),mw(I,L.data,L.blueprint,V,!1)}}(L,V?V(N):N,I)}}class eM{}class F3{resolveComponentFactory(I){throw function T3(N){const I=Error(`No component factory found for ${hr(N)}. Did you add it to @NgModule.entryComponents?`);return I.ngComponent=N,I}(I)}}let xu=(()=>{class N{}return N.NULL=new F3,N})();function I3(){return ip(Gr(),Qe())}function ip(N,I){return new Zn(zo(N,I))}let Zn=(()=>{class N{constructor(f){this.nativeElement=f}}return N.__NG_ELEMENT_ID__=I3,N})();function R3(N){return N instanceof Zn?N.nativeElement:N}class Km{}let sf=(()=>{class N{}return N.__NG_ELEMENT_ID__=()=>function P3(){const N=Qe(),f=uo(Gr().index,N);return function O3(N){return N[11]}(Ea(f)?f:N)}(),N})(),N3=(()=>{class N{}return N.\u0275prov=pt({token:N,providedIn:"root",factory:()=>null}),N})();class lf{constructor(I){this.full=I,this.major=I.split(".")[0],this.minor=I.split(".")[1],this.patch=I.split(".").slice(2).join(".")}}const L3=new lf("13.3.6"),vw={};function F_(N,I,f,L,V=!1){for(;null!==f;){const z=I[f.index];if(null!==z&&L.push(Br(z)),jo(z))for(let X=10;X<z.length;X++){const Q=z[X],J=Q[1].firstChild;null!==J&&F_(Q[1],Q,J,L)}const Y=f.type;if(8&Y)F_(N,I,f.child,L);else if(32&Y){const X=Qd(f,I);let Q;for(;Q=X();)L.push(Q)}else if(16&Y){const X=Wt(I,f);if(Array.isArray(X))L.push(...X);else{const Q=Eu(I[16]);F_(Q[1],Q,X,L,!0)}}f=V?f.projectionNext:f.next}return L}class qm{constructor(I,f){this._lView=I,this._cdRefInjectingView=f,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const I=this._lView,f=I[1];return F_(f,I,f.firstChild,[])}get context(){return this._lView[8]}set context(I){this._lView[8]=I}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const I=this._lView[3];if(jo(I)){const f=I[8],L=f?f.indexOf(this):-1;L>-1&&(q(I,L),Nd(f,L))}this._attachedToViewContainer=!1}Z(this._lView[1],this._lView)}onDestroy(I){V1(this._lView[1],this._lView,null,I)}markForCheck(){Gb(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Kb(this._lView[1],this._lView,this.context)}checkNoChanges(){!function U2(N,I,f){Ci(!0);try{Kb(N,I,f)}finally{Ci(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Ot(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function kb(N,I){ni(N,I,I[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(I){if(this._attachedToViewContainer)throw new Ot(902,"");this._appRef=I}}class V3 extends qm{constructor(I){super(I),this._view=I}detectChanges(){Y1(this._view)}checkNoChanges(){!function $2(N){Ci(!0);try{Y1(N)}finally{Ci(!1)}}(this._view)}get context(){return null}}class nM extends xu{constructor(I){super(),this.ngModule=I}resolveComponentFactory(I){const f=Zi(I);return new bw(f,this.ngModule)}}function rM(N){const I=[];for(let f in N)N.hasOwnProperty(f)&&I.push({propName:N[f],templateName:f});return I}class bw extends eM{constructor(I,f){super(),this.componentDef=I,this.ngModule=f,this.componentType=I.type,this.selector=function o2(N){return N.map(r2).join(",")}(I.selectors),this.ngContentSelectors=I.ngContentSelectors?I.ngContentSelectors:[],this.isBoundToModule=!!f}get inputs(){return rM(this.componentDef.inputs)}get outputs(){return rM(this.componentDef.outputs)}create(I,f,L,V){const z=(V=V||this.ngModule)?function H3(N,I){return{get:(f,L,V)=>{const z=N.get(f,vw,V);return z!==vw||L===vw?z:I.get(f,L,V)}}}(I,V.injector):I,Y=z.get(Km,Wc),X=z.get(N3,null),Q=Y.createRenderer(null,this.componentDef),J=this.componentDef.selectors[0][0]||"div",te=L?function L1(N,I,f){if(jr(N))return N.selectRootElement(I,f===Ir.ShadowDom);let L="string"==typeof I?N.querySelector(I):I;return L.textContent="",L}(Q,L,this.componentDef.encapsulation):Nh(Y.createRenderer(null,this.componentDef),J,function B3(N){const I=N.toLowerCase();return"svg"===I?"svg":"math"===I?"math":null}(J)),re=this.componentDef.onPush?576:528,oe=function mS(N,I){return{components:[],scheduler:N||c_,clean:W2,playerHandler:I||null,flags:0}}(),ae=m_(0,null,null,1,0,null,null,null,null,null),le=Nm(null,ae,oe,re,null,null,Y,Q,X,z);let ue,ve;Es(le);try{const ye=function hS(N,I,f,L,V,z){const Y=f[1];f[20]=N;const Q=Bh(Y,20,2,"#host",null),J=Q.mergedAttrs=I.hostAttrs;null!==J&&(y_(Q,J,!0),null!==N&&(Jc(V,N,J),null!==Q.classes&&Mb(V,N,Q.classes),null!==Q.styles&&m1(V,N,Q.styles)));const te=L.createRenderer(N,I),re=Nm(f,P1(I),null,I.onPush?64:16,f[20],Q,L,te,z||null,null);return Y.firstCreatePass&&(Md(eu(Q,f),Y,I.type),U1(Y,Q),$1(Q,f.length,1)),g_(f,re),f[20]=re}(te,this.componentDef,le,Y,Q);if(te)if(L)Jc(Q,te,["ng-version",L3.full]);else{const{attrs:pe,classes:Ie}=function a2(N){const I=[],f=[];let L=1,V=2;for(;L<N.length;){let z=N[L];if("string"==typeof z)2===V?""!==z&&I.push(z,N[++L]):8===V&&f.push(z);else{if(!Os(V))break;V=z}L++}return{attrs:I,classes:f}}(this.componentDef.selectors[0]);pe&&Jc(Q,te,pe),Ie&&Ie.length>0&&Mb(Q,te,Ie.join(" "))}if(ve=Gc(ae,20),void 0!==f){const pe=ve.projection=[];for(let Ie=0;Ie<this.ngContentSelectors.length;Ie++){const Re=f[Ie];pe.push(null!=Re?Array.from(Re):null)}}ue=function pS(N,I,f,L,V){const z=f[1],Y=function x2(N,I,f){const L=Gr();N.firstCreatePass&&(f.providersResolver&&f.providersResolver(f),W1(N,L,I,Hh(N,I,1,null),f));const V=nu(I,N,L.directiveStart,L);wr(V,I);const z=zo(L,I);return z&&wr(z,I),V}(z,f,I);if(L.components.push(Y),N[8]=Y,V&&V.forEach(Q=>Q(Y,I)),I.contentQueries){const Q=Gr();I.contentQueries(1,Y,Q.directiveStart)}const X=Gr();return!z.firstCreatePass||null===I.hostBindings&&null===I.hostAttrs||(ko(X.index),j1(f[1],X,0,X.directiveStart,X.directiveEnd,I),z1(I,Y)),Y}(ye,this.componentDef,le,oe,[dN]),Lm(ae,le,null)}finally{ho()}return new z3(this.componentType,ue,ip(ve,le),le,ve)}}class z3 extends class A3{}{constructor(I,f,L,V,z){super(),this.location=L,this._rootLView=V,this._tNode=z,this.instance=f,this.hostView=this.changeDetectorRef=new V3(V),this.componentType=I}get injector(){return new Za(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(I){this.hostView.onDestroy(I)}}class op{}const ap=new Map;class aM extends op{constructor(I,f){super(),this._parent=f,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new nM(this);const L=Do(I);this._bootstrapComponents=Gi(L.bootstrap),this._r3Injector=nS(I,f,[{provide:op,useValue:this},{provide:xu,useValue:this.componentFactoryResolver}],hr(I)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(I)}get(I,f=ui.THROW_IF_NOT_FOUND,L=nn.Default){return I===ui||I===op||I===Xb?this:this._r3Injector.get(I,f,L)}destroy(){const I=this._r3Injector;!I.destroyed&&I.destroy(),this.destroyCbs.forEach(f=>f()),this.destroyCbs=null}onDestroy(I){this.destroyCbs.push(I)}}class ww extends class $3{}{constructor(I){super(),this.moduleType=I,null!==Do(I)&&function W3(N){const I=new Set;!function f(L){const V=Do(L,!0),z=V.id;null!==z&&(function iM(N,I,f){if(I&&I!==f)throw new Error(`Duplicate module registered for ${N} - ${hr(I)} vs ${hr(I.name)}`)}(z,ap.get(z),L),ap.set(z,L));const Y=Gi(V.imports);for(const X of Y)I.has(X)||(I.add(X),f(X))}(N)}(I)}create(I){return new aM(this.moduleType,I)}}function sM(N,I,f,L,V,z){const Y=I+f;return Ro(N,Y,V)?function El(N,I,f){return N[I]=f}(N,Y+1,z?L.call(z,V):L(V)):function Xm(N,I){const f=N[I];return f===wn?void 0:f}(N,Y+1)}function Ko(N,I){const f=Yn();let L;const V=N+20;f.firstCreatePass?(L=function nV(N,I){if(I)for(let f=I.length-1;f>=0;f--){const L=I[f];if(N===L.name)return L}}(I,f.pipeRegistry),f.data[V]=L,L.onDestroy&&(f.destroyHooks||(f.destroyHooks=[])).push(V,L.onDestroy)):L=f.data[V];const z=L.factory||(L.factory=Ka(L.type)),Y=Oe(he);try{const X=kd(!1),Q=z();return kd(X),function EN(N,I,f,L){f>=N.data.length&&(N.data[f]=null,N.blueprint[f]=null),I[f]=L}(f,Qe(),V,Q),Q}finally{Oe(Y)}}function qo(N,I,f){const L=N+20,V=Qe(),z=cl(V,L);return function Qm(N,I){return N[1].data[I].pure}(V,L)?sM(V,function Er(){const N=sn.lFrame;let I=N.bindingRootIndex;return-1===I&&(I=N.bindingRootIndex=N.tView.bindingStartIndex),I}(),I,z.transform,f,z):z.transform(f)}function Cw(N){return I=>{setTimeout(N,void 0,I)}}const Ut=class sV extends Ke{constructor(I=!1){super(),this.__isAsync=I}emit(I){super.next(I)}subscribe(I,f,L){var V,z,Y;let X=I,Q=f||(()=>null),J=L;if(I&&"object"==typeof I){const re=I;X=null===(V=re.next)||void 0===V?void 0:V.bind(re),Q=null===(z=re.error)||void 0===z?void 0:z.bind(re),J=null===(Y=re.complete)||void 0===Y?void 0:Y.bind(re)}this.__isAsync&&(Q=Cw(Q),X&&(X=Cw(X)),J&&(J=Cw(J)));const te=super.subscribe({next:X,error:Q,complete:J});return I instanceof Se&&I.add(te),te}};function lV(){return this._results[$h()]()}class Zm{constructor(I=!1){this._emitDistinctChangesOnly=I,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const f=$h(),L=Zm.prototype;L[f]||(L[f]=lV)}get changes(){return this._changes||(this._changes=new Ut)}get(I){return this._results[I]}map(I){return this._results.map(I)}filter(I){return this._results.filter(I)}find(I){return this._results.find(I)}reduce(I,f){return this._results.reduce(I,f)}forEach(I){this._results.forEach(I)}some(I){return this._results.some(I)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(I,f){const L=this;L.dirty=!1;const V=Mo(I);(this._changesDetected=!function Pd(N,I,f){if(N.length!==I.length)return!1;for(let L=0;L<N.length;L++){let V=N[L],z=I[L];if(f&&(V=f(V),z=f(z)),z!==V)return!1}return!0}(L._results,V,f))&&(L._results=V,L.length=V.length,L.last=V[this.length-1],L.first=V[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Bs=(()=>{class N{}return N.__NG_ELEMENT_ID__=dV,N})();const cV=Bs,uV=class extends cV{constructor(I,f,L){super(),this._declarationLView=I,this._declarationTContainer=f,this.elementRef=L}createEmbeddedView(I){const f=this._declarationTContainer.tViews,L=Nm(this._declarationLView,f,I,16,null,f.declTNode,null,null,null,null);L[17]=this._declarationLView[this._declarationTContainer.index];const z=this._declarationLView[19];return null!==z&&(L[19]=z.createEmbeddedView(f)),Lm(f,L,I),new qm(L)}};function dV(){return I_(Gr(),Qe())}function I_(N,I){return 4&N.type?new uV(I,N,ip(N,I)):null}let Oa=(()=>{class N{}return N.__NG_ELEMENT_ID__=fV,N})();function fV(){return pM(Gr(),Qe())}const hV=Oa,fM=class extends hV{constructor(I,f,L){super(),this._lContainer=I,this._hostTNode=f,this._hostLView=L}get element(){return ip(this._hostTNode,this._hostLView)}get injector(){return new Za(this._hostTNode,this._hostLView)}get parentInjector(){const I=Jl(this._hostTNode,this._hostLView);if(lh(I)){const f=Wo(I,this._hostLView),L=Zl(I);return new Za(f[1].data[L+8],f)}return new Za(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(I){const f=hM(this._lContainer);return null!==f&&f[I]||null}get length(){return this._lContainer.length-10}createEmbeddedView(I,f,L){const V=I.createEmbeddedView(f||{});return this.insert(V,L),V}createComponent(I,f,L,V,z){const Y=I&&!function xo(N){return"function"==typeof N}(I);let X;if(Y)X=f;else{const re=f||{};X=re.index,L=re.injector,V=re.projectableNodes,z=re.ngModuleRef}const Q=Y?I:new bw(Zi(I)),J=L||this.parentInjector;if(!z&&null==Q.ngModule){const oe=(Y?J:this.parentInjector).get(op,null);oe&&(z=oe)}const te=Q.create(J,V,void 0,z);return this.insert(te.hostView,X),te}insert(I,f){const L=I._lView,V=L[1];if(function ib(N){return jo(N[3])}(L)){const te=this.indexOf(I);if(-1!==te)this.detach(te);else{const re=L[3],oe=new fM(re,re[6],re[3]);oe.detach(oe.indexOf(I))}}const z=this._adjustIndex(f),Y=this._lContainer;!function Sb(N,I,f,L){const V=10+L,z=f.length;L>0&&(f[V-1][4]=I),L<z-10?(I[4]=f[V],cm(f,10+L,I)):(f.push(I),I[4]=null),I[3]=f;const Y=I[17];null!==Y&&f!==Y&&function Vh(N,I){const f=N[9];I[16]!==I[3][3][16]&&(N[2]=!0),null===f?N[9]=[I]:f.push(I)}(Y,I);const X=I[19];null!==X&&X.insertView(N),I[2]|=128}(V,L,Y,z);const X=Jt(z,Y),Q=L[11],J=qe(Q,Y[7]);return null!==J&&function Lh(N,I,f,L,V,z){L[0]=V,L[6]=I,ni(N,L,f,1,V,z)}(V,Y[6],Q,L,J,X),I.attachToViewContainerRef(),cm(Ew(Y),z,I),I}move(I,f){return this.insert(I,f)}indexOf(I){const f=hM(this._lContainer);return null!==f?f.indexOf(I):-1}remove(I){const f=this._adjustIndex(I,-1),L=q(this._lContainer,f);L&&(Nd(Ew(this._lContainer),f),Z(L[1],L))}detach(I){const f=this._adjustIndex(I,-1),L=q(this._lContainer,f);return L&&null!=Nd(Ew(this._lContainer),f)?new qm(L):null}_adjustIndex(I,f=0){return null==I?this.length+f:I}};function hM(N){return N[8]}function Ew(N){return N[8]||(N[8]=[])}function pM(N,I){let f;const L=I[N.index];if(jo(L))f=L;else{let V;if(8&N.type)V=Br(L);else{const z=I[11];V=z.createComment("");const Y=zo(N,I);_e(z,qe(z,Y),V,function Tt(N,I){return jr(N)?N.nextSibling(I):I.nextSibling}(z,Y),!1)}I[N.index]=f=G1(L,I,V,N),g_(I,f)}return new fM(f,N,I)}class Dw{constructor(I){this.queryList=I,this.matches=null}clone(){return new Dw(this.queryList)}setDirty(){this.queryList.setDirty()}}class kw{constructor(I=[]){this.queries=I}createEmbeddedView(I){const f=I.queries;if(null!==f){const L=null!==I.contentQueries?I.contentQueries[0]:f.length,V=[];for(let z=0;z<L;z++){const Y=f.getByIndex(z);V.push(this.queries[Y.indexInDeclarationView].clone())}return new kw(V)}return null}insertView(I){this.dirtyQueriesWithMatches(I)}detachView(I){this.dirtyQueriesWithMatches(I)}dirtyQueriesWithMatches(I){for(let f=0;f<this.queries.length;f++)null!==vM(I,f).matches&&this.queries[f].setDirty()}}class mM{constructor(I,f,L=null){this.predicate=I,this.flags=f,this.read=L}}class Sw{constructor(I=[]){this.queries=I}elementStart(I,f){for(let L=0;L<this.queries.length;L++)this.queries[L].elementStart(I,f)}elementEnd(I){for(let f=0;f<this.queries.length;f++)this.queries[f].elementEnd(I)}embeddedTView(I){let f=null;for(let L=0;L<this.length;L++){const V=null!==f?f.length:0,z=this.getByIndex(L).embeddedTView(I,V);z&&(z.indexInDeclarationView=L,null!==f?f.push(z):f=[z])}return null!==f?new Sw(f):null}template(I,f){for(let L=0;L<this.queries.length;L++)this.queries[L].template(I,f)}getByIndex(I){return this.queries[I]}get length(){return this.queries.length}track(I){this.queries.push(I)}}class xw{constructor(I,f=-1){this.metadata=I,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=f}elementStart(I,f){this.isApplyingToNode(f)&&this.matchTNode(I,f)}elementEnd(I){this._declarationNodeIndex===I.index&&(this._appliesToNextNode=!1)}template(I,f){this.elementStart(I,f)}embeddedTView(I,f){return this.isApplyingToNode(I)?(this.crossesNgTemplate=!0,this.addMatch(-I.index,f),new xw(this.metadata)):null}isApplyingToNode(I){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const f=this._declarationNodeIndex;let L=I.parent;for(;null!==L&&8&L.type&&L.index!==f;)L=L.parent;return f===(null!==L?L.index:-1)}return this._appliesToNextNode}matchTNode(I,f){const L=this.metadata.predicate;if(Array.isArray(L))for(let V=0;V<L.length;V++){const z=L[V];this.matchTNodeWithReadOption(I,f,gV(f,z)),this.matchTNodeWithReadOption(I,f,Ms(f,I,z,!1,!1))}else L===Bs?4&f.type&&this.matchTNodeWithReadOption(I,f,-1):this.matchTNodeWithReadOption(I,f,Ms(f,I,L,!1,!1))}matchTNodeWithReadOption(I,f,L){if(null!==L){const V=this.metadata.read;if(null!==V)if(V===Zn||V===Oa||V===Bs&&4&f.type)this.addMatch(f.index,-2);else{const z=Ms(f,I,V,!1,!1);null!==z&&this.addMatch(f.index,z)}else this.addMatch(f.index,L)}}addMatch(I,f){null===this.matches?this.matches=[I,f]:this.matches.push(I,f)}}function gV(N,I){const f=N.localNames;if(null!==f)for(let L=0;L<f.length;L+=2)if(f[L]===I)return f[L+1];return null}function _V(N,I,f,L){return-1===f?function yV(N,I){return 11&N.type?ip(N,I):4&N.type?I_(N,I):null}(I,N):-2===f?function vV(N,I,f){return f===Zn?ip(I,N):f===Bs?I_(I,N):f===Oa?pM(I,N):void 0}(N,I,L):nu(N,N[1],f,I)}function gM(N,I,f,L){const V=I[19].queries[L];if(null===V.matches){const z=N.data,Y=f.matches,X=[];for(let Q=0;Q<Y.length;Q+=2){const J=Y[Q];X.push(J<0?null:_V(I,z[J],Y[Q+1],f.metadata.read))}V.matches=X}return V.matches}function Mw(N,I,f,L){const V=N.queries.getByIndex(f),z=V.matches;if(null!==z){const Y=gM(N,I,V,f);for(let X=0;X<z.length;X+=2){const Q=z[X];if(Q>0)L.push(Y[X/2]);else{const J=z[X+1],te=I[-Q];for(let re=10;re<te.length;re++){const oe=te[re];oe[17]===oe[3]&&Mw(oe[1],oe,J,L)}if(null!==te[9]){const re=te[9];for(let oe=0;oe<re.length;oe++){const ae=re[oe];Mw(ae[1],ae,J,L)}}}}}return L}function mr(N){const I=Qe(),f=Yn(),L=rh();ih(L+1);const V=vM(f,L);if(N.dirty&&th(I)===(2==(2&V.metadata.flags))){if(null===V.matches)N.reset([]);else{const z=V.crossesNgTemplate?Mw(f,I,L,[]):gM(f,I,V,L);N.reset(z,R3),N.notifyOnChanges()}return!0}return!1}function ro(N,I,f){const L=Yn();L.firstCreatePass&&(_M(L,new mM(N,I,f),-1),2==(2&I)&&(L.staticViewQueries=!0)),yM(L,Qe(),I)}function Oo(N,I,f,L){const V=Yn();if(V.firstCreatePass){const z=Gr();_M(V,new mM(I,f,L),z.index),function wV(N,I){const f=N.contentQueries||(N.contentQueries=[]);I!==(f.length?f[f.length-1]:-1)&&f.push(N.queries.length-1,I)}(V,N),2==(2&f)&&(V.staticContentQueries=!0)}yM(V,Qe(),f)}function gr(){return function bV(N,I){return N[19].queries[I].queryList}(Qe(),rh())}function yM(N,I,f){const L=new Zm(4==(4&f));V1(N,I,L,L.destroy),null===I[19]&&(I[19]=new kw),I[19].queries.push(new Dw(L))}function _M(N,I,f){null===N.queries&&(N.queries=new Sw),N.queries.track(new xw(I,f))}function vM(N,I){return N.queries.getByIndex(I)}function P_(...N){}const NM=new wt("Application Initializer");let Ow=(()=>{class N{constructor(f){this.appInits=f,this.resolve=P_,this.reject=P_,this.initialized=!1,this.done=!1,this.donePromise=new Promise((L,V)=>{this.resolve=L,this.reject=V})}runInitializers(){if(this.initialized)return;const f=[],L=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let V=0;V<this.appInits.length;V++){const z=this.appInits[V]();if(C_(z))f.push(z);else if(VS(z)){const Y=new Promise((X,Q)=>{z.subscribe({complete:X,error:Q})});f.push(Y)}}Promise.all(f).then(()=>{L()}).catch(V=>{this.reject(V)}),0===f.length&&L(),this.initialized=!0}}return N.\u0275fac=function(f){return new(f||N)(Pe(NM,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const eg=new wt("AppId",{providedIn:"root",factory:function LM(){return`${Pw()}${Pw()}${Pw()}`}});function Pw(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const VM=new wt("Platform Initializer"),N_=new wt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),BV=new wt("appBootstrapListener"),fc=new wt("LocaleId",{providedIn:"root",factory:()=>_h(fc,nn.Optional|nn.SkipSelf)||function HV(){return"undefined"!=typeof $localize&&$localize.locale||S_}()}),$V=(()=>Promise.resolve(0))();function Nw(N){"undefined"==typeof Zone?$V.then(()=>{N&&N.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",N)}class Un{constructor({enableLongStackTrace:I=!1,shouldCoalesceEventChangeDetection:f=!1,shouldCoalesceRunChangeDetection:L=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ut(!1),this.onMicrotaskEmpty=new Ut(!1),this.onStable=new Ut(!1),this.onError=new Ut(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const V=this;V._nesting=0,V._outer=V._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(V._inner=V._inner.fork(new Zone.TaskTrackingZoneSpec)),I&&Zone.longStackTraceZoneSpec&&(V._inner=V._inner.fork(Zone.longStackTraceZoneSpec)),V.shouldCoalesceEventChangeDetection=!L&&f,V.shouldCoalesceRunChangeDetection=L,V.lastRequestAnimationFrameId=-1,V.nativeRequestAnimationFrame=function WV(){let N=or.requestAnimationFrame,I=or.cancelAnimationFrame;if("undefined"!=typeof Zone&&N&&I){const f=N[Zone.__symbol__("OriginalDelegate")];f&&(N=f);const L=I[Zone.__symbol__("OriginalDelegate")];L&&(I=L)}return{nativeRequestAnimationFrame:N,nativeCancelAnimationFrame:I}}().nativeRequestAnimationFrame,function KV(N){const I=()=>{!function YV(N){N.isCheckStableRunning||-1!==N.lastRequestAnimationFrameId||(N.lastRequestAnimationFrameId=N.nativeRequestAnimationFrame.call(or,()=>{N.fakeTopEventTask||(N.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{N.lastRequestAnimationFrameId=-1,Vw(N),N.isCheckStableRunning=!0,Lw(N),N.isCheckStableRunning=!1},void 0,()=>{},()=>{})),N.fakeTopEventTask.invoke()}),Vw(N))}(N)};N._inner=N._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(f,L,V,z,Y,X)=>{try{return BM(N),f.invokeTask(V,z,Y,X)}finally{(N.shouldCoalesceEventChangeDetection&&"eventTask"===z.type||N.shouldCoalesceRunChangeDetection)&&I(),HM(N)}},onInvoke:(f,L,V,z,Y,X,Q)=>{try{return BM(N),f.invoke(V,z,Y,X,Q)}finally{N.shouldCoalesceRunChangeDetection&&I(),HM(N)}},onHasTask:(f,L,V,z)=>{f.hasTask(V,z),L===V&&("microTask"==z.change?(N._hasPendingMicrotasks=z.microTask,Vw(N),Lw(N)):"macroTask"==z.change&&(N.hasPendingMacrotasks=z.macroTask))},onHandleError:(f,L,V,z)=>(f.handleError(V,z),N.runOutsideAngular(()=>N.onError.emit(z)),!1)})}(V)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Un.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Un.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(I,f,L){return this._inner.run(I,f,L)}runTask(I,f,L,V){const z=this._inner,Y=z.scheduleEventTask("NgZoneEvent: "+V,I,GV,P_,P_);try{return z.runTask(Y,f,L)}finally{z.cancelTask(Y)}}runGuarded(I,f,L){return this._inner.runGuarded(I,f,L)}runOutsideAngular(I){return this._outer.run(I)}}const GV={};function Lw(N){if(0==N._nesting&&!N.hasPendingMicrotasks&&!N.isStable)try{N._nesting++,N.onMicrotaskEmpty.emit(null)}finally{if(N._nesting--,!N.hasPendingMicrotasks)try{N.runOutsideAngular(()=>N.onStable.emit(null))}finally{N.isStable=!0}}}function Vw(N){N.hasPendingMicrotasks=!!(N._hasPendingMicrotasks||(N.shouldCoalesceEventChangeDetection||N.shouldCoalesceRunChangeDetection)&&-1!==N.lastRequestAnimationFrameId)}function BM(N){N._nesting++,N.isStable&&(N.isStable=!1,N.onUnstable.emit(null))}function HM(N){N._nesting--,Lw(N)}class qV{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ut,this.onMicrotaskEmpty=new Ut,this.onStable=new Ut,this.onError=new Ut}run(I,f,L){return I.apply(f,L)}runGuarded(I,f,L){return I.apply(f,L)}runOutsideAngular(I){return I()}runTask(I,f,L,V){return I.apply(f,L)}}let Bw=(()=>{class N{constructor(f){this._ngZone=f,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),f.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Un.assertNotInAngularZone(),Nw(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Nw(()=>{for(;0!==this._callbacks.length;){let f=this._callbacks.pop();clearTimeout(f.timeoutId),f.doneCb(this._didWork)}this._didWork=!1});else{let f=this.getPendingTasks();this._callbacks=this._callbacks.filter(L=>!L.updateCb||!L.updateCb(f)||(clearTimeout(L.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(f=>({source:f.source,creationLocation:f.creationLocation,data:f.data})):[]}addCallback(f,L,V){let z=-1;L&&L>0&&(z=setTimeout(()=>{this._callbacks=this._callbacks.filter(Y=>Y.timeoutId!==z),f(this._didWork,this.getPendingTasks())},L)),this._callbacks.push({doneCb:f,timeoutId:z,updateCb:V})}whenStable(f,L,V){if(V&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(f,L,V),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(f,L,V){return[]}}return N.\u0275fac=function(f){return new(f||N)(Pe(Un))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),XV=(()=>{class N{constructor(){this._applications=new Map,Hw.addToWindow(this)}registerApplication(f,L){this._applications.set(f,L)}unregisterApplication(f){this._applications.delete(f)}unregisterAllApplications(){this._applications.clear()}getTestability(f){return this._applications.get(f)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(f,L=!0){return Hw.findTestabilityInTree(this,f,L)}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"platform"}),N})();class QV{addToWindow(I){}findTestabilityInTree(I,f,L){return null}}let Hw=new QV,cf=null;const jM=new wt("AllowMultipleToken"),zM=new wt("PlatformOnDestroy");function UM(N,I,f=[]){const L=`Platform: ${I}`,V=new wt(L);return(z=[])=>{let Y=jw();if(!Y||Y.injector.get(jM,!1)){const X=[...f,...z,{provide:V,useValue:!0}];N?N(X):function tB(N){if(cf&&!cf.get(jM,!1))throw new Ot(400,"");cf=N;const I=N.get($M),f=N.get(VM,null);f&&f.forEach(L=>L())}(function rB(N=[],I){return ui.create({name:I,providers:[{provide:Qb,useValue:"platform"},{provide:zM,useValue:()=>cf=null},...N]})}(X,L))}return function nB(N){const I=jw();if(!I)throw new Ot(401,"");return I}()}}function jw(){var N;return null!==(N=null==cf?void 0:cf.get($M))&&void 0!==N?N:null}let $M=(()=>{class N{constructor(f){this._injector=f,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(f,L){const X=function iB(N,I){let f;return f="noop"===N?new qV:("zone.js"===N?void 0:N)||new Un({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==I?void 0:I.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==I?void 0:I.ngZoneRunCoalescing)}),f}(L?L.ngZone:void 0,{ngZoneEventCoalescing:L&&L.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:L&&L.ngZoneRunCoalescing||!1}),Q=[{provide:Un,useValue:X}];return X.run(()=>{const J=ui.create({providers:Q,parent:this.injector,name:f.moduleType.name}),te=f.create(J),re=te.injector.get(bl,null);if(!re)throw new Ot(402,"");return X.runOutsideAngular(()=>{const oe=X.onError.subscribe({next:ae=>{re.handleError(ae)}});te.onDestroy(()=>{zw(this._modules,te),oe.unsubscribe()})}),function oB(N,I,f){try{const L=f();return C_(L)?L.catch(V=>{throw I.runOutsideAngular(()=>N.handleError(V)),V}):L}catch(L){throw I.runOutsideAngular(()=>N.handleError(L)),L}}(re,X,()=>{const oe=te.injector.get(Ow);return oe.runInitializers(),oe.donePromise.then(()=>(function OL(N){hi(N,"Expected localeId to be defined"),"string"==typeof N&&(Ax=N.toLowerCase().replace(/_/g,"-"))}(te.injector.get(fc,S_)||S_),this._moduleDoBootstrap(te),te))})})}bootstrapModule(f,L=[]){const V=WM({},L);return function JV(N,I,f){const L=new ww(f);return Promise.resolve(L)}(0,0,f).then(z=>this.bootstrapModuleFactory(z,V))}_moduleDoBootstrap(f){const L=f.injector.get(L_);if(f._bootstrapComponents.length>0)f._bootstrapComponents.forEach(V=>L.bootstrap(V));else{if(!f.instance.ngDoBootstrap)throw new Ot(403,"");f.instance.ngDoBootstrap(L)}this._modules.push(f)}onDestroy(f){this._destroyListeners.push(f)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ot(404,"");this._modules.slice().forEach(L=>L.destroy()),this._destroyListeners.forEach(L=>L());const f=this._injector.get(zM,null);null==f||f(),this._destroyed=!0}get destroyed(){return this._destroyed}}return N.\u0275fac=function(f){return new(f||N)(Pe(ui))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"platform"}),N})();function WM(N,I){return Array.isArray(I)?I.reduce(WM,N):Object.assign(Object.assign({},N),I)}let L_=(()=>{class N{constructor(f,L,V,z){this._zone=f,this._injector=L,this._exceptionHandler=V,this._initStatus=z,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const Y=new Gt(Q=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Q.next(this._stable),Q.complete()})}),X=new Gt(Q=>{let J;this._zone.runOutsideAngular(()=>{J=this._zone.onStable.subscribe(()=>{Un.assertNotInAngularZone(),Nw(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Q.next(!0))})})});const te=this._zone.onUnstable.subscribe(()=>{Un.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Q.next(!1)}))});return()=>{J.unsubscribe(),te.unsubscribe()}});this.isStable=oo(Y,X.pipe(Zs()))}bootstrap(f,L){if(!this._initStatus.done)throw new Ot(405,"");let V;V=f instanceof eM?f:this._injector.get(xu).resolveComponentFactory(f),this.componentTypes.push(V.componentType);const z=function eB(N){return N.isBoundToModule}(V)?void 0:this._injector.get(op),X=V.create(ui.NULL,[],L||V.selector,z),Q=X.location.nativeElement,J=X.injector.get(Bw,null),te=J&&X.injector.get(XV);return J&&te&&te.registerApplication(Q,J),X.onDestroy(()=>{this.detachView(X.hostView),zw(this.components,X),te&&te.unregisterApplication(Q)}),this._loadComponent(X),X}tick(){if(this._runningTick)throw new Ot(101,"");try{this._runningTick=!0;for(let f of this._views)f.detectChanges()}catch(f){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(f))}finally{this._runningTick=!1}}attachView(f){const L=f;this._views.push(L),L.attachToAppRef(this)}detachView(f){const L=f;zw(this._views,L),L.detachFromAppRef()}_loadComponent(f){this.attachView(f.hostView),this.tick(),this.components.push(f),this._injector.get(BV,[]).concat(this._bootstrapListeners).forEach(V=>V(f))}ngOnDestroy(){this._views.slice().forEach(f=>f.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return N.\u0275fac=function(f){return new(f||N)(Pe(Un),Pe(ui),Pe(bl),Pe(Ow))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function zw(N,I){const f=N.indexOf(I);f>-1&&N.splice(f,1)}let YM=!0,_o=(()=>{class N{}return N.__NG_ELEMENT_ID__=lB,N})();function lB(N){return function cB(N,I,f){if(fd(N)&&!f){const L=uo(N.index,I);return new qm(L,L)}return 47&N.type?new qm(I[16],I):null}(Gr(),Qe(),16==(16&N))}class ZM{constructor(){}supports(I){return Bm(I)}create(I){return new mB(I)}}const pB=(N,I)=>I;class mB{constructor(I){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=I||pB}forEachItem(I){let f;for(f=this._itHead;null!==f;f=f._next)I(f)}forEachOperation(I){let f=this._itHead,L=this._removalsHead,V=0,z=null;for(;f||L;){const Y=!L||f&&f.currentIndex<eA(L,V,z)?f:L,X=eA(Y,V,z),Q=Y.currentIndex;if(Y===L)V--,L=L._nextRemoved;else if(f=f._next,null==Y.previousIndex)V++;else{z||(z=[]);const J=X-V,te=Q-V;if(J!=te){for(let oe=0;oe<J;oe++){const ae=oe<z.length?z[oe]:z[oe]=0,le=ae+oe;te<=le&&le<J&&(z[oe]=ae+1)}z[Y.previousIndex]=te-J}}X!==Q&&I(Y,X,Q)}}forEachPreviousItem(I){let f;for(f=this._previousItHead;null!==f;f=f._nextPrevious)I(f)}forEachAddedItem(I){let f;for(f=this._additionsHead;null!==f;f=f._nextAdded)I(f)}forEachMovedItem(I){let f;for(f=this._movesHead;null!==f;f=f._nextMoved)I(f)}forEachRemovedItem(I){let f;for(f=this._removalsHead;null!==f;f=f._nextRemoved)I(f)}forEachIdentityChange(I){let f;for(f=this._identityChangesHead;null!==f;f=f._nextIdentityChange)I(f)}diff(I){if(null==I&&(I=[]),!Bm(I))throw new Ot(900,"");return this.check(I)?this:null}onDestroy(){}check(I){this._reset();let V,z,Y,f=this._itHead,L=!1;if(Array.isArray(I)){this.length=I.length;for(let X=0;X<this.length;X++)z=I[X],Y=this._trackByFn(X,z),null!==f&&Object.is(f.trackById,Y)?(L&&(f=this._verifyReinsertion(f,z,Y,X)),Object.is(f.item,z)||this._addIdentityChange(f,z)):(f=this._mismatch(f,z,Y,X),L=!0),f=f._next}else V=0,function wN(N,I){if(Array.isArray(N))for(let f=0;f<N.length;f++)I(N[f]);else{const f=N[$h()]();let L;for(;!(L=f.next()).done;)I(L.value)}}(I,X=>{Y=this._trackByFn(V,X),null!==f&&Object.is(f.trackById,Y)?(L&&(f=this._verifyReinsertion(f,X,Y,V)),Object.is(f.item,X)||this._addIdentityChange(f,X)):(f=this._mismatch(f,X,Y,V),L=!0),f=f._next,V++}),this.length=V;return this._truncate(f),this.collection=I,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let I;for(I=this._previousItHead=this._itHead;null!==I;I=I._next)I._nextPrevious=I._next;for(I=this._additionsHead;null!==I;I=I._nextAdded)I.previousIndex=I.currentIndex;for(this._additionsHead=this._additionsTail=null,I=this._movesHead;null!==I;I=I._nextMoved)I.previousIndex=I.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(I,f,L,V){let z;return null===I?z=this._itTail:(z=I._prev,this._remove(I)),null!==(I=null===this._unlinkedRecords?null:this._unlinkedRecords.get(L,null))?(Object.is(I.item,f)||this._addIdentityChange(I,f),this._reinsertAfter(I,z,V)):null!==(I=null===this._linkedRecords?null:this._linkedRecords.get(L,V))?(Object.is(I.item,f)||this._addIdentityChange(I,f),this._moveAfter(I,z,V)):I=this._addAfter(new gB(f,L),z,V),I}_verifyReinsertion(I,f,L,V){let z=null===this._unlinkedRecords?null:this._unlinkedRecords.get(L,null);return null!==z?I=this._reinsertAfter(z,I._prev,V):I.currentIndex!=V&&(I.currentIndex=V,this._addToMoves(I,V)),I}_truncate(I){for(;null!==I;){const f=I._next;this._addToRemovals(this._unlink(I)),I=f}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(I,f,L){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(I);const V=I._prevRemoved,z=I._nextRemoved;return null===V?this._removalsHead=z:V._nextRemoved=z,null===z?this._removalsTail=V:z._prevRemoved=V,this._insertAfter(I,f,L),this._addToMoves(I,L),I}_moveAfter(I,f,L){return this._unlink(I),this._insertAfter(I,f,L),this._addToMoves(I,L),I}_addAfter(I,f,L){return this._insertAfter(I,f,L),this._additionsTail=null===this._additionsTail?this._additionsHead=I:this._additionsTail._nextAdded=I,I}_insertAfter(I,f,L){const V=null===f?this._itHead:f._next;return I._next=V,I._prev=f,null===V?this._itTail=I:V._prev=I,null===f?this._itHead=I:f._next=I,null===this._linkedRecords&&(this._linkedRecords=new JM),this._linkedRecords.put(I),I.currentIndex=L,I}_remove(I){return this._addToRemovals(this._unlink(I))}_unlink(I){null!==this._linkedRecords&&this._linkedRecords.remove(I);const f=I._prev,L=I._next;return null===f?this._itHead=L:f._next=L,null===L?this._itTail=f:L._prev=f,I}_addToMoves(I,f){return I.previousIndex===f||(this._movesTail=null===this._movesTail?this._movesHead=I:this._movesTail._nextMoved=I),I}_addToRemovals(I){return null===this._unlinkedRecords&&(this._unlinkedRecords=new JM),this._unlinkedRecords.put(I),I.currentIndex=null,I._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=I,I._prevRemoved=null):(I._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=I),I}_addIdentityChange(I,f){return I.item=f,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=I:this._identityChangesTail._nextIdentityChange=I,I}}class gB{constructor(I,f){this.item=I,this.trackById=f,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class yB{constructor(){this._head=null,this._tail=null}add(I){null===this._head?(this._head=this._tail=I,I._nextDup=null,I._prevDup=null):(this._tail._nextDup=I,I._prevDup=this._tail,I._nextDup=null,this._tail=I)}get(I,f){let L;for(L=this._head;null!==L;L=L._nextDup)if((null===f||f<=L.currentIndex)&&Object.is(L.trackById,I))return L;return null}remove(I){const f=I._prevDup,L=I._nextDup;return null===f?this._head=L:f._nextDup=L,null===L?this._tail=f:L._prevDup=f,null===this._head}}class JM{constructor(){this.map=new Map}put(I){const f=I.trackById;let L=this.map.get(f);L||(L=new yB,this.map.set(f,L)),L.add(I)}get(I,f){const V=this.map.get(I);return V?V.get(I,f):null}remove(I){const f=I.trackById;return this.map.get(f).remove(I)&&this.map.delete(f),I}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function eA(N,I,f){const L=N.previousIndex;if(null===L)return L;let V=0;return f&&L<f.length&&(V=f[L]),L+I+V}class tA{constructor(){}supports(I){return I instanceof Map||rw(I)}create(){return new _B}}class _B{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(I){let f;for(f=this._mapHead;null!==f;f=f._next)I(f)}forEachPreviousItem(I){let f;for(f=this._previousMapHead;null!==f;f=f._nextPrevious)I(f)}forEachChangedItem(I){let f;for(f=this._changesHead;null!==f;f=f._nextChanged)I(f)}forEachAddedItem(I){let f;for(f=this._additionsHead;null!==f;f=f._nextAdded)I(f)}forEachRemovedItem(I){let f;for(f=this._removalsHead;null!==f;f=f._nextRemoved)I(f)}diff(I){if(I){if(!(I instanceof Map||rw(I)))throw new Ot(900,"")}else I=new Map;return this.check(I)?this:null}onDestroy(){}check(I){this._reset();let f=this._mapHead;if(this._appendAfter=null,this._forEach(I,(L,V)=>{if(f&&f.key===V)this._maybeAddToChanges(f,L),this._appendAfter=f,f=f._next;else{const z=this._getOrCreateRecordForKey(V,L);f=this._insertBeforeOrAppend(f,z)}}),f){f._prev&&(f._prev._next=null),this._removalsHead=f;for(let L=f;null!==L;L=L._nextRemoved)L===this._mapHead&&(this._mapHead=null),this._records.delete(L.key),L._nextRemoved=L._next,L.previousValue=L.currentValue,L.currentValue=null,L._prev=null,L._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(I,f){if(I){const L=I._prev;return f._next=I,f._prev=L,I._prev=f,L&&(L._next=f),I===this._mapHead&&(this._mapHead=f),this._appendAfter=I,I}return this._appendAfter?(this._appendAfter._next=f,f._prev=this._appendAfter):this._mapHead=f,this._appendAfter=f,null}_getOrCreateRecordForKey(I,f){if(this._records.has(I)){const V=this._records.get(I);this._maybeAddToChanges(V,f);const z=V._prev,Y=V._next;return z&&(z._next=Y),Y&&(Y._prev=z),V._next=null,V._prev=null,V}const L=new vB(I);return this._records.set(I,L),L.currentValue=f,this._addToAdditions(L),L}_reset(){if(this.isDirty){let I;for(this._previousMapHead=this._mapHead,I=this._previousMapHead;null!==I;I=I._next)I._nextPrevious=I._next;for(I=this._changesHead;null!==I;I=I._nextChanged)I.previousValue=I.currentValue;for(I=this._additionsHead;null!=I;I=I._nextAdded)I.previousValue=I.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(I,f){Object.is(f,I.currentValue)||(I.previousValue=I.currentValue,I.currentValue=f,this._addToChanges(I))}_addToAdditions(I){null===this._additionsHead?this._additionsHead=this._additionsTail=I:(this._additionsTail._nextAdded=I,this._additionsTail=I)}_addToChanges(I){null===this._changesHead?this._changesHead=this._changesTail=I:(this._changesTail._nextChanged=I,this._changesTail=I)}_forEach(I,f){I instanceof Map?I.forEach(f):Object.keys(I).forEach(L=>f(I[L],L))}}class vB{constructor(I){this.key=I,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function nA(){return new H_([new ZM])}let H_=(()=>{class N{constructor(f){this.factories=f}static create(f,L){if(null!=L){const V=L.factories.slice();f=f.concat(V)}return new N(f)}static extend(f){return{provide:N,useFactory:L=>N.create(f,L||nA()),deps:[[N,new Ts,new qr]]}}find(f){const L=this.factories.find(V=>V.supports(f));if(null!=L)return L;throw new Ot(901,"")}}return N.\u0275prov=pt({token:N,providedIn:"root",factory:nA}),N})();function rA(){return new tg([new tA])}let tg=(()=>{class N{constructor(f){this.factories=f}static create(f,L){if(L){const V=L.factories.slice();f=f.concat(V)}return new N(f)}static extend(f){return{provide:N,useFactory:L=>N.create(f,L||rA()),deps:[[N,new Ts,new qr]]}}find(f){const L=this.factories.find(z=>z.supports(f));if(L)return L;throw new Ot(901,"")}}return N.\u0275prov=pt({token:N,providedIn:"root",factory:rA}),N})();const CB=UM(null,"core",[]);let EB=(()=>{class N{constructor(f){}}return N.\u0275fac=function(f){return new(f||N)(Pe(L_))},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})(),j_=null;function xl(){return j_}const In=new wt("DocumentToken");let ng=(()=>{class N{historyGo(f){throw new Error("Not implemented")}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:function(){return function xB(){return Pe(iA)}()},providedIn:"platform"}),N})(),iA=(()=>{class N extends ng{constructor(f){super(),this._doc=f,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xl().getBaseHref(this._doc)}onPopState(f){const L=xl().getGlobalEventTarget(this._doc,"window");return L.addEventListener("popstate",f,!1),()=>L.removeEventListener("popstate",f)}onHashChange(f){const L=xl().getGlobalEventTarget(this._doc,"window");return L.addEventListener("hashchange",f,!1),()=>L.removeEventListener("hashchange",f)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(f){this.location.pathname=f}pushState(f,L,V){oA()?this._history.pushState(f,L,V):this.location.hash=V}replaceState(f,L,V){oA()?this._history.replaceState(f,L,V):this.location.hash=V}forward(){this._history.forward()}back(){this._history.back()}historyGo(f=0){this._history.go(f)}getState(){return this._history.state}}return N.\u0275fac=function(f){return new(f||N)(Pe(In))},N.\u0275prov=pt({token:N,factory:function(){return function MB(){return new iA(Pe(In))}()},providedIn:"platform"}),N})();function oA(){return!!window.history.pushState}function aA(N,I){if(0==N.length)return I;if(0==I.length)return N;let f=0;return N.endsWith("/")&&f++,I.startsWith("/")&&f++,2==f?N+I.substring(1):1==f?N+I:N+"/"+I}function sA(N){const I=N.match(/#|\?|$/),f=I&&I.index||N.length;return N.slice(0,f-("/"===N[f-1]?1:0))+N.slice(f)}function df(N){return N&&"?"!==N[0]?"?"+N:N}let Yw=(()=>{class N{historyGo(f){throw new Error("Not implemented")}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:function(){return function AB(N){const I=Pe(In).location;return new FB(Pe(ng),I&&I.origin||"")}()},providedIn:"root"}),N})();const TB=new wt("appBaseHref");let FB=(()=>{class N extends Yw{constructor(f,L){if(super(),this._platformLocation=f,this._removeListenerFns=[],null==L&&(L=this._platformLocation.getBaseHrefFromDOM()),null==L)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=L}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(f){this._removeListenerFns.push(this._platformLocation.onPopState(f),this._platformLocation.onHashChange(f))}getBaseHref(){return this._baseHref}prepareExternalUrl(f){return aA(this._baseHref,f)}path(f=!1){const L=this._platformLocation.pathname+df(this._platformLocation.search),V=this._platformLocation.hash;return V&&f?`${L}${V}`:L}pushState(f,L,V,z){const Y=this.prepareExternalUrl(V+df(z));this._platformLocation.pushState(f,L,Y)}replaceState(f,L,V,z){const Y=this.prepareExternalUrl(V+df(z));this._platformLocation.replaceState(f,L,Y)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(f=0){var L,V;null===(V=(L=this._platformLocation).historyGo)||void 0===V||V.call(L,f)}}return N.\u0275fac=function(f){return new(f||N)(Pe(ng),Pe(TB,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),Kw=(()=>{class N{constructor(f,L){this._subject=new Ut,this._urlChangeListeners=[],this._platformStrategy=f;const V=this._platformStrategy.getBaseHref();this._platformLocation=L,this._baseHref=sA(lA(V)),this._platformStrategy.onPopState(z=>{this._subject.emit({url:this.path(!0),pop:!0,state:z.state,type:z.type})})}path(f=!1){return this.normalize(this._platformStrategy.path(f))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(f,L=""){return this.path()==this.normalize(f+df(L))}normalize(f){return N.stripTrailingSlash(function RB(N,I){return N&&I.startsWith(N)?I.substring(N.length):I}(this._baseHref,lA(f)))}prepareExternalUrl(f){return f&&"/"!==f[0]&&(f="/"+f),this._platformStrategy.prepareExternalUrl(f)}go(f,L="",V=null){this._platformStrategy.pushState(V,"",f,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(f+df(L)),V)}replaceState(f,L="",V=null){this._platformStrategy.replaceState(V,"",f,L),this._notifyUrlChangeListeners(this.prepareExternalUrl(f+df(L)),V)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(f=0){var L,V;null===(V=(L=this._platformStrategy).historyGo)||void 0===V||V.call(L,f)}onUrlChange(f){this._urlChangeListeners.push(f),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(L=>{this._notifyUrlChangeListeners(L.url,L.state)}))}_notifyUrlChangeListeners(f="",L){this._urlChangeListeners.forEach(V=>V(f,L))}subscribe(f,L,V){return this._subject.subscribe({next:f,error:L,complete:V})}}return N.normalizeQueryParams=df,N.joinWithSlash=aA,N.stripTrailingSlash=sA,N.\u0275fac=function(f){return new(f||N)(Pe(Yw),Pe(ng))},N.\u0275prov=pt({token:N,factory:function(){return function IB(){return new Kw(Pe(Yw),Pe(ng))}()},providedIn:"root"}),N})();function lA(N){return N.replace(/\/index.html$/,"")}function yA(N,I){I=encodeURIComponent(I);for(const f of N.split(";")){const L=f.indexOf("="),[V,z]=-1==L?[f,""]:[f.slice(0,L),f.slice(L+1)];if(V.trim()===I)return decodeURIComponent(z)}return null}let Q_=(()=>{class N{constructor(f,L,V,z){this._iterableDiffers=f,this._keyValueDiffers=L,this._ngEl=V,this._renderer=z,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(f){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof f?f.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(f){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof f?f.split(/\s+/):f,this._rawClass&&(Bm(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const f=this._iterableDiffer.diff(this._rawClass);f&&this._applyIterableChanges(f)}else if(this._keyValueDiffer){const f=this._keyValueDiffer.diff(this._rawClass);f&&this._applyKeyValueChanges(f)}}_applyKeyValueChanges(f){f.forEachAddedItem(L=>this._toggleClass(L.key,L.currentValue)),f.forEachChangedItem(L=>this._toggleClass(L.key,L.currentValue)),f.forEachRemovedItem(L=>{L.previousValue&&this._toggleClass(L.key,!1)})}_applyIterableChanges(f){f.forEachAddedItem(L=>{if("string"!=typeof L.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${hr(L.item)}`);this._toggleClass(L.item,!0)}),f.forEachRemovedItem(L=>this._toggleClass(L.item,!1))}_applyClasses(f){f&&(Array.isArray(f)||f instanceof Set?f.forEach(L=>this._toggleClass(L,!0)):Object.keys(f).forEach(L=>this._toggleClass(L,!!f[L])))}_removeClasses(f){f&&(Array.isArray(f)||f instanceof Set?f.forEach(L=>this._toggleClass(L,!1)):Object.keys(f).forEach(L=>this._toggleClass(L,!1)))}_toggleClass(f,L){(f=f.trim())&&f.split(/\s+/g).forEach(V=>{L?this._renderer.addClass(this._ngEl.nativeElement,V):this._renderer.removeClass(this._ngEl.nativeElement,V)})}}return N.\u0275fac=function(f){return new(f||N)(he(H_),he(tg),he(Zn),he(sf))},N.\u0275dir=Mt({type:N,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),N})();class y5{constructor(I,f,L,V){this.$implicit=I,this.ngForOf=f,this.index=L,this.count=V}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let og=(()=>{class N{constructor(f,L,V){this._viewContainer=f,this._template=L,this._differs=V,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(f){this._ngForOf=f,this._ngForOfDirty=!0}set ngForTrackBy(f){this._trackByFn=f}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(f){f&&(this._template=f)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const f=this._ngForOf;!this._differ&&f&&(this._differ=this._differs.find(f).create(this.ngForTrackBy))}if(this._differ){const f=this._differ.diff(this._ngForOf);f&&this._applyChanges(f)}}_applyChanges(f){const L=this._viewContainer;f.forEachOperation((V,z,Y)=>{if(null==V.previousIndex)L.createEmbeddedView(this._template,new y5(V.item,this._ngForOf,-1,-1),null===Y?void 0:Y);else if(null==Y)L.remove(null===z?void 0:z);else if(null!==z){const X=L.get(z);L.move(X,Y),_A(X,V)}});for(let V=0,z=L.length;V<z;V++){const X=L.get(V).context;X.index=V,X.count=z,X.ngForOf=this._ngForOf}f.forEachIdentityChange(V=>{_A(L.get(V.currentIndex),V)})}static ngTemplateContextGuard(f,L){return!0}}return N.\u0275fac=function(f){return new(f||N)(he(Oa),he(Bs),he(H_))},N.\u0275dir=Mt({type:N,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),N})();function _A(N,I){N.context.$implicit=I.item}let lp=(()=>{class N{constructor(f,L){this._viewContainer=f,this._context=new _5,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=L}set ngIf(f){this._context.$implicit=this._context.ngIf=f,this._updateView()}set ngIfThen(f){vA("ngIfThen",f),this._thenTemplateRef=f,this._thenViewRef=null,this._updateView()}set ngIfElse(f){vA("ngIfElse",f),this._elseTemplateRef=f,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(f,L){return!0}}return N.\u0275fac=function(f){return new(f||N)(he(Oa),he(Bs))},N.\u0275dir=Mt({type:N,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),N})();class _5{constructor(){this.$implicit=null,this.ngIf=null}}function vA(N,I){if(I&&!I.createEmbeddedView)throw new Error(`${N} must be a TemplateRef, but received '${hr(I)}'.`)}class iC{constructor(I,f){this._viewContainerRef=I,this._templateRef=f,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let cp=(()=>{class N{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(f){this._ngSwitch=f,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(f){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(f)}_matchCase(f){const L=f==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||L,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),L}_updateDefaultCases(f){if(this._defaultViews&&f!==this._defaultUsed){this._defaultUsed=f;for(let L=0;L<this._defaultViews.length;L++)this._defaultViews[L].enforceState(f)}}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),N})(),Z_=(()=>{class N{constructor(f,L,V){this.ngSwitch=V,V._addCase(),this._view=new iC(f,L)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return N.\u0275fac=function(f){return new(f||N)(he(Oa),he(Bs),he(cp,9))},N.\u0275dir=Mt({type:N,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),N})(),bA=(()=>{class N{constructor(f,L,V){V._addDefault(new iC(f,L))}}return N.\u0275fac=function(f){return new(f||N)(he(Oa),he(Bs),he(cp,9))},N.\u0275dir=Mt({type:N,selectors:[["","ngSwitchDefault",""]]}),N})(),CA=(()=>{class N{constructor(f,L,V){this._ngEl=f,this._differs=L,this._renderer=V,this._ngStyle=null,this._differ=null}set ngStyle(f){this._ngStyle=f,!this._differ&&f&&(this._differ=this._differs.find(f).create())}ngDoCheck(){if(this._differ){const f=this._differ.diff(this._ngStyle);f&&this._applyChanges(f)}}_setStyle(f,L){const[V,z]=f.split(".");null!=(L=null!=L&&z?`${L}${z}`:L)?this._renderer.setStyle(this._ngEl.nativeElement,V,L):this._renderer.removeStyle(this._ngEl.nativeElement,V)}_applyChanges(f){f.forEachRemovedItem(L=>this._setStyle(L.key,null)),f.forEachAddedItem(L=>this._setStyle(L.key,L.currentValue)),f.forEachChangedItem(L=>this._setStyle(L.key,L.currentValue))}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(tg),he(sf))},N.\u0275dir=Mt({type:N,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),N})(),up=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})();const DA="browser";class SA{}class sC extends class Y5 extends class SB{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function kB(N){j_||(j_=N)}(new sC)}onAndCancel(I,f,L){return I.addEventListener(f,L,!1),()=>{I.removeEventListener(f,L,!1)}}dispatchEvent(I,f){I.dispatchEvent(f)}remove(I){I.parentNode&&I.parentNode.removeChild(I)}createElement(I,f){return(f=f||this.getDefaultDocument()).createElement(I)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(I){return I.nodeType===Node.ELEMENT_NODE}isShadowRoot(I){return I instanceof DocumentFragment}getGlobalEventTarget(I,f){return"window"===f?window:"document"===f?I:"body"===f?I.body:null}getBaseHref(I){const f=function K5(){return ag=ag||document.querySelector("base"),ag?ag.getAttribute("href"):null}();return null==f?null:function q5(N){J_=J_||document.createElement("a"),J_.setAttribute("href",N);const I=J_.pathname;return"/"===I.charAt(0)?I:`/${I}`}(f)}resetBaseElement(){ag=null}getUserAgent(){return window.navigator.userAgent}getCookie(I){return yA(document.cookie,I)}}let J_,ag=null;const xA=new wt("TRANSITION_ID"),Q5=[{provide:NM,useFactory:function X5(N,I,f){return()=>{f.get(Ow).donePromise.then(()=>{const L=xl(),V=I.querySelectorAll(`style[ng-transition="${N}"]`);for(let z=0;z<V.length;z++)L.remove(V[z])})}},deps:[xA,In,ui],multi:!0}];class lC{static init(){!function ZV(N){Hw=N}(new lC)}addToWindow(I){or.getAngularTestability=(L,V=!0)=>{const z=I.findTestabilityInTree(L,V);if(null==z)throw new Error("Could not find testability for element.");return z},or.getAllAngularTestabilities=()=>I.getAllTestabilities(),or.getAllAngularRootElements=()=>I.getAllRootElements(),or.frameworkStabilizers||(or.frameworkStabilizers=[]),or.frameworkStabilizers.push(L=>{const V=or.getAllAngularTestabilities();let z=V.length,Y=!1;const X=function(Q){Y=Y||Q,z--,0==z&&L(Y)};V.forEach(function(Q){Q.whenStable(X)})})}findTestabilityInTree(I,f,L){if(null==f)return null;const V=I.getTestability(f);return null!=V?V:L?xl().isShadowRoot(f)?this.findTestabilityInTree(I,f.host,!0):this.findTestabilityInTree(I,f.parentElement,!0):null}}let Z5=(()=>{class N{build(){return new XMLHttpRequest}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const ev=new wt("EventManagerPlugins");let tv=(()=>{class N{constructor(f,L){this._zone=L,this._eventNameToPlugin=new Map,f.forEach(V=>V.manager=this),this._plugins=f.slice().reverse()}addEventListener(f,L,V){return this._findPluginFor(L).addEventListener(f,L,V)}addGlobalEventListener(f,L,V){return this._findPluginFor(L).addGlobalEventListener(f,L,V)}getZone(){return this._zone}_findPluginFor(f){const L=this._eventNameToPlugin.get(f);if(L)return L;const V=this._plugins;for(let z=0;z<V.length;z++){const Y=V[z];if(Y.supports(f))return this._eventNameToPlugin.set(f,Y),Y}throw new Error(`No event manager plugin found for event ${f}`)}}return N.\u0275fac=function(f){return new(f||N)(Pe(ev),Pe(Un))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class MA{constructor(I){this._doc=I}addGlobalEventListener(I,f,L){const V=xl().getGlobalEventTarget(this._doc,I);if(!V)throw new Error(`Unsupported event target ${V} for event ${f}`);return this.addEventListener(V,f,L)}}let AA=(()=>{class N{constructor(){this._stylesSet=new Set}addStyles(f){const L=new Set;f.forEach(V=>{this._stylesSet.has(V)||(this._stylesSet.add(V),L.add(V))}),this.onStylesAdded(L)}onStylesAdded(f){}getAllStyles(){return Array.from(this._stylesSet)}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),sg=(()=>{class N extends AA{constructor(f){super(),this._doc=f,this._hostNodes=new Map,this._hostNodes.set(f.head,[])}_addStylesToHost(f,L,V){f.forEach(z=>{const Y=this._doc.createElement("style");Y.textContent=z,V.push(L.appendChild(Y))})}addHost(f){const L=[];this._addStylesToHost(this._stylesSet,f,L),this._hostNodes.set(f,L)}removeHost(f){const L=this._hostNodes.get(f);L&&L.forEach(TA),this._hostNodes.delete(f)}onStylesAdded(f){this._hostNodes.forEach((L,V)=>{this._addStylesToHost(f,V,L)})}ngOnDestroy(){this._hostNodes.forEach(f=>f.forEach(TA))}}return N.\u0275fac=function(f){return new(f||N)(Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();function TA(N){xl().remove(N)}const cC={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},uC=/%COMP%/g;function nv(N,I,f){for(let L=0;L<I.length;L++){let V=I[L];Array.isArray(V)?nv(N,V,f):(V=V.replace(uC,N),f.push(V))}return f}function RA(N){return I=>{if("__ngUnwrap__"===I)return N;!1===N(I)&&(I.preventDefault(),I.returnValue=!1)}}let rv=(()=>{class N{constructor(f,L,V){this.eventManager=f,this.sharedStylesHost=L,this.appId=V,this.rendererByCompId=new Map,this.defaultRenderer=new dC(f)}createRenderer(f,L){if(!f||!L)return this.defaultRenderer;switch(L.encapsulation){case Ir.Emulated:{let V=this.rendererByCompId.get(L.id);return V||(V=new i4(this.eventManager,this.sharedStylesHost,L,this.appId),this.rendererByCompId.set(L.id,V)),V.applyToHost(f),V}case 1:case Ir.ShadowDom:return new o4(this.eventManager,this.sharedStylesHost,f,L);default:if(!this.rendererByCompId.has(L.id)){const V=nv(L.id,L.styles,[]);this.sharedStylesHost.addStyles(V),this.rendererByCompId.set(L.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return N.\u0275fac=function(f){return new(f||N)(Pe(tv),Pe(sg),Pe(eg))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class dC{constructor(I){this.eventManager=I,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(I,f){return f?document.createElementNS(cC[f]||f,I):document.createElement(I)}createComment(I){return document.createComment(I)}createText(I){return document.createTextNode(I)}appendChild(I,f){I.appendChild(f)}insertBefore(I,f,L){I&&I.insertBefore(f,L)}removeChild(I,f){I&&I.removeChild(f)}selectRootElement(I,f){let L="string"==typeof I?document.querySelector(I):I;if(!L)throw new Error(`The selector "${I}" did not match any elements`);return f||(L.textContent=""),L}parentNode(I){return I.parentNode}nextSibling(I){return I.nextSibling}setAttribute(I,f,L,V){if(V){f=V+":"+f;const z=cC[V];z?I.setAttributeNS(z,f,L):I.setAttribute(f,L)}else I.setAttribute(f,L)}removeAttribute(I,f,L){if(L){const V=cC[L];V?I.removeAttributeNS(V,f):I.removeAttribute(`${L}:${f}`)}else I.removeAttribute(f)}addClass(I,f){I.classList.add(f)}removeClass(I,f){I.classList.remove(f)}setStyle(I,f,L,V){V&(yo.DashCase|yo.Important)?I.style.setProperty(f,L,V&yo.Important?"important":""):I.style[f]=L}removeStyle(I,f,L){L&yo.DashCase?I.style.removeProperty(f):I.style[f]=""}setProperty(I,f,L){I[f]=L}setValue(I,f){I.nodeValue=f}listen(I,f,L){return"string"==typeof I?this.eventManager.addGlobalEventListener(I,f,RA(L)):this.eventManager.addEventListener(I,f,RA(L))}}class i4 extends dC{constructor(I,f,L,V){super(I),this.component=L;const z=nv(V+"-"+L.id,L.styles,[]);f.addStyles(z),this.contentAttr=function t4(N){return"_ngcontent-%COMP%".replace(uC,N)}(V+"-"+L.id),this.hostAttr=function n4(N){return"_nghost-%COMP%".replace(uC,N)}(V+"-"+L.id)}applyToHost(I){super.setAttribute(I,this.hostAttr,"")}createElement(I,f){const L=super.createElement(I,f);return super.setAttribute(L,this.contentAttr,""),L}}class o4 extends dC{constructor(I,f,L,V){super(I),this.sharedStylesHost=f,this.hostEl=L,this.shadowRoot=L.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const z=nv(V.id,V.styles,[]);for(let Y=0;Y<z.length;Y++){const X=document.createElement("style");X.textContent=z[Y],this.shadowRoot.appendChild(X)}}nodeOrShadowRoot(I){return I===this.hostEl?this.shadowRoot:I}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(I,f){return super.appendChild(this.nodeOrShadowRoot(I),f)}insertBefore(I,f,L){return super.insertBefore(this.nodeOrShadowRoot(I),f,L)}removeChild(I,f){return super.removeChild(this.nodeOrShadowRoot(I),f)}parentNode(I){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(I)))}}let a4=(()=>{class N extends MA{constructor(f){super(f)}supports(f){return!0}addEventListener(f,L,V){return f.addEventListener(L,V,!1),()=>this.removeEventListener(f,L,V)}removeEventListener(f,L,V){return f.removeEventListener(L,V)}}return N.\u0275fac=function(f){return new(f||N)(Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const PA=["alt","control","meta","shift"],l4={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},NA={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},c4={alt:N=>N.altKey,control:N=>N.ctrlKey,meta:N=>N.metaKey,shift:N=>N.shiftKey};let u4=(()=>{class N extends MA{constructor(f){super(f)}supports(f){return null!=N.parseEventName(f)}addEventListener(f,L,V){const z=N.parseEventName(L),Y=N.eventCallback(z.fullKey,V,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xl().onAndCancel(f,z.domEventName,Y))}static parseEventName(f){const L=f.toLowerCase().split("."),V=L.shift();if(0===L.length||"keydown"!==V&&"keyup"!==V)return null;const z=N._normalizeKey(L.pop());let Y="";if(PA.forEach(Q=>{const J=L.indexOf(Q);J>-1&&(L.splice(J,1),Y+=Q+".")}),Y+=z,0!=L.length||0===z.length)return null;const X={};return X.domEventName=V,X.fullKey=Y,X}static getEventFullKey(f){let L="",V=function d4(N){let I=N.key;if(null==I){if(I=N.keyIdentifier,null==I)return"Unidentified";I.startsWith("U+")&&(I=String.fromCharCode(parseInt(I.substring(2),16)),3===N.location&&NA.hasOwnProperty(I)&&(I=NA[I]))}return l4[I]||I}(f);return V=V.toLowerCase()," "===V?V="space":"."===V&&(V="dot"),PA.forEach(z=>{z!=V&&c4[z](f)&&(L+=z+".")}),L+=V,L}static eventCallback(f,L,V){return z=>{N.getEventFullKey(z)===f&&V.runGuarded(()=>L(z))}}static _normalizeKey(f){return"esc"===f?"escape":f}}return N.\u0275fac=function(f){return new(f||N)(Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const m4=UM(CB,"browser",[{provide:N_,useValue:DA},{provide:VM,useValue:function f4(){sC.makeCurrent(),lC.init()},multi:!0},{provide:In,useFactory:function p4(){return function Qf(N){yd=N}(document),document},deps:[]}]),g4=[{provide:Qb,useValue:"root"},{provide:bl,useFactory:function h4(){return new bl},deps:[]},{provide:ev,useClass:a4,multi:!0,deps:[In,Un,N_]},{provide:ev,useClass:u4,multi:!0,deps:[In]},{provide:rv,useClass:rv,deps:[tv,sg,eg]},{provide:Km,useExisting:rv},{provide:AA,useExisting:sg},{provide:sg,useClass:sg,deps:[In]},{provide:Bw,useClass:Bw,deps:[Un]},{provide:tv,useClass:tv,deps:[ev,Un]},{provide:SA,useClass:Z5,deps:[]}];let LA=(()=>{class N{constructor(f){if(f)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(f){return{ngModule:N,providers:[{provide:eg,useValue:f.appId},{provide:xA,useExisting:eg},Q5]}}}return N.\u0275fac=function(f){return new(f||N)(Pe(N,12))},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:g4,imports:[up,EB]}),N})();"undefined"!=typeof window&&window;let hC,iv=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:function(f){let L=null;return L=f?new(f||N):Pe(HA),L},providedIn:"root"}),N})(),HA=(()=>{class N extends iv{constructor(f){super(),this._doc=f}sanitize(f,L){if(null==L)return null;switch(f){case fn.NONE:return L;case fn.HTML:return Ta(L,"HTML")?go(L):Wd(this._doc,String(L)).toString();case fn.STYLE:return Ta(L,"Style")?go(L):L;case fn.SCRIPT:if(Ta(L,"Script"))return go(L);throw new Error("unsafe value used in a script context");case fn.URL:return Xy(L),Ta(L,"URL")?go(L):pu(String(L));case fn.RESOURCE_URL:if(Ta(L,"ResourceURL"))return go(L);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${f} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(f){return function Ud(N){return new Eh(N)}(f)}bypassSecurityTrustStyle(f){return function Dh(N){return new to(N)}(f)}bypassSecurityTrustScript(f){return function Cm(N){return new hb(N)}(f)}bypassSecurityTrustUrl(f){return function Qy(N){return new Nt(N)}(f)}bypassSecurityTrustResourceUrl(f){return function Zy(N){return new hu(N)}(f)}}return N.\u0275fac=function(f){return new(f||N)(Pe(In))},N.\u0275prov=pt({token:N,factory:function(f){let L=null;return L=f?new f:function S4(N){return new HA(N.get(In))}(Pe(ui)),L},providedIn:"root"}),N})();try{hC="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(N){hC=!1}let dp,ha=(()=>{class N{constructor(f){this._platformId=f,this.isBrowser=this._platformId?function W5(N){return N===DA}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!hC)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return N.\u0275fac=function(f){return new(f||N)(Pe(N_))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const jA=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function zA(){if(dp)return dp;if("object"!=typeof document||!document)return dp=new Set(jA),dp;let N=document.createElement("input");return dp=new Set(jA.filter(I=>(N.setAttribute("type",I),N.type===I))),dp}let lg,ff,pC;function cg(N){return function x4(){if(null==lg&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>lg=!0}))}finally{lg=lg||!1}return lg}()?N:!!N.capture}function M4(){if(null==ff){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ff=!1,ff;if("scrollBehavior"in document.documentElement.style)ff=!0;else{const N=Element.prototype.scrollTo;ff=!!N&&!/\{\s*\[native code\]\s*\}/.test(N.toString())}}return ff}function ug(){let N="undefined"!=typeof document&&document?document.activeElement:null;for(;N&&N.shadowRoot;){const I=N.shadowRoot.activeElement;if(I===N)break;N=I}return N}function hf(N){return N.composedPath?N.composedPath()[0]:N.target}function mC(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}class gC extends Ke{constructor(I){super(),this._value=I}get value(){return this.getValue()}_subscribe(I){const f=super._subscribe(I);return!f.closed&&I.next(this._value),f}getValue(){const{hasError:I,thrownError:f,_value:L}=this;if(I)throw f;return this._throwIfClosed(),L}next(I){super.next(this._value=I)}}function Pi(...N){return $a(N,Ic(N))}function Ml(N,...I){return I.length?I.some(f=>N[f]):N.altKey||N.shiftKey||N.ctrlKey||N.metaKey}class j4 extends Se{constructor(I,f){super()}schedule(I,f=0){return this}}const uv={setInterval(...N){const{delegate:I}=uv;return((null==I?void 0:I.setInterval)||setInterval)(...N)},clearInterval(N){const{delegate:I}=uv;return((null==I?void 0:I.clearInterval)||clearInterval)(N)},delegate:void 0};class yC extends j4{constructor(I,f){super(I,f),this.scheduler=I,this.work=f,this.pending=!1}schedule(I,f=0){if(this.closed)return this;this.state=I;const L=this.id,V=this.scheduler;return null!=L&&(this.id=this.recycleAsyncId(V,L,f)),this.pending=!0,this.delay=f,this.id=this.id||this.requestAsyncId(V,this.id,f),this}requestAsyncId(I,f,L=0){return uv.setInterval(I.flush.bind(I,this),L)}recycleAsyncId(I,f,L=0){if(null!=L&&this.delay===L&&!1===this.pending)return f;uv.clearInterval(f)}execute(I,f){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const L=this._execute(I,f);if(L)return L;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(I,f){let V,L=!1;try{this.work(I)}catch(z){L=!0,V=z||new Error("Scheduled action threw falsy error")}if(L)return this.unsubscribe(),V}unsubscribe(){if(!this.closed){const{id:I,scheduler:f}=this,{actions:L}=f;this.work=this.state=this.scheduler=null,this.pending=!1,Xe(L,this),null!=I&&(this.id=this.recycleAsyncId(f,I,null)),this.delay=null,super.unsubscribe()}}}const _C={now:()=>(_C.delegate||Date).now(),delegate:void 0};class hg{constructor(I,f=hg.now){this.schedulerActionCtor=I,this.now=f}schedule(I,f=0,L){return new this.schedulerActionCtor(this,I).schedule(L,f)}}hg.now=_C.now;class vC extends hg{constructor(I,f=hg.now){super(I,f),this.actions=[],this._active=!1,this._scheduled=void 0}flush(I){const{actions:f}=this;if(this._active)return void f.push(I);let L;this._active=!0;do{if(L=I.execute(I.state,I.delay))break}while(I=f.shift());if(this._active=!1,L){for(;I=f.shift();)I.unsubscribe();throw L}}}const $A=new vC(yC),WA=$A;function GA(N,I=$A){return _t((f,L)=>{let V=null,z=null,Y=null;const X=()=>{if(V){V.unsubscribe(),V=null;const J=z;z=null,L.next(J)}};function Q(){const J=Y+N,te=I.now();if(te<J)return V=this.schedule(void 0,J-te),void L.add(V);X()}f.subscribe(new Yt(L,J=>{z=J,Y=I.now(),V||(V=I.schedule(Q,N),L.add(V))},()=>{X(),L.complete()},void 0,()=>{z=V=null}))})}function zs(N,I){return _t((f,L)=>{let V=0;f.subscribe(new Yt(L,z=>N.call(I,z,V++)&&L.next(z)))})}function YA(N,I=Ze){return N=null!=N?N:U4,_t((f,L)=>{let V,z=!0;f.subscribe(new Yt(L,Y=>{const X=I(Y);(z||!N(V,X))&&(z=!1,V=X,L.next(Y))}))})}function U4(N,I){return N===I}function Pa(N){return _t((I,f)=>{yr(N).subscribe(new Yt(f,()=>f.complete(),jt)),!f.closed&&I.subscribe(f)})}function Mr(N){return null!=N&&"false"!=`${N}`}function Fu(N,I=0){return function $4(N){return!isNaN(parseFloat(N))&&!isNaN(Number(N))}(N)?Number(N):I}function KA(N){return Array.isArray(N)?N:[N]}function Ni(N){return null==N?"":"string"==typeof N?N:`${N}px`}function gc(N){return N instanceof Zn?N.nativeElement:N}let qA=(()=>{class N{create(f){return"undefined"==typeof MutationObserver?null:new MutationObserver(f)}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),G4=(()=>{class N{constructor(f){this._mutationObserverFactory=f,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((f,L)=>this._cleanupObserver(L))}observe(f){const L=gc(f);return new Gt(V=>{const Y=this._observeElement(L).subscribe(V);return()=>{Y.unsubscribe(),this._unobserveElement(L)}})}_observeElement(f){if(this._observedElements.has(f))this._observedElements.get(f).count++;else{const L=new Ke,V=this._mutationObserverFactory.create(z=>L.next(z));V&&V.observe(f,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(f,{observer:V,stream:L,count:1})}return this._observedElements.get(f).stream}_unobserveElement(f){this._observedElements.has(f)&&(this._observedElements.get(f).count--,this._observedElements.get(f).count||this._cleanupObserver(f))}_cleanupObserver(f){if(this._observedElements.has(f)){const{observer:L,stream:V}=this._observedElements.get(f);L&&L.disconnect(),V.complete(),this._observedElements.delete(f)}}}return N.\u0275fac=function(f){return new(f||N)(Pe(qA))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),Y4=(()=>{class N{constructor(f,L,V){this._contentObserver=f,this._elementRef=L,this._ngZone=V,this.event=new Ut,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(f){this._disabled=Mr(f),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(f){this._debounce=Fu(f),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const f=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?f.pipe(GA(this.debounce)):f).subscribe(this.event)})}_unsubscribe(){var f;null===(f=this._currentSubscription)||void 0===f||f.unsubscribe()}}return N.\u0275fac=function(f){return new(f||N)(he(G4),he(Zn),he(Un))},N.\u0275dir=Mt({type:N,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),N})(),XA=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[qA]}),N})();class Q4 extends class X4{constructor(I){this._items=I,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ke,this._typeaheadSubscription=Se.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=f=>f.disabled,this._pressedLetters=[],this.tabOut=new Ke,this.change=new Ke,I instanceof Zm&&I.changes.subscribe(f=>{if(this._activeItem){const V=f.toArray().indexOf(this._activeItem);V>-1&&V!==this._activeItemIndex&&(this._activeItemIndex=V)}})}skipPredicate(I){return this._skipPredicateFn=I,this}withWrap(I=!0){return this._wrap=I,this}withVerticalOrientation(I=!0){return this._vertical=I,this}withHorizontalOrientation(I){return this._horizontal=I,this}withAllowedModifierKeys(I){return this._allowedModifierKeys=I,this}withTypeAhead(I=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(function cv(N,I,f){const L=we(N)||I||f?{next:N,error:I,complete:f}:N;return L?_t((V,z)=>{var Y;null===(Y=L.subscribe)||void 0===Y||Y.call(L);let X=!0;V.subscribe(new Yt(z,Q=>{var J;null===(J=L.next)||void 0===J||J.call(L,Q),z.next(Q)},()=>{var Q;X=!1,null===(Q=L.complete)||void 0===Q||Q.call(L),z.complete()},Q=>{var J;X=!1,null===(J=L.error)||void 0===J||J.call(L,Q),z.error(Q)},()=>{var Q,J;X&&(null===(Q=L.unsubscribe)||void 0===Q||Q.call(L)),null===(J=L.finalize)||void 0===J||J.call(L)}))}):Ze}(f=>this._pressedLetters.push(f)),GA(I),zs(()=>this._pressedLetters.length>0),Zt(()=>this._pressedLetters.join(""))).subscribe(f=>{const L=this._getItemsArray();for(let V=1;V<L.length+1;V++){const z=(this._activeItemIndex+V)%L.length,Y=L[z];if(!this._skipPredicateFn(Y)&&0===Y.getLabel().toUpperCase().trim().indexOf(f)){this.setActiveItem(z);break}}this._pressedLetters=[]}),this}withHomeAndEnd(I=!0){return this._homeAndEnd=I,this}setActiveItem(I){const f=this._activeItem;this.updateActiveItem(I),this._activeItem!==f&&this.change.next(this._activeItemIndex)}onKeydown(I){const f=I.keyCode,V=["altKey","ctrlKey","metaKey","shiftKey"].every(z=>!I[z]||this._allowedModifierKeys.indexOf(z)>-1);switch(f){case 9:return void this.tabOut.next();case 40:if(this._vertical&&V){this.setNextItemActive();break}return;case 38:if(this._vertical&&V){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&V){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&V){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&V){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&V){this.setLastItemActive();break}return;default:return void((V||Ml(I,"shiftKey"))&&(I.key&&1===I.key.length?this._letterKeyStream.next(I.key.toLocaleUpperCase()):(f>=65&&f<=90||f>=48&&f<=57)&&this._letterKeyStream.next(String.fromCharCode(f))))}this._pressedLetters=[],I.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(I){const f=this._getItemsArray(),L="number"==typeof I?I:f.indexOf(I),V=f[L];this._activeItem=null==V?null:V,this._activeItemIndex=L}_setActiveItemByDelta(I){this._wrap?this._setActiveInWrapMode(I):this._setActiveInDefaultMode(I)}_setActiveInWrapMode(I){const f=this._getItemsArray();for(let L=1;L<=f.length;L++){const V=(this._activeItemIndex+I*L+f.length)%f.length;if(!this._skipPredicateFn(f[V]))return void this.setActiveItem(V)}}_setActiveInDefaultMode(I){this._setActiveItemByIndex(this._activeItemIndex+I,I)}_setActiveItemByIndex(I,f){const L=this._getItemsArray();if(L[I]){for(;this._skipPredicateFn(L[I]);)if(!L[I+=f])return;this.setActiveItem(I)}}_getItemsArray(){return this._items instanceof Zm?this._items.toArray():this._items}}{setActiveItem(I){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(I),this.activeItem&&this.activeItem.setActiveStyles()}}let JA=(()=>{class N{constructor(f){this._platform=f}isDisabled(f){return f.hasAttribute("disabled")}isVisible(f){return function J4(N){return!!(N.offsetWidth||N.offsetHeight||"function"==typeof N.getClientRects&&N.getClientRects().length)}(f)&&"visible"===getComputedStyle(f).visibility}isTabbable(f){if(!this._platform.isBrowser)return!1;const L=function Z4(N){try{return N.frameElement}catch(I){return null}}(function sH(N){return N.ownerDocument&&N.ownerDocument.defaultView||window}(f));if(L&&(-1===tT(L)||!this.isVisible(L)))return!1;let V=f.nodeName.toLowerCase(),z=tT(f);return f.hasAttribute("contenteditable")?-1!==z:!("iframe"===V||"object"===V||this._platform.WEBKIT&&this._platform.IOS&&!function oH(N){let I=N.nodeName.toLowerCase(),f="input"===I&&N.type;return"text"===f||"password"===f||"select"===I||"textarea"===I}(f))&&("audio"===V?!!f.hasAttribute("controls")&&-1!==z:"video"===V?-1!==z&&(null!==z||this._platform.FIREFOX||f.hasAttribute("controls")):f.tabIndex>=0)}isFocusable(f,L){return function aH(N){return!function tH(N){return function rH(N){return"input"==N.nodeName.toLowerCase()}(N)&&"hidden"==N.type}(N)&&(function eH(N){let I=N.nodeName.toLowerCase();return"input"===I||"select"===I||"button"===I||"textarea"===I}(N)||function nH(N){return function iH(N){return"a"==N.nodeName.toLowerCase()}(N)&&N.hasAttribute("href")}(N)||N.hasAttribute("contenteditable")||eT(N))}(f)&&!this.isDisabled(f)&&((null==L?void 0:L.ignoreVisibility)||this.isVisible(f))}}return N.\u0275fac=function(f){return new(f||N)(Pe(ha))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function eT(N){if(!N.hasAttribute("tabindex")||void 0===N.tabIndex)return!1;let I=N.getAttribute("tabindex");return!(!I||isNaN(parseInt(I,10)))}function tT(N){if(!eT(N))return null;const I=parseInt(N.getAttribute("tabindex")||"",10);return isNaN(I)?-1:I}class lH{constructor(I,f,L,V,z=!1){this._element=I,this._checker=f,this._ngZone=L,this._document=V,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,z||this.attachAnchors()}get enabled(){return this._enabled}set enabled(I){this._enabled=I,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(I,this._startAnchor),this._toggleAnchorTabIndex(I,this._endAnchor))}destroy(){const I=this._startAnchor,f=this._endAnchor;I&&(I.removeEventListener("focus",this.startAnchorListener),I.remove()),f&&(f.removeEventListener("focus",this.endAnchorListener),f.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(I){return new Promise(f=>{this._executeOnStable(()=>f(this.focusInitialElement(I)))})}focusFirstTabbableElementWhenReady(I){return new Promise(f=>{this._executeOnStable(()=>f(this.focusFirstTabbableElement(I)))})}focusLastTabbableElementWhenReady(I){return new Promise(f=>{this._executeOnStable(()=>f(this.focusLastTabbableElement(I)))})}_getRegionBoundary(I){const f=this._element.querySelectorAll(`[cdk-focus-region-${I}], [cdkFocusRegion${I}], [cdk-focus-${I}]`);return"start"==I?f.length?f[0]:this._getFirstTabbableElement(this._element):f.length?f[f.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(I){const f=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(f){if(!this._checker.isFocusable(f)){const L=this._getFirstTabbableElement(f);return null==L||L.focus(I),!!L}return f.focus(I),!0}return this.focusFirstTabbableElement(I)}focusFirstTabbableElement(I){const f=this._getRegionBoundary("start");return f&&f.focus(I),!!f}focusLastTabbableElement(I){const f=this._getRegionBoundary("end");return f&&f.focus(I),!!f}hasAttached(){return this._hasAttached}_getFirstTabbableElement(I){if(this._checker.isFocusable(I)&&this._checker.isTabbable(I))return I;const f=I.children;for(let L=0;L<f.length;L++){const V=f[L].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(f[L]):null;if(V)return V}return null}_getLastTabbableElement(I){if(this._checker.isFocusable(I)&&this._checker.isTabbable(I))return I;const f=I.children;for(let L=f.length-1;L>=0;L--){const V=f[L].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(f[L]):null;if(V)return V}return null}_createAnchor(){const I=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,I),I.classList.add("cdk-visually-hidden"),I.classList.add("cdk-focus-trap-anchor"),I.setAttribute("aria-hidden","true"),I}_toggleAnchorTabIndex(I,f){I?f.setAttribute("tabindex","0"):f.removeAttribute("tabindex")}toggleAnchors(I){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(I,this._startAnchor),this._toggleAnchorTabIndex(I,this._endAnchor))}_executeOnStable(I){this._ngZone.isStable?I():this._ngZone.onStable.pipe(xn(1)).subscribe(I)}}let nT=(()=>{class N{constructor(f,L,V){this._checker=f,this._ngZone=L,this._document=V}create(f,L=!1){return new lH(f,this._checker,this._ngZone,this._document,L)}}return N.\u0275fac=function(f){return new(f||N)(Pe(JA),Pe(Un),Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),cH=(()=>{class N{constructor(f,L,V){this._elementRef=f,this._focusTrapFactory=L,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(f){this.focusTrap.enabled=Mr(f)}get autoCapture(){return this._autoCapture}set autoCapture(f){this._autoCapture=Mr(f)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(f){const L=f.autoCapture;L&&!L.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=ug(),this.focusTrap.focusInitialElementWhenReady()}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(nT),he(In))},N.\u0275dir=Mt({type:N,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[ai]}),N})();function rT(N){return 0===N.buttons||0===N.offsetX&&0===N.offsetY}function iT(N){const I=N.touches&&N.touches[0]||N.changedTouches&&N.changedTouches[0];return!(!I||-1!==I.identifier||null!=I.radiusX&&1!==I.radiusX||null!=I.radiusY&&1!==I.radiusY)}const uH=new wt("cdk-input-modality-detector-options"),dH={ignoreKeys:[18,17,224,91,16]},pp=cg({passive:!0,capture:!0});let fH=(()=>{class N{constructor(f,L,V,z){this._platform=f,this._mostRecentTarget=null,this._modality=new gC(null),this._lastTouchMs=0,this._onKeydown=Y=>{var X,Q;(null===(Q=null===(X=this._options)||void 0===X?void 0:X.ignoreKeys)||void 0===Q?void 0:Q.some(J=>J===Y.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=hf(Y))},this._onMousedown=Y=>{Date.now()-this._lastTouchMs<650||(this._modality.next(rT(Y)?"keyboard":"mouse"),this._mostRecentTarget=hf(Y))},this._onTouchstart=Y=>{iT(Y)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=hf(Y))},this._options=Object.assign(Object.assign({},dH),z),this.modalityDetected=this._modality.pipe(function z4(N){return zs((I,f)=>N<=f)}(1)),this.modalityChanged=this.modalityDetected.pipe(YA()),f.isBrowser&&L.runOutsideAngular(()=>{V.addEventListener("keydown",this._onKeydown,pp),V.addEventListener("mousedown",this._onMousedown,pp),V.addEventListener("touchstart",this._onTouchstart,pp)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,pp),document.removeEventListener("mousedown",this._onMousedown,pp),document.removeEventListener("touchstart",this._onTouchstart,pp))}}return N.\u0275fac=function(f){return new(f||N)(Pe(ha),Pe(Un),Pe(In),Pe(uH,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const hH=new wt("liveAnnouncerElement",{providedIn:"root",factory:function pH(){return null}}),mH=new wt("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let gH=(()=>{class N{constructor(f,L,V,z){this._ngZone=L,this._defaultOptions=z,this._document=V,this._liveElement=f||this._createLiveElement()}announce(f,...L){const V=this._defaultOptions;let z,Y;return 1===L.length&&"number"==typeof L[0]?Y=L[0]:[z,Y]=L,this.clear(),clearTimeout(this._previousTimeout),z||(z=V&&V.politeness?V.politeness:"polite"),null==Y&&V&&(Y=V.duration),this._liveElement.setAttribute("aria-live",z),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(X=>this._currentResolve=X)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=f,"number"==typeof Y&&(this._previousTimeout=setTimeout(()=>this.clear(),Y)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var f,L;clearTimeout(this._previousTimeout),null===(f=this._liveElement)||void 0===f||f.remove(),this._liveElement=null,null===(L=this._currentResolve)||void 0===L||L.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const f="cdk-live-announcer-element",L=this._document.getElementsByClassName(f),V=this._document.createElement("div");for(let z=0;z<L.length;z++)L[z].remove();return V.classList.add(f),V.classList.add("cdk-visually-hidden"),V.setAttribute("aria-atomic","true"),V.setAttribute("aria-live","polite"),this._document.body.appendChild(V),V}}return N.\u0275fac=function(f){return new(f||N)(Pe(hH,8),Pe(Un),Pe(In),Pe(mH,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const yH=new wt("cdk-focus-monitor-default-options"),dv=cg({passive:!0,capture:!0});let fv=(()=>{class N{constructor(f,L,V,z,Y){this._ngZone=f,this._platform=L,this._inputModalityDetector=V,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ke,this._rootNodeFocusAndBlurListener=X=>{const Q=hf(X),J="focus"===X.type?this._onFocus:this._onBlur;for(let te=Q;te;te=te.parentElement)J.call(this,X,te)},this._document=z,this._detectionMode=(null==Y?void 0:Y.detectionMode)||0}monitor(f,L=!1){const V=gc(f);if(!this._platform.isBrowser||1!==V.nodeType)return Pi(null);const z=function T4(N){if(function A4(){if(null==pC){const N="undefined"!=typeof document?document.head:null;pC=!(!N||!N.createShadowRoot&&!N.attachShadow)}return pC}()){const I=N.getRootNode?N.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&I instanceof ShadowRoot)return I}return null}(V)||this._getDocument(),Y=this._elementInfo.get(V);if(Y)return L&&(Y.checkChildren=!0),Y.subject;const X={checkChildren:L,subject:new Ke,rootNode:z};return this._elementInfo.set(V,X),this._registerGlobalListeners(X),X.subject}stopMonitoring(f){const L=gc(f),V=this._elementInfo.get(L);V&&(V.subject.complete(),this._setClasses(L),this._elementInfo.delete(L),this._removeGlobalListeners(V))}focusVia(f,L,V){const z=gc(f);z===this._getDocument().activeElement?this._getClosestElementsInfo(z).forEach(([X,Q])=>this._originChanged(X,L,Q)):(this._setOrigin(L),"function"==typeof z.focus&&z.focus(V))}ngOnDestroy(){this._elementInfo.forEach((f,L)=>this.stopMonitoring(L))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(f){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(f)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(f){return 1===this._detectionMode||!!(null==f?void 0:f.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(f,L){f.classList.toggle("cdk-focused",!!L),f.classList.toggle("cdk-touch-focused","touch"===L),f.classList.toggle("cdk-keyboard-focused","keyboard"===L),f.classList.toggle("cdk-mouse-focused","mouse"===L),f.classList.toggle("cdk-program-focused","program"===L)}_setOrigin(f,L=!1){this._ngZone.runOutsideAngular(()=>{this._origin=f,this._originFromTouchInteraction="touch"===f&&L,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(f,L){const V=this._elementInfo.get(L),z=hf(f);!V||!V.checkChildren&&L!==z||this._originChanged(L,this._getFocusOrigin(z),V)}_onBlur(f,L){const V=this._elementInfo.get(L);!V||V.checkChildren&&f.relatedTarget instanceof Node&&L.contains(f.relatedTarget)||(this._setClasses(L),this._emitOrigin(V.subject,null))}_emitOrigin(f,L){this._ngZone.run(()=>f.next(L))}_registerGlobalListeners(f){if(!this._platform.isBrowser)return;const L=f.rootNode,V=this._rootNodeFocusListenerCount.get(L)||0;V||this._ngZone.runOutsideAngular(()=>{L.addEventListener("focus",this._rootNodeFocusAndBlurListener,dv),L.addEventListener("blur",this._rootNodeFocusAndBlurListener,dv)}),this._rootNodeFocusListenerCount.set(L,V+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Pa(this._stopInputModalityDetector)).subscribe(z=>{this._setOrigin(z,!0)}))}_removeGlobalListeners(f){const L=f.rootNode;if(this._rootNodeFocusListenerCount.has(L)){const V=this._rootNodeFocusListenerCount.get(L);V>1?this._rootNodeFocusListenerCount.set(L,V-1):(L.removeEventListener("focus",this._rootNodeFocusAndBlurListener,dv),L.removeEventListener("blur",this._rootNodeFocusAndBlurListener,dv),this._rootNodeFocusListenerCount.delete(L))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(f,L,V){this._setClasses(f,L),this._emitOrigin(V.subject,L),this._lastFocusOrigin=L}_getClosestElementsInfo(f){const L=[];return this._elementInfo.forEach((V,z)=>{(z===f||V.checkChildren&&z.contains(f))&&L.push([z,V])}),L}}return N.\u0275fac=function(f){return new(f||N)(Pe(Un),Pe(ha),Pe(fH),Pe(In,8),Pe(yH,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),aT=(()=>{class N{constructor(f,L){this._elementRef=f,this._focusMonitor=L,this.cdkFocusChange=new Ut}ngAfterViewInit(){const f=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(f,1===f.nodeType&&f.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(L=>this.cdkFocusChange.emit(L))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(fv))},N.\u0275dir=Mt({type:N,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),N})();const sT="cdk-high-contrast-black-on-white",lT="cdk-high-contrast-white-on-black",bC="cdk-high-contrast-active";let cT=(()=>{class N{constructor(f,L){this._platform=f,this._document=L}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const f=this._document.createElement("div");f.style.backgroundColor="rgb(1,2,3)",f.style.position="absolute",this._document.body.appendChild(f);const L=this._document.defaultView||window,V=L&&L.getComputedStyle?L.getComputedStyle(f):null,z=(V&&V.backgroundColor||"").replace(/ /g,"");switch(f.remove(),z){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const f=this._document.body.classList;f.remove(bC),f.remove(sT),f.remove(lT),this._hasCheckedHighContrastMode=!0;const L=this.getHighContrastMode();1===L?(f.add(bC),f.add(sT)):2===L&&(f.add(bC),f.add(lT))}}}return N.\u0275fac=function(f){return new(f||N)(Pe(ha),Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),_H=(()=>{class N{constructor(f){f._applyBodyHighContrastModeCssClasses()}}return N.\u0275fac=function(f){return new(f||N)(Pe(cT))},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[XA]]}),N})();const{isArray:vH}=Array;function uT(N){return Zt(I=>function bH(N,I){return vH(I)?N(...I):N(I)}(N,I))}const wH=["addListener","removeListener"],CH=["addEventListener","removeEventListener"],EH=["on","off"];function hv(N,I,f,L){if(we(f)&&(L=f,f=void 0),L)return hv(N,I,f).pipe(uT(L));const[V,z]=function SH(N){return we(N.addEventListener)&&we(N.removeEventListener)}(N)?CH.map(Y=>X=>N[Y](I,X,f)):function DH(N){return we(N.addListener)&&we(N.removeListener)}(N)?wH.map(dT(N,I)):function kH(N){return we(N.on)&&we(N.off)}(N)?EH.map(dT(N,I)):[];if(!V&&Jo(N))return ya(Y=>hv(Y,I,f))(yr(N));if(!V)throw new TypeError("Invalid event target");return new Gt(Y=>{const X=(...Q)=>Y.next(1<Q.length?Q:Q[0]);return V(X),()=>z(X)})}function dT(N,I){return f=>L=>N[f](I,L)}const pg={schedule(N){let I=requestAnimationFrame,f=cancelAnimationFrame;const{delegate:L}=pg;L&&(I=L.requestAnimationFrame,f=L.cancelAnimationFrame);const V=I(z=>{f=void 0,N(z)});return new Se(()=>null==f?void 0:f(V))},requestAnimationFrame(...N){const{delegate:I}=pg;return((null==I?void 0:I.requestAnimationFrame)||requestAnimationFrame)(...N)},cancelAnimationFrame(...N){const{delegate:I}=pg;return((null==I?void 0:I.cancelAnimationFrame)||cancelAnimationFrame)(...N)},delegate:void 0};new class MH extends vC{flush(I){this._active=!0;const f=this._scheduled;this._scheduled=void 0;const{actions:L}=this;let V;I=I||L.shift();do{if(V=I.execute(I.state,I.delay))break}while((I=L[0])&&I.id===f&&L.shift());if(this._active=!1,V){for(;(I=L[0])&&I.id===f&&L.shift();)I.unsubscribe();throw V}}}(class xH extends yC{constructor(I,f){super(I,f),this.scheduler=I,this.work=f}requestAsyncId(I,f,L=0){return null!==L&&L>0?super.requestAsyncId(I,f,L):(I.actions.push(this),I._scheduled||(I._scheduled=pg.requestAnimationFrame(()=>I.flush(void 0))))}recycleAsyncId(I,f,L=0){if(null!=L&&L>0||null==L&&this.delay>0)return super.recycleAsyncId(I,f,L);I.actions.some(V=>V.id===f)||(pg.cancelAnimationFrame(f),I._scheduled=void 0)}});let wC,TH=1;const pv={};function fT(N){return N in pv&&(delete pv[N],!0)}const FH={setImmediate(N){const I=TH++;return pv[I]=!0,wC||(wC=Promise.resolve()),wC.then(()=>fT(I)&&N()),I},clearImmediate(N){fT(N)}},{setImmediate:IH,clearImmediate:RH}=FH,mv={setImmediate(...N){const{delegate:I}=mv;return((null==I?void 0:I.setImmediate)||IH)(...N)},clearImmediate(N){const{delegate:I}=mv;return((null==I?void 0:I.clearImmediate)||RH)(N)},delegate:void 0};new class PH extends vC{flush(I){this._active=!0;const f=this._scheduled;this._scheduled=void 0;const{actions:L}=this;let V;I=I||L.shift();do{if(V=I.execute(I.state,I.delay))break}while((I=L[0])&&I.id===f&&L.shift());if(this._active=!1,V){for(;(I=L[0])&&I.id===f&&L.shift();)I.unsubscribe();throw V}}}(class OH extends yC{constructor(I,f){super(I,f),this.scheduler=I,this.work=f}requestAsyncId(I,f,L=0){return null!==L&&L>0?super.requestAsyncId(I,f,L):(I.actions.push(this),I._scheduled||(I._scheduled=mv.setImmediate(I.flush.bind(I,void 0))))}recycleAsyncId(I,f,L=0){if(null!=L&&L>0||null==L&&this.delay>0)return super.recycleAsyncId(I,f,L);I.actions.some(V=>V.id===f)||(mv.clearImmediate(f),I._scheduled=void 0)}});function hT(N,I=WA){return function LH(N){return _t((I,f)=>{let L=!1,V=null,z=null,Y=!1;const X=()=>{if(null==z||z.unsubscribe(),z=null,L){L=!1;const J=V;V=null,f.next(J)}Y&&f.complete()},Q=()=>{z=null,Y&&f.complete()};I.subscribe(new Yt(f,J=>{L=!0,V=J,z||yr(N(J)).subscribe(z=new Yt(f,X,Q))},()=>{Y=!0,(!L||!z||z.closed)&&f.complete()}))})}(()=>function BH(N=0,I,f=WA){let L=-1;return null!=I&&(Pl(I)?f=I:L=I),new Gt(V=>{let z=function VH(N){return N instanceof Date&&!isNaN(N)}(N)?+N-f.now():N;z<0&&(z=0);let Y=0;return f.schedule(function(){V.closed||(V.next(Y++),0<=L?this.schedule(void 0,L):V.complete())},z)})}(N,I))}const HH=new wt("cdk-dir-doc",{providedIn:"root",factory:function jH(){return _h(In)}}),zH=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let Us=(()=>{class N{constructor(f){if(this.value="ltr",this.change=new Ut,f){const V=f.documentElement?f.documentElement.dir:null;this.value=function UH(N){const I=(null==N?void 0:N.toLowerCase())||"";return"auto"===I&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?zH.test(navigator.language)?"rtl":"ltr":"rtl"===I?"rtl":"ltr"}((f.body?f.body.dir:null)||V||"ltr")}}ngOnDestroy(){this.change.complete()}}return N.\u0275fac=function(f){return new(f||N)(Pe(HH,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),mg=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})(),WH=(()=>{class N{constructor(f,L,V){this._ngZone=f,this._platform=L,this._scrolled=new Ke,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=V}register(f){this.scrollContainers.has(f)||this.scrollContainers.set(f,f.elementScrolled().subscribe(()=>this._scrolled.next(f)))}deregister(f){const L=this.scrollContainers.get(f);L&&(L.unsubscribe(),this.scrollContainers.delete(f))}scrolled(f=20){return this._platform.isBrowser?new Gt(L=>{this._globalSubscription||this._addGlobalListener();const V=f>0?this._scrolled.pipe(hT(f)).subscribe(L):this._scrolled.subscribe(L);return this._scrolledCount++,()=>{V.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Pi()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((f,L)=>this.deregister(L)),this._scrolled.complete()}ancestorScrolled(f,L){const V=this.getAncestorScrollContainers(f);return this.scrolled(L).pipe(zs(z=>!z||V.indexOf(z)>-1))}getAncestorScrollContainers(f){const L=[];return this.scrollContainers.forEach((V,z)=>{this._scrollableContainsElement(z,f)&&L.push(z)}),L}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(f,L){let V=gc(L),z=f.getElementRef().nativeElement;do{if(V==z)return!0}while(V=V.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>hv(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return N.\u0275fac=function(f){return new(f||N)(Pe(Un),Pe(ha),Pe(In,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),CC=(()=>{class N{constructor(f,L,V){this._platform=f,this._change=new Ke,this._changeListener=z=>{this._change.next(z)},this._document=V,L.runOutsideAngular(()=>{if(f.isBrowser){const z=this._getWindow();z.addEventListener("resize",this._changeListener),z.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const f=this._getWindow();f.removeEventListener("resize",this._changeListener),f.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const f={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),f}getViewportRect(){const f=this.getViewportScrollPosition(),{width:L,height:V}=this.getViewportSize();return{top:f.top,left:f.left,bottom:f.top+V,right:f.left+L,height:V,width:L}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const f=this._document,L=this._getWindow(),V=f.documentElement,z=V.getBoundingClientRect();return{top:-z.top||f.body.scrollTop||L.scrollY||V.scrollTop||0,left:-z.left||f.body.scrollLeft||L.scrollX||V.scrollLeft||0}}change(f=20){return f>0?this._change.pipe(hT(f)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const f=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:f.innerWidth,height:f.innerHeight}:{width:0,height:0}}}return N.\u0275fac=function(f){return new(f||N)(Pe(ha),Pe(Un),Pe(In,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),gv=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})(),pT=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[mg,gv],mg,gv]}),N})();class EC{attach(I){return this._attachedHost=I,I.attach(this)}detach(){let I=this._attachedHost;null!=I&&(this._attachedHost=null,I.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(I){this._attachedHost=I}}class gg extends EC{constructor(I,f,L,V){super(),this.component=I,this.viewContainerRef=f,this.injector=L,this.componentFactoryResolver=V}}class DC extends EC{constructor(I,f,L){super(),this.templateRef=I,this.viewContainerRef=f,this.context=L}get origin(){return this.templateRef.elementRef}attach(I,f=this.context){return this.context=f,super.attach(I)}detach(){return this.context=void 0,super.detach()}}class YH extends EC{constructor(I){super(),this.element=I instanceof Zn?I.nativeElement:I}}class kC{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(I){return I instanceof gg?(this._attachedPortal=I,this.attachComponentPortal(I)):I instanceof DC?(this._attachedPortal=I,this.attachTemplatePortal(I)):this.attachDomPortal&&I instanceof YH?(this._attachedPortal=I,this.attachDomPortal(I)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(I){this._disposeFn=I}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class KH extends kC{constructor(I,f,L,V,z){super(),this.outletElement=I,this._componentFactoryResolver=f,this._appRef=L,this._defaultInjector=V,this.attachDomPortal=Y=>{const X=Y.element,Q=this._document.createComment("dom-portal");X.parentNode.insertBefore(Q,X),this.outletElement.appendChild(X),this._attachedPortal=Y,super.setDisposeFn(()=>{Q.parentNode&&Q.parentNode.replaceChild(X,Q)})},this._document=z}attachComponentPortal(I){const L=(I.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(I.component);let V;return I.viewContainerRef?(V=I.viewContainerRef.createComponent(L,I.viewContainerRef.length,I.injector||I.viewContainerRef.injector),this.setDisposeFn(()=>V.destroy())):(V=L.create(I.injector||this._defaultInjector||ui.NULL),this._appRef.attachView(V.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(V.hostView),V.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(V)),this._attachedPortal=I,V}attachTemplatePortal(I){let f=I.viewContainerRef,L=f.createEmbeddedView(I.templateRef,I.context);return L.rootNodes.forEach(V=>this.outletElement.appendChild(V)),L.detectChanges(),this.setDisposeFn(()=>{let V=f.indexOf(L);-1!==V&&f.remove(V)}),this._attachedPortal=I,L}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(I){return I.hostView.rootNodes[0]}}let yv=(()=>{class N extends kC{constructor(f,L,V){super(),this._componentFactoryResolver=f,this._viewContainerRef=L,this._isInitialized=!1,this.attached=new Ut,this.attachDomPortal=z=>{const Y=z.element,X=this._document.createComment("dom-portal");z.setAttachedHost(this),Y.parentNode.insertBefore(X,Y),this._getRootNode().appendChild(Y),this._attachedPortal=z,super.setDisposeFn(()=>{X.parentNode&&X.parentNode.replaceChild(Y,X)})},this._document=V}get portal(){return this._attachedPortal}set portal(f){this.hasAttached()&&!f&&!this._isInitialized||(this.hasAttached()&&super.detach(),f&&super.attach(f),this._attachedPortal=f||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(f){f.setAttachedHost(this);const L=null!=f.viewContainerRef?f.viewContainerRef:this._viewContainerRef,z=(f.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(f.component),Y=L.createComponent(z,L.length,f.injector||L.injector);return L!==this._viewContainerRef&&this._getRootNode().appendChild(Y.hostView.rootNodes[0]),super.setDisposeFn(()=>Y.destroy()),this._attachedPortal=f,this._attachedRef=Y,this.attached.emit(Y),Y}attachTemplatePortal(f){f.setAttachedHost(this);const L=this._viewContainerRef.createEmbeddedView(f.templateRef,f.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=f,this._attachedRef=L,this.attached.emit(L),L}_getRootNode(){const f=this._viewContainerRef.element.nativeElement;return f.nodeType===f.ELEMENT_NODE?f:f.parentNode}}return N.\u0275fac=function(f){return new(f||N)(he(xu),he(Oa),he(In))},N.\u0275dir=Mt({type:N,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[gn]}),N})(),SC=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})();const mT=M4();class XH{constructor(I,f){this._viewportRuler=I,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=f}attach(){}enable(){if(this._canBeEnabled()){const I=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=I.style.left||"",this._previousHTMLStyles.top=I.style.top||"",I.style.left=Ni(-this._previousScrollPosition.left),I.style.top=Ni(-this._previousScrollPosition.top),I.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const I=this._document.documentElement,L=I.style,V=this._document.body.style,z=L.scrollBehavior||"",Y=V.scrollBehavior||"";this._isEnabled=!1,L.left=this._previousHTMLStyles.left,L.top=this._previousHTMLStyles.top,I.classList.remove("cdk-global-scrollblock"),mT&&(L.scrollBehavior=V.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),mT&&(L.scrollBehavior=z,V.scrollBehavior=Y)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const f=this._document.body,L=this._viewportRuler.getViewportSize();return f.scrollHeight>L.height||f.scrollWidth>L.width}}class QH{constructor(I,f,L,V){this._scrollDispatcher=I,this._ngZone=f,this._viewportRuler=L,this._config=V,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(I){this._overlayRef=I}enable(){if(this._scrollSubscription)return;const I=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=I.subscribe(()=>{const f=this._viewportRuler.getViewportScrollPosition().top;Math.abs(f-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=I.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class gT{enable(){}disable(){}attach(){}}function xC(N,I){return I.some(f=>N.bottom<f.top||N.top>f.bottom||N.right<f.left||N.left>f.right)}function yT(N,I){return I.some(f=>N.top<f.top||N.bottom>f.bottom||N.left<f.left||N.right>f.right)}class ZH{constructor(I,f,L,V){this._scrollDispatcher=I,this._viewportRuler=f,this._ngZone=L,this._config=V,this._scrollSubscription=null}attach(I){this._overlayRef=I}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const f=this._overlayRef.overlayElement.getBoundingClientRect(),{width:L,height:V}=this._viewportRuler.getViewportSize();xC(f,[{width:L,height:V,bottom:V,right:L,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let JH=(()=>{class N{constructor(f,L,V,z){this._scrollDispatcher=f,this._viewportRuler=L,this._ngZone=V,this.noop=()=>new gT,this.close=Y=>new QH(this._scrollDispatcher,this._ngZone,this._viewportRuler,Y),this.block=()=>new XH(this._viewportRuler,this._document),this.reposition=Y=>new ZH(this._scrollDispatcher,this._viewportRuler,this._ngZone,Y),this._document=z}}return N.\u0275fac=function(f){return new(f||N)(Pe(WH),Pe(CC),Pe(Un),Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();class _v{constructor(I){if(this.scrollStrategy=new gT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,I){const f=Object.keys(I);for(const L of f)void 0!==I[L]&&(this[L]=I[L])}}}class e8{constructor(I,f){this.connectionPair=I,this.scrollableViewProperties=f}}class t8{constructor(I,f,L,V,z,Y,X,Q,J){this._portalOutlet=I,this._host=f,this._pane=L,this._config=V,this._ngZone=z,this._keyboardDispatcher=Y,this._document=X,this._location=Q,this._outsideClickDispatcher=J,this._backdropElement=null,this._backdropClick=new Ke,this._attachments=new Ke,this._detachments=new Ke,this._locationChanges=Se.EMPTY,this._backdropClickHandler=te=>this._backdropClick.next(te),this._backdropTransitionendHandler=te=>{this._disposeBackdrop(te.target)},this._keydownEvents=new Ke,this._outsidePointerEvents=new Ke,V.scrollStrategy&&(this._scrollStrategy=V.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=V.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(I){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const f=this._portalOutlet.attach(I);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(xn(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),f}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const I=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),I}dispose(){var I;const f=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(I=this._host)||void 0===I||I.remove(),this._previousHostParent=this._pane=this._host=null,f&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(I){I!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=I,this.hasAttached()&&(I.attach(this),this.updatePosition()))}updateSize(I){this._config=Object.assign(Object.assign({},this._config),I),this._updateElementSize()}setDirection(I){this._config=Object.assign(Object.assign({},this._config),{direction:I}),this._updateElementDirection()}addPanelClass(I){this._pane&&this._toggleClasses(this._pane,I,!0)}removePanelClass(I){this._pane&&this._toggleClasses(this._pane,I,!1)}getDirection(){const I=this._config.direction;return I?"string"==typeof I?I:I.value:"ltr"}updateScrollStrategy(I){I!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=I,this.hasAttached()&&(I.attach(this),I.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const I=this._pane.style;I.width=Ni(this._config.width),I.height=Ni(this._config.height),I.minWidth=Ni(this._config.minWidth),I.minHeight=Ni(this._config.minHeight),I.maxWidth=Ni(this._config.maxWidth),I.maxHeight=Ni(this._config.maxHeight)}_togglePointerEvents(I){this._pane.style.pointerEvents=I?"":"none"}_attachBackdrop(){const I="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(I)})}):this._backdropElement.classList.add(I)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const I=this._backdropElement;!I||(I.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{I.addEventListener("transitionend",this._backdropTransitionendHandler)}),I.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(I)},500)))}_toggleClasses(I,f,L){const V=KA(f||[]).filter(z=>!!z);V.length&&(L?I.classList.add(...V):I.classList.remove(...V))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const I=this._ngZone.onStable.pipe(Pa(oo(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),I.unsubscribe())})})}_disposeScrollStrategy(){const I=this._scrollStrategy;I&&(I.disable(),I.detach&&I.detach())}_disposeBackdrop(I){I&&(I.removeEventListener("click",this._backdropClickHandler),I.removeEventListener("transitionend",this._backdropTransitionendHandler),I.remove(),this._backdropElement===I&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let yg=(()=>{class N{constructor(f,L){this._platform=L,this._document=f}ngOnDestroy(){var f;null===(f=this._containerElement)||void 0===f||f.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const f="cdk-overlay-container";if(this._platform.isBrowser||mC()){const V=this._document.querySelectorAll(`.${f}[platform="server"], .${f}[platform="test"]`);for(let z=0;z<V.length;z++)V[z].remove()}const L=this._document.createElement("div");L.classList.add(f),mC()?L.setAttribute("platform","test"):this._platform.isBrowser||L.setAttribute("platform","server"),this._document.body.appendChild(L),this._containerElement=L}}return N.\u0275fac=function(f){return new(f||N)(Pe(In),Pe(ha))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const _T="cdk-overlay-connected-position-bounding-box",n8=/([A-Za-z%]+)$/;class vT{constructor(I,f,L,V,z){this._viewportRuler=f,this._document=L,this._platform=V,this._overlayContainer=z,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ke,this._resizeSubscription=Se.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(I)}get positions(){return this._preferredPositions}attach(I){this._validatePositions(),I.hostElement.classList.add(_T),this._overlayRef=I,this._boundingBox=I.hostElement,this._pane=I.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const I=this._originRect,f=this._overlayRect,L=this._viewportRect,V=this._containerRect,z=[];let Y;for(let X of this._preferredPositions){let Q=this._getOriginPoint(I,V,X),J=this._getOverlayPoint(Q,f,X),te=this._getOverlayFit(J,f,L,X);if(te.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(X,Q);this._canFitWithFlexibleDimensions(te,J,L)?z.push({position:X,origin:Q,overlayRect:f,boundingBoxRect:this._calculateBoundingBoxRect(Q,X)}):(!Y||Y.overlayFit.visibleArea<te.visibleArea)&&(Y={overlayFit:te,overlayPoint:J,originPoint:Q,position:X,overlayRect:f})}if(z.length){let X=null,Q=-1;for(const J of z){const te=J.boundingBoxRect.width*J.boundingBoxRect.height*(J.position.weight||1);te>Q&&(Q=te,X=J)}return this._isPushed=!1,void this._applyPosition(X.position,X.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Y.position,Y.originPoint);this._applyPosition(Y.position,Y.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&pf(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(_T),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const I=this._lastPosition;if(I){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const f=this._getOriginPoint(this._originRect,this._containerRect,I);this._applyPosition(I,f)}else this.apply()}withScrollableContainers(I){return this._scrollables=I,this}withPositions(I){return this._preferredPositions=I,-1===I.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(I){return this._viewportMargin=I,this}withFlexibleDimensions(I=!0){return this._hasFlexibleDimensions=I,this}withGrowAfterOpen(I=!0){return this._growAfterOpen=I,this}withPush(I=!0){return this._canPush=I,this}withLockedPosition(I=!0){return this._positionLocked=I,this}setOrigin(I){return this._origin=I,this}withDefaultOffsetX(I){return this._offsetX=I,this}withDefaultOffsetY(I){return this._offsetY=I,this}withTransformOriginOn(I){return this._transformOriginSelector=I,this}_getOriginPoint(I,f,L){let V,z;if("center"==L.originX)V=I.left+I.width/2;else{const Y=this._isRtl()?I.right:I.left,X=this._isRtl()?I.left:I.right;V="start"==L.originX?Y:X}return f.left<0&&(V-=f.left),z="center"==L.originY?I.top+I.height/2:"top"==L.originY?I.top:I.bottom,f.top<0&&(z-=f.top),{x:V,y:z}}_getOverlayPoint(I,f,L){let V,z;return V="center"==L.overlayX?-f.width/2:"start"===L.overlayX?this._isRtl()?-f.width:0:this._isRtl()?0:-f.width,z="center"==L.overlayY?-f.height/2:"top"==L.overlayY?0:-f.height,{x:I.x+V,y:I.y+z}}_getOverlayFit(I,f,L,V){const z=wT(f);let{x:Y,y:X}=I,Q=this._getOffset(V,"x"),J=this._getOffset(V,"y");Q&&(Y+=Q),J&&(X+=J);let oe=0-X,ae=X+z.height-L.height,le=this._subtractOverflows(z.width,0-Y,Y+z.width-L.width),ue=this._subtractOverflows(z.height,oe,ae),ve=le*ue;return{visibleArea:ve,isCompletelyWithinViewport:z.width*z.height===ve,fitsInViewportVertically:ue===z.height,fitsInViewportHorizontally:le==z.width}}_canFitWithFlexibleDimensions(I,f,L){if(this._hasFlexibleDimensions){const V=L.bottom-f.y,z=L.right-f.x,Y=bT(this._overlayRef.getConfig().minHeight),X=bT(this._overlayRef.getConfig().minWidth),J=I.fitsInViewportHorizontally||null!=X&&X<=z;return(I.fitsInViewportVertically||null!=Y&&Y<=V)&&J}return!1}_pushOverlayOnScreen(I,f,L){if(this._previousPushAmount&&this._positionLocked)return{x:I.x+this._previousPushAmount.x,y:I.y+this._previousPushAmount.y};const V=wT(f),z=this._viewportRect,Y=Math.max(I.x+V.width-z.width,0),X=Math.max(I.y+V.height-z.height,0),Q=Math.max(z.top-L.top-I.y,0),J=Math.max(z.left-L.left-I.x,0);let te=0,re=0;return te=V.width<=z.width?J||-Y:I.x<this._viewportMargin?z.left-L.left-I.x:0,re=V.height<=z.height?Q||-X:I.y<this._viewportMargin?z.top-L.top-I.y:0,this._previousPushAmount={x:te,y:re},{x:I.x+te,y:I.y+re}}_applyPosition(I,f){if(this._setTransformOrigin(I),this._setOverlayElementStyles(f,I),this._setBoundingBoxStyles(f,I),I.panelClass&&this._addPanelClasses(I.panelClass),this._lastPosition=I,this._positionChanges.observers.length){const L=this._getScrollVisibility(),V=new e8(I,L);this._positionChanges.next(V)}this._isInitialRender=!1}_setTransformOrigin(I){if(!this._transformOriginSelector)return;const f=this._boundingBox.querySelectorAll(this._transformOriginSelector);let L,V=I.overlayY;L="center"===I.overlayX?"center":this._isRtl()?"start"===I.overlayX?"right":"left":"start"===I.overlayX?"left":"right";for(let z=0;z<f.length;z++)f[z].style.transformOrigin=`${L} ${V}`}_calculateBoundingBoxRect(I,f){const L=this._viewportRect,V=this._isRtl();let z,Y,X,te,re,oe;if("top"===f.overlayY)Y=I.y,z=L.height-Y+this._viewportMargin;else if("bottom"===f.overlayY)X=L.height-I.y+2*this._viewportMargin,z=L.height-X+this._viewportMargin;else{const ae=Math.min(L.bottom-I.y+L.top,I.y),le=this._lastBoundingBoxSize.height;z=2*ae,Y=I.y-ae,z>le&&!this._isInitialRender&&!this._growAfterOpen&&(Y=I.y-le/2)}if("end"===f.overlayX&&!V||"start"===f.overlayX&&V)oe=L.width-I.x+this._viewportMargin,te=I.x-this._viewportMargin;else if("start"===f.overlayX&&!V||"end"===f.overlayX&&V)re=I.x,te=L.right-I.x;else{const ae=Math.min(L.right-I.x+L.left,I.x),le=this._lastBoundingBoxSize.width;te=2*ae,re=I.x-ae,te>le&&!this._isInitialRender&&!this._growAfterOpen&&(re=I.x-le/2)}return{top:Y,left:re,bottom:X,right:oe,width:te,height:z}}_setBoundingBoxStyles(I,f){const L=this._calculateBoundingBoxRect(I,f);!this._isInitialRender&&!this._growAfterOpen&&(L.height=Math.min(L.height,this._lastBoundingBoxSize.height),L.width=Math.min(L.width,this._lastBoundingBoxSize.width));const V={};if(this._hasExactPosition())V.top=V.left="0",V.bottom=V.right=V.maxHeight=V.maxWidth="",V.width=V.height="100%";else{const z=this._overlayRef.getConfig().maxHeight,Y=this._overlayRef.getConfig().maxWidth;V.height=Ni(L.height),V.top=Ni(L.top),V.bottom=Ni(L.bottom),V.width=Ni(L.width),V.left=Ni(L.left),V.right=Ni(L.right),V.alignItems="center"===f.overlayX?"center":"end"===f.overlayX?"flex-end":"flex-start",V.justifyContent="center"===f.overlayY?"center":"bottom"===f.overlayY?"flex-end":"flex-start",z&&(V.maxHeight=Ni(z)),Y&&(V.maxWidth=Ni(Y))}this._lastBoundingBoxSize=L,pf(this._boundingBox.style,V)}_resetBoundingBoxStyles(){pf(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){pf(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(I,f){const L={},V=this._hasExactPosition(),z=this._hasFlexibleDimensions,Y=this._overlayRef.getConfig();if(V){const te=this._viewportRuler.getViewportScrollPosition();pf(L,this._getExactOverlayY(f,I,te)),pf(L,this._getExactOverlayX(f,I,te))}else L.position="static";let X="",Q=this._getOffset(f,"x"),J=this._getOffset(f,"y");Q&&(X+=`translateX(${Q}px) `),J&&(X+=`translateY(${J}px)`),L.transform=X.trim(),Y.maxHeight&&(V?L.maxHeight=Ni(Y.maxHeight):z&&(L.maxHeight="")),Y.maxWidth&&(V?L.maxWidth=Ni(Y.maxWidth):z&&(L.maxWidth="")),pf(this._pane.style,L)}_getExactOverlayY(I,f,L){let V={top:"",bottom:""},z=this._getOverlayPoint(f,this._overlayRect,I);return this._isPushed&&(z=this._pushOverlayOnScreen(z,this._overlayRect,L)),"bottom"===I.overlayY?V.bottom=this._document.documentElement.clientHeight-(z.y+this._overlayRect.height)+"px":V.top=Ni(z.y),V}_getExactOverlayX(I,f,L){let Y,V={left:"",right:""},z=this._getOverlayPoint(f,this._overlayRect,I);return this._isPushed&&(z=this._pushOverlayOnScreen(z,this._overlayRect,L)),Y=this._isRtl()?"end"===I.overlayX?"left":"right":"end"===I.overlayX?"right":"left","right"===Y?V.right=this._document.documentElement.clientWidth-(z.x+this._overlayRect.width)+"px":V.left=Ni(z.x),V}_getScrollVisibility(){const I=this._getOriginRect(),f=this._pane.getBoundingClientRect(),L=this._scrollables.map(V=>V.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:yT(I,L),isOriginOutsideView:xC(I,L),isOverlayClipped:yT(f,L),isOverlayOutsideView:xC(f,L)}}_subtractOverflows(I,...f){return f.reduce((L,V)=>L-Math.max(V,0),I)}_getNarrowedViewportRect(){const I=this._document.documentElement.clientWidth,f=this._document.documentElement.clientHeight,L=this._viewportRuler.getViewportScrollPosition();return{top:L.top+this._viewportMargin,left:L.left+this._viewportMargin,right:L.left+I-this._viewportMargin,bottom:L.top+f-this._viewportMargin,width:I-2*this._viewportMargin,height:f-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(I,f){return"x"===f?null==I.offsetX?this._offsetX:I.offsetX:null==I.offsetY?this._offsetY:I.offsetY}_validatePositions(){}_addPanelClasses(I){this._pane&&KA(I).forEach(f=>{""!==f&&-1===this._appliedPanelClasses.indexOf(f)&&(this._appliedPanelClasses.push(f),this._pane.classList.add(f))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(I=>{this._pane.classList.remove(I)}),this._appliedPanelClasses=[])}_getOriginRect(){const I=this._origin;if(I instanceof Zn)return I.nativeElement.getBoundingClientRect();if(I instanceof Element)return I.getBoundingClientRect();const f=I.width||0,L=I.height||0;return{top:I.y,bottom:I.y+L,left:I.x,right:I.x+f,height:L,width:f}}}function pf(N,I){for(let f in I)I.hasOwnProperty(f)&&(N[f]=I[f]);return N}function bT(N){if("number"!=typeof N&&null!=N){const[I,f]=N.split(n8);return f&&"px"!==f?null:parseFloat(I)}return N||null}function wT(N){return{top:Math.floor(N.top),right:Math.floor(N.right),bottom:Math.floor(N.bottom),left:Math.floor(N.left),width:Math.floor(N.width),height:Math.floor(N.height)}}const CT="cdk-global-overlay-wrapper";class r8{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(I){const f=I.getConfig();this._overlayRef=I,this._width&&!f.width&&I.updateSize({width:this._width}),this._height&&!f.height&&I.updateSize({height:this._height}),I.hostElement.classList.add(CT),this._isDisposed=!1}top(I=""){return this._bottomOffset="",this._topOffset=I,this._alignItems="flex-start",this}left(I=""){return this._rightOffset="",this._leftOffset=I,this._justifyContent="flex-start",this}bottom(I=""){return this._topOffset="",this._bottomOffset=I,this._alignItems="flex-end",this}right(I=""){return this._leftOffset="",this._rightOffset=I,this._justifyContent="flex-end",this}width(I=""){return this._overlayRef?this._overlayRef.updateSize({width:I}):this._width=I,this}height(I=""){return this._overlayRef?this._overlayRef.updateSize({height:I}):this._height=I,this}centerHorizontally(I=""){return this.left(I),this._justifyContent="center",this}centerVertically(I=""){return this.top(I),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const I=this._overlayRef.overlayElement.style,f=this._overlayRef.hostElement.style,L=this._overlayRef.getConfig(),{width:V,height:z,maxWidth:Y,maxHeight:X}=L,Q=!("100%"!==V&&"100vw"!==V||Y&&"100%"!==Y&&"100vw"!==Y),J=!("100%"!==z&&"100vh"!==z||X&&"100%"!==X&&"100vh"!==X);I.position=this._cssPosition,I.marginLeft=Q?"0":this._leftOffset,I.marginTop=J?"0":this._topOffset,I.marginBottom=this._bottomOffset,I.marginRight=this._rightOffset,Q?f.justifyContent="flex-start":"center"===this._justifyContent?f.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?f.justifyContent="flex-end":"flex-end"===this._justifyContent&&(f.justifyContent="flex-start"):f.justifyContent=this._justifyContent,f.alignItems=J?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const I=this._overlayRef.overlayElement.style,f=this._overlayRef.hostElement,L=f.style;f.classList.remove(CT),L.justifyContent=L.alignItems=I.marginTop=I.marginBottom=I.marginLeft=I.marginRight=I.position="",this._overlayRef=null,this._isDisposed=!0}}let i8=(()=>{class N{constructor(f,L,V,z){this._viewportRuler=f,this._document=L,this._platform=V,this._overlayContainer=z}global(){return new r8}flexibleConnectedTo(f){return new vT(f,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return N.\u0275fac=function(f){return new(f||N)(Pe(CC),Pe(In),Pe(ha),Pe(yg))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),ET=(()=>{class N{constructor(f){this._attachedOverlays=[],this._document=f}ngOnDestroy(){this.detach()}add(f){this.remove(f),this._attachedOverlays.push(f)}remove(f){const L=this._attachedOverlays.indexOf(f);L>-1&&this._attachedOverlays.splice(L,1),0===this._attachedOverlays.length&&this.detach()}}return N.\u0275fac=function(f){return new(f||N)(Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),o8=(()=>{class N extends ET{constructor(f,L){super(f),this._ngZone=L,this._keydownListener=V=>{const z=this._attachedOverlays;for(let Y=z.length-1;Y>-1;Y--)if(z[Y]._keydownEvents.observers.length>0){const X=z[Y]._keydownEvents;this._ngZone?this._ngZone.run(()=>X.next(V)):X.next(V);break}}}add(f){super.add(f),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return N.\u0275fac=function(f){return new(f||N)(Pe(In),Pe(Un,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),a8=(()=>{class N extends ET{constructor(f,L,V){super(f),this._platform=L,this._ngZone=V,this._cursorStyleIsSet=!1,this._pointerDownListener=z=>{this._pointerDownEventTarget=hf(z)},this._clickListener=z=>{const Y=hf(z),X="click"===z.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Y;this._pointerDownEventTarget=null;const Q=this._attachedOverlays.slice();for(let J=Q.length-1;J>-1;J--){const te=Q[J];if(te._outsidePointerEvents.observers.length<1||!te.hasAttached())continue;if(te.overlayElement.contains(Y)||te.overlayElement.contains(X))break;const re=te._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>re.next(z)):re.next(z)}}}add(f){if(super.add(f),!this._isAttached){const L=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(L)):this._addEventListeners(L),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=L.style.cursor,L.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const f=this._document.body;f.removeEventListener("pointerdown",this._pointerDownListener,!0),f.removeEventListener("click",this._clickListener,!0),f.removeEventListener("auxclick",this._clickListener,!0),f.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(f.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(f){f.addEventListener("pointerdown",this._pointerDownListener,!0),f.addEventListener("click",this._clickListener,!0),f.addEventListener("auxclick",this._clickListener,!0),f.addEventListener("contextmenu",this._clickListener,!0)}}return N.\u0275fac=function(f){return new(f||N)(Pe(In),Pe(ha),Pe(Un,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),s8=0,Iu=(()=>{class N{constructor(f,L,V,z,Y,X,Q,J,te,re,oe){this.scrollStrategies=f,this._overlayContainer=L,this._componentFactoryResolver=V,this._positionBuilder=z,this._keyboardDispatcher=Y,this._injector=X,this._ngZone=Q,this._document=J,this._directionality=te,this._location=re,this._outsideClickDispatcher=oe}create(f){const L=this._createHostElement(),V=this._createPaneElement(L),z=this._createPortalOutlet(V),Y=new _v(f);return Y.direction=Y.direction||this._directionality.value,new t8(z,L,V,Y,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(f){const L=this._document.createElement("div");return L.id="cdk-overlay-"+s8++,L.classList.add("cdk-overlay-pane"),f.appendChild(L),L}_createHostElement(){const f=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(f),f}_createPortalOutlet(f){return this._appRef||(this._appRef=this._injector.get(L_)),new KH(f,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return N.\u0275fac=function(f){return new(f||N)(Pe(JH),Pe(yg),Pe(xu),Pe(i8),Pe(o8),Pe(ui),Pe(Un),Pe(In),Pe(Us),Pe(Kw),Pe(a8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const l8=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],DT=new wt("cdk-connected-overlay-scroll-strategy");let kT=(()=>{class N{constructor(f){this.elementRef=f}}return N.\u0275fac=function(f){return new(f||N)(he(Zn))},N.\u0275dir=Mt({type:N,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),N})(),ST=(()=>{class N{constructor(f,L,V,z,Y){this._overlay=f,this._dir=Y,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Se.EMPTY,this._attachSubscription=Se.EMPTY,this._detachSubscription=Se.EMPTY,this._positionSubscription=Se.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Ut,this.positionChange=new Ut,this.attach=new Ut,this.detach=new Ut,this.overlayKeydown=new Ut,this.overlayOutsideClick=new Ut,this._templatePortal=new DC(L,V),this._scrollStrategyFactory=z,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(f){this._offsetX=f,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(f){this._offsetY=f,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(f){this._hasBackdrop=Mr(f)}get lockPosition(){return this._lockPosition}set lockPosition(f){this._lockPosition=Mr(f)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(f){this._flexibleDimensions=Mr(f)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(f){this._growAfterOpen=Mr(f)}get push(){return this._push}set push(f){this._push=Mr(f)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(f){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),f.origin&&this.open&&this._position.apply()),f.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=l8);const f=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=f.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=f.detachments().subscribe(()=>this.detach.emit()),f.keydownEvents().subscribe(L=>{this.overlayKeydown.next(L),27===L.keyCode&&!this.disableClose&&!Ml(L)&&(L.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(L=>{this.overlayOutsideClick.next(L)})}_buildConfig(){const f=this._position=this.positionStrategy||this._createPositionStrategy(),L=new _v({direction:this._dir,positionStrategy:f,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(L.width=this.width),(this.height||0===this.height)&&(L.height=this.height),(this.minWidth||0===this.minWidth)&&(L.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(L.minHeight=this.minHeight),this.backdropClass&&(L.backdropClass=this.backdropClass),this.panelClass&&(L.panelClass=this.panelClass),L}_updatePositionStrategy(f){const L=this.positions.map(V=>({originX:V.originX,originY:V.originY,overlayX:V.overlayX,overlayY:V.overlayY,offsetX:V.offsetX||this.offsetX,offsetY:V.offsetY||this.offsetY,panelClass:V.panelClass||void 0}));return f.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(L).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const f=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(f),f}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof kT?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(f=>{this.backdropClick.emit(f)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function qH(N,I=!1){return _t((f,L)=>{let V=0;f.subscribe(new Yt(L,z=>{const Y=N(z,V++);(Y||I)&&L.next(z),!Y&&L.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(f=>{this.positionChange.emit(f),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return N.\u0275fac=function(f){return new(f||N)(he(Iu),he(Bs),he(Oa),he(DT),he(Us,8))},N.\u0275dir=Mt({type:N,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[ai]}),N})();const u8={provide:DT,deps:[Iu],useFactory:function c8(N){return()=>N.scrollStrategies.reposition()}};let MC=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[Iu,u8],imports:[[mg,SC,pT],pT]}),N})();class MT{}const yc="*";function mp(N,I){return{type:7,name:N,definitions:I,options:{}}}function _c(N,I=null){return{type:4,styles:I,timings:N}}function AT(N,I=null){return{type:3,steps:N,options:I}}function TT(N,I=null){return{type:2,steps:N,options:I}}function qi(N){return{type:6,styles:N,offset:null}}function Ru(N,I,f){return{type:0,name:N,styles:I,options:f}}function FT(N){return{type:5,steps:N}}function Al(N,I,f=null){return{type:1,expr:N,animation:I,options:f}}function AC(N=null){return{type:9,options:N}}function TC(N,I,f=null){return{type:11,selector:N,animation:I,options:f}}function IT(N){Promise.resolve(null).then(N)}class _g{constructor(I=0,f=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=I+f}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(I=>I()),this._onDoneFns=[])}onStart(I){this._onStartFns.push(I)}onDone(I){this._onDoneFns.push(I)}onDestroy(I){this._onDestroyFns.push(I)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){IT(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(I=>I()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(I=>I()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(I){this._position=this.totalTime?I*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(I){const f="start"==I?this._onStartFns:this._onDoneFns;f.forEach(L=>L()),f.length=0}}class RT{constructor(I){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=I;let f=0,L=0,V=0;const z=this.players.length;0==z?IT(()=>this._onFinish()):this.players.forEach(Y=>{Y.onDone(()=>{++f==z&&this._onFinish()}),Y.onDestroy(()=>{++L==z&&this._onDestroy()}),Y.onStart(()=>{++V==z&&this._onStart()})}),this.totalTime=this.players.reduce((Y,X)=>Math.max(Y,X.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(I=>I()),this._onDoneFns=[])}init(){this.players.forEach(I=>I.init())}onStart(I){this._onStartFns.push(I)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(I=>I()),this._onStartFns=[])}onDone(I){this._onDoneFns.push(I)}onDestroy(I){this._onDestroyFns.push(I)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(I=>I.play())}pause(){this.players.forEach(I=>I.pause())}restart(){this.players.forEach(I=>I.restart())}finish(){this._onFinish(),this.players.forEach(I=>I.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(I=>I.destroy()),this._onDestroyFns.forEach(I=>I()),this._onDestroyFns=[])}reset(){this.players.forEach(I=>I.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(I){const f=I*this.totalTime;this.players.forEach(L=>{const V=L.totalTime?Math.min(1,f/L.totalTime):1;L.setPosition(V)})}getPosition(){const I=this.players.reduce((f,L)=>null===f||L.totalTime>f.totalTime?L:f,null);return null!=I?I.getPosition():0}beforeDestroy(){this.players.forEach(I=>{I.beforeDestroy&&I.beforeDestroy()})}triggerCallback(I){const f="start"==I?this._onStartFns:this._onDoneFns;f.forEach(L=>L()),f.length=0}}const qn=!1;function OT(N){return new Ot(3e3,qn)}function W8(){return"undefined"!=typeof window&&void 0!==window.document}function IC(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Ou(N){switch(N.length){case 0:return new _g;case 1:return N[0];default:return new RT(N)}}function PT(N,I,f,L,V={},z={}){const Y=[],X=[];let Q=-1,J=null;if(L.forEach(te=>{const re=te.offset,oe=re==Q,ae=oe&&J||{};Object.keys(te).forEach(le=>{let ue=le,ve=te[le];if("offset"!==le)switch(ue=I.normalizePropertyName(ue,Y),ve){case"!":ve=V[le];break;case yc:ve=z[le];break;default:ve=I.normalizeStyleValue(le,ue,ve,Y)}ae[ue]=ve}),oe||X.push(ae),J=ae,Q=re}),Y.length)throw function O8(N){return new Ot(3502,qn)}();return X}function RC(N,I,f,L){switch(I){case"start":N.onStart(()=>L(f&&OC(f,"start",N)));break;case"done":N.onDone(()=>L(f&&OC(f,"done",N)));break;case"destroy":N.onDestroy(()=>L(f&&OC(f,"destroy",N)))}}function OC(N,I,f){const L=f.totalTime,z=PC(N.element,N.triggerName,N.fromState,N.toState,I||N.phaseName,null==L?N.totalTime:L,!!f.disabled),Y=N._data;return null!=Y&&(z._data=Y),z}function PC(N,I,f,L,V="",z=0,Y){return{element:N,triggerName:I,fromState:f,toState:L,phaseName:V,totalTime:z,disabled:!!Y}}function Na(N,I,f){let L;return N instanceof Map?(L=N.get(I),L||N.set(I,L=f)):(L=N[I],L||(L=N[I]=f)),L}function NT(N){const I=N.indexOf(":");return[N.substring(1,I),N.substr(I+1)]}let NC=(N,I)=>!1,LT=(N,I,f)=>[],VT=null;function LC(N){const I=N.parentNode||N.host;return I===VT?null:I}(IC()||"undefined"!=typeof Element)&&(W8()?(VT=(()=>document.documentElement)(),NC=(N,I)=>{for(;I;){if(I===N)return!0;I=LC(I)}return!1}):NC=(N,I)=>N.contains(I),LT=(N,I,f)=>{if(f)return Array.from(N.querySelectorAll(I));const L=N.querySelector(I);return L?[L]:[]});let mf=null,BT=!1;function HT(N){mf||(mf=function Y8(){return"undefined"!=typeof document?document.body:null}()||{},BT=!!mf.style&&"WebkitAppearance"in mf.style);let I=!0;return mf.style&&!function G8(N){return"ebkit"==N.substring(1,6)}(N)&&(I=N in mf.style,!I&&BT&&(I="Webkit"+N.charAt(0).toUpperCase()+N.substr(1)in mf.style)),I}const jT=NC,zT=LT;let UT=(()=>{class N{validateStyleProperty(f){return HT(f)}matchesElement(f,L){return!1}containsElement(f,L){return jT(f,L)}getParentElement(f){return LC(f)}query(f,L,V){return zT(f,L,V)}computeStyle(f,L,V){return V||""}animate(f,L,V,z,Y,X=[],Q){return new _g(V,z)}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),VC=(()=>{class N{}return N.NOOP=new UT,N})();const BC="ng-enter",bv="ng-leave",wv="ng-trigger",Cv=".ng-trigger",WT="ng-animating",HC=".ng-animating";function gf(N){if("number"==typeof N)return N;const I=N.match(/^(-?[\.\d]+)(m?s)/);return!I||I.length<2?0:jC(parseFloat(I[1]),I[2])}function jC(N,I){return"s"===I?1e3*N:N}function Ev(N,I,f){return N.hasOwnProperty("duration")?N:function X8(N,I,f){let V,z=0,Y="";if("string"==typeof N){const X=N.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===X)return I.push(OT()),{duration:0,delay:0,easing:""};V=jC(parseFloat(X[1]),X[2]);const Q=X[3];null!=Q&&(z=jC(parseFloat(Q),X[4]));const J=X[5];J&&(Y=J)}else V=N;if(!f){let X=!1,Q=I.length;V<0&&(I.push(function f8(){return new Ot(3100,qn)}()),X=!0),z<0&&(I.push(function h8(){return new Ot(3101,qn)}()),X=!0),X&&I.splice(Q,0,OT())}return{duration:V,delay:z,easing:Y}}(N,I,f)}function gp(N,I={}){return Object.keys(N).forEach(f=>{I[f]=N[f]}),I}function Pu(N,I,f={}){if(I)for(let L in N)f[L]=N[L];else gp(N,f);return f}function YT(N,I,f){return f?I+":"+f+";":""}function KT(N){let I="";for(let f=0;f<N.style.length;f++){const L=N.style.item(f);I+=YT(0,L,N.style.getPropertyValue(L))}for(const f in N.style)N.style.hasOwnProperty(f)&&!f.startsWith("_")&&(I+=YT(0,J8(f),N.style[f]));N.setAttribute("style",I)}function Tl(N,I,f){N.style&&(Object.keys(I).forEach(L=>{const V=UC(L);f&&!f.hasOwnProperty(L)&&(f[L]=N.style[V]),N.style[V]=I[L]}),IC()&&KT(N))}function yf(N,I){N.style&&(Object.keys(I).forEach(f=>{const L=UC(f);N.style[L]=""}),IC()&&KT(N))}function vg(N){return Array.isArray(N)?1==N.length?N[0]:TT(N):N}const zC=new RegExp("{{\\s*(.+?)\\s*}}","g");function qT(N){let I=[];if("string"==typeof N){let f;for(;f=zC.exec(N);)I.push(f[1]);zC.lastIndex=0}return I}function Dv(N,I,f){const L=N.toString(),V=L.replace(zC,(z,Y)=>{let X=I[Y];return I.hasOwnProperty(Y)||(f.push(function m8(N){return new Ot(3003,qn)}()),X=""),X.toString()});return V==L?N:V}function kv(N){const I=[];let f=N.next();for(;!f.done;)I.push(f.value),f=N.next();return I}const Z8=/-+([a-z0-9])/g;function UC(N){return N.replace(Z8,(...I)=>I[1].toUpperCase())}function J8(N){return N.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function La(N,I,f){switch(I.type){case 7:return N.visitTrigger(I,f);case 0:return N.visitState(I,f);case 1:return N.visitTransition(I,f);case 2:return N.visitSequence(I,f);case 3:return N.visitGroup(I,f);case 4:return N.visitAnimate(I,f);case 5:return N.visitKeyframes(I,f);case 6:return N.visitStyle(I,f);case 8:return N.visitReference(I,f);case 9:return N.visitAnimateChild(I,f);case 10:return N.visitAnimateRef(I,f);case 11:return N.visitQuery(I,f);case 12:return N.visitStagger(I,f);default:throw function g8(N){return new Ot(3004,qn)}()}}function XT(N,I){return window.getComputedStyle(N)[I]}function oj(N,I){const f=[];return"string"==typeof N?N.split(/\s*,\s*/).forEach(L=>function aj(N,I,f){if(":"==N[0]){const Q=function sj(N,I){switch(N){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(f,L)=>parseFloat(L)>parseFloat(f);case":decrement":return(f,L)=>parseFloat(L)<parseFloat(f);default:return I.push(function T8(N){return new Ot(3016,qn)}()),"* => *"}}(N,f);if("function"==typeof Q)return void I.push(Q);N=Q}const L=N.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==L||L.length<4)return f.push(function A8(N){return new Ot(3015,qn)}()),I;const V=L[1],z=L[2],Y=L[3];I.push(QT(V,Y));"<"==z[0]&&!("*"==V&&"*"==Y)&&I.push(QT(Y,V))}(L,f,I)):f.push(N),f}const Av=new Set(["true","1"]),Tv=new Set(["false","0"]);function QT(N,I){const f=Av.has(N)||Tv.has(N),L=Av.has(I)||Tv.has(I);return(V,z)=>{let Y="*"==N||N==V,X="*"==I||I==z;return!Y&&f&&"boolean"==typeof V&&(Y=V?Av.has(N):Tv.has(N)),!X&&L&&"boolean"==typeof z&&(X=z?Av.has(I):Tv.has(I)),Y&&X}}const lj=new RegExp("s*:selfs*,?","g");function $C(N,I,f,L){return new cj(N).build(I,f,L)}class cj{constructor(I){this._driver=I}build(I,f,L){const V=new fj(f);this._resetContextStyleTimingState(V);const z=La(this,vg(I),V);return V.unsupportedCSSPropertiesFound.size&&V.unsupportedCSSPropertiesFound.keys(),z}_resetContextStyleTimingState(I){I.currentQuerySelector="",I.collectedStyles={},I.collectedStyles[""]={},I.currentTime=0}visitTrigger(I,f){let L=f.queryCount=0,V=f.depCount=0;const z=[],Y=[];return"@"==I.name.charAt(0)&&f.errors.push(function _8(){return new Ot(3006,qn)}()),I.definitions.forEach(X=>{if(this._resetContextStyleTimingState(f),0==X.type){const Q=X,J=Q.name;J.toString().split(/\s*,\s*/).forEach(te=>{Q.name=te,z.push(this.visitState(Q,f))}),Q.name=J}else if(1==X.type){const Q=this.visitTransition(X,f);L+=Q.queryCount,V+=Q.depCount,Y.push(Q)}else f.errors.push(function v8(){return new Ot(3007,qn)}())}),{type:7,name:I.name,states:z,transitions:Y,queryCount:L,depCount:V,options:null}}visitState(I,f){const L=this.visitStyle(I.styles,f),V=I.options&&I.options.params||null;if(L.containsDynamicStyles){const z=new Set,Y=V||{};L.styles.forEach(X=>{if(Fv(X)){const Q=X;Object.keys(Q).forEach(J=>{qT(Q[J]).forEach(te=>{Y.hasOwnProperty(te)||z.add(te)})})}}),z.size&&(kv(z.values()),f.errors.push(function b8(N,I){return new Ot(3008,qn)}()))}return{type:0,name:I.name,style:L,options:V?{params:V}:null}}visitTransition(I,f){f.queryCount=0,f.depCount=0;const L=La(this,vg(I.animation),f);return{type:1,matchers:oj(I.expr,f.errors),animation:L,queryCount:f.queryCount,depCount:f.depCount,options:_f(I.options)}}visitSequence(I,f){return{type:2,steps:I.steps.map(L=>La(this,L,f)),options:_f(I.options)}}visitGroup(I,f){const L=f.currentTime;let V=0;const z=I.steps.map(Y=>{f.currentTime=L;const X=La(this,Y,f);return V=Math.max(V,f.currentTime),X});return f.currentTime=V,{type:3,steps:z,options:_f(I.options)}}visitAnimate(I,f){const L=function pj(N,I){if(N.hasOwnProperty("duration"))return N;if("number"==typeof N)return WC(Ev(N,I).duration,0,"");const f=N;if(f.split(/\s+/).some(z=>"{"==z.charAt(0)&&"{"==z.charAt(1))){const z=WC(0,0,"");return z.dynamic=!0,z.strValue=f,z}const V=Ev(f,I);return WC(V.duration,V.delay,V.easing)}(I.timings,f.errors);f.currentAnimateTimings=L;let V,z=I.styles?I.styles:qi({});if(5==z.type)V=this.visitKeyframes(z,f);else{let Y=I.styles,X=!1;if(!Y){X=!0;const J={};L.easing&&(J.easing=L.easing),Y=qi(J)}f.currentTime+=L.duration+L.delay;const Q=this.visitStyle(Y,f);Q.isEmptyStep=X,V=Q}return f.currentAnimateTimings=null,{type:4,timings:L,style:V,options:null}}visitStyle(I,f){const L=this._makeStyleAst(I,f);return this._validateStyleAst(L,f),L}_makeStyleAst(I,f){const L=[];Array.isArray(I.styles)?I.styles.forEach(Y=>{"string"==typeof Y?Y==yc?L.push(Y):f.errors.push(function w8(N){return new Ot(3002,qn)}()):L.push(Y)}):L.push(I.styles);let V=!1,z=null;return L.forEach(Y=>{if(Fv(Y)){const X=Y,Q=X.easing;if(Q&&(z=Q,delete X.easing),!V)for(let J in X)if(X[J].toString().indexOf("{{")>=0){V=!0;break}}}),{type:6,styles:L,easing:z,offset:I.offset,containsDynamicStyles:V,options:null}}_validateStyleAst(I,f){const L=f.currentAnimateTimings;let V=f.currentTime,z=f.currentTime;L&&z>0&&(z-=L.duration+L.delay),I.styles.forEach(Y=>{"string"!=typeof Y&&Object.keys(Y).forEach(X=>{if(!this._driver.validateStyleProperty(X))return delete Y[X],void f.unsupportedCSSPropertiesFound.add(X);const Q=f.collectedStyles[f.currentQuerySelector],J=Q[X];let te=!0;J&&(z!=V&&z>=J.startTime&&V<=J.endTime&&(f.errors.push(function C8(N,I,f,L,V){return new Ot(3010,qn)}()),te=!1),z=J.startTime),te&&(Q[X]={startTime:z,endTime:V}),f.options&&function Q8(N,I,f){const L=I.params||{},V=qT(N);V.length&&V.forEach(z=>{L.hasOwnProperty(z)||f.push(function p8(N){return new Ot(3001,qn)}())})}(Y[X],f.options,f.errors)})})}visitKeyframes(I,f){const L={type:5,styles:[],options:null};if(!f.currentAnimateTimings)return f.errors.push(function E8(){return new Ot(3011,qn)}()),L;let z=0;const Y=[];let X=!1,Q=!1,J=0;const te=I.steps.map(ye=>{const pe=this._makeStyleAst(ye,f);let Ie=null!=pe.offset?pe.offset:function hj(N){if("string"==typeof N)return null;let I=null;if(Array.isArray(N))N.forEach(f=>{if(Fv(f)&&f.hasOwnProperty("offset")){const L=f;I=parseFloat(L.offset),delete L.offset}});else if(Fv(N)&&N.hasOwnProperty("offset")){const f=N;I=parseFloat(f.offset),delete f.offset}return I}(pe.styles),Re=0;return null!=Ie&&(z++,Re=pe.offset=Ie),Q=Q||Re<0||Re>1,X=X||Re<J,J=Re,Y.push(Re),pe});Q&&f.errors.push(function D8(){return new Ot(3012,qn)}()),X&&f.errors.push(function k8(){return new Ot(3200,qn)}());const re=I.steps.length;let oe=0;z>0&&z<re?f.errors.push(function S8(){return new Ot(3202,qn)}()):0==z&&(oe=1/(re-1));const ae=re-1,le=f.currentTime,ue=f.currentAnimateTimings,ve=ue.duration;return te.forEach((ye,pe)=>{const Ie=oe>0?pe==ae?1:oe*pe:Y[pe],Re=Ie*ve;f.currentTime=le+ue.delay+Re,ue.duration=Re,this._validateStyleAst(ye,f),ye.offset=Ie,L.styles.push(ye)}),L}visitReference(I,f){return{type:8,animation:La(this,vg(I.animation),f),options:_f(I.options)}}visitAnimateChild(I,f){return f.depCount++,{type:9,options:_f(I.options)}}visitAnimateRef(I,f){return{type:10,animation:this.visitReference(I.animation,f),options:_f(I.options)}}visitQuery(I,f){const L=f.currentQuerySelector,V=I.options||{};f.queryCount++,f.currentQuery=I;const[z,Y]=function uj(N){const I=!!N.split(/\s*,\s*/).find(f=>":self"==f);return I&&(N=N.replace(lj,"")),N=N.replace(/@\*/g,Cv).replace(/@\w+/g,f=>Cv+"-"+f.substr(1)).replace(/:animating/g,HC),[N,I]}(I.selector);f.currentQuerySelector=L.length?L+" "+z:z,Na(f.collectedStyles,f.currentQuerySelector,{});const X=La(this,vg(I.animation),f);return f.currentQuery=null,f.currentQuerySelector=L,{type:11,selector:z,limit:V.limit||0,optional:!!V.optional,includeSelf:Y,animation:X,originalSelector:I.selector,options:_f(I.options)}}visitStagger(I,f){f.currentQuery||f.errors.push(function x8(){return new Ot(3013,qn)}());const L="full"===I.timings?{duration:0,delay:0,easing:"full"}:Ev(I.timings,f.errors,!0);return{type:12,animation:La(this,vg(I.animation),f),timings:L,options:null}}}class fj{constructor(I){this.errors=I,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Fv(N){return!Array.isArray(N)&&"object"==typeof N}function _f(N){return N?(N=gp(N)).params&&(N.params=function dj(N){return N?gp(N):null}(N.params)):N={},N}function WC(N,I,f){return{duration:N,delay:I,easing:f}}function GC(N,I,f,L,V,z,Y=null,X=!1){return{type:1,element:N,keyframes:I,preStyleProps:f,postStyleProps:L,duration:V,delay:z,totalTime:V+z,easing:Y,subTimeline:X}}class Iv{constructor(){this._map=new Map}get(I){return this._map.get(I)||[]}append(I,f){let L=this._map.get(I);L||this._map.set(I,L=[]),L.push(...f)}has(I){return this._map.has(I)}clear(){this._map.clear()}}const yj=new RegExp(":enter","g"),vj=new RegExp(":leave","g");function YC(N,I,f,L,V,z={},Y={},X,Q,J=[]){return(new bj).buildKeyframes(N,I,f,L,V,z,Y,X,Q,J)}class bj{buildKeyframes(I,f,L,V,z,Y,X,Q,J,te=[]){J=J||new Iv;const re=new KC(I,f,J,V,z,te,[]);re.options=Q,re.currentTimeline.setStyles([Y],null,re.errors,Q),La(this,L,re);const oe=re.timelines.filter(ae=>ae.containsAnimation());if(Object.keys(X).length){let ae;for(let le=oe.length-1;le>=0;le--){const ue=oe[le];if(ue.element===f){ae=ue;break}}ae&&!ae.allowOnlyTimelineStyles()&&ae.setStyles([X],null,re.errors,Q)}return oe.length?oe.map(ae=>ae.buildKeyframes()):[GC(f,[],[],[],0,0,"",!1)]}visitTrigger(I,f){}visitState(I,f){}visitTransition(I,f){}visitAnimateChild(I,f){const L=f.subInstructions.get(f.element);if(L){const V=f.createSubContext(I.options),z=f.currentTimeline.currentTime,Y=this._visitSubInstructions(L,V,V.options);z!=Y&&f.transformIntoNewTimeline(Y)}f.previousNode=I}visitAnimateRef(I,f){const L=f.createSubContext(I.options);L.transformIntoNewTimeline(),this.visitReference(I.animation,L),f.transformIntoNewTimeline(L.currentTimeline.currentTime),f.previousNode=I}_visitSubInstructions(I,f,L){let z=f.currentTimeline.currentTime;const Y=null!=L.duration?gf(L.duration):null,X=null!=L.delay?gf(L.delay):null;return 0!==Y&&I.forEach(Q=>{const J=f.appendInstructionToTimeline(Q,Y,X);z=Math.max(z,J.duration+J.delay)}),z}visitReference(I,f){f.updateOptions(I.options,!0),La(this,I.animation,f),f.previousNode=I}visitSequence(I,f){const L=f.subContextCount;let V=f;const z=I.options;if(z&&(z.params||z.delay)&&(V=f.createSubContext(z),V.transformIntoNewTimeline(),null!=z.delay)){6==V.previousNode.type&&(V.currentTimeline.snapshotCurrentStyles(),V.previousNode=Rv);const Y=gf(z.delay);V.delayNextStep(Y)}I.steps.length&&(I.steps.forEach(Y=>La(this,Y,V)),V.currentTimeline.applyStylesToKeyframe(),V.subContextCount>L&&V.transformIntoNewTimeline()),f.previousNode=I}visitGroup(I,f){const L=[];let V=f.currentTimeline.currentTime;const z=I.options&&I.options.delay?gf(I.options.delay):0;I.steps.forEach(Y=>{const X=f.createSubContext(I.options);z&&X.delayNextStep(z),La(this,Y,X),V=Math.max(V,X.currentTimeline.currentTime),L.push(X.currentTimeline)}),L.forEach(Y=>f.currentTimeline.mergeTimelineCollectedStyles(Y)),f.transformIntoNewTimeline(V),f.previousNode=I}_visitTiming(I,f){if(I.dynamic){const L=I.strValue;return Ev(f.params?Dv(L,f.params,f.errors):L,f.errors)}return{duration:I.duration,delay:I.delay,easing:I.easing}}visitAnimate(I,f){const L=f.currentAnimateTimings=this._visitTiming(I.timings,f),V=f.currentTimeline;L.delay&&(f.incrementTime(L.delay),V.snapshotCurrentStyles());const z=I.style;5==z.type?this.visitKeyframes(z,f):(f.incrementTime(L.duration),this.visitStyle(z,f),V.applyStylesToKeyframe()),f.currentAnimateTimings=null,f.previousNode=I}visitStyle(I,f){const L=f.currentTimeline,V=f.currentAnimateTimings;!V&&L.getCurrentStyleProperties().length&&L.forwardFrame();const z=V&&V.easing||I.easing;I.isEmptyStep?L.applyEmptyStep(z):L.setStyles(I.styles,z,f.errors,f.options),f.previousNode=I}visitKeyframes(I,f){const L=f.currentAnimateTimings,V=f.currentTimeline.duration,z=L.duration,X=f.createSubContext().currentTimeline;X.easing=L.easing,I.styles.forEach(Q=>{X.forwardTime((Q.offset||0)*z),X.setStyles(Q.styles,Q.easing,f.errors,f.options),X.applyStylesToKeyframe()}),f.currentTimeline.mergeTimelineCollectedStyles(X),f.transformIntoNewTimeline(V+z),f.previousNode=I}visitQuery(I,f){const L=f.currentTimeline.currentTime,V=I.options||{},z=V.delay?gf(V.delay):0;z&&(6===f.previousNode.type||0==L&&f.currentTimeline.getCurrentStyleProperties().length)&&(f.currentTimeline.snapshotCurrentStyles(),f.previousNode=Rv);let Y=L;const X=f.invokeQuery(I.selector,I.originalSelector,I.limit,I.includeSelf,!!V.optional,f.errors);f.currentQueryTotal=X.length;let Q=null;X.forEach((J,te)=>{f.currentQueryIndex=te;const re=f.createSubContext(I.options,J);z&&re.delayNextStep(z),J===f.element&&(Q=re.currentTimeline),La(this,I.animation,re),re.currentTimeline.applyStylesToKeyframe(),Y=Math.max(Y,re.currentTimeline.currentTime)}),f.currentQueryIndex=0,f.currentQueryTotal=0,f.transformIntoNewTimeline(Y),Q&&(f.currentTimeline.mergeTimelineCollectedStyles(Q),f.currentTimeline.snapshotCurrentStyles()),f.previousNode=I}visitStagger(I,f){const L=f.parentContext,V=f.currentTimeline,z=I.timings,Y=Math.abs(z.duration),X=Y*(f.currentQueryTotal-1);let Q=Y*f.currentQueryIndex;switch(z.duration<0?"reverse":z.easing){case"reverse":Q=X-Q;break;case"full":Q=L.currentStaggerTime}const te=f.currentTimeline;Q&&te.delayNextStep(Q);const re=te.currentTime;La(this,I.animation,f),f.previousNode=I,L.currentStaggerTime=V.currentTime-re+(V.startTime-L.currentTimeline.startTime)}}const Rv={};class KC{constructor(I,f,L,V,z,Y,X,Q){this._driver=I,this.element=f,this.subInstructions=L,this._enterClassName=V,this._leaveClassName=z,this.errors=Y,this.timelines=X,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Rv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Q||new Ov(this._driver,f,0),X.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(I,f){if(!I)return;const L=I;let V=this.options;null!=L.duration&&(V.duration=gf(L.duration)),null!=L.delay&&(V.delay=gf(L.delay));const z=L.params;if(z){let Y=V.params;Y||(Y=this.options.params={}),Object.keys(z).forEach(X=>{(!f||!Y.hasOwnProperty(X))&&(Y[X]=Dv(z[X],Y,this.errors))})}}_copyOptions(){const I={};if(this.options){const f=this.options.params;if(f){const L=I.params={};Object.keys(f).forEach(V=>{L[V]=f[V]})}}return I}createSubContext(I=null,f,L){const V=f||this.element,z=new KC(this._driver,V,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(V,L||0));return z.previousNode=this.previousNode,z.currentAnimateTimings=this.currentAnimateTimings,z.options=this._copyOptions(),z.updateOptions(I),z.currentQueryIndex=this.currentQueryIndex,z.currentQueryTotal=this.currentQueryTotal,z.parentContext=this,this.subContextCount++,z}transformIntoNewTimeline(I){return this.previousNode=Rv,this.currentTimeline=this.currentTimeline.fork(this.element,I),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(I,f,L){const V={duration:null!=f?f:I.duration,delay:this.currentTimeline.currentTime+(null!=L?L:0)+I.delay,easing:""},z=new wj(this._driver,I.element,I.keyframes,I.preStyleProps,I.postStyleProps,V,I.stretchStartingKeyframe);return this.timelines.push(z),V}incrementTime(I){this.currentTimeline.forwardTime(this.currentTimeline.duration+I)}delayNextStep(I){I>0&&this.currentTimeline.delayNextStep(I)}invokeQuery(I,f,L,V,z,Y){let X=[];if(V&&X.push(this.element),I.length>0){I=(I=I.replace(yj,"."+this._enterClassName)).replace(vj,"."+this._leaveClassName);let J=this._driver.query(this.element,I,1!=L);0!==L&&(J=L<0?J.slice(J.length+L,J.length):J.slice(0,L)),X.push(...J)}return!z&&0==X.length&&Y.push(function M8(N){return new Ot(3014,qn)}()),X}}class Ov{constructor(I,f,L,V){this._driver=I,this.element=f,this.startTime=L,this._elementTimelineStylesLookup=V,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(f),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(f,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(I){const f=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||f?(this.forwardTime(this.currentTime+I),f&&this.snapshotCurrentStyles()):this.startTime+=I}fork(I,f){return this.applyStylesToKeyframe(),new Ov(this._driver,I,f||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(I){this.applyStylesToKeyframe(),this.duration=I,this._loadKeyframe()}_updateStyle(I,f){this._localTimelineStyles[I]=f,this._globalTimelineStyles[I]=f,this._styleSummary[I]={time:this.currentTime,value:f}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(I){I&&(this._previousKeyframe.easing=I),Object.keys(this._globalTimelineStyles).forEach(f=>{this._backFill[f]=this._globalTimelineStyles[f]||yc,this._currentKeyframe[f]=yc}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(I,f,L,V){f&&(this._previousKeyframe.easing=f);const z=V&&V.params||{},Y=function Cj(N,I){const f={};let L;return N.forEach(V=>{"*"===V?(L=L||Object.keys(I),L.forEach(z=>{f[z]=yc})):Pu(V,!1,f)}),f}(I,this._globalTimelineStyles);Object.keys(Y).forEach(X=>{const Q=Dv(Y[X],z,L);this._pendingStyles[X]=Q,this._localTimelineStyles.hasOwnProperty(X)||(this._backFill[X]=this._globalTimelineStyles.hasOwnProperty(X)?this._globalTimelineStyles[X]:yc),this._updateStyle(X,Q)})}applyStylesToKeyframe(){const I=this._pendingStyles,f=Object.keys(I);0!=f.length&&(this._pendingStyles={},f.forEach(L=>{this._currentKeyframe[L]=I[L]}),Object.keys(this._localTimelineStyles).forEach(L=>{this._currentKeyframe.hasOwnProperty(L)||(this._currentKeyframe[L]=this._localTimelineStyles[L])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(I=>{const f=this._localTimelineStyles[I];this._pendingStyles[I]=f,this._updateStyle(I,f)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const I=[];for(let f in this._currentKeyframe)I.push(f);return I}mergeTimelineCollectedStyles(I){Object.keys(I._styleSummary).forEach(f=>{const L=this._styleSummary[f],V=I._styleSummary[f];(!L||V.time>L.time)&&this._updateStyle(f,V.value)})}buildKeyframes(){this.applyStylesToKeyframe();const I=new Set,f=new Set,L=1===this._keyframes.size&&0===this.duration;let V=[];this._keyframes.forEach((X,Q)=>{const J=Pu(X,!0);Object.keys(J).forEach(te=>{const re=J[te];"!"==re?I.add(te):re==yc&&f.add(te)}),L||(J.offset=Q/this.duration),V.push(J)});const z=I.size?kv(I.values()):[],Y=f.size?kv(f.values()):[];if(L){const X=V[0],Q=gp(X);X.offset=0,Q.offset=1,V=[X,Q]}return GC(this.element,V,z,Y,this.duration,this.startTime,this.easing,!1)}}class wj extends Ov{constructor(I,f,L,V,z,Y,X=!1){super(I,f,Y.delay),this.keyframes=L,this.preStyleProps=V,this.postStyleProps=z,this._stretchStartingKeyframe=X,this.timings={duration:Y.duration,delay:Y.delay,easing:Y.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let I=this.keyframes,{delay:f,duration:L,easing:V}=this.timings;if(this._stretchStartingKeyframe&&f){const z=[],Y=L+f,X=f/Y,Q=Pu(I[0],!1);Q.offset=0,z.push(Q);const J=Pu(I[0],!1);J.offset=eF(X),z.push(J);const te=I.length-1;for(let re=1;re<=te;re++){let oe=Pu(I[re],!1);oe.offset=eF((f+oe.offset*L)/Y),z.push(oe)}L=Y,f=0,V="",I=z}return GC(this.element,I,this.preStyleProps,this.postStyleProps,L,f,V,!0)}}function eF(N,I=3){const f=Math.pow(10,I-1);return Math.round(N*f)/f}class qC{}class Ej extends qC{normalizePropertyName(I,f){return UC(I)}normalizeStyleValue(I,f,L,V){let z="";const Y=L.toString().trim();if(Dj[f]&&0!==L&&"0"!==L)if("number"==typeof L)z="px";else{const X=L.match(/^[+-]?[\d\.]+([a-z]*)$/);X&&0==X[1].length&&V.push(function y8(N,I){return new Ot(3005,qn)}())}return Y+z}}const Dj=(()=>function kj(N){const I={};return N.forEach(f=>I[f]=!0),I}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function tF(N,I,f,L,V,z,Y,X,Q,J,te,re,oe){return{type:0,element:N,triggerName:I,isRemovalTransition:V,fromState:f,fromStyles:z,toState:L,toStyles:Y,timelines:X,queriedElements:Q,preStyleProps:J,postStyleProps:te,totalTime:re,errors:oe}}const XC={};class nF{constructor(I,f,L){this._triggerName=I,this.ast=f,this._stateStyles=L}match(I,f,L,V){return function Sj(N,I,f,L,V){return N.some(z=>z(I,f,L,V))}(this.ast.matchers,I,f,L,V)}buildStyles(I,f,L){const V=this._stateStyles["*"],z=this._stateStyles[I],Y=V?V.buildStyles(f,L):{};return z?z.buildStyles(f,L):Y}build(I,f,L,V,z,Y,X,Q,J,te){const re=[],oe=this.ast.options&&this.ast.options.params||XC,le=this.buildStyles(L,X&&X.params||XC,re),ue=Q&&Q.params||XC,ve=this.buildStyles(V,ue,re),ye=new Set,pe=new Map,Ie=new Map,Re="void"===V,ft={params:Object.assign(Object.assign({},oe),ue)},et=te?[]:YC(I,f,this.ast.animation,z,Y,le,ve,ft,J,re);let $t=0;if(et.forEach(Jn=>{$t=Math.max(Jn.duration+Jn.delay,$t)}),re.length)return tF(f,this._triggerName,L,V,Re,le,ve,[],[],pe,Ie,$t,re);et.forEach(Jn=>{const ur=Jn.element,Cn=Na(pe,ur,{});Jn.preStyleProps.forEach(yn=>Cn[yn]=!0);const er=Na(Ie,ur,{});Jn.postStyleProps.forEach(yn=>er[yn]=!0),ur!==f&&ye.add(ur)});const qt=kv(ye.values());return tF(f,this._triggerName,L,V,Re,le,ve,et,qt,pe,Ie,$t)}}class xj{constructor(I,f,L){this.styles=I,this.defaultParams=f,this.normalizer=L}buildStyles(I,f){const L={},V=gp(this.defaultParams);return Object.keys(I).forEach(z=>{const Y=I[z];null!=Y&&(V[z]=Y)}),this.styles.styles.forEach(z=>{if("string"!=typeof z){const Y=z;Object.keys(Y).forEach(X=>{let Q=Y[X];Q.length>1&&(Q=Dv(Q,V,f));const J=this.normalizer.normalizePropertyName(X,f);Q=this.normalizer.normalizeStyleValue(X,J,Q,f),L[J]=Q})}}),L}}class Aj{constructor(I,f,L){this.name=I,this.ast=f,this._normalizer=L,this.transitionFactories=[],this.states={},f.states.forEach(V=>{this.states[V.name]=new xj(V.style,V.options&&V.options.params||{},L)}),rF(this.states,"true","1"),rF(this.states,"false","0"),f.transitions.forEach(V=>{this.transitionFactories.push(new nF(I,V,this.states))}),this.fallbackTransition=function Tj(N,I,f){return new nF(N,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Y,X)=>!0],options:null,queryCount:0,depCount:0},I)}(I,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(I,f,L,V){return this.transitionFactories.find(Y=>Y.match(I,f,L,V))||null}matchStyles(I,f,L){return this.fallbackTransition.buildStyles(I,f,L)}}function rF(N,I,f){N.hasOwnProperty(I)?N.hasOwnProperty(f)||(N[f]=N[I]):N.hasOwnProperty(f)&&(N[I]=N[f])}const Fj=new Iv;class Ij{constructor(I,f,L){this.bodyNode=I,this._driver=f,this._normalizer=L,this._animations={},this._playersById={},this.players=[]}register(I,f){const L=[],z=$C(this._driver,f,L,[]);if(L.length)throw function P8(N){return new Ot(3503,qn)}();this._animations[I]=z}_buildPlayer(I,f,L){const V=I.element,z=PT(0,this._normalizer,0,I.keyframes,f,L);return this._driver.animate(V,z,I.duration,I.delay,I.easing,[],!0)}create(I,f,L={}){const V=[],z=this._animations[I];let Y;const X=new Map;if(z?(Y=YC(this._driver,f,z,BC,bv,{},{},L,Fj,V),Y.forEach(te=>{const re=Na(X,te.element,{});te.postStyleProps.forEach(oe=>re[oe]=null)})):(V.push(function N8(){return new Ot(3300,qn)}()),Y=[]),V.length)throw function L8(N){return new Ot(3504,qn)}();X.forEach((te,re)=>{Object.keys(te).forEach(oe=>{te[oe]=this._driver.computeStyle(re,oe,yc)})});const J=Ou(Y.map(te=>{const re=X.get(te.element);return this._buildPlayer(te,{},re)}));return this._playersById[I]=J,J.onDestroy(()=>this.destroy(I)),this.players.push(J),J}destroy(I){const f=this._getPlayer(I);f.destroy(),delete this._playersById[I];const L=this.players.indexOf(f);L>=0&&this.players.splice(L,1)}_getPlayer(I){const f=this._playersById[I];if(!f)throw function V8(N){return new Ot(3301,qn)}();return f}listen(I,f,L,V){const z=PC(f,"","","");return RC(this._getPlayer(I),L,z,V),()=>{}}command(I,f,L,V){if("register"==L)return void this.register(I,V[0]);if("create"==L)return void this.create(I,f,V[0]||{});const z=this._getPlayer(I);switch(L){case"play":z.play();break;case"pause":z.pause();break;case"reset":z.reset();break;case"restart":z.restart();break;case"finish":z.finish();break;case"init":z.init();break;case"setPosition":z.setPosition(parseFloat(V[0]));break;case"destroy":this.destroy(I)}}}const iF="ng-animate-queued",QC="ng-animate-disabled",Lj=[],oF={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vj={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},is="__ng_removed";class ZC{constructor(I,f=""){this.namespaceId=f;const L=I&&I.hasOwnProperty("value");if(this.value=function zj(N){return null!=N?N:null}(L?I.value:I),L){const z=gp(I);delete z.value,this.options=z}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(I){const f=I.params;if(f){const L=this.options.params;Object.keys(f).forEach(V=>{null==L[V]&&(L[V]=f[V])})}}}const bg="void",JC=new ZC(bg);class Bj{constructor(I,f,L){this.id=I,this.hostElement=f,this._engine=L,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+I,os(f,this._hostClassName)}listen(I,f,L,V){if(!this._triggers.hasOwnProperty(f))throw function B8(N,I){return new Ot(3302,qn)}();if(null==L||0==L.length)throw function H8(N){return new Ot(3303,qn)}();if(!function Uj(N){return"start"==N||"done"==N}(L))throw function j8(N,I){return new Ot(3400,qn)}();const z=Na(this._elementListeners,I,[]),Y={name:f,phase:L,callback:V};z.push(Y);const X=Na(this._engine.statesByElement,I,{});return X.hasOwnProperty(f)||(os(I,wv),os(I,wv+"-"+f),X[f]=JC),()=>{this._engine.afterFlush(()=>{const Q=z.indexOf(Y);Q>=0&&z.splice(Q,1),this._triggers[f]||delete X[f]})}}register(I,f){return!this._triggers[I]&&(this._triggers[I]=f,!0)}_getTrigger(I){const f=this._triggers[I];if(!f)throw function z8(N){return new Ot(3401,qn)}();return f}trigger(I,f,L,V=!0){const z=this._getTrigger(f),Y=new eE(this.id,f,I);let X=this._engine.statesByElement.get(I);X||(os(I,wv),os(I,wv+"-"+f),this._engine.statesByElement.set(I,X={}));let Q=X[f];const J=new ZC(L,this.id);if(!(L&&L.hasOwnProperty("value"))&&Q&&J.absorbOptions(Q.options),X[f]=J,Q||(Q=JC),J.value!==bg&&Q.value===J.value){if(!function Gj(N,I){const f=Object.keys(N),L=Object.keys(I);if(f.length!=L.length)return!1;for(let V=0;V<f.length;V++){const z=f[V];if(!I.hasOwnProperty(z)||N[z]!==I[z])return!1}return!0}(Q.params,J.params)){const ue=[],ve=z.matchStyles(Q.value,Q.params,ue),ye=z.matchStyles(J.value,J.params,ue);ue.length?this._engine.reportError(ue):this._engine.afterFlush(()=>{yf(I,ve),Tl(I,ye)})}return}const oe=Na(this._engine.playersByElement,I,[]);oe.forEach(ue=>{ue.namespaceId==this.id&&ue.triggerName==f&&ue.queued&&ue.destroy()});let ae=z.matchTransition(Q.value,J.value,I,J.params),le=!1;if(!ae){if(!V)return;ae=z.fallbackTransition,le=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:I,triggerName:f,transition:ae,fromState:Q,toState:J,player:Y,isFallbackTransition:le}),le||(os(I,iF),Y.onStart(()=>{yp(I,iF)})),Y.onDone(()=>{let ue=this.players.indexOf(Y);ue>=0&&this.players.splice(ue,1);const ve=this._engine.playersByElement.get(I);if(ve){let ye=ve.indexOf(Y);ye>=0&&ve.splice(ye,1)}}),this.players.push(Y),oe.push(Y),Y}deregister(I){delete this._triggers[I],this._engine.statesByElement.forEach((f,L)=>{delete f[I]}),this._elementListeners.forEach((f,L)=>{this._elementListeners.set(L,f.filter(V=>V.name!=I))})}clearElementCache(I){this._engine.statesByElement.delete(I),this._elementListeners.delete(I);const f=this._engine.playersByElement.get(I);f&&(f.forEach(L=>L.destroy()),this._engine.playersByElement.delete(I))}_signalRemovalForInnerTriggers(I,f){const L=this._engine.driver.query(I,Cv,!0);L.forEach(V=>{if(V[is])return;const z=this._engine.fetchNamespacesByElement(V);z.size?z.forEach(Y=>Y.triggerLeaveAnimation(V,f,!1,!0)):this.clearElementCache(V)}),this._engine.afterFlushAnimationsDone(()=>L.forEach(V=>this.clearElementCache(V)))}triggerLeaveAnimation(I,f,L,V){const z=this._engine.statesByElement.get(I),Y=new Map;if(z){const X=[];if(Object.keys(z).forEach(Q=>{if(Y.set(Q,z[Q].value),this._triggers[Q]){const J=this.trigger(I,Q,bg,V);J&&X.push(J)}}),X.length)return this._engine.markElementAsRemoved(this.id,I,!0,f,Y),L&&Ou(X).onDone(()=>this._engine.processLeaveNode(I)),!0}return!1}prepareLeaveAnimationListeners(I){const f=this._elementListeners.get(I),L=this._engine.statesByElement.get(I);if(f&&L){const V=new Set;f.forEach(z=>{const Y=z.name;if(V.has(Y))return;V.add(Y);const Q=this._triggers[Y].fallbackTransition,J=L[Y]||JC,te=new ZC(bg),re=new eE(this.id,Y,I);this._engine.totalQueuedPlayers++,this._queue.push({element:I,triggerName:Y,transition:Q,fromState:J,toState:te,player:re,isFallbackTransition:!0})})}}removeNode(I,f){const L=this._engine;if(I.childElementCount&&this._signalRemovalForInnerTriggers(I,f),this.triggerLeaveAnimation(I,f,!0))return;let V=!1;if(L.totalAnimations){const z=L.players.length?L.playersByQueriedElement.get(I):[];if(z&&z.length)V=!0;else{let Y=I;for(;Y=Y.parentNode;)if(L.statesByElement.get(Y)){V=!0;break}}}if(this.prepareLeaveAnimationListeners(I),V)L.markElementAsRemoved(this.id,I,!1,f);else{const z=I[is];(!z||z===oF)&&(L.afterFlush(()=>this.clearElementCache(I)),L.destroyInnerAnimations(I),L._onRemovalComplete(I,f))}}insertNode(I,f){os(I,this._hostClassName)}drainQueuedTransitions(I){const f=[];return this._queue.forEach(L=>{const V=L.player;if(V.destroyed)return;const z=L.element,Y=this._elementListeners.get(z);Y&&Y.forEach(X=>{if(X.name==L.triggerName){const Q=PC(z,L.triggerName,L.fromState.value,L.toState.value);Q._data=I,RC(L.player,X.phase,Q,X.callback)}}),V.markedForDestroy?this._engine.afterFlush(()=>{V.destroy()}):f.push(L)}),this._queue=[],f.sort((L,V)=>{const z=L.transition.ast.depCount,Y=V.transition.ast.depCount;return 0==z||0==Y?z-Y:this._engine.driver.containsElement(L.element,V.element)?1:-1})}destroy(I){this.players.forEach(f=>f.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,I)}elementContainsData(I){let f=!1;return this._elementListeners.has(I)&&(f=!0),f=!!this._queue.find(L=>L.element===I)||f,f}}class Hj{constructor(I,f,L){this.bodyNode=I,this.driver=f,this._normalizer=L,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(V,z)=>{}}_onRemovalComplete(I,f){this.onRemovalComplete(I,f)}get queuedPlayers(){const I=[];return this._namespaceList.forEach(f=>{f.players.forEach(L=>{L.queued&&I.push(L)})}),I}createNamespace(I,f){const L=new Bj(I,f,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,f)?this._balanceNamespaceList(L,f):(this.newHostElements.set(f,L),this.collectEnterElement(f)),this._namespaceLookup[I]=L}_balanceNamespaceList(I,f){const L=this._namespaceList,V=this.namespacesByHostElement,z=L.length-1;if(z>=0){let Y=!1;if(void 0!==this.driver.getParentElement){let X=this.driver.getParentElement(f);for(;X;){const Q=V.get(X);if(Q){const J=L.indexOf(Q);L.splice(J+1,0,I),Y=!0;break}X=this.driver.getParentElement(X)}}else for(let X=z;X>=0;X--)if(this.driver.containsElement(L[X].hostElement,f)){L.splice(X+1,0,I),Y=!0;break}Y||L.unshift(I)}else L.push(I);return V.set(f,I),I}register(I,f){let L=this._namespaceLookup[I];return L||(L=this.createNamespace(I,f)),L}registerTrigger(I,f,L){let V=this._namespaceLookup[I];V&&V.register(f,L)&&this.totalAnimations++}destroy(I,f){if(!I)return;const L=this._fetchNamespace(I);this.afterFlush(()=>{this.namespacesByHostElement.delete(L.hostElement),delete this._namespaceLookup[I];const V=this._namespaceList.indexOf(L);V>=0&&this._namespaceList.splice(V,1)}),this.afterFlushAnimationsDone(()=>L.destroy(f))}_fetchNamespace(I){return this._namespaceLookup[I]}fetchNamespacesByElement(I){const f=new Set,L=this.statesByElement.get(I);if(L){const V=Object.keys(L);for(let z=0;z<V.length;z++){const Y=L[V[z]].namespaceId;if(Y){const X=this._fetchNamespace(Y);X&&f.add(X)}}}return f}trigger(I,f,L,V){if(Pv(f)){const z=this._fetchNamespace(I);if(z)return z.trigger(f,L,V),!0}return!1}insertNode(I,f,L,V){if(!Pv(f))return;const z=f[is];if(z&&z.setForRemoval){z.setForRemoval=!1,z.setForMove=!0;const Y=this.collectedLeaveElements.indexOf(f);Y>=0&&this.collectedLeaveElements.splice(Y,1)}if(I){const Y=this._fetchNamespace(I);Y&&Y.insertNode(f,L)}V&&this.collectEnterElement(f)}collectEnterElement(I){this.collectedEnterElements.push(I)}markElementAsDisabled(I,f){f?this.disabledNodes.has(I)||(this.disabledNodes.add(I),os(I,QC)):this.disabledNodes.has(I)&&(this.disabledNodes.delete(I),yp(I,QC))}removeNode(I,f,L,V){if(Pv(f)){const z=I?this._fetchNamespace(I):null;if(z?z.removeNode(f,V):this.markElementAsRemoved(I,f,!1,V),L){const Y=this.namespacesByHostElement.get(f);Y&&Y.id!==I&&Y.removeNode(f,V)}}else this._onRemovalComplete(f,V)}markElementAsRemoved(I,f,L,V,z){this.collectedLeaveElements.push(f),f[is]={namespaceId:I,setForRemoval:V,hasAnimation:L,removedBeforeQueried:!1,previousTriggersValues:z}}listen(I,f,L,V,z){return Pv(f)?this._fetchNamespace(I).listen(f,L,V,z):()=>{}}_buildInstruction(I,f,L,V,z){return I.transition.build(this.driver,I.element,I.fromState.value,I.toState.value,L,V,I.fromState.options,I.toState.options,f,z)}destroyInnerAnimations(I){let f=this.driver.query(I,Cv,!0);f.forEach(L=>this.destroyActiveAnimationsForElement(L)),0!=this.playersByQueriedElement.size&&(f=this.driver.query(I,HC,!0),f.forEach(L=>this.finishActiveQueriedAnimationOnElement(L)))}destroyActiveAnimationsForElement(I){const f=this.playersByElement.get(I);f&&f.forEach(L=>{L.queued?L.markedForDestroy=!0:L.destroy()})}finishActiveQueriedAnimationOnElement(I){const f=this.playersByQueriedElement.get(I);f&&f.forEach(L=>L.finish())}whenRenderingDone(){return new Promise(I=>{if(this.players.length)return Ou(this.players).onDone(()=>I());I()})}processLeaveNode(I){var f;const L=I[is];if(L&&L.setForRemoval){if(I[is]=oF,L.namespaceId){this.destroyInnerAnimations(I);const V=this._fetchNamespace(L.namespaceId);V&&V.clearElementCache(I)}this._onRemovalComplete(I,L.setForRemoval)}(null===(f=I.classList)||void 0===f?void 0:f.contains(QC))&&this.markElementAsDisabled(I,!1),this.driver.query(I,".ng-animate-disabled",!0).forEach(V=>{this.markElementAsDisabled(V,!1)})}flush(I=-1){let f=[];if(this.newHostElements.size&&(this.newHostElements.forEach((L,V)=>this._balanceNamespaceList(L,V)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let L=0;L<this.collectedEnterElements.length;L++)os(this.collectedEnterElements[L],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const L=[];try{f=this._flushAnimations(L,I)}finally{for(let V=0;V<L.length;V++)L[V]()}}else for(let L=0;L<this.collectedLeaveElements.length;L++)this.processLeaveNode(this.collectedLeaveElements[L]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(L=>L()),this._flushFns=[],this._whenQuietFns.length){const L=this._whenQuietFns;this._whenQuietFns=[],f.length?Ou(f).onDone(()=>{L.forEach(V=>V())}):L.forEach(V=>V())}}reportError(I){throw function U8(N){return new Ot(3402,qn)}()}_flushAnimations(I,f){const L=new Iv,V=[],z=new Map,Y=[],X=new Map,Q=new Map,J=new Map,te=new Set;this.disabledNodes.forEach(Ne=>{te.add(Ne);const ot=this.driver.query(Ne,".ng-animate-queued",!0);for(let st=0;st<ot.length;st++)te.add(ot[st])});const re=this.bodyNode,oe=Array.from(this.statesByElement.keys()),ae=lF(oe,this.collectedEnterElements),le=new Map;let ue=0;ae.forEach((Ne,ot)=>{const st=BC+ue++;le.set(ot,st),Ne.forEach(Ht=>os(Ht,st))});const ve=[],ye=new Set,pe=new Set;for(let Ne=0;Ne<this.collectedLeaveElements.length;Ne++){const ot=this.collectedLeaveElements[Ne],st=ot[is];st&&st.setForRemoval&&(ve.push(ot),ye.add(ot),st.hasAnimation?this.driver.query(ot,".ng-star-inserted",!0).forEach(Ht=>ye.add(Ht)):pe.add(ot))}const Ie=new Map,Re=lF(oe,Array.from(ye));Re.forEach((Ne,ot)=>{const st=bv+ue++;Ie.set(ot,st),Ne.forEach(Ht=>os(Ht,st))}),I.push(()=>{ae.forEach((Ne,ot)=>{const st=le.get(ot);Ne.forEach(Ht=>yp(Ht,st))}),Re.forEach((Ne,ot)=>{const st=Ie.get(ot);Ne.forEach(Ht=>yp(Ht,st))}),ve.forEach(Ne=>{this.processLeaveNode(Ne)})});const ft=[],et=[];for(let Ne=this._namespaceList.length-1;Ne>=0;Ne--)this._namespaceList[Ne].drainQueuedTransitions(f).forEach(st=>{const Ht=st.player,Rn=st.element;if(ft.push(Ht),this.collectedEnterElements.length){const ht=Rn[is];if(ht&&ht.setForMove){if(ht.previousTriggersValues&&ht.previousTriggersValues.has(st.triggerName)){const tt=ht.previousTriggersValues.get(st.triggerName),lt=this.statesByElement.get(st.element);lt&&lt[st.triggerName]&&(lt[st.triggerName].value=tt)}return void Ht.destroy()}}const oi=!re||!this.driver.containsElement(re,Rn),me=Ie.get(Rn),Me=le.get(Rn),Be=this._buildInstruction(st,L,Me,me,oi);if(Be.errors&&Be.errors.length)return void et.push(Be);if(oi)return Ht.onStart(()=>yf(Rn,Be.fromStyles)),Ht.onDestroy(()=>Tl(Rn,Be.toStyles)),void V.push(Ht);if(st.isFallbackTransition)return Ht.onStart(()=>yf(Rn,Be.fromStyles)),Ht.onDestroy(()=>Tl(Rn,Be.toStyles)),void V.push(Ht);const ct=[];Be.timelines.forEach(ht=>{ht.stretchStartingKeyframe=!0,this.disabledNodes.has(ht.element)||ct.push(ht)}),Be.timelines=ct,L.append(Rn,Be.timelines),Y.push({instruction:Be,player:Ht,element:Rn}),Be.queriedElements.forEach(ht=>Na(X,ht,[]).push(Ht)),Be.preStyleProps.forEach((ht,tt)=>{const lt=Object.keys(ht);if(lt.length){let It=Q.get(tt);It||Q.set(tt,It=new Set),lt.forEach(Lt=>It.add(Lt))}}),Be.postStyleProps.forEach((ht,tt)=>{const lt=Object.keys(ht);let It=J.get(tt);It||J.set(tt,It=new Set),lt.forEach(Lt=>It.add(Lt))})});if(et.length){const Ne=[];et.forEach(ot=>{Ne.push(function $8(N,I){return new Ot(3505,qn)}())}),ft.forEach(ot=>ot.destroy()),this.reportError(Ne)}const $t=new Map,qt=new Map;Y.forEach(Ne=>{const ot=Ne.element;L.has(ot)&&(qt.set(ot,ot),this._beforeAnimationBuild(Ne.player.namespaceId,Ne.instruction,$t))}),V.forEach(Ne=>{const ot=Ne.element;this._getPreviousPlayers(ot,!1,Ne.namespaceId,Ne.triggerName,null).forEach(Ht=>{Na($t,ot,[]).push(Ht),Ht.destroy()})});const Jn=ve.filter(Ne=>uF(Ne,Q,J)),ur=new Map;sF(ur,this.driver,pe,J,yc).forEach(Ne=>{uF(Ne,Q,J)&&Jn.push(Ne)});const er=new Map;ae.forEach((Ne,ot)=>{sF(er,this.driver,new Set(Ne),Q,"!")}),Jn.forEach(Ne=>{const ot=ur.get(Ne),st=er.get(Ne);ur.set(Ne,Object.assign(Object.assign({},ot),st))});const yn=[],de=[],xt={};Y.forEach(Ne=>{const{element:ot,player:st,instruction:Ht}=Ne;if(L.has(ot)){if(te.has(ot))return st.onDestroy(()=>Tl(ot,Ht.toStyles)),st.disabled=!0,st.overrideTotalTime(Ht.totalTime),void V.push(st);let Rn=xt;if(qt.size>1){let me=ot;const Me=[];for(;me=me.parentNode;){const Be=qt.get(me);if(Be){Rn=Be;break}Me.push(me)}Me.forEach(Be=>qt.set(Be,Rn))}const oi=this._buildAnimation(st.namespaceId,Ht,$t,z,er,ur);if(st.setRealPlayer(oi),Rn===xt)yn.push(st);else{const me=this.playersByElement.get(Rn);me&&me.length&&(st.parentPlayer=Ou(me)),V.push(st)}}else yf(ot,Ht.fromStyles),st.onDestroy(()=>Tl(ot,Ht.toStyles)),de.push(st),te.has(ot)&&V.push(st)}),de.forEach(Ne=>{const ot=z.get(Ne.element);if(ot&&ot.length){const st=Ou(ot);Ne.setRealPlayer(st)}}),V.forEach(Ne=>{Ne.parentPlayer?Ne.syncPlayerEvents(Ne.parentPlayer):Ne.destroy()});for(let Ne=0;Ne<ve.length;Ne++){const ot=ve[Ne],st=ot[is];if(yp(ot,bv),st&&st.hasAnimation)continue;let Ht=[];if(X.size){let oi=X.get(ot);oi&&oi.length&&Ht.push(...oi);let me=this.driver.query(ot,HC,!0);for(let Me=0;Me<me.length;Me++){let Be=X.get(me[Me]);Be&&Be.length&&Ht.push(...Be)}}const Rn=Ht.filter(oi=>!oi.destroyed);Rn.length?$j(this,ot,Rn):this.processLeaveNode(ot)}return ve.length=0,yn.forEach(Ne=>{this.players.push(Ne),Ne.onDone(()=>{Ne.destroy();const ot=this.players.indexOf(Ne);this.players.splice(ot,1)}),Ne.play()}),yn}elementContainsData(I,f){let L=!1;const V=f[is];return V&&V.setForRemoval&&(L=!0),this.playersByElement.has(f)&&(L=!0),this.playersByQueriedElement.has(f)&&(L=!0),this.statesByElement.has(f)&&(L=!0),this._fetchNamespace(I).elementContainsData(f)||L}afterFlush(I){this._flushFns.push(I)}afterFlushAnimationsDone(I){this._whenQuietFns.push(I)}_getPreviousPlayers(I,f,L,V,z){let Y=[];if(f){const X=this.playersByQueriedElement.get(I);X&&(Y=X)}else{const X=this.playersByElement.get(I);if(X){const Q=!z||z==bg;X.forEach(J=>{J.queued||!Q&&J.triggerName!=V||Y.push(J)})}}return(L||V)&&(Y=Y.filter(X=>!(L&&L!=X.namespaceId||V&&V!=X.triggerName))),Y}_beforeAnimationBuild(I,f,L){const z=f.element,Y=f.isRemovalTransition?void 0:I,X=f.isRemovalTransition?void 0:f.triggerName;for(const Q of f.timelines){const J=Q.element,te=J!==z,re=Na(L,J,[]);this._getPreviousPlayers(J,te,Y,X,f.toState).forEach(ae=>{const le=ae.getRealPlayer();le.beforeDestroy&&le.beforeDestroy(),ae.destroy(),re.push(ae)})}yf(z,f.fromStyles)}_buildAnimation(I,f,L,V,z,Y){const X=f.triggerName,Q=f.element,J=[],te=new Set,re=new Set,oe=f.timelines.map(le=>{const ue=le.element;te.add(ue);const ve=ue[is];if(ve&&ve.removedBeforeQueried)return new _g(le.duration,le.delay);const ye=ue!==Q,pe=function Wj(N){const I=[];return cF(N,I),I}((L.get(ue)||Lj).map($t=>$t.getRealPlayer())).filter($t=>!!$t.element&&$t.element===ue),Ie=z.get(ue),Re=Y.get(ue),ft=PT(0,this._normalizer,0,le.keyframes,Ie,Re),et=this._buildPlayer(le,ft,pe);if(le.subTimeline&&V&&re.add(ue),ye){const $t=new eE(I,X,ue);$t.setRealPlayer(et),J.push($t)}return et});J.forEach(le=>{Na(this.playersByQueriedElement,le.element,[]).push(le),le.onDone(()=>function jj(N,I,f){let L;if(N instanceof Map){if(L=N.get(I),L){if(L.length){const V=L.indexOf(f);L.splice(V,1)}0==L.length&&N.delete(I)}}else if(L=N[I],L){if(L.length){const V=L.indexOf(f);L.splice(V,1)}0==L.length&&delete N[I]}return L}(this.playersByQueriedElement,le.element,le))}),te.forEach(le=>os(le,WT));const ae=Ou(oe);return ae.onDestroy(()=>{te.forEach(le=>yp(le,WT)),Tl(Q,f.toStyles)}),re.forEach(le=>{Na(V,le,[]).push(ae)}),ae}_buildPlayer(I,f,L){return f.length>0?this.driver.animate(I.element,f,I.duration,I.delay,I.easing,L):new _g(I.duration,I.delay)}}class eE{constructor(I,f,L){this.namespaceId=I,this.triggerName=f,this.element=L,this._player=new _g,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(I){this._containsRealPlayer||(this._player=I,Object.keys(this._queuedCallbacks).forEach(f=>{this._queuedCallbacks[f].forEach(L=>RC(I,f,void 0,L))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(I.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(I){this.totalTime=I}syncPlayerEvents(I){const f=this._player;f.triggerCallback&&I.onStart(()=>f.triggerCallback("start")),I.onDone(()=>this.finish()),I.onDestroy(()=>this.destroy())}_queueEvent(I,f){Na(this._queuedCallbacks,I,[]).push(f)}onDone(I){this.queued&&this._queueEvent("done",I),this._player.onDone(I)}onStart(I){this.queued&&this._queueEvent("start",I),this._player.onStart(I)}onDestroy(I){this.queued&&this._queueEvent("destroy",I),this._player.onDestroy(I)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(I){this.queued||this._player.setPosition(I)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(I){const f=this._player;f.triggerCallback&&f.triggerCallback(I)}}function Pv(N){return N&&1===N.nodeType}function aF(N,I){const f=N.style.display;return N.style.display=null!=I?I:"none",f}function sF(N,I,f,L,V){const z=[];f.forEach(Q=>z.push(aF(Q)));const Y=[];L.forEach((Q,J)=>{const te={};Q.forEach(re=>{const oe=te[re]=I.computeStyle(J,re,V);(!oe||0==oe.length)&&(J[is]=Vj,Y.push(J))}),N.set(J,te)});let X=0;return f.forEach(Q=>aF(Q,z[X++])),Y}function lF(N,I){const f=new Map;if(N.forEach(X=>f.set(X,[])),0==I.length)return f;const V=new Set(I),z=new Map;function Y(X){if(!X)return 1;let Q=z.get(X);if(Q)return Q;const J=X.parentNode;return Q=f.has(J)?J:V.has(J)?1:Y(J),z.set(X,Q),Q}return I.forEach(X=>{const Q=Y(X);1!==Q&&f.get(Q).push(X)}),f}function os(N,I){var f;null===(f=N.classList)||void 0===f||f.add(I)}function yp(N,I){var f;null===(f=N.classList)||void 0===f||f.remove(I)}function $j(N,I,f){Ou(f).onDone(()=>N.processLeaveNode(I))}function cF(N,I){for(let f=0;f<N.length;f++){const L=N[f];L instanceof RT?cF(L.players,I):I.push(L)}}function uF(N,I,f){const L=f.get(N);if(!L)return!1;let V=I.get(N);return V?L.forEach(z=>V.add(z)):I.set(N,L),f.delete(N),!0}class Nv{constructor(I,f,L){this.bodyNode=I,this._driver=f,this._normalizer=L,this._triggerCache={},this.onRemovalComplete=(V,z)=>{},this._transitionEngine=new Hj(I,f,L),this._timelineEngine=new Ij(I,f,L),this._transitionEngine.onRemovalComplete=(V,z)=>this.onRemovalComplete(V,z)}registerTrigger(I,f,L,V,z){const Y=I+"-"+V;let X=this._triggerCache[Y];if(!X){const Q=[],te=$C(this._driver,z,Q,[]);if(Q.length)throw function R8(N,I){return new Ot(3404,qn)}();X=function Mj(N,I,f){return new Aj(N,I,f)}(V,te,this._normalizer),this._triggerCache[Y]=X}this._transitionEngine.registerTrigger(f,V,X)}register(I,f){this._transitionEngine.register(I,f)}destroy(I,f){this._transitionEngine.destroy(I,f)}onInsert(I,f,L,V){this._transitionEngine.insertNode(I,f,L,V)}onRemove(I,f,L,V){this._transitionEngine.removeNode(I,f,V||!1,L)}disableAnimations(I,f){this._transitionEngine.markElementAsDisabled(I,f)}process(I,f,L,V){if("@"==L.charAt(0)){const[z,Y]=NT(L);this._timelineEngine.command(z,f,Y,V)}else this._transitionEngine.trigger(I,f,L,V)}listen(I,f,L,V,z){if("@"==L.charAt(0)){const[Y,X]=NT(L);return this._timelineEngine.listen(Y,f,X,z)}return this._transitionEngine.listen(I,f,L,V,z)}flush(I=-1){this._transitionEngine.flush(I)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let Kj=(()=>{class N{constructor(f,L,V){this._element=f,this._startStyles=L,this._endStyles=V,this._state=0;let z=N.initialStylesByElement.get(f);z||N.initialStylesByElement.set(f,z={}),this._initialStyles=z}start(){this._state<1&&(this._startStyles&&Tl(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Tl(this._element,this._initialStyles),this._endStyles&&(Tl(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(N.initialStylesByElement.delete(this._element),this._startStyles&&(yf(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yf(this._element,this._endStyles),this._endStyles=null),Tl(this._element,this._initialStyles),this._state=3)}}return N.initialStylesByElement=new WeakMap,N})();function tE(N){let I=null;const f=Object.keys(N);for(let L=0;L<f.length;L++){const V=f[L];qj(V)&&(I=I||{},I[V]=N[V])}return I}function qj(N){return"display"===N||"position"===N}class dF{constructor(I,f,L,V){this.element=I,this.keyframes=f,this.options=L,this._specialStyles=V,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=L.duration,this._delay=L.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(I=>I()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const I=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,I,this.options),this._finalKeyframe=I.length?I[I.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(I,f,L){return I.animate(f,L)}onStart(I){this._onStartFns.push(I)}onDone(I){this._onDoneFns.push(I)}onDestroy(I){this._onDestroyFns.push(I)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(I=>I()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(I=>I()),this._onDestroyFns=[])}setPosition(I){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=I*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const I={};if(this.hasStarted()){const f=this._finalKeyframe;Object.keys(f).forEach(L=>{"offset"!=L&&(I[L]=this._finished?f[L]:XT(this.element,L))})}this.currentSnapshot=I}triggerCallback(I){const f="start"==I?this._onStartFns:this._onDoneFns;f.forEach(L=>L()),f.length=0}}class Xj{validateStyleProperty(I){return HT(I)}matchesElement(I,f){return!1}containsElement(I,f){return jT(I,f)}getParentElement(I){return LC(I)}query(I,f,L){return zT(I,f,L)}computeStyle(I,f,L){return window.getComputedStyle(I)[f]}animate(I,f,L,V,z,Y=[]){const Q={duration:L,delay:V,fill:0==V?"both":"forwards"};z&&(Q.easing=z);const J={},te=Y.filter(oe=>oe instanceof dF);(function ej(N,I){return 0===N||0===I})(L,V)&&te.forEach(oe=>{let ae=oe.currentSnapshot;Object.keys(ae).forEach(le=>J[le]=ae[le])}),f=function tj(N,I,f){const L=Object.keys(f);if(L.length&&I.length){let z=I[0],Y=[];if(L.forEach(X=>{z.hasOwnProperty(X)||Y.push(X),z[X]=f[X]}),Y.length)for(var V=1;V<I.length;V++){let X=I[V];Y.forEach(function(Q){X[Q]=XT(N,Q)})}}return I}(I,f=f.map(oe=>Pu(oe,!1)),J);const re=function Yj(N,I){let f=null,L=null;return Array.isArray(I)&&I.length?(f=tE(I[0]),I.length>1&&(L=tE(I[I.length-1]))):I&&(f=tE(I)),f||L?new Kj(N,f,L):null}(I,f);return new dF(I,f,Q,re)}}let Qj=(()=>{class N extends MT{constructor(f,L){super(),this._nextAnimationId=0,this._renderer=f.createRenderer(L.body,{id:"0",encapsulation:Ir.None,styles:[],data:{animation:[]}})}build(f){const L=this._nextAnimationId.toString();this._nextAnimationId++;const V=Array.isArray(f)?TT(f):f;return fF(this._renderer,null,L,"register",[V]),new Zj(L,this._renderer)}}return N.\u0275fac=function(f){return new(f||N)(Pe(Km),Pe(In))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class Zj extends class d8{}{constructor(I,f){super(),this._id=I,this._renderer=f}create(I,f){return new Jj(this._id,I,f||{},this._renderer)}}class Jj{constructor(I,f,L,V){this.id=I,this.element=f,this._renderer=V,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",L)}_listen(I,f){return this._renderer.listen(this.element,`@@${this.id}:${I}`,f)}_command(I,...f){return fF(this._renderer,this.element,this.id,I,f)}onDone(I){this._listen("done",I)}onStart(I){this._listen("start",I)}onDestroy(I){this._listen("destroy",I)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(I){this._command("setPosition",I)}getPosition(){var I,f;return null!==(f=null===(I=this._renderer.engine.players[+this.id])||void 0===I?void 0:I.getPosition())&&void 0!==f?f:0}}function fF(N,I,f,L,V){return N.setProperty(I,`@@${f}:${L}`,V)}const hF="@.disabled";let e6=(()=>{class N{constructor(f,L,V){this.delegate=f,this.engine=L,this._zone=V,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),L.onRemovalComplete=(z,Y)=>{const X=null==Y?void 0:Y.parentNode(z);X&&Y.removeChild(X,z)}}createRenderer(f,L){const z=this.delegate.createRenderer(f,L);if(!(f&&L&&L.data&&L.data.animation)){let te=this._rendererCache.get(z);return te||(te=new pF("",z,this.engine),this._rendererCache.set(z,te)),te}const Y=L.id,X=L.id+"-"+this._currentId;this._currentId++,this.engine.register(X,f);const Q=te=>{Array.isArray(te)?te.forEach(Q):this.engine.registerTrigger(Y,X,f,te.name,te)};return L.data.animation.forEach(Q),new t6(this,X,z,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(f,L,V){f>=0&&f<this._microtaskId?this._zone.run(()=>L(V)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(z=>{const[Y,X]=z;Y(X)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([L,V]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return N.\u0275fac=function(f){return new(f||N)(Pe(Km),Pe(Nv),Pe(Un))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class pF{constructor(I,f,L){this.namespaceId=I,this.delegate=f,this.engine=L,this.destroyNode=this.delegate.destroyNode?V=>f.destroyNode(V):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(I,f){return this.delegate.createElement(I,f)}createComment(I){return this.delegate.createComment(I)}createText(I){return this.delegate.createText(I)}appendChild(I,f){this.delegate.appendChild(I,f),this.engine.onInsert(this.namespaceId,f,I,!1)}insertBefore(I,f,L,V=!0){this.delegate.insertBefore(I,f,L),this.engine.onInsert(this.namespaceId,f,I,V)}removeChild(I,f,L){this.engine.onRemove(this.namespaceId,f,this.delegate,L)}selectRootElement(I,f){return this.delegate.selectRootElement(I,f)}parentNode(I){return this.delegate.parentNode(I)}nextSibling(I){return this.delegate.nextSibling(I)}setAttribute(I,f,L,V){this.delegate.setAttribute(I,f,L,V)}removeAttribute(I,f,L){this.delegate.removeAttribute(I,f,L)}addClass(I,f){this.delegate.addClass(I,f)}removeClass(I,f){this.delegate.removeClass(I,f)}setStyle(I,f,L,V){this.delegate.setStyle(I,f,L,V)}removeStyle(I,f,L){this.delegate.removeStyle(I,f,L)}setProperty(I,f,L){"@"==f.charAt(0)&&f==hF?this.disableAnimations(I,!!L):this.delegate.setProperty(I,f,L)}setValue(I,f){this.delegate.setValue(I,f)}listen(I,f,L){return this.delegate.listen(I,f,L)}disableAnimations(I,f){this.engine.disableAnimations(I,f)}}class t6 extends pF{constructor(I,f,L,V){super(f,L,V),this.factory=I,this.namespaceId=f}setProperty(I,f,L){"@"==f.charAt(0)?"."==f.charAt(1)&&f==hF?this.disableAnimations(I,L=void 0===L||!!L):this.engine.process(this.namespaceId,I,f.substr(1),L):this.delegate.setProperty(I,f,L)}listen(I,f,L){if("@"==f.charAt(0)){const V=function n6(N){switch(N){case"body":return document.body;case"document":return document;case"window":return window;default:return N}}(I);let z=f.substr(1),Y="";return"@"!=z.charAt(0)&&([z,Y]=function r6(N){const I=N.indexOf(".");return[N.substring(0,I),N.substr(I+1)]}(z)),this.engine.listen(this.namespaceId,V,z,Y,X=>{this.factory.scheduleListenerCallback(X._data||-1,L,X)})}return this.delegate.listen(I,f,L)}}let i6=(()=>{class N extends Nv{constructor(f,L,V){super(f.body,L,V)}ngOnDestroy(){this.flush()}}return N.\u0275fac=function(f){return new(f||N)(Pe(In),Pe(VC),Pe(qC))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const Nu=new wt("AnimationModuleType"),mF=[{provide:MT,useClass:Qj},{provide:qC,useFactory:function o6(){return new Ej}},{provide:Nv,useClass:i6},{provide:Km,useFactory:function a6(N,I,f){return new e6(N,I,f)},deps:[rv,Nv,Un]}],gF=[{provide:VC,useFactory:()=>new Xj},{provide:Nu,useValue:"BrowserAnimations"},...mF],s6=[{provide:VC,useClass:UT},{provide:Nu,useValue:"NoopAnimations"},...mF];let l6=(()=>{class N{static withConfig(f){return{ngModule:N,providers:f.disableAnimations?s6:gF}}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:gF,imports:[LA]}),N})();function c6(N,I){if(1&N&&Nr(0,"mat-pseudo-checkbox",4),2&N){const f=Bn();kt("state",f.selected?"checked":"unchecked")("disabled",f.disabled)}}function u6(N,I){if(1&N&&(mt(0,"span",5),br(1),vt()),2&N){const f=Bn();it(1),dc("(",f.group.label,")")}}const d6=["*"],h6=new wt("mat-sanity-checks",{providedIn:"root",factory:function f6(){return!0}});let io=(()=>{class N{constructor(f,L,V){this._sanityChecks=L,this._document=V,this._hasDoneGlobalChecks=!1,f._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(f){return!mC()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[f])}}return N.\u0275fac=function(f){return new(f||N)(Pe(cT),Pe(h6,8),Pe(In))},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[mg],mg]}),N})();function nE(N){return class extends N{constructor(...I){super(...I),this._disabled=!1}get disabled(){return this._disabled}set disabled(I){this._disabled=Mr(I)}}}function Vv(N,I){return class extends N{constructor(...f){super(...f),this.defaultColor=I,this.color=I}get color(){return this._color}set color(f){const L=f||this.defaultColor;L!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),L&&this._elementRef.nativeElement.classList.add(`mat-${L}`),this._color=L)}}}function _F(N){return class extends N{constructor(...I){super(...I),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(I){this._disableRipple=Mr(I)}}}function vF(N,I=0){return class extends N{constructor(...f){super(...f),this._tabIndex=I,this.defaultTabIndex=I}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(f){this._tabIndex=null!=f?Fu(f):this.defaultTabIndex}}}function rE(N){return class extends N{constructor(...I){super(...I),this.stateChanges=new Ke,this.errorState=!1}updateErrorState(){const I=this.errorState,z=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);z!==I&&(this.errorState=z,this.stateChanges.next())}}}const p6=new wt("MAT_DATE_LOCALE",{providedIn:"root",factory:function m6(){return _h(fc)}});class gi{constructor(){this._localeChanges=new Ke,this.localeChanges=this._localeChanges}getValidDateOrNull(I){return this.isDateInstance(I)&&this.isValid(I)?I:null}deserialize(I){return null==I||this.isDateInstance(I)&&this.isValid(I)?I:this.invalid()}setLocale(I){this.locale=I,this._localeChanges.next()}compareDate(I,f){return this.getYear(I)-this.getYear(f)||this.getMonth(I)-this.getMonth(f)||this.getDate(I)-this.getDate(f)}sameDate(I,f){if(I&&f){let L=this.isValid(I),V=this.isValid(f);return L&&V?!this.compareDate(I,f):L==V}return I==f}clampDate(I,f,L){return f&&this.compareDate(I,f)<0?f:L&&this.compareDate(I,L)>0?L:I}}const Fl=new wt("mat-date-formats"),g6=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function iE(N,I){const f=Array(N);for(let L=0;L<N;L++)f[L]=I(L);return f}let y6=(()=>{class N extends gi{constructor(f,L){super(),this.useUtcForDisplay=!1,super.setLocale(f)}getYear(f){return f.getFullYear()}getMonth(f){return f.getMonth()}getDate(f){return f.getDate()}getDayOfWeek(f){return f.getDay()}getMonthNames(f){const L=new Intl.DateTimeFormat(this.locale,{month:f,timeZone:"utc"});return iE(12,V=>this._format(L,new Date(2017,V,1)))}getDateNames(){const f=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return iE(31,L=>this._format(f,new Date(2017,0,L+1)))}getDayOfWeekNames(f){const L=new Intl.DateTimeFormat(this.locale,{weekday:f,timeZone:"utc"});return iE(7,V=>this._format(L,new Date(2017,0,V+1)))}getYearName(f){const L=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(L,f)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(f){return this.getDate(this._createDateWithOverflow(this.getYear(f),this.getMonth(f)+1,0))}clone(f){return new Date(f.getTime())}createDate(f,L,V){let z=this._createDateWithOverflow(f,L,V);return z.getMonth(),z}today(){return new Date}parse(f){return"number"==typeof f?new Date(f):f?new Date(Date.parse(f)):null}format(f,L){if(!this.isValid(f))throw Error("NativeDateAdapter: Cannot format invalid date.");const V=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},L),{timeZone:"utc"}));return this._format(V,f)}addCalendarYears(f,L){return this.addCalendarMonths(f,12*L)}addCalendarMonths(f,L){let V=this._createDateWithOverflow(this.getYear(f),this.getMonth(f)+L,this.getDate(f));return this.getMonth(V)!=((this.getMonth(f)+L)%12+12)%12&&(V=this._createDateWithOverflow(this.getYear(V),this.getMonth(V),0)),V}addCalendarDays(f,L){return this._createDateWithOverflow(this.getYear(f),this.getMonth(f),this.getDate(f)+L)}toIso8601(f){return[f.getUTCFullYear(),this._2digit(f.getUTCMonth()+1),this._2digit(f.getUTCDate())].join("-")}deserialize(f){if("string"==typeof f){if(!f)return null;if(g6.test(f)){let L=new Date(f);if(this.isValid(L))return L}}return super.deserialize(f)}isDateInstance(f){return f instanceof Date}isValid(f){return!isNaN(f.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(f,L,V){const z=new Date;return z.setFullYear(f,L,V),z.setHours(0,0,0,0),z}_2digit(f){return("00"+f).slice(-2)}_format(f,L){const V=new Date;return V.setUTCFullYear(L.getFullYear(),L.getMonth(),L.getDate()),V.setUTCHours(L.getHours(),L.getMinutes(),L.getSeconds(),L.getMilliseconds()),f.format(V)}}return N.\u0275fac=function(f){return new(f||N)(Pe(p6,8),Pe(ha))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const _6={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let v6=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[{provide:gi,useClass:y6}]}),N})(),b6=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[{provide:Fl,useValue:_6}],imports:[[v6]]}),N})(),_p=(()=>{class N{isErrorState(f,L){return!!(f&&f.invalid&&(f.touched||L&&L.submitted))}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();class w6{constructor(I,f,L){this._renderer=I,this.element=f,this.config=L,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const bF={enterDuration:225,exitDuration:150},oE=cg({passive:!0}),wF=["mousedown","touchstart"],CF=["mouseup","mouseleave","touchend","touchcancel"];class E6{constructor(I,f,L,V){this._target=I,this._ngZone=f,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,V.isBrowser&&(this._containerElement=gc(L))}fadeInRipple(I,f,L={}){const V=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),z=Object.assign(Object.assign({},bF),L.animation);L.centered&&(I=V.left+V.width/2,f=V.top+V.height/2);const Y=L.radius||function k6(N,I,f){const L=Math.max(Math.abs(N-f.left),Math.abs(N-f.right)),V=Math.max(Math.abs(I-f.top),Math.abs(I-f.bottom));return Math.sqrt(L*L+V*V)}(I,f,V),X=I-V.left,Q=f-V.top,J=z.enterDuration,te=document.createElement("div");te.classList.add("mat-ripple-element"),te.style.left=X-Y+"px",te.style.top=Q-Y+"px",te.style.height=2*Y+"px",te.style.width=2*Y+"px",null!=L.color&&(te.style.backgroundColor=L.color),te.style.transitionDuration=`${J}ms`,this._containerElement.appendChild(te),function D6(N){window.getComputedStyle(N).getPropertyValue("opacity")}(te),te.style.transform="scale(1)";const re=new w6(this,te,L);return re.state=0,this._activeRipples.add(re),L.persistent||(this._mostRecentTransientRipple=re),this._runTimeoutOutsideZone(()=>{const oe=re===this._mostRecentTransientRipple;re.state=1,!L.persistent&&(!oe||!this._isPointerDown)&&re.fadeOut()},J),re}fadeOutRipple(I){const f=this._activeRipples.delete(I);if(I===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!f)return;const L=I.element,V=Object.assign(Object.assign({},bF),I.config.animation);L.style.transitionDuration=`${V.exitDuration}ms`,L.style.opacity="0",I.state=2,this._runTimeoutOutsideZone(()=>{I.state=3,L.remove()},V.exitDuration)}fadeOutAll(){this._activeRipples.forEach(I=>I.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(I=>{I.config.persistent||I.fadeOut()})}setupTriggerEvents(I){const f=gc(I);!f||f===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=f,this._registerEvents(wF))}handleEvent(I){"mousedown"===I.type?this._onMousedown(I):"touchstart"===I.type?this._onTouchStart(I):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(CF),this._pointerUpEventsRegistered=!0)}_onMousedown(I){const f=rT(I),L=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!f&&!L&&(this._isPointerDown=!0,this.fadeInRipple(I.clientX,I.clientY,this._target.rippleConfig))}_onTouchStart(I){if(!this._target.rippleDisabled&&!iT(I)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const f=I.changedTouches;for(let L=0;L<f.length;L++)this.fadeInRipple(f[L].clientX,f[L].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._activeRipples.forEach(I=>{!I.config.persistent&&(1===I.state||I.config.terminateOnPointerUp&&0===I.state)&&I.fadeOut()}))}_runTimeoutOutsideZone(I,f=0){this._ngZone.runOutsideAngular(()=>setTimeout(I,f))}_registerEvents(I){this._ngZone.runOutsideAngular(()=>{I.forEach(f=>{this._triggerElement.addEventListener(f,this,oE)})})}_removeTriggerEvents(){this._triggerElement&&(wF.forEach(I=>{this._triggerElement.removeEventListener(I,this,oE)}),this._pointerUpEventsRegistered&&CF.forEach(I=>{this._triggerElement.removeEventListener(I,this,oE)}))}}const S6=new wt("mat-ripple-global-options");let aE=(()=>{class N{constructor(f,L,V,z,Y){this._elementRef=f,this._animationMode=Y,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=z||{},this._rippleRenderer=new E6(this,L,f,V)}get disabled(){return this._disabled}set disabled(f){f&&this.fadeOutAllNonPersistent(),this._disabled=f,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(f){this._trigger=f,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(f,L=0,V){return"number"==typeof f?this._rippleRenderer.fadeInRipple(f,L,Object.assign(Object.assign({},this.rippleConfig),V)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),f))}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(Un),he(ha),he(S6,8),he(Nu,8))},N.\u0275dir=Mt({type:N,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(f,L){2&f&&ri("mat-ripple-unbounded",L.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),N})(),EF=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[io],io]}),N})(),x6=(()=>{class N{constructor(f){this._animationMode=f,this.state="unchecked",this.disabled=!1}}return N.\u0275fac=function(f){return new(f||N)(he(Nu,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(f,L){2&f&&ri("mat-pseudo-checkbox-indeterminate","indeterminate"===L.state)("mat-pseudo-checkbox-checked","checked"===L.state)("mat-pseudo-checkbox-disabled",L.disabled)("_mat-animation-noopable","NoopAnimations"===L._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(f,L){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),N})(),M6=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[io]]}),N})();const DF=new wt("MAT_OPTION_PARENT_COMPONENT"),kF=new wt("MatOptgroup");let A6=0;class T6{constructor(I,f=!1){this.source=I,this.isUserInput=f}}let F6=(()=>{class N{constructor(f,L,V,z){this._element=f,this._changeDetectorRef=L,this._parent=V,this.group=z,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+A6++,this.onSelectionChange=new Ut,this._stateChanges=new Ke}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(f){this._disabled=Mr(f)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(f,L){const V=this._getHostElement();"function"==typeof V.focus&&V.focus(L)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(f){(13===f.keyCode||32===f.keyCode)&&!Ml(f)&&(this._selectViaInteraction(),f.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const f=this.viewValue;f!==this._mostRecentViewValue&&(this._mostRecentViewValue=f,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(f=!1){this.onSelectionChange.emit(new T6(this,f))}}return N.\u0275fac=function(f){w_()},N.\u0275dir=Mt({type:N,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),N})(),SF=(()=>{class N extends F6{constructor(f,L,V,z){super(f,L,V,z)}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(_o),he(DF,8),he(kF,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(f,L){1&f&&hn("click",function(){return L._selectViaInteraction()})("keydown",function(z){return L._handleKeydown(z)}),2&f&&(Sl("id",L.id),Kn("tabindex",L._getTabIndex())("aria-selected",L._getAriaSelected())("aria-disabled",L.disabled.toString()),ri("mat-selected",L.selected)("mat-option-multiple",L.multiple)("mat-active",L.active)("mat-option-disabled",L.disabled))},exportAs:["matOption"],features:[gn],ngContentSelectors:d6,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(f,L){1&f&&(uc(),lr(0,c6,1,2,"mat-pseudo-checkbox",0),mt(1,"span",1),no(2),vt(),lr(3,u6,2,1,"span",2),Nr(4,"div",3)),2&f&&(kt("ngIf",L.multiple),it(3),kt("ngIf",L.group&&L.group._inert),it(1),kt("matRippleTrigger",L._getHostElement())("matRippleDisabled",L.disabled||L.disableRipple))},directives:[x6,lp,aE],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),N})();function xF(N,I,f){if(f.length){let L=I.toArray(),V=f.toArray(),z=0;for(let Y=0;Y<N+1;Y++)L[Y].group&&L[Y].group===V[z]&&z++;return z}return 0}let sE=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[EF,up,io,M6]]}),N})();const R6=["mat-button",""],O6=["*"],N6=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],L6=Vv(nE(_F(class{constructor(N){this._elementRef=N}})));let Cg=(()=>{class N extends L6{constructor(f,L,V){super(f),this._focusMonitor=L,this._animationMode=V,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const z of N6)this._hasHostAttributes(z)&&this._getHostElement().classList.add(z);f.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(f,L){f?this._focusMonitor.focusVia(this._getHostElement(),f,L):this._getHostElement().focus(L)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...f){return f.some(L=>this._getHostElement().hasAttribute(L))}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(fv),he(Nu,8))},N.\u0275cmp=Rr({type:N,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(f,L){if(1&f&&ro(aE,5),2&f){let V;mr(V=gr())&&(L.ripple=V.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(f,L){2&f&&(Kn("disabled",L.disabled||null),ri("_mat-animation-noopable","NoopAnimations"===L._animationMode)("mat-button-disabled",L.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[gn],attrs:R6,ngContentSelectors:O6,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(f,L){1&f&&(uc(),mt(0,"span",0),no(1),vt(),Nr(2,"span",1)(3,"span",2)),2&f&&(it(2),ri("mat-button-ripple-round",L.isRoundButton||L.isIconButton),kt("matRippleDisabled",L._isRippleDisabled())("matRippleCentered",L.isIconButton)("matRippleTrigger",L._getHostElement()))},directives:[aE],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),N})(),MF=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[EF,io],io]}),N})();function Bv(...N){return function V6(){return Fc(1)}()($a(N,Ic(N)))}function vc(...N){const I=Ic(N);return _t((f,L)=>{(I?Bv(N,f,I):Bv(N,f)).subscribe(L)})}const{isArray:B6}=Array,{getPrototypeOf:H6,prototype:j6,keys:z6}=Object;function W6(N,I){return N.reduce((f,L,V)=>(f[L]=I[V],f),{})}function lE(...N){const I=function ed(N){return we(Qs(N))?N.pop():void 0}(N),{args:f,keys:L}=function U6(N){if(1===N.length){const I=N[0];if(B6(I))return{args:I,keys:null};if(function $6(N){return N&&"object"==typeof N&&H6(N)===j6}(I)){const f=z6(I);return{args:f.map(L=>I[L]),keys:f}}}return{args:N,keys:null}}(N),V=new Gt(z=>{const{length:Y}=f;if(!Y)return void z.complete();const X=new Array(Y);let Q=Y,J=Y;for(let te=0;te<Y;te++){let re=!1;yr(f[te]).subscribe(new Yt(z,oe=>{re||(re=!0,J--),X[te]=oe},()=>Q--,void 0,()=>{(!Q||!re)&&(J||z.next(L?W6(L,X):X),z.complete())}))}});return I?V.pipe(uT(I)):V}let AF=(()=>{class N{constructor(f,L){this._renderer=f,this._elementRef=L,this.onChange=V=>{},this.onTouched=()=>{}}setProperty(f,L){this._renderer.setProperty(this._elementRef.nativeElement,f,L)}registerOnTouched(f){this.onTouched=f}registerOnChange(f){this.onChange=f}setDisabledState(f){this.setProperty("disabled",f)}}return N.\u0275fac=function(f){return new(f||N)(he(sf),he(Zn))},N.\u0275dir=Mt({type:N}),N})(),vf=(()=>{class N extends AF{}return N.\u0275fac=function(){let I;return function(L){return(I||(I=Dr(N)))(L||N)}}(),N.\u0275dir=Mt({type:N,features:[gn]}),N})();const pa=new wt("NgValueAccessor"),Y6={provide:pa,useExisting:kn(()=>Hv),multi:!0},q6=new wt("CompositionEventMode");let Hv=(()=>{class N extends AF{constructor(f,L,V){super(f,L),this._compositionMode=V,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function K6(){const N=xl()?xl().getUserAgent():"";return/android (\d+)/.test(N.toLowerCase())}())}writeValue(f){this.setProperty("value",null==f?"":f)}_handleInput(f){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(f)}_compositionStart(){this._composing=!0}_compositionEnd(f){this._composing=!1,this._compositionMode&&this.onChange(f)}}return N.\u0275fac=function(f){return new(f||N)(he(sf),he(Zn),he(q6,8))},N.\u0275dir=Mt({type:N,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(f,L){1&f&&hn("input",function(z){return L._handleInput(z.target.value)})("blur",function(){return L.onTouched()})("compositionstart",function(){return L._compositionStart()})("compositionend",function(z){return L._compositionEnd(z.target.value)})},features:[Qn([Y6]),gn]}),N})();function Lu(N){return null==N||0===N.length}function FF(N){return null!=N&&"number"==typeof N.length}const Xi=new wt("NgValidators"),Vu=new wt("NgAsyncValidators"),X6=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Bu{static min(I){return function IF(N){return I=>{if(Lu(I.value)||Lu(N))return null;const f=parseFloat(I.value);return!isNaN(f)&&f<N?{min:{min:N,actual:I.value}}:null}}(I)}static max(I){return function RF(N){return I=>{if(Lu(I.value)||Lu(N))return null;const f=parseFloat(I.value);return!isNaN(f)&&f>N?{max:{max:N,actual:I.value}}:null}}(I)}static required(I){return function OF(N){return Lu(N.value)?{required:!0}:null}(I)}static requiredTrue(I){return function PF(N){return!0===N.value?null:{required:!0}}(I)}static email(I){return function NF(N){return Lu(N.value)||X6.test(N.value)?null:{email:!0}}(I)}static minLength(I){return function LF(N){return I=>Lu(I.value)||!FF(I.value)?null:I.value.length<N?{minlength:{requiredLength:N,actualLength:I.value.length}}:null}(I)}static maxLength(I){return function VF(N){return I=>FF(I.value)&&I.value.length>N?{maxlength:{requiredLength:N,actualLength:I.value.length}}:null}(I)}static pattern(I){return function BF(N){if(!N)return jv;let I,f;return"string"==typeof N?(f="","^"!==N.charAt(0)&&(f+="^"),f+=N,"$"!==N.charAt(N.length-1)&&(f+="$"),I=new RegExp(f)):(f=N.toString(),I=N),L=>{if(Lu(L.value))return null;const V=L.value;return I.test(V)?null:{pattern:{requiredPattern:f,actualValue:V}}}}(I)}static nullValidator(I){return null}static compose(I){return WF(I)}static composeAsync(I){return GF(I)}}function jv(N){return null}function HF(N){return null!=N}function jF(N){const I=C_(N)?$a(N):N;return VS(I),I}function zF(N){let I={};return N.forEach(f=>{I=null!=f?Object.assign(Object.assign({},I),f):I}),0===Object.keys(I).length?null:I}function UF(N,I){return I.map(f=>f(N))}function $F(N){return N.map(I=>function Q6(N){return!N.validate}(I)?I:f=>I.validate(f))}function WF(N){if(!N)return null;const I=N.filter(HF);return 0==I.length?null:function(f){return zF(UF(f,I))}}function cE(N){return null!=N?WF($F(N)):null}function GF(N){if(!N)return null;const I=N.filter(HF);return 0==I.length?null:function(f){return lE(UF(f,I).map(jF)).pipe(Zt(zF))}}function uE(N){return null!=N?GF($F(N)):null}function YF(N,I){return null===N?[I]:Array.isArray(N)?[...N,I]:[N,I]}function KF(N){return N._rawValidators}function qF(N){return N._rawAsyncValidators}function dE(N){return N?Array.isArray(N)?N:[N]:[]}function zv(N,I){return Array.isArray(N)?N.includes(I):N===I}function XF(N,I){const f=dE(I);return dE(N).forEach(V=>{zv(f,V)||f.push(V)}),f}function QF(N,I){return dE(I).filter(f=>!zv(N,f))}class ZF{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(I){this._rawValidators=I||[],this._composedValidatorFn=cE(this._rawValidators)}_setAsyncValidators(I){this._rawAsyncValidators=I||[],this._composedAsyncValidatorFn=uE(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(I){this._onDestroyCallbacks.push(I)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(I=>I()),this._onDestroyCallbacks=[]}reset(I){this.control&&this.control.reset(I)}hasError(I,f){return!!this.control&&this.control.hasError(I,f)}getError(I,f){return this.control?this.control.getError(I,f):null}}class $s extends ZF{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Po extends ZF{get formDirective(){return null}get path(){return null}}class JF{constructor(I){this._cd=I}is(I){var f,L,V;return"submitted"===I?!!(null===(f=this._cd)||void 0===f?void 0:f.submitted):!!(null===(V=null===(L=this._cd)||void 0===L?void 0:L.control)||void 0===V?void 0:V[I])}}let eI=(()=>{class N extends JF{constructor(f){super(f)}}return N.\u0275fac=function(f){return new(f||N)(he($s,2))},N.\u0275dir=Mt({type:N,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(f,L){2&f&&ri("ng-untouched",L.is("untouched"))("ng-touched",L.is("touched"))("ng-pristine",L.is("pristine"))("ng-dirty",L.is("dirty"))("ng-valid",L.is("valid"))("ng-invalid",L.is("invalid"))("ng-pending",L.is("pending"))},features:[gn]}),N})(),fE=(()=>{class N extends JF{constructor(f){super(f)}}return N.\u0275fac=function(f){return new(f||N)(he(Po,10))},N.\u0275dir=Mt({type:N,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(f,L){2&f&&ri("ng-untouched",L.is("untouched"))("ng-touched",L.is("touched"))("ng-pristine",L.is("pristine"))("ng-dirty",L.is("dirty"))("ng-valid",L.is("valid"))("ng-invalid",L.is("invalid"))("ng-pending",L.is("pending"))("ng-submitted",L.is("submitted"))},features:[gn]}),N})();function Eg(N,I){mE(N,I),I.valueAccessor.writeValue(N.value),function oz(N,I){I.valueAccessor.registerOnChange(f=>{N._pendingValue=f,N._pendingChange=!0,N._pendingDirty=!0,"change"===N.updateOn&&nI(N,I)})}(N,I),function sz(N,I){const f=(L,V)=>{I.valueAccessor.writeValue(L),V&&I.viewToModelUpdate(L)};N.registerOnChange(f),I._registerOnDestroy(()=>{N._unregisterOnChange(f)})}(N,I),function az(N,I){I.valueAccessor.registerOnTouched(()=>{N._pendingTouched=!0,"blur"===N.updateOn&&N._pendingChange&&nI(N,I),"submit"!==N.updateOn&&N.markAsTouched()})}(N,I),function iz(N,I){if(I.valueAccessor.setDisabledState){const f=L=>{I.valueAccessor.setDisabledState(L)};N.registerOnDisabledChange(f),I._registerOnDestroy(()=>{N._unregisterOnDisabledChange(f)})}}(N,I)}function Wv(N,I,f=!0){const L=()=>{};I.valueAccessor&&(I.valueAccessor.registerOnChange(L),I.valueAccessor.registerOnTouched(L)),Yv(N,I),N&&(I._invokeOnDestroyCallbacks(),N._registerOnCollectionChange(()=>{}))}function Gv(N,I){N.forEach(f=>{f.registerOnValidatorChange&&f.registerOnValidatorChange(I)})}function mE(N,I){const f=KF(N);null!==I.validator?N.setValidators(YF(f,I.validator)):"function"==typeof f&&N.setValidators([f]);const L=qF(N);null!==I.asyncValidator?N.setAsyncValidators(YF(L,I.asyncValidator)):"function"==typeof L&&N.setAsyncValidators([L]);const V=()=>N.updateValueAndValidity();Gv(I._rawValidators,V),Gv(I._rawAsyncValidators,V)}function Yv(N,I){let f=!1;if(null!==N){if(null!==I.validator){const V=KF(N);if(Array.isArray(V)&&V.length>0){const z=V.filter(Y=>Y!==I.validator);z.length!==V.length&&(f=!0,N.setValidators(z))}}if(null!==I.asyncValidator){const V=qF(N);if(Array.isArray(V)&&V.length>0){const z=V.filter(Y=>Y!==I.asyncValidator);z.length!==V.length&&(f=!0,N.setAsyncValidators(z))}}}const L=()=>{};return Gv(I._rawValidators,L),Gv(I._rawAsyncValidators,L),f}function nI(N,I){N._pendingDirty&&N.markAsDirty(),N.setValue(N._pendingValue,{emitModelToViewChange:!1}),I.viewToModelUpdate(N._pendingValue),N._pendingChange=!1}function rI(N,I){mE(N,I)}function oI(N,I){N._syncPendingControls(),I.forEach(f=>{const L=f.control;"submit"===L.updateOn&&L._pendingChange&&(f.viewToModelUpdate(L._pendingValue),L._pendingChange=!1)})}function _E(N,I){const f=N.indexOf(I);f>-1&&N.splice(f,1)}const Dg="VALID",Kv="INVALID",vp="PENDING",kg="DISABLED";function bE(N){return(qv(N)?N.validators:N)||null}function aI(N){return Array.isArray(N)?cE(N):N||null}function wE(N,I){return(qv(I)?I.asyncValidators:N)||null}function sI(N){return Array.isArray(N)?uE(N):N||null}function qv(N){return null!=N&&!Array.isArray(N)&&"object"==typeof N}const CE=N=>N instanceof DE,Xv=N=>N instanceof Qv,lI=N=>N instanceof fI;function cI(N){return CE(N)?N.value:N.getRawValue()}function uI(N,I){const f=Xv(N),L=N.controls;if(!(f?Object.keys(L):L).length)throw new Ot(1e3,"");if(!L[I])throw new Ot(1001,"")}function dI(N,I){Xv(N),N._forEachChild((L,V)=>{if(void 0===I[V])throw new Ot(1002,"")})}class EE{constructor(I,f){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=I,this._rawAsyncValidators=f,this._composedValidatorFn=aI(this._rawValidators),this._composedAsyncValidatorFn=sI(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(I){this._rawValidators=this._composedValidatorFn=I}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(I){this._rawAsyncValidators=this._composedAsyncValidatorFn=I}get parent(){return this._parent}get valid(){return this.status===Dg}get invalid(){return this.status===Kv}get pending(){return this.status==vp}get disabled(){return this.status===kg}get enabled(){return this.status!==kg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(I){this._rawValidators=I,this._composedValidatorFn=aI(I)}setAsyncValidators(I){this._rawAsyncValidators=I,this._composedAsyncValidatorFn=sI(I)}addValidators(I){this.setValidators(XF(I,this._rawValidators))}addAsyncValidators(I){this.setAsyncValidators(XF(I,this._rawAsyncValidators))}removeValidators(I){this.setValidators(QF(I,this._rawValidators))}removeAsyncValidators(I){this.setAsyncValidators(QF(I,this._rawAsyncValidators))}hasValidator(I){return zv(this._rawValidators,I)}hasAsyncValidator(I){return zv(this._rawAsyncValidators,I)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(I={}){this.touched=!0,this._parent&&!I.onlySelf&&this._parent.markAsTouched(I)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(I=>I.markAllAsTouched())}markAsUntouched(I={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(f=>{f.markAsUntouched({onlySelf:!0})}),this._parent&&!I.onlySelf&&this._parent._updateTouched(I)}markAsDirty(I={}){this.pristine=!1,this._parent&&!I.onlySelf&&this._parent.markAsDirty(I)}markAsPristine(I={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(f=>{f.markAsPristine({onlySelf:!0})}),this._parent&&!I.onlySelf&&this._parent._updatePristine(I)}markAsPending(I={}){this.status=vp,!1!==I.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!I.onlySelf&&this._parent.markAsPending(I)}disable(I={}){const f=this._parentMarkedDirty(I.onlySelf);this.status=kg,this.errors=null,this._forEachChild(L=>{L.disable(Object.assign(Object.assign({},I),{onlySelf:!0}))}),this._updateValue(),!1!==I.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},I),{skipPristineCheck:f})),this._onDisabledChange.forEach(L=>L(!0))}enable(I={}){const f=this._parentMarkedDirty(I.onlySelf);this.status=Dg,this._forEachChild(L=>{L.enable(Object.assign(Object.assign({},I),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:I.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},I),{skipPristineCheck:f})),this._onDisabledChange.forEach(L=>L(!1))}_updateAncestors(I){this._parent&&!I.onlySelf&&(this._parent.updateValueAndValidity(I),I.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(I){this._parent=I}updateValueAndValidity(I={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Dg||this.status===vp)&&this._runAsyncValidator(I.emitEvent)),!1!==I.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!I.onlySelf&&this._parent.updateValueAndValidity(I)}_updateTreeValidity(I={emitEvent:!0}){this._forEachChild(f=>f._updateTreeValidity(I)),this.updateValueAndValidity({onlySelf:!0,emitEvent:I.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?kg:Dg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(I){if(this.asyncValidator){this.status=vp,this._hasOwnPendingAsyncValidator=!0;const f=jF(this.asyncValidator(this));this._asyncValidationSubscription=f.subscribe(L=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(L,{emitEvent:I})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(I,f={}){this.errors=I,this._updateControlsErrors(!1!==f.emitEvent)}get(I){return function dz(N,I,f){if(null==I||(Array.isArray(I)||(I=I.split(f)),Array.isArray(I)&&0===I.length))return null;let L=N;return I.forEach(V=>{L=Xv(L)?L.controls.hasOwnProperty(V)?L.controls[V]:null:lI(L)&&L.at(V)||null}),L}(this,I,".")}getError(I,f){const L=f?this.get(f):this;return L&&L.errors?L.errors[I]:null}hasError(I,f){return!!this.getError(I,f)}get root(){let I=this;for(;I._parent;)I=I._parent;return I}_updateControlsErrors(I){this.status=this._calculateStatus(),I&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(I)}_initObservables(){this.valueChanges=new Ut,this.statusChanges=new Ut}_calculateStatus(){return this._allControlsDisabled()?kg:this.errors?Kv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vp)?vp:this._anyControlsHaveStatus(Kv)?Kv:Dg}_anyControlsHaveStatus(I){return this._anyControls(f=>f.status===I)}_anyControlsDirty(){return this._anyControls(I=>I.dirty)}_anyControlsTouched(){return this._anyControls(I=>I.touched)}_updatePristine(I={}){this.pristine=!this._anyControlsDirty(),this._parent&&!I.onlySelf&&this._parent._updatePristine(I)}_updateTouched(I={}){this.touched=this._anyControlsTouched(),this._parent&&!I.onlySelf&&this._parent._updateTouched(I)}_isBoxedValue(I){return"object"==typeof I&&null!==I&&2===Object.keys(I).length&&"value"in I&&"disabled"in I}_registerOnCollectionChange(I){this._onCollectionChange=I}_setUpdateStrategy(I){qv(I)&&null!=I.updateOn&&(this._updateOn=I.updateOn)}_parentMarkedDirty(I){return!I&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class DE extends EE{constructor(I=null,f,L){super(bE(f),wE(L,f)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(I),this._setUpdateStrategy(f),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qv(f)&&f.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(I)?I.value:I)}setValue(I,f={}){this.value=this._pendingValue=I,this._onChange.length&&!1!==f.emitModelToViewChange&&this._onChange.forEach(L=>L(this.value,!1!==f.emitViewToModelChange)),this.updateValueAndValidity(f)}patchValue(I,f={}){this.setValue(I,f)}reset(I=this.defaultValue,f={}){this._applyFormState(I),this.markAsPristine(f),this.markAsUntouched(f),this.setValue(this.value,f),this._pendingChange=!1}_updateValue(){}_anyControls(I){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(I){this._onChange.push(I)}_unregisterOnChange(I){_E(this._onChange,I)}registerOnDisabledChange(I){this._onDisabledChange.push(I)}_unregisterOnDisabledChange(I){_E(this._onDisabledChange,I)}_forEachChild(I){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(I){this._isBoxedValue(I)?(this.value=this._pendingValue=I.value,I.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=I}}class Qv extends EE{constructor(I,f,L){super(bE(f),wE(L,f)),this.controls=I,this._initObservables(),this._setUpdateStrategy(f),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(I,f){return this.controls[I]?this.controls[I]:(this.controls[I]=f,f.setParent(this),f._registerOnCollectionChange(this._onCollectionChange),f)}addControl(I,f,L={}){this.registerControl(I,f),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}removeControl(I,f={}){this.controls[I]&&this.controls[I]._registerOnCollectionChange(()=>{}),delete this.controls[I],this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}setControl(I,f,L={}){this.controls[I]&&this.controls[I]._registerOnCollectionChange(()=>{}),delete this.controls[I],f&&this.registerControl(I,f),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}contains(I){return this.controls.hasOwnProperty(I)&&this.controls[I].enabled}setValue(I,f={}){dI(this,I),Object.keys(I).forEach(L=>{uI(this,L),this.controls[L].setValue(I[L],{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f)}patchValue(I,f={}){null!=I&&(Object.keys(I).forEach(L=>{this.controls[L]&&this.controls[L].patchValue(I[L],{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f))}reset(I={},f={}){this._forEachChild((L,V)=>{L.reset(I[V],{onlySelf:!0,emitEvent:f.emitEvent})}),this._updatePristine(f),this._updateTouched(f),this.updateValueAndValidity(f)}getRawValue(){return this._reduceChildren({},(I,f,L)=>(I[L]=cI(f),I))}_syncPendingControls(){let I=this._reduceChildren(!1,(f,L)=>!!L._syncPendingControls()||f);return I&&this.updateValueAndValidity({onlySelf:!0}),I}_forEachChild(I){Object.keys(this.controls).forEach(f=>{const L=this.controls[f];L&&I(L,f)})}_setUpControls(){this._forEachChild(I=>{I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(I){for(const f of Object.keys(this.controls)){const L=this.controls[f];if(this.contains(f)&&I(L))return!0}return!1}_reduceValue(){return this._reduceChildren({},(I,f,L)=>((f.enabled||this.disabled)&&(I[L]=f.value),I))}_reduceChildren(I,f){let L=I;return this._forEachChild((V,z)=>{L=f(L,V,z)}),L}_allControlsDisabled(){for(const I of Object.keys(this.controls))if(this.controls[I].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class fI extends EE{constructor(I,f,L){super(bE(f),wE(L,f)),this.controls=I,this._initObservables(),this._setUpdateStrategy(f),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(I){return this.controls[I]}push(I,f={}){this.controls.push(I),this._registerControl(I),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}insert(I,f,L={}){this.controls.splice(I,0,f),this._registerControl(f),this.updateValueAndValidity({emitEvent:L.emitEvent})}removeAt(I,f={}){this.controls[I]&&this.controls[I]._registerOnCollectionChange(()=>{}),this.controls.splice(I,1),this.updateValueAndValidity({emitEvent:f.emitEvent})}setControl(I,f,L={}){this.controls[I]&&this.controls[I]._registerOnCollectionChange(()=>{}),this.controls.splice(I,1),f&&(this.controls.splice(I,0,f),this._registerControl(f)),this.updateValueAndValidity({emitEvent:L.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(I,f={}){dI(this,I),I.forEach((L,V)=>{uI(this,V),this.at(V).setValue(L,{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f)}patchValue(I,f={}){null!=I&&(I.forEach((L,V)=>{this.at(V)&&this.at(V).patchValue(L,{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f))}reset(I=[],f={}){this._forEachChild((L,V)=>{L.reset(I[V],{onlySelf:!0,emitEvent:f.emitEvent})}),this._updatePristine(f),this._updateTouched(f),this.updateValueAndValidity(f)}getRawValue(){return this.controls.map(I=>cI(I))}clear(I={}){this.controls.length<1||(this._forEachChild(f=>f._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:I.emitEvent}))}_syncPendingControls(){let I=this.controls.reduce((f,L)=>!!L._syncPendingControls()||f,!1);return I&&this.updateValueAndValidity({onlySelf:!0}),I}_forEachChild(I){this.controls.forEach((f,L)=>{I(f,L)})}_updateValue(){this.value=this.controls.filter(I=>I.enabled||this.disabled).map(I=>I.value)}_anyControls(I){return this.controls.some(f=>f.enabled&&I(f))}_setUpControls(){this._forEachChild(I=>this._registerControl(I))}_allControlsDisabled(){for(const I of this.controls)if(I.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(I){I.setParent(this),I._registerOnCollectionChange(this._onCollectionChange)}}const fz={provide:Po,useExisting:kn(()=>bc)},Sg=(()=>Promise.resolve(null))();let bc=(()=>{class N extends Po{constructor(f,L){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ut,this.form=new Qv({},cE(f),uE(L))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(f){Sg.then(()=>{const L=this._findContainer(f.path);f.control=L.registerControl(f.name,f.control),Eg(f.control,f),f.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(f)})}getControl(f){return this.form.get(f.path)}removeControl(f){Sg.then(()=>{const L=this._findContainer(f.path);L&&L.removeControl(f.name),this._directives.delete(f)})}addFormGroup(f){Sg.then(()=>{const L=this._findContainer(f.path),V=new Qv({});rI(V,f),L.registerControl(f.name,V),V.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(f){Sg.then(()=>{const L=this._findContainer(f.path);L&&L.removeControl(f.name)})}getFormGroup(f){return this.form.get(f.path)}updateModel(f,L){Sg.then(()=>{this.form.get(f.path).setValue(L)})}setValue(f){this.control.setValue(f)}onSubmit(f){return this.submitted=!0,oI(this.form,this._directives),this.ngSubmit.emit(f),!1}onReset(){this.resetForm()}resetForm(f){this.form.reset(f),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(f){return f.pop(),f.length?this.form.get(f):this.form}}return N.\u0275fac=function(f){return new(f||N)(he(Xi,10),he(Vu,10))},N.\u0275dir=Mt({type:N,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(f,L){1&f&&hn("submit",function(z){return L.onSubmit(z)})("reset",function(){return L.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Qn([fz]),gn]}),N})(),yI=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),N})(),vI=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})();const kE=new wt("NgModelWithFormControlWarning"),bz={provide:Po,useExisting:kn(()=>wc)};let wc=(()=>{class N extends Po{constructor(f,L){super(),this.validators=f,this.asyncValidators=L,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ut,this._setValidators(f),this._setAsyncValidators(L)}ngOnChanges(f){this._checkFormPresent(),f.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Yv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(f){const L=this.form.get(f.path);return Eg(L,f),L.updateValueAndValidity({emitEvent:!1}),this.directives.push(f),L}getControl(f){return this.form.get(f.path)}removeControl(f){Wv(f.control||null,f,!1),_E(this.directives,f)}addFormGroup(f){this._setUpFormContainer(f)}removeFormGroup(f){this._cleanUpFormContainer(f)}getFormGroup(f){return this.form.get(f.path)}addFormArray(f){this._setUpFormContainer(f)}removeFormArray(f){this._cleanUpFormContainer(f)}getFormArray(f){return this.form.get(f.path)}updateModel(f,L){this.form.get(f.path).setValue(L)}onSubmit(f){return this.submitted=!0,oI(this.form,this.directives),this.ngSubmit.emit(f),!1}onReset(){this.resetForm()}resetForm(f){this.form.reset(f),this.submitted=!1}_updateDomValue(){this.directives.forEach(f=>{const L=f.control,V=this.form.get(f.path);L!==V&&(Wv(L||null,f),CE(V)&&(Eg(V,f),f.control=V))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(f){const L=this.form.get(f.path);rI(L,f),L.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(f){if(this.form){const L=this.form.get(f.path);L&&function lz(N,I){return Yv(N,I)}(L,f)&&L.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){mE(this.form,this),this._oldForm&&Yv(this._oldForm,this)}_checkFormPresent(){}}return N.\u0275fac=function(f){return new(f||N)(he(Xi,10),he(Vu,10))},N.\u0275dir=Mt({type:N,selectors:[["","formGroup",""]],hostBindings:function(f,L){1&f&&hn("submit",function(z){return L.onSubmit(z)})("reset",function(){return L.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Qn([bz]),gn,ai]}),N})();const Ez={provide:$s,useExisting:kn(()=>ME)};let ME=(()=>{class N extends $s{constructor(f,L,V,z,Y){super(),this._ngModelWarningConfig=Y,this._added=!1,this.update=new Ut,this._ngModelWarningSent=!1,this._parent=f,this._setValidators(L),this._setAsyncValidators(V),this.valueAccessor=function yE(N,I){if(!I)return null;let f,L,V;return Array.isArray(I),I.forEach(z=>{z.constructor===Hv?f=z:function uz(N){return Object.getPrototypeOf(N.constructor)===vf}(z)?L=z:V=z}),V||L||f||null}(0,z)}set isDisabled(f){}ngOnChanges(f){this._added||this._setUpControl(),function gE(N,I){if(!N.hasOwnProperty("model"))return!1;const f=N.model;return!!f.isFirstChange()||!Object.is(I,f.currentValue)}(f,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(f){this.viewModel=f,this.update.emit(f)}get path(){return function $v(N,I){return[...I.path,N]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return N._ngModelWarningSentOnce=!1,N.\u0275fac=function(f){return new(f||N)(he(Po,13),he(Xi,10),he(Vu,10),he(pa,10),he(kE,8))},N.\u0275dir=Mt({type:N,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Qn([Ez]),gn,ai]}),N})(),PI=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[vI]]}),N})(),Bz=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[PI]}),N})(),NI=(()=>{class N{static withConfig(f){return{ngModule:N,providers:[{provide:kE,useValue:f.warnOnNgModelWithFormControl}]}}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[PI]}),N})(),jz=(()=>{class N{group(f,L=null){const V=this._reduceControls(f);let X,z=null,Y=null;return null!=L&&(function Hz(N){return void 0!==N.asyncValidators||void 0!==N.validators||void 0!==N.updateOn}(L)?(z=null!=L.validators?L.validators:null,Y=null!=L.asyncValidators?L.asyncValidators:null,X=null!=L.updateOn?L.updateOn:void 0):(z=null!=L.validator?L.validator:null,Y=null!=L.asyncValidator?L.asyncValidator:null)),new Qv(V,{asyncValidators:Y,updateOn:X,validators:z})}control(f,L,V){return new DE(f,L,V)}array(f,L,V){const z=f.map(Y=>this._createControl(Y));return new fI(z,L,V)}_reduceControls(f){const L={};return Object.keys(f).forEach(V=>{L[V]=this._createControl(f[V])}),L}_createControl(f){return CE(f)||Xv(f)||lI(f)?f:Array.isArray(f)?this.control(f[0],f.length>1?f[1]:null,f.length>2?f[2]:null):this.control(f)}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:NI}),N})();const zz=["connectionContainer"],Uz=["inputContainer"],$z=["label"];function Wz(N,I){1&N&&(jm(0),mt(1,"div",14),Nr(2,"div",15)(3,"div",16)(4,"div",17),vt(),mt(5,"div",18),Nr(6,"div",15)(7,"div",16)(8,"div",17),vt(),zm())}function Gz(N,I){if(1&N){const f=cc();mt(0,"div",19),hn("cdkObserveContent",function(){return si(f),Bn().updateOutlineGap()}),no(1,1),vt()}2&N&&kt("cdkObserveContentDisabled","outline"!=Bn().appearance)}function Yz(N,I){if(1&N&&(jm(0),no(1,2),mt(2,"span"),br(3),vt(),zm()),2&N){const f=Bn(2);it(3),$r(f._control.placeholder)}}function Kz(N,I){1&N&&no(0,3,["*ngSwitchCase","true"])}function qz(N,I){1&N&&(mt(0,"span",23),br(1," *"),vt())}function Xz(N,I){if(1&N){const f=cc();mt(0,"label",20,21),hn("cdkObserveContent",function(){return si(f),Bn().updateOutlineGap()}),lr(2,Yz,4,1,"ng-container",12),lr(3,Kz,1,0,"ng-content",12),lr(4,qz,2,0,"span",22),vt()}if(2&N){const f=Bn();ri("mat-empty",f._control.empty&&!f._shouldAlwaysFloat())("mat-form-field-empty",f._control.empty&&!f._shouldAlwaysFloat())("mat-accent","accent"==f.color)("mat-warn","warn"==f.color),kt("cdkObserveContentDisabled","outline"!=f.appearance)("id",f._labelId)("ngSwitch",f._hasLabel()),Kn("for",f._control.id)("aria-owns",f._control.id),it(2),kt("ngSwitchCase",!1),it(1),kt("ngSwitchCase",!0),it(1),kt("ngIf",!f.hideRequiredMarker&&f._control.required&&!f._control.disabled)}}function Qz(N,I){1&N&&(mt(0,"div",24),no(1,4),vt())}function Zz(N,I){if(1&N&&(mt(0,"div",25),Nr(1,"span",26),vt()),2&N){const f=Bn();it(1),ri("mat-accent","accent"==f.color)("mat-warn","warn"==f.color)}}function Jz(N,I){1&N&&(mt(0,"div"),no(1,5),vt()),2&N&&kt("@transitionMessages",Bn()._subscriptAnimationState)}function eU(N,I){if(1&N&&(mt(0,"div",30),br(1),vt()),2&N){const f=Bn(2);kt("id",f._hintLabelId),it(1),$r(f.hintLabel)}}function tU(N,I){if(1&N&&(mt(0,"div",27),lr(1,eU,2,2,"div",28),no(2,6),Nr(3,"div",29),no(4,7),vt()),2&N){const f=Bn();kt("@transitionMessages",f._subscriptAnimationState),it(1),kt("ngIf",f.hintLabel)}}const nU=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],rU=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],iU=new wt("MatError"),oU={transitionMessages:mp("transitionMessages",[Ru("enter",qi({opacity:1,transform:"translateY(0%)"})),Al("void => enter",[qi({opacity:0,transform:"translateY(-5px)"}),_c("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let xg=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N}),N})();const aU=new wt("MatHint");let Zv=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["mat-label"]]}),N})(),sU=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["mat-placeholder"]]}),N})();const lU=new wt("MatPrefix"),LI=new wt("MatSuffix");let cU=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["","matSuffix",""]],features:[Qn([{provide:LI,useExisting:N}])]}),N})(),VI=0;const dU=Vv(class{constructor(N){this._elementRef=N}},"primary"),fU=new wt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Mg=new wt("MatFormField");let HI=(()=>{class N extends dU{constructor(f,L,V,z,Y,X,Q){super(f),this._changeDetectorRef=L,this._dir=V,this._defaults=z,this._platform=Y,this._ngZone=X,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Ke,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+VI++,this._labelId="mat-form-field-label-"+VI++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==Q,this.appearance=z&&z.appearance?z.appearance:"legacy",this._hideRequiredMarker=!(!z||null==z.hideRequiredMarker)&&z.hideRequiredMarker}get appearance(){return this._appearance}set appearance(f){const L=this._appearance;this._appearance=f||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&L!==f&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(f){this._hideRequiredMarker=Mr(f)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(f){this._hintLabel=f,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(f){f!==this._floatLabel&&(this._floatLabel=f||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(f){this._explicitFormFieldControl=f}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const f=this._control;f.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${f.controlType}`),f.stateChanges.pipe(vc(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),f.ngControl&&f.ngControl.valueChanges&&f.ngControl.valueChanges.pipe(Pa(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Pa(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),oo(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(vc(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(vc(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Pa(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(f){const L=this._control?this._control.ngControl:null;return L&&L[f]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,hv(this._label.nativeElement,"transitionend").pipe(xn(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let f=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&f.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const L=this._hintChildren?this._hintChildren.find(z=>"start"===z.align):null,V=this._hintChildren?this._hintChildren.find(z=>"end"===z.align):null;L?f.push(L.id):this._hintLabel&&f.push(this._hintLabelId),V&&f.push(V.id)}else this._errorChildren&&f.push(...this._errorChildren.map(L=>L.id));this._control.setDescribedByIds(f)}}_validateControlChild(){}updateOutlineGap(){const f=this._label?this._label.nativeElement:null,L=this._connectionContainerRef.nativeElement,V=".mat-form-field-outline-start",z=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!f||!f.children.length||!f.textContent.trim()){const te=L.querySelectorAll(`${V}, ${z}`);for(let re=0;re<te.length;re++)te[re].style.width="0";return}if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let Y=0,X=0;const Q=L.querySelectorAll(V),J=L.querySelectorAll(z);if(this._label&&this._label.nativeElement.children.length){const te=L.getBoundingClientRect();if(0===te.width&&0===te.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const re=this._getStartEnd(te),oe=f.children,ae=this._getStartEnd(oe[0].getBoundingClientRect());let le=0;for(let ue=0;ue<oe.length;ue++)le+=oe[ue].offsetWidth;Y=Math.abs(ae-re)-5,X=le>0?.75*le+10:0}for(let te=0;te<Q.length;te++)Q[te].style.width=`${Y}px`;for(let te=0;te<J.length;te++)J[te].style.width=`${X}px`;this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(f){return this._dir&&"rtl"===this._dir.value?f.right:f.left}_isAttachedToDOM(){const f=this._elementRef.nativeElement;if(f.getRootNode){const L=f.getRootNode();return L&&L!==f}return document.documentElement.contains(f)}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(_o),he(Us,8),he(fU,8),he(ha),he(Un),he(Nu,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-form-field"]],contentQueries:function(f,L,V){if(1&f&&(Oo(V,xg,5),Oo(V,xg,7),Oo(V,Zv,5),Oo(V,Zv,7),Oo(V,sU,5),Oo(V,iU,5),Oo(V,aU,5),Oo(V,lU,5),Oo(V,LI,5)),2&f){let z;mr(z=gr())&&(L._controlNonStatic=z.first),mr(z=gr())&&(L._controlStatic=z.first),mr(z=gr())&&(L._labelChildNonStatic=z.first),mr(z=gr())&&(L._labelChildStatic=z.first),mr(z=gr())&&(L._placeholderChild=z.first),mr(z=gr())&&(L._errorChildren=z),mr(z=gr())&&(L._hintChildren=z),mr(z=gr())&&(L._prefixChildren=z),mr(z=gr())&&(L._suffixChildren=z)}},viewQuery:function(f,L){if(1&f&&(ro(zz,7),ro(Uz,5),ro($z,5)),2&f){let V;mr(V=gr())&&(L._connectionContainerRef=V.first),mr(V=gr())&&(L._inputContainerRef=V.first),mr(V=gr())&&(L._label=V.first)}},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(f,L){2&f&&ri("mat-form-field-appearance-standard","standard"==L.appearance)("mat-form-field-appearance-fill","fill"==L.appearance)("mat-form-field-appearance-outline","outline"==L.appearance)("mat-form-field-appearance-legacy","legacy"==L.appearance)("mat-form-field-invalid",L._control.errorState)("mat-form-field-can-float",L._canLabelFloat())("mat-form-field-should-float",L._shouldLabelFloat())("mat-form-field-has-label",L._hasFloatingLabel())("mat-form-field-hide-placeholder",L._hideControlPlaceholder())("mat-form-field-disabled",L._control.disabled)("mat-form-field-autofilled",L._control.autofilled)("mat-focused",L._control.focused)("ng-untouched",L._shouldForward("untouched"))("ng-touched",L._shouldForward("touched"))("ng-pristine",L._shouldForward("pristine"))("ng-dirty",L._shouldForward("dirty"))("ng-valid",L._shouldForward("valid"))("ng-invalid",L._shouldForward("invalid"))("ng-pending",L._shouldForward("pending"))("_mat-animation-noopable",!L._animationsEnabled)},inputs:{color:"color",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel",floatLabel:"floatLabel"},exportAs:["matFormField"],features:[Qn([{provide:Mg,useExisting:N}]),gn],ngContentSelectors:rU,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix",3,"cdkObserveContentDisabled","cdkObserveContent"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(f,L){1&f&&(uc(nU),mt(0,"div",0)(1,"div",1,2),hn("click",function(z){return L._control.onContainerClick&&L._control.onContainerClick(z)}),lr(3,Wz,9,0,"ng-container",3),lr(4,Gz,2,1,"div",4),mt(5,"div",5,6),no(7),mt(8,"span",7),lr(9,Xz,5,16,"label",8),vt()(),lr(10,Qz,2,0,"div",9),vt(),lr(11,Zz,2,4,"div",10),mt(12,"div",11),lr(13,Jz,2,1,"div",12),lr(14,tU,5,2,"div",13),vt()()),2&f&&(it(3),kt("ngIf","outline"==L.appearance),it(1),kt("ngIf",L._prefixChildren.length),it(5),kt("ngIf",L._hasFloatingLabel()),it(1),kt("ngIf",L._suffixChildren.length),it(1),kt("ngIf","outline"!=L.appearance),it(1),kt("ngSwitch",L._getDisplayedMessages()),it(1),kt("ngSwitchCase","error"),it(1),kt("ngSwitchCase","hint"))},directives:[lp,Y4,cp,Z_],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[oU.transitionMessages]},changeDetection:0}),N})(),Jv=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[up,io,XA],io]}),N})();const jI=cg({passive:!0});let hU=(()=>{class N{constructor(f,L){this._platform=f,this._ngZone=L,this._monitoredElements=new Map}monitor(f){if(!this._platform.isBrowser)return za;const L=gc(f),V=this._monitoredElements.get(L);if(V)return V.subject;const z=new Ke,Y="cdk-text-field-autofilled",X=Q=>{"cdk-text-field-autofill-start"!==Q.animationName||L.classList.contains(Y)?"cdk-text-field-autofill-end"===Q.animationName&&L.classList.contains(Y)&&(L.classList.remove(Y),this._ngZone.run(()=>z.next({target:Q.target,isAutofilled:!1}))):(L.classList.add(Y),this._ngZone.run(()=>z.next({target:Q.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{L.addEventListener("animationstart",X,jI),L.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(L,{subject:z,unlisten:()=>{L.removeEventListener("animationstart",X,jI)}}),z}stopMonitoring(f){const L=gc(f),V=this._monitoredElements.get(L);V&&(V.unlisten(),V.subject.complete(),L.classList.remove("cdk-text-field-autofill-monitored"),L.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(L))}ngOnDestroy(){this._monitoredElements.forEach((f,L)=>this.stopMonitoring(L))}}return N.\u0275fac=function(f){return new(f||N)(Pe(ha),Pe(Un))},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),zI=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})();const UI=new wt("MAT_INPUT_VALUE_ACCESSOR"),pU=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let mU=0;const gU=rE(class{constructor(N,I,f,L){this._defaultErrorStateMatcher=N,this._parentForm=I,this._parentFormGroup=f,this.ngControl=L}});let $I=(()=>{class N extends gU{constructor(f,L,V,z,Y,X,Q,J,te,re){super(X,z,Y,V),this._elementRef=f,this._platform=L,this._autofillMonitor=J,this._formField=re,this._uid="mat-input-"+mU++,this.focused=!1,this.stateChanges=new Ke,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(le=>zA().has(le)),this._iOSKeyupListener=le=>{const ue=le.target;!ue.value&&0===ue.selectionStart&&0===ue.selectionEnd&&(ue.setSelectionRange(1,1),ue.setSelectionRange(0,0))};const oe=this._elementRef.nativeElement,ae=oe.nodeName.toLowerCase();this._inputValueAccessor=Q||oe,this._previousNativeValue=this.value,this.id=this.id,L.IOS&&te.runOutsideAngular(()=>{f.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===ae,this._isTextarea="textarea"===ae,this._isInFormField=!!re,this._isNativeSelect&&(this.controlType=oe.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(f){this._disabled=Mr(f),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(f){this._id=f||this._uid}get required(){var f,L,V,z;return null!==(z=null!==(f=this._required)&&void 0!==f?f:null===(V=null===(L=this.ngControl)||void 0===L?void 0:L.control)||void 0===V?void 0:V.hasValidator(Bu.required))&&void 0!==z&&z}set required(f){this._required=Mr(f)}get type(){return this._type}set type(f){this._type=f||"text",this._validateType(),!this._isTextarea&&zA().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(f){f!==this.value&&(this._inputValueAccessor.value=f,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(f){this._readonly=Mr(f)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(f=>{this.autofilled=f.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(f){this._elementRef.nativeElement.focus(f)}_focusChanged(f){f!==this.focused&&(this.focused=f,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var f,L;const V=(null===(L=null===(f=this._formField)||void 0===f?void 0:f._hideControlPlaceholder)||void 0===L?void 0:L.call(f))?null:this.placeholder;if(V!==this._previousPlaceholder){const z=this._elementRef.nativeElement;this._previousPlaceholder=V,V?z.setAttribute("placeholder",V):z.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const f=this._elementRef.nativeElement.value;this._previousNativeValue!==f&&(this._previousNativeValue=f,this.stateChanges.next())}_validateType(){pU.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let f=this._elementRef.nativeElement.validity;return f&&f.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const f=this._elementRef.nativeElement,L=f.options[0];return this.focused||f.multiple||!this.empty||!!(f.selectedIndex>-1&&L&&L.label)}return this.focused||!this.empty}setDescribedByIds(f){f.length?this._elementRef.nativeElement.setAttribute("aria-describedby",f.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const f=this._elementRef.nativeElement;return this._isNativeSelect&&(f.multiple||f.size>1)}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(ha),he($s,10),he(bc,8),he(wc,8),he(_p),he(UI,10),he(hU),he(Un),he(Mg,8))},N.\u0275dir=Mt({type:N,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(f,L){1&f&&hn("focus",function(){return L._focusChanged(!0)})("blur",function(){return L._focusChanged(!1)})("input",function(){return L._onInput()}),2&f&&(Sl("disabled",L.disabled)("required",L.required),Kn("id",L.id)("data-placeholder",L.placeholder)("name",L.name||null)("readonly",L.readonly&&!L._isNativeSelect||null)("aria-invalid",L.empty&&L.required?null:L.errorState)("aria-required",L.required),ri("mat-input-server",L._isServer)("mat-native-select-inline",L._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Qn([{provide:xg,useExisting:N}]),gn,ai]}),N})(),yU=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[_p],imports:[[zI,Jv,io],zI,Jv]}),N})();const _U=["mat-calendar-body",""];function vU(N,I){if(1&N&&(mt(0,"tr",2)(1,"td",3),br(2),vt()()),2&N){const f=Bn();it(1),rf("padding-top",f._cellPadding)("padding-bottom",f._cellPadding),Kn("colspan",f.numCols),it(1),dc(" ",f.label," ")}}function bU(N,I){if(1&N&&(mt(0,"td",3),br(1),vt()),2&N){const f=Bn(2);rf("padding-top",f._cellPadding)("padding-bottom",f._cellPadding),Kn("colspan",f._firstRowOffset),it(1),dc(" ",f._firstRowOffset>=f.labelMinRequiredCells?f.label:""," ")}}function wU(N,I){if(1&N){const f=cc();mt(0,"td",7)(1,"button",8),hn("click",function(V){const Y=si(f).$implicit;return Bn(2)._cellClicked(Y,V)}),mt(2,"div",9),br(3),vt(),Nr(4,"div",10),vt()()}if(2&N){const f=I.$implicit,L=I.index,V=Bn().index,z=Bn();rf("width",z._cellWidth)("padding-top",z._cellPadding)("padding-bottom",z._cellPadding),Kn("data-mat-row",V)("data-mat-col",L),it(1),ri("mat-calendar-body-disabled",!f.enabled)("mat-calendar-body-active",z._isActiveCell(V,L))("mat-calendar-body-range-start",z._isRangeStart(f.compareValue))("mat-calendar-body-range-end",z._isRangeEnd(f.compareValue))("mat-calendar-body-in-range",z._isInRange(f.compareValue))("mat-calendar-body-comparison-bridge-start",z._isComparisonBridgeStart(f.compareValue,V,L))("mat-calendar-body-comparison-bridge-end",z._isComparisonBridgeEnd(f.compareValue,V,L))("mat-calendar-body-comparison-start",z._isComparisonStart(f.compareValue))("mat-calendar-body-comparison-end",z._isComparisonEnd(f.compareValue))("mat-calendar-body-in-comparison-range",z._isInComparisonRange(f.compareValue))("mat-calendar-body-preview-start",z._isPreviewStart(f.compareValue))("mat-calendar-body-preview-end",z._isPreviewEnd(f.compareValue))("mat-calendar-body-in-preview",z._isInPreview(f.compareValue)),kt("ngClass",f.cssClasses)("tabindex",z._isActiveCell(V,L)?0:-1),Kn("aria-label",f.ariaLabel)("aria-disabled",!f.enabled||null)("aria-pressed",z._isSelected(f.compareValue))("aria-current",z.todayValue===f.compareValue?"date":null),it(1),ri("mat-calendar-body-selected",z._isSelected(f.compareValue))("mat-calendar-body-comparison-identical",z._isComparisonIdentical(f.compareValue))("mat-calendar-body-today",z.todayValue===f.compareValue),it(1),dc(" ",f.displayValue," ")}}function CU(N,I){if(1&N&&(mt(0,"tr",4),lr(1,bU,2,6,"td",5),lr(2,wU,5,47,"td",6),vt()),2&N){const f=I.$implicit,L=I.index,V=Bn();it(1),kt("ngIf",0===L&&V._firstRowOffset),it(1),kt("ngForOf",f)}}function EU(N,I){if(1&N&&(mt(0,"th",5)(1,"span",6),br(2),vt(),mt(3,"span",7),br(4),vt()()),2&N){const f=I.$implicit;it(2),$r(f.long),it(2),$r(f.narrow)}}const DU=["*"];function kU(N,I){}function SU(N,I){if(1&N){const f=cc();mt(0,"mat-month-view",5),hn("activeDateChange",function(V){return si(f),Bn().activeDate=V})("_userSelection",function(V){return si(f),Bn()._dateSelected(V)}),vt()}if(2&N){const f=Bn();kt("activeDate",f.activeDate)("selected",f.selected)("dateFilter",f.dateFilter)("maxDate",f.maxDate)("minDate",f.minDate)("dateClass",f.dateClass)("comparisonStart",f.comparisonStart)("comparisonEnd",f.comparisonEnd)}}function xU(N,I){if(1&N){const f=cc();mt(0,"mat-year-view",6),hn("activeDateChange",function(V){return si(f),Bn().activeDate=V})("monthSelected",function(V){return si(f),Bn()._monthSelectedInYearView(V)})("selectedChange",function(V){return si(f),Bn()._goToDateInView(V,"month")}),vt()}if(2&N){const f=Bn();kt("activeDate",f.activeDate)("selected",f.selected)("dateFilter",f.dateFilter)("maxDate",f.maxDate)("minDate",f.minDate)("dateClass",f.dateClass)}}function MU(N,I){if(1&N){const f=cc();mt(0,"mat-multi-year-view",7),hn("activeDateChange",function(V){return si(f),Bn().activeDate=V})("yearSelected",function(V){return si(f),Bn()._yearSelectedInMultiYearView(V)})("selectedChange",function(V){return si(f),Bn()._goToDateInView(V,"year")}),vt()}if(2&N){const f=Bn();kt("activeDate",f.activeDate)("selected",f.selected)("dateFilter",f.dateFilter)("maxDate",f.maxDate)("minDate",f.minDate)("dateClass",f.dateClass)}}function AU(N,I){}const TU=["button"];function FU(N,I){1&N&&(Ql(),mt(0,"svg",3),Nr(1,"path",4),vt())}const IU=[[["","matDatepickerToggleIcon",""]]],RU=["[matDatepickerToggleIcon]"],OU=[[["input","matStartDate",""]],[["input","matEndDate",""]]],PU=["input[matStartDate]","input[matEndDate]"];class IE{constructor(I,f,L,V,z={},Y=I,X){this.value=I,this.displayValue=f,this.ariaLabel=L,this.enabled=V,this.cssClasses=z,this.compareValue=Y,this.rawValue=X}}let bp=(()=>{class N{constructor(f,L){this._elementRef=f,this._ngZone=L,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new Ut,this.previewChange=new Ut,this._enterHandler=V=>{if(this._skipNextFocus&&"focus"===V.type)this._skipNextFocus=!1;else if(V.target&&this.isRange){const z=this._getCellFromElement(V.target);z&&this._ngZone.run(()=>this.previewChange.emit({value:z.enabled?z:null,event:V}))}},this._leaveHandler=V=>{null!==this.previewEnd&&this.isRange&&V.target&&this._getCellFromElement(V.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:V}))},L.runOutsideAngular(()=>{const V=f.nativeElement;V.addEventListener("mouseenter",this._enterHandler,!0),V.addEventListener("focus",this._enterHandler,!0),V.addEventListener("mouseleave",this._leaveHandler,!0),V.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(f,L){f.enabled&&this.selectedValueChange.emit({value:f.value,event:L})}_isSelected(f){return this.startValue===f||this.endValue===f}ngOnChanges(f){const L=f.numCols,{rows:V,numCols:z}=this;(f.rows||L)&&(this._firstRowOffset=V&&V.length&&V[0].length?z-V[0].length:0),(f.cellAspectRatio||L||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/z+"%"),(L||!this._cellWidth)&&(this._cellWidth=100/z+"%")}ngOnDestroy(){const f=this._elementRef.nativeElement;f.removeEventListener("mouseenter",this._enterHandler,!0),f.removeEventListener("focus",this._enterHandler,!0),f.removeEventListener("mouseleave",this._leaveHandler,!0),f.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(f,L){let V=f*this.numCols+L;return f&&(V-=this._firstRowOffset),V==this.activeCell}_focusActiveCell(f=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(xn(1)).subscribe(()=>{setTimeout(()=>{const L=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");L&&(f||(this._skipNextFocus=!0),L.focus())})})})}_isRangeStart(f){return RE(f,this.startValue,this.endValue)}_isRangeEnd(f){return OE(f,this.startValue,this.endValue)}_isInRange(f){return PE(f,this.startValue,this.endValue,this.isRange)}_isComparisonStart(f){return RE(f,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(f,L,V){if(!this._isComparisonStart(f)||this._isRangeStart(f)||!this._isInRange(f))return!1;let z=this.rows[L][V-1];if(!z){const Y=this.rows[L-1];z=Y&&Y[Y.length-1]}return z&&!this._isRangeEnd(z.compareValue)}_isComparisonBridgeEnd(f,L,V){if(!this._isComparisonEnd(f)||this._isRangeEnd(f)||!this._isInRange(f))return!1;let z=this.rows[L][V+1];if(!z){const Y=this.rows[L+1];z=Y&&Y[0]}return z&&!this._isRangeStart(z.compareValue)}_isComparisonEnd(f){return OE(f,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(f){return PE(f,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(f){return this.comparisonStart===this.comparisonEnd&&f===this.comparisonStart}_isPreviewStart(f){return RE(f,this.previewStart,this.previewEnd)}_isPreviewEnd(f){return OE(f,this.previewStart,this.previewEnd)}_isInPreview(f){return PE(f,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(f){let L;if(WI(f)?L=f:WI(f.parentNode)&&(L=f.parentNode),L){const V=L.getAttribute("data-mat-row"),z=L.getAttribute("data-mat-col");if(V&&z)return this.rows[parseInt(V)][parseInt(z)]}return null}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(Un))},N.\u0275cmp=Rr({type:N,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[ai],attrs:_U,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(f,L){1&f&&(lr(0,vU,3,6,"tr",0),lr(1,CU,3,2,"tr",1)),2&f&&(kt("ngIf",L._firstRowOffset<L.labelMinRequiredCells),it(1),kt("ngForOf",L.rows))},directives:[lp,og,Q_],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content{outline:dotted 2px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected,.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content.mat-calendar-body-selected{outline:solid 3px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}\n'],encapsulation:2,changeDetection:0}),N})();function WI(N){return"TD"===N.nodeName}function RE(N,I,f){return null!==f&&I!==f&&N<f&&N===I}function OE(N,I,f){return null!==I&&I!==f&&N>=I&&N===f}function PE(N,I,f,L){return L&&null!==I&&null!==f&&I!==f&&N>=I&&N<=f}class No{constructor(I,f){this.start=I,this.end=f}}let Hu=(()=>{class N{constructor(f,L){this.selection=f,this._adapter=L,this._selectionChanged=new Ke,this.selectionChanged=this._selectionChanged,this.selection=f}updateSelection(f,L){const V=this.selection;this.selection=f,this._selectionChanged.next({selection:f,source:L,oldValue:V})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(f){return this._adapter.isDateInstance(f)&&this._adapter.isValid(f)}}return N.\u0275fac=function(f){w_()},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),NU=(()=>{class N extends Hu{constructor(f){super(null,f)}add(f){super.updateSelection(f,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const f=new N(this._adapter);return f.updateSelection(this.selection,this),f}}return N.\u0275fac=function(f){return new(f||N)(Pe(gi))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),LU=(()=>{class N extends Hu{constructor(f){super(new No(null,null),f)}add(f){let{start:L,end:V}=this.selection;null==L?L=f:null==V?V=f:(L=f,V=null),super.updateSelection(new No(L,V),this)}isValid(){const{start:f,end:L}=this.selection;return null==f&&null==L||(null!=f&&null!=L?this._isValidDateInstance(f)&&this._isValidDateInstance(L)&&this._adapter.compareDate(f,L)<=0:(null==f||this._isValidDateInstance(f))&&(null==L||this._isValidDateInstance(L)))}isComplete(){return null!=this.selection.start&&null!=this.selection.end}clone(){const f=new N(this._adapter);return f.updateSelection(this.selection,this),f}}return N.\u0275fac=function(f){return new(f||N)(Pe(gi))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const BU={provide:Hu,deps:[[new qr,new Ts,Hu],gi],useFactory:function VU(N,I){return N||new NU(I)}},jU={provide:Hu,deps:[[new qr,new Ts,Hu],gi],useFactory:function HU(N,I){return N||new LU(I)}},e0=new wt("MAT_DATE_RANGE_SELECTION_STRATEGY");let zU=(()=>{class N{constructor(f){this._dateAdapter=f}selectionFinished(f,L){let{start:V,end:z}=L;return null==V?V=f:null==z&&f&&this._dateAdapter.compareDate(f,V)>=0?z=f:(V=f,z=null),new No(V,z)}createPreview(f,L){let V=null,z=null;return L.start&&!L.end&&f&&(V=L.start,z=f),new No(V,z)}}return N.\u0275fac=function(f){return new(f||N)(Pe(gi))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const $U={provide:e0,deps:[[new qr,new Ts,e0],gi],useFactory:function UU(N,I){return N||new zU(I)}};let GI=(()=>{class N{constructor(f,L,V,z,Y){this._changeDetectorRef=f,this._dateFormats=L,this._dateAdapter=V,this._dir=z,this._rangeStrategy=Y,this._rerenderSubscription=Se.EMPTY,this.selectedChange=new Ut,this._userSelection=new Ut,this.activeDateChange=new Ut,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(f){const L=this._activeDate,V=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(V,this.minDate,this.maxDate),this._hasSameMonthAndYear(L,this._activeDate)||this._init()}get selected(){return this._selected}set selected(f){this._selected=f instanceof No?f:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(f){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get maxDate(){return this._maxDate}set maxDate(f){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vc(null)).subscribe(()=>this._init())}ngOnChanges(f){const L=f.comparisonStart||f.comparisonEnd;L&&!L.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(f){const L=f.value,V=this._dateAdapter.getYear(this.activeDate),z=this._dateAdapter.getMonth(this.activeDate),Y=this._dateAdapter.createDate(V,z,L);let X,Q;this._selected instanceof No?(X=this._getDateInCurrentMonth(this._selected.start),Q=this._getDateInCurrentMonth(this._selected.end)):X=Q=this._getDateInCurrentMonth(this._selected),(X!==L||Q!==L)&&this.selectedChange.emit(Y),this._userSelection.emit({value:Y,event:f.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_handleCalendarBodyKeydown(f){const L=this._activeDate,V=this._isRtl();switch(f.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,V?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,V?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=f.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=f.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&f.preventDefault());case 27:return void(null!=this._previewEnd&&!Ml(f)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:f}),f.preventDefault(),f.stopPropagation()));default:return}this._dateAdapter.compareDate(L,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),f.preventDefault()}_handleCalendarBodyKeyup(f){(32===f.keyCode||13===f.keyCode)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:f}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let f=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(f)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(f){this._matCalendarBody._focusActiveCell(f)}_previewChanged({event:f,value:L}){if(this._rangeStrategy){const z=this._rangeStrategy.createPreview(L?L.rawValue:null,this.selected,f);this._previewStart=this._getCellCompareValue(z.start),this._previewEnd=this._getCellCompareValue(z.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const f=this._dateAdapter.getFirstDayOfWeek(),L=this._dateAdapter.getDayOfWeekNames("narrow");let z=this._dateAdapter.getDayOfWeekNames("long").map((Y,X)=>({long:Y,narrow:L[X]}));this._weekdays=z.slice(f).concat(z.slice(0,f))}_createWeekCells(){const f=this._dateAdapter.getNumDaysInMonth(this.activeDate),L=this._dateAdapter.getDateNames();this._weeks=[[]];for(let V=0,z=this._firstWeekOffset;V<f;V++,z++){7==z&&(this._weeks.push([]),z=0);const Y=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),V+1),X=this._shouldEnableDate(Y),Q=this._dateAdapter.format(Y,this._dateFormats.display.dateA11yLabel),J=this.dateClass?this.dateClass(Y,"month"):void 0;this._weeks[this._weeks.length-1].push(new IE(V+1,L[V],Q,X,J,this._getCellCompareValue(Y),Y))}}_shouldEnableDate(f){return!!f&&(!this.minDate||this._dateAdapter.compareDate(f,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(f,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(f))}_getDateInCurrentMonth(f){return f&&this._hasSameMonthAndYear(f,this.activeDate)?this._dateAdapter.getDate(f):null}_hasSameMonthAndYear(f,L){return!(!f||!L||this._dateAdapter.getMonth(f)!=this._dateAdapter.getMonth(L)||this._dateAdapter.getYear(f)!=this._dateAdapter.getYear(L))}_getCellCompareValue(f){if(f){const L=this._dateAdapter.getYear(f),V=this._dateAdapter.getMonth(f),z=this._dateAdapter.getDate(f);return new Date(L,V,z).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(f){f instanceof No?(this._rangeStart=this._getCellCompareValue(f.start),this._rangeEnd=this._getCellCompareValue(f.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(f),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(f){return!this.dateFilter||this.dateFilter(f)}}return N.\u0275fac=function(f){return new(f||N)(he(_o),he(Fl,8),he(gi,8),he(Us,8),he(e0,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-month-view"]],viewQuery:function(f,L){if(1&f&&ro(bp,5),2&f){let V;mr(V=gr())&&(L._matCalendarBody=V.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[ai],decls:7,vars:13,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(f,L){1&f&&(mt(0,"table",0)(1,"thead",1)(2,"tr"),lr(3,EU,5,2,"th",2),vt(),mt(4,"tr"),Nr(5,"th",3),vt()(),mt(6,"tbody",4),hn("selectedValueChange",function(z){return L._dateSelected(z)})("previewChange",function(z){return L._previewChanged(z)})("keyup",function(z){return L._handleCalendarBodyKeyup(z)})("keydown",function(z){return L._handleCalendarBodyKeydown(z)}),vt()()),2&f&&(it(3),kt("ngForOf",L._weekdays),it(3),kt("label",L._monthLabel)("rows",L._weeks)("todayValue",L._todayDate)("startValue",L._rangeStart)("endValue",L._rangeEnd)("comparisonStart",L._comparisonRangeStart)("comparisonEnd",L._comparisonRangeEnd)("previewStart",L._previewStart)("previewEnd",L._previewEnd)("isRange",L._isRange)("labelMinRequiredCells",3)("activeCell",L._dateAdapter.getDate(L.activeDate)-1))},directives:[bp,og],encapsulation:2,changeDetection:0}),N})(),YI=(()=>{class N{constructor(f,L,V){this._changeDetectorRef=f,this._dateAdapter=L,this._dir=V,this._rerenderSubscription=Se.EMPTY,this.selectedChange=new Ut,this.yearSelected=new Ut,this.activeDateChange=new Ut,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(f){let L=this._activeDate;const V=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(V,this.minDate,this.maxDate),KI(this._dateAdapter,L,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(f){this._selected=f instanceof No?f:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f)),this._setSelectedYear(f)}get minDate(){return this._minDate}set minDate(f){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get maxDate(){return this._maxDate}set maxDate(f){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vc(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const L=this._dateAdapter.getYear(this._activeDate)-Ag(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let V=0,z=[];V<24;V++)z.push(L+V),4==z.length&&(this._years.push(z.map(Y=>this._createCellForYear(Y))),z=[]);this._changeDetectorRef.markForCheck()}_yearSelected(f){const L=f.value;this.yearSelected.emit(this._dateAdapter.createDate(L,0,1));let V=this._dateAdapter.getMonth(this.activeDate),z=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(L,V,1));this.selectedChange.emit(this._dateAdapter.createDate(L,V,Math.min(this._dateAdapter.getDate(this.activeDate),z)))}_handleCalendarBodyKeydown(f){const L=this._activeDate,V=this._isRtl();switch(f.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,V?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Ag(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Ag(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,f.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,f.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(L,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),f.preventDefault()}_handleCalendarBodyKeyup(f){(32===f.keyCode||13===f.keyCode)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:f}),this._selectionKeyPressed=!1)}_getActiveCell(){return Ag(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(f){const L=this._dateAdapter.createDate(f,0,1),V=this._dateAdapter.getYearName(L),z=this.dateClass?this.dateClass(L,"multi-year"):void 0;return new IE(f,V,V,this._shouldEnableYear(f),z)}_shouldEnableYear(f){if(null==f||this.maxDate&&f>this._dateAdapter.getYear(this.maxDate)||this.minDate&&f<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let V=this._dateAdapter.createDate(f,0,1);this._dateAdapter.getYear(V)==f;V=this._dateAdapter.addCalendarDays(V,1))if(this.dateFilter(V))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(f){if(this._selectedYear=null,f instanceof No){const L=f.start||f.end;L&&(this._selectedYear=this._dateAdapter.getYear(L))}else f&&(this._selectedYear=this._dateAdapter.getYear(f))}}return N.\u0275fac=function(f){return new(f||N)(he(_o),he(gi,8),he(Us,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-multi-year-view"]],viewQuery:function(f,L){if(1&f&&ro(bp,5),2&f){let V;mr(V=gr())&&(L._matCalendarBody=V.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(f,L){1&f&&(mt(0,"table",0)(1,"thead",1)(2,"tr"),Nr(3,"th",2),vt()(),mt(4,"tbody",3),hn("selectedValueChange",function(z){return L._yearSelected(z)})("keyup",function(z){return L._handleCalendarBodyKeyup(z)})("keydown",function(z){return L._handleCalendarBodyKeydown(z)}),vt()()),2&f&&(it(4),kt("rows",L._years)("todayValue",L._todayYear)("startValue",L._selectedYear)("endValue",L._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",L._getActiveCell()))},directives:[bp],encapsulation:2,changeDetection:0}),N})();function KI(N,I,f,L,V){const z=N.getYear(I),Y=N.getYear(f),X=qI(N,L,V);return Math.floor((z-X)/24)===Math.floor((Y-X)/24)}function Ag(N,I,f,L){return function WU(N,I){return(N%I+I)%I}(N.getYear(I)-qI(N,f,L),24)}function qI(N,I,f){let L=0;return f?L=N.getYear(f)-24+1:I&&(L=N.getYear(I)),L}let XI=(()=>{class N{constructor(f,L,V,z){this._changeDetectorRef=f,this._dateFormats=L,this._dateAdapter=V,this._dir=z,this._rerenderSubscription=Se.EMPTY,this.selectedChange=new Ut,this.monthSelected=new Ut,this.activeDateChange=new Ut,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(f){let L=this._activeDate;const V=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(V,this.minDate,this.maxDate),this._dateAdapter.getYear(L)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(f){this._selected=f instanceof No?f:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f)),this._setSelectedMonth(f)}get minDate(){return this._minDate}set minDate(f){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get maxDate(){return this._maxDate}set maxDate(f){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vc(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(f){const L=f.value,V=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),L,1);this.monthSelected.emit(V);const z=this._dateAdapter.getNumDaysInMonth(V);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),L,Math.min(this._dateAdapter.getDate(this.activeDate),z)))}_handleCalendarBodyKeydown(f){const L=this._activeDate,V=this._isRtl();switch(f.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,V?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,V?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,f.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,f.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(L,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),f.preventDefault()}_handleCalendarBodyKeyup(f){(32===f.keyCode||13===f.keyCode)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:f}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let f=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(L=>L.map(V=>this._createCellForMonth(V,f[V]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(f){return f&&this._dateAdapter.getYear(f)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(f):null}_createCellForMonth(f,L){const V=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),f,1),z=this._dateAdapter.format(V,this._dateFormats.display.monthYearA11yLabel),Y=this.dateClass?this.dateClass(V,"year"):void 0;return new IE(f,L.toLocaleUpperCase(),z,this._shouldEnableMonth(f),Y)}_shouldEnableMonth(f){const L=this._dateAdapter.getYear(this.activeDate);if(null==f||this._isYearAndMonthAfterMaxDate(L,f)||this._isYearAndMonthBeforeMinDate(L,f))return!1;if(!this.dateFilter)return!0;for(let z=this._dateAdapter.createDate(L,f,1);this._dateAdapter.getMonth(z)==f;z=this._dateAdapter.addCalendarDays(z,1))if(this.dateFilter(z))return!0;return!1}_isYearAndMonthAfterMaxDate(f,L){if(this.maxDate){const V=this._dateAdapter.getYear(this.maxDate),z=this._dateAdapter.getMonth(this.maxDate);return f>V||f===V&&L>z}return!1}_isYearAndMonthBeforeMinDate(f,L){if(this.minDate){const V=this._dateAdapter.getYear(this.minDate),z=this._dateAdapter.getMonth(this.minDate);return f<V||f===V&&L<z}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(f){this._selectedMonth=f instanceof No?this._getMonthInCurrentYear(f.start)||this._getMonthInCurrentYear(f.end):this._getMonthInCurrentYear(f)}}return N.\u0275fac=function(f){return new(f||N)(he(_o),he(Fl,8),he(gi,8),he(Us,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-year-view"]],viewQuery:function(f,L){if(1&f&&ro(bp,5),2&f){let V;mr(V=gr())&&(L._matCalendarBody=V.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keyup","keydown"]],template:function(f,L){1&f&&(mt(0,"table",0)(1,"thead",1)(2,"tr"),Nr(3,"th",2),vt()(),mt(4,"tbody",3),hn("selectedValueChange",function(z){return L._monthSelected(z)})("keyup",function(z){return L._handleCalendarBodyKeyup(z)})("keydown",function(z){return L._handleCalendarBodyKeydown(z)}),vt()()),2&f&&(it(4),kt("label",L._yearLabel)("rows",L._months)("todayValue",L._todayMonth)("startValue",L._selectedMonth)("endValue",L._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",L._dateAdapter.getMonth(L.activeDate)))},directives:[bp],encapsulation:2,changeDetection:0}),N})(),Tg=(()=>{class N{constructor(){this.changes=new Ke,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 24 years",this.nextMultiYearLabel="Next 24 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(f,L){return`${f} \u2013 ${L}`}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),GU=0,YU=(()=>{class N{constructor(f,L,V,z,Y){this._intl=f,this.calendar=L,this._dateAdapter=V,this._dateFormats=z,this._buttonDescriptionId="mat-calendar-button-"+GU++,this.calendar.stateChanges.subscribe(()=>Y.markForCheck())}get periodButtonText(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);const L=this._dateAdapter.getYear(this.calendar.activeDate)-Ag(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),V=L+24-1,z=this._dateAdapter.getYearName(this._dateAdapter.createDate(L,0,1)),Y=this._dateAdapter.getYearName(this._dateAdapter.createDate(V,0,1));return this._intl.formatYearRange(z,Y)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(f,L){return"month"==this.calendar.currentView?this._dateAdapter.getYear(f)==this._dateAdapter.getYear(L)&&this._dateAdapter.getMonth(f)==this._dateAdapter.getMonth(L):"year"==this.calendar.currentView?this._dateAdapter.getYear(f)==this._dateAdapter.getYear(L):KI(this._dateAdapter,f,L,this.calendar.minDate,this.calendar.maxDate)}}return N.\u0275fac=function(f){return new(f||N)(he(Tg),he(kn(()=>VE)),he(gi,8),he(Fl,8),he(_o))},N.\u0275cmp=Rr({type:N,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:DU,decls:11,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["viewBox","0 0 10 5","focusable","false",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(f,L){1&f&&(uc(),mt(0,"div",0)(1,"div",1)(2,"button",2),hn("click",function(){return L.currentPeriodClicked()}),mt(3,"span"),br(4),vt(),Ql(),mt(5,"svg",3),Nr(6,"polygon",4),vt()(),function So(){!function $o(){sn.lFrame.currentNamespace=null}()}(),Nr(7,"div",5),no(8),mt(9,"button",6),hn("click",function(){return L.previousClicked()}),vt(),mt(10,"button",7),hn("click",function(){return L.nextClicked()}),vt()()()),2&f&&(it(2),Kn("aria-label",L.periodButtonLabel)("aria-describedby",L._buttonDescriptionId),it(1),Kn("id",L._buttonDescriptionId),it(1),$r(L.periodButtonText),it(1),ri("mat-calendar-invert","month"!==L.calendar.currentView),it(4),kt("disabled",!L.previousEnabled()),Kn("aria-label",L.prevButtonLabel),it(1),kt("disabled",!L.nextEnabled()),Kn("aria-label",L.nextButtonLabel))},directives:[Cg],encapsulation:2,changeDetection:0}),N})(),VE=(()=>{class N{constructor(f,L,V,z){this._dateAdapter=L,this._dateFormats=V,this._changeDetectorRef=z,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new Ut,this.yearSelected=new Ut,this.monthSelected=new Ut,this.viewChanged=new Ut(!0),this._userSelection=new Ut,this.stateChanges=new Ke,this._intlChanges=f.changes.subscribe(()=>{z.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(f){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get selected(){return this._selected}set selected(f){this._selected=f instanceof No?f:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get minDate(){return this._minDate}set minDate(f){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get maxDate(){return this._maxDate}set maxDate(f){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get activeDate(){return this._clampedActiveDate}set activeDate(f){this._clampedActiveDate=this._dateAdapter.clampDate(f,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(f){const L=this._currentView!==f?f:null;this._currentView=f,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),L&&this.viewChanged.emit(L)}ngAfterContentInit(){this._calendarHeaderPortal=new gg(this.headerComponent||YU),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(f){const L=f.minDate&&!this._dateAdapter.sameDate(f.minDate.previousValue,f.minDate.currentValue)?f.minDate:void 0,V=f.maxDate&&!this._dateAdapter.sameDate(f.maxDate.previousValue,f.maxDate.currentValue)?f.maxDate:void 0,z=L||V||f.dateFilter;if(z&&!z.firstChange){const Y=this._getCurrentViewComponent();Y&&(this._changeDetectorRef.detectChanges(),Y._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(f){const L=f.value;(this.selected instanceof No||L&&!this._dateAdapter.sameDate(L,this.selected))&&this.selectedChange.emit(L),this._userSelection.emit(f)}_yearSelectedInMultiYearView(f){this.yearSelected.emit(f)}_monthSelectedInYearView(f){this.monthSelected.emit(f)}_goToDateInView(f,L){this.activeDate=f,this.currentView=L}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return N.\u0275fac=function(f){return new(f||N)(he(Tg),he(gi,8),he(Fl,8),he(_o))},N.\u0275cmp=Rr({type:N,selectors:[["mat-calendar"]],viewQuery:function(f,L){if(1&f&&(ro(GI,5),ro(XI,5),ro(YI,5)),2&f){let V;mr(V=gr())&&(L.monthView=V.first),mr(V=gr())&&(L.yearView=V.first),mr(V=gr())&&(L.multiYearView=V.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Qn([BU]),ai],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(f,L){1&f&&(lr(0,kU,0,0,"ng-template",0),mt(1,"div",1),lr(2,SU,1,8,"mat-month-view",2),lr(3,xU,1,6,"mat-year-view",3),lr(4,MU,1,6,"mat-multi-year-view",4),vt()),2&f&&(kt("cdkPortalOutlet",L._calendarHeaderPortal),it(1),kt("ngSwitch",L.currentView),it(1),kt("ngSwitchCase","month"),it(1),kt("ngSwitchCase","year"),it(1),kt("ngSwitchCase","multi-year"))},directives:[GI,XI,YI,yv,aT,cp,Z_],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),N})();const QI={transformPanel:mp("transformPanel",[Al("void => enter-dropdown",_c("120ms cubic-bezier(0, 0, 0.2, 1)",FT([qi({opacity:0,transform:"scale(1, 0.8)"}),qi({opacity:1,transform:"scale(1, 1)"})]))),Al("void => enter-dialog",_c("150ms cubic-bezier(0, 0, 0.2, 1)",FT([qi({opacity:0,transform:"scale(0.7)"}),qi({transform:"none",opacity:1})]))),Al("* => void",_c("100ms linear",qi({opacity:0})))]),fadeInCalendar:mp("fadeInCalendar",[Ru("void",qi({opacity:0})),Ru("enter",qi({opacity:1})),Al("void => *",_c("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let KU=0;const ZI=new wt("mat-datepicker-scroll-strategy"),XU={provide:ZI,deps:[Iu],useFactory:function qU(N){return()=>N.scrollStrategies.reposition()}},QU=Vv(class{constructor(N){this._elementRef=N}});let ZU=(()=>{class N extends QU{constructor(f,L,V,z,Y,X){super(f),this._changeDetectorRef=L,this._globalModel=V,this._dateAdapter=z,this._rangeSelectionStrategy=Y,this._subscriptions=new Se,this._animationDone=new Ke,this._actionsPortal=null,this._closeButtonText=X.closeCalendarLabel}ngOnInit(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel,this._animationState=this.datepicker.touchUi?"enter-dialog":"enter-dropdown"}ngAfterViewInit(){this._subscriptions.add(this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(f){const L=this._model.selection,V=f.value,z=L instanceof No;if(z&&this._rangeSelectionStrategy){const Y=this._rangeSelectionStrategy.selectionFinished(V,L,f.event);this._model.updateSelection(Y,this)}else V&&(z||!this._dateAdapter.sameDate(V,L))&&this._model.add(V);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(_o),he(Hu),he(gi),he(e0,8),he(Tg))},N.\u0275cmp=Rr({type:N,selectors:[["mat-datepicker-content"]],viewQuery:function(f,L){if(1&f&&ro(VE,5),2&f){let V;mr(V=gr())&&(L._calendar=V.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(f,L){1&f&&E_("@transformPanel.done",function(){return L._animationDone.next()}),2&f&&(k_("@transformPanel",L._animationState),ri("mat-datepicker-content-touch",L.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[gn],decls:5,vars:24,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(f,L){if(1&f&&(mt(0,"div",0)(1,"mat-calendar",1),hn("yearSelected",function(z){return L.datepicker._selectYear(z)})("monthSelected",function(z){return L.datepicker._selectMonth(z)})("viewChanged",function(z){return L.datepicker._viewChanged(z)})("_userSelection",function(z){return L._handleUserSelection(z)}),vt(),lr(2,AU,0,0,"ng-template",2),mt(3,"button",3),hn("focus",function(){return L._closeButtonFocused=!0})("blur",function(){return L._closeButtonFocused=!1})("click",function(){return L.datepicker.close()}),br(4),vt()()),2&f){let V;ri("mat-datepicker-content-container-with-custom-header",L.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",L._actionsPortal),Kn("aria-modal",!0)("aria-labelledby",null!==(V=L._dialogLabelId)&&void 0!==V?V:void 0),it(1),kt("id",L.datepicker.id)("ngClass",L.datepicker.panelClass)("startAt",L.datepicker.startAt)("startView",L.datepicker.startView)("minDate",L.datepicker._getMinDate())("maxDate",L.datepicker._getMaxDate())("dateFilter",L.datepicker._getDateFilter())("headerComponent",L.datepicker.calendarHeaderComponent)("selected",L._getSelected())("dateClass",L.datepicker.dateClass)("comparisonStart",L.comparisonStart)("comparisonEnd",L.comparisonEnd)("@fadeInCalendar","enter"),it(1),kt("cdkPortalOutlet",L._actionsPortal),it(1),ri("cdk-visually-hidden",!L._closeButtonFocused),kt("color",L.color||"primary"),it(1),$r(L._closeButtonText)}},directives:[VE,Cg,cH,Q_,yv],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;position:relative;overflow:visible}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[QI.transformPanel,QI.fadeInCalendar]},changeDetection:0}),N})(),JI=(()=>{class N{constructor(f,L,V,z,Y,X,Q){this._overlay=f,this._ngZone=L,this._viewContainerRef=V,this._dateAdapter=Y,this._dir=X,this._model=Q,this._inputStateChanges=Se.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new Ut,this.monthSelected=new Ut,this.viewChanged=new Ut(!0),this.openedStream=new Ut,this.closedStream=new Ut,this._opened=!1,this.id="mat-datepicker-"+KU++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new Ke,this._scrollStrategy=z}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(f){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(f){this._color=f}get touchUi(){return this._touchUi}set touchUi(f){this._touchUi=Mr(f)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(f){const L=Mr(f);L!==this._disabled&&(this._disabled=L,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(f){this._restoreFocus=Mr(f)}get panelClass(){return this._panelClass}set panelClass(f){this._panelClass=function W4(N,I=/\s+/){const f=[];if(null!=N){const L=Array.isArray(N)?N:`${N}`.split(I);for(const V of L){const z=`${V}`.trim();z&&f.push(z)}}return f}(f)}get opened(){return this._opened}set opened(f){Mr(f)?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(f){const L=f.xPosition||f.yPosition;if(L&&!L.firstChange&&this._overlayRef){const V=this._overlayRef.getConfig().positionStrategy;V instanceof vT&&(this._setConnectedPositions(V),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(f){this._model.add(f)}_selectYear(f){this.yearSelected.emit(f)}_selectMonth(f){this.monthSelected.emit(f)}_viewChanged(f){this.viewChanged.emit(f)}registerInput(f){return this._inputStateChanges.unsubscribe(),this.datepickerInput=f,this._inputStateChanges=f.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(f){this._actionsPortal=f}removeActions(f){f===this._actionsPortal&&(this._actionsPortal=null)}open(){this._opened||this.disabled||(this._focusedElementBeforeOpen=ug(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._componentRef){const L=this._componentRef.instance;L._startExitAnimation(),L._animationDone.pipe(xn(1)).subscribe(()=>this._destroyOverlay())}const f=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(f)):f()}_applyPendingSelection(){var f,L;null===(L=null===(f=this._componentRef)||void 0===f?void 0:f.instance)||void 0===L||L._applyPendingSelection()}_forwardContentValues(f){f.datepicker=this,f.color=this.color,f._actionsPortal=this._actionsPortal,f._dialogLabelId=this.datepickerInput.getOverlayLabelId()}_openOverlay(){this._destroyOverlay();const f=this.touchUi,L=new gg(ZU,this._viewContainerRef),V=this._overlayRef=this._overlay.create(new _v({positionStrategy:f?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[f?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:f?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(f?"dialog":"popup")}));this._getCloseStream(V).subscribe(z=>{z&&z.preventDefault(),this.close()}),this._componentRef=V.attach(L),this._forwardContentValues(this._componentRef.instance),f||this._ngZone.onStable.pipe(xn(1)).subscribe(()=>V.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const f=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(f)}_setConnectedPositions(f){const L="end"===this.xPosition?"end":"start",V="start"===L?"end":"start",z="above"===this.yPosition?"bottom":"top",Y="top"===z?"bottom":"top";return f.withPositions([{originX:L,originY:Y,overlayX:L,overlayY:z},{originX:L,originY:z,overlayX:L,overlayY:Y},{originX:V,originY:Y,overlayX:V,overlayY:z},{originX:V,originY:z,overlayX:V,overlayY:Y}])}_getCloseStream(f){return oo(f.backdropClick(),f.detachments(),f.keydownEvents().pipe(zs(L=>27===L.keyCode&&!Ml(L)||this.datepickerInput&&Ml(L,"altKey")&&38===L.keyCode)))}}return N.\u0275fac=function(f){return new(f||N)(he(Iu),he(Un),he(Oa),he(ZI),he(gi,8),he(Us,8),he(Hu))},N.\u0275dir=Mt({type:N,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[ai]}),N})();class t0{constructor(I,f){this.target=I,this.targetElement=f,this.value=this.target.value}}let eR=(()=>{class N{constructor(f,L,V){this._elementRef=f,this._dateAdapter=L,this._dateFormats=V,this.dateChange=new Ut,this.dateInput=new Ut,this.stateChanges=new Ke,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=Se.EMPTY,this._localeSubscription=Se.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=z=>{const Y=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z.value));return!Y||this._matchesFilter(Y)?null:{matDatepickerFilter:!0}},this._minValidator=z=>{const Y=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z.value)),X=this._getMinDate();return!X||!Y||this._dateAdapter.compareDate(X,Y)<=0?null:{matDatepickerMin:{min:X,actual:Y}}},this._maxValidator=z=>{const Y=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(z.value)),X=this._getMaxDate();return!X||!Y||this._dateAdapter.compareDate(X,Y)>=0?null:{matDatepickerMax:{max:X,actual:Y}}},this._lastValueValid=!1,this._localeSubscription=L.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(f){this._assignValueProgrammatically(f)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(f){const L=Mr(f),V=this._elementRef.nativeElement;this._disabled!==L&&(this._disabled=L,this.stateChanges.next(void 0)),L&&this._isInitialized&&V.blur&&V.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(f){this._model=f,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(L=>{if(this._shouldHandleChangeEvent(L)){const V=this._getValueFromModel(L.selection);this._lastValueValid=this._isValidValue(V),this._cvaOnChange(V),this._onTouched(),this._formatValue(V),this.dateInput.emit(new t0(this,this._elementRef.nativeElement)),this.dateChange.emit(new t0(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(f){tR(f,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(f){this._validatorOnChange=f}validate(f){return this._validator?this._validator(f):null}writeValue(f){this._assignValueProgrammatically(f)}registerOnChange(f){this._cvaOnChange=f}registerOnTouched(f){this._onTouched=f}setDisabledState(f){this.disabled=f}_onKeydown(f){f.altKey&&40===f.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),f.preventDefault())}_onInput(f){const L=this._lastValueValid;let V=this._dateAdapter.parse(f,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(V),V=this._dateAdapter.getValidDateOrNull(V);const z=!this._dateAdapter.sameDate(V,this.value);!V||z?this._cvaOnChange(V):(f&&!this.value&&this._cvaOnChange(V),L!==this._lastValueValid&&this._validatorOnChange()),z&&(this._assignValue(V),this.dateInput.emit(new t0(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new t0(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(f){this._elementRef.nativeElement.value=f?this._dateAdapter.format(f,this._dateFormats.display.dateInput):""}_assignValue(f){this._model?(this._assignValueToModel(f),this._pendingValue=null):this._pendingValue=f}_isValidValue(f){return!f||this._dateAdapter.isValid(f)}_parentDisabled(){return!1}_assignValueProgrammatically(f){f=this._dateAdapter.deserialize(f),this._lastValueValid=this._isValidValue(f),f=this._dateAdapter.getValidDateOrNull(f),this._assignValue(f),this._formatValue(f)}_matchesFilter(f){const L=this._getDateFilter();return!L||L(f)}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(gi,8),he(Fl,8))},N.\u0275dir=Mt({type:N,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[ai]}),N})();function tR(N,I){const f=Object.keys(N);for(let L of f){const{previousValue:V,currentValue:z}=N[L];if(!I.isDateInstance(V)||!I.isDateInstance(z))return!0;if(!I.sameDate(V,z))return!0}return!1}let t7=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["","matDatepickerToggleIcon",""]]}),N})(),n7=(()=>{class N{constructor(f,L,V){this._intl=f,this._changeDetectorRef=L,this._stateChanges=Se.EMPTY;const z=Number(V);this.tabIndex=z||0===z?z:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(f){this._disabled=Mr(f)}ngOnChanges(f){f.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(f){this.datepicker&&!this.disabled&&(this.datepicker.open(),f.stopPropagation())}_watchStateChanges(){const f=this.datepicker?this.datepicker.stateChanges:Pi(),L=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Pi(),V=this.datepicker?oo(this.datepicker.openedStream,this.datepicker.closedStream):Pi();this._stateChanges.unsubscribe(),this._stateChanges=oo(this._intl.changes,f,L,V).subscribe(()=>this._changeDetectorRef.markForCheck())}}return N.\u0275fac=function(f){return new(f||N)(he(Tg),he(_o),Ma("tabindex"))},N.\u0275cmp=Rr({type:N,selectors:[["mat-datepicker-toggle"]],contentQueries:function(f,L,V){if(1&f&&Oo(V,t7,5),2&f){let z;mr(z=gr())&&(L._customIcon=z.first)}},viewQuery:function(f,L){if(1&f&&ro(TU,5),2&f){let V;mr(V=gr())&&(L._button=V.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(f,L){1&f&&hn("click",function(z){return L._open(z)}),2&f&&(Kn("tabindex",null)("data-mat-calendar",L.datepicker?L.datepicker.id:null),ri("mat-datepicker-toggle-active",L.datepicker&&L.datepicker.opened)("mat-accent",L.datepicker&&"accent"===L.datepicker.color)("mat-warn",L.datepicker&&"warn"===L.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[ai],ngContentSelectors:RU,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(f,L){1&f&&(uc(IU),mt(0,"button",0,1),lr(2,FU,2,0,"svg",2),no(3),vt()),2&f&&(kt("disabled",L.disabled)("disableRipple",L.disableRipple),Kn("aria-haspopup",L.datepicker?"dialog":null)("aria-label",L.ariaLabel||L._intl.openCalendarLabel)("tabindex",L.disabled?-1:L.tabIndex),it(2),kt("ngIf",!L._customIcon))},directives:[Cg,lp],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),N})();const n0=new wt("MAT_DATE_RANGE_INPUT_PARENT"),rR=rE((()=>{class N extends eR{constructor(f,L,V,z,Y,X,Q,J){super(L,Q,J),this._rangeInput=f,this._defaultErrorStateMatcher=V,this._injector=z,this._parentForm=Y,this._parentFormGroup=X}ngOnInit(){const f=this._injector.get($s,null,nn.Self|nn.Optional);f&&(this.ngControl=f)}ngDoCheck(){this.ngControl&&this.updateErrorState()}isEmpty(){return 0===this._elementRef.nativeElement.value.length}_getPlaceholder(){return this._elementRef.nativeElement.placeholder}focus(){this._elementRef.nativeElement.focus()}_onInput(f){super._onInput(f),this._rangeInput._handleChildValueChange()}_openPopup(){this._rangeInput._openDatepicker()}_getMinDate(){return this._rangeInput.min}_getMaxDate(){return this._rangeInput.max}_getDateFilter(){return this._rangeInput.dateFilter}_parentDisabled(){return this._rangeInput._groupDisabled}_shouldHandleChangeEvent({source:f}){return f!==this._rangeInput._startInput&&f!==this._rangeInput._endInput}_assignValueProgrammatically(f){super._assignValueProgrammatically(f);const L=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput;null==L||L._validatorOnChange()}}return N.\u0275fac=function(f){return new(f||N)(he(n0),he(Zn),he(_p),he(ui),he(bc,8),he(wc,8),he(gi,8),he(Fl,8))},N.\u0275dir=Mt({type:N,features:[gn]}),N})());let iR=(()=>{class N extends rR{constructor(f,L,V,z,Y,X,Q,J){super(f,L,V,z,Y,X,Q,J),this._startValidator=te=>{const re=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(te.value)),oe=this._model?this._model.selection.end:null;return!re||!oe||this._dateAdapter.compareDate(re,oe)<=0?null:{matStartDateInvalid:{end:oe,actual:re}}},this._validator=Bu.compose([...super._getValidators(),this._startValidator])}_getValueFromModel(f){return f.start}_shouldHandleChangeEvent(f){var L;return!(!super._shouldHandleChangeEvent(f)||((null===(L=f.oldValue)||void 0===L?void 0:L.start)?f.selection.start&&!this._dateAdapter.compareDate(f.oldValue.start,f.selection.start):!f.selection.start))}_assignValueToModel(f){if(this._model){const L=new No(f,this._model.selection.end);this._model.updateSelection(L,this)}}_formatValue(f){super._formatValue(f),this._rangeInput._handleChildValueChange()}getMirrorValue(){const f=this._elementRef.nativeElement,L=f.value;return L.length>0?L:f.placeholder}}return N.\u0275fac=function(f){return new(f||N)(he(n0),he(Zn),he(_p),he(ui),he(bc,8),he(wc,8),he(gi,8),he(Fl,8))},N.\u0275dir=Mt({type:N,selectors:[["input","matStartDate",""]],hostAttrs:["type","text",1,"mat-start-date","mat-date-range-input-inner"],hostVars:6,hostBindings:function(f,L){1&f&&hn("input",function(z){return L._onInput(z.target.value)})("change",function(){return L._onChange()})("keydown",function(z){return L._onKeydown(z)})("blur",function(){return L._onBlur()}),2&f&&(Sl("disabled",L.disabled),Kn("id",L._rangeInput.id)("aria-haspopup",L._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==L._rangeInput.rangePicker?null:L._rangeInput.rangePicker.opened)&&L._rangeInput.rangePicker.id||null)("min",L._getMinDate()?L._dateAdapter.toIso8601(L._getMinDate()):null)("max",L._getMaxDate()?L._dateAdapter.toIso8601(L._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Qn([{provide:pa,useExisting:N,multi:!0},{provide:Xi,useExisting:N,multi:!0}]),gn]}),N})(),oR=(()=>{class N extends rR{constructor(f,L,V,z,Y,X,Q,J){super(f,L,V,z,Y,X,Q,J),this._endValidator=te=>{const re=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(te.value)),oe=this._model?this._model.selection.start:null;return!re||!oe||this._dateAdapter.compareDate(re,oe)>=0?null:{matEndDateInvalid:{start:oe,actual:re}}},this._validator=Bu.compose([...super._getValidators(),this._endValidator])}_getValueFromModel(f){return f.end}_shouldHandleChangeEvent(f){var L;return!(!super._shouldHandleChangeEvent(f)||((null===(L=f.oldValue)||void 0===L?void 0:L.end)?f.selection.end&&!this._dateAdapter.compareDate(f.oldValue.end,f.selection.end):!f.selection.end))}_assignValueToModel(f){if(this._model){const L=new No(this._model.selection.start,f);this._model.updateSelection(L,this)}}_onKeydown(f){8===f.keyCode&&!this._elementRef.nativeElement.value&&this._rangeInput._startInput.focus(),super._onKeydown(f)}}return N.\u0275fac=function(f){return new(f||N)(he(n0),he(Zn),he(_p),he(ui),he(bc,8),he(wc,8),he(gi,8),he(Fl,8))},N.\u0275dir=Mt({type:N,selectors:[["input","matEndDate",""]],hostAttrs:["type","text",1,"mat-end-date","mat-date-range-input-inner"],hostVars:5,hostBindings:function(f,L){1&f&&hn("input",function(z){return L._onInput(z.target.value)})("change",function(){return L._onChange()})("keydown",function(z){return L._onKeydown(z)})("blur",function(){return L._onBlur()}),2&f&&(Sl("disabled",L.disabled),Kn("aria-haspopup",L._rangeInput.rangePicker?"dialog":null)("aria-owns",(null==L._rangeInput.rangePicker?null:L._rangeInput.rangePicker.opened)&&L._rangeInput.rangePicker.id||null)("min",L._getMinDate()?L._dateAdapter.toIso8601(L._getMinDate()):null)("max",L._getMaxDate()?L._dateAdapter.toIso8601(L._getMaxDate()):null))},inputs:{errorStateMatcher:"errorStateMatcher"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Qn([{provide:pa,useExisting:N,multi:!0},{provide:Xi,useExisting:N,multi:!0}]),gn]}),N})(),r7=0,i7=(()=>{class N{constructor(f,L,V,z,Y){if(this._changeDetectorRef=f,this._elementRef=L,this._dateAdapter=z,this._formField=Y,this._closedSubscription=Se.EMPTY,this.id="mat-date-range-input-"+r7++,this.focused=!1,this.controlType="mat-date-range-input",this._groupDisabled=!1,this._ariaDescribedBy=null,this.separator="\u2013",this.comparisonStart=null,this.comparisonEnd=null,this.stateChanges=new Ke,null==Y?void 0:Y._elementRef.nativeElement.classList.contains("mat-mdc-form-field")){const X=L.nativeElement.classList;X.add("mat-mdc-input-element"),X.add("mat-mdc-form-field-input-control")}this.ngControl=V}get value(){return this._model?this._model.selection:null}get shouldLabelFloat(){return this.focused||!this.empty}get placeholder(){var f,L;const V=(null===(f=this._startInput)||void 0===f?void 0:f._getPlaceholder())||"",z=(null===(L=this._endInput)||void 0===L?void 0:L._getPlaceholder())||"";return V||z?`${V} ${this.separator} ${z}`:""}get rangePicker(){return this._rangePicker}set rangePicker(f){f&&(this._model=f.registerInput(this),this._rangePicker=f,this._closedSubscription.unsubscribe(),this._closedSubscription=f.closedStream.subscribe(()=>{var L,V;null===(L=this._startInput)||void 0===L||L._onTouched(),null===(V=this._endInput)||void 0===V||V._onTouched()}),this._registerModel(this._model))}get required(){return!!this._required}set required(f){this._required=Mr(f)}get dateFilter(){return this._dateFilter}set dateFilter(f){const L=this._startInput,V=this._endInput,z=L&&L._matchesFilter(L.value),Y=V&&V._matchesFilter(L.value);this._dateFilter=f,L&&L._matchesFilter(L.value)!==z&&L._validatorOnChange(),V&&V._matchesFilter(V.value)!==Y&&V._validatorOnChange()}get min(){return this._min}set min(f){const L=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f));this._dateAdapter.sameDate(L,this._min)||(this._min=L,this._revalidate())}get max(){return this._max}set max(f){const L=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(f));this._dateAdapter.sameDate(L,this._max)||(this._max=L,this._revalidate())}get disabled(){return this._startInput&&this._endInput?this._startInput.disabled&&this._endInput.disabled:this._groupDisabled}set disabled(f){const L=Mr(f);L!==this._groupDisabled&&(this._groupDisabled=L,this.stateChanges.next(void 0))}get errorState(){return!(!this._startInput||!this._endInput)&&(this._startInput.errorState||this._endInput.errorState)}get empty(){const f=!!this._startInput&&this._startInput.isEmpty(),L=!!this._endInput&&this._endInput.isEmpty();return f&&L}setDescribedByIds(f){this._ariaDescribedBy=f.length?f.join(" "):null}onContainerClick(){!this.focused&&!this.disabled&&(this._model&&this._model.selection.start?this._endInput.focus():this._startInput.focus())}ngAfterContentInit(){this._model&&this._registerModel(this._model),oo(this._startInput.stateChanges,this._endInput.stateChanges).subscribe(()=>{this.stateChanges.next(void 0)})}ngOnChanges(f){tR(f,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._closedSubscription.unsubscribe(),this.stateChanges.complete()}getStartValue(){return this.value?this.value.start:null}getThemePalette(){return this._formField?this._formField.color:void 0}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():null}_getInputMirrorValue(){return this._startInput?this._startInput.getMirrorValue():""}_shouldHidePlaceholders(){return!!this._startInput&&!this._startInput.isEmpty()}_handleChildValueChange(){this.stateChanges.next(void 0),this._changeDetectorRef.markForCheck()}_openDatepicker(){this._rangePicker&&this._rangePicker.open()}_shouldHideSeparator(){return(!this._formField||this._formField.getLabelId()&&!this._formField._shouldLabelFloat())&&this.empty}_getAriaLabelledby(){const f=this._formField;return f&&f._hasFloatingLabel()?f._labelId:null}_updateFocus(f){this.focused=null!==f,this.stateChanges.next()}_revalidate(){this._startInput&&this._startInput._validatorOnChange(),this._endInput&&this._endInput._validatorOnChange()}_registerModel(f){this._startInput&&this._startInput._registerModel(f),this._endInput&&this._endInput._registerModel(f)}}return N.\u0275fac=function(f){return new(f||N)(he(_o),he(Zn),he(Po,10),he(gi,8),he(Mg,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-date-range-input"]],contentQueries:function(f,L,V){if(1&f&&(Oo(V,iR,5),Oo(V,oR,5)),2&f){let z;mr(z=gr())&&(L._startInput=z.first),mr(z=gr())&&(L._endInput=z.first)}},hostAttrs:["role","group",1,"mat-date-range-input"],hostVars:8,hostBindings:function(f,L){2&f&&(Kn("id",null)("aria-labelledby",L._getAriaLabelledby())("aria-describedby",L._ariaDescribedBy)("data-mat-calendar",L.rangePicker?L.rangePicker.id:null),ri("mat-date-range-input-hide-placeholders",L._shouldHidePlaceholders())("mat-date-range-input-required",L.required))},inputs:{rangePicker:"rangePicker",required:"required",dateFilter:"dateFilter",min:"min",max:"max",disabled:"disabled",separator:"separator",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},exportAs:["matDateRangeInput"],features:[Qn([{provide:xg,useExisting:N},{provide:n0,useExisting:N}]),ai],ngContentSelectors:PU,decls:9,vars:4,consts:[["cdkMonitorSubtreeFocus","",1,"mat-date-range-input-container",3,"cdkFocusChange"],[1,"mat-date-range-input-start-wrapper"],["aria-hidden","true",1,"mat-date-range-input-mirror"],[1,"mat-date-range-input-separator"],[1,"mat-date-range-input-end-wrapper"]],template:function(f,L){1&f&&(uc(OU),mt(0,"div",0),hn("cdkFocusChange",function(z){return L._updateFocus(z)}),mt(1,"div",1),no(2),mt(3,"span",2),br(4),vt()(),mt(5,"span",3),br(6),vt(),mt(7,"div",4),no(8,1),vt()()),2&f&&(it(4),$r(L._getInputMirrorValue()),it(1),ri("mat-date-range-input-separator-hidden",L._shouldHideSeparator()),it(1),$r(L.separator))},directives:[aT],styles:[".mat-date-range-input{display:block;width:100%}.mat-date-range-input-container{display:flex;align-items:center}.mat-date-range-input-separator{transition:opacity 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);margin:0 4px}.mat-date-range-input-separator-hidden{-webkit-user-select:none;user-select:none;opacity:0;transition:none}.mat-date-range-input-inner{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;vertical-align:bottom;text-align:inherit;-webkit-appearance:none;width:100%}.mat-date-range-input-inner:-moz-ui-invalid{box-shadow:none}.mat-date-range-input-inner::placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-moz-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner::-webkit-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-date-range-input-inner:-ms-input-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{-webkit-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{-webkit-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-moz-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner::-webkit-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{-webkit-user-select:none;user-select:none;color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-date-range-input-inner:-ms-input-placeholder,.cdk-high-contrast-active .mat-date-range-input-hide-placeholders .mat-date-range-input-inner:-ms-input-placeholder{opacity:0}.mat-date-range-input-mirror{-webkit-user-select:none;user-select:none;visibility:hidden;white-space:nowrap;display:inline-block;min-width:2px}.mat-date-range-input-start-wrapper{position:relative;overflow:hidden;max-width:calc(50% - 4px)}.mat-date-range-input-start-wrapper .mat-date-range-input-inner{position:absolute;top:0;left:0}.mat-date-range-input-end-wrapper{flex-grow:1;max-width:calc(50% - 4px)}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}\n"],encapsulation:2,changeDetection:0}),N})(),o7=(()=>{class N extends JI{_forwardContentValues(f){super._forwardContentValues(f);const L=this.datepickerInput;L&&(f.comparisonStart=L.comparisonStart,f.comparisonEnd=L.comparisonEnd)}}return N.\u0275fac=function(){let I;return function(L){return(I||(I=Dr(N)))(L||N)}}(),N.\u0275cmp=Rr({type:N,selectors:[["mat-date-range-picker"]],exportAs:["matDateRangePicker"],features:[Qn([jU,$U,{provide:JI,useExisting:N}]),gn],decls:0,vars:0,template:function(f,L){},encapsulation:2,changeDetection:0}),N})(),a7=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[Tg,XU],imports:[[up,MF,MC,_H,SC,io],gv]}),N})();class s7{constructor(I=!1,f,L=!0){this._multiple=I,this._emitChanges=L,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ke,f&&f.length&&(I?f.forEach(V=>this._markSelected(V)):this._markSelected(f[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...I){this._verifyValueAssignment(I),I.forEach(f=>this._markSelected(f)),this._emitChangeEvent()}deselect(...I){this._verifyValueAssignment(I),I.forEach(f=>this._unmarkSelected(f)),this._emitChangeEvent()}toggle(I){this.isSelected(I)?this.deselect(I):this.select(I)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(I){return this._selection.has(I)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(I){this._multiple&&this.selected&&this._selected.sort(I)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(I){this.isSelected(I)||(this._multiple||this._unmarkAll(),this._selection.add(I),this._emitChanges&&this._selectedToEmit.push(I))}_unmarkSelected(I){this.isSelected(I)&&(this._selection.delete(I),this._emitChanges&&this._deselectedToEmit.push(I))}_unmarkAll(){this.isEmpty()||this._selection.forEach(I=>this._unmarkSelected(I))}_verifyValueAssignment(I){}}function r0(N){return new Gt(I=>{yr(N()).subscribe(I)})}function Fg(N,I){return _t((f,L)=>{let V=null,z=0,Y=!1;const X=()=>Y&&!V&&L.complete();f.subscribe(new Yt(L,Q=>{null==V||V.unsubscribe();let J=0;const te=z++;yr(N(Q,te)).subscribe(V=new Yt(L,re=>L.next(I?I(Q,re,te,J++):re),()=>{V=null,X()}))},()=>{Y=!0,X()}))})}const l7=["trigger"],c7=["panel"];function u7(N,I){if(1&N&&(mt(0,"span",8),br(1),vt()),2&N){const f=Bn();it(1),$r(f.placeholder)}}function d7(N,I){if(1&N&&(mt(0,"span",12),br(1),vt()),2&N){const f=Bn(2);it(1),$r(f.triggerValue)}}function f7(N,I){1&N&&no(0,0,["*ngSwitchCase","true"])}function h7(N,I){1&N&&(mt(0,"span",9),lr(1,d7,2,1,"span",10),lr(2,f7,1,0,"ng-content",11),vt()),2&N&&(kt("ngSwitch",!!Bn().customTrigger),it(2),kt("ngSwitchCase",!0))}function p7(N,I){if(1&N){const f=cc();mt(0,"div",13)(1,"div",14,15),hn("@transformPanel.done",function(V){return si(f),Bn()._panelDoneAnimatingStream.next(V.toState)})("keydown",function(V){return si(f),Bn()._handleKeydown(V)}),no(3,1),vt()()}if(2&N){const f=Bn();kt("@transformPanelWrap",void 0),it(1),yx("mat-select-panel ",f._getPanelTheme(),""),rf("transform-origin",f._transformOrigin)("font-size",f._triggerFontSize,"px"),kt("ngClass",f.panelClass)("@transformPanel",f.multiple?"showing-multiple":"showing"),Kn("id",f.id+"-panel")("aria-multiselectable",f.multiple)("aria-label",f.ariaLabel||null)("aria-labelledby",f._getPanelAriaLabelledby())}}const m7=[[["mat-select-trigger"]],"*"],g7=["mat-select-trigger","*"],aR={transformPanelWrap:mp("transformPanelWrap",[Al("* => void",TC("@transformPanel",[AC()],{optional:!0}))]),transformPanel:mp("transformPanel",[Ru("void",qi({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Ru("showing",qi({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Ru("showing-multiple",qi({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Al("void => *",_c("120ms cubic-bezier(0, 0, 0.2, 1)")),Al("* => void",_c("100ms 25ms linear",qi({opacity:0})))])};let sR=0;const cR=new wt("mat-select-scroll-strategy"),b7=new wt("MAT_SELECT_CONFIG"),w7={provide:cR,deps:[Iu],useFactory:function v7(N){return()=>N.scrollStrategies.reposition()}};class C7{constructor(I,f){this.source=I,this.value=f}}const E7=_F(vF(nE(rE(class{constructor(N,I,f,L,V){this._elementRef=N,this._defaultErrorStateMatcher=I,this._parentForm=f,this._parentFormGroup=L,this.ngControl=V}})))),D7=new wt("MatSelectTrigger");let k7=(()=>{class N extends E7{constructor(f,L,V,z,Y,X,Q,J,te,re,oe,ae,le,ue){var ve,ye,pe;super(Y,z,Q,J,re),this._viewportRuler=f,this._changeDetectorRef=L,this._ngZone=V,this._dir=X,this._parentFormField=te,this._liveAnnouncer=le,this._defaultOptions=ue,this._panelOpen=!1,this._compareWith=(Ie,Re)=>Ie===Re,this._uid="mat-select-"+sR++,this._triggerAriaLabelledBy=null,this._destroy=new Ke,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+sR++,this._panelDoneAnimatingStream=new Ke,this._overlayPanelClass=(null===(ve=this._defaultOptions)||void 0===ve?void 0:ve.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(pe=null===(ye=this._defaultOptions)||void 0===ye?void 0:ye.disableOptionCentering)&&void 0!==pe&&pe,this.ariaLabel="",this.optionSelectionChanges=r0(()=>{const Ie=this.options;return Ie?Ie.changes.pipe(vc(Ie),Fg(()=>oo(...Ie.map(Re=>Re.onSelectionChange)))):this._ngZone.onStable.pipe(xn(1),Fg(()=>this.optionSelectionChanges))}),this.openedChange=new Ut,this._openedStream=this.openedChange.pipe(zs(Ie=>Ie),Zt(()=>{})),this._closedStream=this.openedChange.pipe(zs(Ie=>!Ie),Zt(()=>{})),this.selectionChange=new Ut,this.valueChange=new Ut,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==ue?void 0:ue.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=ue.typeaheadDebounceInterval),this._scrollStrategyFactory=ae,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(oe)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(f){this._placeholder=f,this.stateChanges.next()}get required(){var f,L,V,z;return null!==(z=null!==(f=this._required)&&void 0!==f?f:null===(V=null===(L=this.ngControl)||void 0===L?void 0:L.control)||void 0===V?void 0:V.hasValidator(Bu.required))&&void 0!==z&&z}set required(f){this._required=Mr(f),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(f){this._multiple=Mr(f)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(f){this._disableOptionCentering=Mr(f)}get compareWith(){return this._compareWith}set compareWith(f){this._compareWith=f,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(f){this._assignValue(f)&&this._onChange(f)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(f){this._typeaheadDebounceInterval=Fu(f)}get id(){return this._id}set id(f){this._id=f||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new s7(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(YA(),Pa(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(Pa(this._destroy)).subscribe(f=>{f.added.forEach(L=>L.select()),f.removed.forEach(L=>L.deselect())}),this.options.changes.pipe(vc(null),Pa(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const f=this._getTriggerAriaLabelledby(),L=this.ngControl;if(f!==this._triggerAriaLabelledBy){const V=this._elementRef.nativeElement;this._triggerAriaLabelledBy=f,f?V.setAttribute("aria-labelledby",f):V.removeAttribute("aria-labelledby")}L&&(this._previousControl!==L.control&&(void 0!==this._previousControl&&null!==L.disabled&&L.disabled!==this.disabled&&(this.disabled=L.disabled),this._previousControl=L.control),this.updateErrorState())}ngOnChanges(f){f.disabled&&this.stateChanges.next(),f.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(f){this._assignValue(f)}registerOnChange(f){this._onChange=f}registerOnTouched(f){this._onTouched=f}setDisabledState(f){this.disabled=f,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var f,L;return this.multiple?(null===(f=this._selectionModel)||void 0===f?void 0:f.selected)||[]:null===(L=this._selectionModel)||void 0===L?void 0:L.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const f=this._selectionModel.selected.map(L=>L.viewValue);return this._isRtl()&&f.reverse(),f.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(f){this.disabled||(this.panelOpen?this._handleOpenKeydown(f):this._handleClosedKeydown(f))}_handleClosedKeydown(f){const L=f.keyCode,V=40===L||38===L||37===L||39===L,z=13===L||32===L,Y=this._keyManager;if(!Y.isTyping()&&z&&!Ml(f)||(this.multiple||f.altKey)&&V)f.preventDefault(),this.open();else if(!this.multiple){const X=this.selected;Y.onKeydown(f);const Q=this.selected;Q&&X!==Q&&this._liveAnnouncer.announce(Q.viewValue,1e4)}}_handleOpenKeydown(f){const L=this._keyManager,V=f.keyCode,z=40===V||38===V,Y=L.isTyping();if(z&&f.altKey)f.preventDefault(),this.close();else if(Y||13!==V&&32!==V||!L.activeItem||Ml(f))if(!Y&&this._multiple&&65===V&&f.ctrlKey){f.preventDefault();const X=this.options.some(Q=>!Q.disabled&&!Q.selected);this.options.forEach(Q=>{Q.disabled||(X?Q.select():Q.deselect())})}else{const X=L.activeItemIndex;L.onKeydown(f),this._multiple&&z&&f.shiftKey&&L.activeItem&&L.activeItemIndex!==X&&L.activeItem._selectViaInteraction()}else f.preventDefault(),L.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(xn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(f){if(this._selectionModel.selected.forEach(L=>L.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&f)Array.isArray(f),f.forEach(L=>this._selectOptionByValue(L)),this._sortValues();else{const L=this._selectOptionByValue(f);L?this._keyManager.updateActiveItem(L):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(f){const L=this.options.find(V=>{if(this._selectionModel.isSelected(V))return!1;try{return null!=V.value&&this._compareWith(V.value,f)}catch(z){return!1}});return L&&this._selectionModel.select(L),L}_assignValue(f){return!!(f!==this._value||this._multiple&&Array.isArray(f))&&(this.options&&this._setSelectionByValue(f),this._value=f,!0)}_initKeyManager(){this._keyManager=new Q4(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Pa(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(Pa(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const f=oo(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Pa(f)).subscribe(L=>{this._onSelect(L.source,L.isUserInput),L.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),oo(...this.options.map(L=>L._stateChanges)).pipe(Pa(f)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(f,L){const V=this._selectionModel.isSelected(f);null!=f.value||this._multiple?(V!==f.selected&&(f.selected?this._selectionModel.select(f):this._selectionModel.deselect(f)),L&&this._keyManager.setActiveItem(f),this.multiple&&(this._sortValues(),L&&this.focus())):(f.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(f.value)),V!==this._selectionModel.isSelected(f)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const f=this.options.toArray();this._selectionModel.sort((L,V)=>this.sortComparator?this.sortComparator(L,V,f):f.indexOf(L)-f.indexOf(V)),this.stateChanges.next()}}_propagateChanges(f){let L=null;L=this.multiple?this.selected.map(V=>V.value):this.selected?this.selected.value:f,this._value=L,this.valueChange.emit(L),this._onChange(L),this.selectionChange.emit(this._getChangeEvent(L)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var f;return!this._panelOpen&&!this.disabled&&(null===(f=this.options)||void 0===f?void 0:f.length)>0}focus(f){this._elementRef.nativeElement.focus(f)}_getPanelAriaLabelledby(){var f;if(this.ariaLabel)return null;const L=null===(f=this._parentFormField)||void 0===f?void 0:f.getLabelId();return this.ariaLabelledby?(L?L+" ":"")+this.ariaLabelledby:L}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var f;if(this.ariaLabel)return null;const L=null===(f=this._parentFormField)||void 0===f?void 0:f.getLabelId();let V=(L?L+" ":"")+this._valueId;return this.ariaLabelledby&&(V+=" "+this.ariaLabelledby),V}_panelDoneAnimating(f){this.openedChange.emit(f)}setDescribedByIds(f){this._ariaDescribedby=f.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return N.\u0275fac=function(f){return new(f||N)(he(CC),he(_o),he(Un),he(_p),he(Zn),he(Us,8),he(bc,8),he(wc,8),he(Mg,8),he($s,10),Ma("tabindex"),he(cR),he(gH),he(b7,8))},N.\u0275dir=Mt({type:N,viewQuery:function(f,L){if(1&f&&(ro(l7,5),ro(c7,5),ro(ST,5)),2&f){let V;mr(V=gr())&&(L.trigger=V.first),mr(V=gr())&&(L.panel=V.first),mr(V=gr())&&(L._overlayDir=V.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[gn,ai]}),N})(),S7=(()=>{class N extends k7{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(f,L,V){const z=this._getItemHeight();return Math.min(Math.max(0,z*f-L+z/2),V)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(Pa(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(xn(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(f){const L=xF(f,this.options,this.optionGroups),V=this._getItemHeight();this.panel.nativeElement.scrollTop=0===f&&1===L?0:function I6(N,I,f,L){return N<f?N:N+I>f+L?Math.max(0,N-L+I):f}((f+L)*V,V,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(f){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(f)}_getChangeEvent(f){return new C7(this,f)}_calculateOverlayOffsetX(){const f=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),L=this._viewportRuler.getViewportSize(),V=this._isRtl(),z=this.multiple?56:32;let Y;if(this.multiple)Y=40;else if(this.disableOptionCentering)Y=16;else{let J=this._selectionModel.selected[0]||this.options.first;Y=J&&J.group?32:16}V||(Y*=-1);const X=0-(f.left+Y-(V?z:0)),Q=f.right+Y-L.width+(V?0:z);X>0?Y+=X+8:Q>0&&(Y-=Q+8),this._overlayDir.offsetX=Math.round(Y),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(f,L,V){const z=this._getItemHeight(),Y=(z-this._triggerRect.height)/2,X=Math.floor(256/z);let Q;return this.disableOptionCentering?0:(Q=0===this._scrollTop?f*z:this._scrollTop===V?(f-(this._getItemCount()-X))*z+(z-(this._getItemCount()*z-256)%z):L-z/2,Math.round(-1*Q-Y))}_checkOverlayWithinViewport(f){const L=this._getItemHeight(),V=this._viewportRuler.getViewportSize(),z=this._triggerRect.top-8,Y=V.height-this._triggerRect.bottom-8,X=Math.abs(this._offsetY),J=Math.min(this._getItemCount()*L,256)-X-this._triggerRect.height;J>Y?this._adjustPanelUp(J,Y):X>z?this._adjustPanelDown(X,z,f):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(f,L){const V=Math.round(f-L);this._scrollTop-=V,this._offsetY-=V,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(f,L,V){const z=Math.round(f-L);if(this._scrollTop+=z,this._offsetY+=z,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=V)return this._scrollTop=V,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const f=this._getItemHeight(),L=this._getItemCount(),V=Math.min(L*f,256),Y=L*f-V;let X;X=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),X+=xF(X,this.options,this.optionGroups);const Q=V/2;this._scrollTop=this._calculateOverlayScroll(X,Q,Y),this._offsetY=this._calculateOverlayOffsetY(X,Q,Y),this._checkOverlayWithinViewport(Y)}_getOriginBasedOnOption(){const f=this._getItemHeight(),L=(f-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-L+f/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return N.\u0275fac=function(){let I;return function(L){return(I||(I=Dr(N)))(L||N)}}(),N.\u0275cmp=Rr({type:N,selectors:[["mat-select"]],contentQueries:function(f,L,V){if(1&f&&(Oo(V,D7,5),Oo(V,SF,5),Oo(V,kF,5)),2&f){let z;mr(z=gr())&&(L.customTrigger=z.first),mr(z=gr())&&(L.options=z),mr(z=gr())&&(L.optionGroups=z)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(f,L){1&f&&hn("keydown",function(z){return L._handleKeydown(z)})("focus",function(){return L._onFocus()})("blur",function(){return L._onBlur()}),2&f&&(Kn("id",L.id)("tabindex",L.tabIndex)("aria-controls",L.panelOpen?L.id+"-panel":null)("aria-expanded",L.panelOpen)("aria-label",L.ariaLabel||null)("aria-required",L.required.toString())("aria-disabled",L.disabled.toString())("aria-invalid",L.errorState)("aria-describedby",L._ariaDescribedby||null)("aria-activedescendant",L._getAriaActiveDescendant()),ri("mat-select-disabled",L.disabled)("mat-select-invalid",L.errorState)("mat-select-required",L.required)("mat-select-empty",L.empty)("mat-select-multiple",L.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Qn([{provide:xg,useExisting:N},{provide:DF,useExisting:N}]),gn],ngContentSelectors:g7,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(f,L){if(1&f&&(uc(m7),mt(0,"div",0,1),hn("click",function(){return L.toggle()}),mt(3,"div",2),lr(4,u7,2,1,"span",3),lr(5,h7,3,2,"span",4),vt(),mt(6,"div",5),Nr(7,"div",6),vt()(),lr(8,p7,4,14,"ng-template",7),hn("backdropClick",function(){return L.close()})("attach",function(){return L._onAttached()})("detach",function(){return L.close()})),2&f){const V=iw(1);Kn("aria-owns",L.panelOpen?L.id+"-panel":null),it(3),kt("ngSwitch",L.empty),Kn("id",L._valueId),it(1),kt("ngSwitchCase",!0),it(1),kt("ngSwitchCase",!1),it(3),kt("cdkConnectedOverlayPanelClass",L._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",L._scrollStrategy)("cdkConnectedOverlayOrigin",V)("cdkConnectedOverlayOpen",L.panelOpen)("cdkConnectedOverlayPositions",L._positions)("cdkConnectedOverlayMinWidth",null==L._triggerRect?null:L._triggerRect.width)("cdkConnectedOverlayOffsetY",L._offsetY)}},directives:[kT,cp,Z_,bA,ST,Q_],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[aR.transformPanelWrap,aR.transformPanel]},changeDetection:0}),N})(),x7=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[w7],imports:[[up,MC,sE,io],gv,Jv,sE,io]}),N})();class uR extends Ke{constructor(I=1/0,f=1/0,L=_C){super(),this._bufferSize=I,this._windowTime=f,this._timestampProvider=L,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=f===1/0,this._bufferSize=Math.max(1,I),this._windowTime=Math.max(1,f)}next(I){const{isStopped:f,_buffer:L,_infiniteTimeWindow:V,_timestampProvider:z,_windowTime:Y}=this;f||(L.push(I),!V&&L.push(z.now()+Y)),this._trimBuffer(),super.next(I)}_subscribe(I){this._throwIfClosed(),this._trimBuffer();const f=this._innerSubscribe(I),{_infiniteTimeWindow:L,_buffer:V}=this,z=V.slice();for(let Y=0;Y<z.length&&!I.closed;Y+=L?1:2)I.next(z[Y]);return this._checkFinalizedStatuses(I),f}_trimBuffer(){const{_bufferSize:I,_timestampProvider:f,_buffer:L,_infiniteTimeWindow:V}=this,z=(V?1:2)*I;if(I<1/0&&z<L.length&&L.splice(0,L.length-z),!V){const Y=f.now();let X=0;for(let Q=1;Q<L.length&&L[Q]<=Y;Q+=2)X=Q;X&&L.splice(0,X+1)}}}const a0={schedule(N,I){const f=setTimeout(N,I);return()=>clearTimeout(f)},scheduleBeforeRender(N){if("undefined"==typeof window)return a0.schedule(N,0);if(void 0===window.requestAnimationFrame)return a0.schedule(N,16);const I=window.requestAnimationFrame(N);return()=>window.cancelAnimationFrame(I)}};let BE;function N7(N,I,f){let L=f;return function A7(N){return!!N&&N.nodeType===Node.ELEMENT_NODE}(N)&&I.some((V,z)=>!("*"===V||!function F7(N,I){if(!BE){const f=Element.prototype;BE=f.matches||f.matchesSelector||f.mozMatchesSelector||f.msMatchesSelector||f.oMatchesSelector||f.webkitMatchesSelector}return N.nodeType===Node.ELEMENT_NODE&&BE.call(N,I)}(N,V)||(L=z,0))),L}class V7{constructor(I,f){this.componentFactory=f.get(xu).resolveComponentFactory(I)}create(I){return new B7(this.componentFactory,I)}}class B7{constructor(I,f){this.componentFactory=I,this.injector=f,this.eventEmitters=new uR(1),this.events=this.eventEmitters.pipe(Fg(L=>oo(...L))),this.componentRef=null,this.viewChangeDetectorRef=null,this.inputChanges=null,this.hasInputChanges=!1,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.unchangedInputs=new Set(this.componentFactory.inputs.map(({propName:L})=>L)),this.ngZone=this.injector.get(Un),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(I){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(I)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=a0.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(I){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(I):this.componentRef.instance[I])}setInputValue(I,f){this.runInZone(()=>{null!==this.componentRef?function I7(N,I){return N===I||N!=N&&I!=I}(f,this.getInputValue(I))&&(void 0!==f||!this.unchangedInputs.has(I))||(this.recordInputChange(I,f),this.unchangedInputs.delete(I),this.hasInputChanges=!0,this.componentRef.instance[I]=f,this.scheduleDetectChanges()):this.initialInputValues.set(I,f)})}initializeComponent(I){const f=ui.create({providers:[],parent:this.injector}),L=function P7(N,I){const f=N.childNodes,L=I.map(()=>[]);let V=-1;I.some((z,Y)=>"*"===z&&(V=Y,!0));for(let z=0,Y=f.length;z<Y;++z){const X=f[z],Q=N7(X,I,V);-1!==Q&&L[Q].push(X)}return L}(I,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(f,L,I),this.viewChangeDetectorRef=this.componentRef.injector.get(_o),this.implementsOnChanges=function T7(N){return"function"==typeof N}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(L_).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:I})=>{this.initialInputValues.has(I)&&this.setInputValue(I,this.initialInputValues.get(I))}),this.initialInputValues.clear()}initializeOutputs(I){const f=this.componentFactory.outputs.map(({propName:L,templateName:V})=>I.instance[L].pipe(Zt(Y=>({name:V,value:Y}))));this.eventEmitters.next(f)}callNgOnChanges(I){if(!this.implementsOnChanges||null===this.inputChanges)return;const f=this.inputChanges;this.inputChanges=null,I.instance.ngOnChanges(f)}markViewForCheck(I){this.hasInputChanges&&(this.hasInputChanges=!1,I.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=a0.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(I,f){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const L=this.inputChanges[I];if(L)return void(L.currentValue=f);const V=this.unchangedInputs.has(I),z=V?void 0:this.getInputValue(I);this.inputChanges[I]=new qp(z,f,V)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(I){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(I):I()}}class H7 extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function z7(N,I){}class HE{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const U7={dialogContainer:mp("dialogContainer",[Ru("void, exit",qi({opacity:0,transform:"scale(0.7)"})),Ru("enter",qi({transform:"none"})),Al("* => enter",AT([_c("150ms cubic-bezier(0, 0, 0.2, 1)",qi({transform:"none",opacity:1})),TC("@*",AC(),{optional:!0})])),Al("* => void, * => exit",AT([_c("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",qi({opacity:0})),TC("@*",AC(),{optional:!0})]))])};let $7=(()=>{class N extends kC{constructor(f,L,V,z,Y,X,Q,J){super(),this._elementRef=f,this._focusTrapFactory=L,this._changeDetectorRef=V,this._config=Y,this._interactivityChecker=X,this._ngZone=Q,this._focusMonitor=J,this._animationStateChanged=new Ut,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=te=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(te)),this._ariaLabelledBy=Y.ariaLabelledBy||null,this._document=z}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=ug())}attachComponentPortal(f){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(f)}attachTemplatePortal(f){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(f)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(f,L){this._interactivityChecker.isFocusable(f)||(f.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const V=()=>{f.removeEventListener("blur",V),f.removeEventListener("mousedown",V),f.removeAttribute("tabindex")};f.addEventListener("blur",V),f.addEventListener("mousedown",V)})),f.focus(L)}_focusByCssSelector(f,L){let V=this._elementRef.nativeElement.querySelector(f);V&&this._forceFocus(V,L)}_trapFocus(){const f=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||f.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(L=>{L||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const f=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&f&&"function"==typeof f.focus){const L=ug(),V=this._elementRef.nativeElement;(!L||L===this._document.body||L===V||V.contains(L))&&(this._focusMonitor?(this._focusMonitor.focusVia(f,this._closeInteractionType),this._closeInteractionType=null):f.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const f=this._elementRef.nativeElement,L=ug();return f===L||f.contains(L)}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(nT),he(_o),he(In,8),he(HE),he(JA),he(Un),he(fv))},N.\u0275dir=Mt({type:N,viewQuery:function(f,L){if(1&f&&ro(yv,7),2&f){let V;mr(V=gr())&&(L._portalOutlet=V.first)}},features:[gn]}),N})(),W7=(()=>{class N extends $7{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:f,totalTime:L}){"enter"===f?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:L})):"exit"===f&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:L}))}_onAnimationStart({toState:f,totalTime:L}){"enter"===f?this._animationStateChanged.next({state:"opening",totalTime:L}):("exit"===f||"void"===f)&&this._animationStateChanged.next({state:"closing",totalTime:L})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return N.\u0275fac=function(){let I;return function(L){return(I||(I=Dr(N)))(L||N)}}(),N.\u0275cmp=Rr({type:N,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(f,L){1&f&&E_("@dialogContainer.start",function(z){return L._onAnimationStart(z)})("@dialogContainer.done",function(z){return L._onAnimationDone(z)}),2&f&&(Sl("id",L._id),Kn("role",L._config.role)("aria-labelledby",L._config.ariaLabel?null:L._ariaLabelledBy)("aria-label",L._config.ariaLabel)("aria-describedby",L._config.ariaDescribedBy||null),k_("@dialogContainer",L._state))},features:[gn],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(f,L){1&f&&lr(0,z7,0,0,"ng-template",0)},directives:[yv],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[U7.dialogContainer]}}),N})(),G7=0;class jE{constructor(I,f,L="mat-dialog-"+G7++){this._overlayRef=I,this._containerInstance=f,this.id=L,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ke,this._afterClosed=new Ke,this._beforeClosed=new Ke,this._state=0,f._id=L,f._animationStateChanged.pipe(zs(V=>"opened"===V.state),xn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),f._animationStateChanged.pipe(zs(V=>"closed"===V.state),xn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),I.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),I.keydownEvents().pipe(zs(V=>27===V.keyCode&&!this.disableClose&&!Ml(V))).subscribe(V=>{V.preventDefault(),dR(this,"keyboard")}),I.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():dR(this,"mouse")})}close(I){this._result=I,this._containerInstance._animationStateChanged.pipe(zs(f=>"closing"===f.state),xn(1)).subscribe(f=>{this._beforeClosed.next(I),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),f.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(I){let f=this._getPositionStrategy();return I&&(I.left||I.right)?I.left?f.left(I.left):f.right(I.right):f.centerHorizontally(),I&&(I.top||I.bottom)?I.top?f.top(I.top):f.bottom(I.bottom):f.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(I="",f=""){return this._overlayRef.updateSize({width:I,height:f}),this._overlayRef.updatePosition(),this}addPanelClass(I){return this._overlayRef.addPanelClass(I),this}removePanelClass(I){return this._overlayRef.removePanelClass(I),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function dR(N,I,f){return void 0!==N._containerInstance&&(N._containerInstance._closeInteractionType=I),N.close(f)}const Y7=new wt("MatDialogData"),K7=new wt("mat-dialog-default-options"),fR=new wt("mat-dialog-scroll-strategy"),X7={provide:fR,deps:[Iu],useFactory:function q7(N){return()=>N.scrollStrategies.block()}};let Q7=(()=>{class N{constructor(f,L,V,z,Y,X,Q,J,te,re){this._overlay=f,this._injector=L,this._defaultOptions=V,this._parentDialog=z,this._overlayContainer=Y,this._dialogRefConstructor=Q,this._dialogContainerType=J,this._dialogDataToken=te,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ke,this._afterOpenedAtThisLevel=new Ke,this._ariaHiddenElements=new Map,this.afterAllClosed=r0(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(vc(void 0))),this._scrollStrategy=X}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const f=this._parentDialog;return f?f._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(f,L){L=function Z7(N,I){return Object.assign(Object.assign({},I),N)}(L,this._defaultOptions||new HE),L.id&&this.getDialogById(L.id);const V=this._createOverlay(L),z=this._attachDialogContainer(V,L),Y=this._attachDialogContent(f,z,V,L);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Y),Y.afterClosed().subscribe(()=>this._removeOpenDialog(Y)),this.afterOpened.next(Y),z._initializeWithAttachedContent(),Y}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(f){return this.openDialogs.find(L=>L.id===f)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(f){const L=this._getOverlayConfig(f);return this._overlay.create(L)}_getOverlayConfig(f){const L=new _v({positionStrategy:this._overlay.position().global(),scrollStrategy:f.scrollStrategy||this._scrollStrategy(),panelClass:f.panelClass,hasBackdrop:f.hasBackdrop,direction:f.direction,minWidth:f.minWidth,minHeight:f.minHeight,maxWidth:f.maxWidth,maxHeight:f.maxHeight,disposeOnNavigation:f.closeOnNavigation});return f.backdropClass&&(L.backdropClass=f.backdropClass),L}_attachDialogContainer(f,L){const z=ui.create({parent:L&&L.viewContainerRef&&L.viewContainerRef.injector||this._injector,providers:[{provide:HE,useValue:L}]}),Y=new gg(this._dialogContainerType,L.viewContainerRef,z,L.componentFactoryResolver);return f.attach(Y).instance}_attachDialogContent(f,L,V,z){const Y=new this._dialogRefConstructor(V,L,z.id);if(f instanceof Bs)L.attachTemplatePortal(new DC(f,null,{$implicit:z.data,dialogRef:Y}));else{const X=this._createInjector(z,Y,L),Q=L.attachComponentPortal(new gg(f,z.viewContainerRef,X,z.componentFactoryResolver));Y.componentInstance=Q.instance}return Y.updateSize(z.width,z.height).updatePosition(z.position),Y}_createInjector(f,L,V){const z=f&&f.viewContainerRef&&f.viewContainerRef.injector,Y=[{provide:this._dialogContainerType,useValue:V},{provide:this._dialogDataToken,useValue:f.data},{provide:this._dialogRefConstructor,useValue:L}];return f.direction&&(!z||!z.get(Us,null,nn.Optional))&&Y.push({provide:Us,useValue:{value:f.direction,change:Pi()}}),ui.create({parent:z||this._injector,providers:Y})}_removeOpenDialog(f){const L=this.openDialogs.indexOf(f);L>-1&&(this.openDialogs.splice(L,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((V,z)=>{V?z.setAttribute("aria-hidden",V):z.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const f=this._overlayContainer.getContainerElement();if(f.parentElement){const L=f.parentElement.children;for(let V=L.length-1;V>-1;V--){let z=L[V];z!==f&&"SCRIPT"!==z.nodeName&&"STYLE"!==z.nodeName&&!z.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(z,z.getAttribute("aria-hidden")),z.setAttribute("aria-hidden","true"))}}}_closeDialogs(f){let L=f.length;for(;L--;)f[L].close()}}return N.\u0275fac=function(f){w_()},N.\u0275dir=Mt({type:N}),N})(),zE=(()=>{class N extends Q7{constructor(f,L,V,z,Y,X,Q,J){super(f,L,z,X,Q,Y,jE,W7,Y7,J)}}return N.\u0275fac=function(f){return new(f||N)(Pe(Iu),Pe(ui),Pe(Kw,8),Pe(K7,8),Pe(fR),Pe(N,12),Pe(yg),Pe(Nu,8))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),J7=0,e$=(()=>{class N{constructor(f,L,V){this._dialogRef=f,this._elementRef=L,this._dialog=V,this.id="mat-dialog-title-"+J7++}ngOnInit(){this._dialogRef||(this._dialogRef=function r$(N,I){let f=N.nativeElement.parentElement;for(;f&&!f.classList.contains("mat-dialog-container");)f=f.parentElement;return f?I.find(L=>L.id===f.id):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const f=this._dialogRef._containerInstance;f&&!f._ariaLabelledBy&&(f._ariaLabelledBy=this.id)})}}return N.\u0275fac=function(f){return new(f||N)(he(jE,8),he(Zn),he(zE))},N.\u0275dir=Mt({type:N,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(f,L){2&f&&Sl("id",L.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),N})(),t$=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),N})(),n$=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275dir=Mt({type:N,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),N})(),i$=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[zE,X7],imports:[[MC,SC,io],io]}),N})();function pR(N,I){return we(I)?ya(N,I,1):ya(N,1)}class mR{}class gR{}class Cc{constructor(I){this.normalizedNames=new Map,this.lazyUpdate=null,I?this.lazyInit="string"==typeof I?()=>{this.headers=new Map,I.split("\n").forEach(f=>{const L=f.indexOf(":");if(L>0){const V=f.slice(0,L),z=V.toLowerCase(),Y=f.slice(L+1).trim();this.maybeSetNormalizedName(V,z),this.headers.has(z)?this.headers.get(z).push(Y):this.headers.set(z,[Y])}})}:()=>{this.headers=new Map,Object.keys(I).forEach(f=>{let L=I[f];const V=f.toLowerCase();"string"==typeof L&&(L=[L]),L.length>0&&(this.headers.set(V,L),this.maybeSetNormalizedName(f,V))})}:this.headers=new Map}has(I){return this.init(),this.headers.has(I.toLowerCase())}get(I){this.init();const f=this.headers.get(I.toLowerCase());return f&&f.length>0?f[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(I){return this.init(),this.headers.get(I.toLowerCase())||null}append(I,f){return this.clone({name:I,value:f,op:"a"})}set(I,f){return this.clone({name:I,value:f,op:"s"})}delete(I,f){return this.clone({name:I,value:f,op:"d"})}maybeSetNormalizedName(I,f){this.normalizedNames.has(f)||this.normalizedNames.set(f,I)}init(){this.lazyInit&&(this.lazyInit instanceof Cc?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(I=>this.applyUpdate(I)),this.lazyUpdate=null))}copyFrom(I){I.init(),Array.from(I.headers.keys()).forEach(f=>{this.headers.set(f,I.headers.get(f)),this.normalizedNames.set(f,I.normalizedNames.get(f))})}clone(I){const f=new Cc;return f.lazyInit=this.lazyInit&&this.lazyInit instanceof Cc?this.lazyInit:this,f.lazyUpdate=(this.lazyUpdate||[]).concat([I]),f}applyUpdate(I){const f=I.name.toLowerCase();switch(I.op){case"a":case"s":let L=I.value;if("string"==typeof L&&(L=[L]),0===L.length)return;this.maybeSetNormalizedName(I.name,f);const V=("a"===I.op?this.headers.get(f):void 0)||[];V.push(...L),this.headers.set(f,V);break;case"d":const z=I.value;if(z){let Y=this.headers.get(f);if(!Y)return;Y=Y.filter(X=>-1===z.indexOf(X)),0===Y.length?(this.headers.delete(f),this.normalizedNames.delete(f)):this.headers.set(f,Y)}else this.headers.delete(f),this.normalizedNames.delete(f)}}forEach(I){this.init(),Array.from(this.normalizedNames.keys()).forEach(f=>I(this.normalizedNames.get(f),this.headers.get(f)))}}class s${encodeKey(I){return yR(I)}encodeValue(I){return yR(I)}decodeKey(I){return decodeURIComponent(I)}decodeValue(I){return decodeURIComponent(I)}}const c$=/%(\d[a-f0-9])/gi,u$={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function yR(N){return encodeURIComponent(N).replace(c$,(I,f)=>{var L;return null!==(L=u$[f])&&void 0!==L?L:I})}function _R(N){return`${N}`}class ju{constructor(I={}){if(this.updates=null,this.cloneFrom=null,this.encoder=I.encoder||new s$,I.fromString){if(I.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function l$(N,I){const f=new Map;return N.length>0&&N.replace(/^\?/,"").split("&").forEach(V=>{const z=V.indexOf("="),[Y,X]=-1==z?[I.decodeKey(V),""]:[I.decodeKey(V.slice(0,z)),I.decodeValue(V.slice(z+1))],Q=f.get(Y)||[];Q.push(X),f.set(Y,Q)}),f}(I.fromString,this.encoder)}else I.fromObject?(this.map=new Map,Object.keys(I.fromObject).forEach(f=>{const L=I.fromObject[f];this.map.set(f,Array.isArray(L)?L:[L])})):this.map=null}has(I){return this.init(),this.map.has(I)}get(I){this.init();const f=this.map.get(I);return f?f[0]:null}getAll(I){return this.init(),this.map.get(I)||null}keys(){return this.init(),Array.from(this.map.keys())}append(I,f){return this.clone({param:I,value:f,op:"a"})}appendAll(I){const f=[];return Object.keys(I).forEach(L=>{const V=I[L];Array.isArray(V)?V.forEach(z=>{f.push({param:L,value:z,op:"a"})}):f.push({param:L,value:V,op:"a"})}),this.clone(f)}set(I,f){return this.clone({param:I,value:f,op:"s"})}delete(I,f){return this.clone({param:I,value:f,op:"d"})}toString(){return this.init(),this.keys().map(I=>{const f=this.encoder.encodeKey(I);return this.map.get(I).map(L=>f+"="+this.encoder.encodeValue(L)).join("&")}).filter(I=>""!==I).join("&")}clone(I){const f=new ju({encoder:this.encoder});return f.cloneFrom=this.cloneFrom||this,f.updates=(this.updates||[]).concat(I),f}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(I=>this.map.set(I,this.cloneFrom.map.get(I))),this.updates.forEach(I=>{switch(I.op){case"a":case"s":const f=("a"===I.op?this.map.get(I.param):void 0)||[];f.push(_R(I.value)),this.map.set(I.param,f);break;case"d":if(void 0===I.value){this.map.delete(I.param);break}{let L=this.map.get(I.param)||[];const V=L.indexOf(_R(I.value));-1!==V&&L.splice(V,1),L.length>0?this.map.set(I.param,L):this.map.delete(I.param)}}}),this.cloneFrom=this.updates=null)}}class d${constructor(){this.map=new Map}set(I,f){return this.map.set(I,f),this}get(I){return this.map.has(I)||this.map.set(I,I.defaultValue()),this.map.get(I)}delete(I){return this.map.delete(I),this}has(I){return this.map.has(I)}keys(){return this.map.keys()}}function vR(N){return"undefined"!=typeof ArrayBuffer&&N instanceof ArrayBuffer}function bR(N){return"undefined"!=typeof Blob&&N instanceof Blob}function wR(N){return"undefined"!=typeof FormData&&N instanceof FormData}class Rg{constructor(I,f,L,V){let z;if(this.url=f,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=I.toUpperCase(),function f$(N){switch(N){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||V?(this.body=void 0!==L?L:null,z=V):z=L,z&&(this.reportProgress=!!z.reportProgress,this.withCredentials=!!z.withCredentials,z.responseType&&(this.responseType=z.responseType),z.headers&&(this.headers=z.headers),z.context&&(this.context=z.context),z.params&&(this.params=z.params)),this.headers||(this.headers=new Cc),this.context||(this.context=new d$),this.params){const Y=this.params.toString();if(0===Y.length)this.urlWithParams=f;else{const X=f.indexOf("?");this.urlWithParams=f+(-1===X?"?":X<f.length-1?"&":"")+Y}}else this.params=new ju,this.urlWithParams=f}serializeBody(){return null===this.body?null:vR(this.body)||bR(this.body)||wR(this.body)||function h$(N){return"undefined"!=typeof URLSearchParams&&N instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof ju?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||wR(this.body)?null:bR(this.body)?this.body.type||null:vR(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof ju?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(I={}){var f;const L=I.method||this.method,V=I.url||this.url,z=I.responseType||this.responseType,Y=void 0!==I.body?I.body:this.body,X=void 0!==I.withCredentials?I.withCredentials:this.withCredentials,Q=void 0!==I.reportProgress?I.reportProgress:this.reportProgress;let J=I.headers||this.headers,te=I.params||this.params;const re=null!==(f=I.context)&&void 0!==f?f:this.context;return void 0!==I.setHeaders&&(J=Object.keys(I.setHeaders).reduce((oe,ae)=>oe.set(ae,I.setHeaders[ae]),J)),I.setParams&&(te=Object.keys(I.setParams).reduce((oe,ae)=>oe.set(ae,I.setParams[ae]),te)),new Rg(L,V,Y,{params:te,headers:J,context:re,reportProgress:Q,responseType:z,withCredentials:X})}}var Li=(()=>((Li=Li||{})[Li.Sent=0]="Sent",Li[Li.UploadProgress=1]="UploadProgress",Li[Li.ResponseHeader=2]="ResponseHeader",Li[Li.DownloadProgress=3]="DownloadProgress",Li[Li.Response=4]="Response",Li[Li.User=5]="User",Li))();class UE{constructor(I,f=200,L="OK"){this.headers=I.headers||new Cc,this.status=void 0!==I.status?I.status:f,this.statusText=I.statusText||L,this.url=I.url||null,this.ok=this.status>=200&&this.status<300}}class $E extends UE{constructor(I={}){super(I),this.type=Li.ResponseHeader}clone(I={}){return new $E({headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class s0 extends UE{constructor(I={}){super(I),this.type=Li.Response,this.body=void 0!==I.body?I.body:null}clone(I={}){return new s0({body:void 0!==I.body?I.body:this.body,headers:I.headers||this.headers,status:void 0!==I.status?I.status:this.status,statusText:I.statusText||this.statusText,url:I.url||this.url||void 0})}}class CR extends UE{constructor(I){super(I,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${I.url||"(unknown url)"}`:`Http failure response for ${I.url||"(unknown url)"}: ${I.status} ${I.statusText}`,this.error=I.error||null}}function WE(N,I){return{body:I,headers:N.headers,context:N.context,observe:N.observe,params:N.params,reportProgress:N.reportProgress,responseType:N.responseType,withCredentials:N.withCredentials}}let GE=(()=>{class N{constructor(f){this.handler=f}request(f,L,V={}){let z;if(f instanceof Rg)z=f;else{let Q,J;Q=V.headers instanceof Cc?V.headers:new Cc(V.headers),V.params&&(J=V.params instanceof ju?V.params:new ju({fromObject:V.params})),z=new Rg(f,L,void 0!==V.body?V.body:null,{headers:Q,context:V.context,params:J,reportProgress:V.reportProgress,responseType:V.responseType||"json",withCredentials:V.withCredentials})}const Y=Pi(z).pipe(pR(Q=>this.handler.handle(Q)));if(f instanceof Rg||"events"===V.observe)return Y;const X=Y.pipe(zs(Q=>Q instanceof s0));switch(V.observe||"body"){case"body":switch(z.responseType){case"arraybuffer":return X.pipe(Zt(Q=>{if(null!==Q.body&&!(Q.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Q.body}));case"blob":return X.pipe(Zt(Q=>{if(null!==Q.body&&!(Q.body instanceof Blob))throw new Error("Response is not a Blob.");return Q.body}));case"text":return X.pipe(Zt(Q=>{if(null!==Q.body&&"string"!=typeof Q.body)throw new Error("Response is not a string.");return Q.body}));default:return X.pipe(Zt(Q=>Q.body))}case"response":return X;default:throw new Error(`Unreachable: unhandled observe type ${V.observe}}`)}}delete(f,L={}){return this.request("DELETE",f,L)}get(f,L={}){return this.request("GET",f,L)}head(f,L={}){return this.request("HEAD",f,L)}jsonp(f,L){return this.request("JSONP",f,{params:(new ju).append(L,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(f,L={}){return this.request("OPTIONS",f,L)}patch(f,L,V={}){return this.request("PATCH",f,WE(V,L))}post(f,L,V={}){return this.request("POST",f,WE(V,L))}put(f,L,V={}){return this.request("PUT",f,WE(V,L))}}return N.\u0275fac=function(f){return new(f||N)(Pe(mR))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class ER{constructor(I,f){this.next=I,this.interceptor=f}handle(I){return this.interceptor.intercept(I,this.next)}}const DR=new wt("HTTP_INTERCEPTORS");let p$=(()=>{class N{intercept(f,L){return L.handle(f)}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const m$=/^\)\]\}',?\n/;let kR=(()=>{class N{constructor(f){this.xhrFactory=f}handle(f){if("JSONP"===f.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Gt(L=>{const V=this.xhrFactory.build();if(V.open(f.method,f.urlWithParams),f.withCredentials&&(V.withCredentials=!0),f.headers.forEach((ae,le)=>V.setRequestHeader(ae,le.join(","))),f.headers.has("Accept")||V.setRequestHeader("Accept","application/json, text/plain, */*"),!f.headers.has("Content-Type")){const ae=f.detectContentTypeHeader();null!==ae&&V.setRequestHeader("Content-Type",ae)}if(f.responseType){const ae=f.responseType.toLowerCase();V.responseType="json"!==ae?ae:"text"}const z=f.serializeBody();let Y=null;const X=()=>{if(null!==Y)return Y;const ae=V.statusText||"OK",le=new Cc(V.getAllResponseHeaders()),ue=function g$(N){return"responseURL"in N&&N.responseURL?N.responseURL:/^X-Request-URL:/m.test(N.getAllResponseHeaders())?N.getResponseHeader("X-Request-URL"):null}(V)||f.url;return Y=new $E({headers:le,status:V.status,statusText:ae,url:ue}),Y},Q=()=>{let{headers:ae,status:le,statusText:ue,url:ve}=X(),ye=null;204!==le&&(ye=void 0===V.response?V.responseText:V.response),0===le&&(le=ye?200:0);let pe=le>=200&&le<300;if("json"===f.responseType&&"string"==typeof ye){const Ie=ye;ye=ye.replace(m$,"");try{ye=""!==ye?JSON.parse(ye):null}catch(Re){ye=Ie,pe&&(pe=!1,ye={error:Re,text:ye})}}pe?(L.next(new s0({body:ye,headers:ae,status:le,statusText:ue,url:ve||void 0})),L.complete()):L.error(new CR({error:ye,headers:ae,status:le,statusText:ue,url:ve||void 0}))},J=ae=>{const{url:le}=X(),ue=new CR({error:ae,status:V.status||0,statusText:V.statusText||"Unknown Error",url:le||void 0});L.error(ue)};let te=!1;const re=ae=>{te||(L.next(X()),te=!0);let le={type:Li.DownloadProgress,loaded:ae.loaded};ae.lengthComputable&&(le.total=ae.total),"text"===f.responseType&&!!V.responseText&&(le.partialText=V.responseText),L.next(le)},oe=ae=>{let le={type:Li.UploadProgress,loaded:ae.loaded};ae.lengthComputable&&(le.total=ae.total),L.next(le)};return V.addEventListener("load",Q),V.addEventListener("error",J),V.addEventListener("timeout",J),V.addEventListener("abort",J),f.reportProgress&&(V.addEventListener("progress",re),null!==z&&V.upload&&V.upload.addEventListener("progress",oe)),V.send(z),L.next({type:Li.Sent}),()=>{V.removeEventListener("error",J),V.removeEventListener("abort",J),V.removeEventListener("load",Q),V.removeEventListener("timeout",J),f.reportProgress&&(V.removeEventListener("progress",re),null!==z&&V.upload&&V.upload.removeEventListener("progress",oe)),V.readyState!==V.DONE&&V.abort()}})}}return N.\u0275fac=function(f){return new(f||N)(Pe(SA))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();const YE=new wt("XSRF_COOKIE_NAME"),KE=new wt("XSRF_HEADER_NAME");class SR{}let y$=(()=>{class N{constructor(f,L,V){this.doc=f,this.platform=L,this.cookieName=V,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const f=this.doc.cookie||"";return f!==this.lastCookieString&&(this.parseCount++,this.lastToken=yA(f,this.cookieName),this.lastCookieString=f),this.lastToken}}return N.\u0275fac=function(f){return new(f||N)(Pe(In),Pe(N_),Pe(YE))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),qE=(()=>{class N{constructor(f,L){this.tokenService=f,this.headerName=L}intercept(f,L){const V=f.url.toLowerCase();if("GET"===f.method||"HEAD"===f.method||V.startsWith("http://")||V.startsWith("https://"))return L.handle(f);const z=this.tokenService.getToken();return null!==z&&!f.headers.has(this.headerName)&&(f=f.clone({headers:f.headers.set(this.headerName,z)})),L.handle(f)}}return N.\u0275fac=function(f){return new(f||N)(Pe(SR),Pe(KE))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),_$=(()=>{class N{constructor(f,L){this.backend=f,this.injector=L,this.chain=null}handle(f){if(null===this.chain){const L=this.injector.get(DR,[]);this.chain=L.reduceRight((V,z)=>new ER(V,z),this.backend)}return this.chain.handle(f)}}return N.\u0275fac=function(f){return new(f||N)(Pe(gR),Pe(ui))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),v$=(()=>{class N{static disable(){return{ngModule:N,providers:[{provide:qE,useClass:p$}]}}static withOptions(f={}){return{ngModule:N,providers:[f.cookieName?{provide:YE,useValue:f.cookieName}:[],f.headerName?{provide:KE,useValue:f.headerName}:[]]}}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[qE,{provide:DR,useExisting:qE,multi:!0},{provide:SR,useClass:y$},{provide:YE,useValue:"XSRF-TOKEN"},{provide:KE,useValue:"X-XSRF-TOKEN"}]}),N})(),b$=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[GE,{provide:mR,useClass:_$},kR,{provide:gR,useExisting:kR}],imports:[[v$.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),N})(),S$=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[io],io]}),N})();const x$=["sliderWrapper"],as=cg({passive:!1}),I$={provide:pa,useExisting:kn(()=>FR),multi:!0};class R${}const O$=vF(Vv(nE(class{constructor(N){this._elementRef=N}}),"accent"));let FR=(()=>{class N extends O${constructor(f,L,V,z,Y,X,Q,J){super(f),this._focusMonitor=L,this._changeDetectorRef=V,this._dir=z,this._ngZone=X,this._animationMode=J,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new Ut,this.input=new Ut,this.valueChange=new Ut,this.onTouched=()=>{},this._percent=0,this._isSliding=null,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=Se.EMPTY,this._pointerDown=te=>{this.disabled||this._isSliding||!Pg(te)&&0!==te.button||this._ngZone.run(()=>{this._touchId=Pg(te)?function P$(N,I){for(let f=0;f<N.touches.length;f++){const L=N.touches[f].target;if(I===L||I.contains(L))return N.touches[f].identifier}}(te,this._elementRef.nativeElement):void 0;const re=RR(te,this._touchId);if(re){const oe=this.value;this._isSliding="pointer",this._lastPointerEvent=te,this._focusHostElement(),this._onMouseenter(),this._bindGlobalEvents(te),this._focusHostElement(),this._updateValueFromPosition(re),this._valueOnSlideStart=oe,te.cancelable&&te.preventDefault(),oe!=this.value&&this._emitInputEvent()}})},this._pointerMove=te=>{if("pointer"===this._isSliding){const re=RR(te,this._touchId);if(re){te.preventDefault();const oe=this.value;this._lastPointerEvent=te,this._updateValueFromPosition(re),oe!=this.value&&this._emitInputEvent()}}},this._pointerUp=te=>{"pointer"===this._isSliding&&(!Pg(te)||"number"!=typeof this._touchId||QE(te.changedTouches,this._touchId))&&(te.preventDefault(),this._removeGlobalEvents(),this._isSliding=null,this._touchId=void 0,this._valueOnSlideStart!=this.value&&!this.disabled&&this._emitChangeEvent(),this._valueOnSlideStart=this._lastPointerEvent=null)},this._windowBlur=()=>{this._lastPointerEvent&&this._pointerUp(this._lastPointerEvent)},this._document=Q,this.tabIndex=parseInt(Y)||0,X.runOutsideAngular(()=>{const te=f.nativeElement;te.addEventListener("mousedown",this._pointerDown,as),te.addEventListener("touchstart",this._pointerDown,as)})}get invert(){return this._invert}set invert(f){this._invert=Mr(f)}get max(){return this._max}set max(f){this._max=Fu(f,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(f){this._min=Fu(f,this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(f){this._step=Fu(f,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(f){this._thumbLabel=Mr(f)}get tickInterval(){return this._tickInterval}set tickInterval(f){this._tickInterval="auto"===f?"auto":"number"==typeof f||"string"==typeof f?Fu(f,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(f){if(f!==this._value){let L=Fu(f,0);this._roundToDecimal&&L!==this.min&&L!==this.max&&(L=parseFloat(L.toFixed(this._roundToDecimal))),this._value=L,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(f){this._vertical=Mr(f)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(f){this._focusHostElement(f)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}_shouldInvertAxis(){return this.vertical?!this.invert:this.invert}_isMinValue(){return 0===this.percent}_getThumbGap(){return this.disabled?7:this._isMinValue()&&!this.thumbLabel?this._isActive?10:7:0}_getTrackBackgroundStyles(){const L=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._getThumbGap()}px) scale3d(${L})`}}_getTrackFillStyles(){const f=this.percent,V=this.vertical?`1, ${f}, 1`:`${f}, 1, 1`;return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._getThumbGap()}px) scale3d(${V})`,display:0===f?"none":""}}_getTicksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}_getTicksStyles(){let f=100*this._tickIntervalPercent,X={backgroundSize:this.vertical?`2px ${f}%`:`${f}% 2px`,transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${f/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue()&&this._getThumbGap()){const Q=this._shouldInvertAxis();let J;J=this.vertical?Q?"Bottom":"Top":Q?"Right":"Left",X[`padding${J}`]=`${this._getThumbGap()}px`}return X}_getThumbContainerStyles(){const f=this._shouldInvertAxis();return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?f:!f)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){const f=this._shouldInvertAxis();return"rtl"!=this._getDirection()||this.vertical?f:!f}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(f=>{this._isActive=!!f&&"keyboard"!==f,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const f=this._elementRef.nativeElement;f.removeEventListener("mousedown",this._pointerDown,as),f.removeEventListener("touchstart",this._pointerDown,as),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(f){if(this.disabled||Ml(f)||this._isSliding&&"keyboard"!==this._isSliding)return;const L=this.value;switch(f.keyCode){case 33:this._increment(10);break;case 34:this._increment(-10);break;case 35:this.value=this.max;break;case 36:this.value=this.min;break;case 37:this._increment("rtl"==this._getDirection()?1:-1);break;case 38:this._increment(1);break;case 39:this._increment("rtl"==this._getDirection()?-1:1);break;case 40:this._increment(-1);break;default:return}L!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding="keyboard",f.preventDefault()}_onKeyup(){"keyboard"===this._isSliding&&(this._isSliding=null)}_getWindow(){return this._document.defaultView||window}_bindGlobalEvents(f){const L=this._document,V=Pg(f),Y=V?"touchend":"mouseup";L.addEventListener(V?"touchmove":"mousemove",this._pointerMove,as),L.addEventListener(Y,this._pointerUp,as),V&&L.addEventListener("touchcancel",this._pointerUp,as);const X=this._getWindow();void 0!==X&&X&&X.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const f=this._document;f.removeEventListener("mousemove",this._pointerMove,as),f.removeEventListener("mouseup",this._pointerUp,as),f.removeEventListener("touchmove",this._pointerMove,as),f.removeEventListener("touchend",this._pointerUp,as),f.removeEventListener("touchcancel",this._pointerUp,as);const L=this._getWindow();void 0!==L&&L&&L.removeEventListener("blur",this._windowBlur)}_increment(f){const L=this._clamp(this.value||0,this.min,this.max);this.value=this._clamp(L+this.step*f,this.min,this.max)}_updateValueFromPosition(f){if(!this._sliderDimensions)return;let Y=this._clamp(((this.vertical?f.y:f.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(Y=1-Y),0===Y)this.value=this.min;else if(1===Y)this.value=this.max;else{const X=this._calculateValue(Y),Q=Math.round((X-this.min)/this.step)*this.step+this.min;this.value=this._clamp(Q,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(!this.tickInterval||!this._sliderDimensions)return;let f;if("auto"==this.tickInterval){let L=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width;f=Math.ceil(30/(L*this.step/(this.max-this.min)))*this.step/L}else f=this.tickInterval*this.step/(this.max-this.min);this._tickIntervalPercent=IR(f)?f:0}_createChangeEvent(f=this.value){let L=new R$;return L.source=this,L.value=f,L}_calculatePercentage(f){const L=((f||0)-this.min)/(this.max-this.min);return IR(L)?L:0}_calculateValue(f){return this.min+f*(this.max-this.min)}_clamp(f,L=0,V=1){return Math.max(L,Math.min(f,V))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(f){this._elementRef.nativeElement.focus(f)}_blurHostElement(){this._elementRef.nativeElement.blur()}writeValue(f){this.value=f}registerOnChange(f){this._controlValueAccessorChangeFn=f}registerOnTouched(f){this.onTouched=f}setDisabledState(f){this.disabled=f}}return N.\u0275fac=function(f){return new(f||N)(he(Zn),he(fv),he(_o),he(Us,8),Ma("tabindex"),he(Un),he(In),he(Nu,8))},N.\u0275cmp=Rr({type:N,selectors:[["mat-slider"]],viewQuery:function(f,L){if(1&f&&ro(x$,5),2&f){let V;mr(V=gr())&&(L._sliderWrapper=V.first)}},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:29,hostBindings:function(f,L){1&f&&hn("focus",function(){return L._onFocus()})("blur",function(){return L._onBlur()})("keydown",function(z){return L._onKeydown(z)})("keyup",function(){return L._onKeyup()})("mouseenter",function(){return L._onMouseenter()})("selectstart",function(z){return z.preventDefault()}),2&f&&(Sl("tabIndex",L.tabIndex),Kn("aria-disabled",L.disabled)("aria-valuemax",L.max)("aria-valuemin",L.min)("aria-valuenow",L.value)("aria-valuetext",null==L.valueText?L.displayValue:L.valueText)("aria-orientation",L.vertical?"vertical":"horizontal"),ri("mat-slider-disabled",L.disabled)("mat-slider-has-ticks",L.tickInterval)("mat-slider-horizontal",!L.vertical)("mat-slider-axis-inverted",L._shouldInvertAxis())("mat-slider-invert-mouse-coords",L._shouldInvertMouseCoords())("mat-slider-sliding",L._isSliding)("mat-slider-thumb-label-showing",L.thumbLabel)("mat-slider-vertical",L.vertical)("mat-slider-min-value",L._isMinValue())("mat-slider-hide-last-tick",L.disabled||L._isMinValue()&&L._getThumbGap()&&L._shouldInvertAxis())("_mat-animation-noopable","NoopAnimations"===L._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",value:"value",displayWith:"displayWith",valueText:"valueText",vertical:"vertical"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[Qn([I$]),gn],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(f,L){1&f&&(mt(0,"div",0,1)(2,"div",2),Nr(3,"div",3)(4,"div",4),vt(),mt(5,"div",5),Nr(6,"div",6),vt(),mt(7,"div",7),Nr(8,"div",8)(9,"div",9),mt(10,"div",10)(11,"span",11),br(12),vt()()()()),2&f&&(it(3),kt("ngStyle",L._getTrackBackgroundStyles()),it(1),kt("ngStyle",L._getTrackFillStyles()),it(1),kt("ngStyle",L._getTicksContainerStyles()),it(1),kt("ngStyle",L._getTicksStyles()),it(1),kt("ngStyle",L._getThumbContainerStyles()),it(5),$r(L.displayValue))},directives:[CA],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:grabbing}.mat-slider-wrapper{-webkit-print-color-adjust:exact;color-adjust:exact;position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{-webkit-background-clip:content-box;background-clip:content-box;background-repeat:repeat;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\n'],encapsulation:2,changeDetection:0}),N})();function IR(N){return!isNaN(N)&&isFinite(N)}function Pg(N){return"t"===N.type[0]}function RR(N,I){let f;return f=Pg(N)?"number"==typeof I?QE(N.touches,I)||QE(N.changedTouches,I):N.touches[0]||N.changedTouches[0]:N,f?{x:f.clientX,y:f.clientY}:void 0}function QE(N,I){for(let f=0;f<N.length;f++)if(N[f].identifier===I)return N[f]}let N$=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({imports:[[up,io],io]}),N})();function Cf(N){return!!N&&(N instanceof Gt||we(N.lift)&&we(N.subscribe))}function OR(N,I,f){var L,V;let z,Y=!1;return N&&"object"==typeof N?(z=null!==(L=N.bufferSize)&&void 0!==L?L:1/0,I=null!==(V=N.windowTime)&&void 0!==V?V:1/0,Y=!!N.refCount,f=N.scheduler):z=null!=N?N:1/0,Zs({connector:()=>new uR(z,I,f),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Y})}class u0{}let PR=(()=>{class N extends u0{getTranslation(f){return Pi({})}}return N.\u0275fac=function(){let I;return function(L){return(I||(I=Dr(N)))(L||N)}}(),N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class ZE{}let NR=(()=>{class N{handle(f){return f.key}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();function d0(N,I){if(N===I)return!0;if(null===N||null===I)return!1;if(N!=N&&I!=I)return!0;let V,z,Y,f=typeof N;if(f==typeof I&&"object"==f){if(!Array.isArray(N)){if(Array.isArray(I))return!1;for(z in Y=Object.create(null),N){if(!d0(N[z],I[z]))return!1;Y[z]=!0}for(z in I)if(!(z in Y)&&void 0!==I[z])return!1;return!0}if(!Array.isArray(I))return!1;if((V=N.length)==I.length){for(z=0;z<V;z++)if(!d0(N[z],I[z]))return!1;return!0}}return!1}function zu(N){return null!=N}function JE(N){return N&&"object"==typeof N&&!Array.isArray(N)}function LR(N,I){let f=Object.assign({},N);return JE(N)&&JE(I)&&Object.keys(I).forEach(L=>{JE(I[L])?L in N?f[L]=LR(N[L],I[L]):Object.assign(f,{[L]:I[L]}):Object.assign(f,{[L]:I[L]})}),f}class f0{}let VR=(()=>{class N extends f0{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(f,L){let V;return V="string"==typeof f?this.interpolateString(f,L):"function"==typeof f?this.interpolateFunction(f,L):f,V}getValue(f,L){let V="string"==typeof L?L.split("."):[L];L="";do{L+=V.shift(),!zu(f)||!zu(f[L])||"object"!=typeof f[L]&&V.length?V.length?L+=".":f=void 0:(f=f[L],L="")}while(V.length);return f}interpolateFunction(f,L){return f(L)}interpolateString(f,L){return L?f.replace(this.templateMatcher,(V,z)=>{let Y=this.getValue(L,z);return zu(Y)?Y:V}):f}}return N.\u0275fac=function(){let I;return function(L){return(I||(I=Dr(N)))(L||N)}}(),N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class h0{}let BR=(()=>{class N extends h0{compile(f,L){return f}compileTranslations(f,L){return f}}return N.\u0275fac=function(){let I;return function(L){return(I||(I=Dr(N)))(L||N)}}(),N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})();class HR{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new Ut,this.onLangChange=new Ut,this.onDefaultLangChange=new Ut}}const eD=new wt("USE_STORE"),tD=new wt("USE_DEFAULT_LANG"),nD=new wt("DEFAULT_LANGUAGE"),rD=new wt("USE_EXTEND");let Ng=(()=>{class N{constructor(f,L,V,z,Y,X=!0,Q=!1,J=!1,te){this.store=f,this.currentLoader=L,this.compiler=V,this.parser=z,this.missingTranslationHandler=Y,this.useDefaultLang=X,this.isolate=Q,this.extend=J,this.pending=!1,this._onTranslationChange=new Ut,this._onLangChange=new Ut,this._onDefaultLangChange=new Ut,this._langs=[],this._translations={},this._translationRequests={},te&&this.setDefaultLang(te)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(f){this.isolate?this._defaultLang=f:this.store.defaultLang=f}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(f){this.isolate?this._currentLang=f:this.store.currentLang=f}get langs(){return this.isolate?this._langs:this.store.langs}set langs(f){this.isolate?this._langs=f:this.store.langs=f}get translations(){return this.isolate?this._translations:this.store.translations}set translations(f){this.isolate?this._translations=f:this.store.translations=f}setDefaultLang(f){if(f===this.defaultLang)return;let L=this.retrieveTranslations(f);void 0!==L?(null==this.defaultLang&&(this.defaultLang=f),L.pipe(xn(1)).subscribe(V=>{this.changeDefaultLang(f)})):this.changeDefaultLang(f)}getDefaultLang(){return this.defaultLang}use(f){if(f===this.currentLang)return Pi(this.translations[f]);let L=this.retrieveTranslations(f);return void 0!==L?(this.currentLang||(this.currentLang=f),L.pipe(xn(1)).subscribe(V=>{this.changeLang(f)}),L):(this.changeLang(f),Pi(this.translations[f]))}retrieveTranslations(f){let L;return(void 0===this.translations[f]||this.extend)&&(this._translationRequests[f]=this._translationRequests[f]||this.getTranslation(f),L=this._translationRequests[f]),L}getTranslation(f){this.pending=!0;const L=this.currentLoader.getTranslation(f).pipe(OR(1),xn(1));return this.loadingTranslations=L.pipe(Zt(V=>this.compiler.compileTranslations(V,f)),OR(1),xn(1)),this.loadingTranslations.subscribe({next:V=>{this.translations[f]=this.extend&&this.translations[f]?Object.assign(Object.assign({},V),this.translations[f]):V,this.updateLangs(),this.pending=!1},error:V=>{this.pending=!1}}),L}setTranslation(f,L,V=!1){L=this.compiler.compileTranslations(L,f),this.translations[f]=(V||this.extend)&&this.translations[f]?LR(this.translations[f],L):L,this.updateLangs(),this.onTranslationChange.emit({lang:f,translations:this.translations[f]})}getLangs(){return this.langs}addLangs(f){f.forEach(L=>{-1===this.langs.indexOf(L)&&this.langs.push(L)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(f,L,V){let z;if(L instanceof Array){let Y={},X=!1;for(let Q of L)Y[Q]=this.getParsedResult(f,Q,V),Cf(Y[Q])&&(X=!0);return X?lE(L.map(J=>Cf(Y[J])?Y[J]:Pi(Y[J]))).pipe(Zt(J=>{let te={};return J.forEach((re,oe)=>{te[L[oe]]=re}),te})):Y}if(f&&(z=this.parser.interpolate(this.parser.getValue(f,L),V)),void 0===z&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(z=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],L),V)),void 0===z){let Y={key:L,translateService:this};void 0!==V&&(Y.interpolateParams=V),z=this.missingTranslationHandler.handle(Y)}return void 0!==z?z:L}get(f,L){if(!zu(f)||!f.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(pR(V=>Cf(V=this.getParsedResult(V,f,L))?V:Pi(V)));{let V=this.getParsedResult(this.translations[this.currentLang],f,L);return Cf(V)?V:Pi(V)}}getStreamOnTranslationChange(f,L){if(!zu(f)||!f.length)throw new Error('Parameter "key" required');return Bv(r0(()=>this.get(f,L)),this.onTranslationChange.pipe(Fg(V=>{const z=this.getParsedResult(V.translations,f,L);return"function"==typeof z.subscribe?z:Pi(z)})))}stream(f,L){if(!zu(f)||!f.length)throw new Error('Parameter "key" required');return Bv(r0(()=>this.get(f,L)),this.onLangChange.pipe(Fg(V=>{const z=this.getParsedResult(V.translations,f,L);return Cf(z)?z:Pi(z)})))}instant(f,L){if(!zu(f)||!f.length)throw new Error('Parameter "key" required');let V=this.getParsedResult(this.translations[this.currentLang],f,L);if(Cf(V)){if(f instanceof Array){let z={};return f.forEach((Y,X)=>{z[f[X]]=f[X]}),z}return f}return V}set(f,L,V=this.currentLang){this.translations[V][f]=this.compiler.compile(L,V),this.updateLangs(),this.onTranslationChange.emit({lang:V,translations:this.translations[V]})}changeLang(f){this.currentLang=f,this.onLangChange.emit({lang:f,translations:this.translations[f]}),null==this.defaultLang&&this.changeDefaultLang(f)}changeDefaultLang(f){this.defaultLang=f,this.onDefaultLangChange.emit({lang:f,translations:this.translations[f]})}reloadLang(f){return this.resetLang(f),this.getTranslation(f)}resetLang(f){this._translationRequests[f]=void 0,this.translations[f]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let f=window.navigator.languages?window.navigator.languages[0]:null;return f=f||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==f?(-1!==f.indexOf("-")&&(f=f.split("-")[0]),-1!==f.indexOf("_")&&(f=f.split("_")[0]),f):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let f=window.navigator.languages?window.navigator.languages[0]:null;return f=f||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,f}}return N.\u0275fac=function(f){return new(f||N)(Pe(HR),Pe(u0),Pe(h0),Pe(f0),Pe(ZE),Pe(tD),Pe(eD),Pe(rD),Pe(nD))},N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),iD=(()=>{class N{constructor(f,L){this.translate=f,this._ref=L,this.value="",this.lastKey=null,this.lastParams=[]}updateValue(f,L,V){let z=Y=>{this.value=void 0!==Y?Y:f,this.lastKey=f,this._ref.markForCheck()};if(V){let Y=this.translate.getParsedResult(V,f,L);Cf(Y.subscribe)?Y.subscribe(z):z(Y)}this.translate.get(f,L).subscribe(z)}transform(f,...L){if(!f||!f.length)return f;if(d0(f,this.lastKey)&&d0(L,this.lastParams))return this.value;let V;if(zu(L[0])&&L.length)if("string"==typeof L[0]&&L[0].length){let z=L[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{V=JSON.parse(z)}catch(Y){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${L[0]}`)}}else"object"==typeof L[0]&&!Array.isArray(L[0])&&(V=L[0]);return this.lastKey=f,this.lastParams=L,this.updateValue(f,V),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(z=>{this.lastKey&&z.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(f,V,z.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(z=>{this.lastKey&&(this.lastKey=null,this.updateValue(f,V,z.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(f,V))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return N.\u0275fac=function(f){return new(f||N)(he(Ng,16),he(_o,16))},N.\u0275pipe=ao({name:"translate",type:N,pure:!1}),N.\u0275prov=pt({token:N,factory:N.\u0275fac}),N})(),L$=(()=>{class N{static forRoot(f={}){return{ngModule:N,providers:[f.loader||{provide:u0,useClass:PR},f.compiler||{provide:h0,useClass:BR},f.parser||{provide:f0,useClass:VR},f.missingTranslationHandler||{provide:ZE,useClass:NR},HR,{provide:eD,useValue:f.isolate},{provide:tD,useValue:f.useDefaultLang},{provide:rD,useValue:f.extend},{provide:nD,useValue:f.defaultLanguage},Ng]}}static forChild(f={}){return{ngModule:N,providers:[f.loader||{provide:u0,useClass:PR},f.compiler||{provide:h0,useClass:BR},f.parser||{provide:f0,useClass:VR},f.missingTranslationHandler||{provide:ZE,useClass:NR},{provide:eD,useValue:f.isolate},{provide:tD,useValue:f.useDefaultLang},{provide:rD,useValue:f.extend},{provide:nD,useValue:f.defaultLanguage},Ng]}}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=zn({type:N}),N.\u0275inj=un({}),N})();function Cr(N){if(null===N||!0===N||!1===N)return NaN;var I=Number(N);return isNaN(I)?I:I<0?Math.ceil(I):Math.floor(I)}function yi(N,I){if(I.length<N)throw new TypeError(N+" argument"+(N>1?"s":"")+" required, but only "+I.length+" present")}function Qo(N){yi(1,arguments);var I=Object.prototype.toString.call(N);return N instanceof Date||"object"==typeof N&&"[object Date]"===I?new Date(N.getTime()):"number"==typeof N||"[object Number]"===I?new Date(N):(("string"==typeof N||"[object String]"===I)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function jR(N,I){yi(2,arguments);var f=Qo(N),L=Cr(I);return isNaN(L)?new Date(NaN):(L&&f.setDate(f.getDate()+L),f)}function zR(N,I){yi(2,arguments);var f=Qo(N),L=Cr(I);if(isNaN(L))return new Date(NaN);if(!L)return f;var V=f.getDate(),z=new Date(f.getTime());z.setMonth(f.getMonth()+L+1,0);var Y=z.getDate();return V>=Y?z:(f.setFullYear(z.getFullYear(),z.getMonth(),V),f)}function UR(N,I){if(yi(2,arguments),!I||"object"!=typeof I)return new Date(NaN);var f=I.years?Cr(I.years):0,L=I.months?Cr(I.months):0,V=I.weeks?Cr(I.weeks):0,z=I.days?Cr(I.days):0,Y=I.hours?Cr(I.hours):0,X=I.minutes?Cr(I.minutes):0,Q=I.seconds?Cr(I.seconds):0,J=Qo(N),te=L||f?zR(J,L+12*f):J,re=z||V?jR(te,z+7*V):te,oe=X+60*Y,ae=Q+60*oe,le=1e3*ae,ue=new Date(re.getTime()+le);return ue}function V$(N,I){yi(2,arguments);var f=Cr(I);return jR(N,-f)}function B$(N,I){yi(2,arguments);var f=Cr(I);return zR(N,-f)}function z$(N){return yi(1,arguments),N instanceof Date||"object"==typeof N&&"[object Date]"===Object.prototype.toString.call(N)}function U$(N){if(yi(1,arguments),!z$(N)&&"number"!=typeof N)return!1;var I=Qo(N);return!isNaN(Number(I))}var $$={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function oD(N){return function(){var I=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=I.width?String(I.width):N.defaultWidth,L=N.formats[f]||N.formats[N.defaultWidth];return L}}const Q$={date:oD({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:oD({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:oD({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var Z$={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Lg(N){return function(I,f){var z,L=f||{};if("formatting"===(L.context?String(L.context):"standalone")&&N.formattingValues){var Y=N.defaultFormattingWidth||N.defaultWidth,X=L.width?String(L.width):Y;z=N.formattingValues[X]||N.formattingValues[Y]}else{var Q=N.defaultWidth,J=L.width?String(L.width):N.defaultWidth;z=N.values[J]||N.values[Q]}return z[N.argumentCallback?N.argumentCallback(I):I]}}var l9={ordinalNumber:function(N,I){var f=Number(N),L=f%100;if(L>20||L<10)switch(L%10){case 1:return f+"st";case 2:return f+"nd";case 3:return f+"rd"}return f+"th"},era:Lg({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Lg({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(N){return N-1}}),month:Lg({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Lg({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Lg({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};const c9=l9;function Vg(N){return function(I){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=f.width,V=L&&N.matchPatterns[L]||N.matchPatterns[N.defaultMatchWidth],z=I.match(V);if(!z)return null;var J,Y=z[0],X=L&&N.parsePatterns[L]||N.parsePatterns[N.defaultParseWidth],Q=Array.isArray(X)?d9(X,function(re){return re.test(Y)}):u9(X,function(re){return re.test(Y)});J=N.valueCallback?N.valueCallback(Q):Q,J=f.valueCallback?f.valueCallback(J):J;var te=I.slice(Y.length);return{value:J,rest:te}}}function u9(N,I){for(var f in N)if(N.hasOwnProperty(f)&&I(N[f]))return f}function d9(N,I){for(var f=0;f<N.length;f++)if(I(N[f]))return f}var k9={ordinalNumber:function f9(N){return function(I){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},L=I.match(N.matchPattern);if(!L)return null;var V=L[0],z=I.match(N.parsePattern);if(!z)return null;var Y=N.valueCallback?N.valueCallback(z[0]):z[0];Y=f.valueCallback?f.valueCallback(Y):Y;var X=I.slice(V.length);return{value:Y,rest:X}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(N){return parseInt(N,10)}}),era:Vg({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Vg({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(N){return N+1}}),month:Vg({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Vg({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Vg({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const x9={code:"en-US",formatDistance:function(N,I,f){var L,V=$$[N];return L="string"==typeof V?V:1===I?V.one:V.other.replace("{{count}}",I.toString()),null!=f&&f.addSuffix?f.comparison&&f.comparison>0?"in "+L:L+" ago":L},formatLong:Q$,formatRelative:function(N,I,f,L){return Z$[N]},localize:c9,match:k9,options:{weekStartsOn:0,firstWeekContainsDate:1}};function M9(N,I){yi(2,arguments);var f=Qo(N).getTime(),L=Cr(I);return new Date(f+L)}function A9(N,I){yi(2,arguments);var f=Cr(I);return M9(N,-f)}function p0(N){yi(1,arguments);var I=1,f=Qo(N),L=f.getUTCDay(),V=(L<I?7:0)+L-I;return f.setUTCDate(f.getUTCDate()-V),f.setUTCHours(0,0,0,0),f}function $R(N){yi(1,arguments);var I=Qo(N),f=I.getUTCFullYear(),L=new Date(0);L.setUTCFullYear(f+1,0,4),L.setUTCHours(0,0,0,0);var V=p0(L),z=new Date(0);z.setUTCFullYear(f,0,4),z.setUTCHours(0,0,0,0);var Y=p0(z);return I.getTime()>=V.getTime()?f+1:I.getTime()>=Y.getTime()?f:f-1}function I9(N){yi(1,arguments);var I=$R(N),f=new Date(0);f.setUTCFullYear(I,0,4),f.setUTCHours(0,0,0,0);var L=p0(f);return L}var R9=6048e5;function m0(N,I){yi(1,arguments);var f=I||{},L=f.locale,V=L&&L.options&&L.options.weekStartsOn,z=null==V?0:Cr(V),Y=null==f.weekStartsOn?z:Cr(f.weekStartsOn);if(!(Y>=0&&Y<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var X=Qo(N),Q=X.getUTCDay(),J=(Q<Y?7:0)+Q-Y;return X.setUTCDate(X.getUTCDate()-J),X.setUTCHours(0,0,0,0),X}function WR(N,I){yi(1,arguments);var f=Qo(N),L=f.getUTCFullYear(),V=I||{},z=V.locale,Y=z&&z.options&&z.options.firstWeekContainsDate,X=null==Y?1:Cr(Y),Q=null==V.firstWeekContainsDate?X:Cr(V.firstWeekContainsDate);if(!(Q>=1&&Q<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var J=new Date(0);J.setUTCFullYear(L+1,0,Q),J.setUTCHours(0,0,0,0);var te=m0(J,I),re=new Date(0);re.setUTCFullYear(L,0,Q),re.setUTCHours(0,0,0,0);var oe=m0(re,I);return f.getTime()>=te.getTime()?L+1:f.getTime()>=oe.getTime()?L:L-1}function P9(N,I){yi(1,arguments);var f=I||{},L=f.locale,V=L&&L.options&&L.options.firstWeekContainsDate,z=null==V?1:Cr(V),Y=null==f.firstWeekContainsDate?z:Cr(f.firstWeekContainsDate),X=WR(N,I),Q=new Date(0);Q.setUTCFullYear(X,0,Y),Q.setUTCHours(0,0,0,0);var J=m0(Q,I);return J}var N9=6048e5;function Ar(N,I){for(var f=N<0?"-":"",L=Math.abs(N).toString();L.length<I;)L="0"+L;return f+L}var V9={y:function(N,I){var f=N.getUTCFullYear(),L=f>0?f:1-f;return Ar("yy"===I?L%100:L,I.length)},M:function(N,I){var f=N.getUTCMonth();return"M"===I?String(f+1):Ar(f+1,2)},d:function(N,I){return Ar(N.getUTCDate(),I.length)},a:function(N,I){var f=N.getUTCHours()/12>=1?"pm":"am";switch(I){case"a":case"aa":return f.toUpperCase();case"aaa":return f;case"aaaaa":return f[0];default:return"am"===f?"a.m.":"p.m."}},h:function(N,I){return Ar(N.getUTCHours()%12||12,I.length)},H:function(N,I){return Ar(N.getUTCHours(),I.length)},m:function(N,I){return Ar(N.getUTCMinutes(),I.length)},s:function(N,I){return Ar(N.getUTCSeconds(),I.length)},S:function(N,I){var f=I.length,L=N.getUTCMilliseconds();return Ar(Math.floor(L*Math.pow(10,f-3)),I.length)}};const Uu=V9;var B9={G:function(N,I,f){var L=N.getUTCFullYear()>0?1:0;switch(I){case"G":case"GG":case"GGG":return f.era(L,{width:"abbreviated"});case"GGGGG":return f.era(L,{width:"narrow"});default:return f.era(L,{width:"wide"})}},y:function(N,I,f){if("yo"===I){var L=N.getUTCFullYear();return f.ordinalNumber(L>0?L:1-L,{unit:"year"})}return Uu.y(N,I)},Y:function(N,I,f,L){var V=WR(N,L),z=V>0?V:1-V;return"YY"===I?Ar(z%100,2):"Yo"===I?f.ordinalNumber(z,{unit:"year"}):Ar(z,I.length)},R:function(N,I){return Ar($R(N),I.length)},u:function(N,I){return Ar(N.getUTCFullYear(),I.length)},Q:function(N,I,f){var L=Math.ceil((N.getUTCMonth()+1)/3);switch(I){case"Q":return String(L);case"QQ":return Ar(L,2);case"Qo":return f.ordinalNumber(L,{unit:"quarter"});case"QQQ":return f.quarter(L,{width:"abbreviated",context:"formatting"});case"QQQQQ":return f.quarter(L,{width:"narrow",context:"formatting"});default:return f.quarter(L,{width:"wide",context:"formatting"})}},q:function(N,I,f){var L=Math.ceil((N.getUTCMonth()+1)/3);switch(I){case"q":return String(L);case"qq":return Ar(L,2);case"qo":return f.ordinalNumber(L,{unit:"quarter"});case"qqq":return f.quarter(L,{width:"abbreviated",context:"standalone"});case"qqqqq":return f.quarter(L,{width:"narrow",context:"standalone"});default:return f.quarter(L,{width:"wide",context:"standalone"})}},M:function(N,I,f){var L=N.getUTCMonth();switch(I){case"M":case"MM":return Uu.M(N,I);case"Mo":return f.ordinalNumber(L+1,{unit:"month"});case"MMM":return f.month(L,{width:"abbreviated",context:"formatting"});case"MMMMM":return f.month(L,{width:"narrow",context:"formatting"});default:return f.month(L,{width:"wide",context:"formatting"})}},L:function(N,I,f){var L=N.getUTCMonth();switch(I){case"L":return String(L+1);case"LL":return Ar(L+1,2);case"Lo":return f.ordinalNumber(L+1,{unit:"month"});case"LLL":return f.month(L,{width:"abbreviated",context:"standalone"});case"LLLLL":return f.month(L,{width:"narrow",context:"standalone"});default:return f.month(L,{width:"wide",context:"standalone"})}},w:function(N,I,f,L){var V=function L9(N,I){yi(1,arguments);var f=Qo(N),L=m0(f,I).getTime()-P9(f,I).getTime();return Math.round(L/N9)+1}(N,L);return"wo"===I?f.ordinalNumber(V,{unit:"week"}):Ar(V,I.length)},I:function(N,I,f){var L=function O9(N){yi(1,arguments);var I=Qo(N),f=p0(I).getTime()-I9(I).getTime();return Math.round(f/R9)+1}(N);return"Io"===I?f.ordinalNumber(L,{unit:"week"}):Ar(L,I.length)},d:function(N,I,f){return"do"===I?f.ordinalNumber(N.getUTCDate(),{unit:"date"}):Uu.d(N,I)},D:function(N,I,f){var L=function F9(N){yi(1,arguments);var I=Qo(N),f=I.getTime();I.setUTCMonth(0,1),I.setUTCHours(0,0,0,0);var L=I.getTime();return Math.floor((f-L)/864e5)+1}(N);return"Do"===I?f.ordinalNumber(L,{unit:"dayOfYear"}):Ar(L,I.length)},E:function(N,I,f){var L=N.getUTCDay();switch(I){case"E":case"EE":case"EEE":return f.day(L,{width:"abbreviated",context:"formatting"});case"EEEEE":return f.day(L,{width:"narrow",context:"formatting"});case"EEEEEE":return f.day(L,{width:"short",context:"formatting"});default:return f.day(L,{width:"wide",context:"formatting"})}},e:function(N,I,f,L){var V=N.getUTCDay(),z=(V-L.weekStartsOn+8)%7||7;switch(I){case"e":return String(z);case"ee":return Ar(z,2);case"eo":return f.ordinalNumber(z,{unit:"day"});case"eee":return f.day(V,{width:"abbreviated",context:"formatting"});case"eeeee":return f.day(V,{width:"narrow",context:"formatting"});case"eeeeee":return f.day(V,{width:"short",context:"formatting"});default:return f.day(V,{width:"wide",context:"formatting"})}},c:function(N,I,f,L){var V=N.getUTCDay(),z=(V-L.weekStartsOn+8)%7||7;switch(I){case"c":return String(z);case"cc":return Ar(z,I.length);case"co":return f.ordinalNumber(z,{unit:"day"});case"ccc":return f.day(V,{width:"abbreviated",context:"standalone"});case"ccccc":return f.day(V,{width:"narrow",context:"standalone"});case"cccccc":return f.day(V,{width:"short",context:"standalone"});default:return f.day(V,{width:"wide",context:"standalone"})}},i:function(N,I,f){var L=N.getUTCDay(),V=0===L?7:L;switch(I){case"i":return String(V);case"ii":return Ar(V,I.length);case"io":return f.ordinalNumber(V,{unit:"day"});case"iii":return f.day(L,{width:"abbreviated",context:"formatting"});case"iiiii":return f.day(L,{width:"narrow",context:"formatting"});case"iiiiii":return f.day(L,{width:"short",context:"formatting"});default:return f.day(L,{width:"wide",context:"formatting"})}},a:function(N,I,f){var V=N.getUTCHours()/12>=1?"pm":"am";switch(I){case"a":case"aa":return f.dayPeriod(V,{width:"abbreviated",context:"formatting"});case"aaa":return f.dayPeriod(V,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return f.dayPeriod(V,{width:"narrow",context:"formatting"});default:return f.dayPeriod(V,{width:"wide",context:"formatting"})}},b:function(N,I,f){var V,L=N.getUTCHours();switch(V=12===L?"noon":0===L?"midnight":L/12>=1?"pm":"am",I){case"b":case"bb":return f.dayPeriod(V,{width:"abbreviated",context:"formatting"});case"bbb":return f.dayPeriod(V,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return f.dayPeriod(V,{width:"narrow",context:"formatting"});default:return f.dayPeriod(V,{width:"wide",context:"formatting"})}},B:function(N,I,f){var V,L=N.getUTCHours();switch(V=L>=17?"evening":L>=12?"afternoon":L>=4?"morning":"night",I){case"B":case"BB":case"BBB":return f.dayPeriod(V,{width:"abbreviated",context:"formatting"});case"BBBBB":return f.dayPeriod(V,{width:"narrow",context:"formatting"});default:return f.dayPeriod(V,{width:"wide",context:"formatting"})}},h:function(N,I,f){if("ho"===I){var L=N.getUTCHours()%12;return 0===L&&(L=12),f.ordinalNumber(L,{unit:"hour"})}return Uu.h(N,I)},H:function(N,I,f){return"Ho"===I?f.ordinalNumber(N.getUTCHours(),{unit:"hour"}):Uu.H(N,I)},K:function(N,I,f){var L=N.getUTCHours()%12;return"Ko"===I?f.ordinalNumber(L,{unit:"hour"}):Ar(L,I.length)},k:function(N,I,f){var L=N.getUTCHours();return 0===L&&(L=24),"ko"===I?f.ordinalNumber(L,{unit:"hour"}):Ar(L,I.length)},m:function(N,I,f){return"mo"===I?f.ordinalNumber(N.getUTCMinutes(),{unit:"minute"}):Uu.m(N,I)},s:function(N,I,f){return"so"===I?f.ordinalNumber(N.getUTCSeconds(),{unit:"second"}):Uu.s(N,I)},S:function(N,I){return Uu.S(N,I)},X:function(N,I,f,L){var z=(L._originalDate||N).getTimezoneOffset();if(0===z)return"Z";switch(I){case"X":return YR(z);case"XXXX":case"XX":return Ef(z);default:return Ef(z,":")}},x:function(N,I,f,L){var z=(L._originalDate||N).getTimezoneOffset();switch(I){case"x":return YR(z);case"xxxx":case"xx":return Ef(z);default:return Ef(z,":")}},O:function(N,I,f,L){var z=(L._originalDate||N).getTimezoneOffset();switch(I){case"O":case"OO":case"OOO":return"GMT"+GR(z,":");default:return"GMT"+Ef(z,":")}},z:function(N,I,f,L){var z=(L._originalDate||N).getTimezoneOffset();switch(I){case"z":case"zz":case"zzz":return"GMT"+GR(z,":");default:return"GMT"+Ef(z,":")}},t:function(N,I,f,L){return Ar(Math.floor((L._originalDate||N).getTime()/1e3),I.length)},T:function(N,I,f,L){return Ar((L._originalDate||N).getTime(),I.length)}};function GR(N,I){var f=N>0?"-":"+",L=Math.abs(N),V=Math.floor(L/60),z=L%60;if(0===z)return f+String(V);var Y=I||"";return f+String(V)+Y+Ar(z,2)}function YR(N,I){return N%60==0?(N>0?"-":"+")+Ar(Math.abs(N)/60,2):Ef(N,I)}function Ef(N,I){var f=I||"",L=N>0?"-":"+",V=Math.abs(N);return L+Ar(Math.floor(V/60),2)+f+Ar(V%60,2)}const H9=B9;function KR(N,I){switch(N){case"P":return I.date({width:"short"});case"PP":return I.date({width:"medium"});case"PPP":return I.date({width:"long"});default:return I.date({width:"full"})}}function qR(N,I){switch(N){case"p":return I.time({width:"short"});case"pp":return I.time({width:"medium"});case"ppp":return I.time({width:"long"});default:return I.time({width:"full"})}}var z9={p:qR,P:function j9(N,I){var z,f=N.match(/(P+)(p+)?/)||[],L=f[1],V=f[2];if(!V)return KR(N,I);switch(L){case"P":z=I.dateTime({width:"short"});break;case"PP":z=I.dateTime({width:"medium"});break;case"PPP":z=I.dateTime({width:"long"});break;default:z=I.dateTime({width:"full"})}return z.replace("{{date}}",KR(L,I)).replace("{{time}}",qR(V,I))}};const U9=z9;function aD(N){var I=new Date(Date.UTC(N.getFullYear(),N.getMonth(),N.getDate(),N.getHours(),N.getMinutes(),N.getSeconds(),N.getMilliseconds()));return I.setUTCFullYear(N.getFullYear()),N.getTime()-I.getTime()}var $9=["D","DD"],W9=["YY","YYYY"];function G9(N){return-1!==$9.indexOf(N)}function Y9(N){return-1!==W9.indexOf(N)}function XR(N,I,f){if("YYYY"===N)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(I,"`) for formatting years to the input `").concat(f,"`; see: https://git.io/fxCyr"));if("YY"===N)throw new RangeError("Use `yy` instead of `YY` (in `".concat(I,"`) for formatting years to the input `").concat(f,"`; see: https://git.io/fxCyr"));if("D"===N)throw new RangeError("Use `d` instead of `D` (in `".concat(I,"`) for formatting days of the month to the input `").concat(f,"`; see: https://git.io/fxCyr"));if("DD"===N)throw new RangeError("Use `dd` instead of `DD` (in `".concat(I,"`) for formatting days of the month to the input `").concat(f,"`; see: https://git.io/fxCyr"))}var K9=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,q9=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,X9=/^'([^]*?)'?$/,Q9=/''/g,Z9=/[a-zA-Z]/;function QR(N,I,f){yi(2,arguments);var L=String(I),V=f||{},z=V.locale||x9,Y=z.options&&z.options.firstWeekContainsDate,X=null==Y?1:Cr(Y),Q=null==V.firstWeekContainsDate?X:Cr(V.firstWeekContainsDate);if(!(Q>=1&&Q<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var J=z.options&&z.options.weekStartsOn,te=null==J?0:Cr(J),re=null==V.weekStartsOn?te:Cr(V.weekStartsOn);if(!(re>=0&&re<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!z.localize)throw new RangeError("locale must contain localize property");if(!z.formatLong)throw new RangeError("locale must contain formatLong property");var oe=Qo(N);if(!U$(oe))throw new RangeError("Invalid time value");var ae=aD(oe),le=A9(oe,ae),ue={firstWeekContainsDate:Q,weekStartsOn:re,locale:z,_originalDate:oe},ve=L.match(q9).map(function(ye){var pe=ye[0];return"p"===pe||"P"===pe?(0,U9[pe])(ye,z.formatLong,ue):ye}).join("").match(K9).map(function(ye){if("''"===ye)return"'";var pe=ye[0];if("'"===pe)return J9(ye);var Ie=H9[pe];if(Ie)return!V.useAdditionalWeekYearTokens&&Y9(ye)&&XR(ye,I,N),!V.useAdditionalDayOfYearTokens&&G9(ye)&&XR(ye,I,N),Ie(le,ye,z.localize,ue);if(pe.match(Z9))throw new RangeError("Format string contains an unescaped latin alphabet character `"+pe+"`");return ye}).join("");return ve}function J9(N){return N.match(X9)[1].replace(Q9,"'")}var tW={year:0,month:1,day:2,hour:3,minute:4,second:5},sD={},lD={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function JR(N,I,f){var L,V,z;if(""===N||(L=lD.timezoneZ.exec(N)))return 0;if(L=lD.timezoneHH.exec(N))return eO(z=parseInt(L[2],10))?(V=36e5*z,"+"===L[1]?-V:V):NaN;if(L=lD.timezoneHHMM.exec(N)){z=parseInt(L[2],10);var Y=parseInt(L[3],10);return eO(0,Y)?(V=36e5*z+6e4*Y,"+"===L[1]?-V:V):NaN}if(function lW(N){if(tO[N])return!0;try{return Intl.DateTimeFormat(void 0,{timeZone:N}),tO[N]=!0,!0}catch(I){return!1}}(N)){I=new Date(I||Date.now());var X=f?I:function aW(N){return new Date(Date.UTC(N.getFullYear(),N.getMonth(),N.getDate(),N.getHours(),N.getMinutes(),N.getSeconds(),N.getMilliseconds()))}(I),Q=cD(X,N),J=f?Q:function sW(N,I,f){var V=N.getTime()-I,z=cD(new Date(V),f);if(I===z)return I;V-=z-I;var Y=cD(new Date(V),f);return z===Y?z:Math.max(z,Y)}(I,Q,N);return-J}return NaN}function cD(N,I){var f=function eW(N,I){var f=function iW(N){if(!sD[N]){var I=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));sD[N]="06/25/2014, 00:00:00"===I||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===I?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:N,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:N,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return sD[N]}(I);return f.formatToParts?function nW(N,I){for(var f=N.formatToParts(I),L=[],V=0;V<f.length;V++){var z=tW[f[V].type];z>=0&&(L[z]=parseInt(f[V].value,10))}return L}(f,N):function rW(N,I){var f=N.format(I).replace(/\u200E/g,""),L=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(f);return[L[3],L[1],L[2],L[4],L[5],L[6]]}(f,N)}(N,I),L=Date.UTC(f[0],f[1]-1,f[2],f[3]%24,f[4],f[5]),V=N.getTime(),z=V%1e3;return L-(V-(z>=0?z:1e3+z))}function eO(N,I){return!(null!=I&&(I<0||I>59))}var tO={},uD=36e5,Zo={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/};function hW(N){var L,I={},f=Zo.dateTimePattern.exec(N);if(f?(I.date=f[1],L=f[3]):(f=Zo.datePattern.exec(N))?(I.date=f[1],L=f[2]):(I.date=null,L=N),L){var V=Zo.timeZone.exec(L);V?(I.time=L.replace(V[1],""),I.timeZone=V[1].trim()):I.time=L}return I}function pW(N,I){var V,f=Zo.YYY[I],L=Zo.YYYYY[I];if(V=Zo.YYYY.exec(N)||L.exec(N)){var z=V[1];return{year:parseInt(z,10),restDateString:N.slice(z.length)}}if(V=Zo.YY.exec(N)||f.exec(N)){var Y=V[1];return{year:100*parseInt(Y,10),restDateString:N.slice(Y.length)}}return{year:null}}function mW(N,I){if(null===I)return null;var f,L,V,z;if(0===N.length)return(L=new Date(0)).setUTCFullYear(I),L;if(f=Zo.MM.exec(N))return L=new Date(0),oO(I,V=parseInt(f[1],10)-1)?(L.setUTCFullYear(I,V),L):new Date(NaN);if(f=Zo.DDD.exec(N)){L=new Date(0);var Y=parseInt(f[1],10);return function vW(N,I){if(I<1)return!1;var f=iO(N);return!(f&&I>366||!f&&I>365)}(I,Y)?(L.setUTCFullYear(I,0,Y),L):new Date(NaN)}if(f=Zo.MMDD.exec(N)){L=new Date(0),V=parseInt(f[1],10)-1;var X=parseInt(f[2],10);return oO(I,V,X)?(L.setUTCFullYear(I,V,X),L):new Date(NaN)}if(f=Zo.Www.exec(N))return aO(0,z=parseInt(f[1],10)-1)?rO(I,z):new Date(NaN);if(f=Zo.WwwD.exec(N)){z=parseInt(f[1],10)-1;var Q=parseInt(f[2],10)-1;return aO(0,z,Q)?rO(I,z,Q):new Date(NaN)}return null}function gW(N){var I,f,L;if(I=Zo.HH.exec(N))return dD(f=parseFloat(I[1].replace(",",".")))?f%24*uD:NaN;if(I=Zo.HHMM.exec(N))return dD(f=parseInt(I[1],10),L=parseFloat(I[2].replace(",",".")))?f%24*uD+6e4*L:NaN;if(I=Zo.HHMMSS.exec(N)){f=parseInt(I[1],10),L=parseInt(I[2],10);var V=parseFloat(I[3].replace(",","."));return dD(f,L,V)?f%24*uD+6e4*L+1e3*V:NaN}return null}function rO(N,I,f){I=I||0,f=f||0;var L=new Date(0);L.setUTCFullYear(N,0,4);var z=7*I+f+1-(L.getUTCDay()||7);return L.setUTCDate(L.getUTCDate()+z),L}var yW=[31,28,31,30,31,30,31,31,30,31,30,31],_W=[31,29,31,30,31,30,31,31,30,31,30,31];function iO(N){return N%400==0||N%4==0&&N%100!=0}function oO(N,I,f){if(I<0||I>11)return!1;if(null!=f){if(f<1)return!1;var L=iO(N);if(L&&f>_W[I]||!L&&f>yW[I])return!1}return!0}function aO(N,I,f){return!(I<0||I>52||null!=f&&(f<0||f>6))}function dD(N,I,f){return!(null!=N&&(N<0||N>=25)||null!=I&&(I<0||I>=60)||null!=f&&(f<0||f>=60))}function Df(N,I,f){var L=function fW(N,I){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===N)return new Date(NaN);var f=I||{},L=null==f.additionalDigits?2:Cr(f.additionalDigits);if(2!==L&&1!==L&&0!==L)throw new RangeError("additionalDigits must be 0, 1 or 2");if(N instanceof Date||"object"==typeof N&&"[object Date]"===Object.prototype.toString.call(N))return new Date(N.getTime());if("number"==typeof N||"[object Number]"===Object.prototype.toString.call(N))return new Date(N);if("string"!=typeof N&&"[object String]"!==Object.prototype.toString.call(N))return new Date(NaN);var V=hW(N),z=pW(V.date,L),Q=mW(z.restDateString,z.year);if(isNaN(Q))return new Date(NaN);if(Q){var re,J=Q.getTime(),te=0;if(V.time&&(te=gW(V.time),isNaN(te)))return new Date(NaN);if(V.timeZone||f.timeZone){if(re=JR(V.timeZone||f.timeZone,new Date(J+te)),isNaN(re))return new Date(NaN)}else re=aD(new Date(J+te)),re=aD(new Date(J+te+re));return new Date(J+te+re)}return new Date(NaN)}(N,f),V=JR(I,L,!0),z=new Date(L.getTime()-V);return new Date(z.getUTCFullYear(),z.getUTCMonth(),z.getUTCDate(),z.getUTCHours(),z.getUTCMinutes(),z.getUTCSeconds(),z.getUTCMilliseconds())}const bW={search:"Suche",select_hotel:"Hotel ausw\xe4hlen",select_location:"Apartment ausw\xe4hlen",range_date:"Daten ausw\xe4hlen",people_label:"Personen im Zimmer?",people_label_apartment:"G\xe4ste im Apartment?",special_rate:"Spezialrate",adults_sing:"Erwachsener",adults_pl:"Erwachsene",kids_sing:"Kind",kids_pl:"Kinder",children:"Kinder",age_adults:"13 Jahre oder \xe4lter",age_children:"Alter 0-12",adds_children_age:"F\xfcge Alter der Kinder hinzu",start_date:"Anreisedatum",end_date:"Abreisedatum"},wW={search:"Search",select_hotel:"Select your hotel",select_location:"Choose location",range_date:"Select dates",people_label:"People per room?",people_label_apartment:"People per apartment?",special_rate:"Special rate",adults_sing:"Adult",adults_pl:"Adults",kids_sing:"Kid",kids_pl:"Kids",children:"Children",age_adults:"Age 13 and above",age_children:"Age 0-12",adds_children_age:"Adds children ages",start_date:"Arrival date",end_date:"Departure date"},CW={search:"Cerca",select_hotel:"Seleziona l'hotel",select_location:"Choose apartment",range_date:"Seleziona le date",people_label:"Quante persone?",people_label_apartment:"People per apartment?",special_rate:"Tariffa speciale",adults_sing:"Adulto",adults_pl:"Adulti",kids_sing:"Bambino",kids_pl:"Bambini",children:"Bambini",age_adults:"Dai 13 anni in su",age_children:"Et\xe0 0-12 anni",adds_children_age:"Aggiungi l'et\xe0 dei bambini",start_date:"Arrivo",end_date:"Partenza"},EW={search:"Rechercher",select_hotel:"S\xe9lectionnez votre h\xf4tel",range_date:"S\xe9lectionnez les dates",people_label:"Personnes par chambre ?",special_rate:"Tarif sp\xe9cial",adults_sing:"Adulte",adults_pl:"Adultes",kids_sing:"Enfant",kids_pl:"Enfants",children:"Enfants",age_adults:"\xc0 partir de 13 ans",age_children:"De 0 \xe0 12 ans",adds_children_age:"Ajouter l'\xe2ge des enfants",start_date:"Date d'arriv\xe9e",end_date:"Date de d\xe9part"};let fD=(()=>{class N{constructor(){this.peopleModel=new gC({})}getSearchModel(){return this.peopleModel.asObservable()}updateValues(f,L){this.peopleModel.next({adults:f,children:L})}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const DW={theme:"flemlodge-theme",urls:{guestJourney:"https://my.flemlodge.ch"},apiKey:"custom_api_key",tenantId:"flemlodge"},kW={Bern:[{propertyId:"BRNEL",name:"Stay KooooK Bern City",currencyCode:"CHF",timeZone:"Europe/Zurich"},{propertyId:"BRNEE",name:"Stay KooooK  Test Wankdorf",currencyCode:"CHF",timeZone:"Europe/Zurich"}]},lO={staykooook:"https://my.staykooook.com","staykooook-test":"https://my.staykooook-test.likemagic.tech",leoneck:"https://my.leoneck.ch",walhalla:"https://my.walhalla-hotel.ch",amaris:"https://my.hotelamaris.ch",flemlodge:"https://my.flemlodge.ch",anstatt:"https://my.anstatthotel.ch",mmnt:"https://my.mmnt-intime.com",conti:"https://my.conti.ch",smarthotel:"https://my.6532smarthotel.ch",staybright:"https://my.stay-bright.com","welcome-homes":"https://my.welcomehomes.ch",pensionarosa:"https://my.pensionarosa.ch",zipper:"https://my.the-zipper.com",gghotel:"https://my.gg-hotel-apartments.ch",zzzpace:"https://my.zzzpace.com",nshotel:"https://my.ns-hotel.ch",flatlight:"https://my.flatlight.eu","tfe-poc":"https://my.tfe-poc.likemagic.tech",achesahomes:"https://my.achesahomes.ch","ibis-styles":"https://my.ibis-styles-nagold.de",mcdreams:"https://my.mcdreamshotels.de",yarn:"https://my.theyarn.ch",dreamcation:"https://my.dreamcation-apartments.de",regiohotel:"https://my.regiohotel.de",hotelswissstar:"https://my.hotel-swiss-star.ch",lifehome:"https://my.life-home.eu",hopfenhotel:"https://my.hopfenhotel-bamberg.de",urbanisland:"https://my.urban-island.at",suite4me:"https://my.suite4me.com",staey:"https://my.staey.de",hotelamkreisel:"https://my.hotelamkreisel.ch",hotelvienna:"https://my.hotelvienna.at",lofthotel:"https://my.lofthotel.ch",phagenbeck:"https://my.parkhotel-hagenbeck.de",stayawesome:"https://my.stayawesome.de",aparthoteladelboden:"https://my.aparthotel-adelboden.ch",ilmomento:"https://my.il-momento.ch",peakstay:"https://my.peakstay.at","b-smarts":"https://my.b-smarts.net",bohn:"https://my.bohnapartments.de",bergidyll:"https://my.hotelbergidyll.ch",pure:"https://my.pure-vacation.com",linzerhaus:"https://my.lh-suites.at",dmka:"https://my.dmkagroup.com",mooi:"https://my.mooi-apartments.ch",laudinella:"https://my.laudinella.ch",airmont:"https://my.the-serviced.com",apart4you:"https://my.apart4you.at","harrys-home":"https://my.harrys-home.com",coucou:"https://my.nonanteneuf-hotel.ch",glandon:"https://my.glandon-apartments.ch",homaris:"https://my.homaris.de",revier:"https://my.revierhotels.com",staycooper:"https://my.stay-cooper.com",ospelt:"https://my.flowhotel.li",hopapartments:"https://my.hopapartments.com",apartnaest:"https://my.apartnaest.de","idee-living":"https://my.villa-bassermann.de",edler:"https://my.edler-wohnraum.de",apartimo:"https://my.apartimo.de","arbed-living":"https://my.arbedlivinghotel.ch",mooons:"https://my.mooons.com",weitzer:"https://my.weitzer.com",apartyou:"https://my.apart-you.com",sandkorn:"https://my.hotel-sandkorn.com","ko-living":"https://my.ko-living.de","waldhuus-bellary":"https://my.bellary.ch",gutkletkamp:"https://my.gutkletkamp.de","grossauer-homes":"https://my.grossauerhomes.at",staysunday:"https://my.staysunday.com","hotel-schlicker":"https://my.hotel-schlicker.de",twnhs:"https://my.twnhs.com","conlon-house":"https://my.conlon.house","beachside-groemitz":"https://my.beachside-groemitz.de","karl-konstanz":"https://my.karl-konstanz.de","carls-hotel":"https://my.carls-hotel.de",svyvo:"https://my.svyvo.com",home2share:"https://my.home2share.de",b20:"https://my.b20.ch",blacksummit:"https://my.blacksummit.ch","kitzski-living":"https://my.kitzski-living.at",shoreline:"https://my.theshoreline.de",lindgold:"https://my.lind.gold","gut-huegle":"https://my.guthuegle.de","tz-immobilien":"https://my.tzimmobilien.de"},g0="https://my.staykooook-test.likemagic.tech",cO=()=>window.location.href.indexOf("localhost")>=0;let xW=(()=>{class N{constructor(){this.baseUrl="https://my.staykooook.com"}getTenant(f,L){var V;const z=new Headers({"window-location":window.location.href});let Y="/api/frontend-configuration/widget";return this.baseUrl=cO()?g0:null!==(V=lO[f])&&void 0!==V?V:g0,Y=`${null!=L?L:this.baseUrl}${Y}`,"mock"===f?new Promise((X,Q)=>X(DW)):fetch(Y,{headers:z}).then(X=>X.json())}getProperties(f,L,V){var z;const Y=new Headers({"sk-magic-api-key":f,"tenant-id":L});let X="/api/guest-journey-service/properties/grouped-by-city";return this.baseUrl=cO()?g0:null!==(z=lO[L])&&void 0!==z?z:g0,X=`${null!=V?V:this.baseUrl}${X}`,"mock"===L?new Promise((Q,J)=>Q(kW)):fetch(X,{headers:Y}).then(Q=>Q.json())}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();function uO(N,I,f,L,V,z,Y){try{var X=N[z](Y),Q=X.value}catch(J){return void f(J)}X.done?I(Q):Promise.resolve(Q).then(L,V)}function vo(N){return function(){var I=this,f=arguments;return new Promise(function(L,V){var z=N.apply(I,f);function Y(Q){uO(z,L,V,Y,X,"next",Q)}function X(Q){uO(z,L,V,Y,X,"throw",Q)}Y(void 0)})}}var N,dO=Ve(305),Vi=Ve(611),hD=function(){return hD=Object.assign||function(N){for(var I,f=1,L=arguments.length;f<L;f++)for(var V in I=arguments[f])Object.prototype.hasOwnProperty.call(I,V)&&(N[V]=I[V]);return N},hD.apply(this,arguments)},AW=Ve(814),TW=Ve.n(AW),FW=(N=function(I,f){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(L,V){L.__proto__=V}||function(L,V){for(var z in V)V.hasOwnProperty(z)&&(L[z]=V[z])})(I,f)},function(I,f){function L(){this.constructor=I}N(I,f),I.prototype=null===f?Object.create(f):(L.prototype=f.prototype,new L)}),Ep=function(){return Ep=Object.assign||function(N){for(var I,f=1,L=arguments.length;f<L;f++)for(var V in I=arguments[f])Object.prototype.hasOwnProperty.call(I,V)&&(N[V]=I[V]);return N},Ep.apply(this,arguments)};function RW(N){return!!N.idToken&&!!N.token}var fO=function MW(N){return(0,Vi.createContext)(hD({initialized:!1},N))}();if(function IW(N){var I={onLoad:"check-sso"},f={initialized:!1,isAuthenticated:!1,isLoading:!0};(function(L){function V(){var z=null!==L&&L.apply(this,arguments)||this;return z.state=Ep({},f),z.onError=function(Y){return function(X){var Q=z.props.onEvent;Q&&Q(Y,X)}},z.updateState=function(Y){return function(){var X=z.props,Q=X.authClient,J=X.onEvent,te=X.onTokens,re=X.isLoadingCheck,oe=z.state,ae=oe.initialized,le=oe.isAuthenticated,ue=oe.isLoading;J&&J(Y);var ve=!!re&&re(Q),ye=RW(Q);(!ae||ye!==le||ve!==ue)&&z.setState({initialized:!0,isAuthenticated:ye,isLoading:ve}),te&&te({idToken:Q.idToken,refreshToken:Q.refreshToken,token:Q.token})}},z.refreshToken=function(Y){return function(){var X=z.props,Q=X.autoRefreshToken,J=X.authClient,te=X.onEvent;te&&te(Y),!1!==Q&&J.updateToken(5)}},z}FW(V,L),V.prototype.componentDidMount=function(){this.init()},V.prototype.componentDidUpdate=function(z){var Y=z.authClient,X=z.initOptions,Q=this.props,J=Q.initOptions;(Q.authClient!==Y||!TW()(J,X))&&(Y.onReady=void 0,Y.onAuthSuccess=void 0,Y.onAuthError=void 0,Y.onAuthRefreshSuccess=void 0,Y.onAuthRefreshError=void 0,Y.onAuthLogout=void 0,Y.onTokenExpired=void 0,this.setState(Ep({},f)),this.init())},V.prototype.init=function(){var z=this.props,Y=z.initOptions,X=z.authClient;X.onReady=this.updateState("onReady"),X.onAuthSuccess=this.updateState("onAuthSuccess"),X.onAuthError=this.onError("onAuthError"),X.onAuthRefreshSuccess=this.updateState("onAuthRefreshSuccess"),X.onAuthRefreshError=this.onError("onAuthRefreshError"),X.onAuthLogout=this.updateState("onAuthLogout"),X.onTokenExpired=this.refreshToken("onTokenExpired"),X.init(Ep(Ep({},I),Y)).catch(this.onError("onInitError"))},V.prototype.render=function(){var z=this.props,Q=z.LoadingComponent,J=this.state,te=J.initialized;return!Q||te&&!J.isLoading?Vi.createElement(N.Provider,{value:{initialized:te,authClient:z.authClient}},z.children):Q}})(Vi.PureComponent)}(fO),Ve(355),Ve(131),Ve(212),"undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");function kf(N,...I){const f=new URL(`https://mui.com/production-error/?code=${N}`);return I.forEach(L=>f.searchParams.append("args[]",L)),`Minified MUI error #${N}; visit ${f} for the full message.`}var gO=Ve(29);function $u(N){if("object"!=typeof N||null===N)return!1;const I=Object.getPrototypeOf(N);return!(null!==I&&I!==Object.prototype&&null!==Object.getPrototypeOf(I)||Symbol.toStringTag in N||Symbol.iterator in N)}function yO(N){if(Vi.isValidElement(N)||(0,gO.iY)(N)||!$u(N))return N;const I={};return Object.keys(N).forEach(f=>{I[f]=yO(N[f])}),I}function Ba(N,I,f={clone:!0}){const L=f.clone?Rt({},N):N;return $u(N)&&$u(I)&&Object.keys(I).forEach(V=>{L[V]=Vi.isValidElement(I[V])||(0,gO.iY)(I[V])?I[V]:$u(I[V])&&Object.prototype.hasOwnProperty.call(N,V)&&$u(N[V])?Ba(N[V],I[V],f):f.clone&&$u(I[V])?yO(I[V]):I[V]}),L}function mD(N,I=0,f=1){return function OW(N,I=Number.MIN_SAFE_INTEGER,f=Number.MAX_SAFE_INTEGER){return Math.max(I,Math.min(N,f))}(N,I,f)}function Ws(N){if(N.type)return N;if("#"===N.charAt(0))return Ws(function NW(N){N=N.slice(1);const I=new RegExp(`.{1,${N.length>=6?2:1}}`,"g");let f=N.match(I);return f&&1===f[0].length&&(f=f.map(L=>L+L)),f?`rgb${4===f.length?"a":""}(${f.map((L,V)=>V<3?parseInt(L,16):Math.round(parseInt(L,16)/255*1e3)/1e3).join(", ")})`:""}(N));const I=N.indexOf("("),f=N.substring(0,I);if(!["rgb","rgba","hsl","hsla","color"].includes(f))throw new Error(kf(9,N));let V,L=N.substring(I+1,N.length-1);if("color"===f){if(L=L.split(" "),V=L.shift(),4===L.length&&"/"===L[3].charAt(0)&&(L[3]=L[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(V))throw new Error(kf(10,V))}else L=L.split(",");return L=L.map(z=>parseFloat(z)),{type:f,values:L,colorSpace:V}}const Bg=(N,I)=>{try{return(N=>{const I=Ws(N);return I.values.slice(0,3).map((f,L)=>I.type.includes("hsl")&&0!==L?`${f}%`:f).join(" ")})(N)}catch(f){return N}};function Hg(N){const{type:I,colorSpace:f}=N;let{values:L}=N;return I.includes("rgb")?L=L.map((V,z)=>z<3?parseInt(V,10):V):I.includes("hsl")&&(L[1]=`${L[1]}%`,L[2]=`${L[2]}%`),L=I.includes("color")?`${f} ${L.join(" ")}`:`${L.join(", ")}`,`${I}(${L})`}function _O(N){N=Ws(N);const{values:I}=N,f=I[0],V=I[2]/100,z=I[1]/100*Math.min(V,1-V),Y=(J,te=(J+f/30)%12)=>V-z*Math.max(Math.min(te-3,9-te,1),-1);let X="rgb";const Q=[Math.round(255*Y(0)),Math.round(255*Y(8)),Math.round(255*Y(4))];return"hsla"===N.type&&(X+="a",Q.push(I[3])),Hg({type:X,values:Q})}function gD(N){let I="hsl"===(N=Ws(N)).type||"hsla"===N.type?Ws(_O(N)).values:N.values;return I=I.map(f=>("color"!==N.type&&(f/=255),f<=.03928?f/12.92:((f+.055)/1.055)**2.4)),Number((.2126*I[0]+.7152*I[1]+.0722*I[2]).toFixed(3))}function vO(N,I){return N=Ws(N),I=mD(I),("rgb"===N.type||"hsl"===N.type)&&(N.type+="a"),N.values[3]="color"===N.type?`/${I}`:I,Hg(N)}function Sf(N,I,f){try{return vO(N,I)}catch(L){return N}}function y0(N,I){if(N=Ws(N),I=mD(I),N.type.includes("hsl"))N.values[2]*=1-I;else if(N.type.includes("rgb")||N.type.includes("color"))for(let f=0;f<3;f+=1)N.values[f]*=1-I;return Hg(N)}function Tr(N,I,f){try{return y0(N,I)}catch(L){return N}}function _0(N,I){if(N=Ws(N),I=mD(I),N.type.includes("hsl"))N.values[2]+=(100-N.values[2])*I;else if(N.type.includes("rgb"))for(let f=0;f<3;f+=1)N.values[f]+=(255-N.values[f])*I;else if(N.type.includes("color"))for(let f=0;f<3;f+=1)N.values[f]+=(1-N.values[f])*I;return Hg(N)}function Fr(N,I,f){try{return _0(N,I)}catch(L){return N}}function v0(N,I,f){try{return function HW(N,I=.15){return gD(N)>.5?y0(N,I):_0(N,I)}(N,I)}catch(L){return N}}const jg={black:"#000",white:"#fff"},jW={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function bO(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:jg.white,default:jg.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const wO=bO();function CO(){return{text:{primary:jg.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:jg.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const yD=CO();function EO(N,I,f,L){const V=L.light||L,z=L.dark||1.5*L;N[I]||(N.hasOwnProperty(f)?N[I]=N[f]:"light"===I?N.light=_0(N.main,V):"dark"===I&&(N.dark=y0(N.main,z)))}function DO(N,I,f,L,V){const z=V.light||V,Y=V.dark||1.5*V;I[f]||(I.hasOwnProperty(L)?I[f]=I[L]:"light"===f?I.light=`color-mix(in ${N}, ${I.main}, #fff ${(100*z).toFixed(0)}%)`:"dark"===f&&(I.dark=`color-mix(in ${N}, ${I.main}, #000 ${(100*Y).toFixed(0)}%)`))}function _D(N){const ve=N,{mode:I="light",contrastThreshold:f=3,tonalOffset:L=.2,colorSpace:V}=ve,z=Vo(ve,["mode","contrastThreshold","tonalOffset","colorSpace"]),Y=N.primary||function zW(N="light"){return"dark"===N?{main:"#90caf9",light:"#e3f2fd",dark:"#42a5f5"}:{main:"#1976d2",light:"#42a5f5",dark:"#1565c0"}}(I),X=N.secondary||function UW(N="light"){return"dark"===N?{main:"#ce93d8",light:"#f3e5f5",dark:"#ab47bc"}:{main:"#9c27b0",light:"#ba68c8",dark:"#7b1fa2"}}(I),Q=N.error||function $W(N="light"){return"dark"===N?{main:"#f44336",light:"#e57373",dark:"#d32f2f"}:{main:"#d32f2f",light:"#ef5350",dark:"#c62828"}}(I),J=N.info||function WW(N="light"){return"dark"===N?{main:"#29b6f6",light:"#4fc3f7",dark:"#0288d1"}:{main:"#0288d1",light:"#03a9f4",dark:"#01579b"}}(I),te=N.success||function GW(N="light"){return"dark"===N?{main:"#66bb6a",light:"#81c784",dark:"#388e3c"}:{main:"#2e7d32",light:"#4caf50",dark:"#1b5e20"}}(I),re=N.warning||function YW(N="light"){return"dark"===N?{main:"#ffa726",light:"#ffb74d",dark:"#f57c00"}:{main:"#ed6c02",light:"#ff9800",dark:"#e65100"}}(I);function oe(ye){return V?function KW(N){return`oklch(from ${N} var(--__l) 0 h / var(--__a))`}(ye):function BW(N,I){const f=gD(N),L=gD(I);return(Math.max(f,L)+.05)/(Math.min(f,L)+.05)}(ye,yD.text.primary)>=f?yD.text.primary:wO.text.primary}const ae=({color:ye,name:pe,mainShade:Ie=500,lightShade:Re=300,darkShade:ft=700})=>{if(!(ye=Rt({},ye)).main&&ye[Ie]&&(ye.main=ye[Ie]),!ye.hasOwnProperty("main"))throw new Error(kf(11,pe?` (${pe})`:"",Ie));if("string"!=typeof ye.main)throw new Error(kf(12,pe?` (${pe})`:"",JSON.stringify(ye.main)));return V?(DO(V,ye,"light",Re,L),DO(V,ye,"dark",ft,L)):(EO(ye,"light",Re,L),EO(ye,"dark",ft,L)),ye.contrastText||(ye.contrastText=oe(ye.main)),ye};let le;return"light"===I?le=bO():"dark"===I&&(le=CO()),Ba(Rt({common:Rt({},jg),mode:I,primary:ae({color:Y,name:"primary"}),secondary:ae({color:X,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:ae({color:Q,name:"error"}),warning:ae({color:re,name:"warning"}),info:ae({color:J,name:"info"}),success:ae({color:te,name:"success"}),grey:jW,contrastThreshold:f,getContrastText:oe,augmentColor:ae,tonalOffset:L},le),z)}function qW(N=""){function I(...L){if(!L.length)return"";const V=L[0];return"string"!=typeof V||V.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${V}`:`, var(--${N?`${N}-`:""}${V}${I(...L.slice(1))})`}return(L,...V)=>`var(--${N?`${N}-`:""}${L}${I(...V)})`}function kO(N,I){if(!N.containerQueries)return I;const f=Object.keys(I).filter(L=>L.startsWith("@container")).sort((L,V)=>{var Y,X;const z=/min-width:\s*([0-9.]+)/;return+((null==(Y=L.match(z))?void 0:Y[1])||0)-+((null==(X=V.match(z))?void 0:X[1])||0)});return f.length?f.reduce((L,V)=>{const z=I[V];return delete L[V],L[V]=z,L},Rt({},I)):I}const b0={xs:0,sm:600,md:900,lg:1200,xl:1536},vD={keys:["xs","sm","md","lg","xl"],up:N=>`@media (min-width:${b0[N]}px)`},JW={containerQueries:N=>({up:I=>{let f="number"==typeof I?I:b0[I]||I;return"number"==typeof f&&(f=`${f}px`),N?`@container ${N} (min-width:${f})`:`@container (min-width:${f})`}})};function Ec(N,I,f){const L=N.theme||{};if(Array.isArray(I)){const z=L.breakpoints||vD;return I.reduce((Y,X,Q)=>(Y[z.up(z.keys[Q])]=f(I[Q]),Y),{})}if("object"==typeof I){const z=L.breakpoints||vD;return Object.keys(I).reduce((Y,X)=>{if(function XW(N,I){return"@"===I||I.startsWith("@")&&(N.some(f=>I.startsWith(`@${f}`))||!!I.match(/^@\d/))}(z.keys,X)){const Q=function QW(N,I){const f=I.match(/^@([^/]+)?\/?(.+)?$/);if(!f)return null;const[,L,V]=f,z=Number.isNaN(+L)?L||0:+L;return N.containerQueries(V).up(z)}(L.containerQueries?L:JW,X);Q&&(Y[Q]=f(I[X],X))}else Object.keys(z.values||b0).includes(X)?Y[z.up(X)]=f(I[X],X):Y[X]=I[X];return Y},{})}return f(I)}function bD(N,I){return N.reduce((f,L)=>{const V=f[L];return(!V||0===Object.keys(V).length)&&delete f[L],f},I)}function xO(N){if("string"!=typeof N)throw new Error(kf(7));return N.charAt(0).toUpperCase()+N.slice(1)}function w0(N,I,f=!0){if(!I||"string"!=typeof I)return null;if(N&&N.vars&&f){const L=`vars.${I}`.split(".").reduce((V,z)=>V&&V[z]?V[z]:null,N);if(null!=L)return L}return I.split(".").reduce((L,V)=>L&&null!=L[V]?L[V]:null,N)}function C0(N,I,f,L=f){let V;return V="function"==typeof N?N(f):Array.isArray(N)?N[f]||L:w0(N,f)||L,I&&(V=I(V,L,N)),V}const Si=function tG(N){const{prop:I,cssProperty:f=N.prop,themeKey:L,transform:V}=N,z=Y=>{if(null==Y[I])return null;const X=Y[I],J=w0(Y.theme,L)||{};return Ec(Y,X,re=>{let oe=C0(J,V,re);return re===oe&&"string"==typeof re&&(oe=C0(J,V,`${I}${"default"===re?"":xO(re)}`,re)),!1===f?oe:{[f]:oe}})};return z.propTypes={},z.filterProps=[I],z},Ug=function nG(N,I){return I?Ba(N,I,{clone:!1}):N},iG={m:"margin",p:"padding"},oG={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},MO={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},aG=function rG(N){const I={};return f=>(void 0===I[f]&&(I[f]=N(f)),I[f])}(N=>{if(N.length>2){if(!MO[N])return[N];N=MO[N]}const[I,f]=N.split(""),L=iG[I],V=oG[f]||"";return Array.isArray(V)?V.map(z=>L+z):[L+V]}),wD=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],CD=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],AO=[...wD,...CD];function $g(N,I,f,L){var z;const V=null!=(z=w0(N,I,!0))?z:f;return"number"==typeof V||"string"==typeof V?Y=>"string"==typeof Y?Y:"string"==typeof V?V.startsWith("var(")&&0===Y?0:V.startsWith("var(")&&1===Y?V:`calc(${Y} * ${V})`:V*Y:Array.isArray(V)?Y=>{if("string"==typeof Y)return Y;const X=Math.abs(Y),Q=V[X];return Y>=0?Q:"number"==typeof Q?-Q:"string"==typeof Q&&Q.startsWith("var(")?`calc(-1 * ${Q})`:`-${Q}`}:"function"==typeof V?V:()=>{}}function ED(N){return $g(N,"spacing",8)}function Wg(N,I){return"string"==typeof I||null==I?I:N(I)}function DD(N,I){const f=ED(N.theme);return Object.keys(N).map(L=>function lG(N,I,f,L){if(!I.includes(f))return null;const z=function sG(N,I){return f=>N.reduce((L,V)=>(L[V]=Wg(I,f),L),{})}(aG(f),L);return Ec(N,N[f],z)}(N,I,L,f)).reduce(Ug,{})}function _i(N){return DD(N,wD)}function vi(N){return DD(N,CD)}function TO(N){return DD(N,AO)}function FO(N=8,I=ED({spacing:N})){if(N.mui)return N;const f=(...L)=>(0===L.length?[1]:L).map(z=>{const Y=I(z);return"number"==typeof Y?`${Y}px`:Y}).join(" ");return f.mui=!0,f}function cG(N){const I={};return Object.entries(N).forEach(L=>{const[V,z]=L;"object"==typeof z&&(I[V]=`${z.fontStyle?`${z.fontStyle} `:""}${z.fontVariant?`${z.fontVariant} `:""}${z.fontWeight?`${z.fontWeight} `:""}${z.fontStretch?`${z.fontStretch} `:""}${z.fontSize||""}${z.lineHeight?`/${z.lineHeight} `:""}${z.fontFamily||""}`)}),I}_i.propTypes={},_i.filterProps=wD,vi.propTypes={},vi.filterProps=CD,TO.propTypes={},TO.filterProps=AO;const IO=(N,I,f,L=[])=>{let V=N;I.forEach((z,Y)=>{Y===I.length-1?Array.isArray(V)?V[Number(z)]=f:V&&"object"==typeof V&&(V[z]=f):V&&"object"==typeof V&&(V[z]||(V[z]=L.includes(z)?[]:{}),V=V[z])})};function kD(N,I){const{prefix:f,shouldSkipGeneratingVar:L}=I||{},V={},z={},Y={};return((N,I,f)=>{!function L(V,z=[],Y=[]){Object.entries(V).forEach(([X,Q])=>{(!f||f&&!f([...z,X]))&&null!=Q&&("object"==typeof Q&&Object.keys(Q).length>0?L(Q,[...z,X],Array.isArray(Q)?[...Y,X]:Y):I([...z,X],Q,Y))})}(N)})(N,(X,Q,J)=>{if(!("string"!=typeof Q&&"number"!=typeof Q||L&&L(X,Q))){const te=`--${f?`${f}-`:""}${X.join("-")}`,re=((N,I)=>"number"==typeof I?["lineHeight","fontWeight","opacity","zIndex"].some(L=>N.includes(L))||N[N.length-1].toLowerCase().includes("opacity")?I:`${I}px`:I)(X,Q);Object.assign(V,{[te]:re}),IO(z,X,`var(${te})`,J),IO(Y,X,`var(${te}, ${re})`,J)}},X=>"vars"===X[0]),{css:V,vars:z,varsWithDefaults:Y}}const E0=function mG(...N){const I=N.reduce((L,V)=>(V.filterProps.forEach(z=>{L[z]=V}),L),{}),f=L=>Object.keys(L).reduce((V,z)=>I[z]?Ug(V,I[z](L)):V,{});return f.propTypes={},f.filterProps=N.reduce((L,V)=>L.concat(V.filterProps),[]),f};function ss(N){return"number"!=typeof N?N:`${N}px solid`}function ls(N,I){return Si({prop:N,themeKey:"borders",transform:I})}const gG=ls("border",ss),yG=ls("borderTop",ss),_G=ls("borderRight",ss),vG=ls("borderBottom",ss),bG=ls("borderLeft",ss),wG=ls("borderColor"),CG=ls("borderTopColor"),EG=ls("borderRightColor"),DG=ls("borderBottomColor"),kG=ls("borderLeftColor"),SG=ls("outline",ss),xG=ls("outlineColor"),D0=N=>{if(null!=N.borderRadius){const I=$g(N.theme,"shape.borderRadius",4);return Ec(N,N.borderRadius,L=>({borderRadius:Wg(I,L)}))}return null};D0.propTypes={},D0.filterProps=["borderRadius"],E0(gG,yG,_G,vG,bG,wG,CG,EG,DG,kG,D0,SG,xG);const k0=N=>{if(null!=N.gap){const I=$g(N.theme,"spacing",8);return Ec(N,N.gap,L=>({gap:Wg(I,L)}))}return null};k0.propTypes={},k0.filterProps=["gap"];const S0=N=>{if(null!=N.columnGap){const I=$g(N.theme,"spacing",8);return Ec(N,N.columnGap,L=>({columnGap:Wg(I,L)}))}return null};S0.propTypes={},S0.filterProps=["columnGap"];const x0=N=>{if(null!=N.rowGap){const I=$g(N.theme,"spacing",8);return Ec(N,N.rowGap,L=>({rowGap:Wg(I,L)}))}return null};function Ap(N,I){return"grey"===I?I:N}function Ha(N){return N<=1&&0!==N?100*N+"%":N}x0.propTypes={},x0.filterProps=["rowGap"],E0(k0,S0,x0,Si({prop:"gridColumn"}),Si({prop:"gridRow"}),Si({prop:"gridAutoFlow"}),Si({prop:"gridAutoColumns"}),Si({prop:"gridAutoRows"}),Si({prop:"gridTemplateColumns"}),Si({prop:"gridTemplateRows"}),Si({prop:"gridTemplateAreas"}),Si({prop:"gridArea"})),E0(Si({prop:"color",themeKey:"palette",transform:Ap}),Si({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ap}),Si({prop:"backgroundColor",themeKey:"palette",transform:Ap}));const HG=Si({prop:"width",transform:Ha}),SD=N=>null!=N.maxWidth?Ec(N,N.maxWidth,f=>{var V,z,Y,X,Q;const L=(null==(Y=null==(z=null==(V=N.theme)?void 0:V.breakpoints)?void 0:z.values)?void 0:Y[f])||b0[f];return L?"px"!==(null==(Q=null==(X=N.theme)?void 0:X.breakpoints)?void 0:Q.unit)?{maxWidth:`${L}${N.theme.breakpoints.unit}`}:{maxWidth:L}:{maxWidth:Ha(f)}}):null;SD.filterProps=["maxWidth"];const jG=Si({prop:"minWidth",transform:Ha}),zG=Si({prop:"height",transform:Ha}),UG=Si({prop:"maxHeight",transform:Ha}),$G=Si({prop:"minHeight",transform:Ha}),M0=(Si({prop:"size",cssProperty:"width",transform:Ha}),Si({prop:"size",cssProperty:"height",transform:Ha}),E0(HG,SD,jG,zG,UG,$G,Si({prop:"boxSizing"})),{border:{themeKey:"borders",transform:ss},borderTop:{themeKey:"borders",transform:ss},borderRight:{themeKey:"borders",transform:ss},borderBottom:{themeKey:"borders",transform:ss},borderLeft:{themeKey:"borders",transform:ss},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ss},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:D0},color:{themeKey:"palette",transform:Ap},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ap},backgroundColor:{themeKey:"palette",transform:Ap},p:{style:vi},pt:{style:vi},pr:{style:vi},pb:{style:vi},pl:{style:vi},px:{style:vi},py:{style:vi},padding:{style:vi},paddingTop:{style:vi},paddingRight:{style:vi},paddingBottom:{style:vi},paddingLeft:{style:vi},paddingX:{style:vi},paddingY:{style:vi},paddingInline:{style:vi},paddingInlineStart:{style:vi},paddingInlineEnd:{style:vi},paddingBlock:{style:vi},paddingBlockStart:{style:vi},paddingBlockEnd:{style:vi},m:{style:_i},mt:{style:_i},mr:{style:_i},mb:{style:_i},ml:{style:_i},mx:{style:_i},my:{style:_i},margin:{style:_i},marginTop:{style:_i},marginRight:{style:_i},marginBottom:{style:_i},marginLeft:{style:_i},marginX:{style:_i},marginY:{style:_i},marginInline:{style:_i},marginInlineStart:{style:_i},marginInlineEnd:{style:_i},marginBlock:{style:_i},marginBlockStart:{style:_i},marginBlockEnd:{style:_i},displayPrint:{cssProperty:!1,transform:N=>({"@media print":{display:N}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k0},rowGap:{style:x0},columnGap:{style:S0},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ha},maxWidth:{style:SD},minWidth:{transform:Ha},height:{transform:Ha},maxHeight:{transform:Ha},minHeight:{transform:Ha},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),RO=function KG(){function N(f,L,V,z){const Y={[f]:L,theme:V},X=z[f];if(!X)return{[f]:L};const{cssProperty:Q=f,themeKey:J,transform:te,style:re}=X;if(null==L)return null;if("typography"===J&&"inherit"===L)return{[f]:L};const oe=w0(V,J)||{};return re?re(Y):Ec(Y,L,le=>{let ue=C0(oe,te,le);return le===ue&&"string"==typeof le&&(ue=C0(oe,te,`${f}${"default"===le?"":xO(le)}`,le)),!1===Q?ue:{[Q]:ue}})}return function I(f){var Q;const{sx:L,theme:V={},nested:z}=f||{};if(!L)return null;const Y=null!=(Q=V.unstable_sxConfig)?Q:M0;function X(J){let te=J;if("function"==typeof J)te=J(V);else if("object"!=typeof J)return J;if(!te)return null;const re=function SO(N={}){var f;return(null==(f=N.keys)?void 0:f.reduce((L,V)=>(L[N.up(V)]={},L),{}))||{}}(V.breakpoints),oe=Object.keys(re);let ae=re;return Object.keys(te).forEach(le=>{const ue=function YG(N,I){return"function"==typeof N?N(I):N}(te[le],V);if(null!=ue)if("object"==typeof ue)if(Y[le])ae=Ug(ae,N(le,ue,V,Y));else{const ve=Ec({theme:V},ue,ye=>({[le]:ye}));!function GG(...N){const I=N.reduce((L,V)=>L.concat(Object.keys(V)),[]),f=new Set(I);return N.every(L=>f.size===Object.keys(L).length)}(ve,ue)?ae=Ug(ae,ve):ae[le]=I({sx:ue,theme:V,nested:!0})}else ae=Ug(ae,N(le,ue,V,Y))}),!z&&V.modularCssLayers?{"@layer sx":kO(V,bD(oe,ae))}:kO(V,bD(oe,ae))}return Array.isArray(L)?L.map(X):X(L)}}();RO.filterProps=["sx"];const xD=RO;const QG={borderRadius:4};function ZG(N,I){var L;const f=this;if(f.vars){if(!(null==(L=f.colorSchemes)?void 0:L[N])||"function"!=typeof f.getColorSchemeSelector)return{};let V=f.getColorSchemeSelector(N);return"&"===V?I:((V.includes("data-")||V.includes("."))&&(V=`*:where(${V.replace(/\s*&$/,"")}) &`),{[V]:I})}return f.palette.mode===N?I:{}}const eY=function JG(N={},...I){const te=N,{breakpoints:f={},palette:L={},spacing:V,shape:z={}}=te,Y=Vo(te,["breakpoints","palette","spacing","shape"]),X=function XG(N){const oe=N,{values:I={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:f="px",step:L=5}=oe,V=Vo(oe,["values","unit","step"]),z=(N=>{const I=Object.keys(N).map(f=>({key:f,val:N[f]}))||[];return I.sort((f,L)=>f.val-L.val),I.reduce((f,L)=>wo(Rt({},f),{[L.key]:L.val}),{})})(I),Y=Object.keys(z);function X(ae){return`@media (min-width:${"number"==typeof I[ae]?I[ae]:ae}${f})`}function Q(ae){return`@media (max-width:${("number"==typeof I[ae]?I[ae]:ae)-L/100}${f})`}function J(ae,le){const ue=Y.indexOf(le);return`@media (min-width:${"number"==typeof I[ae]?I[ae]:ae}${f}) and (max-width:${(-1!==ue&&"number"==typeof I[Y[ue]]?I[Y[ue]]:le)-L/100}${f})`}return Rt({keys:Y,values:z,up:X,down:Q,between:J,only:function te(ae){return Y.indexOf(ae)+1<Y.length?J(ae,Y[Y.indexOf(ae)+1]):X(ae)},not:function re(ae){const le=Y.indexOf(ae);return 0===le?X(Y[1]):le===Y.length-1?Q(Y[le]):J(ae,Y[Y.indexOf(ae)+1]).replace("@media","@media not all and")},unit:f},V)}(f),Q=FO(V);let J=Ba({breakpoints:X,direction:"ltr",components:{},palette:Rt({mode:"light"},L),spacing:Q,shape:Rt(Rt({},QG),z)},Y);return J=function ZW(N){const I=(z,Y)=>z.replace("@media",Y?`@container ${Y}`:"@container");function f(z,Y){z.up=(...X)=>I(N.breakpoints.up(...X),Y),z.down=(...X)=>I(N.breakpoints.down(...X),Y),z.between=(...X)=>I(N.breakpoints.between(...X),Y),z.only=(...X)=>I(N.breakpoints.only(...X),Y),z.not=(...X)=>{const Q=I(N.breakpoints.not(...X),Y);return Q.includes("not all and")?Q.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):Q}}const L={},V=z=>(f(L,z),L);return f(V),wo(Rt({},N),{containerQueries:V})}(J),J.applyStyles=ZG,J=I.reduce((re,oe)=>Ba(re,oe),J),J.unstable_sxConfig=Rt(Rt({},M0),null==Y?void 0:Y.unstable_sxConfig),J.unstable_sx=function(oe){return xD({sx:oe,theme:this})},J};function tY(N,I){return Rt({toolbar:{minHeight:56,[N.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[N.up("sm")]:{minHeight:64}}},I)}function nY(N){return Math.round(1e5*N)/1e5}const OO={textTransform:"uppercase"},PO='"Roboto", "Helvetica", "Arial", sans-serif';function rY(N,I){const ve="function"==typeof I?I(N):I,{fontFamily:f=PO,fontSize:L=14,fontWeightLight:V=300,fontWeightRegular:z=400,fontWeightMedium:Y=500,fontWeightBold:X=700,htmlFontSize:Q=16,allVariants:J,pxToRem:te}=ve,re=Vo(ve,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),oe=L/14,ae=te||(ye=>ye/Q*oe+"rem"),le=(ye,pe,Ie,Re,ft)=>Rt(Rt(Rt({fontFamily:f,fontWeight:ye,fontSize:ae(pe),lineHeight:Ie},f===PO?{letterSpacing:`${nY(Re/pe)}em`}:{}),ft),J),ue={h1:le(V,96,1.167,-1.5),h2:le(V,60,1.2,-.5),h3:le(z,48,1.167,0),h4:le(z,34,1.235,.25),h5:le(z,24,1.334,0),h6:le(Y,20,1.6,.15),subtitle1:le(z,16,1.75,.15),subtitle2:le(Y,14,1.57,.1),body1:le(z,16,1.5,.15),body2:le(z,14,1.43,.15),button:le(Y,14,1.75,.4,OO),caption:le(z,12,1.66,.4),overline:le(z,12,2.66,1,OO),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ba(Rt({htmlFontSize:Q,pxToRem:ae,fontFamily:f,fontSize:L,fontWeightLight:V,fontWeightRegular:z,fontWeightMedium:Y,fontWeightBold:X},ue),re,{clone:!1})}function ii(...N){return[`${N[0]}px ${N[1]}px ${N[2]}px ${N[3]}px rgba(0,0,0,0.2)`,`${N[4]}px ${N[5]}px ${N[6]}px ${N[7]}px rgba(0,0,0,0.14)`,`${N[8]}px ${N[9]}px ${N[10]}px ${N[11]}px rgba(0,0,0,0.12)`].join(",")}const sY=["none",ii(0,2,1,-1,0,1,1,0,0,1,3,0),ii(0,3,1,-2,0,2,2,0,0,1,5,0),ii(0,3,3,-2,0,3,4,0,0,1,8,0),ii(0,2,4,-1,0,4,5,0,0,1,10,0),ii(0,3,5,-1,0,5,8,0,0,1,14,0),ii(0,3,5,-1,0,6,10,0,0,1,18,0),ii(0,4,5,-2,0,7,10,1,0,2,16,1),ii(0,5,5,-3,0,8,10,1,0,3,14,2),ii(0,5,6,-3,0,9,12,1,0,3,16,2),ii(0,6,6,-3,0,10,14,1,0,4,18,3),ii(0,6,7,-4,0,11,15,1,0,4,20,3),ii(0,7,8,-4,0,12,17,2,0,5,22,4),ii(0,7,8,-4,0,13,19,2,0,5,24,4),ii(0,7,9,-4,0,14,21,2,0,5,26,4),ii(0,8,9,-5,0,15,22,2,0,6,28,5),ii(0,8,10,-5,0,16,24,2,0,6,30,5),ii(0,8,11,-5,0,17,26,2,0,6,32,5),ii(0,9,11,-5,0,18,28,2,0,7,34,6),ii(0,9,12,-6,0,19,29,2,0,7,36,6),ii(0,10,13,-6,0,20,31,3,0,8,38,7),ii(0,10,13,-6,0,21,33,3,0,8,40,7),ii(0,10,14,-6,0,22,35,3,0,8,42,7),ii(0,11,14,-7,0,23,36,3,0,9,44,8),ii(0,11,15,-7,0,24,38,3,0,9,46,8)],lY={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},cY={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function NO(N){return`${Math.round(N)}ms`}function uY(N){if(!N)return 0;const I=N/36;return Math.min(Math.round(10*(4+15*I**.25+I/5)),3e3)}function dY(N){const I=Rt(Rt({},lY),N.easing),f=Rt(Rt({},cY),N.duration);return wo(Rt({getAutoHeightDuration:uY,create:(V=["all"],z={})=>{const te=z,{duration:Y=f.standard,easing:X=I.easeInOut,delay:Q=0}=te;return Vo(te,["duration","easing","delay"]),(Array.isArray(V)?V:[V]).map(re=>`${re} ${"string"==typeof Y?Y:NO(Y)} ${X} ${"string"==typeof Q?Q:NO(Q)}`).join(",")}},N),{easing:I,duration:f})}const fY={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function hY(N){return $u(N)||void 0===N||"string"==typeof N||"boolean"==typeof N||"number"==typeof N||Array.isArray(N)}function LO(N={}){const I=Rt({},N);return function f(L){const V=Object.entries(L);for(let z=0;z<V.length;z++){const[Y,X]=V[z];!hY(X)||Y.startsWith("unstable_")?delete L[Y]:$u(X)&&(L[Y]=Rt({},X),f(L[Y]))}}(I),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(I,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function VO(N){return"number"==typeof N?`${(100*N).toFixed(0)}%`:`calc((${N}) * 100%)`}const MD=function gY(N={},...I){const le=N,{mixins:L={},palette:z={},transitions:Y={},typography:X={},colorSpace:J}=le,te=Vo(le,["breakpoints","mixins","spacing","palette","transitions","typography","shape","colorSpace"]);if(N.vars&&void 0===N.generateThemeVars)throw new Error(kf(20));const re=_D(wo(Rt({},z),{colorSpace:J})),oe=eY(N);let ae=Ba(oe,{mixins:tY(oe.breakpoints,L),palette:re,shadows:sY.slice(),typography:rY(re,X),transitions:dY(Y),zIndex:Rt({},fY)});return ae=Ba(ae,te),ae=I.reduce((ue,ve)=>Ba(ue,ve),ae),ae.unstable_sxConfig=Rt(Rt({},M0),null==te?void 0:te.unstable_sxConfig),ae.unstable_sx=function(ve){return xD({sx:ve,theme:this})},ae.toRuntimeSource=LO,function mY(N){Object.assign(N,{alpha(I,f){const L=this||N;return L.colorSpace?`oklch(from ${I} l c h / ${"string"==typeof f?`calc(${f})`:f})`:L.vars?`rgba(${I.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${"string"==typeof f?`calc(${f})`:f})`:vO(I,(N=>{if(!Number.isNaN(+N))return+N;const I=N.match(/\d*\.?\d+/g);if(!I)return 0;let f=0;for(let L=0;L<I.length;L+=1)f+=+I[L];return f})(f))},lighten(I,f){const L=this||N;return L.colorSpace?`color-mix(in ${L.colorSpace}, ${I}, #fff ${VO(f)})`:_0(I,f)},darken(I,f){const L=this||N;return L.colorSpace?`color-mix(in ${L.colorSpace}, ${I}, #000 ${VO(f)})`:y0(I,f)}})}(ae),ae},_Y=[...Array(25)].map((N,I)=>{if(0===I)return"none";const f=function yY(N){let I;return I=N<1?5.11916*N**2:4.5*Math.log(N+1)+2,Math.round(10*I)/1e3}(I);return`linear-gradient(rgba(255 255 255 / ${f}), rgba(255 255 255 / ${f}))`});function BO(N){return{inputPlaceholder:"dark"===N?.5:.42,inputUnderline:"dark"===N?.7:.42,switchTrackDisabled:"dark"===N?.2:.12,switchTrack:"dark"===N?.3:.38}}function HO(N){return"dark"===N?_Y:[]}function bY(N){var I;return!!N[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!N[0].match(/sxConfig$/)||"palette"===N[0]&&!!(null==(I=N[1])?void 0:I.match(/(mode|contrastThreshold|tonalOffset)/))}const CY=N=>(I,f)=>{const L=N.rootSelector||":root",V=N.colorSchemeSelector;let z=V;if("class"===V&&(z=".%s"),"data"===V&&(z="[data-%s]"),(null==V?void 0:V.startsWith("data-"))&&!V.includes("%s")&&(z=`[${V}="%s"]`),N.defaultColorScheme===I){if("dark"===I){const Y={};return(N=>[...[...Array(25)].map((I,f)=>`--${N?`${N}-`:""}overlays-${f}`),`--${N?`${N}-`:""}palette-AppBar-darkBg`,`--${N?`${N}-`:""}palette-AppBar-darkColor`])(N.cssVarPrefix).forEach(X=>{Y[X]=f[X],delete f[X]}),"media"===z?{[L]:f,"@media (prefers-color-scheme: dark)":{[L]:Y}}:z?{[z.replace("%s",I)]:Y,[`${L}, ${z.replace("%s",I)}`]:f}:{[L]:Rt(Rt({},f),Y)}}if(z&&"media"!==z)return`${L}, ${z.replace("%s",String(I))}`}else if(I){if("media"===z)return{[`@media (prefers-color-scheme: ${String(I)})`]:{[L]:f}};if(z)return z.replace("%s",String(I))}return L};function ze(N,I,f){!N[I]&&f&&(N[I]=f)}function Gg(N){return"string"==typeof N&&N.startsWith("hsl")?_O(N):N}function Dc(N,I){`${I}Channel`in N||(N[`${I}Channel`]=Bg(Gg(N[I])))}function DY(N){return"number"==typeof N?`${N}px`:"string"==typeof N||"function"==typeof N||Array.isArray(N)?N:"8px"}const Il=N=>{try{return N()}catch(I){}};function AD(N,I,f,L,V){if(!f)return;f=!0===f?{}:f;const z="dark"===V?"dark":"light";if(!L)return void(I[V]=function vY(N){const X=N,{palette:I={mode:"light"},opacity:f,overlays:L,colorSpace:V}=X,z=Vo(X,["palette","opacity","overlays","colorSpace"]),Y=_D(wo(Rt({},I),{colorSpace:V}));return Rt({palette:Y,opacity:Rt(Rt({},BO(Y.mode)),f),overlays:L||HO(Y.mode)},z)}(wo(Rt({},f),{palette:Rt({mode:z},null==f?void 0:f.palette),colorSpace:N})));const Q=MD(wo(Rt({},L),{palette:Rt({mode:z},null==f?void 0:f.palette),colorSpace:N})),{palette:Y}=Q,X=Vo(Q,["palette"]);return I[V]=wo(Rt({},f),{palette:Y,opacity:Rt(Rt({},BO(z)),null==f?void 0:f.opacity),overlays:(null==f?void 0:f.overlays)||HO(z)}),X}function SY(N={},...I){const Cn=N,{colorSchemes:f={light:!0},defaultColorScheme:L,disableCssColorScheme:V=!1,cssVarPrefix:z="mui",nativeColor:Y=!1,shouldSkipGeneratingVar:X=bY,colorSchemeSelector:Q=(f.light&&f.dark?"media":void 0),rootSelector:J=":root"}=Cn,te=Vo(Cn,["colorSchemes","defaultColorScheme","disableCssColorScheme","cssVarPrefix","nativeColor","shouldSkipGeneratingVar","colorSchemeSelector","rootSelector"]),re=Object.keys(f)[0],oe=L||(f.light&&"light"!==re?"light":re),ae=((N="mui")=>qW(N))(z),er=f,{[oe]:le,light:ue,dark:ve}=er,ye=Vo(er,[j0(oe),"light","dark"]),pe=Rt({},ye);let Re,Ie=le;if(("dark"===oe&&!("dark"in f)||"light"===oe&&!("light"in f))&&(Ie=!0),!Ie)throw new Error(kf(21,oe));Y&&(Re="oklch");const ft=AD(Re,pe,Ie,te,oe);ue&&!pe.light&&AD(Re,pe,ue,void 0,"light"),ve&&!pe.dark&&AD(Re,pe,ve,void 0,"dark");let et=wo(Rt({defaultColorScheme:oe},ft),{cssVarPrefix:z,colorSchemeSelector:Q,rootSelector:J,getCssVar:ae,colorSchemes:pe,font:Rt(Rt({},cG(ft.typography)),ft.font),spacing:DY(te.spacing)});Object.keys(et.colorSchemes).forEach(yn=>{const de=et.colorSchemes[yn].palette,xt=ot=>{const st=ot.split("-");return ae(ot,de[st[1]][st[2]])};function Ne(ot,st,Ht){if(Re){let Rn;return ot===Sf&&(Rn=`transparent ${(100*(1-Ht)).toFixed(0)}%`),ot===Tr&&(Rn=`#000 ${(100*Ht).toFixed(0)}%`),ot===Fr&&(Rn=`#fff ${(100*Ht).toFixed(0)}%`),`color-mix(in ${Re}, ${st}, ${Rn})`}return ot(st,Ht)}if("light"===de.mode&&(ze(de.common,"background","#fff"),ze(de.common,"onBackground","#000")),"dark"===de.mode&&(ze(de.common,"background","#000"),ze(de.common,"onBackground","#fff")),function EY(N,I){I.forEach(f=>{N[f]||(N[f]={})})}(de,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===de.mode){ze(de.Alert,"errorColor",Ne(Tr,de.error.light,.6)),ze(de.Alert,"infoColor",Ne(Tr,de.info.light,.6)),ze(de.Alert,"successColor",Ne(Tr,de.success.light,.6)),ze(de.Alert,"warningColor",Ne(Tr,de.warning.light,.6)),ze(de.Alert,"errorFilledBg",xt("palette-error-main")),ze(de.Alert,"infoFilledBg",xt("palette-info-main")),ze(de.Alert,"successFilledBg",xt("palette-success-main")),ze(de.Alert,"warningFilledBg",xt("palette-warning-main")),ze(de.Alert,"errorFilledColor",Il(()=>de.getContrastText(de.error.main))),ze(de.Alert,"infoFilledColor",Il(()=>de.getContrastText(de.info.main))),ze(de.Alert,"successFilledColor",Il(()=>de.getContrastText(de.success.main))),ze(de.Alert,"warningFilledColor",Il(()=>de.getContrastText(de.warning.main))),ze(de.Alert,"errorStandardBg",Ne(Fr,de.error.light,.9)),ze(de.Alert,"infoStandardBg",Ne(Fr,de.info.light,.9)),ze(de.Alert,"successStandardBg",Ne(Fr,de.success.light,.9)),ze(de.Alert,"warningStandardBg",Ne(Fr,de.warning.light,.9)),ze(de.Alert,"errorIconColor",xt("palette-error-main")),ze(de.Alert,"infoIconColor",xt("palette-info-main")),ze(de.Alert,"successIconColor",xt("palette-success-main")),ze(de.Alert,"warningIconColor",xt("palette-warning-main")),ze(de.AppBar,"defaultBg",xt("palette-grey-100")),ze(de.Avatar,"defaultBg",xt("palette-grey-400")),ze(de.Button,"inheritContainedBg",xt("palette-grey-300")),ze(de.Button,"inheritContainedHoverBg",xt("palette-grey-A100")),ze(de.Chip,"defaultBorder",xt("palette-grey-400")),ze(de.Chip,"defaultAvatarColor",xt("palette-grey-700")),ze(de.Chip,"defaultIconColor",xt("palette-grey-700")),ze(de.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ze(de.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ze(de.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ze(de.LinearProgress,"primaryBg",Ne(Fr,de.primary.main,.62)),ze(de.LinearProgress,"secondaryBg",Ne(Fr,de.secondary.main,.62)),ze(de.LinearProgress,"errorBg",Ne(Fr,de.error.main,.62)),ze(de.LinearProgress,"infoBg",Ne(Fr,de.info.main,.62)),ze(de.LinearProgress,"successBg",Ne(Fr,de.success.main,.62)),ze(de.LinearProgress,"warningBg",Ne(Fr,de.warning.main,.62)),ze(de.Skeleton,"bg",Re?Ne(Sf,de.text.primary,.11):`rgba(${xt("palette-text-primaryChannel")} / 0.11)`),ze(de.Slider,"primaryTrack",Ne(Fr,de.primary.main,.62)),ze(de.Slider,"secondaryTrack",Ne(Fr,de.secondary.main,.62)),ze(de.Slider,"errorTrack",Ne(Fr,de.error.main,.62)),ze(de.Slider,"infoTrack",Ne(Fr,de.info.main,.62)),ze(de.Slider,"successTrack",Ne(Fr,de.success.main,.62)),ze(de.Slider,"warningTrack",Ne(Fr,de.warning.main,.62));const ot=Re?Ne(Tr,de.background.default,.6825):v0(de.background.default,.8);ze(de.SnackbarContent,"bg",ot),ze(de.SnackbarContent,"color",Il(()=>Re?yD.text.primary:de.getContrastText(ot))),ze(de.SpeedDialAction,"fabHoverBg",v0(de.background.paper,.15)),ze(de.StepConnector,"border",xt("palette-grey-400")),ze(de.StepContent,"border",xt("palette-grey-400")),ze(de.Switch,"defaultColor",xt("palette-common-white")),ze(de.Switch,"defaultDisabledColor",xt("palette-grey-100")),ze(de.Switch,"primaryDisabledColor",Ne(Fr,de.primary.main,.62)),ze(de.Switch,"secondaryDisabledColor",Ne(Fr,de.secondary.main,.62)),ze(de.Switch,"errorDisabledColor",Ne(Fr,de.error.main,.62)),ze(de.Switch,"infoDisabledColor",Ne(Fr,de.info.main,.62)),ze(de.Switch,"successDisabledColor",Ne(Fr,de.success.main,.62)),ze(de.Switch,"warningDisabledColor",Ne(Fr,de.warning.main,.62)),ze(de.TableCell,"border",Ne(Fr,Ne(Sf,de.divider,1),.88)),ze(de.Tooltip,"bg",Ne(Sf,de.grey[700],.92))}if("dark"===de.mode){ze(de.Alert,"errorColor",Ne(Fr,de.error.light,.6)),ze(de.Alert,"infoColor",Ne(Fr,de.info.light,.6)),ze(de.Alert,"successColor",Ne(Fr,de.success.light,.6)),ze(de.Alert,"warningColor",Ne(Fr,de.warning.light,.6)),ze(de.Alert,"errorFilledBg",xt("palette-error-dark")),ze(de.Alert,"infoFilledBg",xt("palette-info-dark")),ze(de.Alert,"successFilledBg",xt("palette-success-dark")),ze(de.Alert,"warningFilledBg",xt("palette-warning-dark")),ze(de.Alert,"errorFilledColor",Il(()=>de.getContrastText(de.error.dark))),ze(de.Alert,"infoFilledColor",Il(()=>de.getContrastText(de.info.dark))),ze(de.Alert,"successFilledColor",Il(()=>de.getContrastText(de.success.dark))),ze(de.Alert,"warningFilledColor",Il(()=>de.getContrastText(de.warning.dark))),ze(de.Alert,"errorStandardBg",Ne(Tr,de.error.light,.9)),ze(de.Alert,"infoStandardBg",Ne(Tr,de.info.light,.9)),ze(de.Alert,"successStandardBg",Ne(Tr,de.success.light,.9)),ze(de.Alert,"warningStandardBg",Ne(Tr,de.warning.light,.9)),ze(de.Alert,"errorIconColor",xt("palette-error-main")),ze(de.Alert,"infoIconColor",xt("palette-info-main")),ze(de.Alert,"successIconColor",xt("palette-success-main")),ze(de.Alert,"warningIconColor",xt("palette-warning-main")),ze(de.AppBar,"defaultBg",xt("palette-grey-900")),ze(de.AppBar,"darkBg",xt("palette-background-paper")),ze(de.AppBar,"darkColor",xt("palette-text-primary")),ze(de.Avatar,"defaultBg",xt("palette-grey-600")),ze(de.Button,"inheritContainedBg",xt("palette-grey-800")),ze(de.Button,"inheritContainedHoverBg",xt("palette-grey-700")),ze(de.Chip,"defaultBorder",xt("palette-grey-700")),ze(de.Chip,"defaultAvatarColor",xt("palette-grey-300")),ze(de.Chip,"defaultIconColor",xt("palette-grey-300")),ze(de.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ze(de.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ze(de.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ze(de.LinearProgress,"primaryBg",Ne(Tr,de.primary.main,.5)),ze(de.LinearProgress,"secondaryBg",Ne(Tr,de.secondary.main,.5)),ze(de.LinearProgress,"errorBg",Ne(Tr,de.error.main,.5)),ze(de.LinearProgress,"infoBg",Ne(Tr,de.info.main,.5)),ze(de.LinearProgress,"successBg",Ne(Tr,de.success.main,.5)),ze(de.LinearProgress,"warningBg",Ne(Tr,de.warning.main,.5)),ze(de.Skeleton,"bg",Re?Ne(Sf,de.text.primary,.13):`rgba(${xt("palette-text-primaryChannel")} / 0.13)`),ze(de.Slider,"primaryTrack",Ne(Tr,de.primary.main,.5)),ze(de.Slider,"secondaryTrack",Ne(Tr,de.secondary.main,.5)),ze(de.Slider,"errorTrack",Ne(Tr,de.error.main,.5)),ze(de.Slider,"infoTrack",Ne(Tr,de.info.main,.5)),ze(de.Slider,"successTrack",Ne(Tr,de.success.main,.5)),ze(de.Slider,"warningTrack",Ne(Tr,de.warning.main,.5));const ot=Re?Ne(Fr,de.background.default,.985):v0(de.background.default,.98);ze(de.SnackbarContent,"bg",ot),ze(de.SnackbarContent,"color",Il(()=>Re?wO.text.primary:de.getContrastText(ot))),ze(de.SpeedDialAction,"fabHoverBg",v0(de.background.paper,.15)),ze(de.StepConnector,"border",xt("palette-grey-600")),ze(de.StepContent,"border",xt("palette-grey-600")),ze(de.Switch,"defaultColor",xt("palette-grey-300")),ze(de.Switch,"defaultDisabledColor",xt("palette-grey-600")),ze(de.Switch,"primaryDisabledColor",Ne(Tr,de.primary.main,.55)),ze(de.Switch,"secondaryDisabledColor",Ne(Tr,de.secondary.main,.55)),ze(de.Switch,"errorDisabledColor",Ne(Tr,de.error.main,.55)),ze(de.Switch,"infoDisabledColor",Ne(Tr,de.info.main,.55)),ze(de.Switch,"successDisabledColor",Ne(Tr,de.success.main,.55)),ze(de.Switch,"warningDisabledColor",Ne(Tr,de.warning.main,.55)),ze(de.TableCell,"border",Ne(Tr,Ne(Sf,de.divider,1),.68)),ze(de.Tooltip,"bg",Ne(Sf,de.grey[700],.92))}Dc(de.background,"default"),Dc(de.background,"paper"),Dc(de.common,"background"),Dc(de.common,"onBackground"),Dc(de,"divider"),Object.keys(de).forEach(ot=>{const st=de[ot];"tonalOffset"!==ot&&st&&"object"==typeof st&&(st.main&&ze(de[ot],"mainChannel",Bg(Gg(st.main))),st.light&&ze(de[ot],"lightChannel",Bg(Gg(st.light))),st.dark&&ze(de[ot],"darkChannel",Bg(Gg(st.dark))),st.contrastText&&ze(de[ot],"contrastTextChannel",Bg(Gg(st.contrastText))),"text"===ot&&(Dc(de[ot],"primary"),Dc(de[ot],"secondary")),"action"===ot&&(st.active&&Dc(de[ot],"active"),st.selected&&Dc(de[ot],"selected")))})}),et=I.reduce((yn,de)=>Ba(yn,de),et);const $t={prefix:z,disableCssColorScheme:V,shouldSkipGeneratingVar:X,getSelector:CY(et),enableContrastVars:Y},{vars:qt,generateThemeVars:Jn,generateStyleSheets:ur}=function fG(N,I={}){const{getSelector:f=ye,disableCssColorScheme:L,colorSchemeSelector:V,enableContrastVars:z}=I,Re=N,{colorSchemes:Y={},defaultColorScheme:Q="light"}=Re,J=Vo(Re,["colorSchemes","components","defaultColorScheme"]),{vars:te,css:re,varsWithDefaults:oe}=kD(J,I);let ae=oe;const le={},ft=Y,{[Q]:ue}=ft,ve=Vo(ft,[j0(Q)]);if(Object.entries(ve||{}).forEach(([et,$t])=>{const{vars:qt,css:Jn,varsWithDefaults:ur}=kD($t,I);ae=Ba(ae,ur),le[et]={css:Jn,vars:qt}}),ue){const{css:et,vars:$t,varsWithDefaults:qt}=kD(ue,I);ae=Ba(ae,qt),le[Q]={css:et,vars:$t}}function ye(et,$t){var Jn,ur;let qt=V;if("class"===V&&(qt=".%s"),"data"===V&&(qt="[data-%s]"),(null==V?void 0:V.startsWith("data-"))&&!V.includes("%s")&&(qt=`[${V}="%s"]`),et){if("media"===qt)return N.defaultColorScheme===et?":root":{[`@media (prefers-color-scheme: ${(null==(ur=null==(Jn=Y[et])?void 0:Jn.palette)?void 0:ur.mode)||et})`]:{":root":$t}};if(qt)return N.defaultColorScheme===et?`:root, ${qt.replace("%s",String(et))}`:qt.replace("%s",String(et))}return":root"}return{vars:ae,generateThemeVars:()=>{let et=Rt({},te);return Object.entries(le).forEach(([,{vars:$t}])=>{et=Ba(et,$t)}),et},generateStyleSheets:()=>{var er,yn;const et=[],$t=N.defaultColorScheme||"light";function qt(de,xt){Object.keys(xt).length&&et.push("string"==typeof de?{[de]:Rt({},xt)}:de)}qt(f(void 0,Rt({},re)),re);const Cn=le,{[$t]:Jn}=Cn,ur=Vo(Cn,[j0($t)]);if(Jn){const{css:de}=Jn,xt=null==(yn=null==(er=Y[$t])?void 0:er.palette)?void 0:yn.mode,Ne=Rt(!L&&xt?{colorScheme:xt}:{},de);qt(f($t,Rt({},Ne)),Ne)}return Object.entries(ur).forEach(([de,{css:xt}])=>{var st,Ht;const Ne=null==(Ht=null==(st=Y[de])?void 0:st.palette)?void 0:Ht.mode,ot=Rt(!L&&Ne?{colorScheme:Ne}:{},xt);qt(f(de,Rt({},ot)),ot)}),z&&et.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),et}}}(et,$t);return et.vars=qt,Object.entries(et.colorSchemes[et.defaultColorScheme]).forEach(([yn,de])=>{et[yn]=de}),et.generateThemeVars=Jn,et.generateStyleSheets=ur,et.generateSpacing=function(){return FO(te.spacing,ED(this))},et.getColorSchemeSelector=function pG(N){return function(f){return"media"===N?`@media (prefers-color-scheme: ${f})`:N?N.startsWith("data-")&&!N.includes("%s")?`[${N}="${f}"] &`:"class"===N?`.${f} &`:"data"===N?`[data-${f}] &`:`${N.replace("%s",f)} &`:"&"}}(Q),et.spacing=et.generateSpacing(),et.shouldSkipGeneratingVar=X,et.unstable_sxConfig=Rt(Rt({},M0),null==te?void 0:te.unstable_sxConfig),et.unstable_sx=function(de){return xD({sx:de,theme:this})},et.toRuntimeSource=LO,et}function jO(N,I,f){!N.colorSchemes||f&&(N.colorSchemes[I]=wo(Rt({},!0!==f&&f),{palette:_D(wo(Rt({},!0===f?{}:f.palette),{mode:I}))}))}Ve(985);var MY=Ve(829),Yg=Ve(743);function zO(N,I){if(null==N)return{};var f={};for(var L in N)if({}.hasOwnProperty.call(N,L)){if(-1!==I.indexOf(L))continue;f[L]=N[L]}return f}function Wu(){return Wu=Object.assign?Object.assign.bind():function(N){for(var I=1;I<arguments.length;I++){var f=arguments[I];for(var L in f)({}).hasOwnProperty.call(f,L)&&(N[L]=f[L])}return N},Wu.apply(null,arguments)}function xi(){return xi=Object.assign||function(N){for(var I=1;I<arguments.length;I++){var f=arguments[I];for(var L in f)Object.prototype.hasOwnProperty.call(f,L)&&(N[L]=f[L])}return N},xi.apply(this,arguments)}var UO="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};const Kg="object"===("undefined"==typeof window?"undefined":UO(window))&&"object"===("undefined"==typeof document?"undefined":UO(document))&&9===document.nodeType;function $O(N,I){for(var f=0;f<I.length;f++){var L=I[f];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(N,L.key,L)}}function WO(N,I,f){return I&&$O(N.prototype,I),f&&$O(N,f),Object.defineProperty(N,"prototype",{writable:!1}),N}function TD(N,I){return(TD=Object.setPrototypeOf||function(L,V){return L.__proto__=V,L})(N,I)}function GO(N,I){N.prototype=Object.create(I.prototype),N.prototype.constructor=N,TD(N,I)}function YO(N){if(void 0===N)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}var FY={}.constructor;function FD(N){if(null==N||"object"!=typeof N)return N;if(Array.isArray(N))return N.map(FD);if(N.constructor!==FY)return N;var I={};for(var f in N)I[f]=FD(N[f]);return I}function ID(N,I,f){void 0===N&&(N="unnamed");var L=f.jss,V=FD(I);return L.plugins.onCreateRule(N,V,f)||null}var KO=function(I,f){for(var L="",V=0;V<I.length&&"!important"!==I[V];V++)L&&(L+=f),L+=I[V];return L},xf=function(I){if(!Array.isArray(I))return I;var f="";if(Array.isArray(I[0]))for(var L=0;L<I.length&&"!important"!==I[L];L++)f&&(f+=", "),f+=KO(I[L]," ");else f=KO(I,", ");return"!important"===I[I.length-1]&&(f+=" !important"),f};function Tp(N){return N&&!1===N.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function qg(N,I){for(var f="",L=0;L<I;L++)f+="  ";return f+N}function Xg(N,I,f){void 0===f&&(f={});var L="";if(!I)return L;var z=f.indent,Y=void 0===z?0:z,X=I.fallbacks;!1===f.format&&(Y=-1/0);var Q=Tp(f),J=Q.linebreak,te=Q.space;if(N&&Y++,X)if(Array.isArray(X))for(var re=0;re<X.length;re++){var oe=X[re];for(var ae in oe){var le=oe[ae];null!=le&&(L&&(L+=J),L+=qg(ae+":"+te+xf(le)+";",Y))}}else for(var ue in X){var ve=X[ue];null!=ve&&(L&&(L+=J),L+=qg(ue+":"+te+xf(ve)+";",Y))}for(var ye in I){var pe=I[ye];null!=pe&&"fallbacks"!==ye&&(L&&(L+=J),L+=qg(ye+":"+te+xf(pe)+";",Y))}return(L||f.allowEmpty)&&N?(L&&(L=""+J+L+J),qg(""+N+te+"{"+L,--Y)+qg("}",Y)):L}var IY=/([[\].#*$><+~=|^:(),"'`\s])/g,qO="undefined"!=typeof CSS&&CSS.escape,RD=function(N){return qO?qO(N):N.replace(IY,"\\$1")},XO=function(){function N(f,L,V){this.type="style",this.isProcessed=!1;var z=V.sheet,Y=V.Renderer;this.key=f,this.options=V,this.style=L,z?this.renderer=z.renderer:Y&&(this.renderer=new Y)}return N.prototype.prop=function(L,V,z){if(void 0===V)return this.style[L];var Y=!!z&&z.force;if(!Y&&this.style[L]===V)return this;var X=V;(!z||!1!==z.process)&&(X=this.options.jss.plugins.onChangeValue(V,L,this));var Q=null==X||!1===X,J=L in this.style;if(Q&&!J&&!Y)return this;var te=Q&&J;return te?delete this.style[L]:this.style[L]=X,this.renderable&&this.renderer?(te?this.renderer.removeProperty(this.renderable,L):this.renderer.setProperty(this.renderable,L,X),this):this},N}(),OD=function(N){function I(L,V,z){var Y;Y=N.call(this,L,V,z)||this;var X=z.selector,Q=z.scoped,J=z.sheet,te=z.generateId;return X?Y.selectorText=X:!1!==Q&&(Y.id=te(YO(YO(Y)),J),Y.selectorText="."+RD(Y.id)),Y}GO(I,N);var f=I.prototype;return f.applyTo=function(V){var z=this.renderer;if(z){var Y=this.toJSON();for(var X in Y)z.setProperty(V,X,Y[X])}return this},f.toJSON=function(){var V={};for(var z in this.style){var Y=this.style[z];"object"!=typeof Y?V[z]=Y:Array.isArray(Y)&&(V[z]=xf(Y))}return V},f.toString=function(V){var z=this.options.sheet,X=z&&z.options.link?xi({},V,{allowEmpty:!0}):V;return Xg(this.selectorText,this.style,X)},WO(I,[{key:"selector",set:function(V){if(V!==this.selectorText){this.selectorText=V;var z=this.renderer,Y=this.renderable;Y&&z&&(z.setSelector(Y,V)||z.replaceRule(Y,this))}},get:function(){return this.selectorText}}]),I}(XO),RY={onCreateRule:function(I,f,L){return"@"===I[0]||L.parent&&"keyframes"===L.parent.type?null:new OD(I,f,L)}},PD={indent:1,children:!0},OY=/@([\w-]+)/,PY=function(){function N(f,L,V){this.type="conditional",this.isProcessed=!1,this.key=f;var z=f.match(OY);for(var Y in this.at=z?z[1]:"unknown",this.query=V.name||"@"+this.at,this.options=V,this.rules=new A0(xi({},V,{parent:this})),L)this.rules.add(Y,L[Y]);this.rules.process()}var I=N.prototype;return I.getRule=function(L){return this.rules.get(L)},I.indexOf=function(L){return this.rules.indexOf(L)},I.addRule=function(L,V,z){var Y=this.rules.add(L,V,z);return Y?(this.options.jss.plugins.onProcessRule(Y),Y):null},I.replaceRule=function(L,V,z){var Y=this.rules.replace(L,V,z);return Y&&this.options.jss.plugins.onProcessRule(Y),Y},I.toString=function(L){void 0===L&&(L=PD);var z=Tp(L).linebreak;if(null==L.indent&&(L.indent=PD.indent),null==L.children&&(L.children=PD.children),!1===L.children)return this.query+" {}";var Y=this.rules.toString(L);return Y?this.query+" {"+z+Y+z+"}":""},N}(),NY=/@container|@media|@supports\s+/,LY={onCreateRule:function(I,f,L){return NY.test(I)?new PY(I,f,L):null}},ND={indent:1,children:!0},VY=/@keyframes\s+([\w-]+)/,LD=function(){function N(f,L,V){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var z=f.match(VY);this.name=z&&z[1]?z[1]:"noname",this.key=this.type+"-"+this.name,this.options=V;var Y=V.scoped,X=V.sheet,Q=V.generateId;for(var J in this.id=!1===Y?this.name:RD(Q(this,X)),this.rules=new A0(xi({},V,{parent:this})),L)this.rules.add(J,L[J],xi({},V,{parent:this}));this.rules.process()}return N.prototype.toString=function(L){void 0===L&&(L=ND);var z=Tp(L).linebreak;if(null==L.indent&&(L.indent=ND.indent),null==L.children&&(L.children=ND.children),!1===L.children)return this.at+" "+this.id+" {}";var Y=this.rules.toString(L);return Y&&(Y=""+z+Y+z),this.at+" "+this.id+" {"+Y+"}"},N}(),BY=/@keyframes\s+/,HY=/\$([\w-]+)/g,VD=function(I,f){return"string"==typeof I?I.replace(HY,function(L,V){return V in f?f[V]:L}):I},QO=function(I,f,L){var V=I[f],z=VD(V,L);z!==V&&(I[f]=z)},jY={onCreateRule:function(I,f,L){return"string"==typeof I&&BY.test(I)?new LD(I,f,L):null},onProcessStyle:function(I,f,L){return"style"!==f.type||!L||("animation-name"in I&&QO(I,"animation-name",L.keyframes),"animation"in I&&QO(I,"animation",L.keyframes)),I},onChangeValue:function(I,f,L){var V=L.options.sheet;if(!V)return I;switch(f){case"animation":case"animation-name":return VD(I,V.keyframes);default:return I}}},zY=function(N){function I(){return N.apply(this,arguments)||this}return GO(I,N),I.prototype.toString=function(V){var z=this.options.sheet,X=z&&z.options.link?xi({},V,{allowEmpty:!0}):V;return Xg(this.key,this.style,X)},I}(XO),UY={onCreateRule:function(I,f,L){return L.parent&&"keyframes"===L.parent.type?new zY(I,f,L):null}},$Y=function(){function N(f,L,V){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=f,this.style=L,this.options=V}return N.prototype.toString=function(L){var z=Tp(L).linebreak;if(Array.isArray(this.style)){for(var Y="",X=0;X<this.style.length;X++)Y+=Xg(this.at,this.style[X]),this.style[X+1]&&(Y+=z);return Y}return Xg(this.at,this.style,L)},N}(),WY=/@font-face/,GY={onCreateRule:function(I,f,L){return WY.test(I)?new $Y(I,f,L):null}},YY=function(){function N(f,L,V){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=f,this.style=L,this.options=V}return N.prototype.toString=function(L){return Xg(this.key,this.style,L)},N}(),KY={onCreateRule:function(I,f,L){return"@viewport"===I||"@-ms-viewport"===I?new YY(I,f,L):null}},qY=function(){function N(f,L,V){this.type="simple",this.isProcessed=!1,this.key=f,this.value=L,this.options=V}return N.prototype.toString=function(L){if(Array.isArray(this.value)){for(var V="",z=0;z<this.value.length;z++)V+=this.key+" "+this.value[z]+";",this.value[z+1]&&(V+="\n");return V}return this.key+" "+this.value+";"},N}(),XY={"@charset":!0,"@import":!0,"@namespace":!0},ZO=[RY,LY,jY,UY,GY,KY,{onCreateRule:function(I,f,L){return I in XY?new qY(I,f,L):null}}],ZY={process:!0},JO={force:!0,process:!0},A0=function(){function N(f){this.map={},this.raw={},this.index=[],this.counter=0,this.options=f,this.classes=f.classes,this.keyframes=f.keyframes}var I=N.prototype;return I.add=function(L,V,z){var Y=this.options,ae=xi({classes:this.classes,parent:Y.parent,sheet:Y.sheet,jss:Y.jss,Renderer:Y.Renderer,generateId:Y.generateId,scoped:Y.scoped,name:L,keyframes:this.keyframes,selector:void 0},z),le=L;L in this.raw&&(le=L+"-d"+this.counter++),this.raw[le]=V,le in this.classes&&(ae.selector="."+RD(this.classes[le]));var ue=ID(le,V,ae);return ue?(this.register(ue),this.index.splice(void 0===ae.index?this.index.length:ae.index,0,ue),ue):null},I.replace=function(L,V,z){var Y=this.get(L),X=this.index.indexOf(Y);Y&&this.remove(Y);var Q=z;return-1!==X&&(Q=xi({},z,{index:X})),this.add(L,V,Q)},I.get=function(L){return this.map[L]},I.remove=function(L){this.unregister(L),delete this.raw[L.key],this.index.splice(this.index.indexOf(L),1)},I.indexOf=function(L){return this.index.indexOf(L)},I.process=function(){var L=this.options.jss.plugins;this.index.slice(0).forEach(L.onProcessRule,L)},I.register=function(L){this.map[L.key]=L,L instanceof OD?(this.map[L.selector]=L,L.id&&(this.classes[L.key]=L.id)):L instanceof LD&&this.keyframes&&(this.keyframes[L.name]=L.id)},I.unregister=function(L){delete this.map[L.key],L instanceof OD?(delete this.map[L.selector],delete this.classes[L.key]):L instanceof LD&&delete this.keyframes[L.name]},I.update=function(){var L,V,z;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(L=arguments.length<=0?void 0:arguments[0],V=arguments.length<=1?void 0:arguments[1],z=arguments.length<=2?void 0:arguments[2]):(V=arguments.length<=0?void 0:arguments[0],z=arguments.length<=1?void 0:arguments[1],L=null),L)this.updateOne(this.get(L),V,z);else for(var Y=0;Y<this.index.length;Y++)this.updateOne(this.index[Y],V,z)},I.updateOne=function(L,V,z){void 0===z&&(z=ZY);var Y=this.options,X=Y.jss.plugins,Q=Y.sheet;if(L.rules instanceof N)L.rules.update(V,z);else{var J=L.style;if(X.onUpdate(V,L,Q,z),z.process&&J&&J!==L.style){for(var te in X.onProcessStyle(L.style,L,Q),L.style){var re=L.style[te];re!==J[te]&&L.prop(te,re,JO)}for(var ae in J){var le=L.style[ae];null==le&&le!==J[ae]&&L.prop(ae,null,JO)}}}},I.toString=function(L){for(var V="",z=this.options.sheet,Y=!!z&&z.options.link,Q=Tp(L).linebreak,J=0;J<this.index.length;J++){var re=this.index[J].toString(L);!re&&!Y||(V&&(V+=Q),V+=re)}return V},N}(),eP=function(){function N(f,L){for(var V in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=xi({},L,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),L.Renderer&&(this.renderer=new L.Renderer(this)),this.rules=new A0(this.options),f)this.rules.add(V,f[V]);this.rules.process()}var I=N.prototype;return I.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},I.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},I.addRule=function(L,V,z){var Y=this.queue;this.attached&&!Y&&(this.queue=[]);var X=this.rules.add(L,V,z);return X?(this.options.jss.plugins.onProcessRule(X),this.attached?(this.deployed&&(Y?Y.push(X):(this.insertRule(X),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),X):(this.deployed=!1,X)):null},I.replaceRule=function(L,V,z){var Y=this.rules.get(L);if(!Y)return this.addRule(L,V,z);var X=this.rules.replace(L,V,z);return X&&this.options.jss.plugins.onProcessRule(X),this.attached?(this.deployed&&this.renderer&&(X?Y.renderable&&this.renderer.replaceRule(Y.renderable,X):this.renderer.deleteRule(Y)),X):(this.deployed=!1,X)},I.insertRule=function(L){this.renderer&&this.renderer.insertRule(L)},I.addRules=function(L,V){var z=[];for(var Y in L){var X=this.addRule(Y,L[Y],V);X&&z.push(X)}return z},I.getRule=function(L){return this.rules.get(L)},I.deleteRule=function(L){var V="object"==typeof L?L:this.rules.get(L);return!(!V||this.attached&&!V.renderable)&&(this.rules.remove(V),!(this.attached&&V.renderable&&this.renderer)||this.renderer.deleteRule(V.renderable))},I.indexOf=function(L){return this.rules.indexOf(L)},I.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},I.update=function(){var L;return(L=this.rules).update.apply(L,arguments),this},I.updateOne=function(L,V,z){return this.rules.updateOne(L,V,z),this},I.toString=function(L){return this.rules.toString(L)},N}(),JY=function(){function N(){this.plugins={internal:[],external:[]},this.registry={}}var I=N.prototype;return I.onCreateRule=function(L,V,z){for(var Y=0;Y<this.registry.onCreateRule.length;Y++){var X=this.registry.onCreateRule[Y](L,V,z);if(X)return X}return null},I.onProcessRule=function(L){if(!L.isProcessed){for(var V=L.options.sheet,z=0;z<this.registry.onProcessRule.length;z++)this.registry.onProcessRule[z](L,V);L.style&&this.onProcessStyle(L.style,L,V),L.isProcessed=!0}},I.onProcessStyle=function(L,V,z){for(var Y=0;Y<this.registry.onProcessStyle.length;Y++)V.style=this.registry.onProcessStyle[Y](V.style,V,z)},I.onProcessSheet=function(L){for(var V=0;V<this.registry.onProcessSheet.length;V++)this.registry.onProcessSheet[V](L)},I.onUpdate=function(L,V,z,Y){for(var X=0;X<this.registry.onUpdate.length;X++)this.registry.onUpdate[X](L,V,z,Y)},I.onChangeValue=function(L,V,z){for(var Y=L,X=0;X<this.registry.onChangeValue.length;X++)Y=this.registry.onChangeValue[X](Y,V,z);return Y},I.use=function(L,V){void 0===V&&(V={queue:"external"});var z=this.plugins[V.queue];-1===z.indexOf(L)&&(z.push(L),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(Y,X){for(var Q in X)Q in Y&&Y[Q].push(X[Q]);return Y},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},N}(),eK=function(){function N(){this.registry=[]}var I=N.prototype;return I.add=function(L){var V=this.registry,z=L.options.index;if(-1===V.indexOf(L)){if(0===V.length||z>=this.index)return void V.push(L);for(var Y=0;Y<V.length;Y++)if(V[Y].options.index>z)return void V.splice(Y,0,L)}},I.reset=function(){this.registry=[]},I.remove=function(L){var V=this.registry.indexOf(L);this.registry.splice(V,1)},I.toString=function(L){for(var V=void 0===L?{}:L,z=V.attached,Y=function TY(N,I){if(null==N)return{};var V,z,f={},L=Object.keys(N);for(z=0;z<L.length;z++)!(I.indexOf(V=L[z])>=0)&&(f[V]=N[V]);return f}(V,["attached"]),Q=Tp(Y).linebreak,J="",te=0;te<this.registry.length;te++){var re=this.registry[te];null!=z&&re.attached!==z||(J&&(J+=Q),J+=re.toString(Y))}return J},WO(N,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),N}(),Qg=new eK,BD="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),HD="2f1acc6c3a606b082e5eef5e54414ffb";null==BD[HD]&&(BD[HD]=0);var tP=BD[HD]++,nP=function(I){void 0===I&&(I={});var f=0;return function(z,Y){f+=1;var X="",Q="";return Y&&(Y.options.classNamePrefix&&(Q=Y.options.classNamePrefix),null!=Y.options.jss.id&&(X=String(Y.options.jss.id))),I.minify?""+(Q||"c")+tP+X+f:Q+z.key+"-"+tP+(X?"-"+X:"")+"-"+f}},rP=function(I){var f;return function(){return f||(f=I()),f}},nK=function(I,f){try{return I.attributeStyleMap?I.attributeStyleMap.get(f):I.style.getPropertyValue(f)}catch(L){return""}},rK=function(I,f,L){try{var V=L;if(Array.isArray(L)&&(V=xf(L)),I.attributeStyleMap)I.attributeStyleMap.set(f,V);else{var z=V?V.indexOf("!important"):-1,Y=z>-1?V.substr(0,z-1):V;I.style.setProperty(f,Y,z>-1?"important":"")}}catch(X){return!1}return!0},iK=function(I,f){try{I.attributeStyleMap?I.attributeStyleMap.delete(f):I.style.removeProperty(f)}catch(L){}},oK=function(I,f){return I.selectorText=f,I.selectorText===f},iP=rP(function(){return document.querySelector("head")});var dK=rP(function(){var N=document.querySelector('meta[property="csp-nonce"]');return N?N.getAttribute("content"):null}),oP=function(I,f,L){try{"insertRule"in I?I.insertRule(f,L):"appendRule"in I&&I.appendRule(f)}catch(V){return!1}return I.cssRules[L]},aP=function(I,f){var L=I.cssRules.length;return void 0===f||f>L?L:f},hK=function(){function N(f){this.getPropertyValue=nK,this.setProperty=rK,this.removeProperty=iK,this.setSelector=oK,this.hasInsertedRules=!1,this.cssRules=[],f&&Qg.add(f),this.sheet=f;var L=this.sheet?this.sheet.options:{},V=L.media,z=L.meta;this.element=L.element||function(){var I=document.createElement("style");return I.textContent="\n",I}(),this.element.setAttribute("data-jss",""),V&&this.element.setAttribute("media",V),z&&this.element.setAttribute("data-meta",z);var X=dK();X&&this.element.setAttribute("nonce",X)}var I=N.prototype;return I.attach=function(){if(!this.element.parentNode&&this.sheet){!function uK(N,I){var f=I.insertionPoint,L=function cK(N){var I=Qg.registry;if(I.length>0){var f=function aK(N,I){for(var f=0;f<N.length;f++){var L=N[f];if(L.attached&&L.options.index>I.index&&L.options.insertionPoint===I.insertionPoint)return L}return null}(I,N);if(f&&f.renderer)return{parent:f.renderer.element.parentNode,node:f.renderer.element};if(f=function sK(N,I){for(var f=N.length-1;f>=0;f--){var L=N[f];if(L.attached&&L.options.insertionPoint===I.insertionPoint)return L}return null}(I,N),f&&f.renderer)return{parent:f.renderer.element.parentNode,node:f.renderer.element.nextSibling}}var L=N.insertionPoint;if(L&&"string"==typeof L){var V=function lK(N){for(var I=iP(),f=0;f<I.childNodes.length;f++){var L=I.childNodes[f];if(8===L.nodeType&&L.nodeValue.trim()===N)return L}return null}(L);if(V)return{parent:V.parentNode,node:V.nextSibling}}return!1}(I);if(!1!==L&&L.parent)L.parent.insertBefore(N,L.node);else if(f&&"number"==typeof f.nodeType){var z=f.parentNode;z&&z.insertBefore(N,f.nextSibling)}else iP().appendChild(N)}(this.element,this.sheet.options);var L=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&L&&(this.hasInsertedRules=!1,this.deploy())}},I.detach=function(){if(this.sheet){var L=this.element.parentNode;L&&L.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},I.deploy=function(){var L=this.sheet;if(L){if(L.options.link)return void this.insertRules(L.rules);this.element.textContent="\n"+L.toString()+"\n"}},I.insertRules=function(L,V){for(var z=0;z<L.index.length;z++)this.insertRule(L.index[z],z,V)},I.insertRule=function(L,V,z){if(void 0===z&&(z=this.element.sheet),L.rules){var Y=L,X=z;if("conditional"===L.type||"keyframes"===L.type){var Q=aP(z,V);if(!1===(X=oP(z,Y.toString({children:!1}),Q)))return!1;this.refCssRule(L,Q,X)}return this.insertRules(Y.rules,X),X}var J=L.toString();if(!J)return!1;var te=aP(z,V),re=oP(z,J,te);return!1!==re&&(this.hasInsertedRules=!0,this.refCssRule(L,te,re),re)},I.refCssRule=function(L,V,z){L.renderable=z,L.options.parent instanceof eP&&this.cssRules.splice(V,0,z)},I.deleteRule=function(L){var V=this.element.sheet,z=this.indexOf(L);return-1!==z&&(V.deleteRule(z),this.cssRules.splice(z,1),!0)},I.indexOf=function(L){return this.cssRules.indexOf(L)},I.replaceRule=function(L,V){var z=this.indexOf(L);return-1!==z&&(this.element.sheet.deleteRule(z),this.cssRules.splice(z,1),this.insertRule(V,z))},I.getRules=function(){return this.element.sheet.cssRules},N}(),pK=0,mK=function(){function N(f){this.id=pK++,this.version="10.10.0",this.plugins=new JY,this.options={id:{minify:!1},createGenerateId:nP,Renderer:Kg?hK:null,plugins:[]},this.generateId=nP({minify:!1});for(var L=0;L<ZO.length;L++)this.plugins.use(ZO[L],{queue:"internal"});this.setup(f)}var I=N.prototype;return I.setup=function(L){return void 0===L&&(L={}),L.createGenerateId&&(this.options.createGenerateId=L.createGenerateId),L.id&&(this.options.id=xi({},this.options.id,L.id)),(L.createGenerateId||L.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=L.insertionPoint&&(this.options.insertionPoint=L.insertionPoint),"Renderer"in L&&(this.options.Renderer=L.Renderer),L.plugins&&this.use.apply(this,L.plugins),this},I.createStyleSheet=function(L,V){void 0===V&&(V={});var Y=V.index;"number"!=typeof Y&&(Y=0===Qg.index?0:Qg.index+1);var X=new eP(L,xi({},V,{jss:this,generateId:V.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:Y}));return this.plugins.onProcessSheet(X),X},I.removeStyleSheet=function(L){return L.detach(),Qg.remove(L),this},I.createRule=function(L,V,z){if(void 0===V&&(V={}),void 0===z&&(z={}),"object"==typeof L)return this.createRule(void 0,L,V);var Y=xi({},z,{name:L,jss:this,Renderer:this.options.Renderer});Y.generateId||(Y.generateId=this.generateId),Y.classes||(Y.classes={}),Y.keyframes||(Y.keyframes={});var X=ID(L,V,Y);return X&&this.plugins.onProcessRule(X),X},I.use=function(){for(var L=this,V=arguments.length,z=new Array(V),Y=0;Y<V;Y++)z[Y]=arguments[Y];return z.forEach(function(X){L.plugins.use(X)}),this},N}(),sP=function(I){return new mK(I)},jD="object"==typeof CSS&&null!=CSS&&"number"in CSS;function lP(N){var I=null;for(var f in N){var L=N[f],V=typeof L;if("function"===V)I||(I={}),I[f]=L;else if("object"===V&&null!==L&&!Array.isArray(L)){var z=lP(L);z&&(I||(I={}),I[f]=z)}}return I}function cP(N={}){const{baseClasses:I,newClasses:f}=N;if(!f)return I;const V=Wu({},I);return Object.keys(f).forEach(z=>{f[z]&&(V[z]=`${I[z]} ${f[z]}`)}),V}sP();const Fp_set=(N,I,f,L)=>{let V=N.get(I);V||(V=new Map,N.set(I,V)),V.set(f,L)},Fp_get=(N,I,f)=>{const L=N.get(I);return L?L.get(f):void 0},gK=Vi.createContext(null),_K="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",vK=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var uP=Date.now(),zD="fnValues"+uP,UD="fnStyle"+ ++uP;var Gu="@global",$D="@global ",EK=function(){function N(f,L,V){for(var z in this.type="global",this.at=Gu,this.isProcessed=!1,this.key=f,this.options=V,this.rules=new A0(xi({},V,{parent:this})),L)this.rules.add(z,L[z]);this.rules.process()}var I=N.prototype;return I.getRule=function(L){return this.rules.get(L)},I.addRule=function(L,V,z){var Y=this.rules.add(L,V,z);return Y&&this.options.jss.plugins.onProcessRule(Y),Y},I.replaceRule=function(L,V,z){var Y=this.rules.replace(L,V,z);return Y&&this.options.jss.plugins.onProcessRule(Y),Y},I.indexOf=function(L){return this.rules.indexOf(L)},I.toString=function(L){return this.rules.toString(L)},N}(),DK=function(){function N(f,L,V){this.type="global",this.at=Gu,this.isProcessed=!1,this.key=f,this.options=V;var z=f.substr($D.length);this.rule=V.jss.createRule(z,L,xi({},V,{parent:this}))}return N.prototype.toString=function(L){return this.rule?this.rule.toString(L):""},N}(),kK=/\s*,\s*/g;function dP(N,I){for(var f=N.split(kK),L="",V=0;V<f.length;V++)L+=I+" "+f[V].trim(),f[V+1]&&(L+=", ");return L}const AK=function MK(){return{onCreateRule:function N(f,L,V){if(!f)return null;if(f===Gu)return new EK(f,L,V);if("@"===f[0]&&f.substr(0,$D.length)===$D)return new DK(f,L,V);var z=V.parent;return z&&("global"===z.type||z.options.parent&&"global"===z.options.parent.type)&&(V.scoped=!1),!V.selector&&!1===V.scoped&&(V.selector=f),null},onProcessRule:function I(f,L){"style"!==f.type||!L||(function SK(N,I){var f=N.options,L=N.style,V=L?L[Gu]:null;if(V){for(var z in V)I.addRule(z,V[z],xi({},f,{selector:dP(z,N.selector)}));delete L[Gu]}}(f,L),function xK(N,I){var f=N.options,L=N.style;for(var V in L)if("@"===V[0]&&V.substr(0,Gu.length)===Gu){var z=dP(V.substr(Gu.length),N.selector);I.addRule(z,L[V],xi({},f,{selector:z})),delete L[V]}}(f,L))}}};var fP=/\s*,\s*/g,TK=/&/g,FK=/\$([\w-]+)/g;const RK=function IK(){function N(V,z){return function(Y,X){var Q=V.getRule(X)||z&&z.getRule(X);return Q?Q.selector:X}}function I(V,z){for(var Y=z.split(fP),X=V.split(fP),Q="",J=0;J<Y.length;J++)for(var te=Y[J],re=0;re<X.length;re++){var oe=X[re];Q&&(Q+=", "),Q+=-1!==oe.indexOf("&")?oe.replace(TK,te):te+" "+oe}return Q}function f(V,z,Y){if(Y)return xi({},Y,{index:Y.index+1});var X=V.options.nestingLevel,Q=xi({},V.options,{nestingLevel:X=void 0===X?1:X+1,index:z.indexOf(V)+1});return delete Q.name,Q}return{onProcessStyle:function L(V,z,Y){if("style"!==z.type)return V;var J,te,X=z,Q=X.options.parent;for(var re in V){var oe=-1!==re.indexOf("&"),ae="@"===re[0];if(oe||ae){if(J=f(X,Q,J),oe){var le=I(re,X.selector);te||(te=N(Q,Y)),le=le.replace(FK,te);var ue=X.key+"-"+re;"replaceRule"in Q?Q.replaceRule(ue,V[re],xi({},J,{selector:le})):Q.addRule(ue,V[re],xi({},J,{selector:le}))}else ae&&Q.addRule(re,{},J).addRule(X.key,V[re],{selector:X.selector});delete V[re]}}return V}}};var OK=/[A-Z]/g,PK=/^ms-/,WD={};function NK(N){return"-"+N.toLowerCase()}const hP=function LK(N){if(WD.hasOwnProperty(N))return WD[N];var I=N.replace(OK,NK);return WD[N]=PK.test(I)?"-"+I:I};function T0(N){var I={};for(var f in N)I[0===f.indexOf("--")?f:hP(f)]=N[f];return N.fallbacks&&(I.fallbacks=Array.isArray(N.fallbacks)?N.fallbacks.map(T0):T0(N.fallbacks)),I}const BK=function VK(){return{onProcessStyle:function N(f){if(Array.isArray(f)){for(var L=0;L<f.length;L++)f[L]=T0(f[L]);return f}return T0(f)},onChangeValue:function I(f,L,V){if(0===L.indexOf("--"))return f;var z=hP(L);return L===z?f:(V.prop(z,f),null)}}};var $e=jD&&CSS?CSS.px:"px",F0=jD&&CSS?CSS.ms:"ms",Ip=jD&&CSS?CSS.percent:"%";function pP(N){var I=/(-[a-z])/g,f=function(Y){return Y[1].toUpperCase()},L={};for(var V in N)L[V]=N[V],L[V.replace(I,f)]=N[V];return L}var jK=pP({"animation-delay":F0,"animation-duration":F0,"background-position":$e,"background-position-x":$e,"background-position-y":$e,"background-size":$e,border:$e,"border-bottom":$e,"border-bottom-left-radius":$e,"border-bottom-right-radius":$e,"border-bottom-width":$e,"border-left":$e,"border-left-width":$e,"border-radius":$e,"border-right":$e,"border-right-width":$e,"border-top":$e,"border-top-left-radius":$e,"border-top-right-radius":$e,"border-top-width":$e,"border-width":$e,"border-block":$e,"border-block-end":$e,"border-block-end-width":$e,"border-block-start":$e,"border-block-start-width":$e,"border-block-width":$e,"border-inline":$e,"border-inline-end":$e,"border-inline-end-width":$e,"border-inline-start":$e,"border-inline-start-width":$e,"border-inline-width":$e,"border-start-start-radius":$e,"border-start-end-radius":$e,"border-end-start-radius":$e,"border-end-end-radius":$e,margin:$e,"margin-bottom":$e,"margin-left":$e,"margin-right":$e,"margin-top":$e,"margin-block":$e,"margin-block-end":$e,"margin-block-start":$e,"margin-inline":$e,"margin-inline-end":$e,"margin-inline-start":$e,padding:$e,"padding-bottom":$e,"padding-left":$e,"padding-right":$e,"padding-top":$e,"padding-block":$e,"padding-block-end":$e,"padding-block-start":$e,"padding-inline":$e,"padding-inline-end":$e,"padding-inline-start":$e,"mask-position-x":$e,"mask-position-y":$e,"mask-size":$e,height:$e,width:$e,"min-height":$e,"max-height":$e,"min-width":$e,"max-width":$e,bottom:$e,left:$e,top:$e,right:$e,inset:$e,"inset-block":$e,"inset-block-end":$e,"inset-block-start":$e,"inset-inline":$e,"inset-inline-end":$e,"inset-inline-start":$e,"box-shadow":$e,"text-shadow":$e,"column-gap":$e,"column-rule":$e,"column-rule-width":$e,"column-width":$e,"font-size":$e,"font-size-delta":$e,"letter-spacing":$e,"text-decoration-thickness":$e,"text-indent":$e,"text-stroke":$e,"text-stroke-width":$e,"word-spacing":$e,motion:$e,"motion-offset":$e,outline:$e,"outline-offset":$e,"outline-width":$e,perspective:$e,"perspective-origin-x":Ip,"perspective-origin-y":Ip,"transform-origin":Ip,"transform-origin-x":Ip,"transform-origin-y":Ip,"transform-origin-z":Ip,"transition-delay":F0,"transition-duration":F0,"vertical-align":$e,"flex-basis":$e,"shape-margin":$e,size:$e,gap:$e,grid:$e,"grid-gap":$e,"row-gap":$e,"grid-row-gap":$e,"grid-column-gap":$e,"grid-template-rows":$e,"grid-template-columns":$e,"grid-auto-rows":$e,"grid-auto-columns":$e,"box-shadow-x":$e,"box-shadow-y":$e,"box-shadow-blur":$e,"box-shadow-spread":$e,"font-line-height":$e,"text-shadow-x":$e,"text-shadow-y":$e,"text-shadow-blur":$e});function Zg(N,I,f){if(null==I)return I;if(Array.isArray(I))for(var L=0;L<I.length;L++)I[L]=Zg(N,I[L],f);else if("object"==typeof I)if("fallbacks"===N)for(var V in I)I[V]=Zg(V,I[V],f);else for(var z in I)I[z]=Zg(N+"-"+z,I[z],f);else if("number"==typeof I&&!1===isNaN(I)){var Y=f[N]||jK[N];return!Y||0===I&&Y===$e?I.toString():"function"==typeof Y?Y(I).toString():""+I+Y}return I}const UK=function zK(N){void 0===N&&(N={});var I=pP(N);return{onProcessStyle:function f(V,z){if("style"!==z.type)return V;for(var Y in V)V[Y]=Zg(Y,V[Y],I);return V},onChangeValue:function L(V,z){return Zg(z,V,I)}}};function GD(N,I){(null==I||I>N.length)&&(I=N.length);for(var f=0,L=new Array(I);f<I;f++)L[f]=N[f];return L}var Jg="",YD="",mP="",gP="",qK=Kg&&"ontouchstart"in document.documentElement;if(Kg){var KD={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},qD=document.createElement("p").style;for(var XD in KD)if(XD+"Transform"in qD){Jg=XD,YD=KD[XD];break}"Webkit"===Jg&&"msHyphens"in qD&&(Jg="ms",YD=KD.ms,gP="edge"),"Webkit"===Jg&&"-apple-trailing-word"in qD&&(mP="apple")}var Sn_js=Jg,Sn_css=YD,Sn_vendor=mP,Sn_browser=gP,Sn_isTouch=qK,JK={noPrefill:["appearance"],supportedProperty:function(I){return"appearance"===I&&("ms"===Sn_js?"-webkit-"+I:Sn_css+I)}},eq={noPrefill:["color-adjust"],supportedProperty:function(I){return"color-adjust"===I&&("Webkit"===Sn_js?Sn_css+"print-"+I:I)}},tq=/[-\s]+(.)?/g;function nq(N,I){return I?I.toUpperCase():""}function QD(N){return N.replace(tq,nq)}function Yu(N){return QD("-"+N)}var ey,rq={noPrefill:["mask"],supportedProperty:function(I,f){if(!/^mask/.test(I))return!1;if("Webkit"===Sn_js){var L="mask-image";if(QD(L)in f)return I;if(Sn_js+Yu(L)in f)return Sn_css+I}return I}},iq={noPrefill:["text-orientation"],supportedProperty:function(I){return"text-orientation"===I&&("apple"!==Sn_vendor||Sn_isTouch?I:Sn_css+I)}},oq={noPrefill:["transform"],supportedProperty:function(I,f,L){return"transform"===I&&(L.transform?I:Sn_css+I)}},aq={noPrefill:["transition"],supportedProperty:function(I,f,L){return"transition"===I&&(L.transition?I:Sn_css+I)}},sq={noPrefill:["writing-mode"],supportedProperty:function(I){return"writing-mode"===I&&("Webkit"===Sn_js||"ms"===Sn_js&&"edge"!==Sn_browser?Sn_css+I:I)}},lq={noPrefill:["user-select"],supportedProperty:function(I){return"user-select"===I&&("Moz"===Sn_js||"ms"===Sn_js||"apple"===Sn_vendor?Sn_css+I:I)}},cq={supportedProperty:function(I,f){return!!/^break-/.test(I)&&("Webkit"===Sn_js?"WebkitColumn"+Yu(I)in f&&Sn_css+"column-"+I:"Moz"===Sn_js&&"page"+Yu(I)in f&&"page-"+I)}},uq={supportedProperty:function(I,f){if(!/^(border|margin|padding)-inline/.test(I))return!1;if("Moz"===Sn_js)return I;var L=I.replace("-inline","");return Sn_js+Yu(L)in f&&Sn_css+L}},dq={supportedProperty:function(I,f){return QD(I)in f&&I}},fq={supportedProperty:function(I,f){var L=Yu(I);return"-"===I[0]||"-"===I[0]&&"-"===I[1]?I:Sn_js+L in f?Sn_css+I:"Webkit"!==Sn_js&&"Webkit"+L in f&&"-webkit-"+I}},hq={supportedProperty:function(I){return"scroll-snap"===I.substring(0,11)&&("ms"===Sn_js?""+Sn_css+I:I)}},pq={supportedProperty:function(I){return"overscroll-behavior"===I&&("ms"===Sn_js?Sn_css+"scroll-chaining":I)}},mq={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},gq={supportedProperty:function(I,f){var L=mq[I];return!(!L||!(Sn_js+Yu(L)in f))&&Sn_css+L}},yP={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},yq=Object.keys(yP),_q=function(I){return Sn_css+I},_P=[JK,eq,rq,iq,oq,aq,sq,lq,cq,uq,dq,fq,hq,pq,gq,{supportedProperty:function(I,f,L){var V=L.multiple;if(yq.indexOf(I)>-1){var z=yP[I];if(!Array.isArray(z))return Sn_js+Yu(z)in f&&Sn_css+z;if(!V)return!1;for(var Y=0;Y<z.length;Y++)if(!(Sn_js+Yu(z[0])in f))return!1;return z.map(_q)}return!1}}],vP=_P.filter(function(N){return N.supportedProperty}).map(function(N){return N.supportedProperty}),bq=_P.filter(function(N){return N.noPrefill}).reduce(function(N,I){return N.push.apply(N,function KK(N){return function $K(N){if(Array.isArray(N))return GD(N)}(N)||function WK(N){if("undefined"!=typeof Symbol&&null!=N[Symbol.iterator]||null!=N["@@iterator"])return Array.from(N)}(N)||function GK(N,I){if(N){if("string"==typeof N)return GD(N,I);var f=Object.prototype.toString.call(N).slice(8,-1);if("Object"===f&&N.constructor&&(f=N.constructor.name),"Map"===f||"Set"===f)return Array.from(N);if("Arguments"===f||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return GD(N,I)}}(N)||function YK(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(I.noPrefill)),N},[]),Mf={};if(Kg){ey=document.createElement("p");var ZD=window.getComputedStyle(document.documentElement,"");for(var JD in ZD)isNaN(JD)||(Mf[ZD[JD]]=ZD[JD]);bq.forEach(function(N){return delete Mf[N]})}function ek(N,I){if(void 0===I&&(I={}),!ey)return N;if(null!=Mf[N])return Mf[N];("transition"===N||"transform"===N)&&(I[N]=N in ey.style);for(var f=0;f<vP.length&&(Mf[N]=vP[f](N,ey.style,I),!Mf[N]);f++);try{ey.style[N]=""}catch(L){return!1}return Mf[N]}var Ku,Rp={},wq={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Cq=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Eq(N,I,f){return"var"===I?"var":"all"===I?"all":"all"===f?", all":(I?ek(I):", "+ek(f))||I||f}function bP(N,I){var f=I;if(!Ku||"content"===N)return I;if("string"!=typeof f||!isNaN(parseInt(f,10)))return f;var L=N+f;if(null!=Rp[L])return Rp[L];try{Ku.style[N]=f}catch(V){return Rp[L]=!1,!1}if(wq[N])f=f.replace(Cq,Eq);else if(""===Ku.style[N]&&("-ms-flex"===(f=Sn_css+f)&&(Ku.style[N]="-ms-flexbox"),Ku.style[N]=f,""===Ku.style[N]))return Rp[L]=!1,!1;return Ku.style[N]="",Rp[L]=f,Rp[L]}Kg&&(Ku=document.createElement("p"));const kq=function Dq(){function I(V){for(var z in V){var Y=V[z];if("fallbacks"===z&&Array.isArray(Y))V[z]=Y.map(I);else{var X=!1,Q=ek(z);Q&&Q!==z&&(X=!0);var J=!1,te=bP(Q,xf(Y));te&&te!==Y&&(J=!0),(X||J)&&(X&&delete V[z],V[Q||z]=te||Y)}}return V}return{onProcessRule:function N(V){"keyframes"===V.type&&(V.at=function ZK(N){return"-"===N[1]||"ms"===Sn_js?N:"@"+Sn_css+"keyframes"+N.substr(10)}(V.at))},onProcessStyle:function f(V,z){return"style"!==z.type?V:I(V)},onChangeValue:function L(V,z){return bP(z,xf(V))||V}}},xq=function Sq(){var N=function(f,L){return f.length===L.length?f>L?1:-1:f.length-L.length};return{onProcessStyle:function(f,L){if("style"!==L.type)return f;for(var V={},z=Object.keys(f).sort(N),Y=0;Y<z.length;Y++)V[z[Y]]=f[z[Y]];return V}}},Tq=sP(function Mq(){return{plugins:[{onCreateRule:function(f,L,V){if("function"!=typeof L)return null;var z=ID(f,{},V);return z[UD]=L,z},onProcessStyle:function(f,L){if(zD in L||UD in L)return f;var V={};for(var z in f){var Y=f[z];"function"==typeof Y&&(delete f[z],V[z]=Y)}return L[zD]=V,f},onUpdate:function(f,L,V,z){var Y=L,X=Y[UD];X&&(Y.style=X(f)||{});var J=Y[zD];if(J)for(var te in J)Y.prop(te,J[te](f),z)}},AK(),RK(),BK(),UK(),"undefined"==typeof window?null:kq(),xq()]}}()),Fq=function bK(N={}){const{disableGlobal:I=!1,productionPrefix:f="jss",seed:L=""}=N,V=""===L?"":`${L}-`;let z=0;const Y=()=>(z+=1,z);return(X,Q)=>{const J=Q.options.name;if(J&&0===J.indexOf("Mui")&&!Q.options.link&&!I){if(-1!==vK.indexOf(X.key))return`Mui-${X.key}`;const re=`${V}${J}-${X.key}`;return Q.options.theme[_K]&&""===L?`${re}-${Y()}`:re}return`${V}${f}${Y()}`}}(),tk=Vi.createContext({disableGeneration:!1,generateClassName:Fq,jss:Tq,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null});let wP=-1e9;function nk(){return nk=Object.assign?Object.assign.bind():function(N){for(var I=1;I<arguments.length;I++){var f=arguments[I];for(var L in f)({}).hasOwnProperty.call(f,L)&&(N[L]=f[L])}return N},nk.apply(null,arguments)}function Op(N){if("object"!=typeof N||null===N)return!1;const I=Object.getPrototypeOf(N);return!(null!==I&&I!==Object.prototype&&null!==Object.getPrototypeOf(I)||Symbol.toStringTag in N||Symbol.iterator in N)}function CP(N){if(Vi.isValidElement(N)||!Op(N))return N;const I={};return Object.keys(N).forEach(f=>{I[f]=CP(N[f])}),I}function rk(N,I,f={clone:!0}){const L=f.clone?nk({},N):N;return Op(N)&&Op(I)&&Object.keys(I).forEach(V=>{L[V]=Vi.isValidElement(I[V])?I[V]:Op(I[V])&&Object.prototype.hasOwnProperty.call(N,V)&&Op(N[V])?rk(N[V],I[V],f):f.clone&&Op(I[V])?CP(I[V]):I[V]}),L}function ik(N){if("string"!=typeof N)throw new Error(function Oq(N){let I="https://mui.com/production-error/?code="+N;for(let f=1;f<arguments.length;f+=1)I+="&args[]="+encodeURIComponent(arguments[f]);return"Minified MUI error #"+N+"; visit "+I+" for the full message."}(7));return N.charAt(0).toUpperCase()+N.slice(1)}const Pq=["variant"];function EP(N){return 0===N.length}const Vq={},Bq=["name","classNamePrefix","Component","defaultTheme"];function jq({state:N,theme:I,stylesOptions:f,stylesCreator:L,name:V},z){if(f.disableGeneration)return;let Y=Fp_get(f.sheetsManager,L,I);Y||(Y={refs:0,staticSheet:null,dynamicStyles:null},Fp_set(f.sheetsManager,L,I,Y));const X=Wu({},L.options,f,{theme:I,flip:"boolean"==typeof f.flip?f.flip:"rtl"===I.direction});X.generateId=X.serverGenerateClassName||X.generateClassName;const Q=f.sheetsRegistry;if(0===Y.refs){let J;f.sheetsCache&&(J=Fp_get(f.sheetsCache,L,I));const te=L.create(I,V);J||(J=f.jss.createStyleSheet(te,Wu({link:!1},X)),J.attach(),f.sheetsCache&&Fp_set(f.sheetsCache,L,I,J)),Q&&Q.add(J),Y.staticSheet=J,Y.dynamicStyles=lP(te)}if(Y.dynamicStyles){const J=f.jss.createStyleSheet(Y.dynamicStyles,Wu({link:!0},X));J.update(z),J.attach(),N.dynamicSheet=J,N.classes=cP({baseClasses:Y.staticSheet.classes,newClasses:J.classes}),Q&&Q.add(J)}else N.classes=Y.staticSheet.classes;Y.refs+=1}function ty(N,I={}){const{name:f,classNamePrefix:L,Component:V,defaultTheme:z=Vq}=I,Y=zO(I,Bq),X=function Lq(N){const I="function"==typeof N;return{create:(f,L)=>{let V;try{V=I?N(f):N}catch(Q){throw Q}if(!L||!f.components||!f.components[L]||!f.components[L].styleOverrides&&!f.components[L].variants)return V;const z=f.components[L].styleOverrides||{},Y=f.components[L].variants||[],X=Wu({},V);return Object.keys(z).forEach(Q=>{X[Q]=rk(X[Q]||{},z[Q])}),Y.forEach(Q=>{const J=function Nq(N){const{variant:I}=N,f=zO(N,Pq);let L=I||"";return Object.keys(f).sort().forEach(V=>{L+="color"===V?EP(L)?N[V]:ik(N[V]):`${EP(L)?V:ik(V)}${ik(N[V].toString())}`}),L}(Q.props);X[J]=rk(X[J]||{},Q.style)}),X},options:{}}}(N),Q=f||L||"makeStyles";return X.options={index:(wP+=1,wP),name:f,meta:Q,classNamePrefix:Q},(te={})=>{const re=function yK(){return Vi.useContext(gK)}()||z,oe=Wu({},Vi.useContext(tk),Y),ae=Vi.useRef(),le=Vi.useRef();return function $q(N,I){const f=Vi.useRef([]);let L;const V=Vi.useMemo(()=>({}),I);f.current!==V&&(f.current=V,L=N()),Vi.useEffect(()=>()=>{L&&L()},[V])}(()=>{const ve={name:f,state:{},stylesCreator:X,stylesOptions:oe,theme:re};return jq(ve,te),le.current=!1,ae.current=ve,()=>{!function Uq({state:N,theme:I,stylesOptions:f,stylesCreator:L}){if(f.disableGeneration)return;const V=Fp_get(f.sheetsManager,L,I);V.refs-=1;const z=f.sheetsRegistry;0===V.refs&&(((N,I,f)=>{N.get(I).delete(f)})(f.sheetsManager,L,I),f.jss.removeStyleSheet(V.staticSheet),z&&z.remove(V.staticSheet)),N.dynamicSheet&&(f.jss.removeStyleSheet(N.dynamicSheet),z&&z.remove(N.dynamicSheet))}(ve)}},[re,X]),Vi.useEffect(()=>{le.current&&function zq({state:N},I){N.dynamicSheet&&N.dynamicSheet.update(I)}(ae.current,te),le.current=!0}),function Hq({state:N,stylesOptions:I},f,L){if(I.disableGeneration)return f||{};N.cacheClasses||(N.cacheClasses={value:null,lastProp:null,lastJSS:{}});let V=!1;return N.classes!==N.cacheClasses.lastJSS&&(N.cacheClasses.lastJSS=N.classes,V=!0),f!==N.cacheClasses.lastProp&&(N.cacheClasses.lastProp=f,V=!0),V&&(N.cacheClasses.value=cP({baseClasses:N.cacheClasses.lastJSS,newClasses:f,Component:L})),N.cacheClasses.value}(ae.current,te.classes,V)}}function gt(){return gt=Object.assign?Object.assign.bind():function(N){for(var I=1;I<arguments.length;I++){var f=arguments[I];for(var L in f)Object.prototype.hasOwnProperty.call(f,L)&&(N[L]=f[L])}return N},gt.apply(this,arguments)}class Wq{constructor(I,f=(L=>L)){this.raw=void 0,this.mapper=void 0,this.raw=I,this.mapper=f}value(){var I=this;return vo(function*(){return I.mapper(yield I.raw.json())})()}}class Gq{constructor(I){this.raw=void 0,this.raw=I}value(){return vo(function*(){})()}}class ok{constructor(I){this.raw=void 0,this.raw=I}get message(){return this.raw.message}get name(){return`[ApiError: ${this.raw.error}]`}get stack(){return this.raw.trace}get status(){return this.raw.status}get error(){return this.raw.error}get id(){return this.raw.id}get timestamp(){return this.raw.timestamp}get requestId(){return this.raw.requestId}get parameters(){return this.raw.parameters}toJSON(){return{message:this.message,error:this.error,status:this.status,id:this.id,timestamp:this.timestamp,requestId:this.requestId,parameters:this.parameters}}}class kP{fetch(I,f){return vo(function*(){let L;try{L=yield fetch(I,f)}catch(Y){throw new ok({status:598,message:"Something went wrong in BaseApiClient",error:"Something failed in node's fetch method",trace:"",id:"",timestamp:"",requestId:""})}if(!L.ok){var V,z;if(403===L.status)throw new ok({status:L.status,message:"Forbidden",error:"Forbidden",trace:"",id:"",timestamp:"",requestId:""});const Y=yield L.json();throw Y.status=null!=(V=Y.status)?V:L.status,Y.message=null!=(z=Y.errorMessage)?z:Y.message,new ok(Y)}return L})()}fetchApi(I,f){var L=this;return vo(function*(){return L.fetch(I,gt({},f,{headers:gt({"Content-Type":"application/json"},null==f?void 0:f.headers)}))})()}}var SP,kc,Pp,ny,R0,ry;function ak(){return ak=Object.assign?Object.assign.bind():function(N){for(var I=1;I<arguments.length;I++){var f=arguments[I];for(var L in f)Object.prototype.hasOwnProperty.call(f,L)&&(N[L]=f[L])}return N},ak.apply(this,arguments)}function O0(N){return null!==N&&"object"==typeof N&&N.constructor===Object}function xP(N,I,f={clone:!0}){const L=f.clone?ak({},N):N;return O0(N)&&O0(I)&&Object.keys(I).forEach(V=>{"__proto__"!==V&&(L[V]=O0(I[V])&&V in N&&O0(N[V])?xP(N[V],I[V],f):I[V])}),L}function Np(N){var I={exports:{}};return N(I,I.exports),I.exports}!function(N){N.BACKOFFICE="backoffice",N.GUEST_JOURNEY="guest-journey",N.MONITORING="monitoring"}(SP||(SP={})),new class extends kP{getTenants(N){var I=this;return vo(function*(){const f=yield I.fetchApi("/api/frontend-configuration/"+N,{headers:{"window-location":window.location.href}});return new Wq(f).value()})()}},function(N){N.SALTO="SALTO",N.SALTO_SPACE_MOBILE_KEY="SALTO_SPACE_MOBILE_KEY",N.SALTO_SPACE_ONLINE="SALTO_SPACE_ONLINE",N.OFFLINE_PIN="OFFLINE_PIN",N.BURGWACHTER_LEGACY="BURGWACHTER_LEGACY",N.BURGWACHTER="BURGWACHTER",N.HAFELE="HAFELE",N.FOUR_SUITES="FOUR_SUITES",N.AA_VISIONLINE="AA_VISIONLINE",N.GLUTZ="GLUTZ",N.OFFLINE_KEY="OFFLINE_KEY",N.NONE="NONE"}(kc||(kc={})),function(N){N.SMS="SMS",N.EMAIL="EMAIL",N.WHATSAPP="WHATSAPP"}(Pp||(Pp={})),function(N){N.V1="v1",N.V2="v2"}(ny||(ny={})),function(N){N.NONE="NONE",N.INFO="INFO",N.WARN="WARN",N.ERROR="ERROR"}(R0||(R0={})),function(N){N.APALEO="APALEO",N.MEWS="MEWS",N.OHIP="OHIP"}(ry||(ry={})),"undefined"!=typeof globalThis||"undefined"!=typeof window||"undefined"!=typeof global&&global;const cr=N=>({fontFamily:N,h1:{fontStyle:"normal",fontWeight:"700",fontFamily:N,fontSize:"32px",lineHeight:"38px",letterSpacing:"normal"},h2:{fontStyle:"normal",fontWeight:"700",fontFamily:N,fontSize:"24px",lineHeight:"28px",letterSpacing:"normal"},h3:{fontStyle:"normal",fontWeight:"700",fontFamily:N,fontSize:"20px",lineHeight:"24px",letterSpacing:"normal"},h4:{fontStyle:"normal",fontWeight:"700",fontFamily:N,fontSize:"16px",lineHeight:"20px",letterSpacing:"normal"},subtitle1:{fontStyle:"normal",fontWeight:"400",fontFamily:N,fontSize:"24px",lineHeight:"28px",letterSpacing:"normal"},body1:{fontFamily:N,fontStyle:"normal",fontWeight:"400",fontSize:"16px",lineHeight:"20px"},body2:{fontFamily:N,fontStyle:"normal",fontWeight:"400",fontSize:"12px",lineHeight:"14px"},caption:{fontFamily:N,fontStyle:"normal",fontWeight:"400",fontSize:"12px",lineHeight:"16px"}}),Xn=({theme:N})=>({[N.breakpoints.up("md")]:{backgroundColor:N.palette.background.paper,borderBottom:`1px solid ${N.palette.primary.main}`}}),Wn={variants:[{props:{variant:"primary"},style:{color:"#FFFFFF",backgroundColor:"#000000",fontWeight:700,fontSize:20,lineHeight:"24px",letterSpacing:"0.02em","&:hover":{backgroundColor:"#000000","@media (hover: none)":{backgroundColor:"#000000"}},"&:disabled":{color:"#FFFFFF",backgroundColor:"#000000"}}},{props:{variant:"secondary"},style:{color:"#000000",backgroundColor:"#FFFFFF",border:"2px solid #000000",fontSize:"20px",fontWeight:700,lineHeight:"24px",letterSpacing:"0.02em","&:hover":{border:"2px solid #000000",backgroundColor:"transparent","@media (hover: none)":{border:"2px solid #000000"}},"&:disabled":{border:"2px solid rgba(0, 0, 0, 0.4)"}}}],styleOverrides:{root:({theme:N})=>({borderRadius:1.5*N.shape.borderRadius,textTransform:"none",padding:"12px 22px","&:disabled":{opacity:.4},"&:disabled&containedPrimary":{color:"#FFFFFF"},fontSize:"17px",lineHeight:"20px"})}},Xq={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#325349"},secondary:{main:"#808181"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#FCFAE6",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#7E766E"},action:{disabledOpacity:0}}),typography:cr("MaisonNeue-Regular")},Qq={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#FF6A13"},secondary:{main:"#C5B9AC"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F4F1EE",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#7E766E"},action:{disabledOpacity:0}}),typography:cr("ArchitypeRenner-Regular")},Zq={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#5f7070"},secondary:{main:"#96a9a7"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F4F1EE",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#7E766E"},action:{disabledOpacity:0}}),typography:cr("qanelasmedium")},Jq={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#9F3951"},secondary:{main:"#9E9E9E"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F4F1EE",paper:"#FFFFFF"},text:{primary:"#5A5256",secondary:"#7E766E"},action:{disabledOpacity:0}}),typography:cr("ArchitypeRenner-Regular")},eX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#000000"},secondary:{main:"#000000"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#EEEEEE",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#9E9E9E"},action:{disabledOpacity:0},grey:{600:"#757575"}}),typography:{fontFamily:"Matter-Regular",h1:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"32px"},h2:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"24px"},h3:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"20px"},h4:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"16px"},subtitle1:{fontStyle:"normal",fontFamily:"Matter-Regular",fontSize:"24px"},body1:{fontFamily:"Matter-Regular",fontStyle:"normal",fontSize:"16px"},body2:{fontFamily:"Matter-Regular",fontStyle:"normal",fontSize:"14px"}}},tX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#165986"},secondary:{main:"#808080"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#165986",secondary:"#898f99"},action:{disabledOpacity:0}}),typography:cr("Lato-Regular")},nX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#968792"},secondary:{main:"#6787b7"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F4F1EE",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#7E766E"},action:{disabledOpacity:0}}),typography:cr("OpenSans-Regular")},rX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#333333"},secondary:{main:"#333333"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#faf5eb",paper:"#FFFFFF"},text:{primary:"#333333",secondary:"#333333"},action:{disabledOpacity:0}}),typography:cr("RocGrotesk-Medium")},iX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#7F0615"},secondary:{main:"#808181"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#FCFAE6",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#7E766E"},action:{disabledOpacity:0}}),typography:cr("MaisonNeue-Regular")},Xu={height:48,fontSize:14,fontWeight:700,boxShadow:"rgb(0 0 0 / 20%) 0px 3px 1px -2px, rgb(0 0 0 / 14%) 0px 2px 2px 0px, rgb(0 0 0 / 12%) 0px 1px 5px 0px;"},oX={components:{MuiButton:{variants:[{props:{variant:"primary"},style:({theme:N})=>gt({color:N.palette.common.white,backgroundColor:N.palette.primary.main},Xu,{"&:hover":{backgroundColor:N.palette.primary.dark},"&:disabled":{opacity:.5,color:N.palette.common.white}})},{props:{variant:"secondary"},style:({theme:N})=>gt({color:N.palette.common.black,backgroundColor:N.palette.common.white,border:`2px solid ${N.palette.common.black}`},Xu,{"&:hover":{backgroundColor:N.palette.grey[200]},"&:disabled":{opacity:.5,color:N.palette.common.black}})},{props:{variant:"accent"},style:({theme:N})=>gt({color:N.palette.common.white,backgroundColor:N.palette.accent.main},Xu,{"&:hover":{backgroundColor:N.palette.accent.dark},"&:disabled":{opacity:.5,color:N.palette.common.white}})},{props:{variant:"success"},style:({theme:N})=>gt({color:N.palette.common.white,backgroundColor:N.palette.success.main},Xu,{"&:hover":{backgroundColor:N.palette.success.dark}})},{props:{variant:"warning"},style:({theme:N})=>gt({color:N.palette.common.white,backgroundColor:N.palette.warning.main},Xu,{"&:hover":{backgroundColor:N.palette.warning.dark}})},{props:{variant:"error"},style:({theme:N})=>gt({color:N.palette.common.white,backgroundColor:N.palette.error.main},Xu,{"&:hover":{backgroundColor:N.palette.error.dark}})},{props:{variant:"disabled"},style:({theme:N})=>gt({color:N.palette.common.white,backgroundColor:N.palette.grey[400]},Xu,{"&:disabled":{color:N.palette.common.white,backgroundColor:N.palette.grey[400]}})}],styleOverrides:gt({root:({theme:N})=>({borderRadius:N.spacing(8),textTransform:"none",boxShadow:"none !important"})},Xu)},MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#000000"},secondary:{main:"#000000"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#EEEEEE",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#9E9E9E"},action:{disabledOpacity:0},grey:{400:"#BDBDBD",600:"#757575"}}),typography:{fontFamily:"Matter-Regular",h1:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"36px",lineHeight:"42px"},h2:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"28px",lineHeight:"36px"},h3:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"22px",lineHeight:"28px"},h4:{fontStyle:"normal",fontFamily:"Matter-SemiBold",fontSize:"18px",lineHeight:"22px"},subtitle1:{fontStyle:"normal",fontFamily:"Matter-Regular",fontSize:"24px",lineHeight:"28px"},body1:{fontFamily:"Matter-Regular",fontStyle:"normal",fontSize:"16px",lineHeight:"24px",paddingBottom:"0px"},body2:{fontFamily:"Matter-Regular",fontStyle:"normal",fontSize:"14px",lineHeight:"20px",paddingBottom:"0px"}}},aX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:0},palette:{primary:{main:"#222222"},secondary:{main:"#7DC1AD"},success:{main:"#7DC1AD",light:"#AFCAC2",dark:"#077050"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},background:{default:"#EFEFEF",paper:"#FFFFFF"},text:{primary:"#222222",secondary:"#222222"},action:{disabledOpacity:0}},typography:{fontFamily:"Inter",h1:{fontStyle:"normal",fontWeight:"700",fontFamily:"MMNT",fontSize:"32px",lineHeight:"38px",letterSpacing:"normal",textTransform:"uppercase"},h2:{fontStyle:"normal",fontWeight:"700",fontFamily:"MMNT",fontSize:"24px",lineHeight:"28px",letterSpacing:"normal",textTransform:"uppercase"},h3:{fontStyle:"normal",fontWeight:"700",fontFamily:"Inter",fontSize:"20px",lineHeight:"24px",letterSpacing:"normal"},h4:{fontStyle:"normal",fontWeight:"700",fontFamily:"Inter",fontSize:"16px",lineHeight:"20px",letterSpacing:"normal"},subtitle1:{fontStyle:"normal",fontWeight:"400",fontFamily:"Inter",fontSize:"24px",lineHeight:"28px",letterSpacing:"normal"},body1:{fontFamily:"Inter",fontStyle:"normal",fontWeight:"400",fontSize:"16px",lineHeight:"20px"},body2:{fontFamily:"Inter",fontStyle:"normal",fontWeight:"400",fontSize:"12px",lineHeight:"14px"},caption:{fontFamily:"Inter",fontStyle:"normal",fontWeight:"400",fontSize:"12px",lineHeight:"16px"}}},sX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#0C3A4D"},secondary:{main:"#E6C17C"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#0C3A4D",secondary:"#E6C17C"},action:{disabledOpacity:0}}),typography:cr("Jost")},lX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#a28d5b"},secondary:{main:"#53565a"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#a28d5b",secondary:"#53565a"},action:{disabledOpacity:0}}),typography:cr("Rotis-Semi-Serif-Std")},cX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:({theme:N})=>({[N.breakpoints.up("md")]:{backgroundColor:`${N.palette.primary.main} !important`,button:{color:`${N.palette.common.white}!important`,span:{svg:{color:`${N.palette.common.white}!important`}}}}})}}},shape:{borderRadius:8},palette:gt({primary:{main:"#001d3f"},secondary:{main:"#00408c"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#001d3f",secondary:"#00408c"},action:{disabledOpacity:0}}),typography:cr("Montserrat")},uX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#f1d384"},secondary:{main:"#706f6f"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#f1d384",secondary:"#706f6f"},action:{disabledOpacity:0}}),typography:cr("Century-Gothic")},dX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#000000"},secondary:{main:"#9B9B9B"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#000000"},action:{disabledOpacity:0}}),typography:cr("MaisonNeue-Regular")},fX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:0},palette:gt({primary:{main:"#629f46"},secondary:{main:"#222222"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#222222",secondary:"#000000"},action:{disabledOpacity:0}}),typography:cr("OpenSans-Regular")},hX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#13433A"},secondary:{main:"#B5955E"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#000000"},action:{disabledOpacity:0}}),typography:cr("Avenir-Next-LT-Pro")},pX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#00B4CF"},secondary:{main:"#F7931A"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#F7931A"},action:{disabledOpacity:0}}),typography:cr("Avenir-Next-LT-Pro")},mX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#1A1919"},secondary:{main:"#8A8B8A"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#E4E4E3",paper:"#FFFFFE"},text:{primary:"#1A1919",secondary:"#8A8B8A"},action:{disabledOpacity:0}}),typography:cr("Jost")},gX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#DC4914"},secondary:{main:"#444D4A"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F3ED",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#444D4A"},action:{disabledOpacity:0}}),typography:{fontFamily:"Rubik",h1:{fontStyle:"normal",fontWeight:"700",fontFamily:"Zipper",fontSize:"32px",lineHeight:"38px",letterSpacing:"normal",textTransform:"uppercase"},h2:{fontStyle:"normal",fontWeight:"700",fontFamily:"Zipper",fontSize:"24px",lineHeight:"28px",letterSpacing:"normal",textTransform:"uppercase"},h3:{fontStyle:"normal",fontWeight:"700",fontFamily:"Rubik",fontSize:"20px",lineHeight:"24px",letterSpacing:"normal"},h4:{fontStyle:"normal",fontWeight:"700",fontFamily:"Rubik",fontSize:"16px",lineHeight:"20px",letterSpacing:"normal"},subtitle1:{fontStyle:"normal",fontWeight:"400",fontFamily:"Rubik",fontSize:"24px",lineHeight:"28px",letterSpacing:"normal"},body1:{fontFamily:"Rubik",fontStyle:"normal",fontWeight:"400",fontSize:"16px",lineHeight:"20px"},body2:{fontFamily:"Rubik",fontStyle:"normal",fontWeight:"400",fontSize:"12px",lineHeight:"14px"},caption:{fontFamily:"Rubik",fontStyle:"normal",fontWeight:"400",fontSize:"12px",lineHeight:"16px"}}},yX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#A17745"},secondary:{main:"#DFBF92"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F9F1EE",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#DFBF92"},action:{disabledOpacity:0}}),typography:cr("Raleway-ExtraLight")},_X={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#273846"},secondary:{main:"#65757D"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#1E2327",secondary:"#65757D"},action:{disabledOpacity:0}}),typography:cr("Avenir-Next-LT-Pro")},vX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#2a3350"},secondary:{main:"#01b1e2"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#01b1e2"},action:{disabledOpacity:0}}),typography:cr("Gotham-Bold")},bX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#123040"},secondary:{main:"#ad172d"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F3ED",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#ad172d"},action:{disabledOpacity:0}}),typography:cr("Montserrat")},wX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#9A7D5B"},secondary:{main:"#F7F3EF"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F7F3EF",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#b29777"},action:{disabledOpacity:0}}),typography:cr("Rubik")},CX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#645a3c"},secondary:{main:"#695AA0"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#32372d"},action:{disabledOpacity:0}}),typography:cr("Century-Gothic")},EX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#079a18"},secondary:{main:"#222222"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#1a1e29"},action:{disabledOpacity:0}}),typography:cr("Rubik")},DX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#3D6F5B"},secondary:{main:"#14263D"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#EEEEEE",paper:"#FFFFFF"},text:{primary:"#14263D",secondary:"#9E9E9E"},action:{disabledOpacity:0}}),typography:cr("Lato-Regular")},kX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:0},palette:gt({primary:{main:"#652f63"},secondary:{main:"#222222"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#222222",secondary:"#000000"},action:{disabledOpacity:0}}),typography:cr("OpenSans-Regular")},SX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:0},palette:gt({primary:{main:"#ee7f00"},secondary:{main:"#222222"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#222222",secondary:"#000000"},action:{disabledOpacity:0}}),typography:cr("OpenSans-Regular")},xX={components:{MuiButton:{variants:[{props:{variant:"primary"},style:({theme:N})=>({color:"#FFFFFF",backgroundColor:N.palette.secondary.main,fontWeight:700,fontSize:20,lineHeight:"24px",letterSpacing:"0.02em","&:hover":{backgroundColor:N.palette.secondary.main,"@media (hover: none)":{backgroundColor:N.palette.secondary.main}},"&:disabled":{color:"#FFFFFF",backgroundColor:N.palette.secondary.main}})},{props:{variant:"secondary"},style:{color:"#000000",backgroundColor:"#FFFFFF",border:"2px solid #000000",fontSize:"20px",fontWeight:700,lineHeight:"24px",letterSpacing:"0.02em","&:hover":{border:"2px solid #000000",backgroundColor:"transparent","@media (hover: none)":{border:"2px solid #000000"}},"&:disabled":{border:"2px solid rgba(0, 0, 0, 0.4)"}}}],styleOverrides:Wn.styleOverrides},MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:0},palette:gt({primary:{main:"#2B2B2B"},secondary:{main:"#ffba00"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#f2f2f2",paper:"#FFFFFF"},text:{primary:"#2B2B2B",secondary:"#ffba00"},action:{disabledOpacity:0}}),typography:cr("Rubik")},MX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#102831"},secondary:{main:"#c7d0cb"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#102831",secondary:"#c7d0cb"},action:{disabledOpacity:0}}),typography:cr("Rubik")},AX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#3C3C3C"},secondary:{main:"#FACD32"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#000000",secondary:"#333333"},action:{disabledOpacity:0}}),typography:cr("Rubik")},TX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:0},palette:gt({primary:{main:"#076293"},secondary:{main:"#222222"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#222222",secondary:"#000000"},action:{disabledOpacity:0}}),typography:cr("OpenSans-Regular")},FX={components:{MuiButton:{variants:[{props:{variant:"primary"},style:({theme:N})=>({color:"#FFFFFF",backgroundColor:N.palette.primary.main,fontWeight:700,fontSize:20,lineHeight:"24px",letterSpacing:"0.02em","&:hover":{backgroundColor:N.palette.primary.main,"@media (hover: none)":{backgroundColor:N.palette.primary.main}},"&:disabled":{color:"#FFFFFF",backgroundColor:N.palette.primary.main}})},{props:{variant:"secondary"},style:{color:"#000000",backgroundColor:"#FFFFFF",border:"2px solid #000000",fontSize:"20px",fontWeight:700,lineHeight:"24px",letterSpacing:"0.02em","&:hover":{border:"2px solid #000000",backgroundColor:"transparent","@media (hover: none)":{border:"2px solid #000000"}},"&:disabled":{border:"2px solid rgba(0, 0, 0, 0.4)"}}}],styleOverrides:Wn.styleOverrides},MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:8},palette:gt({primary:{main:"#E31E24"},secondary:{main:"#B2B3B3"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#060606",secondary:"#545454"},action:{disabledOpacity:0}}),typography:cr("Open Sans")},IX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:({theme:N})=>({[N.breakpoints.up("md")]:{backgroundColor:`${N.palette.primary.main} !important`,button:{color:`${N.palette.common.white}!important`,span:{svg:{color:`${N.palette.common.white}!important`}}}}})}}},shape:{borderRadius:0},palette:gt({primary:{main:"#053237"},secondary:{main:"#CDAA8C"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{paper:"#053237",default:"#053237"},text:{secondary:"#FFFFFF",primary:"#CDAA8C"},action:{disabledOpacity:0}}),typography:cr("Open Sans")},RX={components:{MuiButton:Wn,MuiAppBar:{styleOverrides:{root:Xn}}},shape:{borderRadius:0},palette:gt({primary:{main:"#767676"},secondary:{main:"#000000"}},{success:{main:"#03875F",light:"#D8EBE5",dark:"#077050"},error:{main:"#EB1717",light:"#FFEBEB",dark:"#CC2929"},info:{main:"#14263D",light:"#E6EDFA",dark:"#091651"},warning:{main:"#E57700",light:"#FFEFD6",dark:"#BA4A00"}},{background:{default:"#F5F5F5",paper:"#FFFFFF"},text:{primary:"#767676",secondary:"#000000"},action:{disabledOpacity:0}}),typography:cr("Open Sans")},MP={"staykooook-theme":Qq,"leoneck-theme":Xq,"flemlodge-theme":Zq,"amaris-theme":Jq,"anstatt-theme":tX,"likemagic-theme":eX,"guesthouse-zurzach-theme":nX,"urbm-theme":rX,"walhalla-theme":iX,"likemagic-backoffice-theme":oX,"mmnt-theme":aX,"conti-theme":sX,"smarthotel-theme":lX,"staybright-theme":cX,"welcome-homes-theme":uX,"fredhotels-theme":dX,"schani-bio-theme":fX,"schani-general-theme":SX,"schani-salon-theme":kX,"schani-uno-theme":TX,"riva-theme":hX,"princess-theme":pX,"pensionarosa-theme":mX,"zipper-theme":gX,"gghotel-theme":yX,"zzzpace-theme":_X,"nshotel-theme":vX,"flatlight-theme":bX,"tfe-poc-theme":wX,"achesahomes-theme":CX,"ibis-styles-theme":EX,"pkf-theme":DX,"mcdreams-theme":xX,"yarn-theme":MX,"dreamcation-theme":AX,"regiohotel-theme":FX,"a-by-adina-theme":IX,"hotelswissstar-theme":RX},AP=(N,I)=>{let f=MP[N];return f||(console.warn(new Error(`The theme ${N} is not valid`)),f=MP["likemagic-theme"]),function xY(N={},...I){const te=N,{palette:f,cssVariables:L=!1,colorSchemes:V=(f?void 0:{light:!0}),defaultColorScheme:z=(null==f?void 0:f.mode)}=te,Y=Vo(te,["palette","cssVariables","colorSchemes","defaultColorScheme"]),X=z||"light",Q=null==V?void 0:V[X],J=Rt(Rt({},V),f?{[X]:wo(Rt({},"boolean"!=typeof Q&&Q),{palette:f})}:void 0);if(!1===L){if(!("colorSchemes"in N))return MD(N,...I);let re=f;"palette"in N||J[X]&&(!0!==J[X]?re=J[X].palette:"dark"===X&&(re={mode:"dark"}));const oe=MD(wo(Rt({},N),{palette:re}),...I);return oe.defaultColorScheme=X,oe.colorSchemes=J,"light"===oe.palette.mode&&(oe.colorSchemes.light=wo(Rt({},!0!==J.light&&J.light),{palette:oe.palette}),jO(oe,"dark",J.dark)),"dark"===oe.palette.mode&&(oe.colorSchemes.dark=wo(Rt({},!0!==J.dark&&J.dark),{palette:oe.palette}),jO(oe,"light",J.light)),oe}return!f&&!("light"in J)&&"light"===X&&(J.light=!0),SY(Rt(wo(Rt({},Y),{colorSchemes:J,defaultColorScheme:X}),"boolean"!=typeof L&&L),...I)}(I?xP(f,I):f)};var P0;!function(N){N.Unimplemented="UNIMPLEMENTED",N.Unavailable="UNAVAILABLE"}(P0||(P0={}));class sk extends Error{constructor(I,f){super(I),this.message=I,this.code=f}}const lk=(N=>N.Capacitor=(I=>{var f,L,V,z,Y;const X=I.CapacitorCustomPlatform||null,Q=I.Capacitor||{},J=Q.Plugins=Q.Plugins||{},te=I.CapacitorPlatforms,re=(null===(f=null==te?void 0:te.currentPlatform)||void 0===f?void 0:f.getPlatform)||(()=>{return null!==X?X.name:(null==(ye=I)?void 0:ye.androidBridge)?"android":(null===(Ie=null===(pe=null==ye?void 0:ye.webkit)||void 0===pe?void 0:pe.messageHandlers)||void 0===Ie?void 0:Ie.bridge)?"ios":"web";var ye,pe,Ie}),oe=(null===(L=null==te?void 0:te.currentPlatform)||void 0===L?void 0:L.isNativePlatform)||(()=>"web"!==re()),ae=(null===(V=null==te?void 0:te.currentPlatform)||void 0===V?void 0:V.isPluginAvailable)||(ye=>{const pe=ue.get(ye);return!!(null==pe?void 0:pe.platforms.has(re()))||!!le(ye)}),le=(null===(z=null==te?void 0:te.currentPlatform)||void 0===z?void 0:z.getPluginHeader)||(ye=>{var pe;return null===(pe=Q.PluginHeaders)||void 0===pe?void 0:pe.find(Ie=>Ie.name===ye)}),ue=new Map,ve=(null===(Y=null==te?void 0:te.currentPlatform)||void 0===Y?void 0:Y.registerPlugin)||((ye,pe={})=>{const Ie=ue.get(ye);if(Ie)return console.warn(`Capacitor plugin "${ye}" already registered. Cannot register plugins twice.`),Ie.proxy;const Re=re(),ft=le(ye);let et;const $t=er=>{let yn;const de=(...xt)=>{const Ne=vo(function*(){return!et&&Re in pe?et=et="function"==typeof pe[Re]?yield pe[Re]():pe[Re]:null!==X&&!et&&"web"in pe&&(et=et="function"==typeof pe.web?yield pe.web():pe.web),et})().then(ot=>{const st=((Ht,Rn)=>{var oi,me;if(!ft){if(Ht)return null===(me=Ht[Rn])||void 0===me?void 0:me.bind(Ht);throw new sk(`"${ye}" plugin is not implemented on ${Re}`,P0.Unimplemented)}{const Me=null==ft?void 0:ft.methods.find(Be=>Rn===Be.name);if(Me)return"promise"===Me.rtype?Be=>Q.nativePromise(ye,Rn.toString(),Be):(Be,ct)=>Q.nativeCallback(ye,Rn.toString(),Be,ct);if(Ht)return null===(oi=Ht[Rn])||void 0===oi?void 0:oi.bind(Ht)}})(ot,er);if(st){const Ht=st(...xt);return yn=null==Ht?void 0:Ht.remove,Ht}throw new sk(`"${ye}.${er}()" is not implemented on ${Re}`,P0.Unimplemented)});return"addListener"===er&&(Ne.remove=vo(function*(){return yn()})),Ne};return de.toString=()=>`${er.toString()}() { [capacitor code] }`,Object.defineProperty(de,"name",{value:er,writable:!1,configurable:!1}),de},qt=$t("addListener"),Jn=$t("removeListener"),ur=(er,yn)=>{const de=qt({eventName:er},yn),xt=function(){var ot=vo(function*(){const st=yield de;Jn({eventName:er,callbackId:st},yn)});return function(){return ot.apply(this,arguments)}}(),Ne=new Promise(ot=>de.then(()=>ot({remove:xt})));return Ne.remove=vo(function*(){console.warn("Using addListener() without 'await' is deprecated."),yield xt()}),Ne},Cn=new Proxy({},{get(er,yn){switch(yn){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return ft?ur:qt;case"removeListener":return Jn;default:return $t(yn)}}});return J[ye]=Cn,ue.set(ye,{name:ye,proxy:Cn,platforms:new Set([...Object.keys(pe),...ft?[Re]:[]])}),Cn});return Q.convertFileSrc||(Q.convertFileSrc=ye=>ye),Q.getPlatform=re,Q.handleError=ye=>I.console.error(ye),Q.isNativePlatform=oe,Q.isPluginAvailable=ae,Q.pluginMethodNoop=(ye,pe,Ie)=>Promise.reject(`${Ie} does not have an implementation of "${pe}".`),Q.registerPlugin=ve,Q.Exception=sk,Q.DEBUG=!!Q.DEBUG,Q.isLoggingEnabled=!!Q.isLoggingEnabled,Q.platform=Q.getPlatform(),Q.isNative=Q.isNativePlatform(),Q})(N))("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),FP=lk.registerPlugin;FP("Keycloak");let Vp=[];function PP(){return uk.apply(this,arguments)}function uk(){return uk=vo(function*(){for(const N of Vp)yield N();Vp=[]}),uk.apply(this,arguments)}function NP(N){Vp=Vp.filter(I=>I!==N)}var Bp=Object.defineProperty({cleanup:PP,addCleanup:function(N){return Vp=[N,...Vp],()=>NP(N)},removeCleanup:NP,autoRegisterCleanup:function(){"function"!=typeof afterEach||function(){try{return!!process.env.RHTL_SKIP_AUTO_CLEANUP}catch(N){return!1}}()||afterEach(vo(function*(){yield PP()}))}},"__esModule",{value:!0});const NX=[/^The above error occurred in the <.*?> component:/,/^Error: Uncaught .+/];function LP(){const N=console.error;return console.error=(...I)=>{const f="string"==typeof I[0]?I[0]:null;f&&NX.some(L=>L.test(f))||N(...I)},()=>{console.error=N}}var VP=Object.defineProperty({enableErrorOutputSuppression:function(){if("function"==typeof beforeEach&&"function"==typeof afterEach&&!function(){try{return!!process.env.RHTL_DISABLE_ERROR_FILTERING}catch(N){return!1}}()){let N;beforeEach(()=>{N=LP()}),afterEach(()=>N())}},suppressErrorOutput:LP},"__esModule",{value:!0}),BP=Object.defineProperty({createTimeoutController:function(N){let I;const f=[],L={onTimeout(V){f.push(V)},wrap:V=>new Promise((z,Y)=>{L.timedOut=!1,L.onTimeout(z),N&&(I=setTimeout(()=>{L.timedOut=!0,f.forEach(X=>X()),z()},N)),V.then(z).catch(Y).finally(()=>L.cancel())}),cancel(){clearTimeout(I)},timedOut:!1};return L}},"__esModule",{value:!0}),dk=Np(function(N,I){Object.defineProperty(I,"__esModule",{value:!0}),I.TimeoutError=void 0;class f extends Error{constructor(V,z){super(`Timed out in ${V.name} after ${z}ms.`)}}I.TimeoutError=f}),LX=Object.defineProperty({asyncUtils:function(N,I){const f=function(){var Y=vo(function*(X,{interval:Q,timeout:J}){const te=()=>{const oe=X();return null!=oe?oe:void 0===oe},re=(0,BP.createTimeoutController)(J);return te()||(yield N(()=>re.wrap(vo(function*(){for(;;){const oe=(0,BP.createTimeoutController)(Q);if(re.onTimeout(()=>oe.cancel()),yield oe.wrap(new Promise(I)),te()||re.timedOut)return}})()))),!re.timedOut});return function(Q,J){return Y.apply(this,arguments)}}(),L=function(){var Y=vo(function*(X,{interval:Q=50,timeout:J=1e3}={}){if(!(yield f(()=>{try{return X()}catch(te){return!1}},{interval:Q,timeout:J}))&&J)throw new dk.TimeoutError(L,J)});return function(Q){return Y.apply(this,arguments)}}(),V=function(){var Y=vo(function*(X,{interval:Q=50,timeout:J=1e3}={}){const te=X();if(!(yield f(()=>X()!==te,{interval:Q,timeout:J}))&&J)throw new dk.TimeoutError(V,J)});return function(Q){return Y.apply(this,arguments)}}(),z=function(){var Y=vo(function*({timeout:X=1e3}={}){let Q=!1;if(I(()=>{Q=!0}),!(yield f(()=>Q,{interval:!1,timeout:X}))&&X)throw new dk.TimeoutError(z,X)});return function(){return Y.apply(this,arguments)}}();return{waitFor:L,waitForValueToChange:V,waitForNextUpdate:z}}},"__esModule",{value:!0}),iy=Np(function(N,I){Object.defineProperty(I,"__esModule",{value:!0}),I.createRenderHook=function(f){return(L,V={})=>{const{result:z,setValue:Y,setError:X,addResolver:Q}=function(){const pe=[],Ie=[],ft=(et,$t)=>{pe.push({value:et,error:$t}),Ie.splice(0,Ie.length).forEach(qt=>qt())};return{result:{get all(){return pe.map(({value:et,error:$t})=>null!=$t?$t:et)},get current(){var et;const{value:$t,error:qt}=null!=(et=pe[pe.length-1])?et:{};if(qt)throw qt;return $t},get error(){var et;const{error:$t}=null!=(et=pe[pe.length-1])?et:{};return $t}},addResolver:et=>{Ie.push(et)},setValue:et=>ft(et),setError:et=>ft(void 0,et)}}();let te=V.initialProps;const ye=f({callback:L,setValue:Y,setError:X},V),{render:re,rerender:oe,unmount:ae,act:le}=ye,ue=Vo(ye,["render","rerender","unmount","act"]);re(te);const ve=()=>{(0,Bp.removeCleanup)(ve),ae()};return(0,Bp.addCleanup)(ve),Rt(Rt({result:z,rerender:(pe=te)=>{te=pe,oe(te)},unmount:ve},(0,LX.asyncUtils)(le,Q)),ue)}},Object.defineProperty(I,"cleanup",{enumerable:!0,get:function(){return Bp.cleanup}}),Object.defineProperty(I,"addCleanup",{enumerable:!0,get:function(){return Bp.addCleanup}}),Object.defineProperty(I,"removeCleanup",{enumerable:!0,get:function(){return Bp.removeCleanup}}),Object.defineProperty(I,"suppressErrorOutput",{enumerable:!0,get:function(){return VP.suppressErrorOutput}})}),BX=Np(function(N,I){!function(f,L){function V(J){if(J&&J.__esModule)return J;var te=Object.create(null);return J&&Object.keys(J).forEach(function(re){if("default"!==re){var oe=Object.getOwnPropertyDescriptor(J,re);Object.defineProperty(te,re,oe.get?oe:{enumerable:!0,get:function(){return J[re]}})}}),te.default=J,Object.freeze(te)}var z=V(L);function Y(J,te){return(Y=Object.setPrototypeOf||function(re,oe){return re.__proto__=oe,re})(J,te)}var X={error:null},Q=function(J){function te(){for(var le,ue=arguments.length,ve=new Array(ue),ye=0;ye<ue;ye++)ve[ye]=arguments[ye];return(le=J.call.apply(J,[this].concat(ve))||this).state=X,le.resetErrorBoundary=function(){for(var pe,Ie=arguments.length,Re=new Array(Ie),ft=0;ft<Ie;ft++)Re[ft]=arguments[ft];null==le.props.onReset||(pe=le.props).onReset.apply(pe,Re),le.reset()},le}var re,oe;oe=J,(re=te).prototype=Object.create(oe.prototype),re.prototype.constructor=re,Y(re,oe),te.getDerivedStateFromError=function(le){return{error:le}};var ae=te.prototype;return ae.reset=function(){this.setState(X)},ae.componentDidCatch=function(le,ue){var ve,ye;null==(ve=(ye=this.props).onError)||ve.call(ye,le,ue)},ae.componentDidUpdate=function(le,ue){var ve,ye,pe,Ie,Re=this.props.resetKeys;null!==this.state.error&&null!==ue.error&&(void 0===(pe=le.resetKeys)&&(pe=[]),void 0===(Ie=Re)&&(Ie=[]),pe.length!==Ie.length||pe.some(function(ft,et){return!Object.is(ft,Ie[et])}))&&(null==(ve=(ye=this.props).onResetKeysChange)||ve.call(ye,le.resetKeys,Re),this.reset())},ae.render=function(){var le=this.state.error,ue=this.props,ve=ue.fallbackRender,ye=ue.FallbackComponent,pe=ue.fallback;if(null!==le){var Ie={error:le,resetErrorBoundary:this.resetErrorBoundary};if(z.isValidElement(pe))return pe;if("function"==typeof ve)return ve(Ie);if(ye)return z.createElement(ye,Ie);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},te}(z.Component);f.ErrorBoundary=Q,f.useErrorHandler=function(J){var te=z.useState(null),re=te[0];if(null!=J)throw J;if(null!=re)throw re;return te[1]},f.withErrorBoundary=function(J,te){var re=function(oe){return z.createElement(Q,te,z.createElement(J,oe))};return re.displayName="withErrorBoundary("+(J.displayName||J.name||"Unknown")+")",re},Object.defineProperty(f,"__esModule",{value:!0})}(I,Vi)}),oy=function(N,I){if(N&&N.__esModule)return N;if(null===N||"object"!=typeof N&&"function"!=typeof N)return{default:N};var f=HP(void 0);if(f&&f.has(N))return f.get(N);var L={},V=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var z in N)if("default"!==z&&Object.prototype.hasOwnProperty.call(N,z)){var Y=V?Object.getOwnPropertyDescriptor(N,z):null;Y&&(Y.get||Y.set)?Object.defineProperty(L,z,Y):L[z]=N[z]}return L.default=N,f&&f.set(N,L),L}(Vi);function HP(N){if("function"!=typeof WeakMap)return null;var I=new WeakMap,f=new WeakMap;return(HP=function(L){return L?f:I})(N)}var L0,V0,Af,HX=Object.defineProperty({createTestHarness:function({callback:N,setValue:I,setError:f},L,V=!0){const z=({hookProps:Q})=>(I(N(Q)),null);let Y=()=>{};const X=({error:Q,resetErrorBoundary:J})=>(Y=()=>{Y=()=>{},J()},f(Q),null);return Q=>{Y();let J=oy.default.createElement(z,{hookProps:Q});return L&&(J=oy.default.createElement(L,Q,J)),V&&(J=oy.default.createElement(oy.Suspense,{fallback:null},J)),oy.default.createElement(BX.ErrorBoundary,{FallbackComponent:X},J)}}},"__esModule",{value:!0}),fk={__proto__:null},hk=Np(function(N,I){Object.defineProperty(I,"__esModule",{value:!0}),Object.keys(fk).forEach(function(f){"default"!==f&&"__esModule"!==f&&(f in I&&I[f]===fk[f]||Object.defineProperty(I,f,{enumerable:!0,get:function(){return fk[f]}}))})}),pk=Np(function(N,I){Object.defineProperty(I,"__esModule",{value:!0});var f={renderHook:!0,act:!0,cleanup:!0,addCleanup:!0,removeCleanup:!0,suppressErrorOutput:!0};Object.defineProperty(I,"act",{enumerable:!0,get:function(){return Yg.act}}),Object.defineProperty(I,"cleanup",{enumerable:!0,get:function(){return iy.cleanup}}),Object.defineProperty(I,"addCleanup",{enumerable:!0,get:function(){return iy.addCleanup}}),Object.defineProperty(I,"removeCleanup",{enumerable:!0,get:function(){return iy.removeCleanup}}),Object.defineProperty(I,"suppressErrorOutput",{enumerable:!0,get:function(){return iy.suppressErrorOutput}}),I.renderHook=void 0;var L=function(Y,X){if(Y&&Y.__esModule)return Y;if(null===Y||"object"!=typeof Y&&"function"!=typeof Y)return{default:Y};var Q=V(void 0);if(Q&&Q.has(Y))return Q.get(Y);var J={},te=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var re in Y)if("default"!==re&&Object.prototype.hasOwnProperty.call(Y,re)){var oe=te?Object.getOwnPropertyDescriptor(Y,re):null;oe&&(oe.get||oe.set)?Object.defineProperty(J,re,oe):J[re]=Y[re]}return J.default=Y,Q&&Q.set(Y,J),J}(MY);function V(Y){if("function"!=typeof WeakMap)return null;var X=new WeakMap,Q=new WeakMap;return(V=function(J){return J?Q:X})(Y)}Object.keys(hk).forEach(function(Y){"default"!==Y&&"__esModule"!==Y&&(Object.prototype.hasOwnProperty.call(f,Y)||Y in I&&I[Y]===hk[Y]||Object.defineProperty(I,Y,{enumerable:!0,get:function(){return hk[Y]}}))});const z=(0,iy.createRenderHook)(function(Y,{wrapper:X}){const Q=document.createElement("div"),J=(0,HX.createTestHarness)(Y,X);return{render(te){(0,Yg.act)(()=>{L.render(J(te),Q)})},rerender(te){(0,Yg.act)(()=>{L.render(J(te),Q)})},unmount(){(0,Yg.act)(()=>{L.unmountComponentAtNode(Q)})},act:Yg.act}});I.renderHook=z});Np(function(N,I){Object.defineProperty(I,"__esModule",{value:!0}),Object.keys(pk).forEach(function(f){"default"!==f&&"__esModule"!==f&&(f in I&&I[f]===pk[f]||Object.defineProperty(I,f,{enumerable:!0,get:function(){return pk[f]}}))}),(0,Bp.autoRegisterCleanup)(),(0,VP.enableErrorOutputSuppression)()}),FP("NativeChecker"),function(N){N.ANDROID="android",N.IOS="ios"}(L0||(L0={})),function(N){N.GUEST_JOURNEY="sv-magic-guest-journey",N.PLATFORM="sv-magic-platform",N.BACKOFFICE="sv-magic-backoffice"}(V0||(V0={})),ty(({palette:N,shape:I})=>({outerContainer:{float:"left",width:"100%",height:"48px",position:"relative",userSelect:"none",boxShadow:"0px 6px 15px rgba(65, 60, 54, 0.15)",borderRadius:25*Number(I.borderRadius)},container:{float:"left",width:"100%",height:"100%",background:"#000000",borderRadius:25*Number(I.borderRadius),position:"relative",overflow:"hidden",transition:"background-color 0.2s"},containerUnlocked:{transition:"0.5s",cursor:"default","& $slider":{},"& $sliderArrow":{transition:"0.3s",marginRight:"3px"},"& $sliderCircle":{transition:"0.5s",marginRight:"3px"}},containerUnlockedSuccess:{backgroundColor:N.success.main,"& $slider":{backgroundColor:N.success.main},"& $sliderText":{color:"#000"}},containerUnlockedError:{backgroundColor:N.error.main,"& $slider":{backgroundColor:N.error.main},"& $sliderText":{color:"#FFF"}},slider:{float:"left",width:"100%",position:"absolute",height:"48px",top:0,left:"83px",marginLeft:"-100%",background:"#333",borderRadius:3*Number(I.borderRadius),zIndex:100,cursor:"pointer",transition:"background-color 0.2s"},sliderText:{position:"absolute",top:0,left:0,right:0,lineHeight:"48px",textAlign:"center",letterSpacing:"2px",color:"#333",fontSize:"20px",transition:"color 0.2s"},sliderArrow:{float:"left",position:"absolute",top:"50%",right:"16px",marginTop:"-12px",zIndex:10},sliderCircle:{position:"absolute",right:0,background:"#fff",top:"3px",height:"42px",width:"80px",borderRadius:25*Number(I.borderRadius)},text:{float:"left",position:"absolute",fontSize:"20px",top:0,left:0,right:0,height:"48px",lineHeight:"48px",textAlign:"center",letterSpacing:"2px",color:N.common.white}})),new class extends kP{assignTagToReservation(N,I,f){var L=this;return vo(function*(){const V=yield L.fetchApi(`/api/guest-journey-service/magic/${N.magicId}/assign-tag/${I}`,gt({},f,{method:"POST",headers:{"sk-magic-token":N.magicToken}}));return new Gq(V).value()})()}},function(N){N.ERROR="ERROR",N.SALTO_TAG="SALTO_TAG",N.KEEP_ALIVE="KEEP_ALIVE",N.SUBSCRIPTION="SUBSCRIPTION"}(Af||(Af={})),ty(N=>({cardWrapper:{backgroundColor:N.palette.primary.main,borderRadius:12,minWidth:286,minHeight:160,height:160}})),ty(N=>({keyIcon:{fontSize:150,color:N.palette.secondary.main},cardWrapper:{border:`10px solid ${N.palette.secondary.main}`,borderRadius:20,width:350,minHeight:200},cardDivider:{borderTop:`10px solid ${N.palette.secondary.main}`},fallbackContainer:{height:"100%",marginTop:N.spacing(1)}})),ty(({spacing:N,shape:I})=>({paper:{padding:N(2),borderRadius:2.5*Number(I.borderRadius)}})),ty(({spacing:N,palette:I})=>({actions:{"&> *":{flexGrow:1,flexBasis:0}},title:{padding:N(1,2),marginBottom:N(1),textTransform:"capitalize"},primaryBtn:{},secondaryBtn:{},tertiaryBtn:{},content:{padding:N(2),fontSize:17},closeButton:{position:"absolute",right:N(1),top:N(1),color:I.grey[500]}})),(0,dO.jsx)(dO.Fragment,{});let _k=(()=>{class N{constructor(){this.theme=new gC({})}initTenantTheme(f){const L="mock-theme"===f?"staykooook-theme":f,V=AP(L),z=this.overrideTheme(L,V);this.theme.next(z)}getPrimaryColor(){var f,L,V,z;return null===(z=null===(V=null===(L=null===(f=this.theme)||void 0===f?void 0:f.value)||void 0===L?void 0:L.palette)||void 0===V?void 0:V.primary)||void 0===z?void 0:z.main}getFont(){var f,L,V;return null===(V=null===(L=null===(f=this.theme)||void 0===f?void 0:f.value)||void 0===L?void 0:L.typography)||void 0===V?void 0:V.fontFamily}overrideTheme(f,L){var V,z,Y,X,Q,J,te,re,oe,ae,le,ue,ve,ye,pe,Ie,Re,ft,et,$t,qt,Jn,ur,Cn,er,yn,de,xt,Ne,ot,st,Ht,Rn,oi,me,Me,Be,ct,We,ht,tt,lt,It,Lt,En,dr,ma,us,Lo,Sc,wk,Ck,Ek,Dk,kk,Sk,xk,Mk,Ak,Tk,Fk,Ik,Rk,Ok,Pk,Nk,Lk,Vk,Bk,Hk,jk,zk,Uk,$k,Wk,Gk,Yk,Kk,qk,Xk,Qk,Zk,Jk,e1,t1,n1,r1,o1,a1;switch(f){case"flemlodge-theme":(null===(V=null==L?void 0:L.typography)||void 0===V?void 0:V.fontFamily)&&(L.typography.fontFamily="qanelas-medium");break;case"guesthouse-zurzach-theme":(null===(z=null==L?void 0:L.typography)||void 0===z?void 0:z.fontFamily)&&(L.typography.fontFamily="OpenSans-Regular");break;case"leoneck-theme":(null===(Y=null==L?void 0:L.typography)||void 0===Y?void 0:Y.fontFamily)&&(L.typography.fontFamily="Maison Neue Book");break;case"walhalla-theme":(null===(X=null==L?void 0:L.typography)||void 0===X?void 0:X.fontFamily)&&(L.typography.fontFamily="Maison Neue Book");break;case"anstatt-theme":(null===(Q=null==L?void 0:L.typography)||void 0===Q?void 0:Q.fontFamily)&&(L.typography.fontFamily="Lato-Regular");break;case"mmnt-theme":(null===(J=null==L?void 0:L.typography)||void 0===J?void 0:J.fontFamily)&&(L.typography.fontFamily="MMNT");break;case"conti-theme":(null===(te=null==L?void 0:L.typography)||void 0===te?void 0:te.fontFamily)&&(L.typography.fontFamily="PP-Hatton");break;case"smarthotel-theme":(null===(re=null==L?void 0:L.typography)||void 0===re?void 0:re.fontFamily)&&(L.typography.fontFamily="Rotis-Semi-Serif-Std");break;case"staybright-theme":(null===(oe=null==L?void 0:L.typography)||void 0===oe?void 0:oe.fontFamily)&&(L.typography.fontFamily="Karla, sans-serif");break;case"welcome-homes-theme":(null===(ae=null==L?void 0:L.typography)||void 0===ae?void 0:ae.fontFamily)&&(L.typography.fontFamily="Century-Gothic");break;case"fredhotels-theme":(null===(le=null==L?void 0:L.typography)||void 0===le?void 0:le.fontFamily)&&(L.typography.fontFamily="Maison Neue Book");break;case"schani-bio-theme":case"schani-general-theme":case"schani-salon-theme":case"schani-uno-theme":(null===(ue=null==L?void 0:L.typography)||void 0===ue?void 0:ue.fontFamily)&&(L.typography.fontFamily="OpenSans-Regular");break;case"princess-theme":(null===(ve=null==L?void 0:L.typography)||void 0===ve?void 0:ve.fontFamily)&&(L.typography.fontFamily="Bebas Neue");break;case"riva-theme":(null===(ye=null==L?void 0:L.typography)||void 0===ye?void 0:ye.fontFamily)&&(L.typography.fontFamily="Jost");break;case"pensionarosa-theme":(null===(pe=null==L?void 0:L.typography)||void 0===pe?void 0:pe.fontFamily)&&(L.typography.fontFamily="JostLight");break;case"zipper-theme":(null===(Ie=null==L?void 0:L.typography)||void 0===Ie?void 0:Ie.fontFamily)&&(L.typography.fontFamily="Custom");break;case"gghotel-theme":(null===(Re=null==L?void 0:L.typography)||void 0===Re?void 0:Re.fontFamily)&&(L.typography.fontFamily="Raleway-ExtraLight");break;case"zzzpace-theme":(null===(ft=null==L?void 0:L.typography)||void 0===ft?void 0:ft.fontFamily)&&(L.typography.fontFamily="Avenir-Next-LT-Pro");break;case"nshotel-theme":(null===(et=null==L?void 0:L.typography)||void 0===et?void 0:et.fontFamily)&&(L.typography.fontFamily="Gotham-Bold");break;case"flatlight-theme":(null===($t=null==L?void 0:L.typography)||void 0===$t?void 0:$t.fontFamily)&&(L.typography.fontFamily="Rubik");break;case"tfe-poc-theme":(null===(qt=null==L?void 0:L.typography)||void 0===qt?void 0:qt.fontFamily)&&(L.typography.fontFamily="Rubik");break;case"achesahomes-theme":(null===(Jn=null==L?void 0:L.typography)||void 0===Jn?void 0:Jn.fontFamily)&&(L.typography.fontFamily="Century-Gothic");break;case"ibis-styles-theme":(null===(ur=null==L?void 0:L.typography)||void 0===ur?void 0:ur.fontFamily)&&(L.typography.fontFamily="Rubik");break;case"mcdreams-theme":(null===(Cn=null==L?void 0:L.typography)||void 0===Cn?void 0:Cn.fontFamily)&&(L.typography.fontFamily="Rubik");break;case"yarn-theme":(null===(er=null==L?void 0:L.typography)||void 0===er?void 0:er.fontFamily)&&(L.typography.fontFamily="Rubik");break;case"dreamcation-theme":(null===(yn=null==L?void 0:L.typography)||void 0===yn?void 0:yn.fontFamily)&&(L.typography.fontFamily="Rubik");break;case"regiohotel-theme":(null===(de=null==L?void 0:L.typography)||void 0===de?void 0:de.fontFamily)&&(L.typography.fontFamily="Poppins, san-serif");break;case"hotelswissstar-theme":(null===(xt=null==L?void 0:L.typography)||void 0===xt?void 0:xt.fontFamily)&&(L.typography.fontFamily="Open Sans");break;case"lifehome-theme":(null===(Ne=null==L?void 0:L.typography)||void 0===Ne?void 0:Ne.fontFamily)&&(L.typography.fontFamily="Montserrat");break;case"hopfenhotel-theme":(null===(ot=null==L?void 0:L.typography)||void 0===ot?void 0:ot.fontFamily)&&(L.typography.fontFamily="Montserrat");break;case"urbanisland-theme":(null===(st=null==L?void 0:L.typography)||void 0===st?void 0:st.fontFamily)&&(L.typography.fontFamily="WorkSans");break;case"suite4me-theme":(null===(Ht=null==L?void 0:L.typography)||void 0===Ht?void 0:Ht.fontFamily)&&(L.typography.fontFamily="Open Sans");break;case"staey-theme":(null===(Rn=null==L?void 0:L.typography)||void 0===Rn?void 0:Rn.fontFamily)&&(L.typography.fontFamily="Alata");break;case"hotelamkreisel-theme":(null===(oi=null==L?void 0:L.typography)||void 0===oi?void 0:oi.fontFamily)&&(L.typography.fontFamily="Roboto");break;case"hotelvienna-theme":(null===(me=null==L?void 0:L.typography)||void 0===me?void 0:me.fontFamily)&&(L.typography.fontFamily="Encode Sans");break;case"lofthotel-theme":(null===(Me=null==L?void 0:L.typography)||void 0===Me?void 0:Me.fontFamily)&&(L.typography.fontFamily="Founders_Grotesk");break;case"phagenbeck-theme":(null===(Be=null==L?void 0:L.typography)||void 0===Be?void 0:Be.fontFamily)&&(L.typography.fontFamily="Hagenbeck Neue");break;case"stayawesome-theme":(null===(ct=null==L?void 0:L.typography)||void 0===ct?void 0:ct.fontFamily)&&(L.typography.fontFamily="Work Sans");break;case"aparthoteladelboden-theme":(null===(We=null==L?void 0:L.typography)||void 0===We?void 0:We.fontFamily)&&(L.typography.fontFamily="Helvetica Neue Light");break;case"ilmomento-theme":(null===(ht=null==L?void 0:L.typography)||void 0===ht?void 0:ht.fontFamily)&&(L.typography.fontFamily="Poppins");break;case"peakstay-theme":(null===(tt=null==L?void 0:L.typography)||void 0===tt?void 0:tt.fontFamily)&&(L.typography.fontFamily="Roxborough");break;case"b-smarts-theme":(null===(lt=null==L?void 0:L.typography)||void 0===lt?void 0:lt.fontFamily)&&(L.typography.fontFamily="Questrial");break;case"bohn-theme":(null===(It=null==L?void 0:L.typography)||void 0===It?void 0:It.fontFamily)&&(L.typography.fontFamily="ArchitypeRenner-Regular");break;case"bergidyll-theme":(null===(Lt=null==L?void 0:L.typography)||void 0===Lt?void 0:Lt.fontFamily)&&(L.typography.fontFamily="Bergidyll");break;case"pure-theme":(null===(En=null==L?void 0:L.typography)||void 0===En?void 0:En.fontFamily)&&(L.typography.fontFamily="OpenSans");break;case"linzerhaus-theme":(null===(dr=null==L?void 0:L.typography)||void 0===dr?void 0:dr.fontFamily)&&(L.typography.fontFamily="FiraSans");break;case"dmka-theme":(null===(ma=null==L?void 0:L.typography)||void 0===ma?void 0:ma.fontFamily)&&(L.typography.fontFamily="Inter");break;case"mooi-theme":(null===(us=null==L?void 0:L.typography)||void 0===us?void 0:us.fontFamily)&&(L.typography.fontFamily="SourceSans3");break;case"laudinella-theme":(null===(Lo=null==L?void 0:L.typography)||void 0===Lo?void 0:Lo.fontFamily)&&(L.typography.fontFamily="Avenir-Next-LT-Pro");break;case"airmont-theme":(null===(Sc=null==L?void 0:L.typography)||void 0===Sc?void 0:Sc.fontFamily)&&(L.typography.fontFamily="Open Sans");break;case"apart4you-theme":(null===(wk=null==L?void 0:L.typography)||void 0===wk?void 0:wk.fontFamily)&&(L.typography.fontFamily="Fenotype-Lagom-Semilight");break;case"harrys-home-theme":(null===(Ck=null==L?void 0:L.typography)||void 0===Ck?void 0:Ck.fontFamily)&&(L.typography.fontFamily="Sero OT");break;case"coucou-theme":(null===(Ek=null==L?void 0:L.typography)||void 0===Ek?void 0:Ek.fontFamily)&&(L.typography.fontFamily="Nunito");break;case"glandon-theme":(null===(Dk=null==L?void 0:L.typography)||void 0===Dk?void 0:Dk.fontFamily)&&(L.typography.fontFamily="Neutraface");break;case"homaris-theme":(null===(kk=null==L?void 0:L.typography)||void 0===kk?void 0:kk.fontFamily)&&(L.typography.fontFamily="DINPro");break;case"revier-theme":(null===(Sk=null==L?void 0:L.typography)||void 0===Sk?void 0:Sk.fontFamily)&&(L.typography.fontFamily="My Creative Land");break;case"staycooper-theme":(null===(xk=null==L?void 0:L.typography)||void 0===xk?void 0:xk.fontFamily)&&(L.typography.fontFamily="TypeTrust");break;case"ospelt-theme":(null===(Mk=null==L?void 0:L.typography)||void 0===Mk?void 0:Mk.fontFamily)&&(L.typography.fontFamily="GT Planar Thin");break;case"hopapartments-theme":(null===(Ak=null==L?void 0:L.typography)||void 0===Ak?void 0:Ak.fontFamily)&&(L.typography.fontFamily="Gotham-Bold");break;case"apartnaest-theme":(null===(Tk=null==L?void 0:L.typography)||void 0===Tk?void 0:Tk.fontFamily)&&(L.typography.fontFamily="TheHandBold");break;case"idee-living-theme":(null===(Fk=null==L?void 0:L.typography)||void 0===Fk?void 0:Fk.fontFamily)&&(L.typography.fontFamily="Lato-Regular");break;case"edler-theme":(null===(Ik=null==L?void 0:L.typography)||void 0===Ik?void 0:Ik.fontFamily)&&(L.typography.fontFamily="Inter");break;case"apartimo-theme":(null===(Rk=null==L?void 0:L.typography)||void 0===Rk?void 0:Rk.fontFamily)&&(L.typography.fontFamily="Lato");break;case"arbed-living-theme":(null===(Ok=null==L?void 0:L.typography)||void 0===Ok?void 0:Ok.fontFamily)&&(L.typography.fontFamily="Montserrat");break;case"mooons-theme":(null===(Pk=null==L?void 0:L.typography)||void 0===Pk?void 0:Pk.fontFamily)&&(L.typography.fontFamily="Lato-Regular");break;case"weitzer-theme":(null===(Nk=null==L?void 0:L.typography)||void 0===Nk?void 0:Nk.fontFamily)&&(L.typography.fontFamily="PT Sans Narrow");break;case"apartyou-theme":(null===(Lk=null==L?void 0:L.typography)||void 0===Lk?void 0:Lk.fontFamily)&&(L.typography.fontFamily="Myriad");break;case"sandkorn-theme":(null===(Vk=null==L?void 0:L.typography)||void 0===Vk?void 0:Vk.fontFamily)&&(L.typography.fontFamily="GeosansLight");break;case"ko-living-theme":(null===(Bk=null==L?void 0:L.typography)||void 0===Bk?void 0:Bk.fontFamily)&&(L.typography.fontFamily="Merriweather Sans");break;case"waldhuus-bellary-theme":(null===(Hk=null==L?void 0:L.typography)||void 0===Hk?void 0:Hk.fontFamily)&&(L.typography.fontFamily="Arial");break;case"gutkletkamp-theme":(null===(jk=null==L?void 0:L.typography)||void 0===jk?void 0:jk.fontFamily)&&(L.typography.fontFamily="Montserrat");break;case"grossauer-homes-theme":(null===(zk=null==L?void 0:L.typography)||void 0===zk?void 0:zk.fontFamily)&&(L.typography.fontFamily="Codec Pro Regular");break;case"staysunday-theme":(null===(Uk=null==L?void 0:L.typography)||void 0===Uk?void 0:Uk.fontFamily)&&(L.typography.fontFamily="Arial");break;case"hotel-schlicker-theme":(null===($k=null==L?void 0:L.typography)||void 0===$k?void 0:$k.fontFamily)&&(L.typography.fontFamily="Arial");break;case"twnhs-theme":(null===(Wk=null==L?void 0:L.typography)||void 0===Wk?void 0:Wk.fontFamily)&&(L.typography.fontFamily="Inter-VariableFont");break;case"conlon-house-theme":(null===(Gk=null==L?void 0:L.typography)||void 0===Gk?void 0:Gk.fontFamily)&&(L.typography.fontFamily="Figtree");break;case"beachside-groemitz-theme":(null===(Yk=null==L?void 0:L.typography)||void 0===Yk?void 0:Yk.fontFamily)&&(L.typography.fontFamily="Lato");break;case"karl-konstanz-theme":(null===(Kk=null==L?void 0:L.typography)||void 0===Kk?void 0:Kk.fontFamily)&&(L.typography.fontFamily="Arial");break;case"carls-hotel-theme":(null===(qk=null==L?void 0:L.typography)||void 0===qk?void 0:qk.fontFamily)&&(L.typography.fontFamily="Roboto");break;case"svyvo-theme":(null===(Xk=null==L?void 0:L.typography)||void 0===Xk?void 0:Xk.fontFamily)&&(L.typography.fontFamily="Roboto");break;case"home2share-theme":(null===(Qk=null==L?void 0:L.typography)||void 0===Qk?void 0:Qk.fontFamily)&&(L.typography.fontFamily="Syne");break;case"b20-theme":(null===(Zk=null==L?void 0:L.typography)||void 0===Zk?void 0:Zk.fontFamily)&&(L.typography.fontFamily="SuisseWorksRegularItalic");break;case"blacksummit-theme":(null===(Jk=null==L?void 0:L.typography)||void 0===Jk?void 0:Jk.fontFamily)&&(L.typography.fontFamily="CanelaLight");break;case"kitzski-living-theme":(null===(e1=null==L?void 0:L.typography)||void 0===e1?void 0:e1.fontFamily)&&(L.typography.fontFamily="Roboto");break;case"shoreline-theme":(null===(t1=null==L?void 0:L.typography)||void 0===t1?void 0:t1.fontFamily)&&(L.typography.fontFamily="Roboto");break;case"lindgold-theme":(null===(n1=null==L?void 0:L.typography)||void 0===n1?void 0:n1.fontFamily)&&(L.typography.fontFamily="Roboto");break;case"gut-huegle-theme":(null===(r1=null==L?void 0:L.typography)||void 0===r1?void 0:r1.fontFamily)&&(L.typography.fontFamily="Roboto");break;case"tz-immobilien-theme":(null===(o1=null==L?void 0:L.typography)||void 0===o1?void 0:o1.fontFamily)&&(L.typography.fontFamily="LaObrige");break;default:(null===(a1=null==L?void 0:L.typography)||void 0===a1?void 0:a1.fontFamily)&&(L.typography.fontFamily="sans-serif")}return L}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275prov=pt({token:N,factory:N.\u0275fac,providedIn:"root"}),N})();const rQ=["*"];let iQ=(()=>{class N{constructor(f,L){this.theme=f,this.sanitizer=L}ngOnInit(){const f=this.theme.getPrimaryColor();this.css=this.sanitizer.bypassSecurityTrustHtml(`\n      <style>\n        .mat-raised-button {\n          background-color: black;\n          color: white;\n          border-radius: 12px;\n        }\n        .mat-form-field-appearance-fill .mat-form-field-flex {\n          padding-top: 5px;\n          padding-left: 10px;\n        }\n        .mat-calendar-body-selected {\n          background-color: ${f};\n          color: white;\n        }\n        .mat-primary .mat-option.mat-selected:not(.mat-option-disabled),\n         .mat-form-field.mat-focused .mat-form-field-label,\n         .mat-datepicker-toggle-active{\n          color: ${f};\n        }\n        .mat-form-field.mat-focused .mat-form-field-ripple,\n         .mat-slider.mat-accent .mat-slider-track-fill,\n         .mat-slider.mat-accent .mat-slider-thumb{\n          background-color: ${f};\n        }\n        \n        .mat-dialog-container {\n          border-radius: 20px;\n        }\n        \n        .mat-option, .mat-form-field-label, .mat-button, .mat-calendar, .mat-input-element, .mat-form-field, .mat-raised-button, .mat-icon-button, .mat-stroked-button, .mat-flat-button, .mat-fab, .mat-mini-fab, .mat-dialog-title, .mat-dialog-container {\n          font-family: ${this.theme.getFont()} !important;\n        }\n\n               \n        .mat-date-range-input-container {\n            align-items: initial;\n        }\n      </style>\n    `)}}return N.\u0275fac=function(f){return new(f||N)(he(_k),he(iv))},N.\u0275cmp=Rr({type:N,selectors:[["app-style-provider"]],ngContentSelectors:rQ,decls:2,vars:1,consts:[[3,"innerHTML"]],template:function(f,L){1&f&&(uc(),Nr(0,"div",0),no(1)),2&f&&kt("innerHTML",L.css,kh)},styles:[""]}),N})();var B0,oQ=new Uint8Array(16);function aQ(){if(!B0&&!(B0="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return B0(oQ)}const sQ=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,cQ=function lQ(N){return"string"==typeof N&&sQ.test(N)};for(var bo=[],vk=0;vk<256;++vk)bo.push((vk+256).toString(16).substr(1));const bk=function fQ(N,I,f){var L=(N=N||{}).random||(N.rng||aQ)();if(L[6]=15&L[6]|64,L[8]=63&L[8]|128,I){f=f||0;for(var V=0;V<16;++V)I[f+V]=L[V];return I}return function uQ(N){var I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,f=(bo[N[I+0]]+bo[N[I+1]]+bo[N[I+2]]+bo[N[I+3]]+"-"+bo[N[I+4]]+bo[N[I+5]]+"-"+bo[N[I+6]]+bo[N[I+7]]+"-"+bo[N[I+8]]+bo[N[I+9]]+"-"+bo[N[I+10]]+bo[N[I+11]]+bo[N[I+12]]+bo[N[I+13]]+bo[N[I+14]]+bo[N[I+15]]).toLowerCase();if(!cQ(f))throw TypeError("Stringified UUID is invalid");return f}(L)};let hQ=(()=>{class N{constructor(){this.strokeColor="black"}ngOnInit(){}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275cmp=Rr({type:N,selectors:[["circle-minus"]],inputs:{strokeColor:"strokeColor"},decls:3,vars:2,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.5 12H16.5","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M12 23.25C18.2132 23.25 23.25 18.2132 23.25 12C23.25 5.7868 18.2132 0.75 12 0.75C5.7868 0.75 0.75 5.7868 0.75 12C0.75 18.2132 5.7868 23.25 12 23.25Z","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"]],template:function(f,L){1&f&&(Ql(),mt(0,"svg",0),Nr(1,"path",1)(2,"path",2),vt()),2&f&&(it(1),Kn("stroke",L.strokeColor),it(1),Kn("stroke",L.strokeColor))},styles:[""]}),N})(),pQ=(()=>{class N{constructor(){}ngOnInit(){}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275cmp=Rr({type:N,selectors:[["circle-plus"]],decls:4,vars:0,consts:[["width","24","height","24","viewBox","0 0 24 24","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12 7.5V16.5","stroke","black","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M7.5 12H16.5","stroke","black","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],["d","M12 23.25C18.2132 23.25 23.25 18.2132 23.25 12C23.25 5.7868 18.2132 0.75 12 0.75C5.7868 0.75 0.75 5.7868 0.75 12C0.75 18.2132 5.7868 23.25 12 23.25Z","stroke","black","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"]],template:function(f,L){1&f&&(Ql(),mt(0,"svg",0),Nr(1,"path",1)(2,"path",2)(3,"path",3),vt())},styles:[""]}),N})(),mQ=(()=>{class N{constructor(){this.value=0,this.minValue=0,this.valueChanged=new Ut}ngOnInit(){}increase(){this.value++,this.valueChanged.emit(this.value)}decrease(){this.value-1>=this.minValue&&(this.value--,this.valueChanged.emit(this.value))}}return N.\u0275fac=function(f){return new(f||N)},N.\u0275cmp=Rr({type:N,selectors:[["counter"]],inputs:{value:"value",minValue:"minValue"},outputs:{valueChanged:"valueChanged"},decls:5,vars:2,consts:[["id","counter-container"],[1,"counter-icon",3,"strokeColor","click"],[1,"counter-value"],["src","../../icons/circle-plus/circle-plus.svg","alt","plus-icon",1,"counter-icon",3,"click"]],template:function(f,L){1&f&&(mt(0,"div",0)(1,"circle-minus",1),hn("click",function(){return L.decrease()}),vt(),mt(2,"span",2),br(3),vt(),mt(4,"circle-plus",3),hn("click",function(){return L.increase()}),vt()()),2&f&&(it(1),kt("strokeColor",L.value===L.minValue?"lightgrey":"black"),it(2),$r(L.value))},directives:[hQ,pQ],styles:["#counter-container[_ngcontent-%COMP%]{display:flex;align-items:center}#counter-container[_ngcontent-%COMP%]   .counter-icon[_ngcontent-%COMP%]{fill:#000;cursor:pointer}#counter-container[_ngcontent-%COMP%]   .disabled-counter-icon[_ngcontent-%COMP%]{fill:#d3d3d3}#counter-container[_ngcontent-%COMP%]   .counter-value[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}"]}),N})();function gQ(N,I){if(1&N){const f=cc();mt(0,"div",8)(1,"mat-slider",9),hn("change",function(V){const Y=si(f).index;return Bn(2).changeSlider(V,Y)}),vt(),mt(2,"div"),br(3),vt()()}if(2&N){const f=I.index,L=Bn(2);it(1),kt("value",L.childrenAges[f].value),it(2),$r(L.childrenAges[f].value)}}function yQ(N,I){if(1&N&&(mt(0,"div")(1,"b"),br(2),Ko(3,"translate"),vt(),lr(4,gQ,4,2,"div",7),vt()),2&N){const f=Bn();it(2),$r(qo(3,3,"adds_children_age")),it(2),kt("ngForOf",f.childrenAges)("ngForTrackBy",f.trackByUuid)}}let _Q=(()=>{class N{constructor(f,L,V){this.dialogRef=f,this.searchService=L,this.theme=V,this.adults=1,this.childrenAges=[],L.getSearchModel().subscribe(z=>{var Y;this.adults=z.adults||1,this.childrenAges=(null===(Y=z.children)||void 0===Y?void 0:Y.map(X=>({id:bk(),value:X})))||[]})}ngOnInit(){}updateChildren(f){f>this.childrenAges.length?this.childrenAges.push({id:bk(),value:0}):this.childrenAges.pop()}changeSlider(f,L){this.childrenAges[L]={id:bk(),value:f.value}}updateAdults(f){this.adults=f}confirmData(){this.searchService.updateValues(this.adults,this.childrenAges.map(f=>f.value)),this.dialogRef.close()}trackByUuid(f,L){return L?L.id:void 0}}return N.\u0275fac=function(f){return new(f||N)(he(jE),he(fD),he(_k))},N.\u0275cmp=Rr({type:N,selectors:[["people-picker-dialog"]],decls:29,vars:22,consts:[["mat-dialog-title",""],[1,"row"],[1,"labels"],[3,"minValue","value","valueChanged"],[3,"value","valueChanged"],[4,"ngIf"],["mat-raised-button","",1,"confirm",3,"click"],["class","slider",4,"ngFor","ngForOf","ngForTrackBy"],[1,"slider"],["min","1","max","12","step","1",3,"value","change"]],template:function(f,L){1&f&&(mt(0,"h2",0),br(1),Ko(2,"translate"),vt(),mt(3,"mat-dialog-content")(4,"div",1)(5,"div",2)(6,"span")(7,"b"),br(8),Ko(9,"translate"),vt()(),mt(10,"span"),br(11),Ko(12,"translate"),vt()(),mt(13,"counter",3),hn("valueChanged",function(z){return L.updateAdults(z)}),vt()(),mt(14,"div",1)(15,"div",2)(16,"span")(17,"b"),br(18),Ko(19,"translate"),vt()(),mt(20,"span"),br(21),Ko(22,"translate"),vt()(),mt(23,"counter",4),hn("valueChanged",function(z){return L.updateChildren(z)}),vt()(),lr(24,yQ,5,5,"div",5),vt(),mt(25,"mat-dialog-actions")(26,"button",6),hn("click",function(){return L.confirmData()}),br(27),Ko(28,"translate"),vt()()),2&f&&(it(1),$r(qo(2,10,"people_label")),it(7),$r(qo(9,12,"adults_pl")),it(3),$r(qo(12,14,"age_adults")),it(2),kt("minValue",1)("value",L.adults),it(5),$r(qo(19,16,"kids_pl")),it(3),$r(qo(22,18,"age_children")),it(2),kt("value",L.childrenAges.length),it(1),kt("ngIf",L.childrenAges.length),it(3),$r(qo(28,20,"search")))},directives:[e$,t$,mQ,lp,og,FR,n$,Cg],pipes:[iD],styles:[".row[_ngcontent-%COMP%]{display:flex;width:100%;flex-direction:row;justify-content:space-between;align-items:center;padding:24px 16px 24px 0;border-top:.4px #9e9e9e solid;margin-bottom:8px}.row[_ngcontent-%COMP%]   .labels[_ngcontent-%COMP%]{display:flex;flex-direction:column}.slider[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap}.slider[_ngcontent-%COMP%]   mat-slider[_ngcontent-%COMP%]{width:100%}.confirm[_ngcontent-%COMP%]{width:100%;margin-bottom:12px}"]}),N})(),vQ=(()=>{class N{constructor(f,L,V){this.dialog=f,this.searchService=L,this.translate=V,this.tenant="staykooook",this.adults=1,this.children=0,this.inputValue=""}ngOnInit(){this.searchService.getSearchModel().subscribe(f=>{var L,V;this.adults=f.adults,this.children=(null===(L=f.children)||void 0===L?void 0:L.length)||0,this.inputValue=`${f.adults||1} ${this.translate.instant("adults_pl")}, ${(null===(V=f.children)||void 0===V?void 0:V.length)||0} ${this.translate.instant("kids_pl")}`})}openPeoplePickerDialog(){this.dialog.open(_Q,{width:"350px",minHeight:"200px",height:"auto"})}}return N.\u0275fac=function(f){return new(f||N)(he(zE),he(fD),he(Ng))},N.\u0275cmp=Rr({type:N,selectors:[["people-picker"]],inputs:{tenant:"tenant"},decls:6,vars:5,consts:[[1,"example-form"],["appearance","fill",1,"example-full-width"],["matInput","","readonly","",3,"placeholder","value","click"]],template:function(f,L){1&f&&(mt(0,"form",0)(1,"mat-form-field",1)(2,"mat-label"),br(3),Ko(4,"translate"),vt(),mt(5,"input",2),hn("click",function(){return L.openPeoplePickerDialog()}),vt()()()),2&f&&(it(3),$r(qo(4,3,"staybright"===L.tenant?"people_label_apartment":"people_label")),it(2),kt("placeholder",L.inputValue)("value",L.inputValue))},directives:[yI,fE,bc,HI,Zv,$I],pipes:[iD],styles:["@media (max-width: 600px){.mat-form-field[_ngcontent-%COMP%]{width:100%}}"]}),N})();function bQ(N,I){if(1&N&&(mt(0,"mat-option",12),br(1),vt()),2&N){const f=I.$implicit;rf("font-weight",f.isCity?"bold":"normal"),kt("value",f.key),it(1),dc(" ",f.label," ")}}const UP="yyyy-MM-dd",$P="+IS_CITY",wQ=N=>N.map(I=>I.propertyId).join(encodeURIComponent(","));let CQ=(()=>{class N{constructor(f,L,V,z,Y,X,Q){this.searchService=f,this.fb=L,this.api=V,this.theme=z,this.translateService=Y,this.dateAdapter=X,this.document=Q,this.language="en",this.tenant="staykooook",this.cssurl="",this.isSearchByCity="false",this.isNewTab="false",this.defaultPropertyId="",this.returnUrl="https://my.staykooook-dev.likemagic.tech",this.timezone="Europe/Zurich",this.searchForm=this.fb.group({specialRate:[""],start:["",Bu.required],end:["",Bu.required],propertyId:["",Bu.required]}),this.properties=[],this.adults=1,this.children=[],Y.addLangs(["en","de","fr","it"]),Y.setDefaultLang("en"),Y.setTranslation("en",wW),Y.setTranslation("it",CW),Y.setTranslation("fr",EW),Y.setTranslation("de",bW)}ngOnInit(){var f,L;if(this.searchService.getSearchModel().subscribe(V=>{this.adults=V.adults,this.children=V.children}),this.timezone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.api.getTenant(this.tenant).then(V=>{this.returnUrl=V.urls.guestJourney,this.api.getProperties(V.apiKey,V.tenantId,this.returnUrl).then(z=>{var Y,X,Q;const J=Object.keys(z).reduce((te,re)=>{const oe=z[re];if(te.push({key:wQ(oe).concat($P),label:re,isCity:!0,timeZone:oe[0].timeZone}),"false"===this.isSearchByCity){const ae=oe.map(le=>({key:le.propertyId,label:le.name,isCity:!1,timeZone:le.timeZone}));te.push(...ae)}return te},[]);this.properties=J,null===(Y=this.searchForm.get("start"))||void 0===Y||Y.setValue(Df(new Date,this.timezone)),null===(X=this.searchForm.get("end"))||void 0===X||X.setValue(UR(Df(new Date,this.timezone),{days:1})),1===this.properties.length&&(null===(Q=this.searchForm.get("propertyId"))||void 0===Q||Q.setValue(this.properties[0].key))})}),this.theme.initTenantTheme(`${this.tenant}-theme`),this.translateService.use(this.language),this.dateAdapter.setLocale(this.language),""!==this.cssurl){const V=this.document.getElementsByTagName("booking-likemagic")[0].shadowRoot,z=this.document.getElementById("client-theme");if(z)z.href=this.cssurl;else{const Y=this.document.createElement("link");Y.id="client-theme",Y.rel="stylesheet",Y.href=`${this.cssurl}`,V?V.appendChild(Y):console.warn("Shadow DOM not found")}}this.defaultPropertyId&&(null===(f=this.searchForm.get("propertyId"))||void 0===f||f.setValue(this.defaultPropertyId)),null===(L=this.searchForm.get("propertyId"))||void 0===L||L.valueChanges.subscribe(V=>{this.setTimezone(V)})}setTimezone(f){var L,V;const z=this.properties.find(Y=>Y.key===f);this.timezone=z?z.timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone,null===(L=this.searchForm.get("start"))||void 0===L||L.setValue(Df(new Date,this.timezone)),null===(V=this.searchForm.get("end"))||void 0===V||V.setValue(UR(Df(new Date,this.timezone),{days:1}))}oldDates(f){if(!(null==this?void 0:this.timezone))return!0;const L=function H$(N,I){if(yi(2,arguments),!I||"object"!=typeof I)return new Date(NaN);var f=I.years?Cr(I.years):0,L=I.months?Cr(I.months):0,V=I.weeks?Cr(I.weeks):0,z=I.days?Cr(I.days):0,Y=I.hours?Cr(I.hours):0,X=I.minutes?Cr(I.minutes):0,Q=I.seconds?Cr(I.seconds):0,te=V$(B$(N,L+12*f),z+7*V),ae=1e3*(Q+60*(X+60*Y));return new Date(te.getTime()-ae)}(Df(new Date,this.timezone),{days:1});return function j$(N,I){yi(2,arguments);var f=Qo(N),L=Qo(I);return f.getTime()<L.getTime()}(L,f)}search(){const f=this.adults||1,L=this.children||[],{specialRate:V,start:z,end:Y,propertyId:X}=this.searchForm.value,Q=QR(Df(z,this.timezone),UP),J=QR(Df(Y,this.timezone),UP),te=X.replaceAll($P,""),oe=this.properties.find(ue=>ue.key===te&&!ue.isCity)?"/offers":"/";window.open(`${this.returnUrl}/search${oe}?WIDGET_PROMO_CODE=${V}&ADULTS=${f}&CHILDREN=${L}&ARRIVAL=${Q}&DEPARTURE=${J}${te?`&PROPERTY_IDS=${te}`:""}&lng=${this.language}`,"false"===this.isNewTab?"_self":"_blank")}}return N.\u0275fac=function(f){return new(f||N)(he(fD),he(jz),he(xW),he(_k),he(Ng),he(gi),he(In))},N.\u0275cmp=Rr({type:N,selectors:[["app-booking-likemagic"]],inputs:{language:"language",tenant:"tenant",cssurl:"cssurl",isSearchByCity:"isSearchByCity",isNewTab:"isNewTab",defaultPropertyId:"defaultPropertyId"},decls:29,vars:26,consts:[[1,"booking-search-container",3,"formGroup"],["appearance","fill"],["formControlName","propertyId","panelClass","properties",3,"disabled"],[3,"value","font-weight",4,"ngFor","ngForOf"],[3,"rangePicker","dateFilter","lang"],["matStartDate","","formControlName","start",3,"placeholder"],["matEndDate","","formControlName","end",3,"placeholder"],["matSuffix","",3,"for"],["picker",""],[3,"tenant"],["matInput","","formControlName","specialRate"],["mat-raised-button","",1,"confirm",3,"click"],[3,"value"]],template:function(f,L){if(1&f&&(mt(0,"app-style-provider")(1,"div",0)(2,"mat-form-field",1)(3,"mat-label"),br(4),Ko(5,"translate"),vt(),mt(6,"mat-select",2),lr(7,bQ,2,4,"mat-option",3),vt()(),mt(8,"mat-form-field",1)(9,"mat-label"),br(10),Ko(11,"translate"),vt(),mt(12,"mat-date-range-input",4),Nr(13,"input",5),Ko(14,"translate"),Nr(15,"input",6),Ko(16,"translate"),vt(),Nr(17,"mat-datepicker-toggle",7)(18,"mat-date-range-picker",null,8),vt(),Nr(20,"people-picker",9),mt(21,"mat-form-field",1)(22,"mat-label"),br(23),Ko(24,"translate"),vt(),Nr(25,"input",10),vt(),mt(26,"button",11),hn("click",function(){return L.search()}),br(27),Ko(28,"translate"),vt()()()),2&f){const V=iw(19);it(1),kt("formGroup",L.searchForm),it(3),$r(qo(5,14,"staybright"===L.tenant||"staey"===L.tenant?"select_location":"select_hotel")),it(2),kt("disabled",L.properties.length<2),it(1),kt("ngForOf",L.properties),it(3),$r(qo(11,16,"range_date")),it(2),kt("rangePicker",V)("dateFilter",L.oldDates)("lang",L.language),it(1),kt("placeholder",qo(14,18,"start_date")),it(2),kt("placeholder",qo(16,20,"end_date")),it(2),kt("for",V),it(3),kt("tenant",L.tenant),it(3),$r(qo(24,22,"special_rate")),it(4),dc(" ",qo(28,24,"search")," ")}},directives:[iQ,fE,wc,HI,Zv,S7,eI,ME,og,SF,i7,iR,Hv,oR,n7,cU,o7,vQ,$I,Cg],pipes:[iD],styles:[".mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,Helvetica Neue,sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography .mat-h1,.mat-typography .mat-headline,.mat-typography h1{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography .mat-h2,.mat-typography .mat-title,.mat-typography h2{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography .mat-h3,.mat-typography .mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography .mat-h4,.mat-typography .mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography .mat-h5,.mat-typography h5{font:400 11.62px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-h6,.mat-typography .mat-h6,.mat-typography h6{font:400 9.38px/20px Roboto,Helvetica Neue,sans-serif;margin:0 0 12px}.mat-body-strong,.mat-body-2,.mat-typography .mat-body-strong,.mat-typography .mat-body-2{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body,.mat-body-1,.mat-typography .mat-body,.mat-typography .mat-body-1,.mat-typography{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-body p,.mat-body-1 p,.mat-typography .mat-body p,.mat-typography .mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-small,.mat-caption,.mat-typography .mat-small,.mat-typography .mat-caption{font:400 12px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,Helvetica Neue,sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-button,.mat-raised-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button,.mat-fab,.mat-mini-fab{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,Helvetica Neue,sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-subtitle,.mat-card-content{font-size:14px}.mat-checkbox{font-family:Roboto,Helvetica Neue,sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-trailing-icon.mat-icon,.mat-chip .mat-chip-remove.mat-icon{font-size:18px}.mat-table{font-family:Roboto,Helvetica Neue,sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,Helvetica Neue,sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-expansion-panel-header{font-family:Roboto,Helvetica Neue,sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34375em) scale(.75);width:133.3333333333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.34374em) scale(.75);width:133.3333433333%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.6666666667em;top:calc(100% - 1.7916666667em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);width:133.3333333333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);width:133.3333433333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);width:133.3333533333%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.5416666667em;top:calc(100% - 1.6666666667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-.59374em) scale(.75);width:133.3333433333%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59375em) scale(.75);width:133.3333333333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{transform:translateY(-1.59374em) scale(.75);width:133.3333433333%}.mat-grid-tile-header,.mat-grid-tile-footer{font-size:14px}.mat-grid-tile-header .mat-line,.mat-grid-tile-footer .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-header .mat-line:nth-child(n+2),.mat-grid-tile-footer .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,Helvetica Neue,sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,Helvetica Neue,sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-stepper-vertical,.mat-stepper-horizontal{font-family:Roboto,Helvetica Neue,sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0}.mat-tooltip{font-family:Roboto,Helvetica Neue,sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,Helvetica Neue,sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px;font-weight:500}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,Helvetica Neue,sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,Helvetica Neue,sans-serif;font-size:16px}.mat-optgroup-label{font:500 14px/24px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mat-simple-snackbar{font-family:Roboto,Helvetica Neue,sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-tree{font-family:Roboto,Helvetica Neue,sans-serif}.mat-tree-node,.mat-nested-tree-node{font-weight:400;font-size:14px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale(0)}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator,.mat-mdc-focus-indicator{position:relative}.mat-ripple-element{background-color:#0000001a}.mat-option{color:#000000de}.mat-option:hover:not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.mat-option.mat-option-disabled{color:#00000061}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#3f51b5}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ff4081}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.mat-optgroup-label{color:#0000008a}.mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.mat-pseudo-checkbox{color:#0000008a}.mat-pseudo-checkbox:after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#3f51b5}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#ff4081}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:#000000de}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-badge-content{color:#fff;background:#3f51b5}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#ff4081;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#fff;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#3f51b5}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#ff4081}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#f44336}.mat-button.mat-primary.mat-button-disabled,.mat-button.mat-accent.mat-button-disabled,.mat-button.mat-warn.mat-button-disabled,.mat-button.mat-button-disabled.mat-button-disabled,.mat-icon-button.mat-primary.mat-button-disabled,.mat-icon-button.mat-accent.mat-button-disabled,.mat-icon-button.mat-warn.mat-button-disabled,.mat-icon-button.mat-button-disabled.mat-button-disabled,.mat-stroked-button.mat-primary.mat-button-disabled,.mat-stroked-button.mat-accent.mat-button-disabled,.mat-stroked-button.mat-warn.mat-button-disabled,.mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#3f51b5}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ff4081}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.mat-button.mat-button-disabled .mat-button-focus-overlay,.mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.mat-flat-button,.mat-raised-button,.mat-fab,.mat-mini-fab{color:#000000de;background-color:#fff}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary,.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent,.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{color:#fff}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.mat-flat-button.mat-primary,.mat-raised-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background-color:#3f51b5}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#ff4081}.mat-flat-button.mat-warn,.mat-raised-button.mat-warn,.mat-fab.mat-warn,.mat-mini-fab.mat-warn{background-color:#f44336}.mat-flat-button.mat-primary.mat-button-disabled,.mat-flat-button.mat-accent.mat-button-disabled,.mat-flat-button.mat-warn.mat-button-disabled,.mat-flat-button.mat-button-disabled.mat-button-disabled,.mat-raised-button.mat-primary.mat-button-disabled,.mat-raised-button.mat-accent.mat-button-disabled,.mat-raised-button.mat-warn.mat-button-disabled,.mat-raised-button.mat-button-disabled.mat-button-disabled,.mat-fab.mat-primary.mat-button-disabled,.mat-fab.mat-accent.mat-button-disabled,.mat-fab.mat-warn.mat-button-disabled,.mat-fab.mat-button-disabled.mat-button-disabled,.mat-mini-fab.mat-primary.mat-button-disabled,.mat-mini-fab.mat-accent.mat-button-disabled,.mat-mini-fab.mat-warn.mat-button-disabled,.mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.mat-flat-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-raised-button:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.mat-mini-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.mat-button-toggle{color:#00000061}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.mat-button-toggle-appearance-standard{color:#000000de;background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:solid 1px #e0e0e0}.mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#fff;color:#000000de}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-card-subtitle{color:#0000008a}.mat-checkbox-frame{border-color:#0000008a}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#3f51b5}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ff4081}.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#3f51b5}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ff4081}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip:after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#3f51b5;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ff4081;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.mat-table{background:#fff}.mat-table thead,.mat-table tbody,.mat-table tfoot,mat-header-row,mat-row,mat-footer-row,[mat-header-row],[mat-row],[mat-footer-row],.mat-table-sticky{background:inherit}mat-row,mat-header-row,mat-footer-row,th.mat-header-cell,td.mat-cell,td.mat-footer-cell{border-bottom-color:#0000001f}.mat-header-cell{color:#0000008a}.mat-cell,.mat-footer-cell{color:#000000de}.mat-calendar-arrow{fill:#0000008a}.mat-datepicker-toggle,.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.mat-calendar-table-header,.mat-calendar-body-label{color:#0000008a}.mat-calendar-body-cell-content,.mat-date-range-input-separator{color:#000000de;border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.mat-calendar-body-in-preview{color:#0000003d}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.mat-calendar-body-in-range:before{background:rgba(63,81,181,.2)}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-calendar-body-comparison-bridge-start:before,[dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-comparison-bridge-end:before,[dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(63,81,181,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-calendar-body-selected{background-color:#3f51b5;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#3f51b566}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}@media (hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#3f51b54d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,64,129,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,64,129,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ff4081;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ff408166}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-accent .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-accent .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}@media (hover: hover){.mat-datepicker-content.mat-accent .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#ff40814d}}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(244,67,54,.2) 50%,rgba(249,171,0,.2) 50%)}.mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.mat-datepicker-content.mat-warn .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}@media (hover: hover){.mat-datepicker-content.mat-warn .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:#f443364d}}.mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-datepicker-toggle-active{color:#3f51b5}.mat-datepicker-toggle-active.mat-accent{color:#ff4081}.mat-datepicker-toggle-active.mat-warn{color:#f44336}.mat-date-range-input-inner[disabled]{color:#00000061}.mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#fff;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:#fff;color:#000000de}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-action-row{border-top-color:#0000001f}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:#000000de}.mat-expansion-panel-header-description,.mat-expansion-indicator:after{color:#0000008a}.mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header{height:48px}.mat-expansion-panel-header.mat-expanded{height:64px}.mat-form-field-label,.mat-hint{color:#0009}.mat-form-field.mat-focused .mat-form-field-label{color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ff4081}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#ff4081}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#3f51b5}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ff4081}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#3f51b5}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ff4081}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.mat-error{color:#f44336}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(0,0,0,.42) 0%,rgba(0,0,0,.42) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#3f51b5}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ff4081}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.mat-icon.mat-primary{color:#3f51b5}.mat-icon.mat-accent{color:#ff4081}.mat-icon.mat-warn{color:#f44336}.mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.mat-input-element:disabled,.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.mat-input-element{caret-color:#3f51b5}.mat-input-element::placeholder{color:#0000006b}.mat-input-element::-moz-placeholder{color:#0000006b}.mat-input-element::-webkit-input-placeholder{color:#0000006b}.mat-input-element:-ms-input-placeholder{color:#0000006b}.mat-form-field.mat-accent .mat-input-element{caret-color:#ff4081}.mat-form-field.mat-warn .mat-input-element,.mat-form-field-invalid .mat-input-element{caret-color:#f44336}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:#000000de}.mat-list-base .mat-subheader{color:#0000008a}.mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.mat-list-option:hover,.mat-list-option:focus,.mat-nav-list .mat-list-item:hover,.mat-nav-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.mat-list-single-selected-option,.mat-list-single-selected-option:hover,.mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-menu-item{background:transparent;color:#000000de}.mat-menu-item[disabled],.mat-menu-item[disabled] .mat-menu-submenu-icon,.mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.mat-menu-item .mat-icon-no-color,.mat-menu-submenu-icon{color:#0000008a}.mat-menu-item:hover:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:#0000008a}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.mat-paginator-container{min-height:56px}.mat-progress-bar-background{fill:#cbd0e9}.mat-progress-bar-buffer{background-color:#cbd0e9}.mat-progress-bar-fill:after{background-color:#3f51b5}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#fbccdc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ff4081}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#3f51b5}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#ff4081}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#f44336}.mat-radio-outer-circle{border-color:#0000008a}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#3f51b5}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#3f51b5}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ff4081}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ff4081}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:#000000de}.mat-select-placeholder{color:#0000006b}.mat-select-disabled .mat-select-value{color:#00000061}.mat-select-arrow{color:#0000008a}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#3f51b5}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ff4081}.mat-form-field.mat-focused.mat-warn .mat-select-arrow,.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.mat-drawer-container{background-color:#fafafa;color:#000000de}.mat-drawer{background-color:#fff;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ff4081}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ff40818a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ff4081}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#3f51b5}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#3f51b58a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#3f51b5}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.mat-slide-toggle-bar{background-color:#00000061}.mat-slider-track-background{background-color:#00000042}.mat-slider.mat-primary .mat-slider-track-fill,.mat-slider.mat-primary .mat-slider-thumb,.mat-slider.mat-primary .mat-slider-thumb-label{background-color:#3f51b5}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#3f51b533}.mat-slider.mat-accent .mat-slider-track-fill,.mat-slider.mat-accent .mat-slider-thumb,.mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ff4081}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ff408133}.mat-slider.mat-warn .mat-slider-track-fill,.mat-slider.mat-warn .mat-slider-thumb,.mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.mat-slider:hover .mat-slider-track-background,.mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.mat-slider.mat-slider-disabled .mat-slider-track-background,.mat-slider.mat-slider-disabled .mat-slider-track-fill,.mat-slider.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.mat-step-header:hover{background:none}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:#0000008a}.mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#3f51b5;color:#fff}.mat-step-header.mat-accent .mat-step-icon{color:#fff}.mat-step-header.mat-accent .mat-step-icon-selected,.mat-step-header.mat-accent .mat-step-icon-state-done,.mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ff4081;color:#fff}.mat-step-header.mat-warn .mat-step-icon{color:#fff}.mat-step-header.mat-warn .mat-step-icon-selected,.mat-step-header.mat-warn .mat-step-icon-state-done,.mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line:before{border-left-color:#0000001f}.mat-horizontal-stepper-header:before,.mat-horizontal-stepper-header:after,.mat-stepper-horizontal-line{border-top-color:#0000001f}.mat-horizontal-stepper-header{height:72px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header,.mat-vertical-stepper-header{padding:24px}.mat-stepper-vertical-line:before{top:-16px;bottom:-16px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:after,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:before{top:36px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{top:36px}.mat-sort-header-arrow{color:#757575}.mat-tab-nav-bar,.mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-nav-bar,.mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:#000000de}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:#00000061}.mat-tab-header-pagination-chevron{border-color:#000000de}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.mat-tab-group[class*=mat-background-]>.mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#3f51b5}.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ff4081}.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#c5cae94d}.mat-tab-group.mat-background-primary>.mat-tab-header,.mat-tab-group.mat-background-primary>.mat-tab-link-container,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#3f51b5}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ff80ab4d}.mat-tab-group.mat-background-accent>.mat-tab-header,.mat-tab-group.mat-background-accent>.mat-tab-link-container,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ff4081}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.mat-tab-group.mat-background-warn>.mat-tab-header,.mat-tab-group.mat-background-warn>.mat-tab-link-container,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.mat-toolbar{background:#f5f5f5;color:#000000de}.mat-toolbar.mat-primary{background:#3f51b5;color:#fff}.mat-toolbar.mat-accent{background:#ff4081;color:#fff}.mat-toolbar.mat-warn{background:#f44336;color:#fff}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{background:#fff}.mat-tree-node,.mat-nested-tree-node{color:#000000de}.mat-tree-node{min-height:48px}.mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-simple-snackbar-action{color:#ff4081}.app-overlay-container{position:fixed;z-index:10000000;pointer-events:none;top:0;left:0;height:100%;width:100%}.app-overlay-container:empty{display:none}.booking-search-container{display:flex;flex-direction:row;border:1px solid white;flex-wrap:wrap;box-shadow:0 0 16px #00000080;align-items:flex-start;justify-content:center;padding:20px 10px}.booking-search-container>*{margin-right:10px}.booking-search-container .confirm{min-height:59px;font-size:16px;height:52px;margin:0 0 20px;min-width:200px}.booking-search-container .confirm:hover{background-color:#000!important;color:#fff!important}.booking-search-container .confirm:active:hover,.booking-search-container .confirm:disabled{opacity:.4;background-color:#000!important;color:#fff!important}.properties{max-width:-moz-fit-content!important;max-width:fit-content!important}.date-range-input input{border:none}@media (max-width: 600px){.booking-search-container{flex-direction:column;padding:15px;width:auto}.booking-search-container>*{margin-right:0}.mat-form-field,.mat-form-field-flex{width:100%}people-picker{width:100%}.confirm{width:100%;min-width:initial!important}}\n"],encapsulation:3}),N})();class EQ extends yg{_createContainer(){var I;const f=document.createElement("div");f.classList.add("app-overlay-container");const L=null===(I=document.querySelector("booking-likemagic"))||void 0===I?void 0:I.shadowRoot;null!==L&&(null==L||L.appendChild(f),this._containerElement=f)}}let DQ=(()=>{class N{constructor(f){this.injector=f}ngDoBootstrap(){const f=function j7(N,I){const f=function O7(N,I){return I.get(xu).resolveComponentFactory(N).inputs}(N,I.injector),L=I.strategyFactory||new V7(N,I.injector),V=function R7(N){const I={};return N.forEach(({propName:f,templateName:L})=>{I[function M7(N){return N.replace(/[A-Z]/g,I=>`-${I.toLowerCase()}`)}(L)]=f}),I}(f);class z extends H7{constructor(X){super(),this.injector=X}get ngElementStrategy(){if(!this._ngElementStrategy){const X=this._ngElementStrategy=L.create(this.injector||I.injector);f.forEach(({propName:Q})=>{if(!this.hasOwnProperty(Q))return;const J=this[Q];delete this[Q],X.setInputValue(Q,J)})}return this._ngElementStrategy}attributeChangedCallback(X,Q,J,te){this.ngElementStrategy.setInputValue(V[X],J)}connectedCallback(){let X=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),X=!0),this.ngElementStrategy.connect(this),X||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(X=>{const Q=new CustomEvent(X.name,{detail:X.value});this.dispatchEvent(Q)})}}return z.observedAttributes=Object.keys(V),f.forEach(({propName:Y})=>{Object.defineProperty(z.prototype,Y,{get(){return this.ngElementStrategy.getInputValue(Y)},set(X){this.ngElementStrategy.setInputValue(Y,X)},configurable:!0,enumerable:!0})}),z}(CQ,{injector:this.injector});customElements.define("booking-likemagic",f)}}return N.\u0275fac=function(f){return new(f||N)(Pe(ui))},N.\u0275mod=zn({type:N}),N.\u0275inj=un({providers:[{provide:yg,useClass:EQ}],imports:[[LA,l6,a7,Jv,b6,sE,x7,yU,i$,S$,N$,MF,Bz,NI,b$,L$.forRoot()]]}),N})();(function sB(){YM=!1})(),m4().bootstrapModule(DQ).catch(N=>console.error(N))},29:(xe,ke)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var be=Symbol.for("react.fragment"),Xe=Symbol.for("react.strict_mode"),Se=Symbol.for("react.profiler");Symbol.for("react.provider");var bt=Symbol.for("react.consumer"),Ge=Symbol.for("react.context"),Ct=Symbol.for("react.forward_ref"),yt=Symbol.for("react.suspense"),Pt=Symbol.for("react.suspense_list"),ut=Symbol.for("react.memo"),jt=Symbol.for("react.lazy"),Et=(Symbol.for("react.view_transition"),Symbol.for("react.client.reference"));ke.iY=function(Ue){return"string"==typeof Ue||"function"==typeof Ue||Ue===be||Ue===Se||Ue===Xe||Ue===yt||Ue===Pt||"object"==typeof Ue&&null!==Ue&&(Ue.$$typeof===jt||Ue.$$typeof===ut||Ue.$$typeof===Ge||Ue.$$typeof===bt||Ue.$$typeof===Ct||Ue.$$typeof===Et||void 0!==Ue.getModuleId)}},355:(xe,ke,Ve)=>{xe.exports=function(we){var je={};function be(Xe){if(je[Xe])return je[Xe].exports;var Se=je[Xe]={exports:{},id:Xe,loaded:!1};return we[Xe].call(Se.exports,Se,Se.exports,be),Se.loaded=!0,Se.exports}return be.m=we,be.c=je,be.p="",be(0)}([function(we,je,be){"use strict";var Xe=be(1),Se="function"==typeof importScripts;we.exports=Xe(Se?self:window)},function(we,je,be){"use strict";function Xe(Ge){if(Array.isArray(Ge)){for(var Ct=0,yt=Array(Ge.length);Ct<Ge.length;Ct++)yt[Ct]=Ge[Ct];return yt}return Array.from(Ge)}var Se=[];function bt(Ge){for(var Ct=arguments.length,yt=Array(Ct>1?Ct-1:0),Pt=1;Pt<Ct;Pt++)yt[Pt-1]=arguments[Pt];var ut=Se.reduce(function(cn,Et){return[Et].concat(cn)},[]),jt=Promise.resolve(yt);return ut.forEach(function(cn){var Et=cn.request,Dt=cn.requestError;(Et||Dt)&&(jt=jt.then(function(Ue){return Et.apply(void 0,Xe(Ue))},Dt))}),jt=jt.then(function(cn){var Et=new(Function.prototype.bind.apply(Request,[null].concat(Xe(cn))));return Ge(Et).then(function(Dt){return Dt.request=Et,Dt}).catch(function(Dt){return Dt.request=Et,Promise.reject(Dt)})}),ut.forEach(function(cn){var Et=cn.response,Dt=cn.responseError;(Et||Dt)&&(jt=jt.then(Et,Dt))}),jt}we.exports=function(Ct){if(!Ct.fetch)try{be(2)}catch(yt){throw Error("No fetch available. Unable to register fetch-intercept")}return Ct.fetch=(yt=Ct.fetch,function(){for(var Pt=arguments.length,ut=Array(Pt),jt=0;jt<Pt;jt++)ut[jt]=arguments[jt];return bt.apply(void 0,[yt].concat(ut))}),{register:function(Pt){return Se.push(Pt),function(){var ut=Se.indexOf(Pt);ut>=0&&Se.splice(ut,1)}},clear:function(){Se=[]}};var yt}},function(we,je){we.exports=Ve(834)}])},819:(xe,ke,Ve)=>{"use strict";var je=Ve(611),be=Ve(829);var Ge=Object.assign;function Ct(ge){var nt=ge.keyCode;return"charCode"in ge?0===(ge=ge.charCode)&&13===nt&&(ge=13):ge=nt,10===ge&&(ge=13),32<=ge||13===ge?ge:0}function yt(){return!0}function Pt(){return!1}function ut(ge){function nt(Ye,Kt,Hn,jn,Dn){for(var Gn in this._reactName=Ye,this._targetInst=Hn,this.type=Kt,this.nativeEvent=jn,this.target=Dn,this.currentTarget=null,ge)ge.hasOwnProperty(Gn)&&(this[Gn]=(Ye=ge[Gn])?Ye(jn):jn[Gn]);return this.isDefaultPrevented=(null!=jn.defaultPrevented?jn.defaultPrevented:!1===jn.returnValue)?yt:Pt,this.isPropagationStopped=Pt,this}return Ge(nt.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Ye=this.nativeEvent;Ye&&(Ye.preventDefault?Ye.preventDefault():"unknown"!=typeof Ye.returnValue&&(Ye.returnValue=!1),this.isDefaultPrevented=yt)},stopPropagation:function(){var Ye=this.nativeEvent;Ye&&(Ye.stopPropagation?Ye.stopPropagation():"unknown"!=typeof Ye.cancelBubble&&(Ye.cancelBubble=!0),this.isPropagationStopped=yt)},persist:function(){},isPersistent:yt}),nt}var jt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(ge){return ge.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=ut(jt),Et=Ge({},jt,{view:0,detail:0});ut(Et);var Dt,Ue,Vt,Vn=Ge({},Et,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qt,button:0,buttons:0,relatedTarget:function(ge){return void 0===ge.relatedTarget?ge.fromElement===ge.srcElement?ge.toElement:ge.fromElement:ge.relatedTarget},movementX:function(ge){return"movementX"in ge?ge.movementX:(ge!==Vt&&(Vt&&"mousemove"===ge.type?(Dt=ge.screenX-Vt.screenX,Ue=ge.screenY-Vt.screenY):Ue=Dt=0,Vt=ge),Dt)},movementY:function(ge){return"movementY"in ge?ge.movementY:Ue}});ut(Vn),ut(Ge({},Vn,{dataTransfer:0})),ut(Ge({},Et,{relatedTarget:0})),ut(Ge({},jt,{animationName:0,elapsedTime:0,pseudoElement:0})),ut(Ge({},jt,{clipboardData:function(ge){return"clipboardData"in ge?ge.clipboardData:window.clipboardData}})),ut(Ge({},jt,{data:0}));var Sr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fe={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ze(ge){var nt=this.nativeEvent;return nt.getModifierState?nt.getModifierState(ge):!!(ge=Fe[ge])&&!!nt[ge]}function Qt(){return Ze}function Xt(ge,nt,Ye,Kt,Hn,jn,Dn,Gn,Ho){var yr=Array.prototype.slice.call(arguments,3);try{nt.apply(Ye,yr)}catch(ja){this.onError(ja)}}ut(Ge({},Et,{key:function(ge){if(ge.key){var nt=Sr[ge.key]||ge.key;if("Unidentified"!==nt)return nt}return"keypress"===ge.type?13===(ge=Ct(ge))?"Enter":String.fromCharCode(ge):"keydown"===ge.type||"keyup"===ge.type?Qi[ge.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qt,charCode:function(ge){return"keypress"===ge.type?Ct(ge):0},keyCode:function(ge){return"keydown"===ge.type||"keyup"===ge.type?ge.keyCode:0},which:function(ge){return"keypress"===ge.type?Ct(ge):"keydown"===ge.type||"keyup"===ge.type?ge.keyCode:0}})),ut(Ge({},Vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ut(Ge({},Et,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qt})),ut(Ge({},jt,{propertyName:0,elapsedTime:0,pseudoElement:0})),ut(Ge({},Vn,{deltaX:function(ge){return"deltaX"in ge?ge.deltaX:"wheelDeltaX"in ge?-ge.wheelDeltaX:0},deltaY:function(ge){return"deltaY"in ge?ge.deltaY:"wheelDeltaY"in ge?-ge.wheelDeltaY:"wheelDelta"in ge?-ge.wheelDelta:0},deltaZ:0,deltaMode:0}));var Ke=!1,De=null,He=!1,_t=null,Yt={onError:function(ge){Ke=!0,De=ge}};function Zt(ge,nt,Ye,Kt,Hn,jn,Dn,Gn,Ho){Ke=!1,De=null,Xt.apply(Yt,arguments)}var nr=Array.isArray,On=be.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,xr=On[0],Lr=On[1],xc=On[2],Qu=On[3],Gs=On[4],Zu=je.unstable_act;function ds(){}function fs(ge){return!(!ge||1!==ge.nodeType||!ge.tagName)}function Ys(ge){return!fs(ge)&&null!=ge&&"function"==typeof ge.render&&"function"==typeof ge.setState}function qs(ge,nt,Ye){var Kt=ge.type||"unknown-event";ge.currentTarget=Lr(Ye),function vn(ge,nt,Ye,Kt,Hn,jn,Dn,Gn,Ho){if(Zt.apply(this,arguments),Ke){if(!Ke)throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");var yr=De;Ke=!1,De=null,He||(He=!0,_t=yr)}}(Kt,nt,void 0,ge),ge.currentTarget=null}function Rl(ge,nt){var Ye=ge.stateNode;if(!Ye)return null;var Kt=xc(Ye);if(!Kt)return null;Ye=Kt[nt];e:switch(nt){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(Kt=!Kt.disabled)||(Kt=!("button"===(ge=ge.type)||"input"===ge||"select"===ge||"textarea"===ge)),ge=!Kt;break e;default:ge=!1}if(ge)return null;if(Ye&&"function"!=typeof Ye)throw Error("Expected `"+nt+"` listener to be a function, instead got a value of `"+typeof Ye+"` type.");return Ye}function Ol(ge,nt,Ye){var Kt=Ye._reactName;"captured"===nt&&(Kt+="Capture"),(nt=Rl(ge,Kt))&&(null==Ye._dispatchListeners&&(Ye._dispatchListeners=[]),null==Ye._dispatchInstances&&(Ye._dispatchInstances=[]),Ye._dispatchListeners.push(nt),Ye._dispatchInstances.push(ge))}var ps={},Tc=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(ge){ps[ge]=function Jo(ge){return function(nt,Ye){if(je.isValidElement(nt))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(Ys(nt))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var Kt="on"+ge[0].toUpperCase()+ge.slice(1),Hn=new ds;Hn.target=nt,Hn.type=ge.toLowerCase();var jn=xr(nt),Dn=new cn(Kt,Hn.type,jn,Hn,nt);Dn.persist(),Ge(Dn,Ye),Tc.has(ge)?Dn&&Dn._reactName&&function Xs(ge,nt,Ye){ge&&Ye&&Ye._reactName&&(nt=Rl(ge,Ye._reactName))&&(null==Ye._dispatchListeners&&(Ye._dispatchListeners=[]),null==Ye._dispatchInstances&&(Ye._dispatchInstances=[]),Ye._dispatchListeners.push(nt),Ye._dispatchInstances.push(ge))}(Dn._targetInst,null,Dn):Dn&&Dn._reactName&&function Ac(ge,nt,Ye){for(var Kt=[];ge;){Kt.push(ge);do{ge=ge.return}while(ge&&5!==ge.tag);ge=ge||null}for(ge=Kt.length;0<ge--;)nt(Kt[ge],"captured",Ye);for(ge=0;ge<Kt.length;ge++)nt(Kt[ge],"bubbled",Ye)}(Dn._targetInst,Ol,Dn),be.unstable_batchedUpdates(function(){if(Qu(nt),Dn){var Gn=Dn._dispatchListeners,Ho=Dn._dispatchInstances;if(nr(Gn))for(var yr=0;yr<Gn.length&&!Dn.isPropagationStopped();yr++)qs(Dn,Gn[yr],Ho[yr]);else Gn&&qs(Dn,Gn,Ho);Dn._dispatchListeners=null,Dn._dispatchInstances=null,Dn.isPersistent()||Dn.constructor.release(Dn)}if(He)throw Gn=_t,He=!1,_t=null,Gn}),Gs()}}(ge)}),ke.act=Zu},709:(xe,ke,Ve)=>{"use strict";var we=Ve(611),je=Ve(335);function be(G){for(var q="https://reactjs.org/docs/error-decoder.html?invariant="+G,Z=1;Z<arguments.length;Z++)q+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+G+"; visit "+q+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Xe=new Set,Se={};function bt(G,q){Ge(G,q),Ge(G+"Capture",q)}function Ge(G,q){for(Se[G]=q,G=0;G<q.length;G++)Xe.add(q[G])}var Ct=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),yt=Object.prototype.hasOwnProperty,Pt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ut={},jt={};function Ue(G,q,Z,ee,ne,ie,se){this.acceptsBooleans=2===q||3===q||4===q,this.attributeName=ee,this.attributeNamespace=ne,this.mustUseProperty=Z,this.propertyName=G,this.type=q,this.sanitizeURL=ie,this.removeEmptyString=se}var Vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(G){Vt[G]=new Ue(G,0,!1,G,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(G){var q=G[0];Vt[q]=new Ue(q,1,!1,G[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(G){Vt[G]=new Ue(G,2,!1,G.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(G){Vt[G]=new Ue(G,2,!1,G,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(G){Vt[G]=new Ue(G,3,!1,G.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(G){Vt[G]=new Ue(G,3,!0,G,null,!1,!1)}),["capture","download"].forEach(function(G){Vt[G]=new Ue(G,4,!1,G,null,!1,!1)}),["cols","rows","size","span"].forEach(function(G){Vt[G]=new Ue(G,6,!1,G,null,!1,!1)}),["rowSpan","start"].forEach(function(G){Vt[G]=new Ue(G,5,!1,G.toLowerCase(),null,!1,!1)});var Vn=/[\-:]([a-z])/g;function _n(G){return G[1].toUpperCase()}function fr(G,q,Z,ee){var ne=Vt.hasOwnProperty(q)?Vt[q]:null;(null!==ne?0!==ne.type:ee||!(2<q.length)||"o"!==q[0]&&"O"!==q[0]||"n"!==q[1]&&"N"!==q[1])&&(function Dt(G,q,Z,ee){if(null==q||function Et(G,q,Z,ee){if(null!==Z&&0===Z.type)return!1;switch(typeof q){case"function":case"symbol":return!0;case"boolean":return!ee&&(null!==Z?!Z.acceptsBooleans:"data-"!==(G=G.toLowerCase().slice(0,5))&&"aria-"!==G);default:return!1}}(G,q,Z,ee))return!0;if(ee)return!1;if(null!==Z)switch(Z.type){case 3:return!q;case 4:return!1===q;case 5:return isNaN(q);case 6:return isNaN(q)||1>q}return!1}(q,Z,ne,ee)&&(Z=null),ee||null===ne?function cn(G){return!!yt.call(jt,G)||!yt.call(ut,G)&&(Pt.test(G)?jt[G]=!0:(ut[G]=!0,!1))}(q)&&(null===Z?G.removeAttribute(q):G.setAttribute(q,""+Z)):ne.mustUseProperty?G[ne.propertyName]=null===Z?3!==ne.type&&"":Z:(q=ne.attributeName,ee=ne.attributeNamespace,null===Z?G.removeAttribute(q):(Z=3===(ne=ne.type)||4===ne&&!0===Z?"":""+Z,ee?G.setAttributeNS(ee,q,Z):G.setAttribute(q,Z))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(G){var q=G.replace(Vn,_n);Vt[q]=new Ue(q,1,!1,G,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(G){var q=G.replace(Vn,_n);Vt[q]=new Ue(q,1,!1,G,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(G){var q=G.replace(Vn,_n);Vt[q]=new Ue(q,1,!1,G,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(G){Vt[G]=new Ue(G,1,!1,G.toLowerCase(),null,!1,!1)}),Vt.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(G){Vt[G]=new Ue(G,1,!1,G.toLowerCase(),null,!0,!0)});var tr=we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,dn=Symbol.for("react.element"),Xr=Symbol.for("react.portal"),Sr=Symbol.for("react.fragment"),Qi=Symbol.for("react.strict_mode"),Fe=Symbol.for("react.profiler"),Ze=Symbol.for("react.provider"),Qt=Symbol.for("react.context"),pn=Symbol.for("react.forward_ref"),Gt=Symbol.for("react.suspense"),tn=Symbol.for("react.suspense_list"),Mi=Symbol.for("react.memo"),rt=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var Xt=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var Ke=Symbol.iterator;function De(G){return null===G||"object"!=typeof G?null:"function"==typeof(G=Ke&&G[Ke]||G["@@iterator"])?G:null}var _t,He=Object.assign;function Yt(G){if(void 0===_t)try{throw Error()}catch(Z){var q=Z.stack.trim().match(/\n( *(at )?)/);_t=q&&q[1]||""}return"\n"+_t+G}var Zt=!1;function vn(G,q){if(!G||Zt)return"";Zt=!0;var Z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(q)if(q=function(){throw Error()},Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(q,[])}catch(Le){var ee=Le}Reflect.construct(G,[],q)}else{try{q.call()}catch(Le){ee=Le}G.call(q.prototype)}else{try{throw Error()}catch(Le){ee=Le}G()}}catch(Le){if(Le&&ee&&"string"==typeof Le.stack){for(var ne=Le.stack.split("\n"),ie=ee.stack.split("\n"),se=ne.length-1,fe=ie.length-1;1<=se&&0<=fe&&ne[se]!==ie[fe];)fe--;for(;1<=se&&0<=fe;se--,fe--)if(ne[se]!==ie[fe]){if(1!==se||1!==fe)do{if(se--,0>--fe||ne[se]!==ie[fe]){var _e="\n"+ne[se].replace(" at new "," at ");return G.displayName&&_e.includes("<anonymous>")&&(_e=_e.replace("<anonymous>",G.displayName)),_e}}while(1<=se&&0<=fe);break}}}finally{Zt=!1,Error.prepareStackTrace=Z}return(G=G?G.displayName||G.name:"")?Yt(G):""}function nr(G){switch(G.tag){case 5:return Yt(G.type);case 16:return Yt("Lazy");case 13:return Yt("Suspense");case 19:return Yt("SuspenseList");case 0:case 2:case 15:return vn(G.type,!1);case 11:return vn(G.type.render,!1);case 1:return vn(G.type,!0);default:return""}}function On(G){if(null==G)return null;if("function"==typeof G)return G.displayName||G.name||null;if("string"==typeof G)return G;switch(G){case Sr:return"Fragment";case Xr:return"Portal";case Fe:return"Profiler";case Qi:return"StrictMode";case Gt:return"Suspense";case tn:return"SuspenseList"}if("object"==typeof G)switch(G.$$typeof){case Qt:return(G.displayName||"Context")+".Consumer";case Ze:return(G._context.displayName||"Context")+".Provider";case pn:var q=G.render;return(G=G.displayName)||(G=""!==(G=q.displayName||q.name||"")?"ForwardRef("+G+")":"ForwardRef"),G;case Mi:return null!==(q=G.displayName||null)?q:On(G.type)||"Memo";case rt:q=G._payload,G=G._init;try{return On(G(q))}catch(Z){}}return null}function xr(G){var q=G.type;switch(G.tag){case 24:return"Cache";case 9:return(q.displayName||"Context")+".Consumer";case 10:return(q._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return G=(G=q.render).displayName||G.name||"",q.displayName||(""!==G?"ForwardRef("+G+")":"ForwardRef");case 7:return"Fragment";case 5:return q;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return On(q);case 8:return q===Qi?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof q)return q.displayName||q.name||null;if("string"==typeof q)return q}return null}function Lr(G){switch(typeof G){case"boolean":case"number":case"string":case"undefined":case"object":return G;default:return""}}function xc(G){var q=G.type;return(G=G.nodeName)&&"input"===G.toLowerCase()&&("checkbox"===q||"radio"===q)}function Gs(G){G._valueTracker||(G._valueTracker=function Qu(G){var q=xc(G)?"checked":"value",Z=Object.getOwnPropertyDescriptor(G.constructor.prototype,q),ee=""+G[q];if(!G.hasOwnProperty(q)&&void 0!==Z&&"function"==typeof Z.get&&"function"==typeof Z.set){var ne=Z.get,ie=Z.set;return Object.defineProperty(G,q,{configurable:!0,get:function(){return ne.call(this)},set:function(se){ee=""+se,ie.call(this,se)}}),Object.defineProperty(G,q,{enumerable:Z.enumerable}),{getValue:function(){return ee},setValue:function(se){ee=""+se},stopTracking:function(){G._valueTracker=null,delete G[q]}}}}(G))}function Zu(G){if(!G)return!1;var q=G._valueTracker;if(!q)return!0;var Z=q.getValue(),ee="";return G&&(ee=xc(G)?G.checked?"true":"false":G.value),(G=ee)!==Z&&(q.setValue(G),!0)}function ds(G){if(void 0===(G=G||("undefined"!=typeof document?document:void 0)))return null;try{return G.activeElement||G.body}catch(q){return G.body}}function Mc(G,q){var Z=q.checked;return He({},q,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=Z?Z:G._wrapperState.initialChecked})}function Bo(G,q){var Z=null==q.defaultValue?"":q.defaultValue,ee=null!=q.checked?q.checked:q.defaultChecked;Z=Lr(null!=q.value?q.value:Z),G._wrapperState={initialChecked:ee,initialValue:Z,controlled:"checkbox"===q.type||"radio"===q.type?null!=q.checked:null!=q.value}}function fs(G,q){null!=(q=q.checked)&&fr(G,"checked",q,!1)}function Ys(G,q){fs(G,q);var Z=Lr(q.value),ee=q.type;if(null!=Z)"number"===ee?(0===Z&&""===G.value||G.value!=Z)&&(G.value=""+Z):G.value!==""+Z&&(G.value=""+Z);else if("submit"===ee||"reset"===ee)return void G.removeAttribute("value");q.hasOwnProperty("value")?ga(G,q.type,Z):q.hasOwnProperty("defaultValue")&&ga(G,q.type,Lr(q.defaultValue)),null==q.checked&&null!=q.defaultChecked&&(G.defaultChecked=!!q.defaultChecked)}function hs(G,q,Z){if(q.hasOwnProperty("value")||q.hasOwnProperty("defaultValue")){var ee=q.type;if(("submit"===ee||"reset"===ee)&&null==q.value)return;q=""+G._wrapperState.initialValue,Z||q===G.value||(G.value=q),G.defaultValue=q}""!==(Z=G.name)&&(G.name=""),G.defaultChecked=!!G._wrapperState.initialChecked,""!==Z&&(G.name=Z)}function ga(G,q,Z){("number"!==q||ds(G.ownerDocument)!==G)&&(null==Z?G.defaultValue=""+G._wrapperState.initialValue:G.defaultValue!==""+Z&&(G.defaultValue=""+Z))}var bi=Array.isArray;function wi(G,q,Z,ee){if(G=G.options,q){q={};for(var ne=0;ne<Z.length;ne++)q["$"+Z[ne]]=!0;for(Z=0;Z<G.length;Z++)ne=q.hasOwnProperty("$"+G[Z].value),G[Z].selected!==ne&&(G[Z].selected=ne),ne&&ee&&(G[Z].defaultSelected=!0)}else{for(Z=""+Lr(Z),q=null,ne=0;ne<G.length;ne++){if(G[ne].value===Z)return G[ne].selected=!0,void(ee&&(G[ne].defaultSelected=!0));null!==q||G[ne].disabled||(q=G[ne])}null!==q&&(q.selected=!0)}}function Ks(G,q){if(null!=q.dangerouslySetInnerHTML)throw Error(be(91));return He({},q,{value:void 0,defaultValue:void 0,children:""+G._wrapperState.initialValue})}function qs(G,q){var Z=q.value;if(null==Z){if(Z=q.children,q=q.defaultValue,null!=Z){if(null!=q)throw Error(be(92));if(bi(Z)){if(1<Z.length)throw Error(be(93));Z=Z[0]}q=Z}null==q&&(q=""),Z=q}G._wrapperState={initialValue:Lr(Z)}}function Ac(G,q){var Z=Lr(q.value),ee=Lr(q.defaultValue);null!=Z&&((Z=""+Z)!==G.value&&(G.value=Z),null==q.defaultValue&&G.defaultValue!==Z&&(G.defaultValue=Z)),null!=ee&&(G.defaultValue=""+ee)}function Rl(G){var q=G.textContent;q===G._wrapperState.initialValue&&""!==q&&null!==q&&(G.value=q)}function Xs(G){switch(G){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ol(G,q){return null==G||"http://www.w3.org/1999/xhtml"===G?Xs(q):"http://www.w3.org/2000/svg"===G&&"foreignObject"===q?"http://www.w3.org/1999/xhtml":G}var ps,G,Tc=(G=function(G,q){if("http://www.w3.org/2000/svg"!==G.namespaceURI||"innerHTML"in G)G.innerHTML=q;else{for((ps=ps||document.createElement("div")).innerHTML="<svg>"+q.valueOf().toString()+"</svg>",q=ps.firstChild;G.firstChild;)G.removeChild(G.firstChild);for(;q.firstChild;)G.appendChild(q.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(q,Z,ee,ne){MSApp.execUnsafeLocalFunction(function(){return G(q,Z)})}:G);function Jo(G,q){if(q){var Z=G.firstChild;if(Z&&Z===G.lastChild&&3===Z.nodeType)return void(Z.nodeValue=q)}G.textContent=q}var ge={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},nt=["Webkit","ms","Moz","O"];function Ye(G,q,Z){return null==q||"boolean"==typeof q||""===q?"":Z||"number"!=typeof q||0===q||ge.hasOwnProperty(G)&&ge[G]?(""+q).trim():q+"px"}function Kt(G,q){for(var Z in G=G.style,q)if(q.hasOwnProperty(Z)){var ee=0===Z.indexOf("--"),ne=Ye(Z,q[Z],ee);"float"===Z&&(Z="cssFloat"),ee?G.setProperty(Z,ne):G[Z]=ne}}Object.keys(ge).forEach(function(G){nt.forEach(function(q){q=q+G.charAt(0).toUpperCase()+G.substring(1),ge[q]=ge[G]})});var Hn=He({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function jn(G,q){if(q){if(Hn[G]&&(null!=q.children||null!=q.dangerouslySetInnerHTML))throw Error(be(137,G));if(null!=q.dangerouslySetInnerHTML){if(null!=q.children)throw Error(be(60));if("object"!=typeof q.dangerouslySetInnerHTML||!("__html"in q.dangerouslySetInnerHTML))throw Error(be(61))}if(null!=q.style&&"object"!=typeof q.style)throw Error(be(62))}}function Dn(G,q){if(-1===G.indexOf("-"))return"string"==typeof q.is;switch(G){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gn=null;function Ho(G){return(G=G.target||G.srcElement||window).correspondingUseElement&&(G=G.correspondingUseElement),3===G.nodeType?G.parentNode:G}var yr=null,ja=null,Co=null;function Tf(G){if(G=Gr(G)){if("function"!=typeof yr)throw Error(be(280));var q=G.stateNode;q&&(q=ul(q),yr(G.stateNode,G.type,q))}}function Ff(G){ja?Co?Co.push(G):Co=[G]:ja=G}function Ju(){if(ja){var G=ja,q=Co;if(Co=ja=null,Tf(G),q)for(G=0;G<q.length;G++)Tf(q[G])}}function If(G,q){return G(q)}function Rf(){}var fi=!1;function Of(G,q,Z){if(fi)return G(q,Z);fi=!0;try{return If(G,q,Z)}finally{fi=!1,(null!==ja||null!==Co)&&(Rf(),Ju())}}function ya(G,q){var Z=G.stateNode;if(null===Z)return null;var ee=ul(Z);if(null===ee)return null;Z=ee[q];e:switch(q){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ee=!ee.disabled)||(ee=!("button"===(G=G.type)||"input"===G||"select"===G||"textarea"===G)),G=!ee;break e;default:G=!1}if(G)return null;if(Z&&"function"!=typeof Z)throw Error(be(231,q,typeof Z));return Z}var Fc=!1;if(Ct)try{var za={};Object.defineProperty(za,"passive",{get:function(){Fc=!0}}),window.addEventListener("test",za,za),window.removeEventListener("test",za,za)}catch(G){Fc=!1}function ay(G,q,Z,ee,ne,ie,se,fe,_e){var Le=Array.prototype.slice.call(arguments,3);try{q.apply(Z,Le)}catch(Je){this.onError(Je)}}var ea=!1,Pl=null,Qs=!1,ed=null,Ic={onError:function(G){ea=!0,Pl=G}};function Hp(G,q,Z,ee,ne,ie,se,fe,_e){ea=!1,Pl=null,ay.apply(Ic,arguments)}function Ua(G){var q=G,Z=G;if(G.alternate)for(;q.return;)q=q.return;else{G=q;do{0!=(4098&(q=G).flags)&&(Z=q.return),G=q.return}while(G)}return 3===q.tag?Z:null}function Pf(G){if(13===G.tag){var q=G.memoizedState;if(null===q&&null!==(G=G.alternate)&&(q=G.memoizedState),null!==q)return q.dehydrated}return null}function Nf(G){if(Ua(G)!==G)throw Error(be(188))}function Lf(G){return null!==(G=function jp(G){var q=G.alternate;if(!q){if(null===(q=Ua(G)))throw Error(be(188));return q!==G?null:G}for(var Z=G,ee=q;;){var ne=Z.return;if(null===ne)break;var ie=ne.alternate;if(null===ie){if(null!==(ee=ne.return)){Z=ee;continue}break}if(ne.child===ie.child){for(ie=ne.child;ie;){if(ie===Z)return Nf(ne),G;if(ie===ee)return Nf(ne),q;ie=ie.sibling}throw Error(be(188))}if(Z.return!==ee.return)Z=ne,ee=ie;else{for(var se=!1,fe=ne.child;fe;){if(fe===Z){se=!0,Z=ne,ee=ie;break}if(fe===ee){se=!0,ee=ne,Z=ie;break}fe=fe.sibling}if(!se){for(fe=ie.child;fe;){if(fe===Z){se=!0,Z=ie,ee=ne;break}if(fe===ee){se=!0,ee=ie,Z=ne;break}fe=fe.sibling}if(!se)throw Error(be(189))}}if(Z.alternate!==ee)throw Error(be(190))}if(3!==Z.tag)throw Error(be(188));return Z.stateNode.current===Z?G:q}(G))?td(G):null}function td(G){if(5===G.tag||6===G.tag)return G;for(G=G.child;null!==G;){var q=td(G);if(null!==q)return q;G=G.sibling}return null}var Rc=je.unstable_scheduleCallback,Vf=je.unstable_cancelCallback,$a=je.unstable_shouldYield,oo=je.unstable_requestPaint,xn=je.unstable_now,Zs=je.unstable_getCurrentPriorityLevel,Js=je.unstable_ImmediatePriority,_r=je.unstable_UserBlockingPriority,el=je.unstable_NormalPriority,hr=je.unstable_LowPriority,Nl=je.unstable_IdlePriority,Oc=null,kn=null,Eo=Math.clz32?Math.clz32:function nd(G){return 0==(G>>>=0)?32:31-(sy(G)/Ot|0)|0},sy=Math.log,Ot=Math.LN2,rn=64,Qr=4194304;function Ll(G){switch(G&-G){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&G;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&G;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return G}}function tl(G,q){var Z=G.pendingLanes;if(0===Z)return 0;var ee=0,ne=G.suspendedLanes,ie=G.pingedLanes,se=268435455&Z;if(0!==se){var fe=se&~ne;0!==fe?ee=Ll(fe):0!=(ie&=se)&&(ee=Ll(ie))}else 0!=(se=Z&~ne)?ee=Ll(se):0!==ie&&(ee=Ll(ie));if(0===ee)return 0;if(0!==q&&q!==ee&&0==(q&ne)&&((ne=ee&-ee)>=(ie=q&-q)||16===ne&&0!=(4194240&ie)))return q;if(0!=(4&ee)&&(ee|=16&Z),0!==(q=G.entangledLanes))for(G=G.entanglements,q&=ee;0<q;)ee|=G[Z=31-Eo(q)],q&=~(ne=1<<Z);return ee}function Bf(G,q){switch(G){case 1:case 2:case 4:return q+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return q+5e3;default:return-1}}function Bi(G){return 0!=(G=-1073741825&G.pendingLanes)?G:1073741824&G?1073741824:0}function Hf(){var G=rn;return 0==(4194240&(rn<<=1))&&(rn=64),G}function rd(G){for(var q=[],Z=0;31>Z;Z++)q.push(G);return q}function Nc(G,q,Z){G.pendingLanes|=q,536870912!==q&&(G.suspendedLanes=0,G.pingedLanes=0),(G=G.eventTimes)[q=31-Eo(q)]=Z}function id(G,q){var Z=G.entangledLanes|=q;for(G=G.entanglements;Z;){var ee=31-Eo(Z),ne=1<<ee;ne&q|G[ee]&q&&(G[ee]|=q),Z&=~ne}}var vr=0;function zp(G){return 1<(G&=-G)?4<G?0!=(268435455&G)?16:536870912:4:1}var Up,Vl,$p,jf,Wp,hi=!1,rr=[],va=null,ba=null,gs=null,pt=new Map,nl=new Map,un=[],wa="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ys(G,q){switch(G){case"focusin":case"focusout":va=null;break;case"dragenter":case"dragleave":ba=null;break;case"mouseover":case"mouseout":gs=null;break;case"pointerover":case"pointerout":pt.delete(q.pointerId);break;case"gotpointercapture":case"lostpointercapture":nl.delete(q.pointerId)}}function Bl(G,q,Z,ee,ne,ie){return null===G||G.nativeEvent!==ie?(G={blockedOn:q,domEventName:Z,eventSystemFlags:ee,nativeEvent:ie,targetContainers:[ne]},null!==q&&null!==(q=Gr(q))&&Vl(q),G):(G.eventSystemFlags|=ee,q=G.targetContainers,null!==ne&&-1===q.indexOf(ne)&&q.push(ne),G)}function od(G){var q=si(G.target);if(null!==q){var Z=Ua(q);if(null!==Z)if(13===(q=Z.tag)){if(null!==(q=Pf(Z)))return G.blockedOn=q,void Wp(G.priority,function(){$p(Z)})}else if(3===q&&Z.stateNode.current.memoizedState.isDehydrated)return void(G.blockedOn=3===Z.tag?Z.stateNode.containerInfo:null)}G.blockedOn=null}function Wa(G){if(null!==G.blockedOn)return!1;for(var q=G.targetContainers;0<q.length;){var Z=Tn(G.domEventName,G.eventSystemFlags,q[0],G.nativeEvent);if(null!==Z)return null!==(q=Gr(Z))&&Vl(q),G.blockedOn=Z,!1;var ee=new(Z=G.nativeEvent).constructor(Z.type,Z);Gn=ee,Z.target.dispatchEvent(ee),Gn=null,q.shift()}return!0}function Lc(G,q,Z){Wa(G)&&Z.delete(q)}function Uf(){hi=!1,null!==va&&Wa(va)&&(va=null),null!==ba&&Wa(ba)&&(ba=null),null!==gs&&Wa(gs)&&(gs=null),pt.forEach(Lc),nl.forEach(Lc)}function rl(G,q){G.blockedOn===q&&(G.blockedOn=null,hi||(hi=!0,je.unstable_scheduleCallback(je.unstable_NormalPriority,Uf)))}function nn(G){function q(ne){return rl(ne,G)}if(0<rr.length){rl(rr[0],G);for(var Z=1;Z<rr.length;Z++){var ee=rr[Z];ee.blockedOn===G&&(ee.blockedOn=null)}}for(null!==va&&rl(va,G),null!==ba&&rl(ba,G),null!==gs&&rl(gs,G),pt.forEach(q),nl.forEach(q),Z=0;Z<un.length;Z++)(ee=un[Z]).blockedOn===G&&(ee.blockedOn=null);for(;0<un.length&&null===(Z=un[0]).blockedOn;)od(Z),null===Z.blockedOn&&un.shift()}var ce=tr.ReactCurrentBatchConfig,Ee=!0;function Oe(G,q,Z,ee){var ne=vr,ie=ce.transition;ce.transition=null;try{vr=1,Pn(G,q,Z,ee)}finally{vr=ne,ce.transition=ie}}function At(G,q,Z,ee){var ne=vr,ie=ce.transition;ce.transition=null;try{vr=4,Pn(G,q,Z,ee)}finally{vr=ne,ce.transition=ie}}function Pn(G,q,Z,ee){if(Ee){var ne=Tn(G,q,Z,ee);if(null===ne)jr(G,q,ee,Mn,Z),ys(G,ee);else if(function zf(G,q,Z,ee,ne){switch(q){case"focusin":return va=Bl(va,G,q,Z,ee,ne),!0;case"dragenter":return ba=Bl(ba,G,q,Z,ee,ne),!0;case"mouseover":return gs=Bl(gs,G,q,Z,ee,ne),!0;case"pointerover":var ie=ne.pointerId;return pt.set(ie,Bl(pt.get(ie)||null,G,q,Z,ee,ne)),!0;case"gotpointercapture":return nl.set(ie=ne.pointerId,Bl(nl.get(ie)||null,G,q,Z,ee,ne)),!0}return!1}(ne,G,q,Z,ee))ee.stopPropagation();else if(ys(G,ee),4&q&&-1<wa.indexOf(G)){for(;null!==ne;){var ie=Gr(ne);if(null!==ie&&Up(ie),null===(ie=Tn(G,q,Z,ee))&&jr(G,q,ee,Mn,Z),ie===ne)break;ne=ie}null!==ne&&ee.stopPropagation()}else jr(G,q,ee,null,Z)}}var Mn=null;function Tn(G,q,Z,ee){if(Mn=null,null!==(G=si(G=Ho(ee))))if(null===(q=Ua(G)))G=null;else if(13===(Z=q.tag)){if(null!==(G=Pf(q)))return G;G=null}else if(3===Z){if(q.stateNode.current.memoizedState.isDehydrated)return 3===q.tag?q.stateNode.containerInfo:null;G=null}else q!==G&&(G=null);return Mn=G,null}function Nn(G){switch(G){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Zs()){case Js:return 1;case _r:return 4;case el:case hr:return 16;case Nl:return 536870912;default:return 16}default:return 16}}var ir=null,Ir=null,Ai=null;function il(){if(Ai)return Ai;var G,ee,q=Ir,Z=q.length,ne="value"in ir?ir.value:ir.textContent,ie=ne.length;for(G=0;G<Z&&q[G]===ne[G];G++);var se=Z-G;for(ee=1;ee<=se&&q[Z-ee]===ne[ie-ee];ee++);return Ai=ne.slice(G,1<ee?1-ee:void 0)}function ol(G){var q=G.keyCode;return"charCode"in G?0===(G=G.charCode)&&13===q&&(G=13):G=q,10===G&&(G=13),32<=G||13===G?G:0}function Hl(){return!0}function or(){return!1}function ta(G){function q(Z,ee,ne,ie,se){for(var fe in this._reactName=Z,this._targetInst=ne,this.type=ee,this.nativeEvent=ie,this.target=se,this.currentTarget=null,G)G.hasOwnProperty(fe)&&(this[fe]=(Z=G[fe])?Z(ie):ie[fe]);return this.isDefaultPrevented=(null!=ie.defaultPrevented?ie.defaultPrevented:!1===ie.returnValue)?Hl:or,this.isPropagationStopped=or,this}return He(q.prototype,{preventDefault:function(){this.defaultPrevented=!0;var Z=this.nativeEvent;Z&&(Z.preventDefault?Z.preventDefault():"unknown"!=typeof Z.returnValue&&(Z.returnValue=!1),this.isDefaultPrevented=Hl)},stopPropagation:function(){var Z=this.nativeEvent;Z&&(Z.stopPropagation?Z.stopPropagation():"unknown"!=typeof Z.cancelBubble&&(Z.cancelBubble=!0),this.isPropagationStopped=Hl)},persist:function(){},isPersistent:Hl}),q}var sd,ld,Vc,ad={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(G){return G.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},al=ta(ad),pr=He({},ad,{view:0,detail:0}),$f=ta(pr),na=He({},pr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Do,button:0,buttons:0,relatedTarget:function(G){return void 0===G.relatedTarget?G.fromElement===G.srcElement?G.toElement:G.fromElement:G.relatedTarget},movementX:function(G){return"movementX"in G?G.movementX:(G!==Vc&&(Vc&&"mousemove"===G.type?(sd=G.screenX-Vc.screenX,ld=G.screenY-Vc.screenY):ld=sd=0,Vc=G),sd)},movementY:function(G){return"movementY"in G?G.movementY:ld}}),Bc=ta(na),Rr=ta(He({},na,{dataTransfer:0})),Wf=ta(He({},pr,{relatedTarget:0})),cy=ta(He({},ad,{animationName:0,elapsedTime:0,pseudoElement:0})),zn=He({},ad,{clipboardData:function(G){return"clipboardData"in G?G.clipboardData:window.clipboardData}}),$0=ta(zn),Mt=ta(He({},ad,{data:0})),ao={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Zi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},sl={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function jl(G){var q=this.nativeEvent;return q.getModifierState?q.getModifierState(G):!!(G=sl[G])&&!!q[G]}function Do(){return jl}var Gf=He({},pr,{key:function(G){if(G.key){var q=ao[G.key]||G.key;if("Unidentified"!==q)return q}return"keypress"===G.type?13===(G=ol(G))?"Enter":String.fromCharCode(G):"keydown"===G.type||"keyup"===G.type?Zi[G.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Do,charCode:function(G){return"keypress"===G.type?ol(G):0},keyCode:function(G){return"keydown"===G.type||"keyup"===G.type?G.keyCode:0},which:function(G){return"keypress"===G.type?ol(G):"keydown"===G.type||"keyup"===G.type?G.keyCode:0}}),Gp=ta(Gf),ud=ta(He({},na,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ji=ta(He({},pr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Do})),ra=ta(He({},ad,{propertyName:0,elapsedTime:0,pseudoElement:0})),St=He({},na,{deltaX:function(G){return"deltaX"in G?G.deltaX:"wheelDeltaX"in G?-G.wheelDeltaX:0},deltaY:function(G){return"deltaY"in G?G.deltaY:"wheelDeltaY"in G?-G.wheelDeltaY:"wheelDelta"in G?-G.wheelDelta:0},deltaZ:0,deltaMode:0}),Fn=ta(St),Hr=[9,13,27,32],so=Ct&&"CompositionEvent"in window,Ca=null;Ct&&"documentMode"in document&&(Ca=document.documentMode);var Ti=Ct&&"TextEvent"in window&&!Ca,ll=Ct&&(!so||Ca&&8<Ca&&11>=Ca),Zr=String.fromCharCode(32),Hc=!1;function Ul(G,q){switch(G){case"keyup":return-1!==Hr.indexOf(q.keyCode);case"keydown":return 229!==q.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bn(G){return"object"==typeof(G=G.detail)&&"data"in G?G.data:null}var _s=!1,zc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function lo(G){var q=G&&G.nodeName&&G.nodeName.toLowerCase();return"input"===q?!!zc[G.type]:"textarea"===q}function Uc(G,q,Z,ee){Ff(ee),0<(q=Zf(q,"onChange")).length&&(Z=new al("onChange","change",null,Z,ee),G.push({event:Z,listeners:q}))}var Ga=null,co=null;function Or(G){yy(G,0)}function Yf(G){if(Zu(Yl(G)))return G}function G0(G,q){if("change"===G)return q}var Ea=!1;if(Ct){var jo;if(Ct){var dd="oninput"in document;if(!dd){var fd=document.createElement("div");fd.setAttribute("oninput","return;"),dd="function"==typeof fd.oninput}jo=dd}else jo=!1;Ea=jo&&(!document.documentMode||9<document.documentMode)}function hd(){Ga&&(Ga.detachEvent("onpropertychange",ia),co=Ga=null)}function ia(G){if("value"===G.propertyName&&Yf(co)){var q=[];Uc(q,co,G,Ho(G)),Of(Or,q)}}function Y0(G,q,Z){"focusin"===G?(hd(),co=Z,(Ga=q).attachEvent("onpropertychange",ia)):"focusout"===G&&hd()}function s1(G){if("selectionchange"===G||"keyup"===G||"keydown"===G)return Yf(co)}function K0(G,q){if("click"===G)return Yf(q)}function q0(G,q){if("input"===G||"change"===G)return Yf(q)}var Ya="function"==typeof Object.is?Object.is:function l1(G,q){return G===q&&(0!==G||1/G==1/q)||G!=G&&q!=q};function Kf(G,q){if(Ya(G,q))return!0;if("object"!=typeof G||null===G||"object"!=typeof q||null===q)return!1;var Z=Object.keys(G),ee=Object.keys(q);if(Z.length!==ee.length)return!1;for(ee=0;ee<Z.length;ee++){var ne=Z[ee];if(!yt.call(q,ne)||!Ya(G[ne],q[ne]))return!1}return!0}function X0(G){for(;G&&G.firstChild;)G=G.firstChild;return G}function Q0(G,q){var ee,Z=X0(G);for(G=0;Z;){if(3===Z.nodeType){if(ee=G+Z.textContent.length,G<=q&&ee>=q)return{node:Z,offset:q-G};G=ee}e:{for(;Z;){if(Z.nextSibling){Z=Z.nextSibling;break e}Z=Z.parentNode}Z=void 0}Z=X0(Z)}}function Z0(G,q){return!(!G||!q)&&(G===q||(!G||3!==G.nodeType)&&(q&&3===q.nodeType?Z0(G,q.parentNode):"contains"in G?G.contains(q):!!G.compareDocumentPosition&&!!(16&G.compareDocumentPosition(q))))}function J0(){for(var G=window,q=ds();q instanceof G.HTMLIFrameElement;){try{var Z="string"==typeof q.contentWindow.location.href}catch(ee){Z=!1}if(!Z)break;q=ds((G=q.contentWindow).document)}return q}function dy(G){var q=G&&G.nodeName&&G.nodeName.toLowerCase();return q&&("input"===q&&("text"===G.type||"search"===G.type||"tel"===G.type||"url"===G.type||"password"===G.type)||"textarea"===q||"true"===G.contentEditable)}function c1(G){var q=J0(),Z=G.focusedElem,ee=G.selectionRange;if(q!==Z&&Z&&Z.ownerDocument&&Z0(Z.ownerDocument.documentElement,Z)){if(null!==ee&&dy(Z))if(q=ee.start,void 0===(G=ee.end)&&(G=q),"selectionStart"in Z)Z.selectionStart=q,Z.selectionEnd=Math.min(G,Z.value.length);else if((G=(q=Z.ownerDocument||document)&&q.defaultView||window).getSelection){G=G.getSelection();var ne=Z.textContent.length,ie=Math.min(ee.start,ne);ee=void 0===ee.end?ie:Math.min(ee.end,ne),!G.extend&&ie>ee&&(ne=ee,ee=ie,ie=ne),ne=Q0(Z,ie);var se=Q0(Z,ee);ne&&se&&(1!==G.rangeCount||G.anchorNode!==ne.node||G.anchorOffset!==ne.offset||G.focusNode!==se.node||G.focusOffset!==se.offset)&&((q=q.createRange()).setStart(ne.node,ne.offset),G.removeAllRanges(),ie>ee?(G.addRange(q),G.extend(se.node,se.offset)):(q.setEnd(se.node,se.offset),G.addRange(q)))}for(q=[],G=Z;G=G.parentNode;)1===G.nodeType&&q.push({element:G,left:G.scrollLeft,top:G.scrollTop});for("function"==typeof Z.focus&&Z.focus(),Z=0;Z<q.length;Z++)(G=q[Z]).element.scrollLeft=G.left,G.element.scrollTop=G.top}}var u1=Ct&&"documentMode"in document&&11>=document.documentMode,pd=null,fy=null,qf=null,hy=!1;function Kp(G,q,Z){var ee=Z.window===Z?Z.document:9===Z.nodeType?Z:Z.ownerDocument;hy||null==pd||pd!==ds(ee)||(ee="selectionStart"in(ee=pd)&&dy(ee)?{start:ee.selectionStart,end:ee.selectionEnd}:{anchorNode:(ee=(ee.ownerDocument&&ee.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:ee.anchorOffset,focusNode:ee.focusNode,focusOffset:ee.focusOffset},qf&&Kf(qf,ee)||(qf=ee,0<(ee=Zf(fy,"onSelect")).length&&(q=new al("onSelect","select",null,q,Z),G.push({event:q,listeners:ee}),q.target=pd)))}function $c(G,q){var Z={};return Z[G.toLowerCase()]=q.toLowerCase(),Z["Webkit"+G]="webkit"+q,Z["Moz"+G]="moz"+q,Z}var md={animationend:$c("Animation","AnimationEnd"),animationiteration:$c("Animation","AnimationIteration"),animationstart:$c("Animation","AnimationStart"),transitionend:$c("Transition","TransitionEnd")},py={},eb={};function Ka(G){if(py[G])return py[G];if(!md[G])return G;var Z,q=md[G];for(Z in q)if(q.hasOwnProperty(Z)&&Z in eb)return py[G]=q[Z];return G}Ct&&(eb=document.createElement("div").style,"AnimationEvent"in window||(delete md.animationend.animation,delete md.animationiteration.animation,delete md.animationstart.animation),"TransitionEvent"in window||delete md.transitionend.transition);var qp=Ka("animationend"),ai=Ka("animationiteration"),Xp=Ka("animationstart"),my=Ka("transitionend"),gy=new Map,Qp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function vs(G,q){gy.set(G,q),bt(q,[G])}for(var Zp=0;Zp<Qp.length;Zp++){var gd=Qp[Zp];vs(gd.toLowerCase(),"on"+(gd[0].toUpperCase()+gd.slice(1)))}vs(qp,"onAnimationEnd"),vs(ai,"onAnimationIteration"),vs(Xp,"onAnimationStart"),vs("dblclick","onDoubleClick"),vs("focusin","onFocus"),vs("focusout","onBlur"),vs(my,"onTransitionEnd"),Ge("onMouseEnter",["mouseout","mouseover"]),Ge("onMouseLeave",["mouseout","mouseover"]),Ge("onPointerEnter",["pointerout","pointerover"]),Ge("onPointerLeave",["pointerout","pointerover"]),bt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),bt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),bt("onBeforeInput",["compositionend","keypress","textInput","paste"]),bt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),bt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),bt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var $l="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),nb=new Set("cancel close invalid load scroll toggle".split(" ").concat($l));function Xf(G,q,Z){var ee=G.type||"unknown-event";G.currentTarget=Z,function ms(G,q,Z,ee,ne,ie,se,fe,_e){if(Hp.apply(this,arguments),ea){if(!ea)throw Error(be(198));var Le=Pl;ea=!1,Pl=null,Qs||(Qs=!0,ed=Le)}}(ee,q,void 0,G),G.currentTarget=null}function yy(G,q){q=0!=(4&q);for(var Z=0;Z<G.length;Z++){var ee=G[Z],ne=ee.event;ee=ee.listeners;e:{var ie=void 0;if(q)for(var se=ee.length-1;0<=se;se--){var fe=ee[se],_e=fe.instance,Le=fe.currentTarget;if(fe=fe.listener,_e!==ie&&ne.isPropagationStopped())break e;Xf(ne,fe,Le),ie=_e}else for(se=0;se<ee.length;se++){if(_e=(fe=ee[se]).instance,Le=fe.currentTarget,fe=fe.listener,_e!==ie&&ne.isPropagationStopped())break e;Xf(ne,fe,Le),ie=_e}}}if(Qs)throw G=ed,Qs=!1,ed=null,G}function Vr(G,q){var Z=q[em];void 0===Z&&(Z=q[em]=new Set);var ee=G+"__bubble";Z.has(ee)||(rb(q,G,2,!1),Z.add(ee))}function yd(G,q,Z){var ee=0;q&&(ee|=4),rb(Z,G,ee,q)}var Qf="_reactListening"+Math.random().toString(36).slice(2);function Wl(G){if(!G[Qf]){G[Qf]=!0,Xe.forEach(function(Z){"selectionchange"!==Z&&(nb.has(Z)||yd(Z,!1,G),yd(Z,!0,G))});var q=9===G.nodeType?G:G.ownerDocument;null===q||q[Qf]||(q[Qf]=!0,yd("selectionchange",!1,q))}}function rb(G,q,Z,ee){switch(Nn(q)){case 1:var ne=Oe;break;case 4:ne=At;break;default:ne=Pn}Z=ne.bind(null,q,Z,G),ne=void 0,!Fc||"touchstart"!==q&&"touchmove"!==q&&"wheel"!==q||(ne=!0),G.addEventListener(q,Z,ee?void 0===ne||{capture:!0,passive:ne}:void 0!==ne&&{passive:ne})}function jr(G,q,Z,ee,ne){var ie=ee;if(0==(1&q)&&0==(2&q)&&null!==ee)e:for(;;){if(null===ee)return;var se=ee.tag;if(3===se||4===se){var fe=ee.stateNode.containerInfo;if(fe===ne||8===fe.nodeType&&fe.parentNode===ne)break;if(4===se)for(se=ee.return;null!==se;){var _e=se.tag;if((3===_e||4===_e)&&((_e=se.stateNode.containerInfo)===ne||8===_e.nodeType&&_e.parentNode===ne))return;se=se.return}for(;null!==fe;){if(null===(se=si(fe)))return;if(5===(_e=se.tag)||6===_e){ee=ie=se;continue e}fe=fe.parentNode}}ee=ee.return}Of(function(){var Le=ie,Je=Ho(Z),at=[];e:{var qe=gy.get(G);if(void 0!==qe){var Tt=al,Bt=G;switch(G){case"keypress":if(0===ol(Z))break e;case"keydown":case"keyup":Tt=Gp;break;case"focusin":Bt="focus",Tt=Wf;break;case"focusout":Bt="blur",Tt=Wf;break;case"beforeblur":case"afterblur":Tt=Wf;break;case"click":if(2===Z.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Tt=Bc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Tt=Rr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Tt=Ji;break;case qp:case ai:case Xp:Tt=cy;break;case my:Tt=ra;break;case"scroll":Tt=$f;break;case"wheel":Tt=Fn;break;case"copy":case"cut":case"paste":Tt=$0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Tt=ud}var zt=0!=(4&q),ti=!zt&&"scroll"===G,Ae=zt?null!==qe?qe+"Capture":null:qe;zt=[];for(var Te,Ce=Le;null!==Ce;){var dt=(Te=Ce).stateNode;if(5===Te.tag&&null!==dt&&(Te=dt,null!==Ae&&null!=(dt=ya(Ce,Ae))&&zt.push(Wc(Ce,dt,Te))),ti)break;Ce=Ce.return}0<zt.length&&(qe=new Tt(qe,Bt,null,Z,Je),at.push({event:qe,listeners:zt}))}}if(0==(7&q)){if(Tt="mouseout"===G||"pointerout"===G,(!(qe="mouseover"===G||"pointerover"===G)||Z===Gn||!(Bt=Z.relatedTarget||Z.fromElement)||!si(Bt)&&!Bt[ws])&&(Tt||qe)&&(qe=Je.window===Je?Je:(qe=Je.ownerDocument)?qe.defaultView||qe.parentWindow:window,Tt?(Tt=Le,null!==(Bt=(Bt=Z.relatedTarget||Z.toElement)?si(Bt):null)&&(Bt!==(ti=Ua(Bt))||5!==Bt.tag&&6!==Bt.tag)&&(Bt=null)):(Tt=null,Bt=Le),Tt!==Bt)){if(zt=Bc,dt="onMouseLeave",Ae="onMouseEnter",Ce="mouse",("pointerout"===G||"pointerover"===G)&&(zt=ud,dt="onPointerLeave",Ae="onPointerEnter",Ce="pointer"),ti=null==Tt?qe:Yl(Tt),Te=null==Bt?qe:Yl(Bt),(qe=new zt(dt,Ce+"leave",Tt,Z,Je)).target=ti,qe.relatedTarget=Te,dt=null,si(Je)===Le&&((zt=new zt(Ae,Ce+"enter",Bt,Z,Je)).target=Te,zt.relatedTarget=ti,dt=zt),ti=dt,Tt&&Bt)t:{for(Ae=Bt,Ce=0,Te=zt=Tt;Te;Te=Br(Te))Ce++;for(Te=0,dt=Ae;dt;dt=Br(dt))Te++;for(;0<Ce-Te;)zt=Br(zt),Ce--;for(;0<Te-Ce;)Ae=Br(Ae),Te--;for(;Ce--;){if(zt===Ae||null!==Ae&&zt===Ae.alternate)break t;zt=Br(zt),Ae=Br(Ae)}zt=null}else zt=null;null!==Tt&&_y(at,qe,Tt,zt,!1),null!==Bt&&null!==ti&&_y(at,ti,Bt,zt,!0)}if("select"===(Tt=(qe=Le?Yl(Le):window).nodeName&&qe.nodeName.toLowerCase())||"input"===Tt&&"file"===qe.type)var Wt=G0;else if(lo(qe))if(Ea)Wt=q0;else{Wt=s1;var Jt=Y0}else(Tt=qe.nodeName)&&"input"===Tt.toLowerCase()&&("checkbox"===qe.type||"radio"===qe.type)&&(Wt=K0);switch(Wt&&(Wt=Wt(G,Le))?Uc(at,Wt,Z,Je):(Jt&&Jt(G,qe,Le),"focusout"===G&&(Jt=qe._wrapperState)&&Jt.controlled&&"number"===qe.type&&ga(qe,"number",qe.value)),Jt=Le?Yl(Le):window,G){case"focusin":(lo(Jt)||"true"===Jt.contentEditable)&&(pd=Jt,fy=Le,qf=null);break;case"focusout":qf=fy=pd=null;break;case"mousedown":hy=!0;break;case"contextmenu":case"mouseup":case"dragend":hy=!1,Kp(at,Z,Je);break;case"selectionchange":if(u1)break;case"keydown":case"keyup":Kp(at,Z,Je)}var en;if(so)e:{switch(G){case"compositionstart":var on="onCompositionStart";break e;case"compositionend":on="onCompositionEnd";break e;case"compositionupdate":on="onCompositionUpdate";break e}on=void 0}else _s?Ul(G,Z)&&(on="onCompositionEnd"):"keydown"===G&&229===Z.keyCode&&(on="onCompositionStart");on&&(ll&&"ko"!==Z.locale&&(_s||"onCompositionStart"!==on?"onCompositionEnd"===on&&_s&&(en=il()):(Ir="value"in(ir=Je)?ir.value:ir.textContent,_s=!0)),0<(Jt=Zf(Le,on)).length&&(on=new Mt(on,G,null,Z,Je),at.push({event:on,listeners:Jt}),(en||null!==(en=bn(Z)))&&(on.data=en))),(en=Ti?function jc(G,q){switch(G){case"compositionend":return bn(q);case"keypress":return 32!==q.which?null:(Hc=!0,Zr);case"textInput":return(G=q.data)===Zr&&Hc?null:G;default:return null}}(G,Z):function Yp(G,q){if(_s)return"compositionend"===G||!so&&Ul(G,q)?(G=il(),Ai=Ir=ir=null,_s=!1,G):null;switch(G){case"paste":default:return null;case"keypress":if(!(q.ctrlKey||q.altKey||q.metaKey)||q.ctrlKey&&q.altKey){if(q.char&&1<q.char.length)return q.char;if(q.which)return String.fromCharCode(q.which)}return null;case"compositionend":return ll&&"ko"!==q.locale?null:q.data}}(G,Z))&&0<(Le=Zf(Le,"onBeforeInput")).length&&(Je=new Mt("onBeforeInput","beforeinput",null,Z,Je),at.push({event:Je,listeners:Le}),Je.data=en)}yy(at,q)})}function Wc(G,q,Z){return{instance:G,listener:q,currentTarget:Z}}function Zf(G,q){for(var Z=q+"Capture",ee=[];null!==G;){var ne=G,ie=ne.stateNode;5===ne.tag&&null!==ie&&(ne=ie,null!=(ie=ya(G,Z))&&ee.unshift(Wc(G,ie,ne)),null!=(ie=ya(G,q))&&ee.push(Wc(G,ie,ne))),G=G.return}return ee}function Br(G){if(null===G)return null;do{G=G.return}while(G&&5!==G.tag);return G||null}function _y(G,q,Z,ee,ne){for(var ie=q._reactName,se=[];null!==Z&&Z!==ee;){var fe=Z,_e=fe.alternate,Le=fe.stateNode;if(null!==_e&&_e===ee)break;5===fe.tag&&null!==Le&&(fe=Le,ne?null!=(_e=ya(Z,ie))&&se.unshift(Wc(Z,_e,fe)):ne||null!=(_e=ya(Z,ie))&&se.push(Wc(Z,_e,fe))),Z=Z.return}0!==se.length&&G.push({event:q,listeners:se})}var d1=/\r\n?/g,Jf=/\u0000|\uFFFD/g;function zo(G){return("string"==typeof G?G:""+G).replace(d1,"\n").replace(Jf,"")}function eh(G,q,Z){if(q=zo(q),zo(G)!==q&&Z)throw Error(be(425))}function Gc(){}var cl=null,uo=null;function th(G,q){return"textarea"===G||"noscript"===G||"string"==typeof q.children||"number"==typeof q.children||"object"==typeof q.dangerouslySetInnerHTML&&null!==q.dangerouslySetInnerHTML&&null!=q.dangerouslySetInnerHTML.__html}var _d="function"==typeof setTimeout?setTimeout:void 0,ib="function"==typeof clearTimeout?clearTimeout:void 0,bs="function"==typeof Promise?Promise:void 0,vy="function"==typeof queueMicrotask?queueMicrotask:void 0!==bs?function(G){return bs.resolve(null).then(G).catch(Jp)}:_d;function Jp(G){setTimeout(function(){throw G})}function sn(G,q){var Z=q,ee=0;do{var ne=Z.nextSibling;if(G.removeChild(Z),ne&&8===ne.nodeType)if("/$"===(Z=ne.data)){if(0===ee)return G.removeChild(ne),void nn(q);ee--}else"$"!==Z&&"$?"!==Z&&"$!"!==Z||ee++;Z=ne}while(Z);nn(q)}function Gl(G){for(;null!=G;G=G.nextSibling){var q=G.nodeType;if(1===q||3===q)break;if(8===q){if("$"===(q=G.data)||"$!"===q||"$?"===q)break;if("/$"===q)return null}}return G}function by(G){G=G.previousSibling;for(var q=0;G;){if(8===G.nodeType){var Z=G.data;if("$"===Z||"$!"===Z||"$?"===Z){if(0===q)return G;q--}else"/$"===Z&&q++}G=G.previousSibling}return null}var Yc=Math.random().toString(36).slice(2),qa="__reactFiber$"+Yc,Kc="__reactProps$"+Yc,ws="__reactContainer$"+Yc,em="__reactEvents$"+Yc,Qe="__reactListeners$"+Yc,Yn="__reactHandles$"+Yc;function si(G){var q=G[qa];if(q)return q;for(var Z=G.parentNode;Z;){if(q=Z[ws]||Z[qa]){if(Z=q.alternate,null!==q.child||null!==Z&&null!==Z.child)for(G=by(G);null!==G;){if(Z=G[qa])return Z;G=by(G)}return q}Z=(G=Z).parentNode}return null}function Gr(G){return!(G=G[qa]||G[ws])||5!==G.tag&&6!==G.tag&&13!==G.tag&&3!==G.tag?null:G}function Yl(G){if(5===G.tag||6===G.tag)return G.stateNode;throw Error(be(33))}function ul(G){return G[Kc]||null}var aa=[],dl=-1;function Xa(G){return{current:G}}function zr(G){0>dl||(G.current=aa[dl],aa[dl]=null,dl--)}function Pr(G,q){dl++,aa[dl]=G.current,G.current=q}var Da={},Ci=Xa(Da),Er=Xa(!1),fo=Da;function Kl(G,q){var Z=G.type.contextTypes;if(!Z)return Da;var ee=G.stateNode;if(ee&&ee.__reactInternalMemoizedUnmaskedChildContext===q)return ee.__reactInternalMemoizedMaskedChildContext;var ie,ne={};for(ie in Z)ne[ie]=q[ie];return ee&&((G=G.stateNode).__reactInternalMemoizedUnmaskedChildContext=q,G.__reactInternalMemoizedMaskedChildContext=ne),ne}function Ei(G){return null!=G.childContextTypes}function sa(){zr(Er),zr(Ci)}function wy(G,q,Z){if(Ci.current!==Da)throw Error(be(168));Pr(Ci,q),Pr(Er,Z)}function tm(G,q,Z){var ee=G.stateNode;if(q=q.childContextTypes,"function"!=typeof ee.getChildContext)return Z;for(var ne in ee=ee.getChildContext())if(!(ne in q))throw Error(be(108,xr(G)||"Unknown",ne));return He({},Z,ee)}function nh(G){return G=(G=G.stateNode)&&G.__reactInternalMemoizedMergedChildContext||Da,fo=Ci.current,Pr(Ci,G),Pr(Er,Er.current),!0}function Cy(G,q,Z){var ee=G.stateNode;if(!ee)throw Error(be(169));Z?(G=tm(G,q,fo),ee.__reactInternalMemoizedMergedChildContext=G,zr(Er),zr(Ci),Pr(Ci,G)):zr(Er),Pr(Er,Z)}var ka=null,qc=!1,rh=!1;function ih(G){null===ka?ka=[G]:ka.push(G)}function Cs(){if(!rh&&null!==ka){rh=!0;var G=0,q=vr;try{var Z=ka;for(vr=1;G<Z.length;G++){var ee=Z[G];do{ee=ee(!0)}while(null!==ee)}ka=null,qc=!1}catch(ne){throw null!==ka&&(ka=ka.slice(G+1)),Rc(Js,Cs),ne}finally{vr=q,rh=!1}}return null}var Es=[],ql=0,vd=null,bd=0,Uo=[],ho=0,Xl=null,Ds=1,Yr="";function ko(G,q){Es[ql++]=bd,Es[ql++]=vd,vd=G,bd=q}function Kr(G,q,Z){Uo[ho++]=Ds,Uo[ho++]=Yr,Uo[ho++]=Xl,Xl=G;var ee=Ds;G=Yr;var ne=32-Eo(ee)-1;ee&=~(1<<ne),Z+=1;var ie=32-Eo(q)+ne;if(30<ie){var se=ne-ne%5;ie=(ee&(1<<se)-1).toString(32),ee>>=se,ne-=se,Ds=1<<32-Eo(q)+ne|Z<<ne|ee,Yr=ie+G}else Ds=1<<ie|Z<<ne|ee,Yr=G}function Ql(G){null!==G.return&&(ko(G,1),Kr(G,1,0))}function nm(G){for(;G===vd;)vd=Es[--ql],Es[ql]=null,bd=Es[--ql],Es[ql]=null;for(;G===Xl;)Xl=Uo[--ho],Uo[ho]=null,Yr=Uo[--ho],Uo[ho]=null,Ds=Uo[--ho],Uo[ho]=null}var So=null,$o=null,Ur=!1,Sa=null;function wd(G,q){var Z=da(5,null,null,0);Z.elementType="DELETED",Z.stateNode=q,Z.return=G,null===(q=G.deletions)?(G.deletions=[Z],G.flags|=16):q.push(Z)}function Cd(G,q){switch(G.tag){case 5:var Z=G.type;return null!==(q=1!==q.nodeType||Z.toLowerCase()!==q.nodeName.toLowerCase()?null:q)&&(G.stateNode=q,So=G,$o=Gl(q.firstChild),!0);case 6:return null!==(q=""===G.pendingProps||3!==q.nodeType?null:q)&&(G.stateNode=q,So=G,$o=null,!0);case 13:return null!==(q=8!==q.nodeType?null:q)&&(G.memoizedState={dehydrated:q,treeContext:Z=null!==Xl?{id:Ds,overflow:Yr}:null,retryLane:1073741824},(Z=da(18,null,null,0)).stateNode=q,Z.return=G,G.child=Z,So=G,$o=null,!0);default:return!1}}function Xc(G){return 0!=(1&G.mode)&&0==(128&G.flags)}function Ed(G){if(Ur){var q=$o;if(q){var Z=q;if(!Cd(G,q)){if(Xc(G))throw Error(be(418));q=Gl(Z.nextSibling);var ee=So;q&&Cd(G,q)?wd(ee,Z):(G.flags=-4097&G.flags|2,Ur=!1,So=G)}}else{if(Xc(G))throw Error(be(418));G.flags=-4097&G.flags|2,Ur=!1,So=G}}}function rm(G){for(G=G.return;null!==G&&5!==G.tag&&3!==G.tag&&13!==G.tag;)G=G.return;So=G}function oh(G){if(G!==So)return!1;if(!Ur)return rm(G),Ur=!0,!1;var q;if((q=3!==G.tag)&&!(q=5!==G.tag)&&(q="head"!==(q=G.type)&&"body"!==q&&!th(G.type,G.memoizedProps)),q&&(q=$o)){if(Xc(G))throw ks(),Error(be(418));for(;q;)wd(G,q),q=Gl(q.nextSibling)}if(rm(G),13===G.tag){if(!(G=null!==(G=G.memoizedState)?G.dehydrated:null))throw Error(be(317));e:{for(G=G.nextSibling,q=0;G;){if(8===G.nodeType){var Z=G.data;if("/$"===Z){if(0===q){$o=Gl(G.nextSibling);break e}q--}else"$"!==Z&&"$!"!==Z&&"$?"!==Z||q++}G=G.nextSibling}$o=null}}else $o=So?Gl(G.stateNode.nextSibling):null;return!0}function ks(){for(var G=$o;G;)G=Gl(G.nextSibling)}function Qa(){$o=So=null,Ur=!1}function im(G){null===Sa?Sa=[G]:Sa.push(G)}var ab=tr.ReactCurrentBatchConfig;function po(G,q){if(G&&G.defaultProps){for(var Z in q=He({},q),G=G.defaultProps)void 0===q[Z]&&(q[Z]=G[Z]);return q}return q}var Qc=Xa(null),ah=null,Zc=null,Ey=null;function Dy(){Ey=Zc=ah=null}function Jc(G){var q=Qc.current;zr(Qc),G._currentValue=q}function sh(G,q,Z){for(;null!==G;){var ee=G.alternate;if((G.childLanes&q)!==q?(G.childLanes|=q,null!==ee&&(ee.childLanes|=q)):null!==ee&&(ee.childLanes&q)!==q&&(ee.childLanes|=q),G===Z)break;G=G.return}}function fl(G,q){ah=G,Ey=Zc=null,null!==(G=G.dependencies)&&null!==G.firstContext&&(0!=(G.lanes&q)&&(qr=!0),G.firstContext=null)}function mo(G){var q=G._currentValue;if(Ey!==G)if(G={context:G,memoizedValue:q,next:null},null===Zc){if(null===ah)throw Error(be(308));Zc=G,ah.dependencies={lanes:0,firstContext:G}}else Zc=Zc.next=G;return q}var hl=null;function lh(G){null===hl?hl=[G]:hl.push(G)}function Zl(G,q,Z,ee){var ne=q.interleaved;return null===ne?(Z.next=Z,lh(q)):(Z.next=ne.next,ne.next=Z),q.interleaved=Z,Ss(G,ee)}function Ss(G,q){G.lanes|=q;var Z=G.alternate;for(null!==Z&&(Z.lanes|=q),Z=G,G=G.return;null!==G;)G.childLanes|=q,null!==(Z=G.alternate)&&(Z.childLanes|=q),Z=G,G=G.return;return 3===Z.tag?Z.stateNode:null}var Wo=!1;function Dd(G){G.updateQueue={baseState:G.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function kd(G,q){q.updateQueue===(G=G.updateQueue)&&(q.updateQueue={baseState:G.baseState,firstBaseUpdate:G.firstBaseUpdate,lastBaseUpdate:G.lastBaseUpdate,shared:G.shared,effects:G.effects})}function pl(G,q){return{eventTime:G,lane:q,tag:0,payload:null,callback:null,next:null}}function xs(G,q,Z){var ee=G.updateQueue;if(null===ee)return null;if(ee=ee.shared,0!=(2&ar)){var ne=ee.pending;return null===ne?q.next=q:(q.next=ne.next,ne.next=q),ee.pending=q,Ss(G,Z)}return null===(ne=ee.interleaved)?(q.next=q,lh(ee)):(q.next=ne.next,ne.next=q),ee.interleaved=q,Ss(G,Z)}function Sd(G,q,Z){if(null!==(q=q.updateQueue)&&(q=q.shared,0!=(4194240&Z))){var ee=q.lanes;q.lanes=Z|=ee&=G.pendingLanes,id(G,Z)}}function ky(G,q){var Z=G.updateQueue,ee=G.alternate;if(null===ee||Z!==(ee=ee.updateQueue))null===(G=Z.lastBaseUpdate)?Z.firstBaseUpdate=q:G.next=q,Z.lastBaseUpdate=q;else{var ne=null,ie=null;if(null!==(Z=Z.firstBaseUpdate)){do{var se={eventTime:Z.eventTime,lane:Z.lane,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};null===ie?ne=ie=se:ie=ie.next=se,Z=Z.next}while(null!==Z);null===ie?ne=ie=q:ie=ie.next=q}else ne=ie=q;G.updateQueue=Z={baseState:ee.baseState,firstBaseUpdate:ne,lastBaseUpdate:ie,shared:ee.shared,effects:ee.effects}}}function ch(G,q,Z,ee){var ne=G.updateQueue;Wo=!1;var ie=ne.firstBaseUpdate,se=ne.lastBaseUpdate,fe=ne.shared.pending;if(null!==fe){ne.shared.pending=null;var _e=fe,Le=_e.next;_e.next=null,null===se?ie=Le:se.next=Le,se=_e;var Je=G.alternate;null!==Je&&(fe=(Je=Je.updateQueue).lastBaseUpdate)!==se&&(null===fe?Je.firstBaseUpdate=Le:fe.next=Le,Je.lastBaseUpdate=_e)}if(null!==ie){var at=ne.baseState;for(se=0,Je=Le=_e=null,fe=ie;;){var qe=fe.lane,Tt=fe.eventTime;if((ee&qe)===qe){null!==Je&&(Je=Je.next={eventTime:Tt,lane:0,tag:fe.tag,payload:fe.payload,callback:fe.callback,next:null});e:{var Bt=G,zt=fe;switch(qe=q,Tt=Z,zt.tag){case 1:if("function"==typeof(Bt=zt.payload)){at=Bt.call(Tt,at,qe);break e}at=Bt;break e;case 3:Bt.flags=-65537&Bt.flags|128;case 0:if(null==(qe="function"==typeof(Bt=zt.payload)?Bt.call(Tt,at,qe):Bt))break e;at=He({},at,qe);break e;case 2:Wo=!0}}null!==fe.callback&&0!==fe.lane&&(G.flags|=64,null===(qe=ne.effects)?ne.effects=[fe]:qe.push(fe))}else Tt={eventTime:Tt,lane:qe,tag:fe.tag,payload:fe.payload,callback:fe.callback,next:null},null===Je?(Le=Je=Tt,_e=at):Je=Je.next=Tt,se|=qe;if(null===(fe=fe.next)){if(null===(fe=ne.shared.pending))break;fe=(qe=fe).next,qe.next=null,ne.lastBaseUpdate=qe,ne.shared.pending=null}}if(null===Je&&(_e=at),ne.baseState=_e,ne.firstBaseUpdate=Le,ne.lastBaseUpdate=Je,null!==(q=ne.shared.interleaved)){ne=q;do{se|=ne.lane,ne=ne.next}while(ne!==q)}else null===ie&&(ne.shared.lanes=0);Ja|=se,G.lanes=se,G.memoizedState=at}}function eu(G,q,Z){if(G=q.effects,q.effects=null,null!==G)for(q=0;q<G.length;q++){var ee=G[q],ne=ee.callback;if(null!==ne){if(ee.callback=null,ee=Z,"function"!=typeof ne)throw Error(be(191,ne));ne.call(ee)}}}var uh=(new we.Component).refs;function xd(G,q,Z,ee){Z=null==(Z=Z(ee,q=G.memoizedState))?q:He({},q,Z),G.memoizedState=Z,0===G.lanes&&(G.updateQueue.baseState=Z)}var Jl={isMounted:function(G){return!!(G=G._reactInternals)&&Ua(G)===G},enqueueSetState:function(G,q,Z){G=G._reactInternals;var ee=Wi(),ne=Fs(G),ie=pl(ee,ne);ie.payload=q,null!=Z&&(ie.callback=Z),null!==(q=xs(G,ie,ne))&&(ua(q,G,ne,ee),Sd(q,G,ne))},enqueueReplaceState:function(G,q,Z){G=G._reactInternals;var ee=Wi(),ne=Fs(G),ie=pl(ee,ne);ie.tag=1,ie.payload=q,null!=Z&&(ie.callback=Z),null!==(q=xs(G,ie,ne))&&(ua(q,G,ne,ee),Sd(q,G,ne))},enqueueForceUpdate:function(G,q){G=G._reactInternals;var Z=Wi(),ee=Fs(G),ne=pl(Z,ee);ne.tag=2,null!=q&&(ne.callback=q),null!==(q=xs(G,ne,ee))&&(ua(q,G,ee,Z),Sd(q,G,ee))}};function Md(G,q,Z,ee,ne,ie,se){return"function"==typeof(G=G.stateNode).shouldComponentUpdate?G.shouldComponentUpdate(ee,ie,se):!(q.prototype&&q.prototype.isPureReactComponent&&Kf(Z,ee)&&Kf(ne,ie))}function Sy(G,q,Z){var ee=!1,ne=Da,ie=q.contextType;return"object"==typeof ie&&null!==ie?ie=mo(ie):(ne=Ei(q)?fo:Ci.current,ie=(ee=null!=(ee=q.contextTypes))?Kl(G,ne):Da),q=new q(Z,ie),G.memoizedState=null!=q.state?q.state:null,q.updater=Jl,G.stateNode=q,q._reactInternals=G,ee&&((G=G.stateNode).__reactInternalMemoizedUnmaskedChildContext=ne,G.__reactInternalMemoizedMaskedChildContext=ie),q}function om(G,q,Z,ee){G=q.state,"function"==typeof q.componentWillReceiveProps&&q.componentWillReceiveProps(Z,ee),"function"==typeof q.UNSAFE_componentWillReceiveProps&&q.UNSAFE_componentWillReceiveProps(Z,ee),q.state!==G&&Jl.enqueueReplaceState(q,q.state,null)}function dh(G,q,Z,ee){var ne=G.stateNode;ne.props=Z,ne.state=G.memoizedState,ne.refs=uh,Dd(G);var ie=q.contextType;"object"==typeof ie&&null!==ie?ne.context=mo(ie):(ie=Ei(q)?fo:Ci.current,ne.context=Kl(G,ie)),ne.state=G.memoizedState,"function"==typeof(ie=q.getDerivedStateFromProps)&&(xd(G,q,ie,Z),ne.state=G.memoizedState),"function"==typeof q.getDerivedStateFromProps||"function"==typeof ne.getSnapshotBeforeUpdate||"function"!=typeof ne.UNSAFE_componentWillMount&&"function"!=typeof ne.componentWillMount||(q=ne.state,"function"==typeof ne.componentWillMount&&ne.componentWillMount(),"function"==typeof ne.UNSAFE_componentWillMount&&ne.UNSAFE_componentWillMount(),q!==ne.state&&Jl.enqueueReplaceState(ne,ne.state,null),ch(G,Z,ne,ee),ne.state=G.memoizedState),"function"==typeof ne.componentDidMount&&(G.flags|=4194308)}function tu(G,q,Z){if(null!==(G=Z.ref)&&"function"!=typeof G&&"object"!=typeof G){if(Z._owner){if(Z=Z._owner){if(1!==Z.tag)throw Error(be(309));var ee=Z.stateNode}if(!ee)throw Error(be(147,G));var ne=ee,ie=""+G;return null!==q&&null!==q.ref&&"function"==typeof q.ref&&q.ref._stringRef===ie?q.ref:((q=function(se){var fe=ne.refs;fe===uh&&(fe=ne.refs={}),null===se?delete fe[ie]:fe[ie]=se})._stringRef=ie,q)}if("string"!=typeof G)throw Error(be(284));if(!Z._owner)throw Error(be(290,G))}return G}function Ad(G,q){throw G=Object.prototype.toString.call(q),Error(be(31,"[object Object]"===G?"object with keys {"+Object.keys(q).join(", ")+"}":G))}function xy(G){return(0,G._init)(G._payload)}function My(G){function q(Ae,Ce){if(G){var Te=Ae.deletions;null===Te?(Ae.deletions=[Ce],Ae.flags|=16):Te.push(Ce)}}function Z(Ae,Ce){if(!G)return null;for(;null!==Ce;)q(Ae,Ce),Ce=Ce.sibling;return null}function ee(Ae,Ce){for(Ae=new Map;null!==Ce;)Ae.set(null!==Ce.key?Ce.key:Ce.index,Ce),Ce=Ce.sibling;return Ae}function ne(Ae,Ce){return(Ae=Gi(Ae,Ce)).index=0,Ae.sibling=null,Ae}function ie(Ae,Ce,Te){return Ae.index=Te,G?null!==(Te=Ae.alternate)?(Te=Te.index)<Ce?(Ae.flags|=2,Ce):Te:(Ae.flags|=2,Ce):(Ae.flags|=1048576,Ce)}function se(Ae){return G&&null===Ae.alternate&&(Ae.flags|=2),Ae}function fe(Ae,Ce,Te,dt){return null===Ce||6!==Ce.tag?((Ce=u_(Te,Ae.mode,dt)).return=Ae,Ce):((Ce=ne(Ce,Te)).return=Ae,Ce)}function _e(Ae,Ce,Te,dt){var Wt=Te.type;return Wt===Sr?Je(Ae,Ce,Te.props.children,dt,Te.key):null!==Ce&&(Ce.elementType===Wt||"object"==typeof Wt&&null!==Wt&&Wt.$$typeof===rt&&xy(Wt)===Ce.type)?((dt=ne(Ce,Te.props)).ref=tu(Ae,Ce,Te),dt.return=Ae,dt):((dt=Rm(Te.type,Te.key,Te.props,null,Ae.mode,dt)).ref=tu(Ae,Ce,Te),dt.return=Ae,dt)}function Le(Ae,Ce,Te,dt){return null===Ce||4!==Ce.tag||Ce.stateNode.containerInfo!==Te.containerInfo||Ce.stateNode.implementation!==Te.implementation?((Ce=yo(Te,Ae.mode,dt)).return=Ae,Ce):((Ce=ne(Ce,Te.children||[])).return=Ae,Ce)}function Je(Ae,Ce,Te,dt,Wt){return null===Ce||7!==Ce.tag?((Ce=Cu(Te,Ae.mode,dt,Wt)).return=Ae,Ce):((Ce=ne(Ce,Te)).return=Ae,Ce)}function at(Ae,Ce,Te){if("string"==typeof Ce&&""!==Ce||"number"==typeof Ce)return(Ce=u_(""+Ce,Ae.mode,Te)).return=Ae,Ce;if("object"==typeof Ce&&null!==Ce){switch(Ce.$$typeof){case dn:return(Te=Rm(Ce.type,Ce.key,Ce.props,null,Ae.mode,Te)).ref=tu(Ae,null,Ce),Te.return=Ae,Te;case Xr:return(Ce=yo(Ce,Ae.mode,Te)).return=Ae,Ce;case rt:return at(Ae,(0,Ce._init)(Ce._payload),Te)}if(bi(Ce)||De(Ce))return(Ce=Cu(Ce,Ae.mode,Te,null)).return=Ae,Ce;Ad(Ae,Ce)}return null}function qe(Ae,Ce,Te,dt){var Wt=null!==Ce?Ce.key:null;if("string"==typeof Te&&""!==Te||"number"==typeof Te)return null!==Wt?null:fe(Ae,Ce,""+Te,dt);if("object"==typeof Te&&null!==Te){switch(Te.$$typeof){case dn:return Te.key===Wt?_e(Ae,Ce,Te,dt):null;case Xr:return Te.key===Wt?Le(Ae,Ce,Te,dt):null;case rt:return qe(Ae,Ce,(Wt=Te._init)(Te._payload),dt)}if(bi(Te)||De(Te))return null!==Wt?null:Je(Ae,Ce,Te,dt,null);Ad(Ae,Te)}return null}function Tt(Ae,Ce,Te,dt,Wt){if("string"==typeof dt&&""!==dt||"number"==typeof dt)return fe(Ce,Ae=Ae.get(Te)||null,""+dt,Wt);if("object"==typeof dt&&null!==dt){switch(dt.$$typeof){case dn:return _e(Ce,Ae=Ae.get(null===dt.key?Te:dt.key)||null,dt,Wt);case Xr:return Le(Ce,Ae=Ae.get(null===dt.key?Te:dt.key)||null,dt,Wt);case rt:return Tt(Ae,Ce,Te,(0,dt._init)(dt._payload),Wt)}if(bi(dt)||De(dt))return Je(Ce,Ae=Ae.get(Te)||null,dt,Wt,null);Ad(Ce,dt)}return null}return function ti(Ae,Ce,Te,dt){if("object"==typeof Te&&null!==Te&&Te.type===Sr&&null===Te.key&&(Te=Te.props.children),"object"==typeof Te&&null!==Te){switch(Te.$$typeof){case dn:e:{for(var Wt=Te.key,Jt=Ce;null!==Jt;){if(Jt.key===Wt){if((Wt=Te.type)===Sr){if(7===Jt.tag){Z(Ae,Jt.sibling),(Ce=ne(Jt,Te.props.children)).return=Ae,Ae=Ce;break e}}else if(Jt.elementType===Wt||"object"==typeof Wt&&null!==Wt&&Wt.$$typeof===rt&&xy(Wt)===Jt.type){Z(Ae,Jt.sibling),(Ce=ne(Jt,Te.props)).ref=tu(Ae,Jt,Te),Ce.return=Ae,Ae=Ce;break e}Z(Ae,Jt);break}q(Ae,Jt),Jt=Jt.sibling}Te.type===Sr?((Ce=Cu(Te.props.children,Ae.mode,dt,Te.key)).return=Ae,Ae=Ce):((dt=Rm(Te.type,Te.key,Te.props,null,Ae.mode,dt)).ref=tu(Ae,Ce,Te),dt.return=Ae,Ae=dt)}return se(Ae);case Xr:e:{for(Jt=Te.key;null!==Ce;){if(Ce.key===Jt){if(4===Ce.tag&&Ce.stateNode.containerInfo===Te.containerInfo&&Ce.stateNode.implementation===Te.implementation){Z(Ae,Ce.sibling),(Ce=ne(Ce,Te.children||[])).return=Ae,Ae=Ce;break e}Z(Ae,Ce);break}q(Ae,Ce),Ce=Ce.sibling}(Ce=yo(Te,Ae.mode,dt)).return=Ae,Ae=Ce}return se(Ae);case rt:return ti(Ae,Ce,(Jt=Te._init)(Te._payload),dt)}if(bi(Te))return function Bt(Ae,Ce,Te,dt){for(var Wt=null,Jt=null,en=Ce,on=Ce=0,ni=null;null!==en&&on<Te.length;on++){en.index>on?(ni=en,en=null):ni=en.sibling;var sr=qe(Ae,en,Te[on],dt);if(null===sr){null===en&&(en=ni);break}G&&en&&null===sr.alternate&&q(Ae,en),Ce=ie(sr,Ce,on),null===Jt?Wt=sr:Jt.sibling=sr,Jt=sr,en=ni}if(on===Te.length)return Z(Ae,en),Ur&&ko(Ae,on),Wt;if(null===en){for(;on<Te.length;on++)null!==(en=at(Ae,Te[on],dt))&&(Ce=ie(en,Ce,on),null===Jt?Wt=en:Jt.sibling=en,Jt=en);return Ur&&ko(Ae,on),Wt}for(en=ee(Ae,en);on<Te.length;on++)null!==(ni=Tt(en,Ae,on,Te[on],dt))&&(G&&null!==ni.alternate&&en.delete(null===ni.key?on:ni.key),Ce=ie(ni,Ce,on),null===Jt?Wt=ni:Jt.sibling=ni,Jt=ni);return G&&en.forEach(function(Rs){return q(Ae,Rs)}),Ur&&ko(Ae,on),Wt}(Ae,Ce,Te,dt);if(De(Te))return function zt(Ae,Ce,Te,dt){var Wt=De(Te);if("function"!=typeof Wt)throw Error(be(150));if(null==(Te=Wt.call(Te)))throw Error(be(151));for(var Jt=Wt=null,en=Ce,on=Ce=0,ni=null,sr=Te.next();null!==en&&!sr.done;on++,sr=Te.next()){en.index>on?(ni=en,en=null):ni=en.sibling;var Rs=qe(Ae,en,sr.value,dt);if(null===Rs){null===en&&(en=ni);break}G&&en&&null===Rs.alternate&&q(Ae,en),Ce=ie(Rs,Ce,on),null===Jt?Wt=Rs:Jt.sibling=Rs,Jt=Rs,en=ni}if(sr.done)return Z(Ae,en),Ur&&ko(Ae,on),Wt;if(null===en){for(;!sr.done;on++,sr=Te.next())null!==(sr=at(Ae,sr.value,dt))&&(Ce=ie(sr,Ce,on),null===Jt?Wt=sr:Jt.sibling=sr,Jt=sr);return Ur&&ko(Ae,on),Wt}for(en=ee(Ae,en);!sr.done;on++,sr=Te.next())null!==(sr=Tt(en,Ae,on,sr.value,dt))&&(G&&null!==sr.alternate&&en.delete(null===sr.key?on:sr.key),Ce=ie(sr,Ce,on),null===Jt?Wt=sr:Jt.sibling=sr,Jt=sr);return G&&en.forEach(function(xb){return q(Ae,xb)}),Ur&&ko(Ae,on),Wt}(Ae,Ce,Te,dt);Ad(Ae,Te)}return"string"==typeof Te&&""!==Te||"number"==typeof Te?(Te=""+Te,null!==Ce&&6===Ce.tag?(Z(Ae,Ce.sibling),(Ce=ne(Ce,Te)).return=Ae,Ae=Ce):(Z(Ae,Ce),(Ce=u_(Te,Ae.mode,dt)).return=Ae,Ae=Ce),se(Ae)):Z(Ae,Ce)}}var Ms=My(!0),nu=My(!1),Td={},xa=Xa(Td),ru=Xa(Td),Za=Xa(Td);function Dr(G){if(G===Td)throw Error(be(174));return G}function Fd(G,q){switch(Pr(Za,q),Pr(ru,G),Pr(xa,Td),G=q.nodeType){case 9:case 11:q=(q=q.documentElement)?q.namespaceURI:Ol(null,"");break;default:q=Ol(q=(G=8===G?q.parentNode:q).namespaceURI||null,G=G.tagName)}zr(xa),Pr(xa,q)}function Ma(){zr(xa),zr(ru),zr(Za)}function ec(G){Dr(Za.current);var q=Dr(xa.current),Z=Ol(q,G.type);q!==Z&&(Pr(ru,G),Pr(xa,Z))}function ml(G){ru.current===G&&(zr(xa),zr(ru))}var kr=Xa(0);function Id(G){for(var q=G;null!==q;){if(13===q.tag){var Z=q.memoizedState;if(null!==Z&&(null===(Z=Z.dehydrated)||"$?"===Z.data||"$!"===Z.data))return q}else if(19===q.tag&&void 0!==q.memoizedProps.revealOrder){if(0!=(128&q.flags))return q}else if(null!==q.child){q.child.return=q,q=q.child;continue}if(q===G)break;for(;null===q.sibling;){if(null===q.return||q.return===G)return null;q=q.return}q.sibling.return=q.return,q=q.sibling}return null}var Rd=[];function gl(){for(var G=0;G<Rd.length;G++)Rd[G]._workInProgressVersionPrimary=null;Rd.length=0}var am=tr.ReactCurrentDispatcher,sm=tr.ReactCurrentBatchConfig,wt=0,Jr=null,Fi=null,Hi=null,lm=!1,fh=!1,hh=0,f1=0;function pi(){throw Error(be(321))}function Ay(G,q){if(null===q)return!1;for(var Z=0;Z<q.length&&Z<G.length;Z++)if(!Ya(G[Z],q[Z]))return!1;return!0}function li(G,q,Z,ee,ne,ie){if(wt=ie,Jr=q,q.memoizedState=null,q.updateQueue=null,q.lanes=0,am.current=null===G||null===G.memoizedState?ub:Bd,G=Z(ee,ne),fh){ie=0;do{if(fh=!1,hh=0,25<=ie)throw Error(be(301));ie+=1,Hi=Fi=null,q.updateQueue=null,am.current=By,G=Z(ee,ne)}while(fh)}if(am.current=Vd,q=null!==Fi&&null!==Fi.next,wt=0,Hi=Fi=Jr=null,lm=!1,q)throw Error(be(300));return G}function Od(){var G=0!==hh;return hh=0,G}function xo(){var G={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Hi?Jr.memoizedState=Hi=G:Hi=Hi.next=G,Hi}function Aa(){if(null===Fi){var G=Jr.alternate;G=null!==G?G.memoizedState:null}else G=Fi.next;var q=null===Hi?Jr.memoizedState:Hi.next;if(null!==q)Hi=q,Fi=G;else{if(null===G)throw Error(be(310));G={memoizedState:(Fi=G).memoizedState,baseState:Fi.baseState,baseQueue:Fi.baseQueue,queue:Fi.queue,next:null},null===Hi?Jr.memoizedState=Hi=G:Hi=Hi.next=G}return Hi}function Pd(G,q){return"function"==typeof q?q(G):q}function Mo(G){var q=Aa(),Z=q.queue;if(null===Z)throw Error(be(311));Z.lastRenderedReducer=G;var ee=Fi,ne=ee.baseQueue,ie=Z.pending;if(null!==ie){if(null!==ne){var se=ne.next;ne.next=ie.next,ie.next=se}ee.baseQueue=ne=ie,Z.pending=null}if(null!==ne){ee=ee.baseState;var fe=se=null,_e=null,Le=ie=ne.next;do{var Je=Le.lane;if((wt&Je)===Je)null!==_e&&(_e=_e.next={lane:0,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null}),ee=Le.hasEagerState?Le.eagerState:G(ee,Le.action);else{var at={lane:Je,action:Le.action,hasEagerState:Le.hasEagerState,eagerState:Le.eagerState,next:null};null===_e?(fe=_e=at,se=ee):_e=_e.next=at,Jr.lanes|=Je,Ja|=Je}Le=Le.next}while(null!==Le&&Le!==ie);null===_e?se=ee:_e.next=fe,Ya(ee,q.memoizedState)||(qr=!0),q.memoizedState=ee,q.baseState=se,q.baseQueue=_e,Z.lastRenderedState=ee}if(null!==(G=Z.interleaved)){ne=G;do{Jr.lanes|=ie=ne.lane,Ja|=ie,ne=ne.next}while(ne!==G)}else null===ne&&(Z.lanes=0);return[q.memoizedState,Z.dispatch]}function la(G){var q=Aa(),Z=q.queue;if(null===Z)throw Error(be(311));Z.lastRenderedReducer=G;var ee=Z.dispatch,ne=Z.pending,ie=q.memoizedState;if(null!==ne){Z.pending=null;var se=ne=ne.next;do{ie=G(ie,se.action),se=se.next}while(se!==ne);Ya(ie,q.memoizedState)||(qr=!0),q.memoizedState=ie,null===q.baseQueue&&(q.baseState=ie),Z.lastRenderedState=ie}return[ie,ee]}function cm(){}function Nd(G,q){var Z=Jr,ee=Aa(),ne=q(),ie=!Ya(ee.memoizedState,ne);if(ie&&(ee.memoizedState=ne,qr=!0),ph(Ty.bind(null,Z,ee=ee.queue,G),[G]),ee.getSnapshot!==q||ie||null!==Hi&&1&Hi.memoizedState.tag){if(Z.flags|=2048,ou(9,um.bind(null,Z,ee,ne,q),void 0,null),null===Ui)throw Error(be(349));0!=(30&wt)||iu(Z,q,ne)}return ne}function iu(G,q,Z){G.flags|=16384,G={getSnapshot:q,value:Z},null===(q=Jr.updateQueue)?(Jr.updateQueue=q={lastEffect:null,stores:null},q.stores=[G]):null===(Z=q.stores)?q.stores=[G]:Z.push(G)}function um(G,q,Z,ee){q.value=Z,q.getSnapshot=ee,Fy(q)&&sb(G)}function Ty(G,q,Z){return Z(function(){Fy(q)&&sb(G)})}function Fy(G){var q=G.getSnapshot;G=G.value;try{var Z=q();return!Ya(G,Z)}catch(ee){return!0}}function sb(G){var q=Ss(G,1);null!==q&&ua(q,G,1,-1)}function lb(G){var q=xo();return"function"==typeof G&&(G=G()),q.memoizedState=q.baseState=G,q.queue=G={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pd,lastRenderedState:G},G=G.dispatch=gh.bind(null,Jr,G),[q.memoizedState,G]}function ou(G,q,Z,ee){return G={tag:G,create:q,destroy:Z,deps:ee,next:null},null===(q=Jr.updateQueue)?(Jr.updateQueue=q={lastEffect:null,stores:null},q.lastEffect=G.next=G):null===(Z=q.lastEffect)?q.lastEffect=G.next=G:(ee=Z.next,Z.next=G,G.next=ee,q.lastEffect=G),G}function Ao(){return Aa().memoizedState}function au(G,q,Z,ee){var ne=xo();Jr.flags|=G,ne.memoizedState=ou(1|q,Z,void 0,void 0===ee?null:ee)}function As(G,q,Z,ee){var ne=Aa();ee=void 0===ee?null:ee;var ie=void 0;if(null!==Fi){var se=Fi.memoizedState;if(ie=se.destroy,null!==ee&&Ay(ee,se.deps))return void(ne.memoizedState=ou(q,Z,ie,ee))}Jr.flags|=G,ne.memoizedState=ou(1|q,Z,ie,ee)}function cb(G,q){return au(8390656,8,G,q)}function ph(G,q){return As(2048,8,G,q)}function Iy(G,q){return As(4,2,G,q)}function Ry(G,q){return As(4,4,G,q)}function Oy(G,q){return"function"==typeof q?(G=G(),q(G),function(){q(null)}):null!=q?(G=G(),q.current=G,function(){q.current=null}):void 0}function Py(G,q,Z){return Z=null!=Z?Z.concat([G]):null,As(4,4,Oy.bind(null,q,G),Z)}function dm(){}function fm(G,q){var Z=Aa();q=void 0===q?null:q;var ee=Z.memoizedState;return null!==ee&&null!==q&&Ay(q,ee[1])?ee[0]:(Z.memoizedState=[G,q],G)}function mh(G,q){var Z=Aa();q=void 0===q?null:q;var ee=Z.memoizedState;return null!==ee&&null!==q&&Ay(q,ee[1])?ee[0]:(G=G(),Z.memoizedState=[G,q],G)}function Ld(G,q,Z){return 0==(21&wt)?(G.baseState&&(G.baseState=!1,qr=!0),G.memoizedState=Z):(Ya(Z,q)||(Z=Hf(),Jr.lanes|=Z,Ja|=Z,G.baseState=!0),q)}function h1(G,q){var Z=vr;vr=0!==Z&&4>Z?Z:4,G(!0);var ee=sm.transition;sm.transition={};try{G(!1),q()}finally{vr=Z,sm.transition=ee}}function su(){return Aa().memoizedState}function hm(G,q,Z){var ee=Fs(G);Z={lane:ee,action:Z,hasEagerState:!1,eagerState:null,next:null},Ny(G)?Ly(q,Z):null!==(Z=Zl(G,q,Z,ee))&&(ua(Z,G,ee,Wi()),Vy(Z,q,ee))}function gh(G,q,Z){var ee=Fs(G),ne={lane:ee,action:Z,hasEagerState:!1,eagerState:null,next:null};if(Ny(G))Ly(q,ne);else{var ie=G.alternate;if(0===G.lanes&&(null===ie||0===ie.lanes)&&null!==(ie=q.lastRenderedReducer))try{var se=q.lastRenderedState,fe=ie(se,Z);if(ne.hasEagerState=!0,ne.eagerState=fe,Ya(fe,se)){var _e=q.interleaved;return null===_e?(ne.next=ne,lh(q)):(ne.next=_e.next,_e.next=ne),void(q.interleaved=ne)}}catch(Le){}null!==(Z=Zl(G,q,ne,ee))&&(ua(Z,G,ee,ne=Wi()),Vy(Z,q,ee))}}function Ny(G){var q=G.alternate;return G===Jr||null!==q&&q===Jr}function Ly(G,q){fh=lm=!0;var Z=G.pending;null===Z?q.next=q:(q.next=Z.next,Z.next=q),G.pending=q}function Vy(G,q,Z){if(0!=(4194240&Z)){var ee=q.lanes;q.lanes=Z|=ee&=G.pendingLanes,id(G,Z)}}var Vd={readContext:mo,useCallback:pi,useContext:pi,useEffect:pi,useImperativeHandle:pi,useInsertionEffect:pi,useLayoutEffect:pi,useMemo:pi,useReducer:pi,useRef:pi,useState:pi,useDebugValue:pi,useDeferredValue:pi,useTransition:pi,useMutableSource:pi,useSyncExternalStore:pi,useId:pi,unstable_isNewReconciler:!1},ub={readContext:mo,useCallback:function(G,q){return xo().memoizedState=[G,void 0===q?null:q],G},useContext:mo,useEffect:cb,useImperativeHandle:function(G,q,Z){return Z=null!=Z?Z.concat([G]):null,au(4194308,4,Oy.bind(null,q,G),Z)},useLayoutEffect:function(G,q){return au(4194308,4,G,q)},useInsertionEffect:function(G,q){return au(4,2,G,q)},useMemo:function(G,q){var Z=xo();return q=void 0===q?null:q,G=G(),Z.memoizedState=[G,q],G},useReducer:function(G,q,Z){var ee=xo();return q=void 0!==Z?Z(q):q,ee.memoizedState=ee.baseState=q,ee.queue=G={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:G,lastRenderedState:q},G=G.dispatch=hm.bind(null,Jr,G),[ee.memoizedState,G]},useRef:function(G){return xo().memoizedState={current:G}},useState:lb,useDebugValue:dm,useDeferredValue:function(G){return xo().memoizedState=G},useTransition:function(){var G=lb(!1),q=G[0];return G=h1.bind(null,G[1]),xo().memoizedState=G,[q,G]},useMutableSource:function(){},useSyncExternalStore:function(G,q,Z){var ee=Jr,ne=xo();if(Ur){if(void 0===Z)throw Error(be(407));Z=Z()}else{if(Z=q(),null===Ui)throw Error(be(349));0!=(30&wt)||iu(ee,q,Z)}ne.memoizedState=Z;var ie={value:Z,getSnapshot:q};return ne.queue=ie,cb(Ty.bind(null,ee,ie,G),[G]),ee.flags|=2048,ou(9,um.bind(null,ee,ie,Z,q),void 0,null),Z},useId:function(){var G=xo(),q=Ui.identifierPrefix;if(Ur){var Z=Yr;q=":"+q+"R"+(Z=(Ds&~(1<<32-Eo(Ds)-1)).toString(32)+Z),0<(Z=hh++)&&(q+="H"+Z.toString(32)),q+=":"}else q=":"+q+"r"+(Z=f1++).toString(32)+":";return G.memoizedState=q},unstable_isNewReconciler:!1},Bd={readContext:mo,useCallback:fm,useContext:mo,useEffect:ph,useImperativeHandle:Py,useInsertionEffect:Iy,useLayoutEffect:Ry,useMemo:mh,useReducer:Mo,useRef:Ao,useState:function(){return Mo(Pd)},useDebugValue:dm,useDeferredValue:function(G){return Ld(Aa(),Fi.memoizedState,G)},useTransition:function(){return[Mo(Pd)[0],Aa().memoizedState]},useMutableSource:cm,useSyncExternalStore:Nd,useId:su,unstable_isNewReconciler:!1},By={readContext:mo,useCallback:fm,useContext:mo,useEffect:ph,useImperativeHandle:Py,useInsertionEffect:Iy,useLayoutEffect:Ry,useMemo:mh,useReducer:la,useRef:Ao,useState:function(){return la(Pd)},useDebugValue:dm,useDeferredValue:function(G){var q=Aa();return null===Fi?q.memoizedState=G:Ld(q,Fi.memoizedState,G)},useTransition:function(){return[la(Pd)[0],Aa().memoizedState]},useMutableSource:cm,useSyncExternalStore:Nd,useId:su,unstable_isNewReconciler:!1};function lu(G,q){try{var Z="",ee=q;do{Z+=nr(ee),ee=ee.return}while(ee);var ne=Z}catch(ie){ne="\nError generating stack: "+ie.message+"\n"+ie.stack}return{value:G,source:q,stack:ne,digest:null}}function Pe(G,q,Z){return{value:G,source:null,stack:null!=Z?Z:null,digest:null!=q?q:null}}function yh(G,q){try{console.error(q.value)}catch(Z){setTimeout(function(){throw Z})}}var _h="function"==typeof WeakMap?WeakMap:Map;function vh(G,q,Z){(Z=pl(-1,Z)).tag=3,Z.payload={element:null};var ee=q.value;return Z.callback=function(){Kd||(Kd=!0,Mm=ee),yh(0,q)},Z}function cu(G,q,Z){(Z=pl(-1,Z)).tag=3;var ee=G.type.getDerivedStateFromError;if("function"==typeof ee){var ne=q.value;Z.payload=function(){return ee(ne)},Z.callback=function(){yh(0,q)}}var ie=G.stateNode;return null!==ie&&"function"==typeof ie.componentDidCatch&&(Z.callback=function(){yh(0,q),"function"!=typeof ee&&(null===yl?yl=new Set([this]):yl.add(this));var se=q.stack;this.componentDidCatch(q.value,{componentStack:null!==se?se:""})}),Z}function Hy(G,q,Z){var ee=G.pingCache;if(null===ee){ee=G.pingCache=new _h;var ne=new Set;ee.set(q,ne)}else void 0===(ne=ee.get(q))&&ee.set(q,ne=new Set);ne.has(Z)||(ne.add(Z),G=a_.bind(null,G,q,Z),q.then(G,G))}function jy(G){do{var q;if((q=13===G.tag)&&(q=null===(q=G.memoizedState)||null!==q.dehydrated),q)return G;G=G.return}while(null!==G);return null}function zy(G,q,Z,ee,ne){return 0==(1&G.mode)?(G===q?G.flags|=65536:(G.flags|=128,Z.flags|=131072,Z.flags&=-52805,1===Z.tag&&(null===Z.alternate?Z.tag=17:((q=pl(-1,1)).tag=2,xs(Z,q,1))),Z.lanes|=1),G):(G.flags|=65536,G.lanes=ne,G)}var pm=tr.ReactCurrentOwner,qr=!1;function eo(G,q,Z,ee){q.child=null===G?nu(q,null,Z,ee):Ms(q,G.child,Z,ee)}function Ts(G,q,Z,ee,ne){Z=Z.render;var ie=q.ref;return fl(q,ne),ee=li(G,q,Z,ee,ie,ne),Z=Od(),null===G||qr?(Ur&&Z&&Ql(q),q.flags|=1,eo(G,q,ee,ne),q.child):(q.updateQueue=G.updateQueue,q.flags&=-2053,G.lanes&=~ne,To(G,q,ne))}function Uy(G,q,Z,ee,ne){if(null===G){var ie=Z.type;return"function"!=typeof ie||Im(ie)||void 0!==ie.defaultProps||null!==Z.compare||void 0!==Z.defaultProps?((G=Rm(Z.type,null,ee,q,q.mode,ne)).ref=q.ref,G.return=q,q.child=G):(q.tag=15,q.type=ie,mm(G,q,ie,ee,ne))}return ie=G.child,0==(G.lanes&ne)&&(Z=null!==(Z=Z.compare)?Z:Kf)(ie.memoizedProps,ee)&&G.ref===q.ref?To(G,q,ne):(q.flags|=1,(G=Gi(ie,ee)).ref=q.ref,G.return=q,q.child=G)}function mm(G,q,Z,ee,ne){if(null!==G){var ie=G.memoizedProps;if(Kf(ie,ee)&&G.ref===q.ref){if(qr=!1,q.pendingProps=ee=ie,0==(G.lanes&ne))return q.lanes=G.lanes,To(G,q,ne);0!=(131072&G.flags)&&(qr=!0)}}return wh(G,q,Z,ee,ne)}function bh(G,q,Z){var ee=q.pendingProps,ne=ee.children,ie=null!==G?G.memoizedState:null;if("hidden"===ee.mode)if(0==(1&q.mode))q.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pr(gu,Go),Go|=Z;else{if(0==(1073741824&Z))return G=null!==ie?ie.baseLanes|Z:Z,q.lanes=q.childLanes=1073741824,q.memoizedState={baseLanes:G,cachePool:null,transitions:null},q.updateQueue=null,Pr(gu,Go),Go|=G,null;q.memoizedState={baseLanes:0,cachePool:null,transitions:null},ee=null!==ie?ie.baseLanes:Z,Pr(gu,Go),Go|=ee}else null!==ie?(ee=ie.baseLanes|Z,q.memoizedState=null):ee=Z,Pr(gu,Go),Go|=ee;return eo(G,q,ne,Z),q.child}function Hd(G,q){var Z=q.ref;(null===G&&null!==Z||null!==G&&G.ref!==Z)&&(q.flags|=512,q.flags|=2097152)}function wh(G,q,Z,ee,ne){var ie=Ei(Z)?fo:Ci.current;return ie=Kl(q,ie),fl(q,ne),Z=li(G,q,Z,ee,ie,ne),ee=Od(),null===G||qr?(Ur&&ee&&Ql(q),q.flags|=1,eo(G,q,Z,ne),q.child):(q.updateQueue=G.updateQueue,q.flags&=-2053,G.lanes&=~ne,To(G,q,ne))}function $y(G,q,Z,ee,ne){if(Ei(Z)){var ie=!0;nh(q)}else ie=!1;if(fl(q,ne),null===q.stateNode)du(G,q),Sy(q,Z,ee),dh(q,Z,ee,ne),ee=!0;else if(null===G){var se=q.stateNode,fe=q.memoizedProps;se.props=fe;var _e=se.context,Le=Z.contextType;Le="object"==typeof Le&&null!==Le?mo(Le):Kl(q,Le=Ei(Z)?fo:Ci.current);var Je=Z.getDerivedStateFromProps,at="function"==typeof Je||"function"==typeof se.getSnapshotBeforeUpdate;at||"function"!=typeof se.UNSAFE_componentWillReceiveProps&&"function"!=typeof se.componentWillReceiveProps||(fe!==ee||_e!==Le)&&om(q,se,ee,Le),Wo=!1;var qe=q.memoizedState;se.state=qe,ch(q,ee,se,ne),_e=q.memoizedState,fe!==ee||qe!==_e||Er.current||Wo?("function"==typeof Je&&(xd(q,Z,Je,ee),_e=q.memoizedState),(fe=Wo||Md(q,Z,fe,ee,qe,_e,Le))?(at||"function"!=typeof se.UNSAFE_componentWillMount&&"function"!=typeof se.componentWillMount||("function"==typeof se.componentWillMount&&se.componentWillMount(),"function"==typeof se.UNSAFE_componentWillMount&&se.UNSAFE_componentWillMount()),"function"==typeof se.componentDidMount&&(q.flags|=4194308)):("function"==typeof se.componentDidMount&&(q.flags|=4194308),q.memoizedProps=ee,q.memoizedState=_e),se.props=ee,se.state=_e,se.context=Le,ee=fe):("function"==typeof se.componentDidMount&&(q.flags|=4194308),ee=!1)}else{se=q.stateNode,kd(G,q),fe=q.memoizedProps,Le=q.type===q.elementType?fe:po(q.type,fe),se.props=Le,at=q.pendingProps,qe=se.context,_e="object"==typeof(_e=Z.contextType)&&null!==_e?mo(_e):Kl(q,_e=Ei(Z)?fo:Ci.current);var Tt=Z.getDerivedStateFromProps;(Je="function"==typeof Tt||"function"==typeof se.getSnapshotBeforeUpdate)||"function"!=typeof se.UNSAFE_componentWillReceiveProps&&"function"!=typeof se.componentWillReceiveProps||(fe!==at||qe!==_e)&&om(q,se,ee,_e),Wo=!1,se.state=qe=q.memoizedState,ch(q,ee,se,ne);var Bt=q.memoizedState;fe!==at||qe!==Bt||Er.current||Wo?("function"==typeof Tt&&(xd(q,Z,Tt,ee),Bt=q.memoizedState),(Le=Wo||Md(q,Z,Le,ee,qe,Bt,_e)||!1)?(Je||"function"!=typeof se.UNSAFE_componentWillUpdate&&"function"!=typeof se.componentWillUpdate||("function"==typeof se.componentWillUpdate&&se.componentWillUpdate(ee,Bt,_e),"function"==typeof se.UNSAFE_componentWillUpdate&&se.UNSAFE_componentWillUpdate(ee,Bt,_e)),"function"==typeof se.componentDidUpdate&&(q.flags|=4),"function"==typeof se.getSnapshotBeforeUpdate&&(q.flags|=1024)):("function"!=typeof se.componentDidUpdate||fe===G.memoizedProps&&qe===G.memoizedState||(q.flags|=4),"function"!=typeof se.getSnapshotBeforeUpdate||fe===G.memoizedProps&&qe===G.memoizedState||(q.flags|=1024),q.memoizedProps=ee,q.memoizedState=Bt),se.props=ee,se.state=Bt,se.context=_e,ee=Le):("function"!=typeof se.componentDidUpdate||fe===G.memoizedProps&&qe===G.memoizedState||(q.flags|=4),"function"!=typeof se.getSnapshotBeforeUpdate||fe===G.memoizedProps&&qe===G.memoizedState||(q.flags|=1024),ee=!1)}return gm(G,q,Z,ee,ie,ne)}function gm(G,q,Z,ee,ne,ie){Hd(G,q);var se=0!=(128&q.flags);if(!ee&&!se)return ne&&Cy(q,Z,!1),To(G,q,ie);ee=q.stateNode,pm.current=q;var fe=se&&"function"!=typeof Z.getDerivedStateFromError?null:ee.render();return q.flags|=1,null!==G&&se?(q.child=Ms(q,G.child,null,ie),q.child=Ms(q,null,fe,ie)):eo(G,q,fe,ie),q.memoizedState=ee.state,ne&&Cy(q,Z,!0),q.child}function tc(G){var q=G.stateNode;q.pendingContext?wy(0,q.pendingContext,q.pendingContext!==q.context):q.context&&wy(0,q.context,!1),Fd(G,q.containerInfo)}function uu(G,q,Z,ee,ne){return Qa(),im(ne),q.flags|=256,eo(G,q,Z,ee),q.child}var Yy,zd,Ch,ym={dehydrated:null,treeContext:null,retryLane:0};function Wy(G){return{baseLanes:G,cachePool:null,transitions:null}}function _m(G,q,Z){var fe,ee=q.pendingProps,ne=kr.current,ie=!1,se=0!=(128&q.flags);if((fe=se)||(fe=(null===G||null!==G.memoizedState)&&0!=(2&ne)),fe?(ie=!0,q.flags&=-129):(null===G||null!==G.memoizedState)&&(ne|=1),Pr(kr,1&ne),null===G)return Ed(q),null!==(G=q.memoizedState)&&null!==(G=G.dehydrated)?(q.lanes=0==(1&q.mode)?1:"$!"===G.data?8:1073741824,null):(se=ee.children,G=ee.fallback,ie?(ie=q.child,se={mode:"hidden",children:se},0==(1&(ee=q.mode))&&null!==ie?(ie.childLanes=0,ie.pendingProps=se):ie=Xd(se,ee,0,null),G=Cu(G,ee,Z,null),ie.return=q,G.return=q,ie.sibling=G,q.child=ie,q.child.memoizedState=Wy(Z),q.memoizedState=ym,G):vm(q,se));if(null!==(ne=G.memoizedState)&&null!==(fe=ne.dehydrated))return function db(G,q,Z,ee,ne,ie,se){if(Z)return 256&q.flags?(q.flags&=-257,bm(G,q,se,ee=Pe(Error(be(422))))):null!==q.memoizedState?(q.child=G.child,q.flags|=128,null):(ie=ee.fallback,ee=Xd({mode:"visible",children:ee.children},ne=q.mode,0,null),(ie=Cu(ie,ne,se,null)).flags|=2,ee.return=q,ie.return=q,ee.sibling=ie,q.child=ee,0!=(1&q.mode)&&Ms(q,G.child,null,se),q.child.memoizedState=Wy(se),q.memoizedState=ym,ie);if(0==(1&q.mode))return bm(G,q,se,null);if("$!"===ne.data){if(ee=ne.nextSibling&&ne.nextSibling.dataset)var fe=ee.dgst;return ee=fe,bm(G,q,se,ee=Pe(ie=Error(be(419)),ee,void 0))}if(fe=0!=(se&G.childLanes),qr||fe){if(null!==(ee=Ui)){switch(se&-se){case 4:ne=2;break;case 16:ne=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:ne=32;break;case 536870912:ne=268435456;break;default:ne=0}0!==(ne=0!=(ne&(ee.suspendedLanes|se))?0:ne)&&ne!==ie.retryLane&&(ie.retryLane=ne,Ss(G,ne),ua(ee,G,ne,-1))}return Tm(),bm(G,q,se,ee=Pe(Error(be(421))))}return"$?"===ne.data?(q.flags|=128,q.child=G.child,q=vb.bind(null,G),ne._reactRetry=q,null):(G=ie.treeContext,$o=Gl(ne.nextSibling),So=q,Ur=!0,Sa=null,null!==G&&(Uo[ho++]=Ds,Uo[ho++]=Yr,Uo[ho++]=Xl,Ds=G.id,Yr=G.overflow,Xl=q),(q=vm(q,ee.children)).flags|=4096,q)}(G,q,se,ee,fe,ne,Z);if(ie){ie=ee.fallback,fe=(ne=G.child).sibling;var _e={mode:"hidden",children:ee.children};return 0==(1&(se=q.mode))&&q.child!==ne?((ee=q.child).childLanes=0,ee.pendingProps=_e,q.deletions=null):(ee=Gi(ne,_e)).subtreeFlags=14680064&ne.subtreeFlags,null!==fe?ie=Gi(fe,ie):(ie=Cu(ie,se,Z,null)).flags|=2,ie.return=q,ee.return=q,ee.sibling=ie,q.child=ee,ee=ie,ie=q.child,se=null===(se=G.child.memoizedState)?Wy(Z):{baseLanes:se.baseLanes|Z,cachePool:null,transitions:se.transitions},ie.memoizedState=se,ie.childLanes=G.childLanes&~Z,q.memoizedState=ym,ee}return G=(ie=G.child).sibling,ee=Gi(ie,{mode:"visible",children:ee.children}),0==(1&q.mode)&&(ee.lanes=Z),ee.return=q,ee.sibling=null,null!==G&&(null===(Z=q.deletions)?(q.deletions=[G],q.flags|=16):Z.push(G)),q.child=ee,q.memoizedState=null,ee}function vm(G,q){return(q=Xd({mode:"visible",children:q},G.mode,0,null)).return=G,G.child=q}function bm(G,q,Z,ee){return null!==ee&&im(ee),Ms(q,G.child,null,Z),(G=vm(q,q.pendingProps.children)).flags|=2,q.memoizedState=null,G}function Gy(G,q,Z){G.lanes|=q;var ee=G.alternate;null!==ee&&(ee.lanes|=q),sh(G.return,q,Z)}function wm(G,q,Z,ee,ne){var ie=G.memoizedState;null===ie?G.memoizedState={isBackwards:q,rendering:null,renderingStartTime:0,last:ee,tail:Z,tailMode:ne}:(ie.isBackwards=q,ie.rendering=null,ie.renderingStartTime=0,ie.last=ee,ie.tail=Z,ie.tailMode=ne)}function jd(G,q,Z){var ee=q.pendingProps,ne=ee.revealOrder,ie=ee.tail;if(eo(G,q,ee.children,Z),0!=(2&(ee=kr.current)))ee=1&ee|2,q.flags|=128;else{if(null!==G&&0!=(128&G.flags))e:for(G=q.child;null!==G;){if(13===G.tag)null!==G.memoizedState&&Gy(G,Z,q);else if(19===G.tag)Gy(G,Z,q);else if(null!==G.child){G.child.return=G,G=G.child;continue}if(G===q)break e;for(;null===G.sibling;){if(null===G.return||G.return===q)break e;G=G.return}G.sibling.return=G.return,G=G.sibling}ee&=1}if(Pr(kr,ee),0==(1&q.mode))q.memoizedState=null;else switch(ne){case"forwards":for(Z=q.child,ne=null;null!==Z;)null!==(G=Z.alternate)&&null===Id(G)&&(ne=Z),Z=Z.sibling;null===(Z=ne)?(ne=q.child,q.child=null):(ne=Z.sibling,Z.sibling=null),wm(q,!1,ne,Z,ie);break;case"backwards":for(Z=null,ne=q.child,q.child=null;null!==ne;){if(null!==(G=ne.alternate)&&null===Id(G)){q.child=ne;break}G=ne.sibling,ne.sibling=Z,Z=ne,ne=G}wm(q,!0,Z,null,ie);break;case"together":wm(q,!1,null,null,void 0);break;default:q.memoizedState=null}return q.child}function du(G,q){0==(1&q.mode)&&null!==G&&(G.alternate=null,q.alternate=null,q.flags|=2)}function To(G,q,Z){if(null!==G&&(q.dependencies=G.dependencies),Ja|=q.lanes,0==(Z&q.childLanes))return null;if(null!==G&&q.child!==G.child)throw Error(be(153));if(null!==q.child){for(Z=Gi(G=q.child,G.pendingProps),q.child=Z,Z.return=q;null!==G.sibling;)(Z=Z.sibling=Gi(G=G.sibling,G.pendingProps)).return=q;Z.sibling=null}return q.child}function fu(G,q){if(!Ur)switch(G.tailMode){case"hidden":q=G.tail;for(var Z=null;null!==q;)null!==q.alternate&&(Z=q),q=q.sibling;null===Z?G.tail=null:Z.sibling=null;break;case"collapsed":Z=G.tail;for(var ee=null;null!==Z;)null!==Z.alternate&&(ee=Z),Z=Z.sibling;null===ee?q||null===G.tail?G.tail=null:G.tail.sibling=null:ee.sibling=null}}function ji(G){var q=null!==G.alternate&&G.alternate.child===G.child,Z=0,ee=0;if(q)for(var ne=G.child;null!==ne;)Z|=ne.lanes|ne.childLanes,ee|=14680064&ne.subtreeFlags,ee|=14680064&ne.flags,ne.return=G,ne=ne.sibling;else for(ne=G.child;null!==ne;)Z|=ne.lanes|ne.childLanes,ee|=ne.subtreeFlags,ee|=ne.flags,ne.return=G,ne=ne.sibling;return G.subtreeFlags|=ee,G.childLanes=Z,q}function qy(G,q,Z){var ee=q.pendingProps;switch(nm(q),q.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ji(q),null;case 1:case 17:return Ei(q.type)&&sa(),ji(q),null;case 3:return ee=q.stateNode,Ma(),zr(Er),zr(Ci),gl(),ee.pendingContext&&(ee.context=ee.pendingContext,ee.pendingContext=null),(null===G||null===G.child)&&(oh(q)?q.flags|=4:null===G||G.memoizedState.isDehydrated&&0==(256&q.flags)||(q.flags|=1024,null!==Sa&&(Am(Sa),Sa=null))),ji(q),null;case 5:ml(q);var ne=Dr(Za.current);if(Z=q.type,null!==G&&null!=q.stateNode)zd(G,q,Z,ee),G.ref!==q.ref&&(q.flags|=512,q.flags|=2097152);else{if(!ee){if(null===q.stateNode)throw Error(be(166));return ji(q),null}if(G=Dr(xa.current),oh(q)){Z=q.type;var ie=q.memoizedProps;switch((ee=q.stateNode)[qa]=q,ee[Kc]=ie,G=0!=(1&q.mode),Z){case"dialog":Vr("cancel",ee),Vr("close",ee);break;case"iframe":case"object":case"embed":Vr("load",ee);break;case"video":case"audio":for(ne=0;ne<$l.length;ne++)Vr($l[ne],ee);break;case"source":Vr("error",ee);break;case"img":case"image":case"link":Vr("error",ee),Vr("load",ee);break;case"details":Vr("toggle",ee);break;case"input":Bo(ee,ie),Vr("invalid",ee);break;case"select":ee._wrapperState={wasMultiple:!!ie.multiple},Vr("invalid",ee);break;case"textarea":qs(ee,ie),Vr("invalid",ee)}for(var se in jn(Z,ie),ne=null,ie)if(ie.hasOwnProperty(se)){var fe=ie[se];"children"===se?"string"==typeof fe?ee.textContent!==fe&&(!0!==ie.suppressHydrationWarning&&eh(ee.textContent,fe,G),ne=["children",fe]):"number"==typeof fe&&ee.textContent!==""+fe&&(!0!==ie.suppressHydrationWarning&&eh(ee.textContent,fe,G),ne=["children",""+fe]):Se.hasOwnProperty(se)&&null!=fe&&"onScroll"===se&&Vr("scroll",ee)}switch(Z){case"input":Gs(ee),hs(ee,ie,!0);break;case"textarea":Gs(ee),Rl(ee);break;case"select":case"option":break;default:"function"==typeof ie.onClick&&(ee.onclick=Gc)}q.updateQueue=ee=ne,null!==ee&&(q.flags|=4)}else{se=9===ne.nodeType?ne:ne.ownerDocument,"http://www.w3.org/1999/xhtml"===G&&(G=Xs(Z)),"http://www.w3.org/1999/xhtml"===G?"script"===Z?((G=se.createElement("div")).innerHTML="<script><\/script>",G=G.removeChild(G.firstChild)):"string"==typeof ee.is?G=se.createElement(Z,{is:ee.is}):(G=se.createElement(Z),"select"===Z&&(se=G,ee.multiple?se.multiple=!0:ee.size&&(se.size=ee.size))):G=se.createElementNS(G,Z),G[qa]=q,G[Kc]=ee,Yy(G,q),q.stateNode=G;e:{switch(se=Dn(Z,ee),Z){case"dialog":Vr("cancel",G),Vr("close",G),ne=ee;break;case"iframe":case"object":case"embed":Vr("load",G),ne=ee;break;case"video":case"audio":for(ne=0;ne<$l.length;ne++)Vr($l[ne],G);ne=ee;break;case"source":Vr("error",G),ne=ee;break;case"img":case"image":case"link":Vr("error",G),Vr("load",G),ne=ee;break;case"details":Vr("toggle",G),ne=ee;break;case"input":Bo(G,ee),ne=Mc(G,ee),Vr("invalid",G);break;case"option":default:ne=ee;break;case"select":G._wrapperState={wasMultiple:!!ee.multiple},ne=He({},ee,{value:void 0}),Vr("invalid",G);break;case"textarea":qs(G,ee),ne=Ks(G,ee),Vr("invalid",G)}for(ie in jn(Z,ne),fe=ne)if(fe.hasOwnProperty(ie)){var _e=fe[ie];"style"===ie?Kt(G,_e):"dangerouslySetInnerHTML"===ie?null!=(_e=_e?_e.__html:void 0)&&Tc(G,_e):"children"===ie?"string"==typeof _e?("textarea"!==Z||""!==_e)&&Jo(G,_e):"number"==typeof _e&&Jo(G,""+_e):"suppressContentEditableWarning"!==ie&&"suppressHydrationWarning"!==ie&&"autoFocus"!==ie&&(Se.hasOwnProperty(ie)?null!=_e&&"onScroll"===ie&&Vr("scroll",G):null!=_e&&fr(G,ie,_e,se))}switch(Z){case"input":Gs(G),hs(G,ee,!1);break;case"textarea":Gs(G),Rl(G);break;case"option":null!=ee.value&&G.setAttribute("value",""+Lr(ee.value));break;case"select":G.multiple=!!ee.multiple,null!=(ie=ee.value)?wi(G,!!ee.multiple,ie,!1):null!=ee.defaultValue&&wi(G,!!ee.multiple,ee.defaultValue,!0);break;default:"function"==typeof ne.onClick&&(G.onclick=Gc)}switch(Z){case"button":case"input":case"select":case"textarea":ee=!!ee.autoFocus;break e;case"img":ee=!0;break e;default:ee=!1}}ee&&(q.flags|=4)}null!==q.ref&&(q.flags|=512,q.flags|=2097152)}return ji(q),null;case 6:if(G&&null!=q.stateNode)Ch(0,q,G.memoizedProps,ee);else{if("string"!=typeof ee&&null===q.stateNode)throw Error(be(166));if(Z=Dr(Za.current),Dr(xa.current),oh(q)){if(Z=q.memoizedProps,(ee=q.stateNode)[qa]=q,(ie=ee.nodeValue!==Z)&&null!==(G=So))switch(G.tag){case 3:eh(ee.nodeValue,Z,0!=(1&G.mode));break;case 5:!0!==G.memoizedProps.suppressHydrationWarning&&eh(ee.nodeValue,Z,0!=(1&G.mode))}ie&&(q.flags|=4)}else(ee=(9===Z.nodeType?Z:Z.ownerDocument).createTextNode(ee))[qa]=q,q.stateNode=ee}return ji(q),null;case 13:if(zr(kr),ee=q.memoizedState,null===G||null!==G.memoizedState&&null!==G.memoizedState.dehydrated){if(Ur&&null!==$o&&0!=(1&q.mode)&&0==(128&q.flags))ks(),Qa(),q.flags|=98560,ie=!1;else if(ie=oh(q),null!==ee&&null!==ee.dehydrated){if(null===G){if(!ie)throw Error(be(318));if(!(ie=null!==(ie=q.memoizedState)?ie.dehydrated:null))throw Error(be(317));ie[qa]=q}else Qa(),0==(128&q.flags)&&(q.memoizedState=null),q.flags|=4;ji(q),ie=!1}else null!==Sa&&(Am(Sa),Sa=null),ie=!0;if(!ie)return 65536&q.flags?q:null}return 0!=(128&q.flags)?(q.lanes=Z,q):((ee=null!==ee)!=(null!==G&&null!==G.memoizedState)&&ee&&(q.child.flags|=8192,0!=(1&q.mode)&&(null===G||0!=(1&kr.current)?0===Di&&(Di=3):Tm())),null!==q.updateQueue&&(q.flags|=4),ji(q),null);case 4:return Ma(),null===G&&Wl(q.stateNode.containerInfo),ji(q),null;case 10:return Jc(q.type._context),ji(q),null;case 19:if(zr(kr),null===(ie=q.memoizedState))return ji(q),null;if(ee=0!=(128&q.flags),null===(se=ie.rendering))if(ee)fu(ie,!1);else{if(0!==Di||null!==G&&0!=(128&G.flags))for(G=q.child;null!==G;){if(null!==(se=Id(G))){for(q.flags|=128,fu(ie,!1),null!==(ee=se.updateQueue)&&(q.updateQueue=ee,q.flags|=4),q.subtreeFlags=0,ee=Z,Z=q.child;null!==Z;)G=ee,(ie=Z).flags&=14680066,null===(se=ie.alternate)?(ie.childLanes=0,ie.lanes=G,ie.child=null,ie.subtreeFlags=0,ie.memoizedProps=null,ie.memoizedState=null,ie.updateQueue=null,ie.dependencies=null,ie.stateNode=null):(ie.childLanes=se.childLanes,ie.lanes=se.lanes,ie.child=se.child,ie.subtreeFlags=0,ie.deletions=null,ie.memoizedProps=se.memoizedProps,ie.memoizedState=se.memoizedState,ie.updateQueue=se.updateQueue,ie.type=se.type,ie.dependencies=null===(G=se.dependencies)?null:{lanes:G.lanes,firstContext:G.firstContext}),Z=Z.sibling;return Pr(kr,1&kr.current|2),q.child}G=G.sibling}null!==ie.tail&&xn()>_u&&(q.flags|=128,ee=!0,fu(ie,!1),q.lanes=4194304)}else{if(!ee)if(null!==(G=Id(se))){if(q.flags|=128,ee=!0,null!==(Z=G.updateQueue)&&(q.updateQueue=Z,q.flags|=4),fu(ie,!0),null===ie.tail&&"hidden"===ie.tailMode&&!se.alternate&&!Ur)return ji(q),null}else 2*xn()-ie.renderingStartTime>_u&&1073741824!==Z&&(q.flags|=128,ee=!0,fu(ie,!1),q.lanes=4194304);ie.isBackwards?(se.sibling=q.child,q.child=se):(null!==(Z=ie.last)?Z.sibling=se:q.child=se,ie.last=se)}return null!==ie.tail?(ie.rendering=q=ie.tail,ie.tail=q.sibling,ie.renderingStartTime=xn(),q.sibling=null,Z=kr.current,Pr(kr,ee?1&Z|2:1&Z),q):(ji(q),null);case 22:case 23:return Th(),ee=null!==q.memoizedState,null!==G&&null!==G.memoizedState!==ee&&(q.flags|=8192),ee&&0!=(1&q.mode)?0!=(1073741824&Go)&&(ji(q),6&q.subtreeFlags&&(q.flags|=8192)):ji(q),null;case 24:case 25:return null}throw Error(be(156,q.tag))}function nc(G,q){switch(nm(q),q.tag){case 1:return Ei(q.type)&&sa(),65536&(G=q.flags)?(q.flags=-65537&G|128,q):null;case 3:return Ma(),zr(Er),zr(Ci),gl(),0!=(65536&(G=q.flags))&&0==(128&G)?(q.flags=-65537&G|128,q):null;case 5:return ml(q),null;case 13:if(zr(kr),null!==(G=q.memoizedState)&&null!==G.dehydrated){if(null===q.alternate)throw Error(be(340));Qa()}return 65536&(G=q.flags)?(q.flags=-65537&G|128,q):null;case 19:return zr(kr),null;case 4:return Ma(),null;case 10:return Jc(q.type._context),null;case 22:case 23:return Th(),null;default:return null}}Yy=function(G,q){for(var Z=q.child;null!==Z;){if(5===Z.tag||6===Z.tag)G.appendChild(Z.stateNode);else if(4!==Z.tag&&null!==Z.child){Z.child.return=Z,Z=Z.child;continue}if(Z===q)break;for(;null===Z.sibling;){if(null===Z.return||Z.return===q)return;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}},zd=function(G,q,Z,ee){var ne=G.memoizedProps;if(ne!==ee){G=q.stateNode,Dr(xa.current);var se,ie=null;switch(Z){case"input":ne=Mc(G,ne),ee=Mc(G,ee),ie=[];break;case"select":ne=He({},ne,{value:void 0}),ee=He({},ee,{value:void 0}),ie=[];break;case"textarea":ne=Ks(G,ne),ee=Ks(G,ee),ie=[];break;default:"function"!=typeof ne.onClick&&"function"==typeof ee.onClick&&(G.onclick=Gc)}for(Le in jn(Z,ee),Z=null,ne)if(!ee.hasOwnProperty(Le)&&ne.hasOwnProperty(Le)&&null!=ne[Le])if("style"===Le){var fe=ne[Le];for(se in fe)fe.hasOwnProperty(se)&&(Z||(Z={}),Z[se]="")}else"dangerouslySetInnerHTML"!==Le&&"children"!==Le&&"suppressContentEditableWarning"!==Le&&"suppressHydrationWarning"!==Le&&"autoFocus"!==Le&&(Se.hasOwnProperty(Le)?ie||(ie=[]):(ie=ie||[]).push(Le,null));for(Le in ee){var _e=ee[Le];if(fe=null!=ne?ne[Le]:void 0,ee.hasOwnProperty(Le)&&_e!==fe&&(null!=_e||null!=fe))if("style"===Le)if(fe){for(se in fe)!fe.hasOwnProperty(se)||_e&&_e.hasOwnProperty(se)||(Z||(Z={}),Z[se]="");for(se in _e)_e.hasOwnProperty(se)&&fe[se]!==_e[se]&&(Z||(Z={}),Z[se]=_e[se])}else Z||(ie||(ie=[]),ie.push(Le,Z)),Z=_e;else"dangerouslySetInnerHTML"===Le?(fe=fe?fe.__html:void 0,null!=(_e=_e?_e.__html:void 0)&&fe!==_e&&(ie=ie||[]).push(Le,_e)):"children"===Le?"string"!=typeof _e&&"number"!=typeof _e||(ie=ie||[]).push(Le,""+_e):"suppressContentEditableWarning"!==Le&&"suppressHydrationWarning"!==Le&&(Se.hasOwnProperty(Le)?(null!=_e&&"onScroll"===Le&&Vr("scroll",G),ie||fe===_e||(ie=[])):(ie=ie||[]).push(Le,_e))}Z&&(ie=ie||[]).push("style",Z);var Le=ie;(q.updateQueue=Le)&&(q.flags|=4)}},Ch=function(G,q,Z,ee){Z!==ee&&(q.flags|=4)};var Eh=!1,to=!1,hb="function"==typeof WeakSet?WeakSet:Set,Nt=null;function hu(G,q){var Z=G.ref;if(null!==Z)if("function"==typeof Z)try{Z(null)}catch(ee){ei(G,q,ee)}else Z.current=null}function go(G,q,Z){try{Z()}catch(ee){ei(G,q,ee)}}var Ta=!1;function Ud(G,q,Z){var ee=q.updateQueue;if(null!==(ee=null!==ee?ee.lastEffect:null)){var ne=ee=ee.next;do{if((ne.tag&G)===G){var ie=ne.destroy;ne.destroy=void 0,void 0!==ie&&go(q,Z,ie)}ne=ne.next}while(ne!==ee)}}function Dh(G,q){if(null!==(q=null!==(q=q.updateQueue)?q.lastEffect:null)){var Z=q=q.next;do{(Z.tag&G)===G&&(Z.destroy=(0,Z.create)()),Z=Z.next}while(Z!==q)}}function Cm(G){var q=G.ref;null!==q&&(G=G.stateNode,"function"==typeof q?q(G):q.current=G)}function Qy(G){var q=G.alternate;null!==q&&(G.alternate=null,Qy(q)),G.child=null,G.deletions=null,G.sibling=null,5===G.tag&&null!==(q=G.stateNode)&&(delete q[qa],delete q[Kc],delete q[em],delete q[Qe],delete q[Yn]),G.stateNode=null,G.return=null,G.dependencies=null,G.memoizedProps=null,G.memoizedState=null,G.pendingProps=null,G.stateNode=null,G.updateQueue=null}function Zy(G){return 5===G.tag||3===G.tag||4===G.tag}function Em(G){e:for(;;){for(;null===G.sibling;){if(null===G.return||Zy(G.return))return null;G=G.return}for(G.sibling.return=G.return,G=G.sibling;5!==G.tag&&6!==G.tag&&18!==G.tag;){if(2&G.flags||null===G.child||4===G.tag)continue e;G.child.return=G,G=G.child}if(!(2&G.flags))return G.stateNode}}function Dm(G,q,Z){var ee=G.tag;if(5===ee||6===ee)G=G.stateNode,q?8===Z.nodeType?Z.parentNode.insertBefore(G,q):Z.insertBefore(G,q):(8===Z.nodeType?(q=Z.parentNode).insertBefore(G,Z):(q=Z).appendChild(G),null!=(Z=Z._reactRootContainer)||null!==q.onclick||(q.onclick=Gc));else if(4!==ee&&null!==(G=G.child))for(Dm(G,q,Z),G=G.sibling;null!==G;)Dm(G,q,Z),G=G.sibling}function km(G,q,Z){var ee=G.tag;if(5===ee||6===ee)G=G.stateNode,q?Z.insertBefore(G,q):Z.appendChild(G);else if(4!==ee&&null!==(G=G.child))for(km(G,q,Z),G=G.sibling;null!==G;)km(G,q,Z),G=G.sibling}var zi=null,Fa=!1;function rc(G,q,Z){for(Z=Z.child;null!==Z;)Jy(G,q,Z),Z=Z.sibling}function Jy(G,q,Z){if(kn&&"function"==typeof kn.onCommitFiberUnmount)try{kn.onCommitFiberUnmount(Oc,Z)}catch(fe){}switch(Z.tag){case 5:to||hu(Z,q);case 6:var ee=zi,ne=Fa;zi=null,rc(G,q,Z),Fa=ne,null!==(zi=ee)&&(Fa?(Z=Z.stateNode,8===(G=zi).nodeType?G.parentNode.removeChild(Z):G.removeChild(Z)):zi.removeChild(Z.stateNode));break;case 18:null!==zi&&(Fa?(Z=Z.stateNode,8===(G=zi).nodeType?sn(G.parentNode,Z):1===G.nodeType&&sn(G,Z),nn(G)):sn(zi,Z.stateNode));break;case 4:ee=zi,ne=Fa,zi=Z.stateNode.containerInfo,Fa=!0,rc(G,q,Z),zi=ee,Fa=ne;break;case 0:case 11:case 14:case 15:if(!to&&null!==(ee=Z.updateQueue)&&null!==(ee=ee.lastEffect)){ne=ee=ee.next;do{var ie=ne,se=ie.destroy;ie=ie.tag,void 0!==se&&(0!=(2&ie)||0!=(4&ie))&&go(Z,q,se),ne=ne.next}while(ne!==ee)}rc(G,q,Z);break;case 1:if(!to&&(hu(Z,q),"function"==typeof(ee=Z.stateNode).componentWillUnmount))try{ee.props=Z.memoizedProps,ee.state=Z.memoizedState,ee.componentWillUnmount()}catch(fe){ei(Z,q,fe)}rc(G,q,Z);break;case 21:rc(G,q,Z);break;case 22:1&Z.mode?(to=(ee=to)||null!==Z.memoizedState,rc(G,q,Z),to=ee):rc(G,q,Z);break;default:rc(G,q,Z)}}function pu(G){var q=G.updateQueue;if(null!==q){G.updateQueue=null;var Z=G.stateNode;null===Z&&(Z=G.stateNode=new hb),q.forEach(function(ee){var ne=bb.bind(null,G,ee);Z.has(ee)||(Z.add(ee),ee.then(ne,ne))})}}function ca(G,q){var Z=q.deletions;if(null!==Z)for(var ee=0;ee<Z.length;ee++){var ne=Z[ee];try{var ie=G,se=q,fe=se;e:for(;null!==fe;){switch(fe.tag){case 5:zi=fe.stateNode,Fa=!1;break e;case 3:case 4:zi=fe.stateNode.containerInfo,Fa=!0;break e}fe=fe.return}if(null===zi)throw Error(be(160));Jy(ie,se,ne),zi=null,Fa=!1;var _e=ne.alternate;null!==_e&&(_e.return=null),ne.return=null}catch(Le){ei(ne,q,Le)}}if(12854&q.subtreeFlags)for(q=q.child;null!==q;)Ia(q,G),q=q.sibling}function Ia(G,q){var Z=G.alternate,ee=G.flags;switch(G.tag){case 0:case 11:case 14:case 15:if(ca(q,G),Fo(G),4&ee){try{Ud(3,G,G.return),Dh(3,G)}catch(zt){ei(G,G.return,zt)}try{Ud(5,G,G.return)}catch(zt){ei(G,G.return,zt)}}break;case 1:ca(q,G),Fo(G),512&ee&&null!==Z&&hu(Z,Z.return);break;case 5:if(ca(q,G),Fo(G),512&ee&&null!==Z&&hu(Z,Z.return),32&G.flags){var ne=G.stateNode;try{Jo(ne,"")}catch(zt){ei(G,G.return,zt)}}if(4&ee&&null!=(ne=G.stateNode)){var ie=G.memoizedProps,se=null!==Z?Z.memoizedProps:ie,fe=G.type,_e=G.updateQueue;if(G.updateQueue=null,null!==_e)try{"input"===fe&&"radio"===ie.type&&null!=ie.name&&fs(ne,ie),Dn(fe,se);var Le=Dn(fe,ie);for(se=0;se<_e.length;se+=2){var Je=_e[se],at=_e[se+1];"style"===Je?Kt(ne,at):"dangerouslySetInnerHTML"===Je?Tc(ne,at):"children"===Je?Jo(ne,at):fr(ne,Je,at,Le)}switch(fe){case"input":Ys(ne,ie);break;case"textarea":Ac(ne,ie);break;case"select":var qe=ne._wrapperState.wasMultiple;ne._wrapperState.wasMultiple=!!ie.multiple;var Tt=ie.value;null!=Tt?wi(ne,!!ie.multiple,Tt,!1):qe!==!!ie.multiple&&(null!=ie.defaultValue?wi(ne,!!ie.multiple,ie.defaultValue,!0):wi(ne,!!ie.multiple,ie.multiple?[]:"",!1))}ne[Kc]=ie}catch(zt){ei(G,G.return,zt)}}break;case 6:if(ca(q,G),Fo(G),4&ee){if(null===G.stateNode)throw Error(be(162));ne=G.stateNode,ie=G.memoizedProps;try{ne.nodeValue=ie}catch(zt){ei(G,G.return,zt)}}break;case 3:if(ca(q,G),Fo(G),4&ee&&null!==Z&&Z.memoizedState.isDehydrated)try{nn(q.containerInfo)}catch(zt){ei(G,G.return,zt)}break;case 4:default:ca(q,G),Fo(G);break;case 13:ca(q,G),Fo(G),8192&(ne=G.child).flags&&(ne.stateNode.isHidden=ie=null!==ne.memoizedState,!ie||null!==ne.alternate&&null!==ne.alternate.memoizedState||(kh=xn())),4&ee&&pu(G);break;case 22:if(Je=null!==Z&&null!==Z.memoizedState,1&G.mode?(to=(Le=to)||Je,ca(q,G),to=Le):ca(q,G),Fo(G),8192&ee){if((G.stateNode.isHidden=Le=null!==G.memoizedState)&&!Je&&0!=(1&G.mode))for(Nt=G,Je=G.child;null!==Je;){for(at=Nt=Je;null!==Nt;){switch(Tt=(qe=Nt).child,qe.tag){case 0:case 11:case 14:case 15:Ud(4,qe,qe.return);break;case 1:hu(qe,qe.return);var Bt=qe.stateNode;if("function"==typeof Bt.componentWillUnmount){ee=qe,Z=qe.return;try{Bt.props=(q=ee).memoizedProps,Bt.state=q.memoizedState,Bt.componentWillUnmount()}catch(zt){ei(ee,Z,zt)}}break;case 5:hu(qe,qe.return);break;case 22:if(null!==qe.memoizedState){pb(at);continue}}null!==Tt?(Tt.return=qe,Nt=Tt):pb(at)}Je=Je.sibling}e:for(Je=null,at=G;;){if(5===at.tag){if(null===Je){Je=at;try{ne=at.stateNode,Le?"function"==typeof(ie=ne.style).setProperty?ie.setProperty("display","none","important"):ie.display="none":(fe=at.stateNode,se=null!=(_e=at.memoizedProps.style)&&_e.hasOwnProperty("display")?_e.display:null,fe.style.display=Ye("display",se))}catch(zt){ei(G,G.return,zt)}}}else if(6===at.tag){if(null===Je)try{at.stateNode.nodeValue=Le?"":at.memoizedProps}catch(zt){ei(G,G.return,zt)}}else if((22!==at.tag&&23!==at.tag||null===at.memoizedState||at===G)&&null!==at.child){at.child.return=at,at=at.child;continue}if(at===G)break e;for(;null===at.sibling;){if(null===at.return||at.return===G)break e;Je===at&&(Je=null),at=at.return}Je===at&&(Je=null),at.sibling.return=at.return,at=at.sibling}}break;case 19:ca(q,G),Fo(G),4&ee&&pu(G);case 21:}}function Fo(G){var q=G.flags;if(2&q){try{e:{for(var Z=G.return;null!==Z;){if(Zy(Z)){var ee=Z;break e}Z=Z.return}throw Error(be(160))}switch(ee.tag){case 5:var ne=ee.stateNode;32&ee.flags&&(Jo(ne,""),ee.flags&=-33),km(G,Em(G),ne);break;case 3:case 4:var se=ee.stateNode.containerInfo;Dm(G,Em(G),se);break;default:throw Error(be(161))}}catch(_e){ei(G,G.return,_e)}G.flags&=-3}4096&q&&(G.flags&=-4097)}function e_(G,q,Z){Nt=G,Sm(G,q,Z)}function Sm(G,q,Z){for(var ee=0!=(1&G.mode);null!==Nt;){var ne=Nt,ie=ne.child;if(22===ne.tag&&ee){var se=null!==ne.memoizedState||Eh;if(!se){var fe=ne.alternate,_e=null!==fe&&null!==fe.memoizedState||to;fe=Eh;var Le=to;if(Eh=se,(to=_e)&&!Le)for(Nt=ne;null!==Nt;)_e=(se=Nt).child,22===se.tag&&null!==se.memoizedState?mb(ne):null!==_e?(_e.return=se,Nt=_e):mb(ne);for(;null!==ie;)Nt=ie,Sm(ie,q,Z),ie=ie.sibling;Nt=ne,Eh=fe,to=Le}xm(G)}else 0!=(8772&ne.subtreeFlags)&&null!==ie?(ie.return=ne,Nt=ie):xm(G)}}function xm(G){for(;null!==Nt;){var q=Nt;if(0!=(8772&q.flags)){var Z=q.alternate;try{if(0!=(8772&q.flags))switch(q.tag){case 0:case 11:case 15:to||Dh(5,q);break;case 1:var ee=q.stateNode;if(4&q.flags&&!to)if(null===Z)ee.componentDidMount();else{var ne=q.elementType===q.type?Z.memoizedProps:po(q.type,Z.memoizedProps);ee.componentDidUpdate(ne,Z.memoizedState,ee.__reactInternalSnapshotBeforeUpdate)}var ie=q.updateQueue;null!==ie&&eu(q,ie,ee);break;case 3:var se=q.updateQueue;if(null!==se){if(Z=null,null!==q.child)switch(q.child.tag){case 5:case 1:Z=q.child.stateNode}eu(q,se,Z)}break;case 5:if(null===Z&&4&q.flags){Z=q.stateNode;var _e=q.memoizedProps;switch(q.type){case"button":case"input":case"select":case"textarea":_e.autoFocus&&Z.focus();break;case"img":_e.src&&(Z.src=_e.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===q.memoizedState){var Le=q.alternate;if(null!==Le){var Je=Le.memoizedState;if(null!==Je){var at=Je.dehydrated;null!==at&&nn(at)}}}break;default:throw Error(be(163))}to||512&q.flags&&Cm(q)}catch(qe){ei(q,q.return,qe)}}if(q===G){Nt=null;break}if(null!==(Z=q.sibling)){Z.return=q.return,Nt=Z;break}Nt=q.return}}function pb(G){for(;null!==Nt;){var q=Nt;if(q===G){Nt=null;break}var Z=q.sibling;if(null!==Z){Z.return=q.return,Nt=Z;break}Nt=q.return}}function mb(G){for(;null!==Nt;){var q=Nt;try{switch(q.tag){case 0:case 11:case 15:var Z=q.return;try{Dh(4,q)}catch(_e){ei(q,Z,_e)}break;case 1:var ee=q.stateNode;if("function"==typeof ee.componentDidMount){var ne=q.return;try{ee.componentDidMount()}catch(_e){ei(q,ne,_e)}}var ie=q.return;try{Cm(q)}catch(_e){ei(q,ie,_e)}break;case 5:var se=q.return;try{Cm(q)}catch(_e){ei(q,se,_e)}}}catch(_e){ei(q,q.return,_e)}if(q===G){Nt=null;break}var fe=q.sibling;if(null!==fe){fe.return=q.return,Nt=fe;break}Nt=q.return}}var l_,p1=Math.ceil,mu=tr.ReactCurrentDispatcher,$d=tr.ReactCurrentOwner,Io=tr.ReactCurrentBatchConfig,ar=0,Ui=null,ci=null,$i=0,Go=0,gu=Xa(0),Di=0,yu=null,Ja=0,Wd=0,Gd=0,Yd=null,fn=null,kh=0,_u=1/0,es=null,Kd=!1,Mm=null,yl=null,Sh=!1,_l=null,xh=0,Mh=0,t_=null,vl=-1,Ii=0;function Wi(){return 0!=(6&ar)?xn():-1!==vl?vl:vl=xn()}function Fs(G){return 0==(1&G.mode)?1:0!=(2&ar)&&0!==$i?$i&-$i:null!==ab.transition?(0===Ii&&(Ii=Hf()),Ii):(0!==(G=vr)||(G=void 0===(G=window.event)?16:Nn(G.type)),G)}function ua(G,q,Z,ee){if(50<Mh)throw Mh=0,t_=null,Error(be(185));Nc(G,Z,ee),(0==(2&ar)||G!==Ui)&&(G===Ui&&(0==(2&ar)&&(Wd|=Z),4===Di&&Is(G,$i)),wr(G,ee),1===Z&&0===ar&&0==(1&q.mode)&&(_u=xn()+500,qc&&Cs()))}function wr(G,q){var Z=G.callbackNode;!function Pc(G,q){for(var Z=G.suspendedLanes,ee=G.pingedLanes,ne=G.expirationTimes,ie=G.pendingLanes;0<ie;){var se=31-Eo(ie),fe=1<<se,_e=ne[se];-1===_e?(0==(fe&Z)||0!=(fe&ee))&&(ne[se]=Bf(fe,q)):_e<=q&&(G.expiredLanes|=fe),ie&=~fe}}(G,q);var ee=tl(G,G===Ui?$i:0);if(0===ee)null!==Z&&Vf(Z),G.callbackNode=null,G.callbackPriority=0;else if(G.callbackPriority!==(q=ee&-ee)){if(null!=Z&&Vf(Z),1===q)0===G.tag?function ob(G){qc=!0,ih(G)}(n_.bind(null,G)):ih(n_.bind(null,G)),vy(function(){0==(6&ar)&&Cs()}),Z=null;else{switch(zp(ee)){case 1:Z=Js;break;case 4:Z=_r;break;case 16:default:Z=el;break;case 536870912:Z=Nl}Z=c_(Z,vu.bind(null,G))}G.callbackPriority=q,G.callbackNode=Z}}function vu(G,q){if(vl=-1,Ii=0,0!=(6&ar))throw Error(be(327));var Z=G.callbackNode;if(bu()&&G.callbackNode!==Z)return null;var ee=tl(G,G===Ui?$i:0);if(0===ee)return null;if(0!=(30&ee)||0!=(ee&G.expiredLanes)||q)q=Ih(G,ee);else{q=ee;var ne=ar;ar|=2;var ie=Fh();for((Ui!==G||$i!==q)&&(es=null,_u=xn()+500,oc(G,q));;)try{yb();break}catch(fe){r_(G,fe)}Dy(),mu.current=ie,ar=ne,null!==ci?q=0:(Ui=null,$i=0,q=Di)}if(0!==q){if(2===q&&0!==(ne=Bi(G))&&(ee=ne,q=qd(G,ne)),1===q)throw Z=yu,oc(G,0),Is(G,ee),wr(G,xn()),Z;if(6===q)Is(G,ee);else{if(ne=G.current.alternate,0==(30&ee)&&!function gb(G){for(var q=G;;){if(16384&q.flags){var Z=q.updateQueue;if(null!==Z&&null!==(Z=Z.stores))for(var ee=0;ee<Z.length;ee++){var ne=Z[ee],ie=ne.getSnapshot;ne=ne.value;try{if(!Ya(ie(),ne))return!1}catch(se){return!1}}}if(Z=q.child,16384&q.subtreeFlags&&null!==Z)Z.return=q,q=Z;else{if(q===G)break;for(;null===q.sibling;){if(null===q.return||q.return===G)return!0;q=q.return}q.sibling.return=q.return,q=q.sibling}}return!0}(ne)&&(2===(q=Ih(G,ee))&&0!==(ie=Bi(G))&&(ee=ie,q=qd(G,ie)),1===q))throw Z=yu,oc(G,0),Is(G,ee),wr(G,xn()),Z;switch(G.finishedWork=ne,G.finishedLanes=ee,q){case 0:case 1:throw Error(be(345));case 2:case 5:ac(G,fn,es);break;case 3:if(Is(G,ee),(130023424&ee)===ee&&10<(q=kh+500-xn())){if(0!==tl(G,0))break;if(((ne=G.suspendedLanes)&ee)!==ee){Wi(),G.pingedLanes|=G.suspendedLanes&ne;break}G.timeoutHandle=_d(ac.bind(null,G,fn,es),q);break}ac(G,fn,es);break;case 4:if(Is(G,ee),(4194240&ee)===ee)break;for(q=G.eventTimes,ne=-1;0<ee;){var se=31-Eo(ee);ie=1<<se,(se=q[se])>ne&&(ne=se),ee&=~ie}if(ee=ne,10<(ee=(120>(ee=xn()-ee)?120:480>ee?480:1080>ee?1080:1920>ee?1920:3e3>ee?3e3:4320>ee?4320:1960*p1(ee/1960))-ee)){G.timeoutHandle=_d(ac.bind(null,G,fn,es),ee);break}ac(G,fn,es);break;default:throw Error(be(329))}}}return wr(G,xn()),G.callbackNode===Z?vu.bind(null,G):null}function qd(G,q){var Z=Yd;return G.current.memoizedState.isDehydrated&&(oc(G,q).flags|=256),2!==(G=Ih(G,q))&&(q=fn,fn=Z,null!==q&&Am(q)),G}function Am(G){null===fn?fn=G:fn.push.apply(fn,G)}function Is(G,q){for(q&=~Gd,G.suspendedLanes|=q&=~Wd,G.pingedLanes&=~q,G=G.expirationTimes;0<q;){var Z=31-Eo(q),ee=1<<Z;G[Z]=-1,q&=~ee}}function n_(G){if(0!=(6&ar))throw Error(be(327));bu();var q=tl(G,0);if(0==(1&q))return wr(G,xn()),null;var Z=Ih(G,q);if(0!==G.tag&&2===Z){var ee=Bi(G);0!==ee&&(q=ee,Z=qd(G,ee))}if(1===Z)throw Z=yu,oc(G,0),Is(G,q),wr(G,xn()),Z;if(6===Z)throw Error(be(345));return G.finishedWork=G.current.alternate,G.finishedLanes=q,ac(G,fn,es),wr(G,xn()),null}function Ah(G,q){var Z=ar;ar|=1;try{return G(q)}finally{0===(ar=Z)&&(_u=xn()+500,qc&&Cs())}}function ic(G){null!==_l&&0===_l.tag&&0==(6&ar)&&bu();var q=ar;ar|=1;var Z=Io.transition,ee=vr;try{if(Io.transition=null,vr=1,G)return G()}finally{vr=ee,Io.transition=Z,0==(6&(ar=q))&&Cs()}}function Th(){Go=gu.current,zr(gu)}function oc(G,q){G.finishedWork=null,G.finishedLanes=0;var Z=G.timeoutHandle;if(-1!==Z&&(G.timeoutHandle=-1,ib(Z)),null!==ci)for(Z=ci.return;null!==Z;){var ee=Z;switch(nm(ee),ee.tag){case 1:null!=(ee=ee.type.childContextTypes)&&sa();break;case 3:Ma(),zr(Er),zr(Ci),gl();break;case 5:ml(ee);break;case 4:Ma();break;case 13:case 19:zr(kr);break;case 10:Jc(ee.type._context);break;case 22:case 23:Th()}Z=Z.return}if(Ui=G,ci=G=Gi(G.current,null),$i=Go=q,Di=0,yu=null,Gd=Wd=Ja=0,fn=Yd=null,null!==hl){for(q=0;q<hl.length;q++)if(null!==(ee=(Z=hl[q]).interleaved)){Z.interleaved=null;var ie=Z.pending;if(null!==ie){var se=ie.next;ie.next=ee.next,ee.next=se}Z.pending=ee}hl=null}return G}function r_(G,q){for(;;){var Z=ci;try{if(Dy(),am.current=Vd,lm){for(var ee=Jr.memoizedState;null!==ee;){var ne=ee.queue;null!==ne&&(ne.pending=null),ee=ee.next}lm=!1}if(wt=0,Hi=Fi=Jr=null,fh=!1,hh=0,$d.current=null,null===Z||null===Z.return){Di=1,yu=q,ci=null;break}e:{var ie=G,se=Z.return,fe=Z,_e=q;if(q=$i,fe.flags|=32768,null!==_e&&"object"==typeof _e&&"function"==typeof _e.then){var Le=_e,Je=fe,at=Je.tag;if(0==(1&Je.mode)&&(0===at||11===at||15===at)){var qe=Je.alternate;qe?(Je.updateQueue=qe.updateQueue,Je.memoizedState=qe.memoizedState,Je.lanes=qe.lanes):(Je.updateQueue=null,Je.memoizedState=null)}var Tt=jy(se);if(null!==Tt){Tt.flags&=-257,zy(Tt,se,fe,0,q),1&Tt.mode&&Hy(ie,Le,q),_e=Le;var Bt=(q=Tt).updateQueue;if(null===Bt){var zt=new Set;zt.add(_e),q.updateQueue=zt}else Bt.add(_e);break e}if(0==(1&q)){Hy(ie,Le,q),Tm();break e}_e=Error(be(426))}else if(Ur&&1&fe.mode){var ti=jy(se);if(null!==ti){0==(65536&ti.flags)&&(ti.flags|=256),zy(ti,se,fe,0,q),im(lu(_e,fe));break e}}ie=_e=lu(_e,fe),4!==Di&&(Di=2),null===Yd?Yd=[ie]:Yd.push(ie),ie=se;do{switch(ie.tag){case 3:ie.flags|=65536,ie.lanes|=q&=-q,ky(ie,vh(0,_e,q));break e;case 1:fe=_e;var Te=ie.stateNode;if(0==(128&ie.flags)&&("function"==typeof ie.type.getDerivedStateFromError||null!==Te&&"function"==typeof Te.componentDidCatch&&(null===yl||!yl.has(Te)))){ie.flags|=65536,ie.lanes|=q&=-q,ky(ie,cu(ie,fe,q));break e}}ie=ie.return}while(null!==ie)}bl(Z)}catch(Wt){q=Wt,ci===Z&&null!==Z&&(ci=Z=Z.return);continue}break}}function Fh(){var G=mu.current;return mu.current=Vd,null===G?Vd:G}function Tm(){(0===Di||3===Di||2===Di)&&(Di=4),null===Ui||0==(268435455&Ja)&&0==(268435455&Wd)||Is(Ui,$i)}function Ih(G,q){var Z=ar;ar|=2;var ee=Fh();for((Ui!==G||$i!==q)&&(es=null,oc(G,q));;)try{Fm();break}catch(ne){r_(G,ne)}if(Dy(),ar=Z,mu.current=ee,null!==ci)throw Error(be(261));return Ui=null,$i=0,Di}function Fm(){for(;null!==ci;)i_(ci)}function yb(){for(;null!==ci&&!$a();)i_(ci)}function i_(G){var q=l_(G.alternate,G,Go);G.memoizedProps=G.pendingProps,null===q?bl(G):ci=q,$d.current=null}function bl(G){var q=G;do{var Z=q.alternate;if(G=q.return,0==(32768&q.flags)){if(null!==(Z=qy(Z,q,Go)))return void(ci=Z)}else{if(null!==(Z=nc(Z,q)))return Z.flags&=32767,void(ci=Z);if(null===G)return Di=6,void(ci=null);G.flags|=32768,G.subtreeFlags=0,G.deletions=null}if(null!==(q=q.sibling))return void(ci=q);ci=q=G}while(null!==q);0===Di&&(Di=5)}function ac(G,q,Z){var ee=vr,ne=Io.transition;try{Io.transition=null,vr=1,function _b(G,q,Z,ee){do{bu()}while(null!==_l);if(0!=(6&ar))throw Error(be(327));var ne=G.finishedLanes;if(null===(Z=G.finishedWork))return null;if(G.finishedWork=null,G.finishedLanes=0,Z===G.current)throw Error(be(177));G.callbackNode=null,G.callbackPriority=0;var ie=Z.lanes|Z.childLanes;if(function _a(G,q){var Z=G.pendingLanes&~q;G.pendingLanes=q,G.suspendedLanes=0,G.pingedLanes=0,G.expiredLanes&=q,G.mutableReadLanes&=q,G.entangledLanes&=q,q=G.entanglements;var ee=G.eventTimes;for(G=G.expirationTimes;0<Z;){var ne=31-Eo(Z),ie=1<<ne;q[ne]=0,ee[ne]=-1,G[ne]=-1,Z&=~ie}}(G,ie),G===Ui&&(ci=Ui=null,$i=0),0==(2064&Z.subtreeFlags)&&0==(2064&Z.flags)||Sh||(Sh=!0,c_(el,function(){return bu(),null})),ie=0!=(15990&Z.flags),0!=(15990&Z.subtreeFlags)||ie){ie=Io.transition,Io.transition=null;var se=vr;vr=1;var fe=ar;ar|=4,$d.current=null,function Xy(G,q){if(cl=Ee,dy(G=J0())){if("selectionStart"in G)var Z={start:G.selectionStart,end:G.selectionEnd};else{var ee=(Z=(Z=G.ownerDocument)&&Z.defaultView||window).getSelection&&Z.getSelection();if(ee&&0!==ee.rangeCount){Z=ee.anchorNode;var ne=ee.anchorOffset,ie=ee.focusNode;ee=ee.focusOffset;var se=0,fe=-1,_e=-1,Le=0,Je=0,at=G,qe=null;t:for(;;){for(var Tt;at!==Z||0!==ne&&3!==at.nodeType||(fe=se+ne),at!==ie||0!==ee&&3!==at.nodeType||(_e=se+ee),3===at.nodeType&&(se+=at.nodeValue.length),null!==(Tt=at.firstChild);)qe=at,at=Tt;for(;;){if(at===G)break t;if(qe===Z&&++Le===ne&&(fe=se),qe===ie&&++Je===ee&&(_e=se),null!==(Tt=at.nextSibling))break;qe=(at=qe).parentNode}at=Tt}Z=-1===fe||-1===_e?null:{start:fe,end:_e}}else Z=null}Z=Z||{start:0,end:0}}else Z=null;for(uo={focusedElem:G,selectionRange:Z},Ee=!1,Nt=q;null!==Nt;)if(G=(q=Nt).child,0!=(1028&q.subtreeFlags)&&null!==G)G.return=q,Nt=G;else for(;null!==Nt;){q=Nt;try{var Bt=q.alternate;if(0!=(1024&q.flags))switch(q.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==Bt){var zt=Bt.memoizedProps,ti=Bt.memoizedState,Ae=q.stateNode,Ce=Ae.getSnapshotBeforeUpdate(q.elementType===q.type?zt:po(q.type,zt),ti);Ae.__reactInternalSnapshotBeforeUpdate=Ce}break;case 3:var Te=q.stateNode.containerInfo;1===Te.nodeType?Te.textContent="":9===Te.nodeType&&Te.documentElement&&Te.removeChild(Te.documentElement);break;default:throw Error(be(163))}}catch(dt){ei(q,q.return,dt)}if(null!==(G=q.sibling)){G.return=q.return,Nt=G;break}Nt=q.return}Bt=Ta,Ta=!1}(G,Z),Ia(Z,G),c1(uo),Ee=!!cl,uo=cl=null,G.current=Z,e_(Z,G,ne),oo(),ar=fe,vr=se,Io.transition=ie}else G.current=Z;if(Sh&&(Sh=!1,_l=G,xh=ne),0===(ie=G.pendingLanes)&&(yl=null),function mn(G){if(kn&&"function"==typeof kn.onCommitFiberRoot)try{kn.onCommitFiberRoot(Oc,G,void 0,128==(128&G.current.flags))}catch(q){}}(Z.stateNode),wr(G,xn()),null!==q)for(ee=G.onRecoverableError,Z=0;Z<q.length;Z++)ee((ne=q[Z]).value,{componentStack:ne.stack,digest:ne.digest});if(Kd)throw Kd=!1,G=Mm,Mm=null,G;0!=(1&xh)&&0!==G.tag&&bu(),0!=(1&(ie=G.pendingLanes))?G===t_?Mh++:(Mh=0,t_=G):Mh=0,Cs()}(G,q,Z,ee)}finally{Io.transition=ne,vr=ee}return null}function bu(){if(null!==_l){var G=zp(xh),q=Io.transition,Z=vr;try{if(Io.transition=null,vr=16>G?16:G,null===_l)var ee=!1;else{if(G=_l,_l=null,xh=0,0!=(6&ar))throw Error(be(331));var ne=ar;for(ar|=4,Nt=G.current;null!==Nt;){var ie=Nt,se=ie.child;if(0!=(16&Nt.flags)){var fe=ie.deletions;if(null!==fe){for(var _e=0;_e<fe.length;_e++){var Le=fe[_e];for(Nt=Le;null!==Nt;){var Je=Nt;switch(Je.tag){case 0:case 11:case 15:Ud(8,Je,ie)}var at=Je.child;if(null!==at)at.return=Je,Nt=at;else for(;null!==Nt;){var qe=(Je=Nt).sibling,Tt=Je.return;if(Qy(Je),Je===Le){Nt=null;break}if(null!==qe){qe.return=Tt,Nt=qe;break}Nt=Tt}}}var Bt=ie.alternate;if(null!==Bt){var zt=Bt.child;if(null!==zt){Bt.child=null;do{var ti=zt.sibling;zt.sibling=null,zt=ti}while(null!==zt)}}Nt=ie}}if(0!=(2064&ie.subtreeFlags)&&null!==se)se.return=ie,Nt=se;else e:for(;null!==Nt;){if(0!=(2048&(ie=Nt).flags))switch(ie.tag){case 0:case 11:case 15:Ud(9,ie,ie.return)}var Ae=ie.sibling;if(null!==Ae){Ae.return=ie.return,Nt=Ae;break e}Nt=ie.return}}var Ce=G.current;for(Nt=Ce;null!==Nt;){var Te=(se=Nt).child;if(0!=(2064&se.subtreeFlags)&&null!==Te)Te.return=se,Nt=Te;else e:for(se=Ce;null!==Nt;){if(0!=(2048&(fe=Nt).flags))try{switch(fe.tag){case 0:case 11:case 15:Dh(9,fe)}}catch(Wt){ei(fe,fe.return,Wt)}if(fe===se){Nt=null;break e}var dt=fe.sibling;if(null!==dt){dt.return=fe.return,Nt=dt;break e}Nt=fe.return}}if(ar=ne,Cs(),kn&&"function"==typeof kn.onPostCommitFiberRoot)try{kn.onPostCommitFiberRoot(Oc,G)}catch(Wt){}ee=!0}return ee}finally{vr=Z,Io.transition=q}}return!1}function o_(G,q,Z){G=xs(G,q=vh(0,q=lu(Z,q),1),1),q=Wi(),null!==G&&(Nc(G,1,q),wr(G,q))}function ei(G,q,Z){if(3===G.tag)o_(G,G,Z);else for(;null!==q;){if(3===q.tag){o_(q,G,Z);break}if(1===q.tag){var ee=q.stateNode;if("function"==typeof q.type.getDerivedStateFromError||"function"==typeof ee.componentDidCatch&&(null===yl||!yl.has(ee))){q=xs(q,G=cu(q,G=lu(Z,G),1),1),G=Wi(),null!==q&&(Nc(q,1,G),wr(q,G));break}}q=q.return}}function a_(G,q,Z){var ee=G.pingCache;null!==ee&&ee.delete(q),q=Wi(),G.pingedLanes|=G.suspendedLanes&Z,Ui===G&&($i&Z)===Z&&(4===Di||3===Di&&(130023424&$i)===$i&&500>xn()-kh?oc(G,0):Gd|=Z),wr(G,q)}function s_(G,q){0===q&&(0==(1&G.mode)?q=1:(q=Qr,0==(130023424&(Qr<<=1))&&(Qr=4194304)));var Z=Wi();null!==(G=Ss(G,q))&&(Nc(G,q,Z),wr(G,Z))}function vb(G){var q=G.memoizedState,Z=0;null!==q&&(Z=q.retryLane),s_(G,Z)}function bb(G,q){var Z=0;switch(G.tag){case 13:var ee=G.stateNode,ne=G.memoizedState;null!==ne&&(Z=ne.retryLane);break;case 19:ee=G.stateNode;break;default:throw Error(be(314))}null!==ee&&ee.delete(q),s_(G,Z)}function c_(G,q){return Rc(G,q)}function wb(G,q,Z,ee){this.tag=G,this.key=Z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=q,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ee,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function da(G,q,Z,ee){return new wb(G,q,Z,ee)}function Im(G){return!(!(G=G.prototype)||!G.isReactComponent)}function Gi(G,q){var Z=G.alternate;return null===Z?((Z=da(G.tag,q,G.key,G.mode)).elementType=G.elementType,Z.type=G.type,Z.stateNode=G.stateNode,Z.alternate=G,G.alternate=Z):(Z.pendingProps=q,Z.type=G.type,Z.flags=0,Z.subtreeFlags=0,Z.deletions=null),Z.flags=14680064&G.flags,Z.childLanes=G.childLanes,Z.lanes=G.lanes,Z.child=G.child,Z.memoizedProps=G.memoizedProps,Z.memoizedState=G.memoizedState,Z.updateQueue=G.updateQueue,Z.dependencies=null===(q=G.dependencies)?null:{lanes:q.lanes,firstContext:q.firstContext},Z.sibling=G.sibling,Z.index=G.index,Z.ref=G.ref,Z}function Rm(G,q,Z,ee,ne,ie){var se=2;if(ee=G,"function"==typeof G)Im(G)&&(se=1);else if("string"==typeof G)se=5;else e:switch(G){case Sr:return Cu(Z.children,ne,ie,q);case Qi:se=8,ne|=8;break;case Fe:return(G=da(12,Z,q,2|ne)).elementType=Fe,G.lanes=ie,G;case Gt:return(G=da(13,Z,q,ne)).elementType=Gt,G.lanes=ie,G;case tn:return(G=da(19,Z,q,ne)).elementType=tn,G.lanes=ie,G;case Xt:return Xd(Z,ne,ie,q);default:if("object"==typeof G&&null!==G)switch(G.$$typeof){case Ze:se=10;break e;case Qt:se=9;break e;case pn:se=11;break e;case Mi:se=14;break e;case rt:se=16,ee=null;break e}throw Error(be(130,null==G?G:typeof G,""))}return(q=da(se,Z,q,ne)).elementType=G,q.type=ee,q.lanes=ie,q}function Cu(G,q,Z,ee){return(G=da(7,G,ee,q)).lanes=Z,G}function Xd(G,q,Z,ee){return(G=da(22,G,ee,q)).elementType=Xt,G.lanes=Z,G.stateNode={isHidden:!1},G}function u_(G,q,Z){return(G=da(6,G,null,q)).lanes=Z,G}function yo(G,q,Z){return(q=da(4,null!==G.children?G.children:[],G.key,q)).lanes=Z,q.stateNode={containerInfo:G.containerInfo,pendingChildren:null,implementation:G.implementation},q}function Om(G,q,Z,ee,ne){this.tag=q,this.containerInfo=G,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=rd(0),this.expirationTimes=rd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rd(0),this.identifierPrefix=ee,this.onRecoverableError=ne,this.mutableSourceEagerHydrationData=null}function Qd(G,q,Z,ee,ne,ie,se,fe,_e){return G=new Om(G,q,Z,fe,_e),1===q?(q=1,!0===ie&&(q|=8)):q=0,ie=da(3,null,null,q),G.current=ie,ie.stateNode=G,ie.memoizedState={element:ee,isDehydrated:Z,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dd(ie),G}function Cb(G,q,Z){var ee=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Xr,key:null==ee?null:""+ee,children:G,containerInfo:q,implementation:Z}}function Pm(G){if(!G)return Da;e:{if(Ua(G=G._reactInternals)!==G||1!==G.tag)throw Error(be(170));var q=G;do{switch(q.tag){case 3:q=q.stateNode.context;break e;case 1:if(Ei(q.type)){q=q.stateNode.__reactInternalMemoizedMergedChildContext;break e}}q=q.return}while(null!==q);throw Error(be(171))}if(1===G.tag){var Z=G.type;if(Ei(Z))return tm(G,Z,q)}return q}function Eu(G,q,Z,ee,ne,ie,se,fe,_e){return(G=Qd(Z,ee,!0,G,0,ie,0,fe,_e)).context=Pm(null),Z=G.current,(ie=pl(ee=Wi(),ne=Fs(Z))).callback=null!=q?q:null,xs(Z,ie,ne),G.current.lanes=ne,Nc(G,ne,ee),wr(G,ee),G}function Zd(G,q,Z,ee){var ne=q.current,ie=Wi(),se=Fs(ne);return Z=Pm(Z),null===q.context?q.context=Z:q.pendingContext=Z,(q=pl(ie,se)).payload={element:G},null!==(ee=void 0===ee?null:ee)&&(q.callback=ee),null!==(G=xs(ne,q,se))&&(ua(G,ne,se,ie),Sd(G,ne,se)),se}function Jd(G){return(G=G.current).child?G.child.stateNode:null}function Rh(G,q){if(null!==(G=G.memoizedState)&&null!==G.dehydrated){var Z=G.retryLane;G.retryLane=0!==Z&&Z<q?Z:q}}function ef(G,q){Rh(G,q),(G=G.alternate)&&Rh(G,q)}l_=function(G,q,Z){if(null!==G)if(G.memoizedProps!==q.pendingProps||Er.current)qr=!0;else{if(0==(G.lanes&Z)&&0==(128&q.flags))return qr=!1,function fb(G,q,Z){switch(q.tag){case 3:tc(q),Qa();break;case 5:ec(q);break;case 1:Ei(q.type)&&nh(q);break;case 4:Fd(q,q.stateNode.containerInfo);break;case 10:var ee=q.type._context,ne=q.memoizedProps.value;Pr(Qc,ee._currentValue),ee._currentValue=ne;break;case 13:if(null!==(ee=q.memoizedState))return null!==ee.dehydrated?(Pr(kr,1&kr.current),q.flags|=128,null):0!=(Z&q.child.childLanes)?_m(G,q,Z):(Pr(kr,1&kr.current),null!==(G=To(G,q,Z))?G.sibling:null);Pr(kr,1&kr.current);break;case 19:if(ee=0!=(Z&q.childLanes),0!=(128&G.flags)){if(ee)return jd(G,q,Z);q.flags|=128}if(null!==(ne=q.memoizedState)&&(ne.rendering=null,ne.tail=null,ne.lastEffect=null),Pr(kr,kr.current),ee)break;return null;case 22:case 23:return q.lanes=0,bh(G,q,Z)}return To(G,q,Z)}(G,q,Z);qr=0!=(131072&G.flags)}else qr=!1,Ur&&0!=(1048576&q.flags)&&Kr(q,bd,q.index);switch(q.lanes=0,q.tag){case 2:var ee=q.type;du(G,q),G=q.pendingProps;var ne=Kl(q,Ci.current);fl(q,Z),ne=li(null,q,ee,G,ne,Z);var ie=Od();return q.flags|=1,"object"==typeof ne&&null!==ne&&"function"==typeof ne.render&&void 0===ne.$$typeof?(q.tag=1,q.memoizedState=null,q.updateQueue=null,Ei(ee)?(ie=!0,nh(q)):ie=!1,q.memoizedState=null!=ne.state?ne.state:null,Dd(q),ne.updater=Jl,q.stateNode=ne,ne._reactInternals=q,dh(q,ee,G,Z),q=gm(null,q,ee,!0,ie,Z)):(q.tag=0,Ur&&ie&&Ql(q),eo(null,q,ne,Z),q=q.child),q;case 16:ee=q.elementType;e:{switch(du(G,q),G=q.pendingProps,ee=(ne=ee._init)(ee._payload),q.type=ee,ne=q.tag=function wu(G){if("function"==typeof G)return Im(G)?1:0;if(null!=G){if((G=G.$$typeof)===pn)return 11;if(G===Mi)return 14}return 2}(ee),G=po(ee,G),ne){case 0:q=wh(null,q,ee,G,Z);break e;case 1:q=$y(null,q,ee,G,Z);break e;case 11:q=Ts(null,q,ee,G,Z);break e;case 14:q=Uy(null,q,ee,po(ee.type,G),Z);break e}throw Error(be(306,ee,""))}return q;case 0:return ne=q.pendingProps,wh(G,q,ee=q.type,ne=q.elementType===ee?ne:po(ee,ne),Z);case 1:return ne=q.pendingProps,$y(G,q,ee=q.type,ne=q.elementType===ee?ne:po(ee,ne),Z);case 3:e:{if(tc(q),null===G)throw Error(be(387));ee=q.pendingProps,ne=(ie=q.memoizedState).element,kd(G,q),ch(q,ee,null,Z);var se=q.memoizedState;if(ee=se.element,ie.isDehydrated){if(q.updateQueue.baseState=ie={element:ee,isDehydrated:!1,cache:se.cache,pendingSuspenseBoundaries:se.pendingSuspenseBoundaries,transitions:se.transitions},q.memoizedState=ie,256&q.flags){q=uu(G,q,ee,Z,ne=lu(Error(be(423)),q));break e}if(ee!==ne){q=uu(G,q,ee,Z,ne=lu(Error(be(424)),q));break e}for($o=Gl(q.stateNode.containerInfo.firstChild),So=q,Ur=!0,Sa=null,Z=nu(q,null,ee,Z),q.child=Z;Z;)Z.flags=-3&Z.flags|4096,Z=Z.sibling}else{if(Qa(),ee===ne){q=To(G,q,Z);break e}eo(G,q,ee,Z)}q=q.child}return q;case 5:return ec(q),null===G&&Ed(q),ie=null!==G?G.memoizedProps:null,se=(ne=q.pendingProps).children,th(ee=q.type,ne)?se=null:null!==ie&&th(ee,ie)&&(q.flags|=32),Hd(G,q),eo(G,q,se,Z),q.child;case 6:return null===G&&Ed(q),null;case 13:return _m(G,q,Z);case 4:return Fd(q,q.stateNode.containerInfo),ee=q.pendingProps,null===G?q.child=Ms(q,null,ee,Z):eo(G,q,ee,Z),q.child;case 11:return ne=q.pendingProps,Ts(G,q,ee=q.type,ne=q.elementType===ee?ne:po(ee,ne),Z);case 7:return eo(G,q,q.pendingProps,Z),q.child;case 8:case 12:return eo(G,q,q.pendingProps.children,Z),q.child;case 10:e:{if(ie=q.memoizedProps,se=(ne=q.pendingProps).value,Pr(Qc,(ee=q.type._context)._currentValue),ee._currentValue=se,null!==ie)if(Ya(ie.value,se)){if(ie.children===ne.children&&!Er.current){q=To(G,q,Z);break e}}else for(null!==(ie=q.child)&&(ie.return=q);null!==ie;){var fe=ie.dependencies;if(null!==fe){se=ie.child;for(var _e=fe.firstContext;null!==_e;){if(_e.context===ee){if(1===ie.tag){(_e=pl(-1,Z&-Z)).tag=2;var Le=ie.updateQueue;if(null!==Le){var Je=(Le=Le.shared).pending;null===Je?_e.next=_e:(_e.next=Je.next,Je.next=_e),Le.pending=_e}}ie.lanes|=Z,null!==(_e=ie.alternate)&&(_e.lanes|=Z),sh(ie.return,Z,q),fe.lanes|=Z;break}_e=_e.next}}else if(10===ie.tag)se=ie.type===q.type?null:ie.child;else if(18===ie.tag){if(null===(se=ie.return))throw Error(be(341));se.lanes|=Z,null!==(fe=se.alternate)&&(fe.lanes|=Z),sh(se,Z,q),se=ie.sibling}else se=ie.child;if(null!==se)se.return=ie;else for(se=ie;null!==se;){if(se===q){se=null;break}if(null!==(ie=se.sibling)){ie.return=se.return,se=ie;break}se=se.return}ie=se}eo(G,q,ne.children,Z),q=q.child}return q;case 9:return ne=q.type,ee=q.pendingProps.children,fl(q,Z),ee=ee(ne=mo(ne)),q.flags|=1,eo(G,q,ee,Z),q.child;case 14:return ne=po(ee=q.type,q.pendingProps),Uy(G,q,ee,ne=po(ee.type,ne),Z);case 15:return mm(G,q,q.type,q.pendingProps,Z);case 17:return ne=q.pendingProps,ne=q.elementType===(ee=q.type)?ne:po(ee,ne),du(G,q),q.tag=1,Ei(ee)?(G=!0,nh(q)):G=!1,fl(q,Z),Sy(q,ee,ne),dh(q,ee,ne,Z),gm(null,q,ee,!0,G,Z);case 19:return jd(G,q,Z);case 22:return bh(G,q,Z)}throw Error(be(156,q.tag))};var Eb="function"==typeof reportError?reportError:function(G){console.error(G)};function wl(G){this._internalRoot=G}function Du(G){this._internalRoot=G}function Oh(G){return!(!G||1!==G.nodeType&&9!==G.nodeType&&11!==G.nodeType)}function Ph(G){return!(!G||1!==G.nodeType&&9!==G.nodeType&&11!==G.nodeType&&(8!==G.nodeType||" react-mount-point-unstable "!==G.nodeValue))}function Nh(){}function Lh(G,q,Z,ee,ne){var ie=Z._reactRootContainer;if(ie){var se=ie;if("function"==typeof ne){var fe=ne;ne=function(){var _e=Jd(se);fe.call(_e)}}Zd(q,se,G,ne)}else se=function Db(G,q,Z,ee,ne){if(ne){if("function"==typeof ee){var ie=ee;ee=function(){var Le=Jd(se);ie.call(Le)}}var se=Eu(q,ee,G,0,null,!1,0,"",Nh);return G._reactRootContainer=se,G[ws]=se.current,Wl(8===G.nodeType?G.parentNode:G),ic(),se}for(;ne=G.lastChild;)G.removeChild(ne);if("function"==typeof ee){var fe=ee;ee=function(){var Le=Jd(_e);fe.call(Le)}}var _e=Qd(G,0,!1,null,0,!1,0,"",Nh);return G._reactRootContainer=_e,G[ws]=_e.current,Wl(8===G.nodeType?G.parentNode:G),ic(function(){Zd(q,_e,Z,ee)}),_e}(Z,q,G,ne,ee);return Jd(se)}Du.prototype.render=wl.prototype.render=function(G){var q=this._internalRoot;if(null===q)throw Error(be(409));Zd(G,q,null,null)},Du.prototype.unmount=wl.prototype.unmount=function(){var G=this._internalRoot;if(null!==G){this._internalRoot=null;var q=G.containerInfo;ic(function(){Zd(null,G,null,null)}),q[ws]=null}},Du.prototype.unstable_scheduleHydration=function(G){if(G){var q=jf();G={blockedOn:null,target:G,priority:q};for(var Z=0;Z<un.length&&0!==q&&q<un[Z].priority;Z++);un.splice(Z,0,G),0===Z&&od(G)}},Up=function(G){switch(G.tag){case 3:var q=G.stateNode;if(q.current.memoizedState.isDehydrated){var Z=Ll(q.pendingLanes);0!==Z&&(id(q,1|Z),wr(q,xn()),0==(6&ar)&&(_u=xn()+500,Cs()))}break;case 13:ic(function(){var ee=Ss(G,1);if(null!==ee){var ne=Wi();ua(ee,G,1,ne)}}),ef(G,1)}},Vl=function(G){if(13===G.tag){var q=Ss(G,134217728);null!==q&&ua(q,G,134217728,Wi()),ef(G,134217728)}},$p=function(G){if(13===G.tag){var q=Fs(G),Z=Ss(G,q);null!==Z&&ua(Z,G,q,Wi()),ef(G,q)}},jf=function(){return vr},Wp=function(G,q){var Z=vr;try{return vr=G,q()}finally{vr=Z}},yr=function(G,q,Z){switch(q){case"input":if(Ys(G,Z),q=Z.name,"radio"===Z.type&&null!=q){for(Z=G;Z.parentNode;)Z=Z.parentNode;for(Z=Z.querySelectorAll("input[name="+JSON.stringify(""+q)+'][type="radio"]'),q=0;q<Z.length;q++){var ee=Z[q];if(ee!==G&&ee.form===G.form){var ne=ul(ee);if(!ne)throw Error(be(90));Zu(ee),Ys(ee,ne)}}}break;case"textarea":Ac(G,Z);break;case"select":null!=(q=Z.value)&&wi(G,!!Z.multiple,q,!1)}},If=Ah,Rf=ic;var kb={usingClientEntryPoint:!1,Events:[Gr,Yl,ul,Ff,Ju,Ah]},tf={findFiberByHostInstance:si,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Sb={bundleType:tf.bundleType,version:tf.version,rendererPackageName:tf.rendererPackageName,rendererConfig:tf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:tr.ReactCurrentDispatcher,findHostInstanceByFiber:function(G){return null===(G=Lf(G))?null:G.stateNode},findFiberByHostInstance:tf.findFiberByHostInstance||function d_(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Vh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vh.isDisabled&&Vh.supportsFiber)try{Oc=Vh.inject(Sb),kn=Vh}catch(G){}}ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=kb,ke.createPortal=function(G,q){var Z=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Oh(q))throw Error(be(200));return Cb(G,q,null,Z)},ke.createRoot=function(G,q){if(!Oh(G))throw Error(be(299));var Z=!1,ee="",ne=Eb;return null!=q&&(!0===q.unstable_strictMode&&(Z=!0),void 0!==q.identifierPrefix&&(ee=q.identifierPrefix),void 0!==q.onRecoverableError&&(ne=q.onRecoverableError)),q=Qd(G,1,!1,null,0,Z,0,ee,ne),G[ws]=q.current,Wl(8===G.nodeType?G.parentNode:G),new wl(q)},ke.findDOMNode=function(G){if(null==G)return null;if(1===G.nodeType)return G;var q=G._reactInternals;if(void 0===q)throw"function"==typeof G.render?Error(be(188)):(G=Object.keys(G).join(","),Error(be(268,G)));return null===(G=Lf(q))?null:G.stateNode},ke.flushSync=function(G){return ic(G)},ke.hydrate=function(G,q,Z){if(!Ph(q))throw Error(be(200));return Lh(null,G,q,!0,Z)},ke.hydrateRoot=function(G,q,Z){if(!Oh(G))throw Error(be(405));var ee=null!=Z&&Z.hydratedSources||null,ne=!1,ie="",se=Eb;if(null!=Z&&(!0===Z.unstable_strictMode&&(ne=!0),void 0!==Z.identifierPrefix&&(ie=Z.identifierPrefix),void 0!==Z.onRecoverableError&&(se=Z.onRecoverableError)),q=Eu(q,null,G,1,null!=Z?Z:null,ne,0,ie,se),G[ws]=q.current,Wl(G),ee)for(G=0;G<ee.length;G++)ne=(ne=(Z=ee[G])._getVersion)(Z._source),null==q.mutableSourceEagerHydrationData?q.mutableSourceEagerHydrationData=[Z,ne]:q.mutableSourceEagerHydrationData.push(Z,ne);return new Du(q)},ke.render=function(G,q,Z){if(!Ph(q))throw Error(be(200));return Lh(null,G,q,!1,Z)},ke.unmountComponentAtNode=function(G){if(!Ph(G))throw Error(be(40));return!!G._reactRootContainer&&(ic(function(){Lh(null,null,G,!1,function(){G._reactRootContainer=null,G[ws]=null})}),!0)},ke.unstable_batchedUpdates=Ah,ke.unstable_renderSubtreeIntoContainer=function(G,q,Z,ee){if(!Ph(Z))throw Error(be(200));if(null==G||void 0===G._reactInternals)throw Error(be(38));return Lh(G,q,Z,!1,ee)},ke.version="18.2.0-next-9e3b772b8-20220608"},829:(xe,ke,Ve)=>{"use strict";(function we(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(we)}catch(je){console.error(je)}})(),xe.exports=Ve(709)},743:(xe,ke,Ve)=>{"use strict";xe.exports=Ve(819)},922:(xe,ke,Ve)=>{"use strict";var je=Ve(611),be=Symbol.for("react.element"),Xe=Symbol.for("react.fragment"),Se=Object.prototype.hasOwnProperty,bt=je.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ge={key:!0,ref:!0,__self:!0,__source:!0};ke.Fragment=Xe,ke.jsx=function Ct(yt,Pt,ut){var jt,cn={},Et=null,Dt=null;for(jt in void 0!==ut&&(Et=""+ut),void 0!==Pt.key&&(Et=""+Pt.key),void 0!==Pt.ref&&(Dt=Pt.ref),Pt)Se.call(Pt,jt)&&!Ge.hasOwnProperty(jt)&&(cn[jt]=Pt[jt]);if(yt&&yt.defaultProps)for(jt in Pt=yt.defaultProps)void 0===cn[jt]&&(cn[jt]=Pt[jt]);return{$$typeof:be,type:yt,key:Et,ref:Dt,props:cn,_owner:bt.current}}},143:(xe,ke)=>{"use strict";var Ve=Symbol.for("react.element"),we=Symbol.for("react.portal"),je=Symbol.for("react.fragment"),be=Symbol.for("react.strict_mode"),Xe=Symbol.for("react.profiler"),Se=Symbol.for("react.provider"),bt=Symbol.for("react.context"),Ge=Symbol.for("react.forward_ref"),Ct=Symbol.for("react.suspense"),yt=Symbol.for("react.memo"),Pt=Symbol.for("react.lazy"),ut=Symbol.iterator,cn={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Et=Object.assign,Dt={};function Ue(De,He,_t){this.props=De,this.context=He,this.refs=Dt,this.updater=_t||cn}function Vt(){}function Vn(De,He,_t){this.props=De,this.context=He,this.refs=Dt,this.updater=_t||cn}Ue.prototype.isReactComponent={},Ue.prototype.setState=function(De,He){if("object"!=typeof De&&"function"!=typeof De&&null!=De)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,De,He,"setState")},Ue.prototype.forceUpdate=function(De){this.updater.enqueueForceUpdate(this,De,"forceUpdate")},Vt.prototype=Ue.prototype;var _n=Vn.prototype=new Vt;_n.constructor=Vn,Et(_n,Ue.prototype),_n.isPureReactComponent=!0;var fr=Array.isArray,tr=Object.prototype.hasOwnProperty,dn={current:null},Xr={key:!0,ref:!0,__self:!0,__source:!0};function Sr(De,He,_t){var Yt,Zt={},vn=null,nr=null;if(null!=He)for(Yt in void 0!==He.ref&&(nr=He.ref),void 0!==He.key&&(vn=""+He.key),He)tr.call(He,Yt)&&!Xr.hasOwnProperty(Yt)&&(Zt[Yt]=He[Yt]);var On=arguments.length-2;if(1===On)Zt.children=_t;else if(1<On){for(var xr=Array(On),Lr=0;Lr<On;Lr++)xr[Lr]=arguments[Lr+2];Zt.children=xr}if(De&&De.defaultProps)for(Yt in On=De.defaultProps)void 0===Zt[Yt]&&(Zt[Yt]=On[Yt]);return{$$typeof:Ve,type:De,key:vn,ref:nr,props:Zt,_owner:dn.current}}function Fe(De){return"object"==typeof De&&null!==De&&De.$$typeof===Ve}var Qt=/\/+/g;function pn(De,He){return"object"==typeof De&&null!==De&&null!=De.key?function Ze(De){var He={"=":"=0",":":"=2"};return"$"+De.replace(/[=:]/g,function(_t){return He[_t]})}(""+De.key):He.toString(36)}function Gt(De,He,_t,Yt,Zt){var vn=typeof De;("undefined"===vn||"boolean"===vn)&&(De=null);var nr=!1;if(null===De)nr=!0;else switch(vn){case"string":case"number":nr=!0;break;case"object":switch(De.$$typeof){case Ve:case we:nr=!0}}if(nr)return Zt=Zt(nr=De),De=""===Yt?"."+pn(nr,0):Yt,fr(Zt)?(_t="",null!=De&&(_t=De.replace(Qt,"$&/")+"/"),Gt(Zt,He,_t,"",function(Lr){return Lr})):null!=Zt&&(Fe(Zt)&&(Zt=function Qi(De,He){return{$$typeof:Ve,type:De.type,key:He,ref:De.ref,props:De.props,_owner:De._owner}}(Zt,_t+(!Zt.key||nr&&nr.key===Zt.key?"":(""+Zt.key).replace(Qt,"$&/")+"/")+De)),He.push(Zt)),1;if(nr=0,Yt=""===Yt?".":Yt+":",fr(De))for(var On=0;On<De.length;On++){var xr=Yt+pn(vn=De[On],On);nr+=Gt(vn,He,_t,xr,Zt)}else if(xr=function jt(De){return null===De||"object"!=typeof De?null:"function"==typeof(De=ut&&De[ut]||De["@@iterator"])?De:null}(De),"function"==typeof xr)for(De=xr.call(De),On=0;!(vn=De.next()).done;)nr+=Gt(vn=vn.value,He,_t,xr=Yt+pn(vn,On++),Zt);else if("object"===vn)throw He=String(De),Error("Objects are not valid as a React child (found: "+("[object Object]"===He?"object with keys {"+Object.keys(De).join(", ")+"}":He)+"). If you meant to render a collection of children, use an array instead.");return nr}function tn(De,He,_t){if(null==De)return De;var Yt=[],Zt=0;return Gt(De,Yt,"","",function(vn){return He.call(_t,vn,Zt++)}),Yt}function Mi(De){if(-1===De._status){var He=De._result;(He=He()).then(function(_t){(0===De._status||-1===De._status)&&(De._status=1,De._result=_t)},function(_t){(0===De._status||-1===De._status)&&(De._status=2,De._result=_t)}),-1===De._status&&(De._status=0,De._result=He)}if(1===De._status)return De._result.default;throw De._result}var rt={current:null},Xt={transition:null},Ke={ReactCurrentDispatcher:rt,ReactCurrentBatchConfig:Xt,ReactCurrentOwner:dn};ke.Children={map:tn,forEach:function(De,He,_t){tn(De,function(){He.apply(this,arguments)},_t)},count:function(De){var He=0;return tn(De,function(){He++}),He},toArray:function(De){return tn(De,function(He){return He})||[]},only:function(De){if(!Fe(De))throw Error("React.Children.only expected to receive a single React element child.");return De}},ke.Component=Ue,ke.Fragment=je,ke.Profiler=Xe,ke.PureComponent=Vn,ke.StrictMode=be,ke.Suspense=Ct,ke.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ke,ke.cloneElement=function(De,He,_t){if(null==De)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+De+".");var Yt=Et({},De.props),Zt=De.key,vn=De.ref,nr=De._owner;if(null!=He){if(void 0!==He.ref&&(vn=He.ref,nr=dn.current),void 0!==He.key&&(Zt=""+He.key),De.type&&De.type.defaultProps)var On=De.type.defaultProps;for(xr in He)tr.call(He,xr)&&!Xr.hasOwnProperty(xr)&&(Yt[xr]=void 0===He[xr]&&void 0!==On?On[xr]:He[xr])}var xr=arguments.length-2;if(1===xr)Yt.children=_t;else if(1<xr){On=Array(xr);for(var Lr=0;Lr<xr;Lr++)On[Lr]=arguments[Lr+2];Yt.children=On}return{$$typeof:Ve,type:De.type,key:Zt,ref:vn,props:Yt,_owner:nr}},ke.createContext=function(De){return(De={$$typeof:bt,_currentValue:De,_currentValue2:De,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:Se,_context:De},De.Consumer=De},ke.createElement=Sr,ke.createFactory=function(De){var He=Sr.bind(null,De);return He.type=De,He},ke.createRef=function(){return{current:null}},ke.forwardRef=function(De){return{$$typeof:Ge,render:De}},ke.isValidElement=Fe,ke.lazy=function(De){return{$$typeof:Pt,_payload:{_status:-1,_result:De},_init:Mi}},ke.memo=function(De,He){return{$$typeof:yt,type:De,compare:void 0===He?null:He}},ke.startTransition=function(De){var He=Xt.transition;Xt.transition={};try{De()}finally{Xt.transition=He}},ke.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},ke.useCallback=function(De,He){return rt.current.useCallback(De,He)},ke.useContext=function(De){return rt.current.useContext(De)},ke.useDebugValue=function(){},ke.useDeferredValue=function(De){return rt.current.useDeferredValue(De)},ke.useEffect=function(De,He){return rt.current.useEffect(De,He)},ke.useId=function(){return rt.current.useId()},ke.useImperativeHandle=function(De,He,_t){return rt.current.useImperativeHandle(De,He,_t)},ke.useInsertionEffect=function(De,He){return rt.current.useInsertionEffect(De,He)},ke.useLayoutEffect=function(De,He){return rt.current.useLayoutEffect(De,He)},ke.useMemo=function(De,He){return rt.current.useMemo(De,He)},ke.useReducer=function(De,He,_t){return rt.current.useReducer(De,He,_t)},ke.useRef=function(De){return rt.current.useRef(De)},ke.useState=function(De){return rt.current.useState(De)},ke.useSyncExternalStore=function(De,He,_t){return rt.current.useSyncExternalStore(De,He,_t)},ke.useTransition=function(){return rt.current.useTransition()},ke.version="18.2.0"},611:(xe,ke,Ve)=>{"use strict";xe.exports=Ve(143)},305:(xe,ke,Ve)=>{"use strict";xe.exports=Ve(922)},676:(xe,ke)=>{"use strict";function Ve(rt,Xt){var Ke=rt.length;rt.push(Xt);e:for(;0<Ke;){var De=Ke-1>>>1,He=rt[De];if(!(0<be(He,Xt)))break e;rt[De]=Xt,rt[Ke]=He,Ke=De}}function we(rt){return 0===rt.length?null:rt[0]}function je(rt){if(0===rt.length)return null;var Xt=rt[0],Ke=rt.pop();if(Ke!==Xt){rt[0]=Ke;e:for(var De=0,He=rt.length,_t=He>>>1;De<_t;){var Yt=2*(De+1)-1,Zt=rt[Yt],vn=Yt+1,nr=rt[vn];if(0>be(Zt,Ke))vn<He&&0>be(nr,Zt)?(rt[De]=nr,rt[vn]=Ke,De=vn):(rt[De]=Zt,rt[Yt]=Ke,De=Yt);else{if(!(vn<He&&0>be(nr,Ke)))break e;rt[De]=nr,rt[vn]=Ke,De=vn}}}return Xt}function be(rt,Xt){var Ke=rt.sortIndex-Xt.sortIndex;return 0!==Ke?Ke:rt.id-Xt.id}if("object"==typeof performance&&"function"==typeof performance.now){var Xe=performance;ke.unstable_now=function(){return Xe.now()}}else{var Se=Date,bt=Se.now();ke.unstable_now=function(){return Se.now()-bt}}var Ge=[],Ct=[],yt=1,Pt=null,ut=3,jt=!1,cn=!1,Et=!1,Dt="function"==typeof setTimeout?setTimeout:null,Ue="function"==typeof clearTimeout?clearTimeout:null,Vt="undefined"!=typeof setImmediate?setImmediate:null;function Vn(rt){for(var Xt=we(Ct);null!==Xt;){if(null===Xt.callback)je(Ct);else{if(!(Xt.startTime<=rt))break;je(Ct),Xt.sortIndex=Xt.expirationTime,Ve(Ge,Xt)}Xt=we(Ct)}}function _n(rt){if(Et=!1,Vn(rt),!cn)if(null!==we(Ge))cn=!0,tn(fr);else{var Xt=we(Ct);null!==Xt&&Mi(_n,Xt.startTime-rt)}}function fr(rt,Xt){cn=!1,Et&&(Et=!1,Ue(Xr),Xr=-1),jt=!0;var Ke=ut;try{for(Vn(Xt),Pt=we(Ge);null!==Pt&&(!(Pt.expirationTime>Xt)||rt&&!Fe());){var De=Pt.callback;if("function"==typeof De){Pt.callback=null,ut=Pt.priorityLevel;var He=De(Pt.expirationTime<=Xt);Xt=ke.unstable_now(),"function"==typeof He?Pt.callback=He:Pt===we(Ge)&&je(Ge),Vn(Xt)}else je(Ge);Pt=we(Ge)}if(null!==Pt)var _t=!0;else{var Yt=we(Ct);null!==Yt&&Mi(_n,Yt.startTime-Xt),_t=!1}return _t}finally{Pt=null,ut=Ke,jt=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var Qt,tr=!1,dn=null,Xr=-1,Sr=5,Qi=-1;function Fe(){return!(ke.unstable_now()-Qi<Sr)}function Ze(){if(null!==dn){var rt=ke.unstable_now();Qi=rt;var Xt=!0;try{Xt=dn(!0,rt)}finally{Xt?Qt():(tr=!1,dn=null)}}else tr=!1}if("function"==typeof Vt)Qt=function(){Vt(Ze)};else if("undefined"!=typeof MessageChannel){var pn=new MessageChannel,Gt=pn.port2;pn.port1.onmessage=Ze,Qt=function(){Gt.postMessage(null)}}else Qt=function(){Dt(Ze,0)};function tn(rt){dn=rt,tr||(tr=!0,Qt())}function Mi(rt,Xt){Xr=Dt(function(){rt(ke.unstable_now())},Xt)}ke.unstable_IdlePriority=5,ke.unstable_ImmediatePriority=1,ke.unstable_LowPriority=4,ke.unstable_NormalPriority=3,ke.unstable_Profiling=null,ke.unstable_UserBlockingPriority=2,ke.unstable_cancelCallback=function(rt){rt.callback=null},ke.unstable_continueExecution=function(){cn||jt||(cn=!0,tn(fr))},ke.unstable_forceFrameRate=function(rt){0>rt||125<rt?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Sr=0<rt?Math.floor(1e3/rt):5},ke.unstable_getCurrentPriorityLevel=function(){return ut},ke.unstable_getFirstCallbackNode=function(){return we(Ge)},ke.unstable_next=function(rt){switch(ut){case 1:case 2:case 3:var Xt=3;break;default:Xt=ut}var Ke=ut;ut=Xt;try{return rt()}finally{ut=Ke}},ke.unstable_pauseExecution=function(){},ke.unstable_requestPaint=function(){},ke.unstable_runWithPriority=function(rt,Xt){switch(rt){case 1:case 2:case 3:case 4:case 5:break;default:rt=3}var Ke=ut;ut=rt;try{return Xt()}finally{ut=Ke}},ke.unstable_scheduleCallback=function(rt,Xt,Ke){var De=ke.unstable_now();switch(Ke="object"==typeof Ke&&null!==Ke&&"number"==typeof(Ke=Ke.delay)&&0<Ke?De+Ke:De,rt){case 1:var He=-1;break;case 2:He=250;break;case 5:He=1073741823;break;case 4:He=1e4;break;default:He=5e3}return rt={id:yt++,callback:Xt,priorityLevel:rt,startTime:Ke,expirationTime:He=Ke+He,sortIndex:-1},Ke>De?(rt.sortIndex=Ke,Ve(Ct,rt),null===we(Ge)&&rt===we(Ct)&&(Et?(Ue(Xr),Xr=-1):Et=!0,Mi(_n,Ke-De))):(rt.sortIndex=He,Ve(Ge,rt),cn||jt||(cn=!0,tn(fr))),rt},ke.unstable_shouldYield=Fe,ke.unstable_wrapCallback=function(rt){var Xt=ut;return function(){var Ke=ut;ut=Xt;try{return rt.apply(this,arguments)}finally{ut=Ke}}}},335:(xe,ke,Ve)=>{"use strict";xe.exports=Ve(676)},834:(xe,ke,Ve)=>{"use strict";Ve.r(ke),Ve.d(ke,{DOMException:()=>Sr,Headers:()=>yt,Request:()=>_n,Response:()=>dn,fetch:()=>Qi});var we="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},je_searchParams="URLSearchParams"in we,je_iterable="Symbol"in we&&"iterator"in Symbol,je_blob="FileReader"in we&&"Blob"in we&&function(){try{return new Blob,!0}catch(Fe){return!1}}(),je_formData="FormData"in we,je_arrayBuffer="ArrayBuffer"in we;if(je_arrayBuffer)var Xe=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Se=ArrayBuffer.isView||function(Fe){return Fe&&Xe.indexOf(Object.prototype.toString.call(Fe))>-1};function bt(Fe){if("string"!=typeof Fe&&(Fe=String(Fe)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(Fe)||""===Fe)throw new TypeError('Invalid character in header field name: "'+Fe+'"');return Fe.toLowerCase()}function Ge(Fe){return"string"!=typeof Fe&&(Fe=String(Fe)),Fe}function Ct(Fe){var Ze={next:function(){var Qt=Fe.shift();return{done:void 0===Qt,value:Qt}}};return je_iterable&&(Ze[Symbol.iterator]=function(){return Ze}),Ze}function yt(Fe){this.map={},Fe instanceof yt?Fe.forEach(function(Ze,Qt){this.append(Qt,Ze)},this):Array.isArray(Fe)?Fe.forEach(function(Ze){if(2!=Ze.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+Ze.length);this.append(Ze[0],Ze[1])},this):Fe&&Object.getOwnPropertyNames(Fe).forEach(function(Ze){this.append(Ze,Fe[Ze])},this)}function Pt(Fe){if(!Fe._noBody){if(Fe.bodyUsed)return Promise.reject(new TypeError("Already read"));Fe.bodyUsed=!0}}function ut(Fe){return new Promise(function(Ze,Qt){Fe.onload=function(){Ze(Fe.result)},Fe.onerror=function(){Qt(Fe.error)}})}function jt(Fe){var Ze=new FileReader,Qt=ut(Ze);return Ze.readAsArrayBuffer(Fe),Qt}function Dt(Fe){if(Fe.slice)return Fe.slice(0);var Ze=new Uint8Array(Fe.byteLength);return Ze.set(new Uint8Array(Fe)),Ze.buffer}function Ue(){return this.bodyUsed=!1,this._initBody=function(Fe){this.bodyUsed=this.bodyUsed,this._bodyInit=Fe,Fe?"string"==typeof Fe?this._bodyText=Fe:je_blob&&Blob.prototype.isPrototypeOf(Fe)?this._bodyBlob=Fe:je_formData&&FormData.prototype.isPrototypeOf(Fe)?this._bodyFormData=Fe:je_searchParams&&URLSearchParams.prototype.isPrototypeOf(Fe)?this._bodyText=Fe.toString():je_arrayBuffer&&je_blob&&function be(Fe){return Fe&&DataView.prototype.isPrototypeOf(Fe)}(Fe)?(this._bodyArrayBuffer=Dt(Fe.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):je_arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Fe)||Se(Fe))?this._bodyArrayBuffer=Dt(Fe):this._bodyText=Fe=Object.prototype.toString.call(Fe):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof Fe?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):je_searchParams&&URLSearchParams.prototype.isPrototypeOf(Fe)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},je_blob&&(this.blob=function(){var Fe=Pt(this);if(Fe)return Fe;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return Pt(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(je_blob)return this.blob().then(jt);throw new Error("could not read as ArrayBuffer")},this.text=function(){var Fe=Pt(this);if(Fe)return Fe;if(this._bodyBlob)return function cn(Fe){var Ze=new FileReader,Qt=ut(Ze),pn=/charset=([A-Za-z0-9_-]+)/.exec(Fe.type);return Ze.readAsText(Fe,pn?pn[1]:"utf-8"),Qt}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function Et(Fe){for(var Ze=new Uint8Array(Fe),Qt=new Array(Ze.length),pn=0;pn<Ze.length;pn++)Qt[pn]=String.fromCharCode(Ze[pn]);return Qt.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},je_formData&&(this.formData=function(){return this.text().then(fr)}),this.json=function(){return this.text().then(JSON.parse)},this}yt.prototype.append=function(Fe,Ze){Fe=bt(Fe),Ze=Ge(Ze);var Qt=this.map[Fe];this.map[Fe]=Qt?Qt+", "+Ze:Ze},yt.prototype.delete=function(Fe){delete this.map[bt(Fe)]},yt.prototype.get=function(Fe){return Fe=bt(Fe),this.has(Fe)?this.map[Fe]:null},yt.prototype.has=function(Fe){return this.map.hasOwnProperty(bt(Fe))},yt.prototype.set=function(Fe,Ze){this.map[bt(Fe)]=Ge(Ze)},yt.prototype.forEach=function(Fe,Ze){for(var Qt in this.map)this.map.hasOwnProperty(Qt)&&Fe.call(Ze,this.map[Qt],Qt,this)},yt.prototype.keys=function(){var Fe=[];return this.forEach(function(Ze,Qt){Fe.push(Qt)}),Ct(Fe)},yt.prototype.values=function(){var Fe=[];return this.forEach(function(Ze){Fe.push(Ze)}),Ct(Fe)},yt.prototype.entries=function(){var Fe=[];return this.forEach(function(Ze,Qt){Fe.push([Qt,Ze])}),Ct(Fe)},je_iterable&&(yt.prototype[Symbol.iterator]=yt.prototype.entries);var Vt=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function _n(Fe,Ze){if(!(this instanceof _n))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var Qt=(Ze=Ze||{}).body;if(Fe instanceof _n){if(Fe.bodyUsed)throw new TypeError("Already read");this.url=Fe.url,this.credentials=Fe.credentials,Ze.headers||(this.headers=new yt(Fe.headers)),this.method=Fe.method,this.mode=Fe.mode,this.signal=Fe.signal,!Qt&&null!=Fe._bodyInit&&(Qt=Fe._bodyInit,Fe.bodyUsed=!0)}else this.url=String(Fe);if(this.credentials=Ze.credentials||this.credentials||"same-origin",(Ze.headers||!this.headers)&&(this.headers=new yt(Ze.headers)),this.method=function Vn(Fe){var Ze=Fe.toUpperCase();return Vt.indexOf(Ze)>-1?Ze:Fe}(Ze.method||this.method||"GET"),this.mode=Ze.mode||this.mode||null,this.signal=Ze.signal||this.signal||function(){if("AbortController"in we)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&Qt)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(Qt),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==Ze.cache&&"no-cache"!==Ze.cache)){var pn=/([?&])_=[^&]*/;pn.test(this.url)?this.url=this.url.replace(pn,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function fr(Fe){var Ze=new FormData;return Fe.trim().split("&").forEach(function(Qt){if(Qt){var pn=Qt.split("="),Gt=pn.shift().replace(/\+/g," "),tn=pn.join("=").replace(/\+/g," ");Ze.append(decodeURIComponent(Gt),decodeURIComponent(tn))}}),Ze}function tr(Fe){var Ze=new yt;return Fe.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(pn){return 0===pn.indexOf("\n")?pn.substr(1,pn.length):pn}).forEach(function(pn){var Gt=pn.split(":"),tn=Gt.shift().trim();if(tn){var Mi=Gt.join(":").trim();try{Ze.append(tn,Mi)}catch(rt){console.warn("Response "+rt.message)}}}),Ze}function dn(Fe,Ze){if(!(this instanceof dn))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(Ze||(Ze={}),this.type="default",this.status=void 0===Ze.status?200:Ze.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===Ze.statusText?"":""+Ze.statusText,this.headers=new yt(Ze.headers),this.url=Ze.url||"",this._initBody(Fe)}_n.prototype.clone=function(){return new _n(this,{body:this._bodyInit})},Ue.call(_n.prototype),Ue.call(dn.prototype),dn.prototype.clone=function(){return new dn(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new yt(this.headers),url:this.url})},dn.error=function(){var Fe=new dn(null,{status:200,statusText:""});return Fe.ok=!1,Fe.status=0,Fe.type="error",Fe};var Xr=[301,302,303,307,308];dn.redirect=function(Fe,Ze){if(-1===Xr.indexOf(Ze))throw new RangeError("Invalid status code");return new dn(null,{status:Ze,headers:{location:Fe}})};var Sr=we.DOMException;try{new Sr}catch(Fe){(Sr=function(Ze,Qt){this.message=Ze,this.name=Qt;var pn=Error(Ze);this.stack=pn.stack}).prototype=Object.create(Error.prototype),Sr.prototype.constructor=Sr}function Qi(Fe,Ze){return new Promise(function(Qt,pn){var Gt=new _n(Fe,Ze);if(Gt.signal&&Gt.signal.aborted)return pn(new Sr("Aborted","AbortError"));var tn=new XMLHttpRequest;function Mi(){tn.abort()}if(tn.onload=function(){var Ke={statusText:tn.statusText,headers:tr(tn.getAllResponseHeaders()||"")};Ke.status=0===Gt.url.indexOf("file://")&&(tn.status<200||tn.status>599)?200:tn.status,Ke.url="responseURL"in tn?tn.responseURL:Ke.headers.get("X-Request-URL");var De="response"in tn?tn.response:tn.responseText;setTimeout(function(){Qt(new dn(De,Ke))},0)},tn.onerror=function(){setTimeout(function(){pn(new TypeError("Network request failed"))},0)},tn.ontimeout=function(){setTimeout(function(){pn(new TypeError("Network request timed out"))},0)},tn.onabort=function(){setTimeout(function(){pn(new Sr("Aborted","AbortError"))},0)},tn.open(Gt.method,function rt(Ke){try{return""===Ke&&we.location.href?we.location.href:Ke}catch(De){return Ke}}(Gt.url),!0),"include"===Gt.credentials?tn.withCredentials=!0:"omit"===Gt.credentials&&(tn.withCredentials=!1),"responseType"in tn&&(je_blob?tn.responseType="blob":je_arrayBuffer&&(tn.responseType="arraybuffer")),Ze&&"object"==typeof Ze.headers&&!(Ze.headers instanceof yt||we.Headers&&Ze.headers instanceof we.Headers)){var Xt=[];Object.getOwnPropertyNames(Ze.headers).forEach(function(Ke){Xt.push(bt(Ke)),tn.setRequestHeader(Ke,Ge(Ze.headers[Ke]))}),Gt.headers.forEach(function(Ke,De){-1===Xt.indexOf(De)&&tn.setRequestHeader(De,Ke)})}else Gt.headers.forEach(function(Ke,De){tn.setRequestHeader(De,Ke)});Gt.signal&&(Gt.signal.addEventListener("abort",Mi),tn.onreadystatechange=function(){4===tn.readyState&&Gt.signal.removeEventListener("abort",Mi)}),tn.send(void 0===Gt._bodyInit?null:Gt._bodyInit)})}Qi.polyfill=!0,we.fetch||(we.fetch=Qi,we.Headers=yt,we.Request=_n,we.Response=dn)}},xe=>{xe(xe.s=105)}]);"use strict";(self.webpackChunkbooking_search_widget=self.webpackChunkbooking_search_widget||[]).push([[429],{435:(we,ue,he)=>{he(583)},583:()=>{!function(e){const n=e.performance;function i(I){n&&n.mark&&n.mark(I)}function r(I,p){n&&n.measure&&n.measure(I,p)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function u(I){return c+I}const f=!0===e[u("forceDuplicateZoneCheck")];if(e.Zone){if(f||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let _=(()=>{class I{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new T(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==J.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=I.current;for(;t.parent;)t=t.parent;return t}static get current(){return G.zone}static get currentTask(){return te}static __load_patch(t,o,g=!1){if(J.hasOwnProperty(t)){if(!g&&f)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const P="Zone:"+t;i(P),J[t]=o(e,I,le),r(P,P)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const g=this._zoneDelegate.intercept(this,t,o),P=this;return function(){return P.runGuarded(g,this,arguments,o)}}run(t,o,g,P){G={parent:G,zone:this};try{return this._zoneDelegate.invoke(this,t,o,g,P)}finally{G=G.parent}}runGuarded(t,o=null,g,P){G={parent:G,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,g,P)}catch(K){if(this._zoneDelegate.handleError(this,K))throw K}}finally{G=G.parent}}runTask(t,o,g){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");if(t.state===j&&(t.type===R||t.type===M))return;const P=t.state!=X;P&&t._transitionTo(X,O),t.runCount++;const K=te;te=t,G={parent:G,zone:this};try{t.type==M&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,g)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==j&&t.state!==Y&&(t.type==R||t.data&&t.data.isPeriodic?P&&t._transitionTo(O,X):(t.runCount=0,this._updateTaskCount(t,-1),P&&t._transitionTo(j,X,j))),G=G.parent,te=K}}scheduleTask(t){if(t.zone&&t.zone!==this){let g=this;for(;g;){if(g===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);g=g.parent}}t._transitionTo(q,j);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(g){throw t._transitionTo(Y,q,j),this._zoneDelegate.handleError(this,g),g}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==q&&t._transitionTo(O,q),t}scheduleMicroTask(t,o,g,P){return this.scheduleTask(new m(v,t,o,g,P,void 0))}scheduleMacroTask(t,o,g,P,K){return this.scheduleTask(new m(M,t,o,g,P,K))}scheduleEventTask(t,o,g,P,K){return this.scheduleTask(new m(R,t,o,g,P,K))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||z).name+"; Execution: "+this.name+")");t._transitionTo(A,O,X);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(Y,A),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(j,A),t.runCount=0,t}_updateTaskCount(t,o){const g=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let P=0;P<g.length;P++)g[P]._updateTaskCount(t.type,o)}}return I.__symbol__=u,I})();const y={name:"",onHasTask:(I,p,t,o)=>I.hasTask(t,o),onScheduleTask:(I,p,t,o)=>I.scheduleTask(t,o),onInvokeTask:(I,p,t,o,g,P)=>I.invokeTask(t,o,g,P),onCancelTask:(I,p,t,o)=>I.cancelTask(t,o)};class T{constructor(p,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=p,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const g=o&&o.onHasTask;(g||t&&t._hasTaskZS)&&(this._hasTaskZS=g?o:y,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=p,o.onScheduleTask||(this._scheduleTaskZS=y,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=y,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=y,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(p,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,p,t):new _(p,t)}intercept(p,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,p,t,o):t}invoke(p,t,o,g,P){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,p,t,o,g,P):t.apply(o,g)}handleError(p,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,p,t)}scheduleTask(p,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,p,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=v)throw new Error("Task is missing scheduleFn.");d(t)}return o}invokeTask(p,t,o,g){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,p,t,o,g):t.callback.apply(o,g)}cancelTask(p,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,p,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(p,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,p,t)}catch(o){this.handleError(p,o)}}_updateTaskCount(p,t){const o=this._taskCounts,g=o[p],P=o[p]=g+t;if(P<0)throw new Error("More tasks executed then were scheduled.");0!=g&&0!=P||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:p})}}class m{constructor(p,t,o,g,P,K){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=p,this.source=t,this.data=g,this.scheduleFn=P,this.cancelFn=K,!o)throw new Error("callback is not defined");this.callback=o;const l=this;this.invoke=p===R&&g&&g.useG?m.invokeTask:function(){return m.invokeTask.call(e,l,this,arguments)}}static invokeTask(p,t,o){p||(p=this),re++;try{return p.runCount++,p.zone.runTask(p,t,o)}finally{1==re&&L(),re--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(j,q)}_transitionTo(p,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${p}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=p,p==j&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const S=u("setTimeout"),D=u("Promise"),Z=u("then");let E,B=[],V=!1;function d(I){if(0===re&&0===B.length)if(E||e[D]&&(E=e[D].resolve(0)),E){let p=E[Z];p||(p=E.then),p.call(E,L)}else e[S](L,0);I&&B.push(I)}function L(){if(!V){for(V=!0;B.length;){const I=B;B=[];for(let p=0;p<I.length;p++){const t=I[p];try{t.zone.runTask(t,null,null)}catch(o){le.onUnhandledError(o)}}}le.microtaskDrainDone(),V=!1}}const z={name:"NO ZONE"},j="notScheduled",q="scheduling",O="scheduled",X="running",A="canceling",Y="unknown",v="microTask",M="macroTask",R="eventTask",J={},le={symbol:u,currentZoneFrame:()=>G,onUnhandledError:F,microtaskDrainDone:F,scheduleMicroTask:d,showUncaughtError:()=>!_[u("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:F,patchMethod:()=>F,bindArguments:()=>[],patchThen:()=>F,patchMacroTask:()=>F,patchEventPrototype:()=>F,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>F,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>F,wrapWithCurrentZone:()=>F,filterProperties:()=>[],attachOriginToPatched:()=>F,_redefineProperty:()=>F,patchCallbacks:()=>F};let G={parent:null,zone:new _(null,null)},te=null,re=0;function F(){}r("Zone","Zone"),e.Zone=_}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ue=Object.getOwnPropertyDescriptor,he=Object.defineProperty,de=Object.getPrototypeOf,Be=Object.create,ut=Array.prototype.slice,Se="addEventListener",Oe="removeEventListener",Ze=Zone.__symbol__(Se),Ie=Zone.__symbol__(Oe),se="true",ie="false",ke=Zone.__symbol__("");function Le(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,r,c){return Zone.current.scheduleMacroTask(e,n,i,r,c)}const x=Zone.__symbol__,Pe="undefined"!=typeof window,pe=Pe?window:void 0,$=Pe&&pe||"object"==typeof self&&self||global,ht=[null];function Ae(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Le(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Ue="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Re=!("nw"in $)&&void 0!==$.process&&"[object process]"==={}.toString.call($.process),je=!Re&&!Ue&&!(!Pe||!pe.HTMLElement),We=void 0!==$.process&&"[object process]"==={}.toString.call($.process)&&!Ue&&!(!Pe||!pe.HTMLElement),Ce={},qe=function(e){if(!(e=e||$.event))return;let n=Ce[e.type];n||(n=Ce[e.type]=x("ON_PROPERTY"+e.type));const i=this||e.target||$,r=i[n];let c;if(je&&i===pe&&"error"===e.type){const u=e;c=r&&r.call(this,u.message,u.filename,u.lineno,u.colno,u.error),!0===c&&e.preventDefault()}else c=r&&r.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function Xe(e,n,i){let r=ue(e,n);if(!r&&i&&ue(i,n)&&(r={enumerable:!0,configurable:!0}),!r||!r.configurable)return;const c=x("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete r.writable,delete r.value;const u=r.get,f=r.set,_=n.substr(2);let y=Ce[_];y||(y=Ce[_]=x("ON_PROPERTY"+_)),r.set=function(T){let m=this;!m&&e===$&&(m=$),m&&(m[y]&&m.removeEventListener(_,qe),f&&f.apply(m,ht),"function"==typeof T?(m[y]=T,m.addEventListener(_,qe,!1)):m[y]=null)},r.get=function(){let T=this;if(!T&&e===$&&(T=$),!T)return null;const m=T[y];if(m)return m;if(u){let S=u&&u.call(this);if(S)return r.set.call(this,S),"function"==typeof T.removeAttribute&&T.removeAttribute(n),S}return null},he(e,n,r),e[c]=!0}function Ye(e,n,i){if(n)for(let r=0;r<n.length;r++)Xe(e,"on"+n[r],i);else{const r=[];for(const c in e)"on"==c.substr(0,2)&&r.push(c);for(let c=0;c<r.length;c++)Xe(e,r[c],i)}}const ne=x("originalInstance");function ve(e){const n=$[e];if(!n)return;$[x(e)]=n,$[e]=function(){const c=Ae(arguments,e);switch(c.length){case 0:this[ne]=new n;break;case 1:this[ne]=new n(c[0]);break;case 2:this[ne]=new n(c[0],c[1]);break;case 3:this[ne]=new n(c[0],c[1],c[2]);break;case 4:this[ne]=new n(c[0],c[1],c[2],c[3]);break;default:throw new Error("Arg list too long.")}},ae($[e],n);const i=new n(function(){});let r;for(r in i)"XMLHttpRequest"===e&&"responseBlob"===r||function(c){"function"==typeof i[c]?$[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:he($[e].prototype,c,{set:function(u){"function"==typeof u?(this[ne][c]=Le(u,e+"."+c),ae(this[ne][c],u)):this[ne][c]=u},get:function(){return this[ne][c]}})}(r);for(r in n)"prototype"!==r&&n.hasOwnProperty(r)&&($[e][r]=n[r])}function ce(e,n,i){let r=e;for(;r&&!r.hasOwnProperty(n);)r=de(r);!r&&e[n]&&(r=e);const c=x(n);let u=null;if(r&&(!(u=r[c])||!r.hasOwnProperty(c))&&(u=r[c]=r[n],Fe(r&&ue(r,n)))){const _=i(u,c,n);r[n]=function(){return _(this,arguments)},ae(r[n],u)}return u}function _t(e,n,i){let r=null;function c(u){const f=u.data;return f.args[f.cbIdx]=function(){u.invoke.apply(this,arguments)},r.apply(f.target,f.args),u}r=ce(e,n,u=>function(f,_){const y=i(f,_);return y.cbIdx>=0&&"function"==typeof _[y.cbIdx]?Me(y.name,_[y.cbIdx],y,c):u.apply(f,_)})}function ae(e,n){e[x("OriginalDelegate")]=n}let $e=!1,He=!1;function mt(){if($e)return He;$e=!0;try{const e=pe.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(He=!0)}catch(e){}return He}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const r=Object.getOwnPropertyDescriptor,c=Object.defineProperty,f=i.symbol,_=[],y=!0===e[f("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],T=f("Promise"),m=f("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const s=l&&l.rejection;s?console.error("Unhandled Promise rejection:",s instanceof Error?s.message:s,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",s,s instanceof Error?s.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;_.length;){const l=_.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(s){Z(s)}}};const D=f("unhandledPromiseRejectionHandler");function Z(l){i.onUnhandledError(l);try{const s=n[D];"function"==typeof s&&s.call(this,l)}catch(s){}}function B(l){return l&&l.then}function V(l){return l}function E(l){return t.reject(l)}const d=f("state"),L=f("value"),z=f("finally"),j=f("parentPromiseValue"),q=f("parentPromiseState"),X=null,A=!0,Y=!1;function M(l,s){return a=>{try{G(l,s,a)}catch(h){G(l,!1,h)}}}const le=f("currentTaskTrace");function G(l,s,a){const h=function(){let l=!1;return function(a){return function(){l||(l=!0,a.apply(null,arguments))}}}();if(l===a)throw new TypeError("Promise resolved with itself");if(l[d]===X){let w=null;try{("object"==typeof a||"function"==typeof a)&&(w=a&&a.then)}catch(C){return h(()=>{G(l,!1,C)})(),l}if(s!==Y&&a instanceof t&&a.hasOwnProperty(d)&&a.hasOwnProperty(L)&&a[d]!==X)re(a),G(l,a[d],a[L]);else if(s!==Y&&"function"==typeof w)try{w.call(a,h(M(l,s)),h(M(l,!1)))}catch(C){h(()=>{G(l,!1,C)})()}else{l[d]=s;const C=l[L];if(l[L]=a,l[z]===z&&s===A&&(l[d]=l[q],l[L]=l[j]),s===Y&&a instanceof Error){const k=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;k&&c(a,le,{configurable:!0,enumerable:!1,writable:!0,value:k})}for(let k=0;k<C.length;)F(l,C[k++],C[k++],C[k++],C[k++]);if(0==C.length&&s==Y){l[d]=0;let k=a;try{throw new Error("Uncaught (in promise): "+function u(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(a)+(a&&a.stack?"\n"+a.stack:""))}catch(b){k=b}y&&(k.throwOriginal=!0),k.rejection=a,k.promise=l,k.zone=n.current,k.task=n.currentTask,_.push(k),i.scheduleMicroTask()}}}return l}const te=f("rejectionHandledHandler");function re(l){if(0===l[d]){try{const s=n[te];s&&"function"==typeof s&&s.call(this,{rejection:l[L],promise:l})}catch(s){}l[d]=Y;for(let s=0;s<_.length;s++)l===_[s].promise&&_.splice(s,1)}}function F(l,s,a,h,w){re(l);const C=l[d],k=C?"function"==typeof h?h:V:"function"==typeof w?w:E;s.scheduleMicroTask("Promise.then",()=>{try{const b=l[L],N=!!a&&z===a[z];N&&(a[j]=b,a[q]=C);const H=s.run(k,void 0,N&&k!==E&&k!==V?[]:[b]);G(a,!0,H)}catch(b){G(a,!1,b)}},a)}const p=function(){};class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(s){return G(new this(null),A,s)}static reject(s){return G(new this(null),Y,s)}static race(s){let a,h,w=new this((b,N)=>{a=b,h=N});function C(b){a(b)}function k(b){h(b)}for(let b of s)B(b)||(b=this.resolve(b)),b.then(C,k);return w}static all(s){return t.allWithCallback(s)}static allSettled(s){return(this&&this.prototype instanceof t?this:t).allWithCallback(s,{thenCallback:h=>({status:"fulfilled",value:h}),errorCallback:h=>({status:"rejected",reason:h})})}static allWithCallback(s,a){let h,w,C=new this((H,U)=>{h=H,w=U}),k=2,b=0;const N=[];for(let H of s){B(H)||(H=this.resolve(H));const U=b;try{H.then(Q=>{N[U]=a?a.thenCallback(Q):Q,k--,0===k&&h(N)},Q=>{a?(N[U]=a.errorCallback(Q),k--,0===k&&h(N)):w(Q)})}catch(Q){w(Q)}k++,b++}return k-=2,0===k&&h(N),C}constructor(s){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[d]=X,a[L]=[];try{s&&s(M(a,A),M(a,Y))}catch(h){G(a,!1,h)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(s,a){let h=this.constructor[Symbol.species];(!h||"function"!=typeof h)&&(h=this.constructor||t);const w=new h(p),C=n.current;return this[d]==X?this[L].push(C,w,s,a):F(this,C,w,s,a),w}catch(s){return this.then(null,s)}finally(s){let a=this.constructor[Symbol.species];(!a||"function"!=typeof a)&&(a=t);const h=new a(p);h[z]=z;const w=n.current;return this[d]==X?this[L].push(w,h,s,s):F(this,w,h,s,s),h}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[T]=e.Promise;e.Promise=t;const g=f("thenPatched");function P(l){const s=l.prototype,a=r(s,"then");if(a&&(!1===a.writable||!a.configurable))return;const h=s.then;s[m]=h,l.prototype.then=function(w,C){return new t((b,N)=>{h.call(this,b,N)}).then(w,C)},l[g]=!0}return i.patchThen=P,o&&(P(o),ce(e,"fetch",l=>function K(l){return function(s,a){let h=l.apply(s,a);if(h instanceof t)return h;let w=h.constructor;return w[g]||P(w),h}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=_,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=x("OriginalDelegate"),r=x("Promise"),c=x("Error"),u=function(){if("function"==typeof this){const T=this[i];if(T)return"function"==typeof T?n.call(T):Object.prototype.toString.call(T);if(this===Promise){const m=e[r];if(m)return n.call(m)}if(this===Error){const m=e[c];if(m)return n.call(m)}}return n.call(this)};u[i]=n,Function.prototype.toString=u;const f=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":f.call(this)}});let me=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){me=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){me=!1}const Et={useG:!0},ee={},Ke={},Je=new RegExp("^"+ke+"(\\w+)(true|false)$"),xe=x("propagationStopped");function Qe(e,n){const i=(n?n(e):e)+ie,r=(n?n(e):e)+se,c=ke+i,u=ke+r;ee[e]={},ee[e][ie]=c,ee[e][se]=u}function Tt(e,n,i){const r=i&&i.add||Se,c=i&&i.rm||Oe,u=i&&i.listeners||"eventListeners",f=i&&i.rmAll||"removeAllListeners",_=x(r),y="."+r+":",S=function(E,d,L){if(E.isRemoved)return;const z=E.callback;"object"==typeof z&&z.handleEvent&&(E.callback=q=>z.handleEvent(q),E.originalDelegate=z),E.invoke(E,d,[L]);const j=E.options;j&&"object"==typeof j&&j.once&&d[c].call(d,L.type,E.originalDelegate?E.originalDelegate:E.callback,j)},D=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][ie]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}},Z=function(E){if(!(E=E||e.event))return;const d=this||E.target||e,L=d[ee[E.type][se]];if(L)if(1===L.length)S(L[0],d,E);else{const z=L.slice();for(let j=0;j<z.length&&(!E||!0!==E[xe]);j++)S(z[j],d,E)}};function B(E,d){if(!E)return!1;let L=!0;d&&void 0!==d.useG&&(L=d.useG);const z=d&&d.vh;let j=!0;d&&void 0!==d.chkDup&&(j=d.chkDup);let q=!1;d&&void 0!==d.rt&&(q=d.rt);let O=E;for(;O&&!O.hasOwnProperty(r);)O=de(O);if(!O&&E[r]&&(O=E),!O||O[_])return!1;const X=d&&d.eventNameToString,A={},Y=O[_]=O[r],v=O[x(c)]=O[c],M=O[x(u)]=O[u],R=O[x(f)]=O[f];let J;function le(s,a){return!me&&"object"==typeof s&&s?!!s.capture:me&&a?"boolean"==typeof s?{capture:s,passive:!0}:s?"object"==typeof s&&!1!==s.passive?Object.assign(Object.assign({},s),{passive:!0}):s:{passive:!0}:s}d&&d.prepend&&(J=O[x(d.prepend)]=O[d.prepend]);const p=L?function(s){if(!A.isExisting)return Y.call(A.target,A.eventName,A.capture?Z:D,A.options)}:function(s){return Y.call(A.target,A.eventName,s.invoke,A.options)},t=L?function(s){if(!s.isRemoved){const a=ee[s.eventName];let h;a&&(h=a[s.capture?se:ie]);const w=h&&s.target[h];if(w)for(let C=0;C<w.length;C++)if(w[C]===s){w.splice(C,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[h]=null);break}}if(s.allRemoved)return v.call(s.target,s.eventName,s.capture?Z:D,s.options)}:function(s){return v.call(s.target,s.eventName,s.invoke,s.options)},g=d&&d.diff?d.diff:function(s,a){const h=typeof a;return"function"===h&&s.callback===a||"object"===h&&s.originalDelegate===a},P=Zone[x("UNPATCHED_EVENTS")],K=e[x("PASSIVE_EVENTS")],l=function(s,a,h,w,C=!1,k=!1){return function(){const b=this||e;let N=arguments[0];d&&d.transferEventName&&(N=d.transferEventName(N));let H=arguments[1];if(!H)return s.apply(this,arguments);if(Re&&"uncaughtException"===N)return s.apply(this,arguments);let U=!1;if("function"!=typeof H){if(!H.handleEvent)return s.apply(this,arguments);U=!0}if(z&&!z(s,H,b,arguments))return;const Q=me&&!!K&&-1!==K.indexOf(N),oe=le(arguments[2],Q);if(P)for(let _e=0;_e<P.length;_e++)if(N===P[_e])return Q?s.call(b,N,H,oe):s.apply(this,arguments);const Ge=!!oe&&("boolean"==typeof oe||oe.capture),st=!(!oe||"object"!=typeof oe)&&oe.once,At=Zone.current;let ze=ee[N];ze||(Qe(N,X),ze=ee[N]);const it=ze[Ge?se:ie];let De,ye=b[it],ct=!1;if(ye){if(ct=!0,j)for(let _e=0;_e<ye.length;_e++)if(g(ye[_e],H))return}else ye=b[it]=[];const at=b.constructor.name,lt=Ke[at];lt&&(De=lt[N]),De||(De=at+a+(X?X(N):N)),A.options=oe,st&&(A.options.once=!1),A.target=b,A.capture=Ge,A.eventName=N,A.isExisting=ct;const be=L?Et:void 0;be&&(be.taskData=A);const fe=At.scheduleEventTask(De,H,be,h,w);return A.target=null,be&&(be.taskData=null),st&&(oe.once=!0),!me&&"boolean"==typeof fe.options||(fe.options=oe),fe.target=b,fe.capture=Ge,fe.eventName=N,U&&(fe.originalDelegate=H),k?ye.unshift(fe):ye.push(fe),C?b:void 0}};return O[r]=l(Y,y,p,t,q),J&&(O.prependListener=l(J,".prependListener:",function(s){return J.call(A.target,A.eventName,s.invoke,A.options)},t,q,!0)),O[c]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=arguments[2],w=!!h&&("boolean"==typeof h||h.capture),C=arguments[1];if(!C)return v.apply(this,arguments);if(z&&!z(v,C,s,arguments))return;const k=ee[a];let b;k&&(b=k[w?se:ie]);const N=b&&s[b];if(N)for(let H=0;H<N.length;H++){const U=N[H];if(g(U,C))return N.splice(H,1),U.isRemoved=!0,0===N.length&&(U.allRemoved=!0,s[b]=null,"string"==typeof a)&&(s[ke+"ON_PROPERTY"+a]=null),U.zone.cancelTask(U),q?s:void 0}return v.apply(this,arguments)},O[u]=function(){const s=this||e;let a=arguments[0];d&&d.transferEventName&&(a=d.transferEventName(a));const h=[],w=et(s,X?X(a):a);for(let C=0;C<w.length;C++){const k=w[C];h.push(k.originalDelegate?k.originalDelegate:k.callback)}return h},O[f]=function(){const s=this||e;let a=arguments[0];if(a){d&&d.transferEventName&&(a=d.transferEventName(a));const h=ee[a];if(h){const k=s[h[ie]],b=s[h[se]];if(k){const N=k.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}if(b){const N=b.slice();for(let H=0;H<N.length;H++){const U=N[H];this[c].call(this,a,U.originalDelegate?U.originalDelegate:U.callback,U.options)}}}}else{const h=Object.keys(s);for(let w=0;w<h.length;w++){const k=Je.exec(h[w]);let b=k&&k[1];b&&"removeListener"!==b&&this[f].call(this,b)}this[f].call(this,"removeListener")}if(q)return this},ae(O[r],Y),ae(O[c],v),R&&ae(O[f],R),M&&ae(O[u],M),!0}let V=[];for(let E=0;E<n.length;E++)V[E]=B(n[E],i);return V}function et(e,n){if(!n){const u=[];for(let f in e){const _=Je.exec(f);let y=_&&_[1];if(y&&(!n||y===n)){const T=e[f];if(T)for(let m=0;m<T.length;m++)u.push(T[m])}}return u}let i=ee[n];i||(Qe(n),i=ee[n]);const r=e[i[ie]],c=e[i[se]];return r?c?r.concat(c):r.slice():c?c.slice():[]}function gt(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",r=>function(c,u){c[xe]=!0,r&&r.apply(c,u)})}function yt(e,n,i,r,c){const u=Zone.__symbol__(r);if(n[u])return;const f=n[u]=n[r];n[r]=function(_,y,T){return y&&y.prototype&&c.forEach(function(m){const S=`${i}.${r}::`+m,D=y.prototype;if(D.hasOwnProperty(m)){const Z=e.ObjectGetOwnPropertyDescriptor(D,m);Z&&Z.value?(Z.value=e.wrapWithCurrentZone(Z.value,S),e._redefineProperty(y.prototype,m,Z)):D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}else D[m]&&(D[m]=e.wrapWithCurrentZone(D[m],S))}),f.call(n,_,y,T)},e.attachOriginToPatched(n[r],f)}const Ve=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],wt=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],tt=["load"],nt=["blur","error","focus","load","resize","scroll","messageerror"],Dt=["bounce","finish","start"],rt=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],Ee=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],St=["close","error","open","message"],Ot=["error","message"],Te=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Ve,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ot(e,n,i){if(!i||0===i.length)return n;const r=i.filter(u=>u.target===e);if(!r||0===r.length)return n;const c=r[0].ignoreProperties;return n.filter(u=>-1===c.indexOf(u))}function W(e,n,i,r){e&&Ye(e,ot(e,n,i),r)}Zone.__load_patch("util",(e,n,i)=>{i.patchOnProperties=Ye,i.patchMethod=ce,i.bindArguments=Ae,i.patchMacroTask=_t;const r=n.__symbol__("BLACK_LISTED_EVENTS"),c=n.__symbol__("UNPATCHED_EVENTS");e[c]&&(e[r]=e[c]),e[r]&&(n[r]=n[c]=e[r]),i.patchEventPrototype=gt,i.patchEventTarget=Tt,i.isIEOrEdge=mt,i.ObjectDefineProperty=he,i.ObjectGetOwnPropertyDescriptor=ue,i.ObjectCreate=Be,i.ArraySlice=ut,i.patchClass=ve,i.wrapWithCurrentZone=Le,i.filterProperties=ot,i.attachOriginToPatched=ae,i._redefineProperty=Object.defineProperty,i.patchCallbacks=yt,i.getGlobalObjects=()=>({globalSources:Ke,zoneSymbolEventNames:ee,eventNames:Te,isBrowser:je,isMix:We,isNode:Re,TRUE_STR:se,FALSE_STR:ie,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Se,REMOVE_EVENT_LISTENER_STR:Oe})});const Ne=x("zoneTask");function ge(e,n,i,r){let c=null,u=null;i+=r;const f={};function _(T){const m=T.data;return m.args[0]=function(){return T.invoke.apply(this,arguments)},m.handleId=c.apply(e,m.args),T}function y(T){return u.call(e,T.data.handleId)}c=ce(e,n+=r,T=>function(m,S){if("function"==typeof S[0]){const D={isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?S[1]||0:void 0,args:S},Z=S[0];S[0]=function(){try{return Z.apply(this,arguments)}finally{D.isPeriodic||("number"==typeof D.handleId?delete f[D.handleId]:D.handleId&&(D.handleId[Ne]=null))}};const B=Me(n,S[0],D,_,y);if(!B)return B;const V=B.data.handleId;return"number"==typeof V?f[V]=B:V&&(V[Ne]=B),V&&V.ref&&V.unref&&"function"==typeof V.ref&&"function"==typeof V.unref&&(B.ref=V.ref.bind(V),B.unref=V.unref.bind(V)),"number"==typeof V||V?V:B}return T.apply(e,S)}),u=ce(e,i,T=>function(m,S){const D=S[0];let Z;"number"==typeof D?Z=f[D]:(Z=D&&D[Ne],Z||(Z=D)),Z&&"string"==typeof Z.type?"notScheduled"!==Z.state&&(Z.cancelFn&&Z.data.isPeriodic||0===Z.runCount)&&("number"==typeof D?delete f[D]:D&&(D[Ne]=null),Z.zone.cancelTask(Z)):T.apply(e,S)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",r=>function(c,u){n.current.scheduleMicroTask("queueMicrotask",u[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";ge(e,n,i,"Timeout"),ge(e,n,i,"Interval"),ge(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ge(e,"request","cancel","AnimationFrame"),ge(e,"mozRequest","mozCancel","AnimationFrame"),ge(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let r=0;r<i.length;r++)ce(e,i[r],(u,f,_)=>function(y,T){return n.current.run(u,e,T,_)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function Mt(e,n){n.patchEventPrototype(e,n)})(e,i),function Lt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:r,TRUE_STR:c,FALSE_STR:u,ZONE_SYMBOL_PREFIX:f}=n.getGlobalObjects();for(let y=0;y<i.length;y++){const T=i[y],D=f+(T+u),Z=f+(T+c);r[T]={},r[T][u]=D,r[T][c]=Z}const _=e.EventTarget;_&&_.prototype&&n.patchEventTarget(e,[_&&_.prototype])}(e,i);const r=e.XMLHttpRequestEventTarget;r&&r.prototype&&i.patchEventTarget(e,[r.prototype])}),Zone.__load_patch("MutationObserver",(e,n,i)=>{ve("MutationObserver"),ve("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,n,i)=>{ve("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,n,i)=>{ve("FileReader")}),Zone.__load_patch("on_property",(e,n,i)=>{!function Zt(e,n){if(Re&&!We||Zone[e.symbol("patchEvents")])return;const i="undefined"!=typeof WebSocket,r=n.__Zone_ignore_on_properties;if(je){const f=window,_=function pt(){try{const e=pe.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:f,ignoreProperties:["error"]}]:[];W(f,Te.concat(["messageerror"]),r&&r.concat(_),de(f)),W(Document.prototype,Te,r),void 0!==f.SVGElement&&W(f.SVGElement.prototype,Te,r),W(Element.prototype,Te,r),W(HTMLElement.prototype,Te,r),W(HTMLMediaElement.prototype,wt,r),W(HTMLFrameSetElement.prototype,Ve.concat(nt),r),W(HTMLBodyElement.prototype,Ve.concat(nt),r),W(HTMLFrameElement.prototype,tt,r),W(HTMLIFrameElement.prototype,tt,r);const y=f.HTMLMarqueeElement;y&&W(y.prototype,Dt,r);const T=f.Worker;T&&W(T.prototype,Ot,r)}const c=n.XMLHttpRequest;c&&W(c.prototype,rt,r);const u=n.XMLHttpRequestEventTarget;u&&W(u&&u.prototype,rt,r),"undefined"!=typeof IDBIndex&&(W(IDBIndex.prototype,Ee,r),W(IDBRequest.prototype,Ee,r),W(IDBOpenDBRequest.prototype,Ee,r),W(IDBDatabase.prototype,Ee,r),W(IDBTransaction.prototype,Ee,r),W(IDBCursor.prototype,Ee,r)),i&&W(WebSocket.prototype,St,r)}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function It(e,n){const{isBrowser:i,isMix:r}=n.getGlobalObjects();(i||r)&&e.customElements&&"customElements"in e&&n.patchCallbacks(n,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,i)}),Zone.__load_patch("XHR",(e,n)=>{!function y(T){const m=T.XMLHttpRequest;if(!m)return;const S=m.prototype;let Z=S[Ze],B=S[Ie];if(!Z){const v=T.XMLHttpRequestEventTarget;if(v){const M=v.prototype;Z=M[Ze],B=M[Ie]}}const V="readystatechange",E="scheduled";function d(v){const M=v.data,R=M.target;R[u]=!1,R[_]=!1;const J=R[c];Z||(Z=R[Ze],B=R[Ie]),J&&B.call(R,V,J);const le=R[c]=()=>{if(R.readyState===R.DONE)if(!M.aborted&&R[u]&&v.state===E){const te=R[n.__symbol__("loadfalse")];if(0!==R.status&&te&&te.length>0){const re=v.invoke;v.invoke=function(){const F=R[n.__symbol__("loadfalse")];for(let I=0;I<F.length;I++)F[I]===v&&F.splice(I,1);!M.aborted&&v.state===E&&re.call(v)},te.push(v)}else v.invoke()}else!M.aborted&&!1===R[u]&&(R[_]=!0)};return Z.call(R,V,le),R[i]||(R[i]=v),A.apply(R,M.args),R[u]=!0,v}function L(){}function z(v){const M=v.data;return M.aborted=!0,Y.apply(M.target,M.args)}const j=ce(S,"open",()=>function(v,M){return v[r]=0==M[2],v[f]=M[1],j.apply(v,M)}),O=x("fetchTaskAborting"),X=x("fetchTaskScheduling"),A=ce(S,"send",()=>function(v,M){if(!0===n.current[X]||v[r])return A.apply(v,M);{const R={target:v,url:v[f],isPeriodic:!1,args:M,aborted:!1},J=Me("XMLHttpRequest.send",L,R,d,z);v&&!0===v[_]&&!R.aborted&&J.state===E&&J.invoke()}}),Y=ce(S,"abort",()=>function(v,M){const R=function D(v){return v[i]}(v);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===n.current[O])return Y.apply(v,M)})}(e);const i=x("xhrTask"),r=x("xhrSync"),c=x("xhrListener"),u=x("xhrScheduled"),f=x("xhrURL"),_=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function dt(e,n){const i=e.constructor.name;for(let r=0;r<n.length;r++){const c=n[r],u=e[c];if(u){if(!Fe(ue(e,c)))continue;e[c]=(_=>{const y=function(){return _.apply(this,Ae(arguments,i+"."+c))};return ae(y,_),y})(u)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(r){return function(c){et(e,r).forEach(f=>{const _=e.PromiseRejectionEvent;if(_){const y=new _(r,{promise:c.promise,reason:c.rejection});f.invoke(y)}})}}e.PromiseRejectionEvent&&(n[x("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[x("rejectionHandledHandler")]=i("rejectionhandled"))})}},we=>{we(we.s=435)}]);(()=>{"use strict";var e,s={},_={};function a(e){var n=_[e];if(void 0!==n)return n.exports;var r=_[e]={id:e,loaded:!1,exports:{}};return s[e](r,r.exports,a),r.loaded=!0,r.exports}a.m=s,a.amdO={},e=[],a.O=(n,r,o,f)=>{if(!r){var u=1/0;for(t=0;t<e.length;t++){for(var[r,o,f]=e[t],c=!0,l=0;l<r.length;l++)(!1&f||u>=f)&&Object.keys(a.O).every(h=>a.O[h](r[l]))?r.splice(l--,1):(c=!1,f<u&&(u=f));if(c){e.splice(t--,1);var i=o();void 0!==i&&(n=i)}}return n}f=f||0;for(var t=e.length;t>0&&e[t-1][2]>f;t--)e[t]=e[t-1];e[t]=[r,o,f]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={666:0};a.O.j=o=>0===e[o];var n=(o,f)=>{var l,i,[t,u,c]=f,d=0;if(t.some(b=>0!==e[b])){for(l in u)a.o(u,l)&&(a.m[l]=u[l]);if(c)var v=c(a)}for(o&&o(f);d<t.length;d++)a.o(e,i=t[d])&&e[i]&&e[i][0](),e[i]=0;return a.O(v)},r=self.webpackChunkbooking_search_widget=self.webpackChunkbooking_search_widget||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})()})();