!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(d){"use strict";var s,l=window.Slick||{};s=0,(l=function(i,e){var t,o=this;o.defaults={adaptiveHeight:!1,appendArrows:d(i),appendDots:d(i),arrows:!0,arrowsPlacement:null,asNavFor:null,prevArrow:'<button class="slick-prev" type="button"><span class="slick-prev-icon" aria-hidden="true"></span><span class="slick-sr-only">Previous</span></button>',nextArrow:'<button class="slick-next" type="button"><span class="slick-next-icon" aria-hidden="true"></span><span class="slick-sr-only">Next</span></button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(i,e){return d('<button type="button"><span class="slick-dot-icon" aria-hidden="true"></span><span class="slick-sr-only">Go to slide '+(e+1)+"</span></button>")},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,infinite:!0,initialSlide:0,instructionsText:null,lazyLoad:"ondemand",mobileFirst:!1,playIcon:'<span class="slick-play-icon" aria-hidden="true"></span>',pauseIcon:'<span class="slick-pause-icon" aria-hidden="true"></span>',pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,regionLabel:"carousel",respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useAutoplayToggleButton:!0,useCSS:!0,useGroupRole:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,$instructionsText:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$pauseButton:null,$pauseIcon:null,$playIcon:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},d.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=d(i),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,t=d(i).data("slick")||{},o.options=d.extend({},o.defaults,e,t),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=d.proxy(o.autoPlay,o),o.autoPlayClear=d.proxy(o.autoPlayClear,o),o.autoPlayIterator=d.proxy(o.autoPlayIterator,o),o.autoPlayToggleHandler=d.proxy(o.autoPlayToggleHandler,o),o.changeSlide=d.proxy(o.changeSlide,o),o.clickHandler=d.proxy(o.clickHandler,o),o.selectHandler=d.proxy(o.selectHandler,o),o.setPosition=d.proxy(o.setPosition,o),o.swipeHandler=d.proxy(o.swipeHandler,o),o.dragHandler=d.proxy(o.dragHandler,o),o.instanceUid=s++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}).prototype.addSlide=l.prototype.slickAdd=function(i,e,t){var o=this;if("boolean"==typeof e)t=e,e=null;else if(e<0||e>=o.slideCount)return!1;o.unload(),"number"==typeof e?0===e&&0===o.$slides.length?d(i).appendTo(o.$slideTrack):t?d(i).insertBefore(o.$slides.eq(e)):d(i).insertAfter(o.$slides.eq(e)):!0===t?d(i).prependTo(o.$slideTrack):d(i).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(i,e){d(e).attr("data-slick-index",i),d(e).attr("role","group"),d(e).attr("aria-label","slide "+i)}),o.$slidesCache=o.$slides,o.reinit()},l.prototype.animateHeight=function(){var i,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(i=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.animate({height:i},e.options.speed))},l.prototype.animateSlide=function(i,e){var t={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(i=-i),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:i},o.options.speed,o.options.easing,e):o.$slideTrack.animate({top:i},o.options.speed,o.options.easing,e):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),d({animStart:o.currentLeft}).animate({animStart:i},{duration:o.options.speed,easing:o.options.easing,step:function(i){i=Math.ceil(i),!1===o.options.vertical?t[o.animType]="translate("+i+"px, 0px)":t[o.animType]="translate(0px,"+i+"px)",o.$slideTrack.css(t)},complete:function(){e&&e.call()}})):(o.applyTransition(),i=Math.ceil(i),!1===o.options.vertical?t[o.animType]="translate3d("+i+"px, 0px, 0px)":t[o.animType]="translate3d(0px,"+i+"px, 0px)",o.$slideTrack.css(t),e&&setTimeout(function(){o.disableTransition(),e.call()},o.options.speed))},l.prototype.getNavTarget=function(){var i=this.options.asNavFor;return i&&null!==i&&(i=d(i).not(this.$slider)),i},l.prototype.asNavFor=function(e){var i=this.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=d(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},l.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},l.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},l.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},l.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(!1===i.options.infinite&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1==0&&(i.direction=1))),i.slideHandler(e))},l.prototype.autoPlayToggleHandler=function(){var i=this;i.paused?(i.$playIcon.css("display","none"),i.$pauseIcon.css("display","inline"),i.$pauseButton.find(".slick-play-text").attr("style","display: none"),i.$pauseButton.find(".slick-pause-text").removeAttr("style"),i.slickPlay()):(i.$playIcon.css("display","inline"),i.$pauseIcon.css("display","none"),i.$pauseButton.find(".slick-play-text").removeAttr("style"),i.$pauseButton.find(".slick-pause-text").attr("style","display: none"),i.slickPause())},l.prototype.buildArrows=function(){var i=this;if(!0===i.options.arrows)if(i.$prevArrow=d(i.options.prevArrow).addClass("slick-arrow"),i.$nextArrow=d(i.options.nextArrow).addClass("slick-arrow"),i.slideCount>i.options.slidesToShow){if(i.htmlExpr.test(i.options.prevArrow))if(null!=i.options.arrowsPlacement)switch(i.options.arrowsPlacement){case"beforeSlides":case"split":console.log("test"),i.$prevArrow.prependTo(i.options.appendArrows);break;case"afterSlides":i.$prevArrow.appendTo(i.options.appendArrows)}else i.$prevArrow.prependTo(i.options.appendArrows);if(i.htmlExpr.test(i.options.nextArrow))if(null!=i.options.arrowsPlacement)switch(i.options.arrowsPlacement){case"beforeSlides":console.log("test2"),i.$prevArrow.after(i.$nextArrow);break;case"afterSlides":case"split":i.$nextArrow.appendTo(i.options.appendArrows)}else i.$nextArrow.appendTo(i.options.appendArrows);!0!==i.options.infinite&&i.$prevArrow.addClass("slick-disabled").prop("disabled",!0)}else i.$prevArrow.add(i.$nextArrow).addClass("slick-hidden").prop("disabled",!0)},l.prototype.buildDots=function(){var i,e,t=this;if(!0===t.options.dots&&t.slideCount>t.options.slidesToShow){for(t.$slider.addClass("slick-dotted"),e=d("<ul />").addClass(t.options.dotsClass),i=0;i<=t.getDotCount();i+=1)e.append(d("<li />").append(t.options.customPaging.call(this,t,i)));t.$dots=e.appendTo(t.options.appendDots),t.$dots.find("li").first().addClass("slick-active")}},l.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(i,e){d(e).attr("data-slick-index",i).data("originalStyling",d(e).attr("style")||""),t.options.useGroupRole&&d(e).attr("role","group").attr("aria-label","slide "+(i+1))}),t.$slider.addClass("slick-slider"),t.$slider.attr("role","region"),t.$slider.attr("aria-label",t.options.regionLabel),t.$slideTrack=0===t.slideCount?d('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),d("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable"),t.options.autoplay&&t.options.useAutoplayToggleButton&&(t.$pauseIcon=d(t.options.pauseIcon).attr("aria-hidden",!0),t.$playIcon=d(t.options.playIcon).attr("aria-hidden",!0),t.$pauseButton=d('<button type="button" class="slick-autoplay-toggle-button">'),t.$pauseButton.append(t.$pauseIcon),t.$pauseButton.append(t.$playIcon.css("display","none")),t.$pauseButton.append(d('<span class="slick-pause-text slick-sr-only">Pause</span>')),t.$pauseButton.append(d('<span class="slick-play-text slick-sr-only" style="display: none">Play</span>')),t.$pauseButton.prependTo(t.$slider)),null!=t.options.instructionsText&&""!=t.options.instructionsText&&(t.$instructionsText=d('<p class="slick-instructions slick-sr-only">'+t.options.instructionsText+"</p>"),t.$instructionsText.prependTo(t.$slider))},l.prototype.buildRows=function(){var i,e,t,o=this,s=document.createDocumentFragment(),n=o.$slider.children();if(0<o.options.rows){for(t=o.options.slidesPerRow*o.options.rows,e=Math.ceil(n.length/t),i=0;i<e;i++){for(var l=document.createElement("div"),r=0;r<o.options.rows;r++){for(var a=document.createElement("div"),d=0;d<o.options.slidesPerRow;d++){var p=i*t+(r*o.options.slidesPerRow+d);n.get(p)&&a.appendChild(n.get(p))}l.appendChild(a)}s.appendChild(l)}o.$slider.empty().append(s),o.$slider.children().children().children().css({width:100/o.options.slidesPerRow+"%",display:"inline-block"})}},l.prototype.checkResponsive=function(i,e){var t,o,s,n=this,l=!1,r=n.$slider.width(),a=window.innerWidth||d(window).width();if("window"===n.respondTo?s=a:"slider"===n.respondTo?s=r:"min"===n.respondTo&&(s=Math.min(a,r)),n.options.responsive&&n.options.responsive.length&&null!==n.options.responsive){for(t in o=null,n.breakpoints)n.breakpoints.hasOwnProperty(t)&&(!1===n.originalSettings.mobileFirst?s<n.breakpoints[t]&&(o=n.breakpoints[t]):s>n.breakpoints[t]&&(o=n.breakpoints[t]));null!==o?null!==n.activeBreakpoint&&o===n.activeBreakpoint&&!e||(n.activeBreakpoint=o,"unslick"===n.breakpointSettings[o]?n.unslick(o):(n.options=d.extend({},n.originalSettings,n.breakpointSettings[o]),!0===i&&(n.currentSlide=n.options.initialSlide),n.refresh(i)),l=o):null!==n.activeBreakpoint&&(n.activeBreakpoint=null,n.options=n.originalSettings,!0===i&&(n.currentSlide=n.options.initialSlide),n.refresh(i),l=o),i||!1===l||n.$slider.trigger("breakpoint",[n,l])}},l.prototype.changeSlide=function(i,e){var t,o,s=this,n=d(i.currentTarget);switch(n.is("a")&&i.preventDefault(),n.is("li")||(n=n.closest("li")),t=s.slideCount%s.options.slidesToScroll!=0?0:(s.slideCount-s.currentSlide)%s.options.slidesToScroll,i.data.message){case"previous":o=0==t?s.options.slidesToScroll:s.options.slidesToShow-t,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide-o,!1,e);break;case"next":o=0==t?s.options.slidesToScroll:t,s.slideCount>s.options.slidesToShow&&s.slideHandler(s.currentSlide+o,!1,e);break;case"index":var l=0===i.data.index?0:i.data.index||n.index()*s.options.slidesToScroll;s.slideHandler(s.checkNavigable(l),!1,e),n.children().trigger("focus");break;default:return}},l.prototype.checkNavigable=function(i){var e=this.getNavigableIndexes(),t=0;if(i>e[e.length-1])i=e[e.length-1];else for(var o in e){if(i<e[o]){i=t;break}t=e[o]}return i},l.prototype.cleanUpEvents=function(){var i=this;i.options.autoplay&&i.options.useAutoplayToggleButton&&i.$pauseButton.off("click.slick",i.autoPlayToggleHandler),i.options.dots&&null!==i.$dots&&d("li",i.$dots).off("click.slick",i.changeSlide).off("mouseenter.slick",d.proxy(i.interrupt,i,!0)).off("mouseleave.slick",d.proxy(i.interrupt,i,!1)),i.$slider.off("focus.slick blur.slick"),!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow&&i.$prevArrow.off("click.slick",i.changeSlide),i.$nextArrow&&i.$nextArrow.off("click.slick",i.changeSlide)),i.$list.off("touchstart.slick mousedown.slick",i.swipeHandler),i.$list.off("touchmove.slick mousemove.slick",i.swipeHandler),i.$list.off("touchend.slick mouseup.slick",i.swipeHandler),i.$list.off("touchcancel.slick mouseleave.slick",i.swipeHandler),i.$list.off("click.slick",i.clickHandler),d(document).off(i.visibilityChange,i.visibility),i.cleanUpSlideEvents(),d(window).off("orientationchange.slick.slick-"+i.instanceUid,i.orientationChange),d(window).off("resize.slick.slick-"+i.instanceUid,i.resize),d("[draggable!=true]",i.$slideTrack).off("dragstart",i.preventDefault),d(window).off("load.slick.slick-"+i.instanceUid,i.setPosition)},l.prototype.cleanUpSlideEvents=function(){var i=this;i.$list.off("mouseenter.slick",d.proxy(i.interrupt,i,!0)),i.$list.off("mouseleave.slick",d.proxy(i.interrupt,i,!1))},l.prototype.cleanUpRows=function(){var i;0<this.options.rows&&((i=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(i))},l.prototype.clickHandler=function(i){!1===this.shouldClick&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},l.prototype.destroy=function(i){var e=this;e.autoPlayClear(),e.touchObject={},e.cleanUpEvents(),d(".slick-cloned",e.$slider).detach(),e.options.autoplay&&e.options.useAutoplayToggleButton&&e.$pauseButton.remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.$prevArrow.length&&(e.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove()),e.$nextArrow&&e.$nextArrow.length&&(e.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").prop("disabled",!1).css("display",""),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove()),e.$slides&&(e.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){d(this).attr("style",d(this).data("originalStyling"))}),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.detach(),e.$list.detach(),e.$slider.append(e.$slides)),e.cleanUpRows(),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$slider.removeClass("slick-dotted"),e.unslicked=!0,i||e.$slider.trigger("destroy",[e])},l.prototype.disableTransition=function(i){var e={};e[this.transitionType]="",!1===this.options.fade?this.$slideTrack.css(e):this.$slides.eq(i).css(e)},l.prototype.fadeSlide=function(i,e){var t=this;!1===t.cssTransitions?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},l.prototype.fadeSlideOut=function(i){var e=this;!1===e.cssTransitions?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},l.prototype.filterSlides=l.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},l.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(i){var e=d(this);setTimeout(function(){t.options.pauseOnFocus&&e.is(":focus")&&(t.focussed=!0,t.autoPlay())},0)}).on("blur.slick","*",function(i){d(this);t.options.pauseOnFocus&&(t.focussed=!1,t.autoPlay())})},l.prototype.getCurrent=l.prototype.slickCurrentSlide=function(){return this.currentSlide},l.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(!0===i.options.infinite)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(!0===i.options.centerMode)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},l.prototype.getLeft=function(i){var e,t,o,s,n=this,l=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),l=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!=0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(l=i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,l=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(l=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=!1===n.options.vertical?i*n.slideWidth*-1+n.slideOffset:i*t*-1+l,!0===n.options.variableWidth&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,!0===n.options.centerMode&&(o=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=!0===n.options.rtl?o[0]?-1*(n.$slideTrack.width()-o[0].offsetLeft-o.width()):0:o[0]?-1*o[0].offsetLeft:0,e+=(n.$list.width()-o.outerWidth())/2)),e},l.prototype.getOption=l.prototype.slickGetOption=function(i){return this.options[i]},l.prototype.getNavigableIndexes=function(){for(var i=this,e=0,t=0,o=[],s=!1===i.options.infinite?i.slideCount:(e=-1*i.options.slidesToScroll,t=-1*i.options.slidesToScroll,2*i.slideCount);e<s;)o.push(e),e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;return o},l.prototype.getSlick=function(){return this},l.prototype.getSlideCount=function(){var s,n=this,i=!0===n.options.centerMode?Math.floor(n.$list.width()/2):0,l=-1*n.swipeLeft+i;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(i,e){var t=d(e).outerWidth(),o=e.offsetLeft;if(!0!==n.options.centerMode&&(o+=t/2),l<o+t)return s=e,!1}),Math.abs(d(s).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},l.prototype.goTo=l.prototype.slickGoTo=function(i,e){this.changeSlide({data:{message:"index",index:parseInt(i)}},e)},l.prototype.init=function(i){var e=this;d(e.$slider).hasClass("slick-initialized")||(d(e.$slider).addClass("slick-initialized"),e.buildRows(),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots(),e.checkResponsive(!0),e.focusHandler()),i&&e.$slider.trigger("init",[e]),e.options.autoplay&&(e.paused=!1,e.autoPlay()),e.updateSlideVisibility(),null!=e.options.accessibility&&console.warn("accessibility setting is no longer supported."),null!=e.options.focusOnChange&&console.warn("focusOnChange is no longer supported."),null!=e.options.focusOnSelect&&console.warn("focusOnSelect is no longer supported.")},l.prototype.initArrowEvents=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide))},l.prototype.initDotEvents=function(){var i=this;!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&d("li",i.$dots).on("click.slick",{message:"index"},i.changeSlide),!0===i.options.dots&&!0===i.options.pauseOnDotsHover&&i.slideCount>i.options.slidesToShow&&d("li",i.$dots).on("mouseenter.slick",d.proxy(i.interrupt,i,!0)).on("mouseleave.slick",d.proxy(i.interrupt,i,!1))},l.prototype.initSlideEvents=function(){var i=this;i.options.pauseOnHover&&(i.$list.on("mouseenter.slick",d.proxy(i.interrupt,i,!0)),i.$list.on("mouseleave.slick",d.proxy(i.interrupt,i,!1)))},l.prototype.initializeEvents=function(){var i=this;i.initArrowEvents(),i.initDotEvents(),i.initSlideEvents(),i.options.autoplay&&i.options.useAutoplayToggleButton&&i.$pauseButton.on("click.slick",i.autoPlayToggleHandler),i.$list.on("touchstart.slick mousedown.slick",{action:"start"},i.swipeHandler),i.$list.on("touchmove.slick mousemove.slick",{action:"move"},i.swipeHandler),i.$list.on("touchend.slick mouseup.slick",{action:"end"},i.swipeHandler),i.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},i.swipeHandler),i.$list.on("click.slick",i.clickHandler),d(document).on(i.visibilityChange,d.proxy(i.visibility,i)),d(window).on("orientationchange.slick.slick-"+i.instanceUid,d.proxy(i.orientationChange,i)),d(window).on("resize.slick.slick-"+i.instanceUid,d.proxy(i.resize,i)),d("[draggable!=true]",i.$slideTrack).on("dragstart",i.preventDefault),d(window).on("load.slick.slick-"+i.instanceUid,i.setPosition),d(i.setPosition)},l.prototype.initUI=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},l.prototype.lazyLoad=function(){var i,e,t,n=this;function o(i){d("img[data-lazy]",i).each(function(){var i=d(this),e=d(this).attr("data-lazy"),t=d(this).attr("data-srcset"),o=d(this).attr("data-sizes")||n.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){i.animate({opacity:0},100,function(){t&&(i.attr("srcset",t),o&&i.attr("sizes",o)),i.attr("src",e).animate({opacity:1},200,function(){i.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,i,e])})},s.onerror=function(){i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,i,e])},s.src=e})}if(!0===n.options.centerMode?t=!0===n.options.infinite?(e=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(e=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),n.options.slidesToShow/2+1+2+n.currentSlide):(e=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,t=Math.ceil(e+n.options.slidesToShow),!0===n.options.fade&&(0<e&&e--,t<=n.slideCount&&t++)),i=n.$slider.find(".slick-slide").slice(e,t),"anticipated"===n.options.lazyLoad)for(var s=e-1,l=t,r=n.$slider.find(".slick-slide"),a=0;a<n.options.slidesToScroll;a++)s<0&&(s=n.slideCount-1),i=(i=i.add(r.eq(s))).add(r.eq(l)),s--,l++;o(i),n.slideCount<=n.options.slidesToShow?o(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?o(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&o(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},l.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},l.prototype.next=l.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},l.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},l.prototype.pause=l.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},l.prototype.play=l.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},l.prototype.postSlide=function(i){var e=this;e.unslicked||(e.$slider.trigger("afterChange",[e,i]),e.animating=!1,e.slideCount>e.options.slidesToShow&&e.setPosition(),e.swipeLeft=null,e.options.autoplay&&e.autoPlay(),e.updateSlideVisibility())},l.prototype.prev=l.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},l.prototype.preventDefault=function(i){i.preventDefault()},l.prototype.progressiveLazyLoad=function(i){i=i||1;var e,t,o,s,n,l=this,r=d("img[data-lazy]",l.$slider);r.length?(e=r.first(),t=e.attr("data-lazy"),o=e.attr("data-srcset"),s=e.attr("data-sizes")||l.$slider.attr("data-sizes"),(n=document.createElement("img")).onload=function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===l.options.adaptiveHeight&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,e,t]),l.progressiveLazyLoad()},n.onerror=function(){i<3?setTimeout(function(){l.progressiveLazyLoad(i+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,e,t]),l.progressiveLazyLoad())},n.src=t):l.$slider.trigger("allImagesLoaded",[l])},l.prototype.refresh=function(i){var e,t=this,o=t.slideCount-t.options.slidesToShow;!t.options.infinite&&t.currentSlide>o&&(t.currentSlide=o),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),e=t.currentSlide,t.destroy(!0),d.extend(t,t.initials,{currentSlide:e}),t.init(),i||t.changeSlide({data:{message:"index",index:e}},!1)},l.prototype.registerBreakpoints=function(){var i,e,t,o=this,s=o.options.responsive||null;if("array"===d.type(s)&&s.length){for(i in o.respondTo=o.options.respondTo||"window",s)if(t=o.breakpoints.length-1,s.hasOwnProperty(i)){for(e=s[i].breakpoint;0<=t;)o.breakpoints[t]&&o.breakpoints[t]===e&&o.breakpoints.splice(t,1),t--;o.breakpoints.push(e),o.breakpointSettings[e]=s[i].settings}o.breakpoints.sort(function(i,e){return o.options.mobileFirst?i-e:e-i})}},l.prototype.reinit=function(){var i=this;i.$slides=i.$slideTrack.children(i.options.slide).addClass("slick-slide"),i.slideCount=i.$slides.length,i.currentSlide>=i.slideCount&&0!==i.currentSlide&&(i.currentSlide=i.currentSlide-i.options.slidesToScroll),i.slideCount<=i.options.slidesToShow&&(i.currentSlide=0),i.registerBreakpoints(),i.setProps(),i.setupInfinite(),i.buildArrows(),i.updateArrows(),i.initArrowEvents(),i.buildDots(),i.updateDots(),i.initDotEvents(),i.cleanUpSlideEvents(),i.initSlideEvents(),i.checkResponsive(!1,!0),i.setSlideClasses("number"==typeof i.currentSlide?i.currentSlide:0),i.setPosition(),i.focusHandler(),i.paused=!i.options.autoplay,i.autoPlay(),i.$slider.trigger("reInit",[i])},l.prototype.resize=function(){var i=this;d(window).width()!==i.windowWidth&&(clearTimeout(i.windowDelay),i.windowDelay=window.setTimeout(function(){i.windowWidth=d(window).width(),i.checkResponsive(),i.unslicked||i.setPosition()},50))},l.prototype.removeSlide=l.prototype.slickRemove=function(i,e,t){var o=this;if(i="boolean"==typeof i?!0===(e=i)?0:o.slideCount-1:!0===e?--i:i,o.slideCount<1||i<0||i>o.slideCount-1)return!1;o.unload(),!0===t?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},l.prototype.setCSS=function(i){var e,t,o=this,s={};!0===o.options.rtl&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,!1===o.transformsEnabled||(!(s={})===o.cssTransitions?s[o.animType]="translate("+e+", "+t+")":s[o.animType]="translate3d("+e+", "+t+", 0px)"),o.$slideTrack.css(s)},l.prototype.setDimensions=function(){var i=this;!1===i.options.vertical?!0===i.options.centerMode&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),!0===i.options.centerMode&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),!1===i.options.vertical&&!1===i.options.variableWidth?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):!0===i.options.variableWidth?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();!1===i.options.variableWidth&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},l.prototype.setFade=function(){var t,o=this;o.$slides.each(function(i,e){t=o.slideWidth*i*-1,!0===o.options.rtl?d(e).css({position:"relative",right:t,top:0,zIndex:o.options.zIndex-2,opacity:0}):d(e).css({position:"relative",left:t,top:0,zIndex:o.options.zIndex-2,opacity:0})}),o.$slides.eq(o.currentSlide).css({zIndex:o.options.zIndex-1,opacity:1})},l.prototype.setHeight=function(){var i,e=this;1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical&&(i=e.$slides.eq(e.currentSlide).outerHeight(!0),e.$list.css("height",i))},l.prototype.setOption=l.prototype.slickSetOption=function(){var i,e,t,o,s,n=this,l=!1;if("object"===d.type(arguments[0])?(t=arguments[0],l=arguments[1],s="multiple"):"string"===d.type(arguments[0])&&(o=arguments[1],l=arguments[2],"responsive"===(t=arguments[0])&&"array"===d.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)n.options[t]=o;else if("multiple"===s)d.each(t,function(i,e){n.options[i]=e});else if("responsive"===s)for(e in o)if("array"!==d.type(n.options.responsive))n.options.responsive=[o[e]];else{for(i=n.options.responsive.length-1;0<=i;)n.options.responsive[i].breakpoint===o[e].breakpoint&&n.options.responsive.splice(i,1),i--;n.options.responsive.push(o[e])}l&&(n.unload(),n.reinit())},l.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),!1===i.options.fade?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},l.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=!0===i.options.vertical?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||!0===i.options.useCSS&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&!1!==i.animType&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&!1!==i.animType},l.prototype.setSlideClasses=function(i){var e,t,o,s,n=this,l=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true").attr("aria-label",function(){return d(this).attr("aria-label").replace(" (centered)","")});n.$slides.eq(i).addClass("slick-current"),!0===n.options.centerMode?(o=n.options.slidesToShow%2==0?1:0,s=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&(s<=i&&i<=n.slideCount-1-s?n.$slides.slice(i-s+o,i+s+1).addClass("slick-active").removeAttr("aria-hidden"):(e=n.options.slidesToShow+i,l.slice(e-s+1+o,e+s+2).addClass("slick-active").removeAttr("aria-hidden")),0===i?l.eq(n.options.slidesToShow+n.slideCount+1).addClass("slick-center").attr("aria-label",function(){return d(this).attr("aria-label")+" (centered)"}):i===n.slideCount-1&&l.eq(n.options.slidesToShow).addClass("slick-center").attr("aria-label",function(){return d(this).attr("aria-label")+" (centered)"})),n.$slides.eq(i).addClass("slick-center").attr("aria-label",function(){return d(this).attr("aria-label")+" (centered)"})):0<=i&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden"):l.length<=n.options.slidesToShow?l.addClass("slick-active").removeAttr("aria-hidden"):(t=n.slideCount%n.options.slidesToShow,e=!0===n.options.infinite?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?l.slice(e-(n.options.slidesToShow-t),e+t).addClass("slick-active").removeAttr("aria-hidden"):l.slice(e,e+n.options.slidesToShow).addClass("slick-active").removeAttr("aria-hidden")),"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},l.prototype.setupInfinite=function(){var i,e,t,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(e=null,o.slideCount>o.options.slidesToShow)){for(t=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,i=o.slideCount;i>o.slideCount-t;--i)e=i-1,d(o.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(i=0;i<t+o.slideCount;i+=1)e=i,d(o.$slides[e]).clone(!0).attr("id","").attr("data-slick-index",e+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){d(this).attr("id","")})}},l.prototype.interrupt=function(i){i||this.autoPlay(),this.interrupted=i},l.prototype.selectHandler=function(i){var e=d(i.target).is(".slick-slide")?d(i.target):d(i.target).parents(".slick-slide"),t=(t=parseInt(e.attr("data-slick-index")))||0;this.slideCount<=this.options.slidesToShow?this.slideHandler(t,!1,!0):this.slideHandler(t)},l.prototype.slideHandler=function(i,e,t){var o,s,n,l,r,a,d=this;if(e=e||!1,!(!0===d.animating&&!0===d.options.waitForAnimate||!0===d.options.fade&&d.currentSlide===i))if(!1===e&&d.asNavFor(i),o=i,r=d.getLeft(o),l=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?l:d.swipeLeft,!1===d.options.infinite&&!1===d.options.centerMode&&(i<0||i>d.getDotCount()*d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==t&&d.slideCount>d.options.slidesToShow?d.animateSlide(l,function(){d.postSlide(o)}):d.postSlide(o));else if(!1===d.options.infinite&&!0===d.options.centerMode&&(i<0||i>d.slideCount-d.options.slidesToScroll))!1===d.options.fade&&(o=d.currentSlide,!0!==t&&d.slideCount>d.options.slidesToShow?d.animateSlide(l,function(){d.postSlide(o)}):d.postSlide(o));else{if(d.options.autoplay&&clearInterval(d.autoPlayTimer),s=o<0?d.slideCount%d.options.slidesToScroll!=0?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+o:o>=d.slideCount?d.slideCount%d.options.slidesToScroll!=0?0:o-d.slideCount:o,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,s]),n=d.currentSlide,d.currentSlide=s,d.setSlideClasses(d.currentSlide),d.options.asNavFor&&(a=(a=d.getNavTarget()).slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),!0===d.options.fade)return!0!==t?(d.fadeSlideOut(n),d.fadeSlide(s,function(){d.postSlide(s)})):d.postSlide(s),void d.animateHeight();!0!==t&&d.slideCount>d.options.slidesToShow?d.animateSlide(r,function(){d.postSlide(s)}):d.postSlide(s)}},l.prototype.startLoad=function(){var i=this;!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),!0===i.options.dots&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},l.prototype.swipeDirection=function(){var i=this,e=i.touchObject.startX-i.touchObject.curX,t=i.touchObject.startY-i.touchObject.curY,o=Math.atan2(t,e),s=Math.round(180*o/Math.PI);return s<0&&(s=360-Math.abs(s)),s<=45&&0<=s||s<=360&&315<=s?!1===i.options.rtl?"left":"right":135<=s&&s<=225?!1===i.options.rtl?"right":"left":!0===i.options.verticalSwiping?35<=s&&s<=135?"down":"up":"vertical"},l.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1;if(o.interrupted=!1,o.shouldClick=!(10<o.touchObject.swipeLength),void 0===o.touchObject.curX)return!1;if(!0===o.touchObject.edgeHit&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},l.prototype.swipeHandler=function(i){var e=this;if(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},l.prototype.swipeMove=function(i){var e,t,o,s,n,l=this,r=void 0!==i.originalEvent?i.originalEvent.touches:null;return!(!l.dragging||l.scrolling||r&&1!==r.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==r?r[0].pageX:i.clientX,l.touchObject.curY=void 0!==r?r[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),n=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&4<n?!(l.scrolling=!0):(!0===l.options.verticalSwiping&&(l.touchObject.swipeLength=n),t=l.swipeDirection(),void 0!==i.originalEvent&&4<l.touchObject.swipeLength&&(l.swiping=!0,i.preventDefault()),s=(!1===l.options.rtl?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),!0===l.options.verticalSwiping&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,(l.touchObject.edgeHit=!1)===l.options.infinite&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),!1===l.options.vertical?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,!0===l.options.verticalSwiping&&(l.swipeLeft=e+o*s),!0!==l.options.fade&&!1!==l.options.touchMove&&(!0===l.animating?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},l.prototype.swipeStart=function(i){var e,t=this;if(t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow)return!(t.touchObject={});void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,t.dragging=!0},l.prototype.unfilterSlides=l.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},l.prototype.unload=function(){var i=this;d(".slick-cloned",i.$slider).remove(),i.$dots&&i.$dots.remove(),i.$prevArrow&&i.htmlExpr.test(i.options.prevArrow)&&i.$prevArrow.remove(),i.$nextArrow&&i.htmlExpr.test(i.options.nextArrow)&&i.$nextArrow.remove(),i.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},l.prototype.unslick=function(i){this.$slider.trigger("unslick",[this,i]),this.destroy()},l.prototype.updateArrows=function(){var i=this;Math.floor(i.options.slidesToShow/2);!0===i.options.arrows&&i.slideCount>i.options.slidesToShow&&!i.options.infinite&&(i.$prevArrow.removeClass("slick-disabled").prop("disabled",!1),i.$nextArrow.removeClass("slick-disabled").prop("disabled",!1),0===i.currentSlide?(i.$prevArrow.addClass("slick-disabled").prop("disabled",!0),i.$nextArrow.removeClass("slick-disabled").prop("disabled",!1)):(i.currentSlide>=i.slideCount-i.options.slidesToShow&&!1===i.options.centerMode||i.currentSlide>=i.slideCount-1&&!0===i.options.centerMode)&&(i.$nextArrow.addClass("slick-disabled").prop("disabled",!0),i.$prevArrow.removeClass("slick-disabled").prop("disabled",!1)))},l.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").find("button").removeAttr("aria-current").end().end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active").find("button").attr("aria-current",!0).end().end())},l.prototype.updateSlideVisibility=function(){this.$slideTrack.find(".slick-slide").attr("aria-hidden","true").find("a, input, button, select").attr("tabindex","-1"),this.$slideTrack.find(".slick-active").removeAttr("aria-hidden").find("a, input, button, select").removeAttr("tabindex")},l.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},d.fn.slick=function(){for(var i,e=this,t=arguments[0],o=Array.prototype.slice.call(arguments,1),s=e.length,n=0;n<s;n++)if("object"==typeof t||void 0===t?e[n].slick=new l(e[n],t):i=e[n].slick[t].apply(e[n].slick,o),void 0!==i)return i;return e}});;
"use strict";document.addEventListener('DOMContentLoaded',function(event){var datepicker=document.querySelector('.pika-datepicker');if(datepicker){var datepickers=document.querySelectorAll('.pika-datepicker');datepickers.forEach(function(picker){var pikaday=new Pikaday({field:picker,format:'DD-MM-YYYY'});});}});"use strict";document.addEventListener('DOMContentLoaded',function(){var links=document.querySelectorAll('.rte a, .intro-block a');function fileExtensionCheck(input){var regex=/^.*\.(jpg|doc|docx|pptx|zip|xls|xlsx|pdf)$/gmi;return regex.test(input.toLowerCase());}
function addExternalIcon(url,type){var hasIcon=url.querySelector('.btn__icon--right');var hasTextWrapper=url.querySelector('.btn__text');var firstNode=url.childNodes[0];var itemToAppendTo=url;if(hasTextWrapper){firstNode=hasTextWrapper.childNodes[0];}
var textNode=firstNode.nodeValue.trim();var lastWord=textNode.trim().split(' ').at(-1);var lastIndexOfSpace=textNode.lastIndexOf(' ');if(hasIcon){hasIcon.classList.add('hidden');}
var wrapSpan=document.createElement('span');var externalIcon=document.createElementNS('http://www.w3.org/2000/svg','svg');url.classList.add('js-external');externalIcon.setAttribute('aria-hidden',true);externalIcon.setAttribute('viewBox','0 0 24 24');externalIcon.classList.add('js-last-wordwrap__icon');if(type==='external'){externalIcon.innerHTML='<path fill="currentColor" d="M18.606 10a.39.39 0 0 1-.395-.394V5.787h-3.817A.39.39 0 0 1 14 5.394.39.39 0 0 1 14.394 5h4.212a.39.39 0 0 1 .394.394v4.204a.39.39 0 0 1-.394.394V10Z"/><path fill="currentColor" d="M12.403 12a.378.378 0 0 1-.282-.121.4.4 0 0 1 0-.572l5.185-5.186a.4.4 0 0 1 .573 0 .4.4 0 0 1 0 .573l-5.186 5.185a.405.405 0 0 1-.282.121h-.008Z"/><path fill="currentColor" d="M7.517 19C6.682 19 6 18.274 6 17.385V7.624C6 6.726 6.682 6 7.517 6h3.976c.227 0 .406.19.406.432s-.179.432-.406.432H7.517c-.39 0-.706.337-.706.76v9.76c0 .415.317.752.706.752l8.958-.06c.397 0 .714-.337.714-.752v-4.466c0-.241.178-.431.405-.431.227 0 .406.19.406.431v4.466c0 .89-.681 1.615-1.525 1.615L7.517 19Z"/>';}else if(type==='file'){externalIcon.innerHTML='<path fill="currentColor" d="m17.706 12.281-5.396 5.221a.45.45 0 0 1-.62 0l-5.396-5.22a.412.412 0 0 1 0-.598l.26-.25a.45.45 0 0 1 .619 0l4.207 4.078V4.547c0-.232.197-.422.438-.422h.364c.24 0 .438.19.438.422v10.965l4.207-4.075a.45.45 0 0 1 .62 0l.259.25a.407.407 0 0 1 0 .594ZM19 19.453v-.281a.431.431 0 0 0-.438-.422H5.438c-.24 0-.437.19-.437.422v.281c0 .232.197.422.438.422h13.125c.24 0 .437-.19.437-.422Z"/>';}
wrapSpan.classList.add('js-last-wordwrap');if(hasTextWrapper){itemToAppendTo=hasTextWrapper;}
var newContent=document.createTextNode(textNode.substring(0,lastIndexOfSpace+1));itemToAppendTo.prepend(newContent);wrapSpan.prepend(lastWord);wrapSpan.append(externalIcon);itemToAppendTo.append(wrapSpan);itemToAppendTo.removeChild(firstNode);}
function isExternal(url){try{if(url.startsWith('/')||url.startsWith('mailto')||url.startsWith('tel')){return false;}else{return new URL(url).origin!==location.origin;}}catch(error){return true;}}
function addSrOnlyText(){if(translations){var srOnlySpan=document.createElement('span');srOnlySpan.classList.add('sr-only');srOnlySpan.innerHTML=translations.externalLinkDescription;return srOnlySpan;}}
links.forEach(function(link){var linkUrl=link.getAttribute('href');if(isExternal(linkUrl)){if(fileExtensionCheck(linkUrl)){addExternalIcon(link,'file');}else{addExternalIcon(link,'external');}
link.append(addSrOnlyText());}else if(fileExtensionCheck(linkUrl)){addExternalIcon(link,'file');}});});"use strict";document.addEventListener('DOMContentLoaded',function(event){var switcher=document.querySelector('.view-switcher');var newsGrid=document.querySelector('.news-grid');if(switcher&&newsGrid){var viewToggles=document.querySelectorAll('.view-switcher__toggle');var listviewToggle=document.querySelector('.view-switcher__toggle--list');viewToggles.forEach(function(toggle){toggle.addEventListener('click',function(e){viewSwitcher(toggle);});});if(localStorage.getItem('listView')==='true'){listviewToggle.click();}}});function viewSwitcher(toggle){var cardviewToggle=document.querySelector('.view-switcher__toggle--card');var listviewToggle=document.querySelector('.view-switcher__toggle--list');var newsGrid=document.querySelector('.news-grid');if(toggle.classList.contains('view-switcher__toggle--card')){newsGrid.classList.remove('news-grid--list');listviewToggle.classList.remove('js-active');cardviewToggle.classList.add('js-active');listviewToggle.setAttribute('aria-pressed',false);cardviewToggle.setAttribute('aria-pressed',true);localStorage.setItem('listView',false);}else{newsGrid.classList.add('news-grid--list');listviewToggle.classList.add('js-active');cardviewToggle.classList.remove('js-active');listviewToggle.setAttribute('aria-pressed',true);cardviewToggle.setAttribute('aria-pressed',false);localStorage.setItem('listView',true);}}"use strict";$(document).ready(function(){$('.carousel-for').slick({slidesToShow:1,slidesToScroll:1,arrows:true,fade:false,infinite:false,asNavFor:'.carousel-nav',regionLabel:'Hoofdslider met afbeeldingen'});$('.carousel-nav').slick({slidesToShow:6,slidesToScroll:1,draggable:false,swipe:false,infinite:false,arrows:false,touchMove:false,asNavFor:'.carousel-for',dots:false,centerMode:false,regionLabel:'Navigatieslider'});});$('button[data-slide]').click(function(e){var slideno=$(this).data('slide');$('.carousel-nav').slick('slickGoTo',slideno-1);});"use strict";function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol!=="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;var F=function F(){};return{s:F,n:function n(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};},e:function e(_e){throw _e;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var normalCompletion=true,didErr=false,err;return{s:function s(){it=it.call(o);},n:function n(){var step=it.next();normalCompletion=step.done;return step;},e:function e(_e2){didErr=true;err=_e2;},f:function f(){try{if(!normalCompletion&&it["return"]!=null)it["return"]();}finally{if(didErr)throw err;}}};}
function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}
function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++){arr2[i]=arr[i];}return arr2;}
document.addEventListener('DOMContentLoaded',function(){var cookieConsent=document.querySelector('.cookie-consent');var cookieConsentOpenBtns=document.querySelectorAll('[data-cookie-consent="open"]');var allowEmbedCookiesBtns=document.querySelectorAll('.cookie-placeholder [data-cookie-consent="allow-cookies"]');var cookieConsentObj={};function trapFocusCookieConsent(element){var focusableEls=element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]), input[type="checkbox"]:not([disabled])');var firstFocusableEl=focusableEls[0];var lastFocusableEl=focusableEls[focusableEls.length-1];var KEYCODE_TAB=9;element.addEventListener('keydown',function(e){var isTabPressed=e.key==='Tab'||e.keyCode===KEYCODE_TAB;if(!isTabPressed){return;}
if(e.shiftKey){if(document.activeElement===firstFocusableEl){lastFocusableEl.focus();e.preventDefault();}}else if(document.activeElement===lastFocusableEl){firstFocusableEl.focus();e.preventDefault();}});}
function writeCookie(cName,cValue,expDays){var date=new Date();date.setTime(date.getTime()+expDays*24*60*60*1000);var expires="expires=".concat(date.toUTCString());document.cookie="".concat(cName,"=").concat(cValue,"; ").concat(expires,"; path=/; SameSite = Lax; Secure = true");}
function getCookieCategories(){var cookieCategories=document.querySelectorAll('[data-cookie-consent="options"] input[type="checkbox"]');cookieCategories.forEach(function(checkbox){var checked=checkbox.checked;var cookieCategory=checkbox.dataset.cookieCategory;cookieConsentObj[cookieCategory]=checked;});}
function getCookie(cName){var name="".concat(cName,"=");var cDecoded=decodeURIComponent(document.cookie);var cArr=cDecoded.split('; ');var res;cArr.forEach(function(val){if(val.indexOf(name)===0)res=val.substring(name.length);});return res;}
function setCookies(setToTrue){if(setToTrue==='all'){for(var keyName in cookieConsentObj){if(Object.prototype.hasOwnProperty.call(cookieConsentObj,keyName)){cookieConsentObj[keyName]=true;}}}else if(setToTrue==='required'){var cookieCategories=document.querySelectorAll('[data-cookie-consent="options"] input[type="checkbox"]');cookieCategories.forEach(function(checkbox){var cookieRequired=checkbox.dataset.cookieRequired;var cookieCategory=checkbox.dataset.cookieCategory;cookieConsentObj[cookieCategory]=cookieRequired;if(cookieRequired){cookieConsentObj[cookieCategory]=true;}else{cookieConsentObj[cookieCategory]=false;}});}else{for(var _keyName in cookieConsentObj){if(Object.prototype.hasOwnProperty.call(cookieConsentObj,_keyName)){cookieConsentObj[_keyName]=_keyName===setToTrue;}}}
writeCookie('CookieConsentDNB',modifyJson(cookieConsentObj),365);if(cookieConsent){cookieConsent.classList.add('js-hidden');}
window.location.reload();}
function modifyJson(cookieConsentObj){return encodeURIComponent(JSON.stringify(cookieConsentObj));}
function setActiveCheckbox(){var cookieConsentJson=getCookie('CookieConsentDNB');if(!cookieConsentJson){return;}
var cookieConsentJsonObj=JSON.parse(cookieConsentJson);var cookieCategories=document.querySelectorAll('[data-cookie-consent="options"] input[type="checkbox"]');var _iterator=_createForOfIteratorHelper(cookieCategories),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var cookieCategory=_step.value;var keyName=cookieCategory.value;if(Object.prototype.hasOwnProperty.call(cookieConsentObj,keyName)){cookieCategory.checked=cookieConsentJsonObj[keyName];}}}catch(err){_iterator.e(err);}finally{_iterator.f();}}
function saveCookieSettings(){setCookies('required');var checkedCookies=cookieConsent.querySelectorAll('.cookie-consent__options input[type="checkbox"]:checked');checkedCookies.forEach(function(checkbox){var checked=checkbox.checked;var cookieCategory=checkbox.dataset.cookieCategory;cookieConsentObj[cookieCategory]=checked;});writeCookie('CookieConsentDNB',modifyJson(cookieConsentObj),365);}
function openCookieConsent(){cookieConsent.classList.remove('js-hidden');trapFocusCookieConsent(cookieConsent);}
if(cookieConsentOpenBtns){var _iterator2=_createForOfIteratorHelper(cookieConsentOpenBtns),_step2;try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var cookieConsentOpenBtn=_step2.value;cookieConsentOpenBtn.addEventListener('click',function(){openCookieConsent();});}}catch(err){_iterator2.e(err);}finally{_iterator2.f();}}
if(allowEmbedCookiesBtns){var _iterator3=_createForOfIteratorHelper(allowEmbedCookiesBtns),_step3;try{var _loop=function _loop(){var embedBlockBtn=_step3.value;embedBlockBtn.addEventListener('click',function(){var cookieType=embedBlockBtn.getAttribute('data-cookie-consent-category');var checkedCookies=cookieConsent.querySelectorAll('.cookie-consent__options input[type="checkbox"]:checked');checkedCookies.forEach(function(_ref){var value=_ref.value,checked=_ref.checked;cookieConsentObj[value]=checked;});cookieConsentObj[cookieType]=true;writeCookie('CookieConsentDNB',modifyJson(cookieConsentObj),365);window.location.reload();});};for(_iterator3.s();!(_step3=_iterator3.n()).done;){_loop();}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}}
if(cookieConsent){getCookieCategories();setActiveCheckbox();var basicWrapper=cookieConsent.querySelector('.cookie-consent__basic');var advancedWrapper=cookieConsent.querySelector('.cookie-consent__advanced');var showSettingsBtn=cookieConsent.querySelector('.js-cookie-consent-settings');var closeSettingsBtn=cookieConsent.querySelector('.js-btn-close-settings');var saveSettingsBtn=cookieConsent.querySelector('[data-cookie-consent="save-settings"]');var acceptAllBtn=cookieConsent.querySelector('[data-cookie-consent="accept-all"]');var acceptNecessary=cookieConsent.querySelector('[data-cookie-consent="accept-necessary"]');trapFocusCookieConsent(basicWrapper);setTimeout(function(){acceptAllBtn.focus();},0);acceptAllBtn.addEventListener('click',function(){setCookies('all');});acceptNecessary.addEventListener('click',function(){setCookies('required');});showSettingsBtn.addEventListener('click',function(){cookieConsent.classList.add('js-advanced-open');trapFocusCookieConsent(advancedWrapper);});saveSettingsBtn.addEventListener('click',function(){saveCookieSettings();});closeSettingsBtn.addEventListener('click',function(){cookieConsent.classList.remove('js-advanced-open');trapFocusCookieConsent(basicWrapper);acceptAllBtn.focus();});if(!getCookie('CookieConsentDNB')){cookieConsent.classList.remove('js-hidden');}}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var inPageNav=document.querySelector('.inpage-nav');var ID=function ID(){return'id'+Math.random().toString(36).substr(2,9);};if(inPageNav){var headings=document.querySelectorAll('.main-grid-layout__content h2:not(.related-articles h2):not(.sidebar-components h2)');if(!headings.length==0){var navList=document.createElement('ul');document.querySelector('#inpage-nav').appendChild(navList);headings.forEach(function(heading){var headingText=heading.innerHTML;var uniqueID=ID();heading.setAttribute('id',uniqueID);heading.classList.add('scroll-top');var navListItem=document.createElement('li');navListItem.classList.add('inpage-nav__listitem');var navListLink=document.createElement('a');navListLink.innerHTML=headingText;navListLink.setAttribute('href','#'+uniqueID);navListLink.setAttribute('data-id',uniqueID);navListItem.appendChild(navListLink);document.querySelector('#inpage-nav ul').appendChild(navListItem);});var inPageTrigger=inPageNav.querySelector('.inpage-nav__trigger');inPageTrigger.addEventListener('click',function(){var hasClass=inPageNav.classList.contains('js-active');inPageNav.classList.toggle('js-active');document.querySelector('body').classList.toggle('js-overlay');inPageTrigger.setAttribute('aria-expanded',!hasClass);});var inPageNavListLinks=document.querySelectorAll('.inpage-nav__listitem a');inPageNavListLinks.forEach(function(item){item.addEventListener('click',function(){closeMobileInPageNav();var itemHref=item.getAttribute('data-id');document.getElementById(itemHref).focus();});});document.addEventListener('click',function(event){var targetElement=inPageNav.contains(event.target);if(!targetElement){closeMobileInPageNav();}});}else{inPageNav.classList.add('hidden');}};});function closeMobileInPageNav(){var inPageNav=document.querySelector('.inpage-nav');var inPageTrigger=inPageNav.querySelector('.inpage-nav__trigger');inPageNav.classList.remove('js-active');inPageTrigger.setAttribute('aria-expanded','false');document.querySelector('body').classList.remove('js-overlay');}"use strict";document.addEventListener('DOMContentLoaded',function(event){var navbar=document.querySelector('.main-navigation');var navbarHeight=navbar.offsetHeight;var navbarTop=document.querySelector('.main-navigation__top-wrapper');var navbarTopHeight=navbarTop.offsetHeight;var root=document.documentElement;root.style.setProperty('--navbarTopHeight',navbarTopHeight+"px");window.addEventListener('resize',function(){var navbarTop=document.querySelector('.main-navigation__top-wrapper');var navbarTopHeight=navbarTop.offsetHeight;root.style.setProperty('--navbarTopHeight',navbarTopHeight+"px");});function navbarHiding(fn){var lastScrollTop=0;var ticking=false;window.addEventListener('scroll',function(){var currentScrollTop=lastScrollTop;lastScrollTop=window.scrollY;if(!ticking){window.requestAnimationFrame(function(){fn(lastScrollTop,currentScrollTop);ticking=false;});ticking=true;}});}
navbarHiding(function(currentScrollTop,lastScrollTop){if(currentScrollTop>lastScrollTop&&currentScrollTop>navbarHeight*2){navbar.classList.add('js-fade-up');}else{navbar.classList.remove('js-fade-up');}});});"use strict";document.addEventListener('DOMContentLoaded',function(event){var navigation=document.querySelector('.main-navigation');if(navigation){var hamburger=navigation.querySelector('.mobile-menu-trigger');var mainNavigation=navigation.querySelector('.main-navigation__list');var mainNavigationItems=navigation.querySelectorAll('.main-navigation__list .main-navigation__listitem');hamburger.addEventListener('click',function(){if(hamburger.classList.contains('js-active')){closeMenu();}else{hamburger.classList.add('js-active');hamburger.setAttribute('aria-expanded',true);mainNavigation.classList.add('js-visible');checkIfActive();}});window.addEventListener('click',function(e){var target=e.target;if(!target.closest('.main-navigation__listwrapper, .mobile-menu-trigger, .util-nav__item, .main-navigation__go-back')&&navigation.classList.contains('js-nav-open')){closeMenu();}});mainNavigationItems.forEach(function(item){var hasChildren=item.querySelector('ul');item.setAttribute('id',generateId());if(hasChildren){var toggleMenuItemOnClick=function toggleMenuItemOnClick(){var parentElement=item.parentNode.parentNode;var siblings=parentElement.querySelector('ul').children;var children=item.querySelectorAll('.has-sub');closeUtilItems();for(var i=siblings.length-1;i>=0;i--){if(siblings[i].classList.contains('has-sub')&&siblings[i]!==item){setSubmenuState(siblings[i],'hide');siblings[i].querySelectorAll('.has-sub').forEach(function(child){setSubmenuState(child,'hide');});}}
if(item.classList.contains('js-active')){setSubmenuState(item,'hide');children.forEach(function(child){setSubmenuState(child,'hide');});}else{setSubmenuState(item,'show');}
backButton.addEventListener('click',function(){setSubmenuState(item,'hide');if(hasChildren.classList.contains('main-navigation__3rd-level')){mainNavigation.classList.remove('js-active--3rd-level');mainNavigation.classList.add('js-active--sub-sub','js-sub-open');backButton.closest('.main-navigation__sub-navigation').querySelector('.main-navigation__prev-level button').focus();}else if(hasChildren.classList.contains('main-navigation__sub-sub-navigation')){mainNavigation.classList.remove('js-active--sub-sub');mainNavigation.classList.add('js-active--sub','js-sub-open');backButton.closest('.main-navigation__sub-navigation').querySelector('.main-navigation__prev-level button').focus();}else{mainNavigation.classList.remove('js-sub-open','js-active--sub');backButton.closest('.main-navigation__list').querySelector('.main-navigation__listitem > *').focus();}
checkIfActive();});if(hasChildren.classList.contains('main-navigation__3rd-level')){mainNavigation.classList.remove('js-active--sub-sub');mainNavigation.classList.add('js-active--3rd-level','js-sub-open');}else if(hasChildren.classList.contains('main-navigation__sub-navigation')){mainNavigation.classList.remove('js-active--sub-sub','js-active--3rd-level');mainNavigation.classList.add('js-active--sub','js-sub-open');}else{mainNavigation.classList.remove('js-active--sub','.js-active--3rd-level');mainNavigation.classList.add('js-active--sub-sub');}
checkIfActive();};item.classList.add('has-sub');var button=item.querySelector('button');var id=item.getAttribute('id');var backButton=item.querySelector('.main-navigation__prev-level button');button.addEventListener('click',function(){toggleMenuItemOnClick();});}});}});function generateId(){return'_'+Math.random().toString(36).substr(2,9);};function resetMenuItems(){var mainNavigation=document.querySelector('.main-navigation__list');var mainNavigationItems=mainNavigation.querySelectorAll('.main-navigation__list .main-navigation__listitem');mainNavigationItems.forEach(function(item){var submenu=item.querySelector('ul');if(submenu){setSubmenuState(item,'hide');mainNavigation.classList.remove('js-active--sub','js-active--sub-sub','js-sub-open');}});}
function checkIfActive(){var navigation=document.querySelector('.main-navigation');var mainNavigation=navigation.querySelector('.main-navigation__list');var mainNavigationItems=mainNavigation.querySelectorAll('.main-navigation__list .main-navigation__listitem');var hamburger=navigation.querySelector('.mobile-menu-trigger');var totalActiveItems=0;mainNavigationItems.forEach(function(item){if(item.classList.contains('js-active')){totalActiveItems++;}});if(totalActiveItems>0||hamburger.classList.contains('js-active')){closeUtilItems();if(hamburger.classList.contains('js-active')){var activeListItems=document.querySelectorAll('.main-navigation__listitem.js-active');if(activeListItems.length>0){var deepestActiveItem=activeListItems[activeListItems.length-1];trapFocus(deepestActiveItem);}else{trapFocus(document.querySelector('.main-navigation__listwrapper'));}}
navigation.classList.add('js-nav-open');document.querySelector('body').classList.add('js-overlay');}else{navigation.classList.remove('js-nav-open');document.querySelector('body').classList.remove('js-overlay');if(document.querySelector('.main-navigation').classList.contains('js-nav-open-search')){document.querySelector('.main-navigation').classList.remove('js-nav-open-search');}}}
function setSubmenuState(element,state){var button=element.querySelector('button');var submenu=element.querySelector('ul');if(state=='hide'){element.classList.remove('js-active');button.setAttribute('aria-expanded',false);submenu.setAttribute('aria-hidden',true);}else{element.classList.add('js-active');button.setAttribute('aria-expanded',true);submenu.setAttribute('aria-hidden',false);}}
function closeMenu(){var navigation=document.querySelector('.main-navigation');var mainNavigation=navigation.querySelector('.main-navigation__list');var hamburger=navigation.querySelector('.mobile-menu-trigger');hamburger.classList.remove('js-active');hamburger.setAttribute('aria-expanded',false);mainNavigation.classList.remove('js-visible');resetMenuItems();checkIfActive();}
function trapFocus(element){var mainNavigationList=document.querySelector('.main-navigation__list');var focusableEls='';if(mainNavigationList.classList.contains('js-active--sub')){focusableEls=element.querySelectorAll('.main-navigation__sub-navigation > li > a[href]:not([disabled]), .main-navigation__sub-navigation > li > ul > li > a[href]:not([disabled]), .main-navigation__sub-navigation > li > button:not([disabled]):not(.js-hidden), .main-navigation__sub-navigation > li > ul > li > button:not([disabled]):not(.js-hidden)');}else if(mainNavigationList.classList.contains('js-active--sub-sub')){focusableEls=element.querySelectorAll('.main-navigation__sub-sub-navigation > li > a[href]:not([disabled]), .main-navigation__sub-sub-navigation > li > ul > li > a[href]:not([disabled]), .main-navigation__sub-sub-navigation > li > button:not([disabled]):not(.js-hidden), .main-navigation__sub-sub-navigation > li > ul > li > button:not([disabled]):not(.js-hidden)');}else{focusableEls=element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]):not(.js-hidden)');}
var firstFocusableEl=focusableEls[0];var lastFocusableEl=focusableEls[focusableEls.length-1];var KEYCODE_TAB=9;element.addEventListener('keydown',function(e){var isTabPressed=e.key==='Tab'||e.keyCode===KEYCODE_TAB;if(!isTabPressed){return;}
if(e.shiftKey){if(document.activeElement===firstFocusableEl&&!mainNavigationList.classList.contains('js-sub-open')){closeMenu();}else if(document.activeElement===firstFocusableEl&&mainNavigationList.classList.contains('js-sub-open')){firstFocusableEl.focus();e.preventDefault();}}else{if(document.activeElement===lastFocusableEl&&!mainNavigationList.classList.contains('js-sub-open')){closeMenu();}else if(document.activeElement===lastFocusableEl&&mainNavigationList.classList.contains('js-sub-open')){firstFocusableEl.focus();e.preventDefault();}}});}"use strict";document.addEventListener('DOMContentLoaded',function(){var searchBox=document.querySelector('.main-navigation__search');var searchTrigger=document.querySelector('.main-navigation__search__trigger');function openSearchDesktop(){var mainNav=document.querySelector('.main-navigation');var searchInput=searchBox.querySelector('.prominent-searchbox__input');searchBox.classList.add('js-search-open');mainNav.classList.add('js-menu-overlay');searchInput.focus();document.querySelector('body').classList.add('js-search-overlay');}
function closeSearchDesktop(){var mainNav=document.querySelector('.main-navigation');var searchInput=searchBox.querySelector('.prominent-searchbox__input');if(searchBox.classList.contains('js-search-open')){searchBox.classList.remove('js-search-open');mainNav.classList.remove('js-menu-overlay');searchInput.blur();document.querySelector('body').classList.remove('js-search-overlay');}}
if(searchTrigger){window.addEventListener('click',function(e){var target=e.target;if(!target.closest('.main-navigation__search')){closeSearchDesktop();}});searchTrigger.addEventListener('click',function(){if(!searchBox.classList.contains('js-search-open')){openSearchDesktop();}else{closeSearchDesktop();}});searchTrigger.addEventListener('focus',function(){closeMenu();});searchBox.addEventListener('focusout',function(e){if(!searchBox.contains(e.relatedTarget||e.target)){closeSearchDesktop();}});document.addEventListener('keydown',function(e){if(e.key==='Escape'){closeSearchDesktop();}});}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var newsBanner=document.querySelector('.news-banner');if(newsBanner){var setCookie=function setCookie(){localStorage.setItem(uniqueId,true);newsBanner.classList.add('js-hidden');};var triggerButtons=document.querySelectorAll('.news-banner__close, .news-banner__deny, .news-banner__cta');var uniqueId=newsBanner.dataset.id;if(localStorage.getItem(uniqueId)==='true'){newsBanner.classList.add('js-hidden');};triggerButtons.forEach(function(button){button.addEventListener('click',function(){setCookie();});});}});"use strict";document.addEventListener('DOMContentLoaded',function(){var overflowMenus=document.querySelectorAll('.overflow-menu');var currentOpenMenu=null;var currentOpenMenuTrigger=null;function closeOverflowMenu(){currentOpenMenu.classList.remove('js-open');currentOpenMenuTrigger.setAttribute('aria-expanded',false);currentOpenMenu=null;currentOpenMenuTrigger=null;}
function toggleOverflowMenu(menu,trigger){var isOpen=menu.classList.contains('js-open');if(currentOpenMenu===null){currentOpenMenu=menu;currentOpenMenuTrigger=trigger;}else{currentOpenMenu=null;currentOpenMenuTrigger=null;}
menu.classList.toggle('js-open');trigger.setAttribute('aria-expanded',!isOpen);}
if(overflowMenus){overflowMenus.forEach(function(overflowMenu){var overflowMenuTrigger=overflowMenu.querySelector('.overflow-menu__trigger');overflowMenuTrigger.addEventListener('click',function(){return toggleOverflowMenu(overflowMenu,overflowMenuTrigger);});overflowMenu.addEventListener('focusout',function(e){if(!overflowMenu.contains(e.relatedTarget||e.target)){closeOverflowMenu(overflowMenu,overflowMenuTrigger);}});});document.addEventListener('click',function(e){if(currentOpenMenu!==null&&!currentOpenMenu.contains(e.target)){closeOverflowMenu();}});document.addEventListener('keydown',function(e){if(e.key==='Escape'&&currentOpenMenu!==null){closeOverflowMenu();}});}});"use strict";document.addEventListener('DOMContentLoaded',function(){var today=new Date();var currentHour=today.getHours();var prominentSearchbox=document.querySelector('.prominent-searchbox');var morningMessage=document.querySelector('.prominent-searchbox__title.morning');if(morningMessage){var afternoonMessage=document.querySelector('.prominent-searchbox__title.afternoon');var eveningMessage=document.querySelector('.prominent-searchbox__title.evening');if(currentHour<12){morningMessage.classList.remove('hidden');morningMessage.classList.remove('rs_skip');}else if(currentHour<18){afternoonMessage.classList.remove('hidden');morningMessage.classList.remove('rs_skip');}else{eveningMessage.classList.remove('hidden');morningMessage.classList.remove('rs_skip');}}});"use strict";document.addEventListener('DOMContentLoaded',function(){var filters=document.querySelector('.filters-wrapper');var filterItems=document.querySelectorAll('.filter__item');if(filters){var initSearchBox=function initSearchBox(searchBox){searchBox.forEach(function(element){element.classList.add('js-active');});};filterItems.forEach(function(element){var filtersEl=element.querySelector('.filter__item__foldout');var items=filtersEl.querySelectorAll('.form-group--checkbox');var searchBox=filtersEl.querySelectorAll('.searchbox__filter');if(items.length>8){initSearchBox(searchBox);}});var searchBoxFilters=document.querySelectorAll('.searchbox__filter');if(searchBoxFilters.length>0){var filterResults=function filterResults(filterValue,item){var navIndex=0;for(var i=0;i<item.length;i++){var label=item[i].getElementsByTagName('label')[0];if(label.innerHTML.toUpperCase().indexOf(filterValue)>-1){navIndex++;item[i].classList.remove('js-hidden');item[i].classList.add('js-active');item[i].setAttribute('data-filter',navIndex);}else{item[i].classList.add('js-hidden');item[i].classList.remove('js-active');item[i].removeAttribute('data-filter');}}};searchBoxFilters.forEach(function(searchForm){var input=searchForm.querySelector('input');var parent=input.closest('.filter__item__foldout');var items=parent.querySelectorAll('.form-group--checkbox');input.addEventListener('input',function(e){var filterValue=e.target.value.toUpperCase();filterResults(filterValue,items);if(input.value.length==0){resetSuggestions();}});input.addEventListener('keydown',function(e){if(input.value.length!==0){if(e.key=='ArrowDown'){e.preventDefault();getActiveCheckbox(parent,'down',input);}
if(e.key=='Escape'){e.preventDefault();resetSuggestions();}}});document.addEventListener('click',function(e){if(e.target.closest('.filter__item.js-active'))return;filterResults(input.value='',items);resetSuggestions();});});}}});function getActiveCheckbox(parent,direction,input){var items=parent.querySelectorAll('[data-filter]');if(direction=='down'&&items.length!==0){items[0].querySelector('input').focus();}
items.forEach(function(element,index){element.querySelector('input').addEventListener('keydown',function(e){if(e.key=='ArrowDown'&&index<=items.length-2){document.activeElement===items[index+1].querySelector('label').focus();e.preventDefault();}
if(e.key=='ArrowUp'){if(index===0){input.focus();return;}
document.activeElement===items[index-1].querySelector('label').focus();e.preventDefault();}});});}
function resetSuggestions(){var searchBoxes=document.querySelectorAll('.searchbox__filter');var items=document.querySelectorAll('.form-group--checkbox');items.forEach(function(item){item.classList.remove('js-focus','js-hidden');});searchBoxes.forEach(function(searchForm){var input=searchForm.querySelector('input');input.value='';});}"use strict";document.addEventListener('DOMContentLoaded',function(event){var tabPanels=document.querySelectorAll('.tab-panel');var tabs=document.querySelectorAll('[role="tab"]');var tabList=document.querySelector('[role="tablist"]');if(tabList){tabs.forEach(function(tab){tab.addEventListener('click',changeTabs);});tabs[0].click();var tabFocus=0;tabList.addEventListener('keydown',function(e){if(e.keyCode===39||e.keyCode===37||e.keyCode===40||e.keyCode===38){tabs[tabFocus].setAttribute('tabindex',-1);if(e.keyCode===39||e.keyCode===40){tabFocus++;if(tabFocus>=tabs.length){tabFocus=0;}}else if(e.keyCode===37||e.keyCode===38){tabFocus--;if(tabFocus<0){tabFocus=tabs.length-1;}}
tabs[tabFocus].setAttribute('tabindex',0);tabs[tabFocus].focus();}});}});function changeTabs(e){var target=e.target;var parent=target.parentNode;var grandparent=parent.parentNode;parent.querySelectorAll('[aria-selected="true"]').forEach(function(tab){return tab.setAttribute('aria-selected',false);});target.setAttribute('aria-selected',true);grandparent.querySelectorAll('[role="tabpanel"]').forEach(function(panel){panel.setAttribute('hidden',true);panel.classList.remove('js-active');});grandparent.parentNode.querySelector("#".concat(target.getAttribute("aria-controls"))).removeAttribute('hidden');grandparent.parentNode.querySelector("#".concat(target.getAttribute("aria-controls"))).classList.add('js-active');}"use strict";document.addEventListener('DOMContentLoaded',function(event){var poll=document.querySelector('.poll-block');if(poll){var pollVoting=poll.querySelector('.poll-block__voting');var pollResults=poll.querySelector('.poll-block__results');var pollSubmit=poll.querySelector('.poll-block__submit');pollSubmit.addEventListener('click',function(e){pollVoting.classList.add('js-inactive');pollResults.classList.add('js-active');});}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var sortableTable=document.querySelector('.datatable');if(sortableTable){var sortableTables=document.querySelectorAll('.datatable');sortableTables.forEach(function(table){var tableSelector=table.querySelector('table');if(table.classList.contains('datatable--paged')){$(tableSelector).DataTable();}else{$(tableSelector).DataTable({paging:false,info:false,searching:false});}});}});"use strict";window.onload=function(){if(typeof Tobii!=='undefined'){var tobii=new Tobii({zoomText:'<svg width="157px" height="159px" aria-hidden="true" viewBox="0 0 157 159" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g fill="currentColor" fill-rule="nonzero"><path d="M67.4049928,78.2421299 L78.8550072,89.4178701 L26.869,142.67913 L65.9,142.68 L65.9,158.68 L0,158.68 L0,92.78 L16,92.78 L16,130.90813 L67.4049928,78.2421299 Z"></path><path d="M156.34,0 L156.34,65.9 L140.34,65.9 L140.339146,27.573 L89.0668542,78.8468542 L77.7531458,67.5331458 L129.286146,16 L90.44,16 L90.44,0 L156.34,0 Z"></path></g></g></svg>',autoplayVideo:true});}};"use strict";document.addEventListener('DOMContentLoaded',function(event){var videoBlock=document.querySelector('.video-block .js-video-trigger');if(videoBlock){var videoBlocks=document.querySelectorAll('.video-block__video-wrapper');videoBlocks.forEach(function(videoItem){var videoTrigger=videoItem.querySelector('.js-video-trigger');var videoContainer=videoItem.querySelector('.video-container');var inCampaignHero=videoItem.closest('.campaign-hero');if(videoTrigger){videoTrigger.addEventListener('click',function(e){e.preventDefault();videoTrigger.setAttribute('disabled','disabled');if(videoItem.classList.contains('iframe')){var iFrameSrc=videoContainer.dataset.src;var iFramesrcAutoplay=iFrameSrc+(iFrameSrc.indexOf('?')>=0?'&':'?')+'autoplay=1';var iFrameattr=videoContainer.dataset.attributes;var iFrame=document.createElement('iframe');iFrame.frameBorder=0;iFrame.setAttribute('allowFullScreen','true');iFrame.setAttribute('webkitallowfullscreen','true');iFrame.setAttribute('mozallowfullscreen','true');iFrame.setAttribute('src',iFramesrcAutoplay);videoTrigger.classList.add('js-is-loading');videoContainer.appendChild(iFrame);iFrame.addEventListener('load',function(){videoTrigger.classList.add('js-fade-out');videoContainer.classList.remove('hidden');videoContainer.querySelector('iframe').focus();if(inCampaignHero){inCampaignHero.querySelector('h2').classList.add('hidden');}});}
else{videoTrigger.classList.add('js-fade-out');videoContainer.classList.remove('hidden');videoContainer.querySelector('video').focus();videoContainer.querySelector('video').play();}
videoTrigger.setAttribute('aria-hidden','true');});};});};});"use strict";document.addEventListener('DOMContentLoaded',function(){var accordion=document.querySelector('.accordion');if(accordion){var accordionItems=document.querySelectorAll('.accordion__item');accordionItems.forEach(function(accordionItem){var accordionButton=accordionItem.querySelector('.accordion__trigger button');var accordionAnswer=accordionItem.querySelector('.accordion__answer');accordionButton.addEventListener('click',function(e){var target=e.target;var hasClass=accordionItem.classList.contains('js-active');accordionItem.classList.toggle('js-active');target.setAttribute('aria-expanded',!hasClass);accordionAnswer.setAttribute('aria-hidden',hasClass);});});};});"use strict";document.addEventListener('DOMContentLoaded',function(){var accordionCategoriesBlock=document.querySelector('.accordion-categories-block');if(accordionCategoriesBlock){var tabs=document.querySelectorAll('.accordion-filters__listitem__button');var mobileSelect=document.querySelector('.accordion-filters .form-control-select');var tabPanels=document.querySelectorAll('.accordion-items__set');mobileSelect.addEventListener('change',function(){var selectedOption=mobileSelect.value;tabPanels.forEach(function(panel){panel.classList.remove('js-active');});document.getElementById(selectedOption).classList.add('js-active');});tabs.forEach(function(tab){tab.addEventListener('click',function(el){tabs.forEach(function(tab){tab.setAttribute('aria-selected','false');});this.setAttribute('aria-selected','true');var tabPanelToOpen=this.getAttribute('data-faq-cat');tabPanels.forEach(function(panel){panel.classList.remove('js-active');});document.getElementById(tabPanelToOpen).classList.add('js-active');});});};});"use strict";document.addEventListener('DOMContentLoaded',function(){var queryParams=new URLSearchParams(window.location.search);var faqId=queryParams.get('faq');var faqElement=document.querySelector("[data-accordion-id=\"".concat(faqId,"\"]"));if(faqElement&&faqId){var faqCategorySet=faqElement.closest('.accordion-items__set').id;var faqCategoryButton=document.querySelector('[data-faq-cat='+faqCategorySet+']');if(faqCategoryButton){faqCategoryButton.click();}
faqElement.querySelector('.accordion__trigger button').click();faqElement.scrollIntoView();}});"use strict";document.addEventListener('DOMContentLoaded',function(event){var utilNav=document.querySelector('.util-nav');if(utilNav){var mainNav=document.querySelector('.main-navigation');var utilNavItems=utilNav.querySelectorAll('.util-nav__item');window.addEventListener('click',function(e){var target=e.target;if(!target.closest('.util-nav__item')){closeUtilItems();}});utilNavItems.forEach(function(utilNavItem){var utilNavButton=utilNavItem.querySelector('.util-item__button');var utilNavDropdown=utilNavItem.querySelector('.util-nav__dropdown');if(utilNavDropdown){utilNavButton.addEventListener('focus',function(){openUtil(utilNavItem,mainNav,utilNavDropdown,utilNavButton);});utilNavButton.addEventListener('mousedown',function(e){e.preventDefault();openUtil(utilNavItem,mainNav,utilNavDropdown,utilNavButton);});}});}});function openUtil(utilNavItem,mainNav,utilNavDropdown,utilNavButton){var topNav=document.querySelector('.main-navigation__top-wrapper');var bottomNav=document.querySelector('.main-navigation__bottom-wrapper');var topNavHeight=topNav.offsetHeight;if(mainNav.classList.contains('js-nav-open')){closeMenu();}
if(utilNavItem.classList.contains('js-active')){utilNavItem.classList.remove('js-active');utilNavButton.setAttribute('aria-expanded',false);utilNavDropdown.setAttribute('aria-hidden',true);document.querySelector('body').classList.remove('js-overlay');mainNav.classList.remove('js-nav-open');bottomNav.classList.remove('js-menu-overlay');if(utilNavItem.classList.contains('search')){mainNav.classList.remove('js-nav-open-search');}
if(utilNavButton.closest('.search')){utilNavItem.querySelector('.prominent-searchbox__input').blur();}}else{closeUtilItems();closeSearch();utilNavItem.classList.add('js-active');bottomNav.classList.add('js-menu-overlay');if(utilNavItem.classList.contains('search')){mainNav.classList.add('js-nav-open-search');}
var distanceTop=topNavHeight+'px';utilNavDropdown.style.setProperty('--topOffsetDesktop',distanceTop);utilNavButton.setAttribute('aria-expanded',true);utilNavDropdown.setAttribute('aria-hidden',false);document.querySelector('body').classList.add('js-overlay');focusCheck(utilNavDropdown);if(utilNavButton.closest('.search')){utilNavItem.querySelector('.prominent-searchbox__input').focus();}}}
function closeUtilItems(){var utilItems=document.querySelectorAll('.util-nav .util-nav__item');var bottomNav=document.querySelector('.main-navigation__bottom-wrapper');utilItems.forEach(function(utilNavItem){var utilNavButton=utilNavItem.querySelector('.util-item__button');var utilNavDropdown=utilNavItem.querySelector('.util-nav__dropdown');if(utilNavItem.classList.contains('js-active')){utilNavItem.classList.remove('js-active');utilNavButton.setAttribute('aria-expanded',false);utilNavDropdown.setAttribute('aria-hidden',true);if(utilNavButton.closest('.search')){utilNavItem.querySelector('.prominent-searchbox__input').blur();}
document.querySelector('body').classList.remove('js-overlay');bottomNav.classList.remove('js-menu-overlay');}});}
function closeSearch(){var navigation=document.querySelector('.main-navigation');var navSearchWrapper=navigation.querySelector('.main-navigation__search');navSearchWrapper.classList.remove('js-search-open');navigation.classList.remove('js-menu-overlay');document.querySelector('body').classList.remove('js-overlay');}
function focusCheck(utilNavDropdown){var focusableEls=utilNavDropdown.querySelectorAll('a[href]:not([disabled]), button:not([disabled]):not(.js-hidden), textarea:not([disabled]), input:not([disabled]), select:not([disabled])');var firstFocusableEl=focusableEls[0];var lastFocusableEl=focusableEls[focusableEls.length-1];var KEYCODE_TAB=9;utilNavDropdown.addEventListener('keydown',function(e){var isTabPressed=e.key==='Tab'||e.keyCode===KEYCODE_TAB;if(!isTabPressed){return;}
if(e.shiftKey){if(document.activeElement===firstFocusableEl){closeUtilItems();}}else{if(document.activeElement===lastFocusableEl){closeUtilItems();}}});}"use strict";document.addEventListener('DOMContentLoaded',function(event){var readspeakerTrigger=document.querySelector('.util-item__button--speaker');if(readspeakerTrigger){var pageURL=readspeakerTrigger.getAttribute('href');readspeakerTrigger.addEventListener('click',function(e){var readspeakerPlayer=document.querySelector('#readspeaker-player');e.preventDefault();readpage(pageURL,'readspeaker-player');readspeakerPlayer.focus();});}});;;
window.rsConf={general:{usePost:true}};;;
(()=>{"use strict";var e,_={},b={};function n(e){var a=b[e];if(void 0!==a)return a.exports;var r=b[e]={exports:{}};return _[e](r,r.exports,n),r.exports}n.m=_,e=[],n.O=(a,r,s,u)=>{if(!r){var o=1/0;for(t=0;t<e.length;t++){for(var[r,s,u]=e[t],c=!0,f=0;f<r.length;f++)(!1&u||o>=u)&&Object.keys(n.O).every(i=>n.O[i](r[f]))?r.splice(f--,1):(c=!1,u<o&&(o=u));if(c){e.splice(t--,1);var l=s();void 0!==l&&(a=l)}}return a}u=u||0;for(var t=e.length;t>0&&e[t-1][2]>u;t--)e[t]=e[t-1];e[t]=[r,s,u]},n.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return n.d(a,{a}),a},n.d=(e,a)=>{for(var r in a)n.o(a,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:a[r]})},n.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),(()=>{var e={666:0};n.O.j=s=>0===e[s];var a=(s,u)=>{var f,l,[t,o,c]=u,v=0;if(t.some(h=>0!==e[h])){for(f in o)n.o(o,f)&&(n.m[f]=o[f]);if(c)var d=c(n)}for(s&&s(u);v<t.length;v++)n.o(e,l=t[v])&&e[l]&&e[l][0](),e[l]=0;return n.O(d)},r=self.webpackChunkAutosuggest=self.webpackChunkAutosuggest||[];r.forEach(a.bind(null,0)),r.push=a.bind(null,r.push.bind(r))})()})();;;
"use strict";(self.webpackChunkAutosuggest=self.webpackChunkAutosuggest||[]).push([[429],{276:(ie,Ee,de)=>{de(583)},583:()=>{!function(e){const n=e.performance;function i(M){n&&n.mark&&n.mark(M)}function o(M,E){n&&n.measure&&n.measure(M,E)}i("Zone");const c=e.__Zone_symbol_prefix||"__zone_symbol__";function a(M){return c+M}const T=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(T||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let d=(()=>{class M{constructor(t,r){this._parent=t,this._name=r?r.name||"unnamed":"<root>",this._properties=r&&r.properties||{},this._zoneDelegate=new v(this,this._parent&&this._parent._zoneDelegate,r)}static assertZonePatched(){if(e.Promise!==oe.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=M.current;for(;t.parent;)t=t.parent;return t}static get current(){return U.zone}static get currentTask(){return re}static __load_patch(t,r,k=!1){if(oe.hasOwnProperty(t)){if(!k&&T)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const C="Zone:"+t;i(C),oe[t]=r(e,M,z),o(C,C)}}get parent(){return this._parent}get name(){return this._name}get(t){const r=this.getZoneWith(t);if(r)return r._properties[t]}getZoneWith(t){let r=this;for(;r;){if(r._properties.hasOwnProperty(t))return r;r=r._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,r){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const k=this._zoneDelegate.intercept(this,t,r),C=this;return function(){return C.runGuarded(k,this,arguments,r)}}run(t,r,k,C){U={parent:U,zone:this};try{return this._zoneDelegate.invoke(this,t,r,k,C)}finally{U=U.parent}}runGuarded(t,r=null,k,C){U={parent:U,zone:this};try{try{return this._zoneDelegate.invoke(this,t,r,k,C)}catch($){if(this._zoneDelegate.handleError(this,$))throw $}}finally{U=U.parent}}runTask(t,r,k){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");if(t.state===x&&(t.type===Q||t.type===P))return;const C=t.state!=y;C&&t._transitionTo(y,A),t.runCount++;const $=re;re=t,U={parent:U,zone:this};try{t.type==P&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,r,k)}catch(l){if(this._zoneDelegate.handleError(this,l))throw l}}finally{t.state!==x&&t.state!==h&&(t.type==Q||t.data&&t.data.isPeriodic?C&&t._transitionTo(A,y):(t.runCount=0,this._updateTaskCount(t,-1),C&&t._transitionTo(x,y,x))),U=U.parent,re=$}}scheduleTask(t){if(t.zone&&t.zone!==this){let k=this;for(;k;){if(k===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);k=k.parent}}t._transitionTo(X,x);const r=[];t._zoneDelegates=r,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(k){throw t._transitionTo(h,X,x),this._zoneDelegate.handleError(this,k),k}return t._zoneDelegates===r&&this._updateTaskCount(t,1),t.state==X&&t._transitionTo(A,X),t}scheduleMicroTask(t,r,k,C){return this.scheduleTask(new p(I,t,r,k,C,void 0))}scheduleMacroTask(t,r,k,C,$){return this.scheduleTask(new p(P,t,r,k,C,$))}scheduleEventTask(t,r,k,C,$){return this.scheduleTask(new p(Q,t,r,k,C,$))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||K).name+"; Execution: "+this.name+")");t._transitionTo(G,A,y);try{this._zoneDelegate.cancelTask(this,t)}catch(r){throw t._transitionTo(h,G),this._zoneDelegate.handleError(this,r),r}return this._updateTaskCount(t,-1),t._transitionTo(x,G),t.runCount=0,t}_updateTaskCount(t,r){const k=t._zoneDelegates;-1==r&&(t._zoneDelegates=null);for(let C=0;C<k.length;C++)k[C]._updateTaskCount(t.type,r)}}return M.__symbol__=a,M})();const b={name:"",onHasTask:(M,E,t,r)=>M.hasTask(t,r),onScheduleTask:(M,E,t,r)=>M.scheduleTask(t,r),onInvokeTask:(M,E,t,r,k,C)=>M.invokeTask(t,r,k,C),onCancelTask:(M,E,t,r)=>M.cancelTask(t,r)};class v{constructor(E,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=E,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this.zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const k=r&&r.onHasTask;(k||t&&t._hasTaskZS)&&(this._hasTaskZS=k?r:b,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=E,r.onScheduleTask||(this._scheduleTaskZS=b,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),r.onInvokeTask||(this._invokeTaskZS=b,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),r.onCancelTask||(this._cancelTaskZS=b,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(E,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,E,t):new d(E,t)}intercept(E,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,E,t,r):t}invoke(E,t,r,k,C){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,E,t,r,k,C):t.apply(r,k)}handleError(E,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,E,t)}scheduleTask(E,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,E,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=I)throw new Error("Task is missing scheduleFn.");R(t)}return r}invokeTask(E,t,r,k){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,E,t,r,k):t.callback.apply(r,k)}cancelTask(E,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,E,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(E,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,E,t)}catch(r){this.handleError(E,r)}}_updateTaskCount(E,t){const r=this._taskCounts,k=r[E],C=r[E]=k+t;if(C<0)throw new Error("More tasks executed then were scheduled.");0!=k&&0!=C||this.hasTask(this.zone,{microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:E})}}class p{constructor(E,t,r,k,C,$){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=E,this.source=t,this.data=k,this.scheduleFn=C,this.cancelFn=$,!r)throw new Error("callback is not defined");this.callback=r;const l=this;this.invoke=E===Q&&k&&k.useG?p.invokeTask:function(){return p.invokeTask.call(e,l,this,arguments)}}static invokeTask(E,t,r){E||(E=this),ee++;try{return E.runCount++,E.zone.runTask(E,t,r)}finally{1==ee&&_(),ee--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(x,X)}_transitionTo(E,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${E}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=E,E==x&&(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 L=a("setTimeout"),Z=a("Promise"),N=a("then");let J,B=[],H=!1;function q(M){if(J||e[Z]&&(J=e[Z].resolve(0)),J){let E=J[N];E||(E=J.then),E.call(J,M)}else e[L](M,0)}function R(M){0===ee&&0===B.length&&q(_),M&&B.push(M)}function _(){if(!H){for(H=!0;B.length;){const M=B;B=[];for(let E=0;E<M.length;E++){const t=M[E];try{t.zone.runTask(t,null,null)}catch(r){z.onUnhandledError(r)}}}z.microtaskDrainDone(),H=!1}}const K={name:"NO ZONE"},x="notScheduled",X="scheduling",A="scheduled",y="running",G="canceling",h="unknown",I="microTask",P="macroTask",Q="eventTask",oe={},z={symbol:a,currentZoneFrame:()=>U,onUnhandledError:W,microtaskDrainDone:W,scheduleMicroTask:R,showUncaughtError:()=>!d[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:W,patchMethod:()=>W,bindArguments:()=>[],patchThen:()=>W,patchMacroTask:()=>W,patchEventPrototype:()=>W,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>W,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>W,wrapWithCurrentZone:()=>W,filterProperties:()=>[],attachOriginToPatched:()=>W,_redefineProperty:()=>W,patchCallbacks:()=>W,nativeScheduleMicroTask:q};let U={parent:null,zone:new d(null,null)},re=null,ee=0;function W(){}o("Zone","Zone"),e.Zone=d}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const ie=Object.getOwnPropertyDescriptor,Ee=Object.defineProperty,de=Object.getPrototypeOf,ge=Object.create,Ve=Array.prototype.slice,Oe="addEventListener",Se="removeEventListener",Ze=Zone.__symbol__(Oe),Ne=Zone.__symbol__(Se),ce="true",ae="false",ke=Zone.__symbol__("");function Ie(e,n){return Zone.current.wrap(e,n)}function Me(e,n,i,o,c){return Zone.current.scheduleMacroTask(e,n,i,o,c)}const j=Zone.__symbol__,Pe="undefined"!=typeof window,Te=Pe?window:void 0,Y=Pe&&Te||"object"==typeof self&&self||global;function Le(e,n){for(let i=e.length-1;i>=0;i--)"function"==typeof e[i]&&(e[i]=Ie(e[i],n+"_"+i));return e}function Fe(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const Be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,we=!("nw" in Y)&&void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process),Ae=!we&&!Be&&!(!Pe||!Te.HTMLElement),Ue=void 0!==Y.process&&"[object process]"==={}.toString.call(Y.process)&&!Be&&!(!Pe||!Te.HTMLElement),Re={},We=function(e){if(!(e=e||Y.event))return;let n=Re[e.type];n||(n=Re[e.type]=j("ON_PROPERTY"+e.type));const i=this||e.target||Y,o=i[n];let c;if(Ae&&i===Te&&"error"===e.type){const a=e;c=o&&o.call(this,a.message,a.filename,a.lineno,a.colno,a.error),!0===c&&e.preventDefault()}else c=o&&o.apply(this,arguments),null!=c&&!c&&e.preventDefault();return c};function qe(e,n,i){let o=ie(e,n);if(!o&&i&&ie(i,n)&&(o={enumerable:!0,configurable:!0}),!o||!o.configurable)return;const c=j("on"+n+"patched");if(e.hasOwnProperty(c)&&e[c])return;delete o.writable,delete o.value;const a=o.get,T=o.set,d=n.substr(2);let b=Re[d];b||(b=Re[d]=j("ON_PROPERTY"+d)),o.set=function(v){let p=this;!p&&e===Y&&(p=Y),p&&("function"==typeof p[b]&&p.removeEventListener(d,We),T&&T.call(p,null),p[b]=v,"function"==typeof v&&p.addEventListener(d,We,!1))},o.get=function(){let v=this;if(!v&&e===Y&&(v=Y),!v)return null;const p=v[b];if(p)return p;if(a){let L=a.call(this);if(L)return o.set.call(this,L),"function"==typeof v.removeAttribute&&v.removeAttribute(n),L}return null},Ee(e,n,o),e[c]=!0}function Xe(e,n,i){if(n)for(let o=0;o<n.length;o++)qe(e,"on"+n[o],i);else{const o=[];for(const c in e)"on"==c.substr(0,2)&&o.push(c);for(let c=0;c<o.length;c++)qe(e,o[c],i)}}const ne=j("originalInstance");function ve(e){const n=Y[e];if(!n)return;Y[j(e)]=n,Y[e]=function(){const c=Le(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.")}},ue(Y[e],n);const i=new n(function(){});let o;for(o in i)"XMLHttpRequest"===e&&"responseBlob"===o||function(c){"function"==typeof i[c]?Y[e].prototype[c]=function(){return this[ne][c].apply(this[ne],arguments)}:Ee(Y[e].prototype,c,{set:function(a){"function"==typeof a?(this[ne][c]=Ie(a,e+"."+c),ue(this[ne][c],a)):this[ne][c]=a},get:function(){return this[ne][c]}})}(o);for(o in n)"prototype"!==o&&n.hasOwnProperty(o)&&(Y[e][o]=n[o])}function le(e,n,i){let o=e;for(;o&&!o.hasOwnProperty(n);)o=de(o);!o&&e[n]&&(o=e);const c=j(n);let a=null;if(o&&(!(a=o[c])||!o.hasOwnProperty(c))&&(a=o[c]=o[n],Fe(o&&ie(o,n)))){const d=i(a,c,n);o[n]=function(){return d(this,arguments)},ue(o[n],a)}return a}function lt(e,n,i){let o=null;function c(a){const T=a.data;return T.args[T.cbIdx]=function(){a.invoke.apply(this,arguments)},o.apply(T.target,T.args),a}o=le(e,n,a=>function(T,d){const b=i(T,d);return b.cbIdx>=0&&"function"==typeof d[b.cbIdx]?Me(b.name,d[b.cbIdx],b,c):a.apply(T,d)})}function ue(e,n){e[j("OriginalDelegate")]=n}let ze=!1,je=!1;function ft(){if(ze)return je;ze=!0;try{const e=Te.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(je=!0)}catch(e){}return je}Zone.__load_patch("ZoneAwarePromise",(e,n,i)=>{const o=Object.getOwnPropertyDescriptor,c=Object.defineProperty,T=i.symbol,d=[],b=!0===e[T("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],v=T("Promise"),p=T("then");i.onUnhandledError=l=>{if(i.showUncaughtError()){const u=l&&l.rejection;u?console.error("Unhandled Promise rejection:",u instanceof Error?u.message:u,"; Zone:",l.zone.name,"; Task:",l.task&&l.task.source,"; Value:",u,u instanceof Error?u.stack:void 0):console.error(l)}},i.microtaskDrainDone=()=>{for(;d.length;){const l=d.shift();try{l.zone.runGuarded(()=>{throw l.throwOriginal?l.rejection:l})}catch(u){N(u)}}};const Z=T("unhandledPromiseRejectionHandler");function N(l){i.onUnhandledError(l);try{const u=n[Z];"function"==typeof u&&u.call(this,l)}catch(u){}}function B(l){return l&&l.then}function H(l){return l}function J(l){return t.reject(l)}const q=T("state"),R=T("value"),_=T("finally"),K=T("parentPromiseValue"),x=T("parentPromiseState"),A=null,y=!0,G=!1;function I(l,u){return s=>{try{z(l,u,s)}catch(f){z(l,!1,f)}}}const oe=T("currentTaskTrace");function z(l,u,s){const f=function(){let l=!1;return function(s){return function(){l||(l=!0,s.apply(null,arguments))}}}();if(l===s)throw new TypeError("Promise resolved with itself");if(l[q]===A){let g=null;try{("object"==typeof s||"function"==typeof s)&&(g=s&&s.then)}catch(w){return f(()=>{z(l,!1,w)})(),l}if(u!==G&&s instanceof t&&s.hasOwnProperty(q)&&s.hasOwnProperty(R)&&s[q]!==A)re(s),z(l,s[q],s[R]);else if(u!==G&&"function"==typeof g)try{g.call(s,f(I(l,u)),f(I(l,!1)))}catch(w){f(()=>{z(l,!1,w)})()}else{l[q]=u;const w=l[R];if(l[R]=s,l[_]===_&&u===y&&(l[q]=l[x],l[R]=l[K]),u===G&&s instanceof Error){const m=n.currentTask&&n.currentTask.data&&n.currentTask.data.__creationTrace__;m&&c(s,oe,{configurable:!0,enumerable:!1,writable:!0,value:m})}for(let m=0;m<w.length;)ee(l,w[m++],w[m++],w[m++],w[m++]);if(0==w.length&&u==G){l[q]=0;let m=s;try{throw new Error("Uncaught (in promise): "+function a(l){return l&&l.toString===Object.prototype.toString?(l.constructor&&l.constructor.name||"")+": "+JSON.stringify(l):l?l.toString():Object.prototype.toString.call(l)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(D){m=D}b&&(m.throwOriginal=!0),m.rejection=s,m.promise=l,m.zone=n.current,m.task=n.currentTask,d.push(m),i.scheduleMicroTask()}}}return l}const U=T("rejectionHandledHandler");function re(l){if(0===l[q]){try{const u=n[U];u&&"function"==typeof u&&u.call(this,{rejection:l[R],promise:l})}catch(u){}l[q]=G;for(let u=0;u<d.length;u++)l===d[u].promise&&d.splice(u,1)}}function ee(l,u,s,f,g){re(l);const w=l[q],m=w?"function"==typeof f?f:H:"function"==typeof g?g:J;u.scheduleMicroTask("Promise.then",()=>{try{const D=l[R],O=!!s&&_===s[_];O&&(s[K]=D,s[x]=w);const S=u.run(m,void 0,O&&m!==J&&m!==H?[]:[D]);z(s,!0,S)}catch(D){z(s,!1,D)}},s)}const M=function(){},E=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(u){return z(new this(null),y,u)}static reject(u){return z(new this(null),G,u)}static any(u){if(!u||"function"!=typeof u[Symbol.iterator])return Promise.reject(new E([],"All promises were rejected"));const s=[];let f=0;try{for(let m of u)f++,s.push(t.resolve(m))}catch(m){return Promise.reject(new E([],"All promises were rejected"))}if(0===f)return Promise.reject(new E([],"All promises were rejected"));let g=!1;const w=[];return new t((m,D)=>{for(let O=0;O<s.length;O++)s[O].then(S=>{g||(g=!0,m(S))},S=>{w.push(S),f--,0===f&&(g=!0,D(new E(w,"All promises were rejected")))})})}static race(u){let s,f,g=new this((D,O)=>{s=D,f=O});function w(D){s(D)}function m(D){f(D)}for(let D of u)B(D)||(D=this.resolve(D)),D.then(w,m);return g}static all(u){return t.allWithCallback(u)}static allSettled(u){return(this&&this.prototype instanceof t?this:t).allWithCallback(u,{thenCallback:f=>({status:"fulfilled",value:f}),errorCallback:f=>({status:"rejected",reason:f})})}static allWithCallback(u,s){let f,g,w=new this((S,V)=>{f=S,g=V}),m=2,D=0;const O=[];for(let S of u){B(S)||(S=this.resolve(S));const V=D;try{S.then(F=>{O[V]=s?s.thenCallback(F):F,m--,0===m&&f(O)},F=>{s?(O[V]=s.errorCallback(F),m--,0===m&&f(O)):g(F)})}catch(F){g(F)}m++,D++}return m-=2,0===m&&f(O),w}constructor(u){const s=this;if(!(s instanceof t))throw new Error("Must be an instanceof Promise.");s[q]=A,s[R]=[];try{u&&u(I(s,y),I(s,G))}catch(f){z(s,!1,f)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(u,s){let f=this.constructor[Symbol.species];(!f||"function"!=typeof f)&&(f=this.constructor||t);const g=new f(M),w=n.current;return this[q]==A?this[R].push(w,g,u,s):ee(this,w,g,u,s),g}catch(u){return this.then(null,u)}finally(u){let s=this.constructor[Symbol.species];(!s||"function"!=typeof s)&&(s=t);const f=new s(M);f[_]=_;const g=n.current;return this[q]==A?this[R].push(g,f,u,u):ee(this,g,f,u,u),f}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const r=e[v]=e.Promise;e.Promise=t;const k=T("thenPatched");function C(l){const u=l.prototype,s=o(u,"then");if(s&&(!1===s.writable||!s.configurable))return;const f=u.then;u[p]=f,l.prototype.then=function(g,w){return new t((D,O)=>{f.call(this,D,O)}).then(g,w)},l[k]=!0}return i.patchThen=C,r&&(C(r),le(e,"fetch",l=>function $(l){return function(u,s){let f=l.apply(u,s);if(f instanceof t)return f;let g=f.constructor;return g[k]||C(g),f}}(l))),Promise[n.__symbol__("uncaughtPromiseErrors")]=d,t}),Zone.__load_patch("toString",e=>{const n=Function.prototype.toString,i=j("OriginalDelegate"),o=j("Promise"),c=j("Error"),a=function(){if("function"==typeof this){const v=this[i];if(v)return"function"==typeof v?n.call(v):Object.prototype.toString.call(v);if(this===Promise){const p=e[o];if(p)return n.call(p)}if(this===Error){const p=e[c];if(p)return n.call(p)}}return n.call(this)};a[i]=n,Function.prototype.toString=a;const T=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":T.call(this)}});let ye=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){ye=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){ye=!1}const ht={useG:!0},te={},Ye={},$e=new RegExp("^"+ke+"(\\w+)(true|false)$"),Ke=j("propagationStopped");function Je(e,n){const i=(n?n(e):e)+ae,o=(n?n(e):e)+ce,c=ke+i,a=ke+o;te[e]={},te[e][ae]=c,te[e][ce]=a}function dt(e,n,i,o){const c=o&&o.add||Oe,a=o&&o.rm||Se,T=o&&o.listeners||"eventListeners",d=o&&o.rmAll||"removeAllListeners",b=j(c),v="."+c+":",Z=function(R,_,K){if(R.isRemoved)return;const x=R.callback;let X;"object"==typeof x&&x.handleEvent&&(R.callback=y=>x.handleEvent(y),R.originalDelegate=x);try{R.invoke(R,_,[K])}catch(y){X=y}const A=R.options;return A&&"object"==typeof A&&A.once&&_[a].call(_,K.type,R.originalDelegate?R.originalDelegate:R.callback,A),X};function N(R,_,K){if(!(_=_||e.event))return;const x=R||_.target||e,X=x[te[_.type][K?ce:ae]];if(X){const A=[];if(1===X.length){const y=Z(X[0],x,_);y&&A.push(y)}else{const y=X.slice();for(let G=0;G<y.length&&(!_||!0!==_[Ke]);G++){const h=Z(y[G],x,_);h&&A.push(h)}}if(1===A.length)throw A[0];for(let y=0;y<A.length;y++){const G=A[y];n.nativeScheduleMicroTask(()=>{throw G})}}}const B=function(R){return N(this,R,!1)},H=function(R){return N(this,R,!0)};function J(R,_){if(!R)return!1;let K=!0;_&&void 0!==_.useG&&(K=_.useG);const x=_&&_.vh;let X=!0;_&&void 0!==_.chkDup&&(X=_.chkDup);let A=!1;_&&void 0!==_.rt&&(A=_.rt);let y=R;for(;y&&!y.hasOwnProperty(c);)y=de(y);if(!y&&R[c]&&(y=R),!y||y[b])return!1;const G=_&&_.eventNameToString,h={},I=y[b]=y[c],P=y[j(a)]=y[a],Q=y[j(T)]=y[T],oe=y[j(d)]=y[d];let z;function U(s,f){return!ye&&"object"==typeof s&&s?!!s.capture:ye&&f?"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}_&&_.prepend&&(z=y[j(_.prepend)]=y[_.prepend]);const t=K?function(s){if(!h.isExisting)return I.call(h.target,h.eventName,h.capture?H:B,h.options)}:function(s){return I.call(h.target,h.eventName,s.invoke,h.options)},r=K?function(s){if(!s.isRemoved){const f=te[s.eventName];let g;f&&(g=f[s.capture?ce:ae]);const w=g&&s.target[g];if(w)for(let m=0;m<w.length;m++)if(w[m]===s){w.splice(m,1),s.isRemoved=!0,0===w.length&&(s.allRemoved=!0,s.target[g]=null);break}}if(s.allRemoved)return P.call(s.target,s.eventName,s.capture?H:B,s.options)}:function(s){return P.call(s.target,s.eventName,s.invoke,s.options)},C=_&&_.diff?_.diff:function(s,f){const g=typeof f;return"function"===g&&s.callback===f||"object"===g&&s.originalDelegate===f},$=Zone[j("UNPATCHED_EVENTS")],l=e[j("PASSIVE_EVENTS")],u=function(s,f,g,w,m=!1,D=!1){return function(){const O=this||e;let S=arguments[0];_&&_.transferEventName&&(S=_.transferEventName(S));let V=arguments[1];if(!V)return s.apply(this,arguments);if(we&&"uncaughtException"===S)return s.apply(this,arguments);let F=!1;if("function"!=typeof V){if(!V.handleEvent)return s.apply(this,arguments);F=!0}if(x&&!x(s,V,O,arguments))return;const fe=ye&&!!l&&-1!==l.indexOf(S),se=U(arguments[2],fe);if($)for(let _e=0;_e<$.length;_e++)if(S===$[_e])return fe?s.call(O,S,V,se):s.apply(this,arguments);const xe=!!se&&("boolean"==typeof se||se.capture),nt=!(!se||"object"!=typeof se)&&se.once,gt=Zone.current;let Ge=te[S];Ge||(Je(S,G),Ge=te[S]);const rt=Ge[xe?ce:ae];let De,me=O[rt],ot=!1;if(me){if(ot=!0,X)for(let _e=0;_e<me.length;_e++)if(C(me[_e],V))return}else me=O[rt]=[];const st=O.constructor.name,it=Ye[st];it&&(De=it[S]),De||(De=st+f+(G?G(S):S)),h.options=se,nt&&(h.options.once=!1),h.target=O,h.capture=xe,h.eventName=S,h.isExisting=ot;const be=K?ht:void 0;be&&(be.taskData=h);const he=gt.scheduleEventTask(De,V,be,g,w);return h.target=null,be&&(be.taskData=null),nt&&(se.once=!0),!ye&&"boolean"==typeof he.options||(he.options=se),he.target=O,he.capture=xe,he.eventName=S,F&&(he.originalDelegate=V),D?me.unshift(he):me.push(he),m?O:void 0}};return y[c]=u(I,v,t,r,A),z&&(y.prependListener=u(z,".prependListener:",function(s){return z.call(h.target,h.eventName,s.invoke,h.options)},r,A,!0)),y[a]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=arguments[2],w=!!g&&("boolean"==typeof g||g.capture),m=arguments[1];if(!m)return P.apply(this,arguments);if(x&&!x(P,m,s,arguments))return;const D=te[f];let O;D&&(O=D[w?ce:ae]);const S=O&&s[O];if(S)for(let V=0;V<S.length;V++){const F=S[V];if(C(F,m))return S.splice(V,1),F.isRemoved=!0,0===S.length&&(F.allRemoved=!0,s[O]=null,"string"==typeof f)&&(s[ke+"ON_PROPERTY"+f]=null),F.zone.cancelTask(F),A?s:void 0}return P.apply(this,arguments)},y[T]=function(){const s=this||e;let f=arguments[0];_&&_.transferEventName&&(f=_.transferEventName(f));const g=[],w=Qe(s,G?G(f):f);for(let m=0;m<w.length;m++){const D=w[m];g.push(D.originalDelegate?D.originalDelegate:D.callback)}return g},y[d]=function(){const s=this||e;let f=arguments[0];if(f){_&&_.transferEventName&&(f=_.transferEventName(f));const g=te[f];if(g){const D=s[g[ae]],O=s[g[ce]];if(D){const S=D.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}if(O){const S=O.slice();for(let V=0;V<S.length;V++){const F=S[V];this[a].call(this,f,F.originalDelegate?F.originalDelegate:F.callback,F.options)}}}}else{const g=Object.keys(s);for(let w=0;w<g.length;w++){const D=$e.exec(g[w]);let O=D&&D[1];O&&"removeListener"!==O&&this[d].call(this,O)}this[d].call(this,"removeListener")}if(A)return this},ue(y[c],I),ue(y[a],P),oe&&ue(y[d],oe),Q&&ue(y[T],Q),!0}let q=[];for(let R=0;R<i.length;R++)q[R]=J(i[R],o);return q}function Qe(e,n){if(!n){const a=[];for(let T in e){const d=$e.exec(T);let b=d&&d[1];if(b&&(!n||b===n)){const v=e[T];if(v)for(let p=0;p<v.length;p++)a.push(v[p])}}return a}let i=te[n];i||(Je(n),i=te[n]);const o=e[i[ae]],c=e[i[ce]];return o?c?o.concat(c):o.slice():c?c.slice():[]}function _t(e,n){const i=e.Event;i&&i.prototype&&n.patchMethod(i.prototype,"stopImmediatePropagation",o=>function(c,a){c[Ke]=!0,o&&o.apply(c,a)})}function Et(e,n,i,o,c){const a=Zone.__symbol__(o);if(n[a])return;const T=n[a]=n[o];n[o]=function(d,b,v){return b&&b.prototype&&c.forEach(function(p){const L=`${i}.${o}::`+p,Z=b.prototype;if(Z.hasOwnProperty(p)){const N=e.ObjectGetOwnPropertyDescriptor(Z,p);N&&N.value?(N.value=e.wrapWithCurrentZone(N.value,L),e._redefineProperty(b.prototype,p,N)):Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],L))}else Z[p]&&(Z[p]=e.wrapWithCurrentZone(Z[p],L))}),T.call(n,d,b,v)},e.attachOriginToPatched(n[o],T)}function et(e,n,i){if(!i||0===i.length)return n;const o=i.filter(a=>a.target===e);if(!o||0===o.length)return n;const c=o[0].ignoreProperties;return n.filter(a=>-1===c.indexOf(a))}function tt(e,n,i,o){e&&Xe(e,et(e,n,i),o)}function He(e){return Object.getOwnPropertyNames(e).filter(n=>n.startsWith("on")&&n.length>2).map(n=>n.substring(2))}Zone.__load_patch("util",(e,n,i)=>{const o=He(e);i.patchOnProperties=Xe,i.patchMethod=le,i.bindArguments=Le,i.patchMacroTask=lt;const c=n.__symbol__("BLACK_LISTED_EVENTS"),a=n.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[c]=e[a]),e[c]&&(n[c]=n[a]=e[c]),i.patchEventPrototype=_t,i.patchEventTarget=dt,i.isIEOrEdge=ft,i.ObjectDefineProperty=Ee,i.ObjectGetOwnPropertyDescriptor=ie,i.ObjectCreate=ge,i.ArraySlice=Ve,i.patchClass=ve,i.wrapWithCurrentZone=Ie,i.filterProperties=et,i.attachOriginToPatched=ue,i._redefineProperty=Object.defineProperty,i.patchCallbacks=Et,i.getGlobalObjects=()=>({globalSources:Ye,zoneSymbolEventNames:te,eventNames:o,isBrowser:Ae,isMix:Ue,isNode:we,TRUE_STR:ce,FALSE_STR:ae,ZONE_SYMBOL_PREFIX:ke,ADD_EVENT_LISTENER_STR:Oe,REMOVE_EVENT_LISTENER_STR:Se})});const Ce=j("zoneTask");function pe(e,n,i,o){let c=null,a=null;i+=o;const T={};function d(v){const p=v.data;return p.args[0]=function(){return v.invoke.apply(this,arguments)},p.handleId=c.apply(e,p.args),v}function b(v){return a.call(e,v.data.handleId)}c=le(e,n+=o,v=>function(p,L){if("function"==typeof L[0]){const Z={isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?L[1]||0:void 0,args:L},N=L[0];L[0]=function(){try{return N.apply(this,arguments)}finally{Z.isPeriodic||("number"==typeof Z.handleId?delete T[Z.handleId]:Z.handleId&&(Z.handleId[Ce]=null))}};const B=Me(n,L[0],Z,d,b);if(!B)return B;const H=B.data.handleId;return"number"==typeof H?T[H]=B:H&&(H[Ce]=B),H&&H.ref&&H.unref&&"function"==typeof H.ref&&"function"==typeof H.unref&&(B.ref=H.ref.bind(H),B.unref=H.unref.bind(H)),"number"==typeof H||H?H:B}return v.apply(e,L)}),a=le(e,i,v=>function(p,L){const Z=L[0];let N;"number"==typeof Z?N=T[Z]:(N=Z&&Z[Ce],N||(N=Z)),N&&"string"==typeof N.type?"notScheduled"!==N.state&&(N.cancelFn&&N.data.isPeriodic||0===N.runCount)&&("number"==typeof Z?delete T[Z]:Z&&(Z[Ce]=null),N.zone.cancelTask(N)):v.apply(e,L)})}Zone.__load_patch("legacy",e=>{const n=e[Zone.__symbol__("legacyPatch")];n&&n()}),Zone.__load_patch("queueMicrotask",(e,n,i)=>{i.patchMethod(e,"queueMicrotask",o=>function(c,a){n.current.scheduleMicroTask("queueMicrotask",a[0])})}),Zone.__load_patch("timers",e=>{const n="set",i="clear";pe(e,n,i,"Timeout"),pe(e,n,i,"Interval"),pe(e,n,i,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{pe(e,"request","cancel","AnimationFrame"),pe(e,"mozRequest","mozCancel","AnimationFrame"),pe(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,n)=>{const i=["alert","prompt","confirm"];for(let o=0;o<i.length;o++)le(e,i[o],(a,T,d)=>function(b,v){return n.current.run(a,e,v,d)})}),Zone.__load_patch("EventTarget",(e,n,i)=>{(function mt(e,n){n.patchEventPrototype(e,n)})(e,i),function pt(e,n){if(Zone[n.symbol("patchEventTarget")])return;const{eventNames:i,zoneSymbolEventNames:o,TRUE_STR:c,FALSE_STR:a,ZONE_SYMBOL_PREFIX:T}=n.getGlobalObjects();for(let b=0;b<i.length;b++){const v=i[b],Z=T+(v+a),N=T+(v+c);o[v]={},o[v][a]=Z,o[v][c]=N}const d=e.EventTarget;d&&d.prototype&&n.patchEventTarget(e,n,[d&&d.prototype])}(e,i);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&i.patchEventTarget(e,i,[o.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 Tt(e,n){if(we&&!Ue||Zone[e.symbol("patchEvents")])return;const i=n.__Zone_ignore_on_properties;let o=[];if(Ae){const c=window;o=o.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const a=function ut(){try{const e=Te.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:c,ignoreProperties:["error"]}]:[];tt(c,He(c),i&&i.concat(a),de(c))}o=o.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let c=0;c<o.length;c++){const a=n[o[c]];a&&a.prototype&&tt(a.prototype,He(a.prototype),i)}}(i,e)}),Zone.__load_patch("customElements",(e,n,i)=>{!function yt(e,n){const{isBrowser:i,isMix:o}=n.getGlobalObjects();(i||o)&&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 b(v){const p=v.XMLHttpRequest;if(!p)return;const L=p.prototype;let N=L[Ze],B=L[Ne];if(!N){const h=v.XMLHttpRequestEventTarget;if(h){const I=h.prototype;N=I[Ze],B=I[Ne]}}const H="readystatechange",J="scheduled";function q(h){const I=h.data,P=I.target;P[a]=!1,P[d]=!1;const Q=P[c];N||(N=P[Ze],B=P[Ne]),Q&&B.call(P,H,Q);const oe=P[c]=()=>{if(P.readyState===P.DONE)if(!I.aborted&&P[a]&&h.state===J){const U=P[n.__symbol__("loadfalse")];if(0!==P.status&&U&&U.length>0){const re=h.invoke;h.invoke=function(){const ee=P[n.__symbol__("loadfalse")];for(let W=0;W<ee.length;W++)ee[W]===h&&ee.splice(W,1);!I.aborted&&h.state===J&&re.call(h)},U.push(h)}else h.invoke()}else!I.aborted&&!1===P[a]&&(P[d]=!0)};return N.call(P,H,oe),P[i]||(P[i]=h),y.apply(P,I.args),P[a]=!0,h}function R(){}function _(h){const I=h.data;return I.aborted=!0,G.apply(I.target,I.args)}const K=le(L,"open",()=>function(h,I){return h[o]=0==I[2],h[T]=I[1],K.apply(h,I)}),X=j("fetchTaskAborting"),A=j("fetchTaskScheduling"),y=le(L,"send",()=>function(h,I){if(!0===n.current[A]||h[o])return y.apply(h,I);{const P={target:h,url:h[T],isPeriodic:!1,args:I,aborted:!1},Q=Me("XMLHttpRequest.send",R,P,q,_);h&&!0===h[d]&&!P.aborted&&Q.state===J&&Q.invoke()}}),G=le(L,"abort",()=>function(h,I){const P=function Z(h){return h[i]}(h);if(P&&"string"==typeof P.type){if(null==P.cancelFn||P.data&&P.data.aborted)return;P.zone.cancelTask(P)}else if(!0===n.current[X])return G.apply(h,I)})}(e);const i=j("xhrTask"),o=j("xhrSync"),c=j("xhrListener"),a=j("xhrScheduled"),T=j("xhrURL"),d=j("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function at(e,n){const i=e.constructor.name;for(let o=0;o<n.length;o++){const c=n[o],a=e[c];if(a){if(!Fe(ie(e,c)))continue;e[c]=(d=>{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(T=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{promise:c.promise,reason:c.rejection});T.invoke(b)}})}}e.PromiseRejectionEvent&&(n[j("unhandledPromiseRejectionHandler")]=i("unhandledrejection"),n[j("rejectionHandledHandler")]=i("rejectionhandled"))})}},ie=>{ie(ie.s=276)}]);;;
"use strict";(self.webpackChunkAutosuggest=self.webpackChunkAutosuggest||[]).push([[179],{634:()=>{function Y(e){return"function"==typeof e}function bo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const Mo=bo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Sn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class rt{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(Y(r))try{r()}catch(i){t=i instanceof Mo?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{hc(i)}catch(s){t=null!=t?t:[],s instanceof Mo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Mo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)hc(t);else{if(t instanceof rt){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Sn(n,t)}remove(t){const{_finalizers:n}=this;n&&Sn(n,t),t instanceof rt&&t._removeParent(this)}}rt.EMPTY=(()=>{const e=new rt;return e.closed=!0,e})();const dc=rt.EMPTY;function fc(e){return e instanceof rt||e&&"closed" in e&&Y(e.remove)&&Y(e.add)&&Y(e.unsubscribe)}function hc(e){Y(e)?e():e.unsubscribe()}const ln={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Io={setTimeout(e,t,...n){const{delegate:r}=Io;return(null==r?void 0:r.setTimeout)?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Io;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function pc(e){Io.setTimeout(()=>{const{onUnhandledError:t}=ln;if(!t)throw e;t(e)})}function ps(){}const v_=gs("C",void 0,void 0);function gs(e,t,n){return{kind:e,value:t,error:n}}let cn=null;function Ao(e){if(ln.useDeprecatedSynchronousErrorHandling){const t=!cn;if(t&&(cn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=cn;if(cn=null,n)throw r}}else e()}class ms extends rt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,fc(t)&&t.add(this)):this.destination=A_}static create(t,n,r){return new So(t,n,r)}next(t){this.isStopped?_s(function E_(e){return gs("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?_s(function C_(e){return gs("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?_s(v_,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b_=Function.prototype.bind;function ys(e,t){return b_.call(e,t)}class M_{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){To(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){To(r)}else To(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){To(n)}}}class So extends ms{constructor(t,n,r){let o;if(super(),Y(t)||!t)o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let i;this&&ln.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ys(t.next,i),error:t.error&&ys(t.error,i),complete:t.complete&&ys(t.complete,i)}):o=t}this.destination=new M_(o)}}function To(e){ln.useDeprecatedSynchronousErrorHandling?function w_(e){ln.useDeprecatedSynchronousErrorHandling&&cn&&(cn.errorThrown=!0,cn.error=e)}(e):pc(e)}function _s(e,t){const{onStoppedNotification:n}=ln;n&&Io.setTimeout(()=>n(e,t))}const A_={closed:!0,next:ps,error:function I_(e){throw e},complete:ps},Ds="function"==typeof Symbol&&Symbol.observable||"@@observable";function vs(e){return e}let De=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function T_(e){return e&&e instanceof ms||function S_(e){return e&&Y(e.next)&&Y(e.error)&&Y(e.complete)}(e)&&fc(e)}(n)?n:new So(n,r,o);return Ao(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=mc(r))((o,i)=>{const s=new So({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Ds](){return this}pipe(...n){return function gc(e){return 0===e.length?vs:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=mc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function mc(e){var t;return null!==(t=null!=e?e:ln.Promise)&&void 0!==t?t:Promise}const F_=bo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let vr=(()=>{class e extends De{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new yc(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new F_}next(n){Ao(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Ao(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Ao(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?dc:(this.currentObservers=null,i.push(n),new rt(()=>{this.currentObservers=null,Sn(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new De;return n.source=this,n}}return e.create=(t,n)=>new yc(t,n),e})();class yc extends vr{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:dc}}function ot(e){return t=>{if(function x_(e){return Y(null==e?void 0:e.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function qe(e,t,n,r,o){return new N_(e,t,n,r,o)}class N_ extends ms{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function zt(e,t){return ot((n,r)=>{let o=0;n.subscribe(qe(r,i=>{r.next(e.call(t,i,o++))}))})}function dn(e){return this instanceof dn?(this.v=e,this):new dn(e)}function R_(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof dn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function V_(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function vc(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const Cc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Ec(e){return Y(null==e?void 0:e.then)}function wc(e){return Y(e[Ds])}function bc(e){return Symbol.asyncIterator&&Y(null==e?void 0:e[Symbol.asyncIterator])}function Mc(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ic=function L_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Ac(e){return Y(null==e?void 0:e[Ic])}function Sc(e){return R_(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield dn(n.read());if(o)return yield dn(void 0);yield yield dn(r)}}finally{n.releaseLock()}})}function Tc(e){return Y(null==e?void 0:e.getReader)}function Rt(e){if(e instanceof De)return e;if(null!=e){if(wc(e))return function B_(e){return new De(t=>{const n=e[Ds]();if(Y(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Cc(e))return function j_(e){return new De(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Ec(e))return function H_(e){return new De(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,pc)})}(e);if(bc(e))return Fc(e);if(Ac(e))return function $_(e){return new De(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Tc(e))return function U_(e){return Fc(Sc(e))}(e)}throw Mc(e)}function Fc(e){return new De(t=>{(function G_(e,t){var n,r,o,i;return function P_(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=V_(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function qt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Fo(e,t,n=1/0){return Y(t)?Fo((r,o)=>zt((i,s)=>t(r,i,o,s))(Rt(e(r,o))),n):("number"==typeof t&&(n=t),ot((r,o)=>function z_(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=m=>l<r?p(m):u.push(m),p=m=>{i&&t.next(m),l++;let D=!1;Rt(n(m,c++)).subscribe(qe(t,_=>{null==o||o(_),i?h(_):t.next(_)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;u.length&&l<r;){const _=u.shift();s?qt(t,s,()=>p(_)):p(_)}f()}catch(_){t.error(_)}}))};return e.subscribe(qe(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,o,e,n)))}const Es=new De(e=>e.complete());function ws(e){return e[e.length-1]}function xc(e){return function Z_(e){return e&&Y(e.schedule)}(ws(e))?e.pop():void 0}function Nc(e,t=0){return ot((n,r)=>{n.subscribe(qe(r,o=>qt(r,e,()=>r.next(o),t),()=>qt(r,e,()=>r.complete(),t),o=>qt(r,e,()=>r.error(o),t)))})}function Pc(e,t=0){return ot((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Oc(e,t){if(!e)throw new Error("Iterable cannot be null");return new De(n=>{qt(n,t,()=>{const r=e[Symbol.asyncIterator]();qt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xo(e,t){return t?function nD(e,t){if(null!=e){if(wc(e))return function J_(e,t){return Rt(e).pipe(Pc(t),Nc(t))}(e,t);if(Cc(e))return function X_(e,t){return new De(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Ec(e))return function Y_(e,t){return Rt(e).pipe(Pc(t),Nc(t))}(e,t);if(bc(e))return Oc(e,t);if(Ac(e))return function eD(e,t){return new De(n=>{let r;return qt(n,t,()=>{r=e[Ic](),qt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>Y(null==r?void 0:r.return)&&r.return()})}(e,t);if(Tc(e))return function tD(e,t){return Oc(Sc(e),t)}(e,t)}throw Mc(e)}(e,t):Rt(e)}function Rc(...e){const t=xc(e),n=function K_(e,t){return"number"==typeof ws(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Rt(r[0]):function q_(e=1/0){return Fo(vs,e)}(n)(xo(r,t)):Es}function bs(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function rD(e){return e<=0?()=>Es:ot((t,n)=>{let r=0;t.subscribe(qe(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function q(e){for(let t in e)if(e[t]===q)return t;throw Error("Could not find renamed property on target object.")}function Ms(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function U(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(U).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Is(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const iD=q({__forward_ref__:q});function Q(e){return e.__forward_ref__=Q,e.toString=function(){return U(this())},e}function N(e){return Vc(e)?e():e}function Vc(e){return"function"==typeof e&&e.hasOwnProperty(iD)&&e.__forward_ref__===Q}class B extends Error{constructor(t,n){super(function As(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function I(e){return"string"==typeof e?e:null==e?"":String(e)}function ye(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():I(e)}function No(e,t){const n=t?` in ${t}`:"";throw new B(-201,`No provider for ${ye(e)} found${n}`)}function Be(e,t){null==e&&function W(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function it(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ss(e){return kc(e,Po)||kc(e,Bc)}function kc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Lc(e){return e&&(e.hasOwnProperty(Ts)||e.hasOwnProperty(fD))?e[Ts]:null}const Po=q({\u0275prov:q}),Ts=q({\u0275inj:q}),Bc=q({ngInjectableDef:q}),fD=q({ngInjectorDef:q});var F=(()=>((F=F||{})[F.Default=0]="Default",F[F.Host=1]="Host",F[F.Self=2]="Self",F[F.SkipSelf=4]="SkipSelf",F[F.Optional=8]="Optional",F))();let Fs;function Wt(e){const t=Fs;return Fs=e,t}function jc(e,t,n){const r=Ss(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&F.Optional?null:void 0!==t?t:void No(U(e),"Injector")}function Zt(e){return{toString:e}.toString()}var st=(()=>((st=st||{})[st.OnPush=0]="OnPush",st[st.Default=1]="Default",st))(),vt=(()=>{return(e=vt||(vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",vt;var e})();const pD="undefined"!=typeof globalThis&&globalThis,gD="undefined"!=typeof window&&window,mD="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,z=pD||"undefined"!=typeof global&&global||gD||mD,Tn={},Z=[],Oo=q({\u0275cmp:q}),xs=q({\u0275dir:q}),Ns=q({\u0275pipe:q}),Hc=q({\u0275mod:q}),kt=q({\u0275fac:q}),Cr=q({__NG_ELEMENT_ID__:q});let yD=0;function Ps(e){return Zt(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===st.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||vt.Emulated,id:"c",styles:e.styles||Z,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=yD++,r.inputs=zc(e.inputs,n),r.outputs=zc(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map($c):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(Uc):null,r})}function $c(e){return ve(e)||function Qt(e){return e[xs]||null}(e)}function Uc(e){return function fn(e){return e[Ns]||null}(e)}const Gc={};function Ct(e){return Zt(()=>{const t={type:e.type,bootstrap:e.bootstrap||Z,declarations:e.declarations||Z,imports:e.imports||Z,exports:e.exports||Z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Gc[e.id]=e.type),t})}function zc(e,t){if(null==e)return Tn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const A=Ps;function Ie(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ve(e){return e[Oo]||null}function We(e,t){const n=e[Hc]||null;if(!n&&!0===t)throw new Error(`Type ${U(e)} does not have '\u0275mod' property.`);return n}const P=11,K=20;function Et(e){return Array.isArray(e)&&"object"==typeof e[1]}function ut(e){return Array.isArray(e)&&!0===e[1]}function Vs(e){return 0!=(8&e.flags)}function Lo(e){return 2==(2&e.flags)}function Bo(e){return 1==(1&e.flags)}function lt(e){return null!==e.template}function wD(e){return 0!=(512&e[2])}function mn(e,t){return e.hasOwnProperty(kt)?e[kt]:null}class Wc{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function wt(){return Zc}function Zc(e){return e.type.prototype.ngOnChanges&&(e.setInput=AD),ID}function ID(){const e=Kc(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Tn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function AD(e,t,n,r){const o=Kc(e)||function SD(e,t){return e[Qc]=t}(e,{previous:Tn,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new Wc(u&&u.currentValue,t,s===Tn),e[r]=t}wt.ngInherit=!0;const Qc="__ngSimpleChanges__";function Kc(e){return e[Qc]||null}let Hs;function ne(e){return!!e.listen}const Jc={createRenderer:(e,t)=>function $s(){return void 0!==Hs?Hs:"undefined"!=typeof document?document:void 0}()};function ae(e){for(;Array.isArray(e);)e=e[0];return e}function jo(e,t){return ae(t[e])}function Ke(e,t){return ae(t[e.index])}function Us(e,t){return e.data[t]}function On(e,t){return e[t]}function He(e,t){const n=t[e];return Et(n)?n:n[0]}function Yc(e){return 4==(4&e[2])}function Gs(e){return 128==(128&e[2])}function Kt(e,t){return null==t?null:e[t]}function Xc(e){e[18]=0}function zs(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const S={lFrame:ld(null),bindingsEnabled:!0};function td(){return S.bindingsEnabled}function y(){return S.lFrame.lView}function j(){return S.lFrame.tView}function fe(){let e=rd();for(;null!==e&&64===e.type;)e=e.parent;return e}function rd(){return S.lFrame.currentTNode}function bt(e,t){const n=S.lFrame;n.currentTNode=e,n.isParent=t}function qs(){return S.lFrame.isParent}function Ws(){S.lFrame.isParent=!1}function Rn(){return S.lFrame.bindingIndex++}function zD(e,t){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zs(t)}function Zs(e){S.lFrame.currentDirectiveIndex=e}function sd(){return S.lFrame.currentQueryIndex}function Ks(e){S.lFrame.currentQueryIndex=e}function WD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ad(e,t,n){if(n&F.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&F.Host||(o=WD(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=S.lFrame=ud();return r.currentTNode=t,r.lView=e,!0}function $o(e){const t=ud(),n=e[1];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function ud(){const e=S.lFrame,t=null===e?null:e.child;return null===t?ld(e):t}function ld(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function cd(){const e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const dd=cd;function Uo(){const e=cd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Se(){return S.lFrame.selectedIndex}function Jt(e){S.lFrame.selectedIndex=e}function re(){const e=S.lFrame;return Us(e.tView,e.selectedIndex)}function Go(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function zo(e,t,n){hd(e,t,3,n)}function qo(e,t,n,r){(3&e[2])===n&&hd(e,t,n,r)}function Js(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function hd(e,t,n,r){const i=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(tv(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function tv(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Ir{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Wo(e,t,n){const r=ne(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],u=n[o++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=i,a=n[++o];Xs(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),o++}}return o}function pd(e){return 3===e||4===e||6===e}function Xs(e){return 64===e.charCodeAt(0)}function Zo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||gd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function gd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function md(e){return-1!==e}function Vn(e){return 32767&e}function kn(e,t){let n=function sv(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ea=!0;function Qo(e){const t=ea;return ea=e,t}let av=0;function Sr(e,t){const n=na(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ta(r.data,e),ta(t,null),ta(r.blueprint,null));const o=Ko(e,t),i=e.injectorIndex;if(md(o)){const s=Vn(o),a=kn(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function ta(e,t){e.push(0,0,0,0,0,0,0,0,t)}function na(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ko(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Jo(e,t,n){!function uv(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Cr)&&(r=n[Cr]),null==r&&(r=n[Cr]=av++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function Dd(e,t,n){if(n&F.Optional)return e;No(t,"NodeInjector")}function vd(e,t,n,r){if(n&F.Optional&&void 0===r&&(r=null),0==(n&(F.Self|F.Host))){const o=e[9],i=Wt(void 0);try{return o?o.get(t,r,n&F.Optional):jc(t,r,n&F.Optional)}finally{Wt(i)}}return Dd(r,t,n)}function Cd(e,t,n,r=F.Default,o){if(null!==e){const i=function fv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Cr)?e[Cr]:void 0;return"number"==typeof t?t>=0?255&t:cv:t}(n);if("function"==typeof i){if(!ad(t,e,r))return r&F.Host?Dd(o,n,r):vd(t,n,r,o);try{const s=i(r);if(null!=s||r&F.Optional)return s;No(n)}finally{dd()}}else if("number"==typeof i){let s=null,a=na(e,t),u=-1,l=r&F.Host?t[16][6]:null;for((-1===a||r&F.SkipSelf)&&(u=-1===a?Ko(e,t):t[a+8],-1!==u&&bd(r,!1)?(s=t[1],a=Vn(u),t=kn(u,t)):a=-1);-1!==a;){const c=t[1];if(wd(i,a,c.data)){const d=dv(a,t,n,s,r,l);if(d!==Ed)return d}u=t[a+8],-1!==u&&bd(r,t[1].data[a+8]===l)&&wd(i,a,t)?(s=c,a=Vn(u),t=kn(u,t)):a=-1}}}return vd(t,n,r,o)}const Ed={};function cv(){return new Ln(fe(),y())}function dv(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=Yo(a,s,n,null==r?Lo(a)&&ea:r!=s&&0!=(3&a.type),o&F.Host&&i===a);return null!==c?Tr(t,s,c,a):Ed}function Yo(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&lt(h)&&h.type===n)return u}return null}function Tr(e,t,n,r){let o=e[n];const i=t.data;if(function nv(e){return e instanceof Ir}(o)){const s=o;s.resolving&&function sD(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new B(-200,`Circular dependency in DI detected for ${e}${n}`)}(ye(i[n]));const a=Qo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Wt(s.injectImpl):null;ad(e,r,F.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ev(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Zc(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Wt(u),Qo(a),s.resolving=!1,dd()}}return o}function wd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function bd(e,t){return!(e&F.Self||e&F.Host&&t)}class Ln{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Cd(this._tNode,this._lView,t,r,n)}}function ra(e){return Vc(e)?()=>{const t=ra(N(e));return t&&t()}:mn(e)}const jn="__parameters__";function $n(e,t,n){return Zt(()=>{const r=function ia(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(jn)?u[jn]:Object.defineProperty(u,jn,{value:[]})[jn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class k{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Je(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Je(r,t)):t!==e&&t.push(r)}return t}function Mt(e,t){e.forEach(n=>Array.isArray(n)?Mt(n,t):t(n))}function Id(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Xo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function $e(e,t,n){let r=Un(e,t);return r>=0?e[1|r]=n:(r=~r,function mv(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function aa(e,t){const n=Un(e,t);if(n>=0)return e[1|n]}function Un(e,t){return function Td(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Pr={},la="__NG_DI_FLAG__",ti="ngTempTokenPath",wv=/\n/gm,xd="__source",Mv=q({provide:String,useValue:q});let Or;function Nd(e){const t=Or;return Or=e,t}function Iv(e,t=F.Default){if(void 0===Or)throw new B(203,"");return null===Or?jc(e,void 0,t):Or.get(e,t&F.Optional?null:void 0,t)}function V(e,t=F.Default){return(function hD(){return Fs}()||Iv)(N(e),t)}const Av=V;function ca(e){const t=[];for(let n=0;n<e.length;n++){const r=N(e[n]);if(Array.isArray(r)){if(0===r.length)throw new B(900,"");let o,i=F.Default;for(let s=0;s<r.length;s++){const a=r[s],u=Sv(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(V(o,i))}else t.push(V(r))}return t}function Rr(e,t){return e[la]=t,e.prototype[la]=t,e}function Sv(e){return e[la]}const ni=Rr($n("Optional"),8),ri=Rr($n("SkipSelf"),4);class Hd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function Xt(e){return e instanceof Hd?e.changingThisBreaksApplicationSecurity:e}const Kv=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,Jv=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var ue=(()=>((ue=ue||{})[ue.NONE=0]="NONE",ue[ue.HTML=1]="HTML",ue[ue.STYLE=2]="STYLE",ue[ue.SCRIPT=3]="SCRIPT",ue[ue.URL=4]="URL",ue[ue.RESOURCE_URL=5]="RESOURCE_URL",ue))();function Da(e){const t=function Br(){const e=y();return e&&e[12]}();return t?t.sanitize(ue.URL,e)||"":function kr(e,t){const n=function qv(e){return e instanceof Hd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?Xt(e):function ai(e){return(e=String(e)).match(Kv)||e.match(Jv)?e:"unsafe:"+e}(I(e))}const Jd="__ngContext__";function we(e,t){e[Jd]=t}function Ca(e){const t=function jr(e){return e[Jd]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function wa(e){return e.ngOriginalError}function vC(e,...t){e.error(...t)}class Hr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=function DC(e){return e&&e.ngErrorLogger||vC}(t);r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&wa(t);for(;n&&wa(n);)n=wa(n);return n||null}}const FC=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(z))();function nf(e){return e.ownerDocument}function At(e){return e instanceof Function?e():e}var Ue=(()=>((Ue=Ue||{})[Ue.Important=1]="Important",Ue[Ue.DashCase=2]="DashCase",Ue))();function Ma(e,t){return undefined(e,t)}function $r(e){const t=e[3];return ut(t)?t[3]:t}function Ia(e){return uf(e[13])}function Aa(e){return uf(e[4])}function uf(e){for(;null!==e&&!ut(e);)e=e[4];return e}function Wn(e,t,n,r,o){if(null!=r){let i,s=!1;ut(r)?i=r:Et(r)&&(s=!0,r=r[0]);const a=ae(r);0===e&&null!==n?null==o?pf(t,n,a):yn(t,n,a,o||null,!0):1===e&&null!==n?yn(t,n,a,o||null,!0):2===e?function Cf(e,t,n){const r=li(e,t);r&&function UC(e,t,n,r){ne(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function qC(e,t,n,r,o){const i=n[7];i!==ae(n)&&Wn(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];Ur(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function Ta(e,t,n){if(ne(e))return e.createElement(t,n);{const r=null!==n?function ND(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(n):null;return null===r?e.createElement(t):e.createElementNS(r,t)}}function cf(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,zs(o,-1)),n.splice(r,1)}function Fa(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&cf(o,r),t>0&&(e[n-1][4]=r[4]);const i=Xo(e,10+t);!function RC(e,t){Ur(e,t,t[P],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function df(e,t){if(!(256&t[2])){const n=t[P];ne(n)&&n.destroyNode&&Ur(e,t,n,3,null,null),function LC(e){let t=e[13];if(!t)return xa(e[1],e);for(;t;){let n=null;if(Et(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Et(t)&&xa(t[1],t),t=t[3];null===t&&(t=e),Et(t)&&xa(t[1],t),n=t&&t[4]}t=n}}(t)}}function xa(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function $C(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Ir)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function HC(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(t):ae(t[s]),u=r[o=n[i+2]],l=n[i+3];"boolean"==typeof l?a.removeEventListener(n[i],u,l):l>=0?r[o=l]():r[o=-l].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&ne(t[P])&&t[P].destroy();const n=t[17];if(null!==n&&ut(t[3])){n!==t[3]&&cf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function ff(e,t,n){return function hf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===vt.None||o===vt.Emulated)return null}return Ke(r,n)}(e,t.parent,n)}function yn(e,t,n,r,o){ne(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function pf(e,t,n){ne(e)?e.appendChild(t,n):t.appendChild(n)}function gf(e,t,n,r,o){null!==r?yn(e,t,n,r,o):pf(e,t,n)}function li(e,t){return ne(e)?e.parentNode(t):t.parentNode}let _f=function yf(e,t,n){return 40&e.type?Ke(e,n):null};function ci(e,t,n,r){const o=ff(e,r,t),i=t[P],a=function mf(e,t,n){return _f(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)gf(i,o,n[u],a,!1);else gf(i,o,n,a,!1)}function di(e,t){if(null!==t){const n=t.type;if(3&n)return Ke(t,e);if(4&n)return Pa(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return di(e,r);{const o=e[t.index];return ut(o)?Pa(-1,o):ae(o)}}if(32&n)return Ma(t,e)()||ae(e[t.index]);{const r=vf(e,t);return null!==r?Array.isArray(r)?r[0]:di($r(e[16]),r):di(e,t.next)}}return null}function vf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Pa(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return di(r,o)}return t[7]}function Oa(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&we(ae(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Oa(e,t,n.child,r,o,i,!1),Wn(t,e,o,a,i);else if(32&u){const l=Ma(n,r);let c;for(;c=l();)Wn(t,e,o,c,i);Wn(t,e,o,a,i)}else 16&u?Ef(e,t,r,n,o,i):Wn(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Ur(e,t,n,r,o,i){Oa(n,r,e.firstChild,t,o,i,!1)}function Ef(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)Wn(t,e,o,u[l],i);else Oa(e,t,u,s[3],o,i,!0)}function wf(e,t,n){ne(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Ra(e,t,n){ne(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function bf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Mf="ng-template";function ZC(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==bf(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function If(e){return 4===e.type&&e.value!==Mf}function QC(e,t,n){return t===(4!==e.type||n?e.value:Mf)}function KC(e,t,n){let r=4;const o=e.attrs||[],i=function XC(e){for(let t=0;t<e.length;t++)if(pd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!QC(e,u,n)||""===u&&1===t.length){if(ct(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!ZC(e.attrs,l,n)){if(ct(r))return!1;s=!0}continue}const d=JC(8&r?"class":u,o,If(e),n);if(-1===d){if(ct(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==bf(h,l,0)||2&r&&l!==f){if(ct(r))return!1;s=!0}}}}else{if(!s&&!ct(r)&&!ct(u))return!1;if(s&&ct(u))continue;s=!1,r=u|1&r}}return ct(r)||s}function ct(e){return 0==(1&e)}function JC(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function eE(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Af(e,t,n=!1){for(let r=0;r<t.length;r++)if(KC(e,t[r],n))return!0;return!1}function Sf(e,t){return e?":not("+t.trim()+")":t}function nE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!ct(s)&&(t+=Sf(i,o),o=""),r=s,i=i||!ct(r);n++}return""!==o&&(t+=Sf(i,o)),t}const T={};function dt(e){Tf(j(),y(),Se()+e,!1)}function Tf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&zo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&qo(t,i,0,n)}Jt(n)}function fi(e,t){return e<<17|t<<2}function ft(e){return e>>17&32767}function Va(e){return 2|e}function jt(e){return(131068&e)>>2}function ka(e,t){return-131069&e|t<<2}function La(e){return 1|e}function jf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];Ks(o),s.contentQueries(2,t[i],i)}}}function Gr(e,t,n,r,o,i,s,a,u,l){const c=t.blueprint.slice();return c[0]=o,c[2]=140|r,Xc(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[P]=a||e&&e[P],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=i,c[16]=2==t.type?e[16]:c,c}function Zn(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Wa(e,t,n,r,o){const i=rd(),s=qs(),u=e.data[t]=function vE(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}(e,t,n,r,o),function GD(){return S.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Mr(){const e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return bt(i,!0),i}function Qn(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function zr(e,t,n){$o(t);try{const r=e.viewQuery;null!==r&&nu(1,r,n);const o=e.template;null!==o&&Hf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&jf(e,t),e.staticViewQueries&&nu(2,e.viewQuery,n);const i=e.components;null!==i&&function yE(e,t){for(let n=0;n<t.length;n++)LE(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Uo()}}function Kn(e,t,n,r){const o=t[2];if(256!=(256&o)){$o(t);try{Xc(t),function od(e){return S.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Hf(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&zo(t,l,null)}else{const l=e.preOrderHooks;null!==l&&qo(t,l,0,null),Js(t,0)}if(function VE(e){for(let t=Ia(e);null!==t;t=Aa(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(1024&o[2])&&zs(i,1),o[2]|=1024}}}(t),function RE(e){for(let t=Ia(e);null!==t;t=Aa(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Gs(r)&&Kn(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&jf(e,t),s){const l=e.contentCheckHooks;null!==l&&zo(t,l)}else{const l=e.contentHooks;null!==l&&qo(t,l,1),Js(t,1)}!function gE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)Jt(~o);else{const i=o,s=n[++r],a=n[++r];zD(s,i),a(2,t[i])}}}finally{Jt(-1)}}(e,t);const a=e.components;null!==a&&function mE(e,t){for(let n=0;n<t.length;n++)kE(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&nu(2,u,r),s){const l=e.viewCheckHooks;null!==l&&zo(t,l)}else{const l=e.viewHooks;null!==l&&qo(t,l,2),Js(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-73,1024&t[2]&&(t[2]&=-1025,zs(t[3],-1))}finally{Uo()}}}function _E(e,t,n,r){const o=t[10],s=Yc(t);try{!s&&o.begin&&o.begin(),s&&zr(e,t,r),Kn(e,t,n,r)}finally{!s&&o.end&&o.end()}}function Hf(e,t,n,r,o){const i=Se(),s=2&r;try{Jt(-1),s&&t.length>K&&Tf(e,t,K,!1),n(r,o)}finally{Jt(i)}}function $f(e,t,n){if(Vs(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}function Za(e,t,n){!td()||(function AE(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Sr(n,t),we(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=lt(u);l&&NE(t,n,u);const c=Tr(t,e,a,n);we(c,t),null!==s&&PE(0,a-o,c,u,0,s),l&&(He(n.index,t)[8]=c)}}(e,t,n,Ke(n,t)),128==(128&n.flags)&&function SE(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=function qD(){return S.lFrame.currentDirectiveIndex}();try{Jt(s);for(let u=r;u<o;u++){const l=e.data[u],c=t[u];Zs(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Kf(l,c)}}finally{Jt(-1),Zs(a)}}(e,t,n))}function Qa(e,t,n=Ke){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function Uf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=gi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function gi(e,t,n,r,o,i,s,a,u,l){const c=K+r,d=c+o,f=function DE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:T);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,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 i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function qf(e,t,n,r){const o=nh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&rh(e).push(r,o.length-1))}function Wf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Ge(e,t,n,r,o,i,s,a){const u=Ke(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(sh(e,n,c,r,o),Lo(t)&&function wE(e,t){const n=He(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function EE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,ne(i)?i.setProperty(u,r,o):Xs(r)||(u.setProperty?u.setProperty(r,o):u[r]=o))}function Ka(e,t,n,r){let o=!1;if(td()){const i=function TE(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Af(n,s.selectors,!1)&&(o||(o=[]),Jo(Sr(n,t),e,s.type),lt(s)?(Jf(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,Yf(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=Qn(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=Zo(n.mergedAttrs,d.hostAttrs),Xf(e,n,t,l,d),xE(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function CE(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=o[l],d=c.inputs,f=null===i||If(t)?null:OE(d,i);s.push(f),a=Wf(d,l,a),u=Wf(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function FE(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new B(-301,!1);r.push(t[o],i)}}}(n,r,s)}return n.mergedAttrs=Zo(n.mergedAttrs,n.attrs),o}function Qf(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function IE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,s)}}function Kf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Jf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function xE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;lt(t)&&(n[""]=e)}}function Yf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Xf(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=mn(o.type)),s=new Ir(i,lt(o),null);e.blueprint[r]=s,n[r]=s,Qf(e,t,0,r,Qn(e,n,o.hostVars,T),o)}function NE(e,t,n){const r=Ke(t,e),o=Uf(n),i=e[10],s=mi(e,Gr(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=s}function St(e,t,n,r,o,i){const s=Ke(e,t);!function Ja(e,t,n,r,o,i,s){if(null==i)ne(e)?e.removeAttribute(t,o,n):t.removeAttribute(o);else{const a=null==s?I(i):s(i,r||"",o);ne(e)?e.setAttribute(t,o,a,n):n?t.setAttributeNS(n,o,a):t.setAttribute(o,a)}}(t[P],s,i,e.value,n,r,o)}function PE(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function OE(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function eh(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function kE(e,t){const n=He(t,e);if(Gs(n)){const r=n[1];80&n[2]?Kn(r,n,r.template,n[8]):n[5]>0&&Ya(n)}}function Ya(e){for(let r=Ia(e);null!==r;r=Aa(r))for(let o=10;o<r.length;o++){const i=r[o];if(1024&i[2]){const s=i[1];Kn(s,i,s.template,i[8])}else i[5]>0&&Ya(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=He(n[r],e);Gs(o)&&o[5]>0&&Ya(o)}}function LE(e,t){const n=He(t,e),r=n[1];(function BE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),zr(r,n,n[8])}function mi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Xa(e){for(;e;){e[2]|=64;const t=$r(e);if(wD(e)&&!t)return e;e=t}return null}function th(e){!function eu(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=Ca(n),o=r[1];_E(o,r,o.template,n)}}(e[8])}function nu(e,t,n){Ks(0),t(e,n)}const HE=(()=>Promise.resolve(null))();function nh(e){return e[7]||(e[7]=[])}function rh(e){return e.cleanup||(e.cleanup=[])}function ih(e,t){const n=e[9],r=n?n.get(Hr,null):null;r&&r.handleError(t)}function sh(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function Ht(e,t,n){const r=jo(t,e);!function lf(e,t,n){ne(e)?e.setValue(t,n):t.textContent=n}(e[P],r,n)}function yi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Is(o,a):2==i&&(r=Is(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}const ru=new k("INJECTOR",-1);class ah{get(t,n=Pr){if(n===Pr){const r=new Error(`NullInjectorError: No provider for ${U(t)}!`);throw r.name="NullInjectorError",r}return n}}const ou=new k("Set Injector scope."),qr={},GE={};let iu;function uh(){return void 0===iu&&(iu=new ah),iu}function lh(e,t=null,n=null,r){const o=ch(e,t,n,r);return o._resolveInjectorDefTypes(),o}function ch(e,t=null,n=null,r){return new zE(e,n,t||uh(),r)}class zE{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&Mt(n,a=>this.processProvider(a,t,n)),Mt([t],a=>this.processInjectorType(a,[],i)),this.records.set(ru,Jn(void 0,this));const s=this.records.get(ou);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:U(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=Pr,r=F.Default){this.assertNotDestroyed();const o=Nd(this),i=Wt(void 0);try{if(!(r&F.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function XE(e){return"function"==typeof e||"object"==typeof e&&e instanceof k}(t)&&Ss(t);a=u&&this.injectableDefInScope(u)?Jn(su(t),qr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&F.Self?uh():this.parent).get(t,n=r&F.Optional&&n===Pr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[ti]=s[ti]||[]).unshift(U(t)),o)throw s;return function Tv(e,t,n,r){const o=e[ti];throw t[xd]&&o.unshift(t[xd]),e.message=function Fv(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=U(t);if(Array.isArray(t))o=t.map(U).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):U(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(wv,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[ti]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Wt(i),Nd(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(U(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new B(205,!1)}processInjectorType(t,n,r){if(!(t=N(t)))return!1;let o=Lc(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=Lc(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{Mt(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];Mt(h,p=>this.processProvider(p,f,h||Z))}}this.injectorDefTypes.add(s);const u=mn(s)||(()=>new s);this.records.set(s,Jn(u,qr));const l=o.providers;if(null!=l&&!a){const c=t;Mt(l,d=>this.processProvider(d,c,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=Yn(t=N(t))?t:N(t&&t.provide);const i=function WE(e,t,n){return fh(e)?Jn(void 0,e.useValue):Jn(dh(e),qr)}(t);if(Yn(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=Jn(void 0,qr,!0),s.factory=()=>ca(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===qr&&(n.value=GE,n.value=n.factory()),"object"==typeof n.value&&n.value&&function YE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=N(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function su(e){const t=Ss(e),n=null!==t?t.factory:mn(e);if(null!==n)return n;if(e instanceof k)throw new B(204,!1);if(e instanceof Function)return function qE(e){const t=e.length;if(t>0)throw function Nr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new B(204,!1);const n=function cD(e){const t=e&&(e[Po]||e[Bc]);if(t){const n=function dD(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" 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 "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new B(204,!1)}function dh(e,t,n){let r;if(Yn(e)){const o=N(e);return mn(o)||su(o)}if(fh(e))r=()=>N(e.useValue);else if(function QE(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ca(e.deps||[]));else if(function ZE(e){return!(!e||!e.useExisting)}(e))r=()=>V(N(e.useExisting));else{const o=N(e&&(e.useClass||e.provide));if(!function JE(e){return!!e.deps}(e))return mn(o)||su(o);r=()=>new o(...ca(e.deps))}return r}function Jn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function fh(e){return null!==e&&"object"==typeof e&&Mv in e}function Yn(e){return"function"==typeof e}let Re=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return lh({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return lh({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=Pr,e.NULL=new ah,e.\u0275prov=$({token:e,providedIn:"any",factory:()=>V(ru)}),e.__NG_ELEMENT_ID__=-1,e})();function aw(e,t){Go(Ca(e)[1],fe())}function G(e){let t=function bh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(lt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new B(903,"");o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=lu(e.inputs),s.declaredInputs=lu(e.declaredInputs),s.outputs=lu(e.outputs);const a=o.hostBindings;a&&dw(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&lw(e,u),l&&cw(e,l),Ms(e.inputs,o.inputs),Ms(e.declaredInputs,o.declaredInputs),Ms(e.outputs,o.outputs),lt(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===G&&(n=!1)}}t=Object.getPrototypeOf(t)}!function uw(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zo(o.hostAttrs,n=Zo(n,o.hostAttrs))}}(r)}function lu(e){return e===Tn?{}:e===Z?[]:e}function lw(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function cw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function dw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let _i=null;function Xn(){if(!_i){const e=z.Symbol;if(e&&e.iterator)_i=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(_i=r)}}}return _i}function Wr(e){return!!function cu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Xn()in e)}function be(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function pt(e,t,n,r){const o=y();return be(o,Rn(),t)&&(j(),St(re(),o,e,t,n,r)),pt}function tr(e,t,n,r){return be(e,Rn(),n)?t+I(n)+r:T}function vi(e,t,n,r,o,i,s,a){const u=y(),l=j(),c=e+K,d=l.firstCreatePass?function _w(e,t,n,r,o,i,s,a,u){const l=t.consts,c=Zn(t,e,4,s||null,Kt(l,a));Ka(t,n,c,Kt(l,u)),Go(t,c);const d=c.tViews=gi(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];bt(d,!1);const f=u[P].createComment("");ci(l,u,f,d),we(f,u),mi(u,u[c]=eh(f,u,f,d)),Bo(d)&&Za(l,u,d),null!=s&&Qa(u,d,a)}function v(e,t=F.Default){const n=y();return null===n?V(e,t):Cd(fe(),n,N(e),t)}function Dn(e,t,n){const r=y();return be(r,Rn(),t)&&Ge(j(),re(),r,e,t,r[P],n,!1),Dn}function gu(e,t,n,r,o){const s=o?"class":"style";sh(e,n,t.inputs[s],s,r)}function Xe(e,t,n,r){const o=y(),i=j(),s=K+e,a=o[P],u=o[s]=Ta(a,t,function XD(){return S.lFrame.currentNamespace}()),l=i.firstCreatePass?function jw(e,t,n,r,o,i,s){const a=t.consts,l=Zn(t,e,2,o,Kt(a,i));return Ka(t,n,l,Kt(a,s)),null!==l.attrs&&yi(l,l.attrs,!1),null!==l.mergedAttrs&&yi(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];bt(l,!0);const c=l.mergedAttrs;null!==c&&Wo(a,u,c);const d=l.classes;null!==d&&Ra(a,u,d);const f=l.styles;return null!==f&&wf(a,u,f),64!=(64&l.flags)&&ci(i,o,u,l),0===function LD(){return S.lFrame.elementDepthCount}()&&we(u,o),function BD(){S.lFrame.elementDepthCount++}(),Bo(l)&&(Za(i,o,l),$f(i,l,o)),null!==r&&Qa(o,l),Xe}function Ft(){let e=fe();qs()?Ws():(e=e.parent,bt(e,!1));const t=e;!function jD(){S.lFrame.elementDepthCount--}();const n=j();return n.firstCreatePass&&(Go(n,e),Vs(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function ov(e){return 0!=(16&e.flags)}(t)&&gu(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function iv(e){return 0!=(32&e.flags)}(t)&&gu(n,t,y(),t.stylesWithoutHost,!1),Ft}function mu(e,t,n,r){return Xe(e,t,n,r),Ft(),mu}function Qr(e,t,n){const r=y(),o=j(),i=e+K,s=o.firstCreatePass?function Hw(e,t,n,r,o){const i=t.consts,s=Kt(i,r),a=Zn(t,e,8,"ng-container",s);return null!==s&&yi(a,s,!0),Ka(t,n,a,Kt(i,o)),null!==t.queries&&t.queries.elementStart(t,a),a}(i,o,r,t,n):o.data[i];bt(s,!0);const a=r[i]=r[P].createComment("");return ci(o,r,a,s),we(a,r),Bo(s)&&(Za(o,r,s),$f(o,s,r)),null!=n&&Qa(r,s),Qr}function Kr(){let e=fe();const t=j();return qs()?Ws():(e=e.parent,bt(e,!1)),t.firstCreatePass&&(Go(t,e),Vs(e)&&t.queries.elementEnd(e)),Kr}function Ei(e){return!!e&&"function"==typeof e.then}const Zh=function Wh(e){return!!e&&"function"==typeof e.subscribe};function Ve(e,t,n,r){const o=y(),i=j(),s=fe();return function Kh(e,t,n,r,o,i,s,a){const u=Bo(r),c=e.firstCreatePass&&rh(e),d=t[8],f=nh(t);let h=!0;if(3&r.type||a){const D=Ke(r,t),_=a?a(D):D,g=f.length,w=a?x=>a(ae(x[r.index])):r.index;if(ne(n)){let x=null;if(!a&&u&&(x=function $w(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=i,x.__ngLastListenerFn__=i,h=!1;else{i=yu(r,t,d,i,!1);const H=n.listen(_,o,i);f.push(i,H),c&&c.push(o,w,g,g+1)}}else i=yu(r,t,d,i,!0),_.addEventListener(o,i,s),f.push(i),c&&c.push(o,w,g,s)}else i=yu(r,t,d,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const D=m.length;if(D)for(let _=0;_<D;_+=2){const ze=t[m[_]][m[_+1]].subscribe(i),An=f.length;f.push(i,ze),c&&c.push(o,r.index,An,-(An+1))}}}(i,o,o[P],s,e,t,!!n,r),Ve}function Jh(e,t,n,r){try{return!1!==n(r)}catch(o){return ih(e,o),!1}}function yu(e,t,n,r,o){return function i(s){if(s===Function)return r;const a=2&e.flags?He(e.index,t):t;0==(32&t[2])&&Xa(a);let u=Jh(t,0,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Jh(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function Jr(e=1){return function ZD(e){return(S.lFrame.contextLView=function QD(e,t){for(;e>0;)t=t[15],e--;return t}(e,S.lFrame.contextLView))[8]}(e)}function _u(e,t,n){return Yr(e,"",t,"",n),_u}function Yr(e,t,n,r,o){const i=y(),s=tr(i,t,n,r);return s!==T&&Ge(j(),re(),i,e,s,i[P],o,!1),Yr}function sp(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?ft(i):jt(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];Zw(e[a],t)&&(u=!0,e[a+1]=r?La(c):Va(c)),a=r?ft(c):jt(c)}u&&(e[n+1]=r?Va(i):La(i))}function Zw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Un(e,t)>=0}function dr(e,t){return function gt(e,t,n,r){const o=y(),i=j(),s=function Bt(e){const t=S.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function gp(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Se()],s=function pp(e,t){return t>=e.expandoStartIndex}(e,n);(function Dp(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function rb(e,t,n,r){const o=function Qs(e){const t=S.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Xr(n=Du(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Du(o,e,t,n,r),null===i){let u=function ob(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==jt(r))return e[ft(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Du(null,e,t,u[1],r),u=Xr(u,t.attrs,r),function ib(e,t,n,r){e[ft(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function sb(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=Xr(r,e[i].hostAttrs,n);return Xr(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function qw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ft(s),u=jt(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||Un(d,c)>0)&&(l=!0)}else c=n;if(o)if(0!==u){const f=ft(e[a+1]);e[r+1]=fi(f,a),0!==f&&(e[f+1]=ka(e[f+1],r)),e[a+1]=function iE(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=fi(a,0),0!==a&&(e[a+1]=ka(e[a+1],r)),a=r;else e[r+1]=fi(u,0),0===a?a=r:e[u+1]=ka(e[u+1],r),u=r;l&&(e[r+1]=Va(e[r+1])),sp(e,c,r,!0),sp(e,c,r,!1),function Ww(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Un(i,t)>=0&&(n[r+1]=La(n[r+1]))}(t,c,e,r,i),s=fi(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==T&&be(o,s,t)&&function yp(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];wi(function Nf(e){return 1==(1&e)}(l)?_p(u,t,n,o,jt(l),s):void 0)||(wi(i)||function xf(e){return 2==(2&e)}(l)&&(i=_p(u,null,n,o,a,s)),function WC(e,t,n,r,o){const i=ne(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{let s=-1===r.indexOf("-")?void 0:Ue.DashCase;if(null==o)i?e.removeStyle(n,r,s):n.style.removeProperty(r);else{const a="string"==typeof o&&o.endsWith("!important");a&&(o=o.slice(0,-10),s|=Ue.Important),i?e.setStyle(n,r,o,s):n.style.setProperty(r,o,a?"important":"")}}}(r,s,jo(Se(),n),o,i))}(i,i.data[Se()],o,o[P],e,o[s+1]=function lb(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=U(Xt(e)))),e}(t,n),r,s)}(e,t,null,!0),dr}function Du(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=Xr(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function Xr(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),$e(e,s,!!n||t[++i]))}return void 0===e?null:e}function _p(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===T&&(f=d?Z:void 0);let h=d?aa(f,r):c===r?f:void 0;if(l&&!wi(h)&&(h=aa(u,r)),wi(h)&&(a=h,s))return a;const p=e[o+1];o=s?ft(p):jt(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=aa(u,r))}return a}function wi(e){return void 0!==e}function eo(e,t=""){const n=y(),r=j(),o=e+K,i=r.firstCreatePass?Zn(r,o,1,t,null):r.data[o],s=n[o]=function Sa(e,t){return ne(e)?e.createText(t):e.createTextNode(t)}(n[P],t);ci(r,n,s,i),bt(i,!1)}function bi(e){return to("",e,""),bi}function to(e,t,n){const r=y(),o=tr(r,e,t,n);return o!==T&&Ht(r,Se(),o),to}const Mi="en-US";let Hp=Mi;function Eu(e,t,n,r,o){if(e=N(e),Array.isArray(e))for(let i=0;i<e.length;i++)Eu(e[i],t,n,r,o);else{const i=j(),s=y();let a=Yn(e)?e:N(e.provide),u=dh(e);const l=fe(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(Yn(e)||!e.multi){const h=new Ir(u,o,v),p=bu(a,t,o?c:c+f,d);-1===p?(Jo(Sr(l,s),i,a),wu(i,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=bu(a,t,c+f,d),p=bu(a,t,c,c+f),m=h>=0&&n[h],D=p>=0&&n[p];if(o&&!D||!o&&!m){Jo(Sr(l,s),i,a);const _=function SM(e,t,n,r,o){const i=new Ir(e,n,v);return i.multi=[],i.index=t,i.componentProviders=0,dg(i,o,r&&!n),i}(o?AM:IM,n.length,o,r,u);!o&&D&&(n[p].providerFactory=_),wu(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(_),s.push(_)}else wu(i,e,h>-1?h:p,dg(n[o?p:h],u,!o&&r));!o&&r&&D&&n[p].componentProviders++}}}function wu(e,t,n,r){const o=Yn(t),i=function KE(e){return!!e.useClass}(t);if(o||i){const u=(i?N(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function dg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function bu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function IM(e,t,n,r){return Mu(this.multi,[])}function AM(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Tr(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),Mu(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Mu(o,i);return i}function Mu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ee(e,t=[]){return n=>{n.providersResolver=(r,o)=>function MM(e,t,n){const r=j();if(r.firstCreatePass){const o=lt(e);Eu(n,r.data,r.blueprint,o,!0),Eu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class fg{}class xM{resolveComponentFactory(t){throw function FM(e){const t=Error(`No component factory found for ${U(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let pr=(()=>{class e{}return e.NULL=new xM,e})();function NM(){return gr(fe(),y())}function gr(e,t){return new et(Ke(e,t))}let et=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=NM,e})();function PM(e){return e instanceof et?e.nativeElement:e}class pg{}let Cn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function RM(){const e=y(),n=He(fe().index,e);return function OM(e){return e[P]}(Et(n)?n:e)}(),e})(),VM=(()=>{class e{}return e.\u0275prov=$({token:e,providedIn:"root",factory:()=>null}),e})();class so{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const kM=new so("13.3.11"),Iu={};function Fi(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(ae(i)),ut(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&Fi(u[1],u,l,r)}const s=n.type;if(8&s)Fi(e,t,n.child,r);else if(32&s){const a=Ma(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=vf(t,n);if(Array.isArray(a))r.push(...a);else{const u=$r(t[16]);Fi(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class ao{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Fi(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ut(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Fa(t,r),Xo(n,r))}this._attachedToViewContainer=!1}df(this._lView[1],this._lView)}onDestroy(t){qf(this._lView[1],this._lView,null,t)}markForCheck(){Xa(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function tu(e,t,n){const r=t[10];r.begin&&r.begin();try{Kn(e,t,e.template,n)}catch(o){throw ih(t,o),o}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new B(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function kC(e,t){Ur(e,t,t[P],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new B(902,"");this._appRef=t}}class LM extends ao{constructor(t){super(t),this._view=t}detectChanges(){th(this._view)}checkNoChanges(){}get context(){return null}}class gg extends pr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ve(t);return new Au(n,this.ngModule)}}function mg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Au extends fg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function rE(e){return e.map(nE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return mg(this.componentDef.inputs)}get outputs(){return mg(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function jM(e,t){return{get:(n,r,o)=>{const i=e.get(n,Iu,o);return i!==Iu||r===Iu?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(pg,Jc),a=i.get(VM,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function zf(e,t,n){if(ne(e))return e.selectRootElement(t,n===vt.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Ta(s.createRenderer(null,this.componentDef),l,function BM(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),d=this.componentDef.onPush?576:528,f=function wh(e,t){return{components:[],scheduler:e||FC,clean:HE,playerHandler:t||null,flags:0}}(),h=gi(0,null,null,1,0,null,null,null,null,null),p=Gr(null,h,f,d,null,null,s,u,a,i);let m,D;$o(p);try{const _=function Ch(e,t,n,r,o,i){const s=n[1];n[20]=e;const u=Zn(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(yi(u,l,!0),null!==e&&(Wo(o,e,l),null!==u.classes&&Ra(o,e,u.classes),null!==u.styles&&wf(o,e,u.styles)));const c=r.createRenderer(e,t),d=Gr(n,Uf(t),null,t.onPush?64:16,n[20],u,r,c,i||null,null);return s.firstCreatePass&&(Jo(Sr(u,n),s,t.type),Jf(s,u),Yf(u,n.length,1)),mi(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)Wo(u,c,["ng-version",kM.full]);else{const{attrs:g,classes:w}=function oE(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!ct(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);g&&Wo(u,c,g),w&&w.length>0&&Ra(u,c,w.join(" "))}if(D=Us(h,K),void 0!==n){const g=D.projection=[];for(let w=0;w<this.ngContentSelectors.length;w++){const x=n[w];g.push(null!=x?Array.from(x):null)}}m=function Eh(e,t,n,r,o){const i=n[1],s=function ME(e,t,n){const r=fe();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Xf(e,r,t,Qn(e,t,1,null),n));const o=Tr(t,e,r.directiveStart,r);we(o,t);const i=Ke(r,t);return i&&we(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,o&&o.forEach(u=>u(s,t)),t.contentQueries){const u=fe();t.contentQueries(1,s,u.directiveStart)}const a=fe();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Jt(a.index),Qf(n[1],a,0,a.directiveStart,a.directiveEnd,t),Kf(t,s)),s}(_,this.componentDef,p,f,[aw]),zr(h,p,null)}finally{Uo()}return new $M(this.componentType,m,gr(D,p),p,D)}}class $M extends class TM{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new LM(o),this.componentType=t}get injector(){return new Ln(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class mr{}const yr=new Map;class Dg extends mr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new gg(this);const r=We(t);this._bootstrapComponents=At(r.bootstrap),this._r3Injector=ch(t,n,[{provide:mr,useValue:this},{provide:pr,useValue:this.componentFactoryResolver}],U(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=Re.THROW_IF_NOT_FOUND,r=F.Default){return t===Re||t===mr||t===ru?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Su extends class GM{}{constructor(t){super(),this.moduleType=t,null!==We(t)&&function zM(e){const t=new Set;!function n(r){const o=We(r,!0),i=o.id;null!==i&&(function yg(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${U(t)} vs ${U(t.name)}`)}(i,yr.get(i),r),yr.set(i,r));const s=At(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new Dg(this.moduleType,t)}}function vg(e,t,n,r,o,i){const s=t+n;return be(e,s,o)?function Tt(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function uo(e,t){const n=e[t];return n===T?void 0:n}(e,s+1)}function Ig(e,t,n){const r=e+K,o=y(),i=On(o,r);return function lo(e,t){return e[1].data[t].pure}(o,r)?vg(o,function Ae(){const e=S.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,i.transform,n,i):i.transform(n)}function Tu(e){return t=>{setTimeout(e,void 0,t)}}const _e=class u0 extends vr{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),u=null===(i=d.error)||void 0===i?void 0:i.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(u=Tu(u),a&&(a=Tu(a)),l&&(l=Tu(l)));const c=super.subscribe({next:a,error:u,complete:l});return t instanceof rt&&t.add(c),c}};function l0(){return this._results[Xn()]()}class Fu{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=Xn(),r=Fu.prototype;r[n]||(r[n]=l0)}get changes(){return this._changes||(this._changes=new _e)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=Je(t);(this._changesDetected=!function pv(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}(r._results,o,n))&&(r._results=o,r.length=o.length,r.last=o[this.length-1],r.first=o[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 $t=(()=>{class e{}return e.__NG_ELEMENT_ID__=f0,e})();const c0=$t,d0=class extends c0{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=Gr(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(r[19]=i.createEmbeddedView(n)),zr(n,r,t),new ao(r)}};function f0(){return xi(fe(),y())}function xi(e,t){return 4&e.type?new d0(t,e,gr(e,t)):null}let Pt=(()=>{class e{}return e.__NG_ELEMENT_ID__=h0,e})();function h0(){return Tg(fe(),y())}const p0=Pt,Ag=class extends p0{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return gr(this._hostTNode,this._hostLView)}get injector(){return new Ln(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ko(this._hostTNode,this._hostLView);if(md(t)){const n=kn(t,this._hostLView),r=Vn(t);return new Ln(n[1].data[r+8],n)}return new Ln(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Sg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const o=t.createEmbeddedView(n||{});return this.insert(o,r),o}createComponent(t,n,r,o,i){const s=t&&!function xr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.ngModuleRef}const u=s?t:new Au(ve(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(mr,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function kD(e){return ut(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Ag(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function BC(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Id(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function jC(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(o,r,s,i);const a=Pa(i,s),u=r[P],l=li(u,s[7]);return null!==l&&function VC(e,t,n,r,o,i){r[0]=o,r[6]=t,Ur(e,r,n,1,o,i)}(o,s[6],u,r,l,a),t.attachToViewContainerRef(),Id(xu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Sg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Fa(this._lContainer,n);r&&(Xo(xu(this._lContainer),n),df(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=Fa(this._lContainer,n);return r&&null!=Xo(xu(this._lContainer),n)?new ao(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Sg(e){return e[8]}function xu(e){return e[8]||(e[8]=[])}function Tg(e,t){let n;const r=t[e.index];if(ut(r))n=r;else{let o;if(8&e.type)o=ae(r);else{const i=t[P];o=i.createComment("");const s=Ke(e,t);yn(i,li(i,s),o,function GC(e,t){return ne(e)?e.nextSibling(t):t.nextSibling}(i,s),!1)}t[e.index]=n=eh(r,t,o,e),mi(t,n)}return new Ag(n,e,t)}class Nu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Nu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Pu{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){const s=n.getByIndex(i);o.push(this.queries[s.indexInDeclarationView].clone())}return new Pu(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==kg(t,n).matches&&this.queries[n].setDirty()}}class Fg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class Ou{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new Ou(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Ru{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new Ru(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){const i=r[o];this.matchTNodeWithReadOption(t,n,y0(n,i)),this.matchTNodeWithReadOption(t,n,Yo(n,t,i,!1,!1))}else r===$t?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Yo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const o=this.metadata.read;if(null!==o)if(o===et||o===Pt||o===$t&&4&n.type)this.addMatch(n.index,-2);else{const i=Yo(n,t,o,!1,!1);null!==i&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function y0(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function D0(e,t,n,r){return-1===n?function _0(e,t){return 11&e.type?gr(e,t):4&e.type?xi(e,t):null}(t,e):-2===n?function v0(e,t,n){return n===et?gr(t,e):n===$t?xi(t,e):n===Pt?Tg(t,e):void 0}(e,t,r):Tr(e,e[1],n,t)}function xg(e,t,n,r){const o=t[19].queries[r];if(null===o.matches){const i=e.data,s=n.matches,a=[];for(let u=0;u<s.length;u+=2){const l=s[u];a.push(l<0?null:D0(t,i[l],s[u+1],n.metadata.read))}o.matches=a}return o.matches}function Vu(e,t,n,r){const o=e.queries.getByIndex(n),i=o.matches;if(null!==i){const s=xg(e,t,o,n);for(let a=0;a<i.length;a+=2){const u=i[a];if(u>0)r.push(s[a/2]);else{const l=i[a+1],c=t[-u];for(let d=10;d<c.length;d++){const f=c[d];f[17]===f[3]&&Vu(f[1],f,l,r)}if(null!==c[9]){const d=c[9];for(let f=0;f<d.length;f++){const h=d[f];Vu(h[1],h,l,r)}}}}}return r}function Ng(e){const t=y(),n=j(),r=sd();Ks(r+1);const o=kg(n,r);if(e.dirty&&Yc(t)===(2==(2&o.metadata.flags))){if(null===o.matches)e.reset([]);else{const i=o.crossesNgTemplate?Vu(n,t,r,[]):xg(n,t,o,r);e.reset(i,PM),e.notifyOnChanges()}return!0}return!1}function Pg(e,t,n){const r=j();r.firstCreatePass&&(function Vg(e,t,n){null===e.queries&&(e.queries=new Ou),e.queries.track(new Ru(t,n))}(r,new Fg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),function Rg(e,t,n){const r=new Fu(4==(4&n));qf(e,t,r,r.destroy),null===t[19]&&(t[19]=new Pu),t[19].queries.push(new Nu(r))}(r,y(),t)}function kg(e,t){return e.queries.getByIndex(t)}function Oi(...e){}const em=new k("Application Initializer");let $u=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Oi,this.reject=Oi,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Ei(i))n.push(i);else if(Zh(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(V(em,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fo=new k("AppId",{providedIn:"root",factory:function tm(){return`${Uu()}${Uu()}${Uu()}`}});function Uu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const nm=new k("Platform Initializer"),Gu=new k("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),H0=new k("appBootstrapListener"),nn=new k("LocaleId",{providedIn:"root",factory:()=>Av(nn,F.Optional|F.SkipSelf)||function $0(){return"undefined"!=typeof $localize&&$localize.locale||Mi}()}),q0=(()=>Promise.resolve(0))();function zu(e){"undefined"==typeof Zone?q0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ne{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _e(!1),this.onMicrotaskEmpty=new _e(!1),this.onStable=new _e(!1),this.onError=new _e(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function W0(){let e=z.requestAnimationFrame,t=z.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function K0(e){const t=()=>{!function Q0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(z,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Wu(e),e.isCheckStableRunning=!0,qu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Wu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return rm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),om(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return rm(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),om(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Wu(e),qu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ne.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ne.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Z0,Oi,Oi);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Z0={};function qu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Wu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function om(e){e._nesting--,qu(e)}class J0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _e,this.onMicrotaskEmpty=new _e,this.onStable=new _e,this.onError=new _e}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let Zu=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.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:()=>{Ne.assertNotInAngularZone(),zu(()=>{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())zu(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!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(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(V(Ne))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),Y0=(()=>{class e{constructor(){this._applications=new Map,Qu.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Qu.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class X0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let Qu=new X0,En=null;const im=new k("AllowMultipleToken"),sm=new k("PlatformOnDestroy");function am(e,t,n=[]){const r=`Platform: ${t}`,o=new k(r);return(i=[])=>{let s=Ku();if(!s||s.injector.get(im,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function rI(e){if(En&&!En.get(im,!1))throw new B(400,"");En=e;const t=e.get(um),n=e.get(nm,null);n&&n.forEach(r=>r())}(function iI(e=[],t){return Re.create({name:t,providers:[{provide:ou,useValue:"platform"},{provide:sm,useValue:()=>En=null},...e]})}(a,r))}return function oI(e){const t=Ku();if(!t)throw new B(401,"");return t}()}}function Ku(){var e;return null!==(e=null==En?void 0:En.get(um))&&void 0!==e?e:null}let um=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function sI(e,t){let n;return n="noop"===e?new J0:("zone.js"===e?void 0:e)||new Ne({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Ne,useValue:a}];return a.run(()=>{const l=Re.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Hr,null);if(!d)throw new B(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{Yu(this._modules,c),f.unsubscribe()})}),function aI(e,t,n){try{const r=n();return Ei(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get($u);return f.runInitializers(),f.donePromise.then(()=>(function Ob(e){Be(e,"Expected localeId to be defined"),"string"==typeof e&&(Hp=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(nn,Mi)||Mi),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=lm({},r);return function tI(e,t,n){const r=new Su(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Ju);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new B(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new B(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(sm,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(V(Re))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function lm(e,t){return Array.isArray(t)?t.reduce(lm,e):Object.assign(Object.assign({},e),t)}let Ju=(()=>{class e{constructor(n,r,o,i){this._zone=n,this._injector=r,this._exceptionHandler=o,this._initStatus=i,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 s=new De(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),a=new De(u=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Ne.assertNotInAngularZone(),zu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Ne.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Rc(s,a.pipe(function oD(e={}){const{connector:t=(()=>new vr),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=u=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return ot((m,D)=>{l++,!d&&!c&&f();const _=u=null!=u?u:t();D.add(()=>{l--,0===l&&!d&&!c&&(a=bs(p,o))}),_.subscribe(D),s||(s=new So({next:g=>_.next(g),error:g=>{d=!0,f(),a=bs(h,n,g),_.error(g)},complete:()=>{c=!0,f(),a=bs(h,r),_.complete()}}),xo(m).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new B(405,"");let o;o=n instanceof fg?n:this._injector.get(pr).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function nI(e){return e.isBoundToModule}(o)?void 0:this._injector.get(mr),a=o.create(Re.NULL,[],r||o.selector,i),u=a.location.nativeElement,l=a.injector.get(Zu,null),c=l&&a.injector.get(Y0);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),Yu(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new B(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Yu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(H0,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(V(Ne),V(Re),V(Hr),V($u))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Yu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let dm=!0,Xu=(()=>{class e{}return e.__NG_ELEMENT_ID__=cI,e})();function cI(e){return function dI(e,t,n){if(Lo(e)&&!n){const r=He(e.index,t);return new ao(r,r)}return 47&e.type?new ao(t[16],t):null}(fe(),y(),16==(16&e))}class mm{constructor(){}supports(t){return Wr(t)}create(t){return new yI(t)}}const mI=(e,t)=>t;class yI{constructor(t){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=t||mI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<_m(r,o,i)?n:r,a=_m(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Wr(t))throw new B(900,"");return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function yw(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Xn()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new _I(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ym),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ym),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class _I{constructor(t,n){this.item=t,this.trackById=n,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 DI{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class ym{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new DI,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function _m(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function vm(){return new ki([new mm])}let ki=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||vm()),deps:[[e,new ri,new ni]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new B(901,"")}}return e.\u0275prov=$({token:e,providedIn:"root",factory:vm}),e})();const bI=am(null,"core",[]);let MI=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(V(Ju))},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({}),e})(),Li=null;function bn(){return Li}const yt=new k("DocumentToken");function Nm(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class mA{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}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 Pm=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new mA(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),Om(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{Om(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(Pt),v($t),v(ki))},e.\u0275dir=A({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();function Om(e,t){e.context.$implicit=t.item}let Rm=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new yA,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Vm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Vm("ngIfElse",n),this._elseTemplateRef=n,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(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(Pt),v($t))},e.\u0275dir=A({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class yA{constructor(){this.$implicit=null,this.ngIf=null}}function Vm(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${U(t)}'.`)}let GA=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({}),e})();class Hm{}class yl extends class QA extends class SI{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function AI(e){Li||(Li=e)}(new yl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function KA(){return mo=mo||document.querySelector("base"),mo?mo.getAttribute("href"):null}();return null==n?null:function JA(e){Zi=Zi||document.createElement("a"),Zi.setAttribute("href",e);const t=Zi.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){mo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Nm(document.cookie,t)}}let Zi,mo=null;const $m=new k("TRANSITION_ID"),XA=[{provide:em,useFactory:function YA(e,t,n){return()=>{n.get($u).donePromise.then(()=>{const r=bn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[$m,yt,Re],multi:!0}];class _l{static init(){!function eI(e){Qu=e}(new _l)}addToWindow(t){z.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},z.getAllAngularTestabilities=()=>t.getAllTestabilities(),z.getAllAngularRootElements=()=>t.getAllRootElements(),z.frameworkStabilizers||(z.frameworkStabilizers=[]),z.frameworkStabilizers.push(r=>{const o=z.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?bn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let eS=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Qi=new k("EventManagerPlugins");let Ki=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(V(Qi),V(Ne))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class Um{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=bn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Gm=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),yo=(()=>{class e extends Gm{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(zm),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(zm))}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function zm(e){bn().remove(e)}const Dl={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/"},vl=/%COMP%/g;function Ji(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?Ji(e,o,n):(o=o.replace(vl,e),n.push(o))}return n}function Zm(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Cl=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new El(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case vt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new sS(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case vt.ShadowDom:return new aS(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Ji(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(V(Ki),V(yo),V(fo))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class El{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Dl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Dl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Dl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ue.DashCase|Ue.Important)?t.style.setProperty(n,r,o&Ue.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ue.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,Zm(r)):this.eventManager.addEventListener(t,n,Zm(r))}}class sS extends El{constructor(t,n,r,o){super(t),this.component=r;const i=Ji(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function rS(e){return"_ngcontent-%COMP%".replace(vl,e)}(o+"-"+r.id),this.hostAttr=function oS(e){return"_nghost-%COMP%".replace(vl,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class aS extends El{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Ji(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let uS=(()=>{class e extends Um{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Km=["alt","control","meta","shift"],cS={"\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"},Jm={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"},dS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let fS=(()=>{class e extends Um{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(Km.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function hS(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Jm.hasOwnProperty(t)&&(t=Jm[t]))}return cS[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Km.forEach(i=>{i!=o&&dS[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(V(yt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const yS=am(bI,"browser",[{provide:Gu,useValue:"browser"},{provide:nm,useValue:function pS(){yl.makeCurrent(),_l.init()},multi:!0},{provide:yt,useFactory:function mS(){return function PD(e){Hs=e}(document),document},deps:[]}]),_S=[{provide:ou,useValue:"root"},{provide:Hr,useFactory:function gS(){return new Hr},deps:[]},{provide:Qi,useClass:uS,multi:!0,deps:[yt,Ne,Gu]},{provide:Qi,useClass:fS,multi:!0,deps:[yt]},{provide:Cl,useClass:Cl,deps:[Ki,yo,fo]},{provide:pg,useExisting:Cl},{provide:Gm,useExisting:yo},{provide:yo,useClass:yo,deps:[yt]},{provide:Zu,useClass:Zu,deps:[Ne]},{provide:Ki,useClass:Ki,deps:[Qi,Ne]},{provide:Hm,useClass:eS,deps:[]}];let DS=(()=>{class e{constructor(n){if(n)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(n){return{ngModule:e,providers:[{provide:fo,useValue:n.appId},{provide:$m,useExisting:fo},XA]}}}return e.\u0275fac=function(n){return new(n||e)(V(e,12))},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({providers:_S,imports:[GA,MI]}),e})();"undefined"!=typeof window&&window;const{isArray:FS}=Array,{getPrototypeOf:xS,prototype:NS,keys:PS}=Object;const{isArray:VS}=Array;function BS(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function jS(...e){const t=function Q_(e){return Y(ws(e))?e.pop():void 0}(e),{args:n,keys:r}=function OS(e){if(1===e.length){const t=e[0];if(FS(t))return{args:t,keys:null};if(function RS(e){return e&&"object"==typeof e&&xS(e)===NS}(t)){const n=PS(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new De(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;Rt(n[c]).subscribe(qe(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?BS(r,a):a),i.complete())}))}});return t?o.pipe(function LS(e){return zt(t=>function kS(e,t){return VS(t)?e(...t):e(t)}(e,t))}(t)):o}let ey=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(v(Cn),v(et))},e.\u0275dir=A({type:e}),e})(),Mn=(()=>{class e extends ey{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Ee(e){return Zt(()=>{const t=e.prototype.constructor,n=t[kt]||ra(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[kt]||ra(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275dir=A({type:e,features:[G]}),e})();const Ot=new k("NgValueAccessor"),$S={provide:Ot,useExisting:Q(()=>Yi),multi:!0},GS=new k("CompositionEventMode");let Yi=(()=>{class e extends ey{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function US(){const e=bn()?bn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",null==n?"":n)}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(v(Cn),v(et),v(GS,8))},e.\u0275dir=A({type:e,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(n,r){1&n&&Ve("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[ee([$S]),G]}),e})();const Me=new k("NgValidators"),sn=new k("NgAsyncValidators");function dy(e){return null!=e}function fy(e){const t=Ei(e)?xo(e):e;return Zh(t),t}function hy(e){let t={};return e.forEach(n=>{t=null!=n?Object.assign(Object.assign({},t),n):t}),0===Object.keys(t).length?null:t}function py(e,t){return t.map(n=>n(e))}function gy(e){return e.map(t=>function qS(e){return!e.validate}(t)?t:n=>t.validate(n))}function bl(e){return null!=e?function my(e){if(!e)return null;const t=e.filter(dy);return 0==t.length?null:function(n){return hy(py(n,t))}}(gy(e)):null}function Ml(e){return null!=e?function yy(e){if(!e)return null;const t=e.filter(dy);return 0==t.length?null:function(n){return jS(py(n,t).map(fy)).pipe(zt(hy))}}(gy(e)):null}function _y(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Dy(e){return e._rawValidators}function vy(e){return e._rawAsyncValidators}function Il(e){return e?Array.isArray(e)?e:[e]:[]}function es(e,t){return Array.isArray(e)?e.includes(t):e===t}function Cy(e,t){const n=Il(t);return Il(e).forEach(o=>{es(n,o)||n.push(o)}),n}function Ey(e,t){return Il(t).filter(n=>!es(e,n))}class wy{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(t){this._rawValidators=t||[],this._composedValidatorFn=bl(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Ml(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class an extends wy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Pe extends wy{get formDirective(){return null}get path(){return null}}class by{constructor(t){this._cd=t}is(t){var n,r,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(r=this._cd)||void 0===r?void 0:r.control)||void 0===o?void 0:o[t])}}let My=(()=>{class e extends by{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(an,2))},e.\u0275dir=A({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&dr("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))},features:[G]}),e})(),Iy=(()=>{class e extends by{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(Pe,10))},e.\u0275dir=A({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&dr("ng-untouched",r.is("untouched"))("ng-touched",r.is("touched"))("ng-pristine",r.is("pristine"))("ng-dirty",r.is("dirty"))("ng-valid",r.is("valid"))("ng-invalid",r.is("invalid"))("ng-pending",r.is("pending"))("ng-submitted",r.is("submitted"))},features:[G]}),e})();function _o(e,t){Tl(e,t),t.valueAccessor.writeValue(e.value),function eT(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Sy(e,t)})}(e,t),function nT(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function tT(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Sy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function XS(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function rs(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),is(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function os(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Tl(e,t){const n=Dy(e);null!==t.validator?e.setValidators(_y(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=vy(e);null!==t.asyncValidator?e.setAsyncValidators(_y(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();os(t._rawValidators,o),os(t._rawAsyncValidators,o)}function is(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=Dy(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=vy(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return os(t._rawValidators,r),os(t._rawAsyncValidators,r),n}function Sy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Nl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Do="VALID",ss="INVALID",Dr="PENDING",vo="DISABLED";function Ol(e){return(as(e)?e.validators:e)||null}function Ny(e){return Array.isArray(e)?bl(e):e||null}function Rl(e,t){return(as(t)?t.asyncValidators:e)||null}function Py(e){return Array.isArray(e)?Ml(e):e||null}function as(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}const Vl=e=>e instanceof Ll,us=e=>e instanceof ls,Oy=e=>e instanceof Ly;function Ry(e){return Vl(e)?e.value:e.getRawValue()}function Vy(e,t){const n=us(e),r=e.controls;if(!(n?Object.keys(r):r).length)throw new B(1e3,"");if(!r[t])throw new B(1001,"")}function ky(e,t){us(e),e._forEachChild((r,o)=>{if(void 0===t[o])throw new B(1002,"")})}class kl{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=Ny(this._rawValidators),this._composedAsyncValidatorFn=Py(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Do}get invalid(){return this.status===ss}get pending(){return this.status==Dr}get disabled(){return this.status===vo}get enabled(){return this.status!==vo}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Ny(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Py(t)}addValidators(t){this.setValidators(Cy(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Cy(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(Ey(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(Ey(t,this._rawAsyncValidators))}hasValidator(t){return es(this._rawValidators,t)}hasAsyncValidator(t){return es(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Dr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=vo,this.errors=null,this._forEachChild(r=>{r.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Do,this._forEachChild(r=>{r.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Do||this.status===Dr)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?vo:Do}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Dr,this._hasOwnPendingAsyncValidator=!0;const n=fy(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){return function sT(e,t,n){if(null==t||(Array.isArray(t)||(t=t.split(n)),Array.isArray(t)&&0===t.length))return null;let r=e;return t.forEach(o=>{r=us(r)?r.controls.hasOwnProperty(o)?r.controls[o]:null:Oy(r)&&r.at(o)||null}),r}(this,t,".")}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new _e,this.statusChanges=new _e}_calculateStatus(){return this._allControlsDisabled()?vo:this.errors?ss:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Dr)?Dr:this._anyControlsHaveStatus(ss)?ss:Do}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value" in t&&"disabled" in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){as(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class Ll extends kl{constructor(t=null,n,r){super(Ol(n),Rl(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),as(n)&&n.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Nl(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Nl(this._onDisabledChange,t)}_forEachChild(t){}_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(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class ls extends kl{constructor(t,n,r){super(Ol(n),Rl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){ky(this,t),Object.keys(t).forEach(r=>{Vy(this,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=Ry(n),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const n of Object.keys(this.controls)){const r=this.controls[n];if(this.contains(n)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class Ly extends kl{constructor(t,n,r){super(Ol(n),Rl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),n&&(this.controls.splice(t,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){ky(this,t),t.forEach((r,o)=>{Vy(this,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>Ry(t))}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}let Gy=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({}),e})();const jl=new k("NgModelWithFormControlWarning"),mT={provide:Pe,useExisting:Q(()=>cs)};let cs=(()=>{class e extends Pe{constructor(n,r){super(),this.validators=n,this.asyncValidators=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new _e,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(is(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return _o(r,n),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){rs(n.control||null,n,!1),Nl(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function xy(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(rs(r||null,n),Vl(o)&&(_o(o,n),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function Ty(e,t){Tl(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function rT(e,t){return is(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Tl(this.form,this),this._oldForm&&is(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(n){return new(n||e)(v(Me,10),v(sn,10))},e.\u0275dir=A({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){1&n&&Ve("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ee([mT]),G,wt]}),e})();const DT={provide:an,useExisting:Q(()=>Ul)};let Ul=(()=>{class e extends an{constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new _e,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function xl(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===Yi?n=i:function iT(e){return Object.getPrototypeOf(e.constructor)===Mn}(i)?r=i:o=i}),o||r||n||null}(0,i)}set isDisabled(n){}ngOnChanges(n){this._added||this._setUpControl(),function Fl(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function ns(e,t){return[...t.path,e]}(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 e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(v(Pe,13),v(Me,10),v(sn,10),v(Ot,10),v(jl,8))},e.\u0275dir=A({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ee([DT]),G,wt]}),e})(),RT=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({imports:[[Gy]]}),e})(),s_=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:jl,useValue:n.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({imports:[RT]}),e})(),kT=(()=>{class e{group(n,r=null){const o=this._reduceControls(n);let a,i=null,s=null;return null!=r&&(function VT(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(r)?(i=null!=r.validators?r.validators:null,s=null!=r.asyncValidators?r.asyncValidators:null,a=null!=r.updateOn?r.updateOn:void 0):(i=null!=r.validator?r.validator:null,s=null!=r.asyncValidator?r.asyncValidator:null)),new ls(o,{asyncValidators:s,updateOn:a,validators:i})}control(n,r,o){return new Ll(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new Ly(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return Vl(n)||us(n)||Oy(n)?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:s_}),e})();const Wl={now:()=>(Wl.delegate||Date).now(),delegate:void 0};class LT extends vr{constructor(t=1/0,n=1/0,r=Wl){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){const{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){const{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){const s=n.now();let a=0;for(let u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}}}const ds={schedule(e,t){const n=setTimeout(e,t);return()=>clearTimeout(n)},scheduleBeforeRender(e){if("undefined"==typeof window)return ds.schedule(e,0);if(void 0===window.requestAnimationFrame)return ds.schedule(e,16);const t=window.requestAnimationFrame(e);return()=>window.cancelAnimationFrame(t)}};let Zl;function ZT(e,t,n){let r=n;return function HT(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((o,i)=>!("*"===o||!function UT(e,t){if(!Zl){const n=Element.prototype;Zl=n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Zl.call(e,t)}(e,o)||(r=i,0))),r}class KT{constructor(t,n){this.componentFactory=n.get(pr).resolveComponentFactory(t)}create(t){return new JT(this.componentFactory,t)}}class JT{constructor(t,n){this.componentFactory=t,this.injector=n,this.eventEmitters=new LT(1),this.events=this.eventEmitters.pipe(function BT(e,t){return ot((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(qe(r,u=>{null==o||o.unsubscribe();let l=0;const c=i++;Rt(e(u,c)).subscribe(o=qe(r,d=>r.next(t?t(u,d,c,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(r=>Rc(...r))),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:r})=>r)),this.ngZone=this.injector.get(Ne),this.elementZone="undefined"==typeof Zone?null:this.ngZone.run(()=>Zone.current)}connect(t){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(t)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=ds.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null,this.viewChangeDetectorRef=null)},10))})}getInputValue(t){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(t):this.componentRef.instance[t])}setInputValue(t,n){this.runInZone(()=>{null!==this.componentRef?function GT(e,t){return e===t||e!=e&&t!=t}(n,this.getInputValue(t))&&(void 0!==n||!this.unchangedInputs.has(t))||(this.recordInputChange(t,n),this.unchangedInputs.delete(t),this.hasInputChanges=!0,this.componentRef.instance[t]=n,this.scheduleDetectChanges()):this.initialInputValues.set(t,n)})}initializeComponent(t){const n=Re.create({providers:[],parent:this.injector}),r=function WT(e,t){const n=e.childNodes,r=t.map(()=>[]);let o=-1;t.some((i,s)=>"*"===i&&(o=s,!0));for(let i=0,s=n.length;i<s;++i){const a=n[i],u=ZT(a,t,o);-1!==u&&r[u].push(a)}return r}(t,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(n,r,t),this.viewChangeDetectorRef=this.componentRef.injector.get(Xu),this.implementsOnChanges=function $T(e){return"function"==typeof e}(this.componentRef.instance.ngOnChanges),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.detectChanges(),this.injector.get(Ju).attachView(this.componentRef.hostView)}initializeInputs(){this.componentFactory.inputs.forEach(({propName:t})=>{this.initialInputValues.has(t)&&this.setInputValue(t,this.initialInputValues.get(t))}),this.initialInputValues.clear()}initializeOutputs(t){const n=this.componentFactory.outputs.map(({propName:r,templateName:o})=>t.instance[r].pipe(zt(s=>({name:o,value:s}))));this.eventEmitters.next(n)}callNgOnChanges(t){if(!this.implementsOnChanges||null===this.inputChanges)return;const n=this.inputChanges;this.inputChanges=null,t.instance.ngOnChanges(n)}markViewForCheck(t){this.hasInputChanges&&(this.hasInputChanges=!1,t.markForCheck())}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ds.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,n){if(!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const r=this.inputChanges[t];if(r)return void(r.currentValue=n);const o=this.unchangedInputs.has(t),i=o?void 0:this.getInputValue(t);this.inputChanges[t]=new Wc(i,n,o)}detectChanges(){null!==this.componentRef&&(this.callNgOnChanges(this.componentRef),this.markViewForCheck(this.viewChangeDetectorRef),this.componentRef.changeDetectorRef.detectChanges())}runInZone(t){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(t):t()}}class YT extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}function Ql(e){return ot((t,n)=>{Rt(e).subscribe(qe(n,()=>n.complete(),ps)),!n.closed&&t.subscribe(n)})}class eF extends rt{constructor(t,n){super()}schedule(t,n=0){return this}}const fs={setInterval(e,t,...n){const{delegate:r}=fs;return(null==r?void 0:r.setInterval)?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=fs;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};class Eo{constructor(t,n=Eo.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}}Eo.now=Wl.now;const rF=new class nF extends Eo{constructor(t,n=Eo.now){super(t,n),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:n}=this;if(this._active)return void n.push(t);let r;this._active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}}(class tF extends eF{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){if(this.closed)return this;this.state=t;const r=this.id,o=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(o,r,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(o,this.id,n),this}requestAsyncId(t,n,r=0){return fs.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return n;fs.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const r=this._execute(t,n);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let o,r=!1;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,Sn(r,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}});function sF(e,t){return e===t}class a_{}class u_{}class Gt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Gt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Gt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Gt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class cF{encodeKey(t){return l_(t)}encodeValue(t){return l_(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const fF=/%(\d[a-f0-9])/gi,hF={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function l_(e){return encodeURIComponent(e).replace(fF,(t,n)=>{var r;return null!==(r=hF[n])&&void 0!==r?r:t})}function c_(e){return`${e}`}class un{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new cF,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function dF(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n];this.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new un({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(c_(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(c_(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class pF{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function d_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function f_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function h_(e){return"undefined"!=typeof FormData&&e instanceof FormData}class wo{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function gF(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Gt),this.context||(this.context=new pF),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new un,this.urlWithParams=n}serializeBody(){return null===this.body?null:d_(this.body)||f_(this.body)||h_(this.body)||function mF(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof un?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||h_(this.body)?null:f_(this.body)?this.body.type||null:d_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof un?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){var n;const r=t.method||this.method,o=t.url||this.url,i=t.responseType||this.responseType,s=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,u=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let l=t.headers||this.headers,c=t.params||this.params;const d=null!==(n=t.context)&&void 0!==n?n:this.context;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((f,h)=>f.set(h,t.setHeaders[h]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((f,h)=>f.set(h,t.setParams[h]),c)),new wo(r,o,s,{params:c,headers:l,context:d,reportProgress:u,responseType:i,withCredentials:a})}}var de=(()=>((de=de||{})[de.Sent=0]="Sent",de[de.UploadProgress=1]="UploadProgress",de[de.ResponseHeader=2]="ResponseHeader",de[de.DownloadProgress=3]="DownloadProgress",de[de.Response=4]="Response",de[de.User=5]="User",de))();class Kl{constructor(t,n=200,r="OK"){this.headers=t.headers||new Gt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Jl extends Kl{constructor(t={}){super(t),this.type=de.ResponseHeader}clone(t={}){return new Jl({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class hs extends Kl{constructor(t={}){super(t),this.type=de.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new hs({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class p_ extends Kl{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Yl(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let g_=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof wo)i=n;else{let u,l;u=o.headers instanceof Gt?o.headers:new Gt(o.headers),o.params&&(l=o.params instanceof un?o.params:new un({fromObject:o.params})),i=new wo(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=function aF(...e){return xo(e,xc(e))}(i).pipe(function uF(e,t){return Y(t)?Fo(e,t,1):Fo(e,1)}(u=>this.handler.handle(u)));if(n instanceof wo||"events"===o.observe)return s;const a=s.pipe(function lF(e,t){return ot((n,r)=>{let o=0;n.subscribe(qe(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof hs));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(zt(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(zt(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(zt(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(zt(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new un).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Yl(o,r))}post(n,r,o={}){return this.request("POST",n,Yl(o,r))}put(n,r,o={}){return this.request("PUT",n,Yl(o,r))}}return e.\u0275fac=function(n){return new(n||e)(V(a_))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class m_{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const y_=new k("HTTP_INTERCEPTORS");let yF=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const _F=/^\)\]\}',?\n/;let __=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new De(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",p=new Gt(o.getAllResponseHeaders()),m=function DF(e){return"responseURL" in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new Jl({headers:p,status:o.status,statusText:h,url:m}),s},u=()=>{let{headers:h,status:p,statusText:m,url:D}=a(),_=null;204!==p&&(_=void 0===o.response?o.responseText:o.response),0===p&&(p=_?200:0);let g=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof _){const w=_;_=_.replace(_F,"");try{_=""!==_?JSON.parse(_):null}catch(x){_=w,g&&(g=!1,_={error:x,text:_})}}g?(r.next(new hs({body:_,headers:h,status:p,statusText:m,url:D||void 0})),r.complete()):r.error(new p_({error:_,headers:h,status:p,statusText:m,url:D||void 0}))},l=h=>{const{url:p}=a(),m=new p_({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});r.error(m)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:de.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:de.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",u),o.addEventListener("error",l),o.addEventListener("timeout",l),o.addEventListener("abort",l),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:de.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",u),o.removeEventListener("timeout",l),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(V(Hm))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Xl=new k("XSRF_COOKIE_NAME"),ec=new k("XSRF_HEADER_NAME");class D_{}let vF=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Nm(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(V(yt),V(Gu),V(Xl))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),tc=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(D_),V(ec))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),CF=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(y_,[]);this.chain=r.reduceRight((o,i)=>new m_(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(V(u_),V(Re))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),EF=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:tc,useClass:yF}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:Xl,useValue:n.cookieName}:[],n.headerName?{provide:ec,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({providers:[tc,{provide:y_,useExisting:tc,multi:!0},{provide:D_,useClass:vF},{provide:Xl,useValue:"XSRF-TOKEN"},{provide:ec,useValue:"X-XSRF-TOKEN"}]}),e})(),wF=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({providers:[g_,{provide:a_,useClass:CF},__,{provide:u_,useExisting:__}],imports:[[EF.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),bF=(()=>{class e{constructor(n){this.http=n,this.query={identifier:"",phrase:"",filterData:{},language:"nl",page:"1"}}setIdentifierAndLanguage(n,r){this.query.identifier=n,this.query.language=r}getSuggestionResults(n){return this.http.post(e.apiSuggestionsUrl,Object.assign(Object.assign({},this.query),{phrase:n}))}}return e.apiSuggestionsUrl="/api/suggestion",e.\u0275fac=function(n){return new(n||e)(V(g_))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),MF=(()=>{class e{transform(n){return n.replace(/<.*?>/g,"")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=Ie({name:"stripHtml",type:e,pure:!0}),e})();const IF=["termInput"];function AF(e,t){if(1&e&&(Xe(0,"li",15)(1,"a",16),eo(2),Ft()()),2&e){const n=t.$implicit,r=t.index,o=Jr(3);dr("js-focus",o.currentFocusedSuggestion===r),Yr("id","result-item-",r,""),pt("aria-focused",o.currentFocusedSuggestion===r),dt(1),Dn("href",n.url,Da),dt(1),bi(n.name)}}function SF(e,t){if(1&e&&(Qr(0),Xe(1,"span",12),eo(2),Ft(),Xe(3,"ul",13),vi(4,AF,3,6,"li",14),Ft(),Kr()),2&e){const n=Jr(2);dt(2),bi(null==n.labels?null:n.labels.results),dt(2),Dn("ngForOf",n.suggestions$)}}function TF(e,t){if(1&e){const n=function qh(){return y()}();Qr(0),Xe(1,"div",5),vi(2,SF,5,2,"ng-container",4),Xe(3,"button",6),Ve("click",function(o){return function nd(e){return S.lFrame.contextLView=e,e[8]}(n),Jr().handleSearchClick(o)}),Xe(4,"p"),eo(5),Xe(6,"span",7),eo(7),function Mg(e,t){const n=j();let r;const o=e+K;n.firstCreatePass?(r=function n0(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=mn(r.type)),s=Wt(v);try{const a=Qo(!1),u=i();return Qo(a),function Dw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,y(),o,u),u}finally{Wt(s)}}(8,"stripHtml"),Ft()(),function fd(){S.lFrame.currentNamespace="svg"}(),Xe(9,"svg",8)(10,"g",9),mu(11,"path",10)(12,"path",11),Ft()()()(),Kr()}if(2&e){const n=Jr(),r=function Oh(e){return On(function UD(){return S.lFrame.contextLView}(),K+e)}(3);dt(1),dr("js-hidden",!n.showSuggestions),Yr("id","",n.componentId,"_autocomplete-suggestions"),dt(1),Dn("ngIf",n.suggestions$.length>0),dt(3),to(" ",null==n.labels?null:n.labels.search," "),dt(2),to('"',Ig(8,6,r.value),'"')}}let FF=(()=>{class e{constructor(n,r,o,i){this.window=n,this.autosuggestService=r,this.formBuilder=o,this.elementRef=i,this.destroy=new vr,this.componentId=self.crypto.randomUUID(),this.autosuggestEnabled=!0,this.searchType="search",this.changeEvent=new _e,this.showSuggestions=!1,this.currentFocusedSuggestion=-1,this.searchForm=this.formBuilder.group({term:""}),this.suggestions$=[],this.enterKeyPressed=!1}documentClick(n){this.elementRef.nativeElement.contains(n)||(this.showSuggestions=!1)}get labels(){if(this.localizedLabels)return{placeholder:this.localizedLabels[this.searchType+"_searchbox_placeholder"],results:this.localizedLabels[this.searchType+"_autosuggest_results"],search:this.localizedLabels[this.searchType+"_autosuggest_search"]}}ngOnInit(){var n,r;this.autosuggestService.setIdentifierAndLanguage(this.identifier,null!==(r=null===(n=document.querySelector("html"))||void 0===n?void 0:n.getAttribute("lang"))&&void 0!==r?r:"nl"),this.initialTerm&&this.searchForm.setValue({term:this.initialTerm}),this.searchForm.valueChanges.pipe(Ql(this.destroy)).subscribe(({term:o})=>{this.changeEvent.emit(o)}),this.autosuggestEnabled&&this.searchForm.valueChanges.pipe(Ql(this.destroy),function oF(e,t=rF){return ot((n,r)=>{let o=null,i=null,s=null;const a=()=>{if(o){o.unsubscribe(),o=null;const l=i;i=null,r.next(l)}};function u(){const l=s+e,c=t.now();if(c<l)return o=this.schedule(void 0,l-c),void r.add(o);a()}n.subscribe(qe(r,l=>{i=l,s=t.now(),o||(o=t.schedule(u,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}(250),function iF(e,t=vs){return e=null!=e?e:sF,ot((n,r)=>{let o,i=!0;n.subscribe(qe(r,s=>{const a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}((o,i)=>o.term===i.term)).subscribe(({term:o})=>{this.enterKeyPressed||(this.showSuggestions=o.length>0),this.autosuggestService.getSuggestionResults(o).pipe(Ql(this.destroy)).subscribe(i=>{this.currentFocusedSuggestion=-1,this.suggestions$=i.resultData})}),"string"==typeof this.localizedLabels&&(this.localizedLabels=JSON.parse(this.localizedLabels))}ngOnChanges(n){n.initialTerm.previousValue!==n.initialTerm.currentValue&&(this.showSuggestions=!1,this.searchForm.setValue({term:n.initialTerm.currentValue}))}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}onKeyUp(n){const r="ArrowUp"===n.key||38===n.keyCode,i="Enter"===n.key||13===n.keyCode,s="Escape"===n.key||27===n.keyCode;(r||"ArrowDown"===n.key||40===n.keyCode)&&(this.handleSuggestionFocus(r?"up":"down"),n.preventDefault()),s&&(this.showSuggestions=!1,this.currentFocusedSuggestion=-1),i&&-1!==this.currentFocusedSuggestion?(n.preventDefault(),this.window.location.href=this.suggestions$[this.currentFocusedSuggestion].url):i&&(this.showSuggestions=!1,this.enterKeyPressed=!0),i||(this.enterKeyPressed=!1)}handleSearchClick(n){this.showSuggestions=!1}handleSuggestionFocus(n){!this.termInput.nativeElement||("up"===n&&(0===this.currentFocusedSuggestion?(this.currentFocusedSuggestion=-1,this.termInput.nativeElement.focus()):-1===this.currentFocusedSuggestion?this.currentFocusedSuggestion=this.suggestions$.length-1:this.currentFocusedSuggestion-=1),"down"===n&&(this.currentFocusedSuggestion===this.suggestions$.length-1?(this.currentFocusedSuggestion=-1,this.termInput.nativeElement.focus()):this.currentFocusedSuggestion+=1))}}return e.\u0275fac=function(n){return new(n||e)(v(Window),v(bF),v(kT),v(et))},e.\u0275cmp=Ps({type:e,selectors:[["app-searchbox-autosuggest"]],viewQuery:function(n,r){if(1&n&&Pg(IF,5),2&n){let o;Ng(o=function Og(){return function E0(e,t){return e[19].queries[t].queryList}(y(),sd())}())&&(r.termInput=o.first)}},hostBindings:function(n,r){1&n&&Ve("click",function(i){return r.documentClick(i.target)},!1,nf)},inputs:{autosuggestEnabled:"autosuggestEnabled",searchType:"searchType",ariaLabelledby:"ariaLabelledby",localizedLabels:"localizedLabels",initialTerm:"initialTerm",identifier:"identifier"},outputs:{changeEvent:"changeEvent"},features:[wt],decls:5,vars:8,consts:[[1,"autocomplete-wrapper",3,"formGroup"],[1,"autocomplete-input"],["formControlName","term","type","search","name","s","autocomplete","off",1,"prominent-searchbox__input",3,"placeholder","keydown"],["termInput",""],[4,"ngIf"],["aria-labelledby","menu-searchbox-title","role","listbox",1,"autocomplete-wrapper__suggestions",3,"id"],["type","submit",1,"autocomplete-wrapper__suggestions__footer",3,"click"],[1,"bold"],["height","21","aria-hidden","true","viewBox","0 0 21 21","width","21","xmlns","http://www.w3.org/2000/svg",1,"icon"],["fill","none","fill-rule","evenodd","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round","transform","translate(4 6)"],["d","m9.5.497 4 4.002-4 4.001"],["d","m.5 4.5h13"],[1,"autocomplete-wrapper__suggestions__heading"],[1,"autocomplete-wrapper__suggestions__list"],["role","option",3,"id","js-focus",4,"ngFor","ngForOf"],["role","option",3,"id"],[3,"href"]],template:function(n,r){if(1&n&&(Xe(0,"div",0)(1,"div",1)(2,"input",2,3),Ve("keydown",function(i){return r.onKeyUp(i)}),Ft()(),vi(4,TF,13,8,"ng-container",4),Ft()),2&n){let o,i;Dn("formGroup",r.searchForm),dt(2),_u("placeholder",null!==(o=null==r.labels?null:r.labels.placeholder)&&void 0!==o?o:""),pt("aria-activedescendant",r.autosuggestEnabled?r.currentFocusedSuggestion?"result-item-"+r.currentFocusedSuggestion:"":null)("role",r.autosuggestEnabled?"combobox":null)("aria-labelledby",null!==(i=r.ariaLabelledby)&&void 0!==i?i:"")("aria-controls",r.autosuggestEnabled?r.componentId+"_autocomplete-suggestions":null)("aria-expanded",r.autosuggestEnabled?r.showSuggestions?"true":"false":null),dt(2),Dn("ngIf",r.autosuggestEnabled)}},directives:[Iy,cs,Yi,My,Ul,Rm,Pm],pipes:[MF],encapsulation:2}),e})(),xF=(()=>{class e{constructor(n){this.injector=n;const r=function XT(e,t){const n=function qT(e,t){return t.get(pr).resolveComponentFactory(e).inputs}(e,t.injector),r=t.strategyFactory||new KT(e,t.injector),o=function zT(e){const t={};return e.forEach(({propName:n,templateName:r})=>{t[function jT(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}(r)]=n}),t}(n);class i extends YT{constructor(a){super(),this.injector=a}get ngElementStrategy(){if(!this._ngElementStrategy){const a=this._ngElementStrategy=r.create(this.injector||t.injector);n.forEach(({propName:u})=>{if(!this.hasOwnProperty(u))return;const l=this[u];delete this[u],a.setInputValue(u,l)})}return this._ngElementStrategy}attributeChangedCallback(a,u,l,c){this.ngElementStrategy.setInputValue(o[a],l)}connectedCallback(){let a=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),a=!0),this.ngElementStrategy.connect(this),a||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(a=>{const u=new CustomEvent(a.name,{detail:a.value});this.dispatchEvent(u)})}}return i.observedAttributes=Object.keys(o),n.forEach(({propName:s})=>{Object.defineProperty(i.prototype,s,{get(){return this.ngElementStrategy.getInputValue(s)},set(a){this.ngElementStrategy.setInputValue(s,a)},configurable:!0,enumerable:!0})}),i}(FF,{injector:n});customElements.define("auto-suggest",r)}ngDoBootstrap(){}}return e.\u0275fac=function(n){return new(n||e)(V(Re))},e.\u0275mod=Ct({type:e}),e.\u0275inj=it({providers:[{provide:Window,useValue:window}],imports:[[DS,s_,wF]]}),e})();(function lI(){dm=!1})(),yS().bootstrapModule(xF).catch(e=>console.error(e))}},Y=>{Y(Y.s=634)}]);;;
