<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* @public_path/dist/0.2bf35b2cad2008573fe3.chunk.js */
class __TwigTemplate_b1745c7ece93351b28fb1bc85820f04369c1580113f467eb64cf90847404c4c8 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@public_path/dist/0.2bf35b2cad2008573fe3.chunk.js"));

        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@public_path/dist/0.2bf35b2cad2008573fe3.chunk.js"));

        yield "webpackJsonp([0],{\"+0cU\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){function t(){}return t.prototype.ngOnInit=function(){},t}()},\"+Qf+\":function(t,e,n){\"use strict\";var r;n.d(e,\"a\",function(){return r}),function(t){t[t.PREV=0]=\"PREV\",t[t.NEXT=1]=\"NEXT\"}(r||(r={}))},\"+dDw\":function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return o}),n.d(e,\"a\",function(){return l});var r=n(\"WT6e\"),i=(n(\"mN9t\"),Object(r.forwardRef)(function(){return o}),0),o=function(){function t(){this._radios=new Set,this._value=null,this.name=\"ngb-radio-\"+i++,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,\"disabled\",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}(),l=function(){function t(t,e,n,r){this._group=t,this._label=e,this._renderer=n,this._element=r,this._value=null,this._group.register(this)}return Object.defineProperty(t.prototype,\"value\",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():\"\";this._renderer.setProperty(this._element.nativeElement,\"value\",e),this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"disabled\",{get:function(){return this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"focused\",{set:function(t){this._label&&(this._label.focused=t),t||this._group.onTouched()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"checked\",{get:function(){return this._checked},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"nameAttr\",{get:function(){return this.name||this._group.name},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group.unregister(this)},t.prototype.onChange=function(){this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t,this._label.active=this._checked},t.prototype.updateDisabled=function(){this._label.disabled=this.disabled},t}()},\"/I96\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"l5HU\");var r=n(\"DDfv\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"/KGk\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=n(\"+Qf+\"),l=n(\"2yGx\"),u=n(\"RTdB\"),a=(Object(r.forwardRef)(function(){return a}),function(){function t(t,e,n,i,o,l,a,s){var c=this;this._keyMapService=t,this._service=e,this._calendar=n,this.i18n=i,this._cd=l,this._elementRef=a,this._ngbDateAdapter=s,this.navigate=new r.EventEmitter,this.select=new r.EventEmitter,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=o.dayTemplate,this.displayMonths=o.displayMonths,this.firstDayOfWeek=o.firstDayOfWeek,this.markDisabled=o.markDisabled,this.minDate=o.minDate,this.maxDate=o.maxDate,this.navigation=o.navigation,this.outsideDays=o.outsideDays,this.showWeekdays=o.showWeekdays,this.showWeekNumbers=o.showWeekNumbers,this.startDate=o.startDate,this._selectSubscription=e.select\$.subscribe(function(t){c.select.emit(t.toStruct())}),this._subscription=e.model\$.subscribe(function(t){var e=t.firstDate,n=c.model?c.model.firstDate:null,r=t.selectedDate,i=c.model?c.model.selectedDate:null;c.model=t,Object(u.f)(r,i)&&(c.onTouched(),c.onChange(c._ngbDateAdapter.toModel(r))),e.equals(n)||c.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:e.year,month:e.month}}),l.markForCheck()})}return t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype.navigateTo=function(t){this._service.open(i.a.from(t))},t.prototype.ngOnDestroy=function(){this._subscription.unsubscribe(),this._selectSubscription.unsubscribe()},t.prototype.ngOnInit=function(){void 0===this.model&&(this._service.displayMonths=Object(l.h)(this.displayMonths),this._service.markDisabled=this.markDisabled,this._service.firstDayOfWeek=this.firstDayOfWeek,this._service.navigation=this.navigation,this._service.minDate=i.a.from(this.minDate),this._service.maxDate=i.a.from(this.maxDate),this.navigateTo(this.startDate))},t.prototype.ngOnChanges=function(t){t.displayMonths&&(this._service.displayMonths=Object(l.h)(this.displayMonths)),t.markDisabled&&(this._service.markDisabled=this.markDisabled),t.firstDayOfWeek&&(this._service.firstDayOfWeek=this.firstDayOfWeek),t.navigation&&(this._service.navigation=this.navigation),t.minDate&&(this._service.minDate=i.a.from(this.minDate)),t.maxDate&&(this._service.maxDate=i.a.from(this.maxDate)),t.startDate&&this.navigateTo(this.startDate)},t.prototype.onDateSelect=function(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})},t.prototype.onKeyDown=function(t){this._keyMapService.processKey(t)},t.prototype.onNavigateDateSelect=function(t){this._service.open(t)},t.prototype.onNavigateEvent=function(t){switch(t){case o.a.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,\"m\",1));break;case o.a.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,\"m\",1))}},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._service.disabled=t},t.prototype.showFocus=function(t){this._service.focusVisible=t},t.prototype.writeValue=function(t){this._service.select(i.a.from(this._ngbDateAdapter.fromModel(t)))},t}())},\"/PMa\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n.d(e,\"b\",function(){return o});var r=n(\"WT6e\"),i=function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n},o=function(){function t(t,e,n,r,i){this._type=t,this._injector=e,this._viewContainerRef=n,this._renderer=r,this._componentFactoryResolver=i}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof r.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new i([n.rootNodes],n)}return new i([[this._renderer.createText(\"\"+t)]])}return new i([])},t}()},\"/i+G\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"2yGx\"),o=function(){function t(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new r.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+(this.maxSize%2==0?n-1:n)),[t,e]},t.prototype._applyPagination=function(){var t=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[t,t+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=Object(i.a)(t,this.pageCount,1),this.page!==e&&Object(i.d)(this.collectionSize)&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),Object(i.d)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var n=0,r=this.pageCount;this.rotate?(n=(o=this._applyRotation())[0],r=o[1]):(n=(l=this._applyPagination())[0],r=l[1]),this.pages=this.pages.slice(n,r),this._applyEllipses(n,r)}var o,l},t}()},\"0DDR\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a});var r=n(\"WT6e\"),i=n(\"xOmt\"),o=n(\"Xjw4\"),l=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,4,\"div\",[[\"role\",\"document\"]],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,1,\"div\",[[\"class\",\"modal-content\"]],null,null,null,null,null)),r[\"\\u0275ncd\"](null,0),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],null,function(t,e){var n=e.component;t(e,1,0,\"modal-dialog\"+(n.size?\" modal-\"+n.size:\"\")+(n.centered?\" modal-dialog-centered\":\"\"))})}var a=r[\"\\u0275ccf\"](\"ngb-modal-window\",i.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-modal-window\",[[\"role\",\"dialog\"],[\"tabindex\",\"-1\"]],[[8,\"className\",0]],[[null,\"keyup.esc\"],[null,\"click\"]],function(t,e,n){var i=!0;return\"keyup.esc\"===e&&(i=!1!==r[\"\\u0275nov\"](t,1).escKey(n)&&i),\"click\"===e&&(i=!1!==r[\"\\u0275nov\"](t,1).backdropClick(n)&&i),i},u,l)),r[\"\\u0275did\"](1,4440064,null,0,i.a,[o.c,r.ElementRef,r.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,\"modal fade show d-block\"+(r[\"\\u0275nov\"](e,1).windowClass?\" \"+r[\"\\u0275nov\"](e,1).windowClass:\"\"))})},{backdrop:\"backdrop\",centered:\"centered\",keyboard:\"keyboard\",size:\"size\",windowClass:\"windowClass\"},{dismissEvent:\"dismiss\"},[\"*\"])},\"1Wt5\":function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=n(\"EzwU\"),l=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".ngb-highlight[_ngcontent-%COMP%] {\\n      font-weight: bold;\\n    }\"],data:{}});function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"span\",[],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\",\"\"]))],null,function(t,e){t(e,0,0,r[\"\\u0275inlineInterpolate\"](1,\"\",e.component.highlightClass,\"\")),t(e,1,0,e.parent.context.\$implicit)})}function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](0,null,[\"\",\"\"]))],null,function(t,e){t(e,0,0,e.parent.context.\$implicit)})}function s(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,u)),r[\"\\u0275did\"](1,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275and\"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function c(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,s)),r[\"\\u0275did\"](1,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}var f=n(\"2BXm\");n.d(e,\"a\",function(){return g});var h=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,1,\"ngb-highlight\",[],null,null,null,c,l)),r[\"\\u0275did\"](2,573440,null,0,o.a,[],{result:[0,\"result\"],term:[1,\"term\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function d(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](0,null,null,0))],null,null)}function y(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,5,\"button\",[[\"class\",\"dropdown-item\"],[\"role\",\"option\"],[\"type\",\"button\"]],[[8,\"id\",0],[2,\"active\",null]],[[null,\"mouseenter\"],[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"mouseenter\"===e&&(r=!1!==i.markActive(t.context.index)&&r),\"click\"===e&&(r=!1!==i.select(t.context.\$implicit)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,2,null,d)),r[\"\\u0275did\"](4,540672,null,0,i.p,[r.ViewContainerRef],{ngTemplateOutletContext:[0,\"ngTemplateOutletContext\"],ngTemplateOutlet:[1,\"ngTemplateOutlet\"]},null),r[\"\\u0275pod\"](5,{result:0,term:1,formatter:2}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,4,0,t(e,5,0,e.context.\$implicit,n.term,n.formatter),n.resultTemplate||r[\"\\u0275nov\"](e.parent,1))},function(t,e){var n=e.component;t(e,1,0,n.id+\"-\"+e.context.index,e.context.index===n.activeIdx)})}function v(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](0,[[\"rt\",2]],null,0,null,p)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,y)),r[\"\\u0275did\"](4,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){t(e,4,0,e.component.results)},null)}var g=r[\"\\u0275ccf\"](\"ngb-typeahead-window\",f.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-typeahead-window\",[[\"class\",\"dropdown-menu show\"],[\"role\",\"listbox\"]],[[8,\"id\",0]],null,null,v,h)),r[\"\\u0275did\"](1,114688,null,0,f.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,r[\"\\u0275nov\"](e,1).id)})},{id:\"id\",focusFirst:\"focusFirst\",results:\"results\",term:\"term\",formatter:\"formatter\",resultTemplate:\"resultTemplate\"},{selectEvent:\"select\",activeChangeEvent:\"activeChange\"},[])},\"1Z2I\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"W5jB\");var r=n(\"nCuf\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"2BXm\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"2yGx\"),o=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=i.i,this.selectEvent=new r.EventEmitter,this.activeChangeEvent=new r.EventEmitter}return t.prototype.hasActive=function(){return this.activeIdx>-1&&this.activeIdx<this.results.length},t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+\"-\"+this.activeIdx:void 0)},t}()},\"2MpB\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"WtNX\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".bs-popover-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: 50%;\\n      margin-left: -5px;\\n    }\\n\\n    .bs-popover-top-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-bottom-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: 2em;\\n    }\\n\\n    .bs-popover-top-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-bottom-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: auto;\\n      right: 2em;\\n    }\\n\\n    .bs-popover-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: 50%;\\n      margin-top: -5px;\\n    }\\n    \\n    .bs-popover-left-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-right-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: 0.7em;\\n    }\\n\\n    .bs-popover-left-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-right-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: auto;\\n      bottom: 0.7em;\\n    }\"],data:{}});function l(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,0,\"div\",[[\"class\",\"arrow\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,1,\"h3\",[[\"class\",\"popover-header\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](4,null,[\"\",\"\"])),(t()(),r[\"\\u0275eld\"](5,0,null,null,1,\"div\",[[\"class\",\"popover-body\"]],null,null,null,null,null)),r[\"\\u0275ncd\"](null,0)],null,function(t,e){t(e,4,0,e.component.title)})}var u=r[\"\\u0275ccf\"](\"ngb-popover-window\",i.b,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-popover-window\",[[\"role\",\"tooltip\"]],[[8,\"className\",0],[8,\"id\",0]],null,null,l,o)),r[\"\\u0275did\"](1,49152,null,0,i.b,[r.ElementRef,r.Renderer2],null,null)],null,function(t,e){t(e,0,0,\"popover bs-popover-\"+r[\"\\u0275nov\"](e,1).placement.split(\"-\")[0]+\" bs-popover-\"+r[\"\\u0275nov\"](e,1).placement,r[\"\\u0275nov\"](e,1).id)})},{placement:\"placement\",title:\"title\",id:\"id\"},{},[\"*\"])},\"2yGx\":function(t,e,n){\"use strict\";function r(t){return parseInt(\"\"+t,10)}function i(t){return!isNaN(r(t))}e.h=r,e.i=function(t){return void 0!==t&&null!==t?\"\"+t:\"\"},e.a=function(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)},e.e=function(t){return\"string\"==typeof t},e.d=i,e.c=function(t){return\"number\"==typeof t&&isFinite(t)&&Math.floor(t)===t},e.b=function(t){return void 0!==t&&null!==t},e.f=function(t){return i(t)?(\"0\"+t).slice(-2):\"\"},e.g=function(t){return t.replace(/[-[\\]{}()*+?.,\\\\^\$|#\\s]/g,\"\\\\\$&\")}},\"36xC\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){}},\"3IRH\":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,\"loaded\",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,\"id\",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},\"3fcS\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"+Qf+\"),o=function(){return function(t){this.i18n=t,this.navigation=i.a,this.months=[],this.navigate=new r.EventEmitter,this.select=new r.EventEmitter}}()},\"3kwk\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r}),n(\"CXHW\");var r=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}()},\"4qxJ\":function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return u}),e.c=s,n.d(e,\"a\",function(){return c});var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=n(\"s28n\"),l=n(\"gFLb\"),u=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"button\",[[\"aria-label\",\"Close\"],[\"class\",\"close\"],[\"type\",\"button\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.closeHandler()&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xd7\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,null)}function s(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,6,\"div\",[[\"role\",\"alert\"]],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](4,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),r[\"\\u0275ncd\"](null,0),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,4,0,e.component.dismissible)},function(t,e){var n=e.component;t(e,1,0,\"alert alert-\"+n.type+(n.dismissible?\" alert-dismissible\":\"\"))})}var c=r[\"\\u0275ccf\"](\"ngb-alert\",o.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-alert\",[],null,null,null,s,u)),r[\"\\u0275did\"](1,49152,null,0,o.a,[l.a],null,null)],null,null)},{dismissible:\"dismissible\",type:\"type\"},{close:\"close\"},[\"*\"])},\"5ZV5\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.doSelect=function(t){t.context.disabled||this.isHidden(t)||this.select.emit(i.a.from(t.date))},t.prototype.isCollapsed=function(t){return\"collapsed\"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return(\"hidden\"===this.outsideDays||\"collapsed\"===this.outsideDays)&&this.month.number!==t.date.month},t}()},\"62nT\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"OEcN\");var r=n(\"tyH+\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"63KW\":function(t,e,n){\"use strict\";(function(t){var r=n(\"EKta\"),i=n(\"ujcs\"),o=n(\"sOR5\");function l(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(l()<e)throw new RangeError(\"Invalid typed array length\");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=a.prototype:(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(t,e,n);if(\"number\"==typeof t){if(\"string\"==typeof e)throw new Error(\"If encoding is specified then the first argument must be a string\");return f(this,t)}return s(this,t,e,n)}function s(t,e,n,r){if(\"number\"==typeof e)throw new TypeError('\"value\" argument must not be a number');return\"undefined\"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(n<0||e.byteLength<n)throw new RangeError(\"'offset' is out of bounds\");if(e.byteLength<n+(r||0))throw new RangeError(\"'length' is out of bounds\");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),a.TYPED_ARRAY_SUPPORT?(t=e).__proto__=a.prototype:t=h(t,e),t}(t,e,n,r):\"string\"==typeof e?function(t,e,n){if(\"string\"==typeof n&&\"\"!==n||(n=\"utf8\"),!a.isEncoding(n))throw new TypeError('\"encoding\" must be a valid string encoding');var r=0|d(e,n),i=(t=u(t,r)).write(e,n);return i!==r&&(t=t.slice(0,i)),t}(t,e,n):function(t,e){if(a.isBuffer(e)){var n=0|p(e.length);return 0===(t=u(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if(\"undefined\"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||\"length\"in e)return\"number\"!=typeof e.length||(r=e.length)!=r?u(t,0):h(t,e);if(\"Buffer\"===e.type&&o(e.data))return h(t,e.data)}var r;throw new TypeError(\"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.\")}(t,e)}function c(t){if(\"number\"!=typeof t)throw new TypeError('\"size\" argument must be a number');if(t<0)throw new RangeError('\"size\" argument must not be negative')}function f(t,e){if(c(e),t=u(t,e<0?0:0|p(e)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|p(e.length);t=u(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function p(t){if(t>=l())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+l().toString(16)+\" bytes\");return 0|t}function d(t,e){if(a.isBuffer(t))return t.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;\"string\"!=typeof t&&(t=\"\"+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":case void 0:return B(t).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*n;case\"hex\":return n>>>1;case\"base64\":return F(t).length;default:if(r)return B(t).length;e=(\"\"+e).toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if(\"string\"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if(\"string\"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:g(t,e,n,r,i);if(\"number\"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,r,i);throw new TypeError(\"val must be string, number or Buffer\")}function g(t,e,n,r,i){var o,l=1,u=t.length,a=e.length;if(void 0!==r&&(\"ucs2\"===(r=String(r).toLowerCase())||\"ucs-2\"===r||\"utf16le\"===r||\"utf-16le\"===r)){if(t.length<2||e.length<2)return-1;l=2,u/=2,a/=2,n/=2}function s(t,e){return 1===l?t[e]:t.readUInt16BE(e*l)}if(i){var c=-1;for(o=n;o<u;o++)if(s(t,o)===s(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===a)return c*l}else-1!==c&&(o-=o-c),c=-1}else for(n+a>u&&(n=u-a),o=n;o>=0;o--){for(var f=!0,h=0;h<a;h++)if(s(t,o+h)!==s(e,h)){f=!1;break}if(f)return o}return-1}function b(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");r>o/2&&(r=o/2);for(var l=0;l<r;++l){var u=parseInt(e.substr(2*l,2),16);if(isNaN(u))return l;t[n+l]=u}return l}function m(t,e,n,r){return U(B(e,t.length-n),t,n,r)}function _(t,e,n,r){return U(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return _(t,e,n,r)}function O(t,e,n,r){return U(F(e),t,n,r)}function x(t,e,n,r){return U(function(t,e){for(var n,r,i=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(e,t.length-n),t,n,r)}function k(t,e,n){return r.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,l,u,a,s=t[i],c=null,f=s>239?4:s>223?3:s>191?2:1;if(i+f<=n)switch(f){case 1:s<128&&(c=s);break;case 2:128==(192&(o=t[i+1]))&&(a=(31&s)<<6|63&o)>127&&(c=a);break;case 3:l=t[i+2],128==(192&(o=t[i+1]))&&128==(192&l)&&(a=(15&s)<<12|(63&o)<<6|63&l)>2047&&(a<55296||a>57343)&&(c=a);break;case 4:l=t[i+2],u=t[i+3],128==(192&(o=t[i+1]))&&128==(192&l)&&128==(192&u)&&(a=(15&s)<<18|(63&o)<<12|(63&l)<<6|63&u)>65535&&a<1114112&&(c=a)}null===c?(c=65533,f=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(t){var e=t.length;if(e<=C)return String.fromCharCode.apply(String,t);for(var n=\"\",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=C));return n}(r)}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&\"function\"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=l(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,n){return s(null,t,e,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,\"undefined\"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,n){return function(t,e,n,r){return c(e),e<=0?u(null,e):void 0!==n?\"string\"==typeof r?u(null,e).fill(n,r):u(null,e).fill(n):u(null,e)}(0,t,e,n)},a.allocUnsafe=function(t){return f(null,t)},a.allocUnsafeSlow=function(t){return f(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError(\"Arguments must be Buffers\");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}},a.concat=function(t,e){if(!o(t))throw new TypeError('\"list\" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=a.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var l=t[n];if(!a.isBuffer(l))throw new TypeError('\"list\" argument must be an Array of Buffers');l.copy(r,i),i+=l.length}return r},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},a.prototype.toString=function(){var t=0|this.length;return 0===t?\"\":0===arguments.length?E(this,0,t):(function(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return\"\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\"\";if((n>>>=0)<=(e>>>=0))return\"\";for(t||(t=\"utf8\");;)switch(t){case\"hex\":return A(this,e,n);case\"utf8\":case\"utf-8\":return E(this,e,n);case\"ascii\":return T(this,e,n);case\"latin1\":case\"binary\":return j(this,e,n);case\"base64\":return k(this,e,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return P(this,e,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+t);t=(t+\"\").toLowerCase(),r=!0}}).apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t=\"\",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString(\"hex\",0,n).match(/.{2}/g).join(\" \"),this.length>n&&(t+=\" ... \")),\"<Buffer \"+t+\">\"},a.prototype.compare=function(t,e,n,r,i){if(!a.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError(\"out of range index\");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,l=n-e,u=Math.min(o,l),s=this.slice(r,i),c=t.slice(e,n),f=0;f<u;++f)if(s[f]!==c[f]){o=s[f],l=c[f];break}return o<l?-1:l<o?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r=\"utf8\",n=this.length,e=0;else if(void 0===n&&\"string\"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");e|=0,isFinite(n)?(n|=0,void 0===r&&(r=\"utf8\")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");r||(r=\"utf8\");for(var o=!1;;)switch(r){case\"hex\":return b(this,t,e,n);case\"utf8\":case\"utf-8\":return m(this,t,e,n);case\"ascii\":return _(this,t,e,n);case\"latin1\":case\"binary\":return w(this,t,e,n);case\"base64\":return O(this,t,e,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return x(this,t,e,n);default:if(o)throw new TypeError(\"Unknown encoding: \"+r);r=(\"\"+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function T(t,e,n){var r=\"\";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function j(t,e,n){var r=\"\";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function A(t,e,n){var r,i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var o=\"\",l=e;l<n;++l)o+=(r=t[l])<16?\"0\"+r.toString(16):r.toString(16);return o}function P(t,e,n){for(var r=t.slice(e,n),i=\"\",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function R(t,e,n){if(t%1!=0||t<0)throw new RangeError(\"offset is not uint\");if(t+e>n)throw new RangeError(\"Trying to access beyond buffer length\")}function S(t,e,n,r,i,o){if(!a.isBuffer(t))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('\"value\" argument is out of bounds');if(n+r>t.length)throw new RangeError(\"Index out of range\")}function N(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function D(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function M(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function q(t,e,n,r,o){return o||M(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function I(t,e,n,r,o){return o||M(t,0,n,8),i.write(t,e,n,r,52,8),n+8}a.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),a.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=a.prototype;else{var i=e-t;n=new a(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},a.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},a.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},a.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),i.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),i.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),i.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),i.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||S(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},a.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||S(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},a.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=0,l=1,u=0;for(this[e]=255&t;++o<n&&(l*=256);)t<0&&0===u&&0!==this[e+o-1]&&(u=1),this[e+o]=(t/l>>0)-u&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=n-1,l=1,u=0;for(this[e+o]=255&t;--o>=0&&(l*=256);)t<0&&0===u&&0!==this[e+o+1]&&(u=1),this[e+o]=(t/l>>0)-u&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,n){return q(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return q(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return I(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return I(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError(\"targetStart out of bounds\");if(n<0||n>=this.length)throw new RangeError(\"sourceStart out of bounds\");if(r<0)throw new RangeError(\"sourceEnd out of bounds\");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},a.prototype.fill=function(t,e,n,r){if(\"string\"==typeof t){if(\"string\"==typeof e?(r=e,e=0,n=this.length):\"string\"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&\"string\"!=typeof r)throw new TypeError(\"encoding must be a string\");if(\"string\"==typeof r&&!a.isEncoding(r))throw new TypeError(\"Unknown encoding: \"+r)}else\"number\"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError(\"Out of range index\");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),\"number\"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var l=a.isBuffer(t)?t:B(new a(t,r).toString()),u=l.length;for(o=0;o<n-e;++o)this[o+e]=l[o%u]}return this};var L=/[^+\\/0-9A-Za-z-_]/g;function B(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],l=0;l<r;++l){if((n=t.charCodeAt(l))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(l+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\\s+|\\s+\$/g,\"\")}(t).replace(L,\"\")).length<2)return\"\";for(;t.length%4!=0;)t+=\"=\";return t}(t))}function U(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(e,n(\"DuR2\"))},\"6uCv\":function(t,e,n){\"use strict\";n.d(e,\"c\",function(){return u}),n.d(e,\"b\",function(){return a}),n.d(e,\"d\",function(){return s}),n.d(e,\"a\",function(){return c});var r,i=n(\"WT6e\"),o=(n(\"c7mC\"),n(\"jRSa\")),l=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(){function t(t,e,n){this.dropdown=t,this._elementRef=e,this._renderer=n,this.placement=\"bottom\",this.isOpen=!1}return t.prototype.isEventFrom=function(t){return this._elementRef.nativeElement.contains(t.target)},t.prototype.position=function(t,e){this.applyPlacement(Object(o.a)(t,this._elementRef.nativeElement,e))},t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._elementRef.nativeElement.parentNode,\"dropup\"),this._renderer.removeClass(this._elementRef.nativeElement.parentNode,\"dropdown\"),this.placement=t,-1!==t.search(\"^top\")?this._renderer.addClass(this._elementRef.nativeElement.parentNode,\"dropup\"):this._renderer.addClass(this._elementRef.nativeElement.parentNode,\"dropdown\")},t}(),a=function(){function t(t,e){this.dropdown=t,this._elementRef=e,this.anchorEl=e.nativeElement}return t.prototype.isEventFrom=function(t){return this._elementRef.nativeElement.contains(t.target)},t}(),s=function(t){function e(e,n){return t.call(this,e,n)||this}return l(e,t),e.prototype.toggleOpen=function(){this.dropdown.toggle()},e}(a),c=function(){function t(t,e){var n=this;this._open=!1,this.openChange=new i.EventEmitter,this.placement=t.placement,this.autoClose=t.autoClose,this._zoneSubscription=e.onStable.subscribe(function(){n._positionMenu()})}return t.prototype.ngOnInit=function(){this._menu&&this._menu.applyPlacement(Array.isArray(this.placement)?this.placement[0]:this.placement)},t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this._positionMenu(),this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&(!0===this.autoClose?this.close():\"inside\"===this.autoClose&&this._isEventFromMenu(t)?this.close():\"outside\"!==this.autoClose||this._isEventFromMenu(t)||this.close())},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},t.prototype.ngOnDestroy=function(){this._zoneSubscription.unsubscribe()},t.prototype._isEventFromToggle=function(t){return this._anchor.isEventFrom(t)},t.prototype._isEventFromMenu=function(t){return!!this._menu&&this._menu.isEventFrom(t)},t.prototype._positionMenu=function(){this.isOpen()&&this._menu&&this._menu.position(this._anchor.anchorEl,this.placement)},t}()},\"7DGp\":function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return o}),n.d(e,\"a\",function(){return l});var r=n(\"TToO\"),i=n(\"2yGx\"),o=function(){},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split(\"-\");if(1===e.length&&Object(i.d)(e[0]))return{year:Object(i.h)(e[0]),month:null,day:null};if(2===e.length&&Object(i.d)(e[0])&&Object(i.d)(e[1]))return{year:Object(i.h)(e[0]),month:Object(i.h)(e[1]),day:null};if(3===e.length&&Object(i.d)(e[0])&&Object(i.d)(e[1])&&Object(i.d)(e[2]))return{year:Object(i.h)(e[0]),month:Object(i.h)(e[1]),day:Object(i.h)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+\"-\"+(Object(i.d)(t.month)?Object(i.f)(t.month):\"\")+\"-\"+(Object(i.d)(t.day)?Object(i.f)(t.day):\"\"):\"\"},e}(o)},\"8HBu\":function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=(n(\"Xjw4\"),n(\"7DMc\"),n(\"OE0E\"),n(\"M4fF\")),o=n(\"YaPU\"),l=n(\"4zOZ\"),u=n(\"+3/4\");o.Observable.empty=u.a.create;var a=n(\"zVgD\");o.Observable.from=a.a;var s=n(\"YWe0\");o.Observable.of=s.a;var c=n(\"BaTJ\");o.Observable.prototype.distinctUntilChanged=function(t,e){return Object(c.a)(t,e)(this)};var f=n(\"E4iY\");o.Observable.prototype.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return f.b.apply(void 0,t)(this)};var h=n(\"5Agy\");o.Observable.prototype.mergeMap=h.a,o.Observable.prototype.flatMap=h.a;var p=n(\"DDro\");o.Observable.prototype.toArray=function(){return Object(p.a)()(this)};var d=n(\"Uw6n\");o.Observable.prototype.filter=d.a,n(\"2fw/\");var y=n(\"ce/b\");n(\"/nXB\"),o.Observable.prototype.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return y.a.apply(void 0,t)(this)};var v=n(\"gL+p\");o.Observable.prototype.map=v.a;var g=n(\"r4tK\");o.Observable.prototype.do=g.a,o.Observable.prototype._do=g.a;var b=n(\"g5jc\");n.d(e,\"b\",function(){return x}),n.d(e,\"a\",function(){return O});var m=function(){function t(t,e,n){void 0===n&&(n=null),this.value=t,this.text=e,this._parent=n,this.type=\"option\",this.cacheRenderedText=null}return Object.defineProperty(t.prototype,\"parent\",{get:function(){return this._parent},enumerable:!0,configurable:!0}),t.prototype.renderText=function(t,e){return this.cacheHighlightText===e&&null!==this.cacheRenderedText||(this.cacheHighlightText=e,this.cacheRenderedText=t.bypassSecurityTrustHtml(this.cacheHighlightText?this.text.replace(new RegExp(this.cacheHighlightText,\"gi\"),\"<strong>\$&</strong>\"):this.text)),this.cacheRenderedText},t}(),_=function(){function t(t,e){void 0===e&&(e=[]),this.label=t,this.options=e,this.type=\"optgroup\",this.filter(function(){return!0})}return t.prototype.filter=function(t){this.optionsFiltered=this.options.filter(function(e){return t(e)})},t}(),w=function(){var t={first:0,previous:1,next:2,last:3};return t[t.first]=\"first\",t[t.previous]=\"previous\",t[t.next]=\"next\",t[t.last]=\"last\",t}(),O=function(){function t(t,e){var n,u=this;this.sanitizer=t,this.optionValueField=\"id\",this.optionTextField=\"text\",this.optGroupLabelField=\"label\",this.optGroupOptionsField=\"options\",this.multiple=!1,this.allowClear=!1,this.placeholder=\"\",this.noAutoComplete=!1,this.disabled=!1,this.defaultValue=[],this.typed=new r.EventEmitter,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.optionsOpened=!1,this.actualValue=[],this.subjOptions=new l.a([]),this.subjSearchText=new l.a(\"\"),this.subjOptionsSelected=new l.a([]),this.subjExternalValue=new l.a([]),this.subjDefaultValue=new l.a([]),this.subjRegisterOnChange=new b.a,this._focusToInput=!1,this.isFocused=!1,this.onChange=function(t){return t},this.onTouched=function(){return null},this.itemsDiffer=e.find([]).create(null),this.defaultValueDiffer=e.find([]).create(null),this.typed.subscribe(function(t){return u.subjSearchText.next(t)});var a=this.subjExternalValue.map(function(t){return n=null===t?[]:[].concat(t)}).merge(this.subjOptionsSelected.map(function(t){return t.map(function(t){return t.value})})).combineLatest(this.subjDefaultValue,function(t,e){var n=Object(i.isEqual)(t,e)?[]:t;return n.length?n:e}).distinctUntilChanged(function(t,e){return Object(i.isEqual)(t,e)}).share();a.combineLatest(this.subjRegisterOnChange,function(t){return t}).subscribe(function(t){u.actualValue=t,Object(i.isEqual)(t,n)||(n=t,u.onChange(u.multiple?t:t.length?t[0]:null))}),this.subjOptions.flatMap(function(t){return o.Observable.from(t).flatMap(function(t){return t instanceof m?o.Observable.of(t):t instanceof _?o.Observable.from(t.options):o.Observable.empty()}).toArray()}).combineLatest(a,function(t,e){o.Observable.from(t).filter(function(t){return-1!==e.indexOf(t.value)}).toArray().filter(function(t){return!Object(i.isEqual)(t,u.subjOptionsSelected.value)}).subscribe(function(t){return u.subjOptionsSelected.next(t)})}).subscribe(),this.subjOptions.combineLatest(this.subjOptionsSelected,this.subjSearchText,function(t,e,n){return u.filterOptions(n,t,e)}).subscribe(function(t){u.optionsFiltered=t,u.cacheOptionsFilteredFlat=null})}return Object.defineProperty(t.prototype,\"optionsSelected\",{get:function(){return this.subjOptionsSelected.value},enumerable:!0,configurable:!0}),t.prototype.mainClicked=function(t){t.clickedSelectComponent=this,this.isFocused||(this.isFocused=!0,this.focus.emit())},t.prototype.documentClick=function(t){t.clickedSelectComponent!==this&&(this.optionsOpened&&this.optionsClose(),this.isFocused&&(this.isFocused=!1,this.blur.emit()))},t.prototype.navigateOption=function(t){var e=this;(this.cacheOptionsFilteredFlat?o.Observable.of(this.cacheOptionsFilteredFlat):o.Observable.from(this.optionsFiltered).flatMap(function(t){return t instanceof m?o.Observable.of(t):t instanceof _?o.Observable.from(t.optionsFiltered):o.Observable.empty()}).toArray().do(function(t){return e.cacheOptionsFilteredFlat=t})).map(function(n){var r;switch(t){case w.first:return n[0];case w.previous:return(r=n.indexOf(e.optionActive)-1)>=0?n[r]:n[n.length-1];case w.next:return(r=n.indexOf(e.optionActive)+1)<n.length?n[r]:n[0];case w.last:return n[n.length-1]}}).subscribe(function(t){return e.optionActive=t})},t.prototype.ngDoCheck=function(){this.itemsDiffer.diff(this.items)&&this.subjOptions.next(this.buildOptions(this.items));var t=this.defaultValue?[].concat(this.defaultValue):[];this.defaultValueDiffer.diff(t)&&this.subjDefaultValue.next(t)},t.prototype.ngAfterContentChecked=function(){this._focusToInput&&this.checkInputVisibility()&&this.inputElRef&&this.inputElRef.nativeElement!==document.activeElement&&(this._focusToInput=!1,this.inputElRef.nativeElement.focus())},t.prototype.canClearNotMultiple=function(){return this.allowClear&&!!this.subjOptionsSelected.value.length&&(!this.subjDefaultValue.value.length||this.subjDefaultValue.value[0]!==this.actualValue[0])},t.prototype.focusToInput=function(){this._focusToInput=!0},t.prototype.inputKeyDown=function(t){if(13===t.keyCode)t.preventDefault(),t.stopPropagation(),this.optionsOpened?(this.optionSelect(this.optionActive),this.navigateOption(w.next)):this.optionsOpen();else if(this.optionsOpened&&-1!==[37,38,39,40].indexOf(t.keyCode))switch(t.preventDefault(),t.stopPropagation(),t.keyCode){case 37:this.navigateOption(w.first);break;case 38:this.navigateOption(w.previous);break;case 39:this.navigateOption(w.last);break;case 40:this.navigateOption(w.next)}else this.optionsOpened||46!==t.keyCode||this.optionRemove(this.subjOptionsSelected.value[this.subjOptionsSelected.value.length-1],t)},t.prototype.mainKeyUp=function(t){27===t.keyCode&&this.optionsClose(!0)},t.prototype.trackByOption=function(t,e){return e instanceof m?e.value:e instanceof _?e.label:e},t.prototype.checkInputVisibility=function(){return!0===this.multiple||this.optionsOpened&&!this.noAutoComplete},t.prototype.inputKeyUp=function(t,e){void 0===e&&(e=\"\"),this.optionsOpened?!t.key||1!==t.key.length&&\"Backspace\"!==t.key||this.typed.emit(e):e&&this.optionsOpen(e)},t.prototype.inputClick=function(t){void 0===t&&(t=\"\"),this.optionsOpened||this.optionsOpen(t)},t.prototype.sanitize=function(t){return t?this.sanitizer.bypassSecurityTrustHtml(t):null},t.prototype.highlightOption=function(t){return t.renderText(this.sanitizer,this.inputElRef?this.inputElRef.nativeElement.value:\"\")},t.prototype.optionSelect=function(t,e){void 0===e&&(e=null),e&&(e.preventDefault(),e.stopPropagation()),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).concat([t])),this.optionsClose(!0),this.onTouched()},t.prototype.optionRemove=function(t,e){this.disabled||(e.stopPropagation(),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).filter(function(e){return e!==t})))},t.prototype.isOptionActive=function(t,e){return this.optionActive===t&&(this.ensureVisibleElement(e),!0)},t.prototype.optionActivate=function(t){this.optionActive=t},t.prototype.filterOptions=function(t,e,n){var r=this,i=new RegExp(t,\"i\"),o=function(e){return(!t||i.test(e.text))&&(!r.multiple||-1===n.indexOf(e))};return e.filter(function(t){if(t instanceof m)return o(t);if(t instanceof _){var e=t;return e.filter(function(t){return o(t)}),e.optionsFiltered.length}})},t.prototype.ensureVisibleElement=function(t){if(this.choiceMenuElRef&&this.cacheElementOffsetTop!==t.offsetTop){this.cacheElementOffsetTop=t.offsetTop;var e=this.choiceMenuElRef.nativeElement;this.cacheElementOffsetTop<e.scrollTop?e.scrollTop=this.cacheElementOffsetTop:this.cacheElementOffsetTop+t.offsetHeight>e.scrollTop+e.clientHeight&&(e.scrollTop=this.cacheElementOffsetTop+t.offsetHeight-e.clientHeight)}},t.prototype.optionsOpen=function(t){void 0===t&&(t=\"\"),this.disabled||(this.optionsOpened=!0,this.subjSearchText.next(t),!this.multiple&&this.subjOptionsSelected.value.length?this.optionActivate(this.subjOptionsSelected.value[0]):this.navigateOption(w.first),this.focusToInput())},t.prototype.optionsClose=function(t){if(void 0===t&&(t=!1),this.optionsOpened=!1,t){var e=window.scrollX,n=window.scrollY;this.mainElRef.nativeElement.focus(),window.scrollTo(e,n)}},t.prototype.buildOptions=function(t){var e,n=this,r=[];return Array.isArray(t)&&t.forEach(function(t){if(\"object\"==typeof t&&null!==t&&t.hasOwnProperty(n.optGroupLabelField)&&t.hasOwnProperty(n.optGroupOptionsField)&&Array.isArray(t[n.optGroupOptionsField])){var i=new _(t[n.optGroupLabelField]);t[n.optGroupOptionsField].forEach(function(t){(e=n.buildOption(t,i))&&i.options.push(e)}),r.push(i)}else(e=n.buildOption(t,null))&&r.push(e)}),r},t.prototype.buildOption=function(t,e){var n,r;if(\"string\"==typeof t||\"number\"==typeof t)n=r=t;else{if(\"object\"!=typeof t||null===t||!t.hasOwnProperty(this.optionValueField)&&!t.hasOwnProperty(this.optionTextField))return null;n=t.hasOwnProperty(this.optionValueField)?t[this.optionValueField]:t[this.optionTextField],r=t.hasOwnProperty(this.optionTextField)?t[this.optionTextField]:t[this.optionValueField]}return new m(n,r,e)},t.prototype.writeValue=function(t){this.subjExternalValue.next(t)},t.prototype.registerOnChange=function(t){this.onChange=t,this.subjRegisterOnChange.next()},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t}(),x=function(){}},\"9XFw\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){}},A8b0:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"aKiW\"),i=(n(\"qQ/N\"),function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}())},CXHW:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return s});var r=n(\"WT6e\"),i=n(\"/PMa\"),o=n(\"2yGx\"),l=n(\"9XFw\"),u=n(\"xOmt\"),a=n(\"WtdY\"),s=function(){function t(t,e,n,r){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._windowAttributes=[\"backdrop\",\"centered\",\"keyboard\",\"size\",\"windowClass\"],this._backdropAttributes=[\"backdropClass\"],this._document=r}return t.prototype.open=function(t,e,n,r){var i=Object(o.b)(r.container)?this._document.querySelector(r.container):this._document.body;if(!i)throw new Error('The specified modal container \"'+(r.container||\"body\")+'\" was not found in the DOM.');var l=new a.a,u=this._getContentRef(t,r.injector||e,n,l),s=!1!==r.backdrop?this._attachBackdrop(i):null,c=this._attachWindowComponent(i,u),f=new a.b(c,u,s,r.beforeDismiss);return l.close=function(t){f.close(t)},l.dismiss=function(t){f.dismiss(t)},this._applyWindowOptions(c.instance,r),s&&s.instance&&this._applyBackdropOptions(s.instance,r),f},t.prototype._attachBackdrop=function(t){var e=this._componentFactoryResolver.resolveComponentFactory(l.a).create(this._injector);return this._applicationRef.attachView(e.hostView),t.appendChild(e.location.nativeElement),e},t.prototype._attachWindowComponent=function(t,e){var n=this._componentFactoryResolver.resolveComponentFactory(u.a).create(this._injector,e.nodes);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n},t.prototype._applyWindowOptions=function(t,e){this._windowAttributes.forEach(function(n){Object(o.b)(e[n])&&(t[n]=e[n])})},t.prototype._applyBackdropOptions=function(t,e){this._backdropAttributes.forEach(function(n){Object(o.b)(e[n])&&(t[n]=e[n])})},t.prototype._getContentRef=function(t,e,n,l){return n?n instanceof r.TemplateRef?this._createFromTemplateRef(n,l):Object(o.e)(n)?this._createFromString(n):this._createFromComponent(t,e,n,l):new i.a([])},t.prototype._createFromTemplateRef=function(t,e){var n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new i.a([n.rootNodes],n)},t.prototype._createFromString=function(t){var e=this._document.createTextNode(\"\"+t);return new i.a([[e]])},t.prototype._createFromComponent=function(t,e,n,o){var l=t.resolveComponentFactory(n),u=r.ReflectiveInjector.resolveAndCreate([{provide:a.a,useValue:o}],e),s=l.create(u);return this._applicationRef.attachView(s.hostView),new i.a([[s.location.nativeElement]],s.hostView,s)},t}()},D5oA:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o}),e.b=function(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,16,\"ul\",[],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,l)),r[\"\\u0275did\"](4,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,u)),r[\"\\u0275did\"](7,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,f)),r[\"\\u0275did\"](10,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,h)),r[\"\\u0275did\"](13,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,p)),r[\"\\u0275did\"](16,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,4,0,n.boundaryLinks),t(e,7,0,n.directionLinks),t(e,10,0,n.pages),t(e,13,0,n.directionLinks),t(e,16,0,n.boundaryLinks)},function(t,e){var n=e.component;t(e,1,0,\"pagination\"+(n.size?\" pagination-\"+n.size:\"\"))})};var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function l(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"First\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=0!=!!t.component.selectPage(1)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xab\\xab\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasPrevious()||n.disabled),t(e,2,0,n.hasPrevious()?null:\"-1\")})}function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"Previous\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.selectPage(i.page-1)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xab\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasPrevious()||n.disabled),t(e,2,0,n.hasPrevious()?null:\"-1\")})}function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"a\",[[\"class\",\"page-link\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"...\"]))],null,null)}function s(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"span\",[[\"class\",\"sr-only\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"(current)\"]))],null,null)}function c(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"a\",[[\"class\",\"page-link\"],[\"href\",\"\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=0!=!!t.component.selectPage(t.parent.context.\$implicit)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\\n          \",\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,s)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"]))],function(t,e){t(e,3,0,e.parent.context.\$implicit===e.component.page)},function(t,e){t(e,1,0,e.parent.context.\$implicit)})}function f(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"active\",null],[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,c)),r[\"\\u0275did\"](6,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){var n=e.component;t(e,3,0,n.isEllipsis(e.context.\$implicit)),t(e,6,0,!n.isEllipsis(e.context.\$implicit))},function(t,e){var n=e.component;t(e,0,0,e.context.\$implicit===n.page,n.isEllipsis(e.context.\$implicit)||n.disabled)})}function h(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"Next\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.selectPage(i.page+1)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xbb\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasNext()||n.disabled),t(e,2,0,n.hasNext()?null:\"-1\")})}function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"Last\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.selectPage(i.pageCount)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xbb\\xbb\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasNext()||n.disabled),t(e,2,0,n.hasNext()?null:\"-1\")})}},DDfv:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}},EKta:function(t,e,n){\"use strict\";e.byteLength=function(t){return 3*t.length/4-s(t)},e.toByteArray=function(t){var e,n,r,l,u,a=t.length;l=s(t),u=new o(3*a/4-l),n=l>0?a-4:a;var c=0;for(e=0;e<n;e+=4)r=i[t.charCodeAt(e)]<<18|i[t.charCodeAt(e+1)]<<12|i[t.charCodeAt(e+2)]<<6|i[t.charCodeAt(e+3)],u[c++]=r>>16&255,u[c++]=r>>8&255,u[c++]=255&r;return 2===l?(r=i[t.charCodeAt(e)]<<2|i[t.charCodeAt(e+1)]>>4,u[c++]=255&r):1===l&&(r=i[t.charCodeAt(e)]<<10|i[t.charCodeAt(e+1)]<<4|i[t.charCodeAt(e+2)]>>2,u[c++]=r>>8&255,u[c++]=255&r),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=\"\",l=[],u=0,a=n-i;u<a;u+=16383)l.push(c(t,u,u+16383>a?a:u+16383));return 1===i?(o+=r[(e=t[n-1])>>2],o+=r[e<<4&63],o+=\"==\"):2===i&&(o+=r[(e=(t[n-2]<<8)+t[n-1])>>10],o+=r[e>>4&63],o+=r[e<<2&63],o+=\"=\"),l.push(o),l.join(\"\")};for(var r=[],i=[],o=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,l=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",u=0,a=l.length;u<a;++u)r[u]=l[u],i[l.charCodeAt(u)]=u;function s(t){var e=t.length;if(e%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");return\"=\"===t[e-2]?2:\"=\"===t[e-1]?1:0}function c(t,e,n){for(var i,o=[],l=e;l<n;l+=3)o.push(r[(i=(t[l]<<16)+(t[l+1]<<8)+t[l+2])>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join(\"\")}i[\"-\".charCodeAt(0)]=62,i[\"_\".charCodeAt(0)]=63},ETCP:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.placement=\"top\",this.triggers=\"click\",this.disablePopover=!1}},Ep2y:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"K0TW\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},EzwU:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"2yGx\"),i=function(){function t(){this.highlightClass=\"ngb-highlight\"}return t.prototype.ngOnChanges=function(t){var e=Object(r.i)(this.result),n=e.toLowerCase(),i=Object(r.i)(this.term).toLowerCase(),o=0;this.parts=i.length>0?n.split(new RegExp(\"(\"+Object(r.g)(i)+\")\")).map(function(t){var n=e.substr(o,t.length);return o+=t.length,n}):[e]},t}()},\"F+yc\":function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"mN9t\"),o=(n(\"7DMc\"),Object(r.forwardRef)(function(){return o}),function(){function t(t){this._label=t,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,\"focused\",{set:function(t){this._label.focused=t,t||this.onTouched()},enumerable:!0,configurable:!0}),t.prototype.onInputChange=function(t){var e=t.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(e),this.onTouched(),this.writeValue(e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._label.disabled=t},t.prototype.writeValue=function(t){this.checked=t===this.valueChecked,this._label.active=this.checked},t}()),l=n(\"+dDw\");n.d(e,\"a\",function(){return u}),n.d(e,!1,function(){return i.a}),n.d(e,!1,function(){return o}),n.d(e,!1,function(){return l.a}),n.d(e,!1,function(){return l.b});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}()},\"K/oD\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"qoi6\");var r=n(\"cG9e\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},K0TW:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}},M4fF:function(t,e,n){(function(t,r){var i;(function(){var o,l=200,u=\"Expected a function\",a=\"__lodash_placeholder__\",s=1,c=2,f=4,h=1,p=2,d=1,y=2,v=4,g=8,b=16,m=32,_=64,w=128,O=256,x=512,k=800,E=16,C=1/0,T=9007199254740991,j=1.7976931348623157e308,A=NaN,P=4294967295,R=P-1,S=P>>>1,N=[[\"ary\",w],[\"bind\",d],[\"bindKey\",y],[\"curry\",g],[\"curryRight\",b],[\"flip\",x],[\"partial\",m],[\"partialRight\",_],[\"rearg\",O]],D=\"[object Arguments]\",M=\"[object Array]\",q=\"[object AsyncFunction]\",I=\"[object Boolean]\",L=\"[object Date]\",B=\"[object DOMException]\",F=\"[object Error]\",U=\"[object Function]\",V=\"[object GeneratorFunction]\",W=\"[object Map]\",z=\"[object Number]\",H=\"[object Null]\",K=\"[object Object]\",Y=\"[object Proxy]\",G=\"[object RegExp]\",\$=\"[object Set]\",Z=\"[object String]\",X=\"[object Symbol]\",J=\"[object Undefined]\",Q=\"[object WeakMap]\",tt=\"[object ArrayBuffer]\",et=\"[object DataView]\",nt=\"[object Float32Array]\",rt=\"[object Float64Array]\",it=\"[object Int8Array]\",ot=\"[object Int16Array]\",lt=\"[object Int32Array]\",ut=\"[object Uint8Array]\",at=\"[object Uint8ClampedArray]\",st=\"[object Uint16Array]\",ct=\"[object Uint32Array]\",ft=/\\b__p \\+= '';/g,ht=/\\b(__p \\+=) '' \\+/g,pt=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,dt=/&(?:amp|lt|gt|quot|#39);/g,yt=/[&<>\"']/g,vt=RegExp(dt.source),gt=RegExp(yt.source),bt=/<%-([\\s\\S]+?)%>/g,mt=/<%([\\s\\S]+?)%>/g,_t=/<%=([\\s\\S]+?)%>/g,wt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Ot=/^\\w*\$/,xt=/^\\./,kt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|\$))/g,Et=/[\\\\^\$.*+?()[\\]{}|]/g,Ct=RegExp(Et.source),Tt=/^\\s+|\\s+\$/g,jt=/^\\s+/,At=/\\s+\$/,Pt=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Rt=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,St=/,? & /,Nt=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,Dt=/\\\\(\\\\)?/g,Mt=/\\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,qt=/\\w*\$/,It=/^[-+]0x[0-9a-f]+\$/i,Lt=/^0b[01]+\$/i,Bt=/^\\[object .+?Constructor\\]\$/,Ft=/^0o[0-7]+\$/i,Ut=/^(?:0|[1-9]\\d*)\$/,Vt=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,Wt=/(\$^)/,zt=/['\\n\\r\\u2028\\u2029\\\\]/g,Ht=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\",Kt=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\\\\u2000-\\\\u206f \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Yt=\"[\"+Kt+\"]\",Gt=\"[\"+Ht+\"]\",\$t=\"\\\\d+\",Zt=\"[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]\",Xt=\"[^\\\\ud800-\\\\udfff\"+Kt+\$t+\"\\\\u2700-\\\\u27bfa-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xffA-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",Jt=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Qt=\"[^\\\\ud800-\\\\udfff]\",te=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",ee=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",ne=\"[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",re=\"(?:\"+Zt+\"|\"+Xt+\")\",ie=\"(?:\"+ne+\"|\"+Xt+\")\",oe=\"(?:\"+Gt+\"|\"+Jt+\")?\",le=\"[\\\\ufe0e\\\\ufe0f]?\"+oe+\"(?:\\\\u200d(?:\"+[Qt,te,ee].join(\"|\")+\")[\\\\ufe0e\\\\ufe0f]?\"+oe+\")*\",ue=\"(?:\"+[\"[\\\\u2700-\\\\u27bf]\",te,ee].join(\"|\")+\")\"+le,ae=\"(?:\"+[Qt+Gt+\"?\",Gt,te,ee,\"[\\\\ud800-\\\\udfff]\"].join(\"|\")+\")\",se=RegExp(\"['\\u2019]\",\"g\"),ce=RegExp(Gt,\"g\"),fe=RegExp(Jt+\"(?=\"+Jt+\")|\"+ae+le,\"g\"),he=RegExp([ne+\"?\"+Zt+\"+(?:['\\u2019](?:d|ll|m|re|s|t|ve))?(?=\"+[Yt,ne,\"\$\"].join(\"|\")+\")\",ie+\"+(?:['\\u2019](?:D|LL|M|RE|S|T|VE))?(?=\"+[Yt,ne+re,\"\$\"].join(\"|\")+\")\",ne+\"?\"+re+\"+(?:['\\u2019](?:d|ll|m|re|s|t|ve))?\",ne+\"+(?:['\\u2019](?:D|LL|M|RE|S|T|VE))?\",\"\\\\d*(?:(?:1ST|2ND|3RD|(?![123])\\\\dTH)\\\\b)\",\"\\\\d*(?:(?:1st|2nd|3rd|(?![123])\\\\dth)\\\\b)\",\$t,ue].join(\"|\"),\"g\"),pe=RegExp(\"[\\\\u200d\\\\ud800-\\\\udfff\"+Ht+\"\\\\ufe0e\\\\ufe0f]\"),de=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ye=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],ve=-1,ge={};ge[nt]=ge[rt]=ge[it]=ge[ot]=ge[lt]=ge[ut]=ge[at]=ge[st]=ge[ct]=!0,ge[D]=ge[M]=ge[tt]=ge[I]=ge[et]=ge[L]=ge[F]=ge[U]=ge[W]=ge[z]=ge[K]=ge[G]=ge[\$]=ge[Z]=ge[Q]=!1;var be={};be[D]=be[M]=be[tt]=be[et]=be[I]=be[L]=be[nt]=be[rt]=be[it]=be[ot]=be[lt]=be[W]=be[z]=be[K]=be[G]=be[\$]=be[Z]=be[X]=be[ut]=be[at]=be[st]=be[ct]=!0,be[F]=be[U]=be[Q]=!1;var me={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},_e=parseFloat,we=parseInt,Oe=\"object\"==typeof t&&t&&t.Object===Object&&t,xe=\"object\"==typeof self&&self&&self.Object===Object&&self,ke=Oe||xe||Function(\"return this\")(),Ee=\"object\"==typeof e&&e&&!e.nodeType&&e,Ce=Ee&&\"object\"==typeof r&&r&&!r.nodeType&&r,Te=Ce&&Ce.exports===Ee,je=Te&&Oe.process,Ae=function(){try{return je&&je.binding&&je.binding(\"util\")}catch(t){}}(),Pe=Ae&&Ae.isArrayBuffer,Re=Ae&&Ae.isDate,Se=Ae&&Ae.isMap,Ne=Ae&&Ae.isRegExp,De=Ae&&Ae.isSet,Me=Ae&&Ae.isTypedArray;function qe(t,e){return t.set(e[0],e[1]),t}function Ie(t,e){return t.add(e),t}function Le(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Be(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var l=t[i];e(r,l,n(l),t)}return r}function Fe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ue(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ve(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var l=t[n];e(l,n,t)&&(o[i++]=l)}return o}function We(t,e){return!(null==t||!t.length)&&Qe(t,e,0)>-1}function ze(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function He(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ke(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Ye(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Ge(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function \$e(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Ze=rn(\"length\");function Xe(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function Je(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Qe(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Je(t,en,n)}function tn(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function en(t){return t!=t}function nn(t,e){var n=null==t?0:t.length;return n?un(t,e)/n:A}function rn(t){return function(e){return null==e?o:e[t]}}function on(t){return function(e){return null==t?o:t[e]}}function ln(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function un(t,e){for(var n,r=-1,i=t.length;++r<i;){var l=e(t[r]);l!==o&&(n=n===o?l:n+l)}return n}function an(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function sn(t){return function(e){return t(e)}}function cn(t,e){return He(e,function(e){return t[e]})}function fn(t,e){return t.has(e)}function hn(t,e){for(var n=-1,r=t.length;++n<r&&Qe(e,t[n],0)>-1;);return n}function pn(t,e){for(var n=t.length;n--&&Qe(e,t[n],0)>-1;);return n}var dn=on({\"\\xc0\":\"A\",\"\\xc1\":\"A\",\"\\xc2\":\"A\",\"\\xc3\":\"A\",\"\\xc4\":\"A\",\"\\xc5\":\"A\",\"\\xe0\":\"a\",\"\\xe1\":\"a\",\"\\xe2\":\"a\",\"\\xe3\":\"a\",\"\\xe4\":\"a\",\"\\xe5\":\"a\",\"\\xc7\":\"C\",\"\\xe7\":\"c\",\"\\xd0\":\"D\",\"\\xf0\":\"d\",\"\\xc8\":\"E\",\"\\xc9\":\"E\",\"\\xca\":\"E\",\"\\xcb\":\"E\",\"\\xe8\":\"e\",\"\\xe9\":\"e\",\"\\xea\":\"e\",\"\\xeb\":\"e\",\"\\xcc\":\"I\",\"\\xcd\":\"I\",\"\\xce\":\"I\",\"\\xcf\":\"I\",\"\\xec\":\"i\",\"\\xed\":\"i\",\"\\xee\":\"i\",\"\\xef\":\"i\",\"\\xd1\":\"N\",\"\\xf1\":\"n\",\"\\xd2\":\"O\",\"\\xd3\":\"O\",\"\\xd4\":\"O\",\"\\xd5\":\"O\",\"\\xd6\":\"O\",\"\\xd8\":\"O\",\"\\xf2\":\"o\",\"\\xf3\":\"o\",\"\\xf4\":\"o\",\"\\xf5\":\"o\",\"\\xf6\":\"o\",\"\\xf8\":\"o\",\"\\xd9\":\"U\",\"\\xda\":\"U\",\"\\xdb\":\"U\",\"\\xdc\":\"U\",\"\\xf9\":\"u\",\"\\xfa\":\"u\",\"\\xfb\":\"u\",\"\\xfc\":\"u\",\"\\xdd\":\"Y\",\"\\xfd\":\"y\",\"\\xff\":\"y\",\"\\xc6\":\"Ae\",\"\\xe6\":\"ae\",\"\\xde\":\"Th\",\"\\xfe\":\"th\",\"\\xdf\":\"ss\",\"\\u0100\":\"A\",\"\\u0102\":\"A\",\"\\u0104\":\"A\",\"\\u0101\":\"a\",\"\\u0103\":\"a\",\"\\u0105\":\"a\",\"\\u0106\":\"C\",\"\\u0108\":\"C\",\"\\u010a\":\"C\",\"\\u010c\":\"C\",\"\\u0107\":\"c\",\"\\u0109\":\"c\",\"\\u010b\":\"c\",\"\\u010d\":\"c\",\"\\u010e\":\"D\",\"\\u0110\":\"D\",\"\\u010f\":\"d\",\"\\u0111\":\"d\",\"\\u0112\":\"E\",\"\\u0114\":\"E\",\"\\u0116\":\"E\",\"\\u0118\":\"E\",\"\\u011a\":\"E\",\"\\u0113\":\"e\",\"\\u0115\":\"e\",\"\\u0117\":\"e\",\"\\u0119\":\"e\",\"\\u011b\":\"e\",\"\\u011c\":\"G\",\"\\u011e\":\"G\",\"\\u0120\":\"G\",\"\\u0122\":\"G\",\"\\u011d\":\"g\",\"\\u011f\":\"g\",\"\\u0121\":\"g\",\"\\u0123\":\"g\",\"\\u0124\":\"H\",\"\\u0126\":\"H\",\"\\u0125\":\"h\",\"\\u0127\":\"h\",\"\\u0128\":\"I\",\"\\u012a\":\"I\",\"\\u012c\":\"I\",\"\\u012e\":\"I\",\"\\u0130\":\"I\",\"\\u0129\":\"i\",\"\\u012b\":\"i\",\"\\u012d\":\"i\",\"\\u012f\":\"i\",\"\\u0131\":\"i\",\"\\u0134\":\"J\",\"\\u0135\":\"j\",\"\\u0136\":\"K\",\"\\u0137\":\"k\",\"\\u0138\":\"k\",\"\\u0139\":\"L\",\"\\u013b\":\"L\",\"\\u013d\":\"L\",\"\\u013f\":\"L\",\"\\u0141\":\"L\",\"\\u013a\":\"l\",\"\\u013c\":\"l\",\"\\u013e\":\"l\",\"\\u0140\":\"l\",\"\\u0142\":\"l\",\"\\u0143\":\"N\",\"\\u0145\":\"N\",\"\\u0147\":\"N\",\"\\u014a\":\"N\",\"\\u0144\":\"n\",\"\\u0146\":\"n\",\"\\u0148\":\"n\",\"\\u014b\":\"n\",\"\\u014c\":\"O\",\"\\u014e\":\"O\",\"\\u0150\":\"O\",\"\\u014d\":\"o\",\"\\u014f\":\"o\",\"\\u0151\":\"o\",\"\\u0154\":\"R\",\"\\u0156\":\"R\",\"\\u0158\":\"R\",\"\\u0155\":\"r\",\"\\u0157\":\"r\",\"\\u0159\":\"r\",\"\\u015a\":\"S\",\"\\u015c\":\"S\",\"\\u015e\":\"S\",\"\\u0160\":\"S\",\"\\u015b\":\"s\",\"\\u015d\":\"s\",\"\\u015f\":\"s\",\"\\u0161\":\"s\",\"\\u0162\":\"T\",\"\\u0164\":\"T\",\"\\u0166\":\"T\",\"\\u0163\":\"t\",\"\\u0165\":\"t\",\"\\u0167\":\"t\",\"\\u0168\":\"U\",\"\\u016a\":\"U\",\"\\u016c\":\"U\",\"\\u016e\":\"U\",\"\\u0170\":\"U\",\"\\u0172\":\"U\",\"\\u0169\":\"u\",\"\\u016b\":\"u\",\"\\u016d\":\"u\",\"\\u016f\":\"u\",\"\\u0171\":\"u\",\"\\u0173\":\"u\",\"\\u0174\":\"W\",\"\\u0175\":\"w\",\"\\u0176\":\"Y\",\"\\u0177\":\"y\",\"\\u0178\":\"Y\",\"\\u0179\":\"Z\",\"\\u017b\":\"Z\",\"\\u017d\":\"Z\",\"\\u017a\":\"z\",\"\\u017c\":\"z\",\"\\u017e\":\"z\",\"\\u0132\":\"IJ\",\"\\u0133\":\"ij\",\"\\u0152\":\"Oe\",\"\\u0153\":\"oe\",\"\\u0149\":\"'n\",\"\\u017f\":\"s\"}),yn=on({\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"});function vn(t){return\"\\\\\"+me[t]}function gn(t){return pe.test(t)}function bn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function mn(t,e){return function(n){return t(e(n))}}function _n(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var l=t[n];l!==e&&l!==a||(t[n]=a,o[i++]=n)}return o}function wn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function xn(t){return gn(t)?function(t){for(var e=fe.lastIndex=0;fe.test(t);)++e;return e}(t):Ze(t)}function kn(t){return gn(t)?function(t){return t.match(fe)||[]}(t):function(t){return t.split(\"\")}(t)}var En=on({\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\"}),Cn=function t(e){var n,r=(e=null==e?ke:Cn.defaults(ke.Object(),e,Cn.pick(ke,ye))).Array,i=e.Date,Ht=e.Error,Kt=e.Function,Yt=e.Math,Gt=e.Object,\$t=e.RegExp,Zt=e.String,Xt=e.TypeError,Jt=r.prototype,Qt=Gt.prototype,te=e[\"__core-js_shared__\"],ee=Kt.prototype.toString,ne=Qt.hasOwnProperty,re=0,ie=(n=/[^.]+\$/.exec(te&&te.keys&&te.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+n:\"\",oe=Qt.toString,le=ee.call(Gt),ue=ke._,ae=\$t(\"^\"+ee.call(ne).replace(Et,\"\\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"\$1.*?\")+\"\$\"),fe=Te?e.Buffer:o,pe=e.Symbol,me=e.Uint8Array,Oe=fe?fe.allocUnsafe:o,xe=mn(Gt.getPrototypeOf,Gt),Ee=Gt.create,Ce=Qt.propertyIsEnumerable,je=Jt.splice,Ae=pe?pe.isConcatSpreadable:o,Ze=pe?pe.iterator:o,on=pe?pe.toStringTag:o,Tn=function(){try{var t=Co(Gt,\"defineProperty\");return t({},\"\",{}),t}catch(t){}}(),jn=e.clearTimeout!==ke.clearTimeout&&e.clearTimeout,An=i&&i.now!==ke.Date.now&&i.now,Pn=e.setTimeout!==ke.setTimeout&&e.setTimeout,Rn=Yt.ceil,Sn=Yt.floor,Nn=Gt.getOwnPropertySymbols,Dn=fe?fe.isBuffer:o,Mn=e.isFinite,qn=Jt.join,In=mn(Gt.keys,Gt),Ln=Yt.max,Bn=Yt.min,Fn=i.now,Un=e.parseInt,Vn=Yt.random,Wn=Jt.reverse,zn=Co(e,\"DataView\"),Hn=Co(e,\"Map\"),Kn=Co(e,\"Promise\"),Yn=Co(e,\"Set\"),Gn=Co(e,\"WeakMap\"),\$n=Co(Gt,\"create\"),Zn=Gn&&new Gn,Xn={},Jn=Xo(zn),Qn=Xo(Hn),tr=Xo(Kn),er=Xo(Yn),nr=Xo(Gn),rr=pe?pe.prototype:o,ir=rr?rr.valueOf:o,or=rr?rr.toString:o;function lr(t){if(du(t)&&!ru(t)&&!(t instanceof cr)){if(t instanceof sr)return t;if(ne.call(t,\"__wrapped__\"))return Jo(t)}return new sr(t)}var ur=function(){function t(){}return function(e){if(!pu(e))return{};if(Ee)return Ee(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function ar(){}function sr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function cr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=P,this.__views__=[]}function fr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function hr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function pr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function dr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new pr;++e<n;)this.add(t[e])}function yr(t){var e=this.__data__=new hr(t);this.size=e.size}function vr(t,e){var n=ru(t),r=!n&&nu(t),i=!n&&!r&&uu(t),o=!n&&!r&&!i&&Ou(t),l=n||r||i||o,u=l?an(t.length,Zt):[],a=u.length;for(var s in t)!e&&!ne.call(t,s)||l&&(\"length\"==s||i&&(\"offset\"==s||\"parent\"==s)||o&&(\"buffer\"==s||\"byteLength\"==s||\"byteOffset\"==s)||No(s,a))||u.push(s);return u}function gr(t){var e=t.length;return e?t[fi(0,e-1)]:o}function br(t,e,n){(n===o||Ql(t[e],n))&&(n!==o||e in t)||xr(t,e,n)}function mr(t,e,n){var r=t[e];ne.call(t,e)&&Ql(r,n)&&(n!==o||e in t)||xr(t,e,n)}function _r(t,e){for(var n=t.length;n--;)if(Ql(t[n][0],e))return n;return-1}function wr(t,e,n,r){return Pr(t,function(t,i,o){e(r,t,n(t),o)}),r}function Or(t,e){return t&&zi(e,zu(e),t)}function xr(t,e,n){\"__proto__\"==e&&Tn?Tn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function kr(t,e){for(var n=-1,i=e.length,l=r(i),u=null==t;++n<i;)l[n]=u?o:Bu(t,e[n]);return l}function Er(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Cr(t,e,n,r,i,l){var u,a=e&s,h=e&c,p=e&f;if(n&&(u=i?n(t,r,i,l):n(t)),u!==o)return u;if(!pu(t))return t;var d=ru(t);if(d){if(u=function(t){var e=t.length,n=t.constructor(e);return e&&\"string\"==typeof t[0]&&ne.call(t,\"index\")&&(n.index=t.index,n.input=t.input),n}(t),!a)return Wi(t,u)}else{var y=Ao(t),v=y==U||y==V;if(uu(t))return Ii(t,a);if(y==K||y==D||v&&!i){if(u=h||v?{}:Ro(t),!a)return h?function(t,e){return zi(t,jo(t),e)}(t,function(e,n){return e&&zi(t,Hu(t),e)}(u)):function(t,e){return zi(t,To(t),e)}(t,Or(u,t))}else{if(!be[y])return i?t:{};u=function(t,e,n,r){var i,o,l=t.constructor;switch(e){case tt:return Li(t);case I:case L:return new l(+t);case et:return function(t,e){var n=e?Li(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case nt:case rt:case it:case ot:case lt:case ut:case at:case st:case ct:return Bi(t,r);case W:return function(t,e,n){return Ye(e?n(bn(t),s):bn(t),qe,new t.constructor)}(t,r,n);case z:case Z:return new l(t);case G:return(o=new(i=t).constructor(i.source,qt.exec(i))).lastIndex=i.lastIndex,o;case \$:return function(t,e,n){return Ye(e?n(wn(t),s):wn(t),Ie,new t.constructor)}(t,r,n);case X:return ir?Gt(ir.call(t)):{}}}(t,y,Cr,a)}}l||(l=new yr);var g=l.get(t);if(g)return g;l.set(t,u);var b=d?o:(p?h?mo:bo:h?Hu:zu)(t);return Fe(b||t,function(r,i){b&&(r=t[i=r]),mr(u,i,Cr(r,e,n,i,t,l))}),u}function Tr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Gt(t);r--;){var i=n[r],l=t[i];if(l===o&&!(i in t)||!(0,e[i])(l))return!1}return!0}function jr(t,e,n){if(\"function\"!=typeof t)throw new Xt(u);return zo(function(){t.apply(o,n)},e)}function Ar(t,e,n,r){var i=-1,o=We,u=!0,a=t.length,s=[],c=e.length;if(!a)return s;n&&(e=He(e,sn(n))),r?(o=ze,u=!1):e.length>=l&&(o=fn,u=!1,e=new dr(e));t:for(;++i<a;){var f=t[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,u&&h==h){for(var p=c;p--;)if(e[p]===h)continue t;s.push(f)}else o(e,h,r)||s.push(f)}return s}lr.templateSettings={escape:bt,evaluate:mt,interpolate:_t,variable:\"\",imports:{_:lr}},(lr.prototype=ar.prototype).constructor=lr,(sr.prototype=ur(ar.prototype)).constructor=sr,(cr.prototype=ur(ar.prototype)).constructor=cr,fr.prototype.clear=function(){this.__data__=\$n?\$n(null):{},this.size=0},fr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},fr.prototype.get=function(t){var e=this.__data__;if(\$n){var n=e[t];return\"__lodash_hash_undefined__\"===n?o:n}return ne.call(e,t)?e[t]:o},fr.prototype.has=function(t){var e=this.__data__;return \$n?e[t]!==o:ne.call(e,t)},fr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=\$n&&e===o?\"__lodash_hash_undefined__\":e,this},hr.prototype.clear=function(){this.__data__=[],this.size=0},hr.prototype.delete=function(t){var e=this.__data__,n=_r(e,t);return!(n<0||(n==e.length-1?e.pop():je.call(e,n,1),--this.size,0))},hr.prototype.get=function(t){var e=this.__data__,n=_r(e,t);return n<0?o:e[n][1]},hr.prototype.has=function(t){return _r(this.__data__,t)>-1},hr.prototype.set=function(t,e){var n=this.__data__,r=_r(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},pr.prototype.clear=function(){this.size=0,this.__data__={hash:new fr,map:new(Hn||hr),string:new fr}},pr.prototype.delete=function(t){var e=ko(this,t).delete(t);return this.size-=e?1:0,e},pr.prototype.get=function(t){return ko(this,t).get(t)},pr.prototype.has=function(t){return ko(this,t).has(t)},pr.prototype.set=function(t,e){var n=ko(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},dr.prototype.add=dr.prototype.push=function(t){return this.__data__.set(t,\"__lodash_hash_undefined__\"),this},dr.prototype.has=function(t){return this.__data__.has(t)},yr.prototype.clear=function(){this.__data__=new hr,this.size=0},yr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},yr.prototype.get=function(t){return this.__data__.get(t)},yr.prototype.has=function(t){return this.__data__.has(t)},yr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof hr){var r=n.__data__;if(!Hn||r.length<l-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new pr(r)}return n.set(t,e),this.size=n.size,this};var Pr=Yi(Lr),Rr=Yi(Br,!0);function Sr(t,e){var n=!0;return Pr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Nr(t,e,n){for(var r=-1,i=t.length;++r<i;){var l=t[r],u=e(l);if(null!=u&&(a===o?u==u&&!wu(u):n(u,a)))var a=u,s=l}return s}function Dr(t,e){var n=[];return Pr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Mr(t,e,n,r,i){var o=-1,l=t.length;for(n||(n=So),i||(i=[]);++o<l;){var u=t[o];e>0&&n(u)?e>1?Mr(u,e-1,n,r,i):Ke(i,u):r||(i[i.length]=u)}return i}var qr=Gi(),Ir=Gi(!0);function Lr(t,e){return t&&qr(t,e,zu)}function Br(t,e){return t&&Ir(t,e,zu)}function Fr(t,e){return Ve(e,function(e){return cu(t[e])})}function Ur(t,e){for(var n=0,r=(e=Ni(e,t)).length;null!=t&&n<r;)t=t[Zo(e[n++])];return n&&n==r?t:o}function Vr(t,e,n){var r=e(t);return ru(t)?r:Ke(r,n(t))}function Wr(t){return null==t?t===o?J:H:on&&on in Gt(t)?function(t){var e=ne.call(t,on),n=t[on];try{t[on]=o;var r=!0}catch(t){}var i=oe.call(t);return r&&(e?t[on]=n:delete t[on]),i}(t):function(t){return oe.call(t)}(t)}function zr(t,e){return t>e}function Hr(t,e){return null!=t&&ne.call(t,e)}function Kr(t,e){return null!=t&&e in Gt(t)}function Yr(t,e,n){for(var i=n?ze:We,l=t[0].length,u=t.length,a=u,s=r(u),c=1/0,f=[];a--;){var h=t[a];a&&e&&(h=He(h,sn(e))),c=Bn(h.length,c),s[a]=!n&&(e||l>=120&&h.length>=120)?new dr(a&&h):o}h=t[0];var p=-1,d=s[0];t:for(;++p<l&&f.length<c;){var y=h[p],v=e?e(y):y;if(y=n||0!==y?y:0,!(d?fn(d,v):i(f,v,n))){for(a=u;--a;){var g=s[a];if(!(g?fn(g,v):i(t[a],v,n)))continue t}d&&d.push(v),f.push(y)}}return f}function Gr(t,e,n){var r=null==(t=Vo(t,e=Ni(e,t)))?t:t[Zo(sl(e))];return null==r?o:Le(r,t,n)}function \$r(t){return du(t)&&Wr(t)==D}function Zr(t,e,n,r,i){return t===e||(null==t||null==e||!du(t)&&!du(e)?t!=t&&e!=e:function(t,e,n,r,i,l){var u=ru(t),a=ru(e),s=u?M:Ao(t),c=a?M:Ao(e),f=(s=s==D?K:s)==K,d=(c=c==D?K:c)==K,y=s==c;if(y&&uu(t)){if(!uu(e))return!1;u=!0,f=!1}if(y&&!f)return l||(l=new yr),u||Ou(t)?vo(t,e,n,r,i,l):function(t,e,n,r,i,o,l){switch(s){case et:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case tt:return!(t.byteLength!=e.byteLength||!o(new me(t),new me(e)));case I:case L:case z:return Ql(+t,+e);case F:return t.name==e.name&&t.message==e.message;case G:case Z:return t==e+\"\";case W:var u=bn;case \$:if(u||(u=wn),t.size!=e.size&&!(r&h))return!1;var a=l.get(t);if(a)return a==e;r|=p,l.set(t,e);var c=vo(u(t),u(e),r,i,o,l);return l.delete(t),c;case X:if(ir)return ir.call(t)==ir.call(e)}return!1}(t,e,0,n,r,i,l);if(!(n&h)){var v=f&&ne.call(t,\"__wrapped__\"),g=d&&ne.call(e,\"__wrapped__\");if(v||g){var b=v?t.value():t,m=g?e.value():e;return l||(l=new yr),i(b,m,n,r,l)}}return!!y&&(l||(l=new yr),function(t,e,n,r,i,l){var u=n&h,a=bo(t),s=a.length;if(s!=bo(e).length&&!u)return!1;for(var c=s;c--;){var f=a[c];if(!(u?f in e:ne.call(e,f)))return!1}var p=l.get(t);if(p&&l.get(e))return p==e;var d=!0;l.set(t,e),l.set(e,t);for(var y=u;++c<s;){var v=t[f=a[c]],g=e[f];if(r)var b=u?r(g,v,f,e,t,l):r(v,g,f,t,e,l);if(!(b===o?v===g||i(v,g,n,r,l):b)){d=!1;break}y||(y=\"constructor\"==f)}if(d&&!y){var m=t.constructor,_=e.constructor;m!=_&&\"constructor\"in t&&\"constructor\"in e&&!(\"function\"==typeof m&&m instanceof m&&\"function\"==typeof _&&_ instanceof _)&&(d=!1)}return l.delete(t),l.delete(e),d}(t,e,n,r,i,l))}(t,e,n,r,Zr,i))}function Xr(t,e,n,r){var i=n.length,l=i,u=!r;if(null==t)return!l;for(t=Gt(t);i--;){var a=n[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<l;){var s=(a=n[i])[0],c=t[s],f=a[1];if(u&&a[2]){if(c===o&&!(s in t))return!1}else{var d=new yr;if(r)var y=r(c,f,s,t,e,d);if(!(y===o?Zr(f,c,h|p,r,d):y))return!1}}return!0}function Jr(t){return!(!pu(t)||ie&&ie in t)&&(cu(t)?ae:Bt).test(Xo(t))}function Qr(t){return\"function\"==typeof t?t:null==t?va:\"object\"==typeof t?ru(t)?ii(t[0],t[1]):ri(t):Ea(t)}function ti(t){if(!Lo(t))return In(t);var e=[];for(var n in Gt(t))ne.call(t,n)&&\"constructor\"!=n&&e.push(n);return e}function ei(t,e){return t<e}function ni(t,e){var n=-1,i=ou(t)?r(t.length):[];return Pr(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function ri(t){var e=Eo(t);return 1==e.length&&e[0][2]?Fo(e[0][0],e[0][1]):function(n){return n===t||Xr(n,t,e)}}function ii(t,e){return Mo(t)&&Bo(e)?Fo(Zo(t),e):function(n){var r=Bu(n,t);return r===o&&r===e?Fu(n,t):Zr(e,r,h|p)}}function oi(t,e,n,r,i){t!==e&&qr(e,function(l,u){if(pu(l))i||(i=new yr),function(t,e,n,r,i,l,u){var a=t[n],s=e[n],c=u.get(s);if(c)br(t,n,c);else{var f=l?l(a,s,n+\"\",t,e,u):o,h=f===o;if(h){var p=ru(s),d=!p&&uu(s),y=!p&&!d&&Ou(s);f=s,p||d||y?ru(a)?f=a:lu(a)?f=Wi(a):d?(h=!1,f=Ii(s,!0)):y?(h=!1,f=Bi(s,!0)):f=[]:gu(s)||nu(s)?(f=a,nu(a)?f=Pu(a):(!pu(a)||r&&cu(a))&&(f=Ro(s))):h=!1}h&&(u.set(s,f),i(f,s,r,l,u),u.delete(s)),br(t,n,f)}}(t,e,u,n,oi,r,i);else{var a=r?r(t[u],l,u+\"\",t,e,i):o;a===o&&(a=l),br(t,u,a)}},Hu)}function li(t,e){var n=t.length;if(n)return No(e+=e<0?n:0,n)?t[e]:o}function ui(t,e,n){var r=-1;return e=He(e.length?e:[va],sn(xo())),function(t,e){var r=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,l=i.length,u=n.length;++r<l;){var a=Fi(i[r],o[r]);if(a)return r>=u?a:a*(\"desc\"==n[r]?-1:1)}return t.index-e.index}(t,e,n)});r--;)t[r]=t[r].value;return t}(ni(t,function(t,n,i){return{criteria:He(e,function(e){return e(t)}),index:++r,value:t}}))}function ai(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var l=e[r],u=Ur(t,l);n(u,l)&&di(o,Ni(l,t),u)}return o}function si(t,e,n,r){var i=r?tn:Qe,o=-1,l=e.length,u=t;for(t===e&&(e=Wi(e)),n&&(u=He(t,sn(n)));++o<l;)for(var a=0,s=e[o],c=n?n(s):s;(a=i(u,c,a,r))>-1;)u!==t&&je.call(u,a,1),je.call(t,a,1);return t}function ci(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;No(i)?je.call(t,i,1):Ei(t,i)}}return t}function fi(t,e){return t+Sn(Vn()*(e-t+1))}function hi(t,e){var n=\"\";if(!t||e<1||e>T)return n;do{e%2&&(n+=t),(e=Sn(e/2))&&(t+=t)}while(e);return n}function pi(t,e){return Ho(Uo(t,e,va),t+\"\")}function di(t,e,n,r){if(!pu(t))return t;for(var i=-1,l=(e=Ni(e,t)).length,u=l-1,a=t;null!=a&&++i<l;){var s=Zo(e[i]),c=n;if(i!=u){var f=a[s];(c=r?r(f,s,a):o)===o&&(c=pu(f)?f:No(e[i+1])?[]:{})}mr(a,s,c),a=a[s]}return t}var yi=Zn?function(t,e){return Zn.set(t,e),t}:va,vi=Tn?function(t,e){return Tn(t,\"toString\",{configurable:!0,enumerable:!1,value:pa(e),writable:!0})}:va;function gi(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var l=r(o);++i<o;)l[i]=t[i+e];return l}function bi(t,e){var n;return Pr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function mi(t,e,n){var r=0,i=null==t?r:t.length;if(\"number\"==typeof e&&e==e&&i<=S){for(;r<i;){var o=r+i>>>1,l=t[o];null!==l&&!wu(l)&&(n?l<=e:l<e)?r=o+1:i=o}return i}return _i(t,e,va,n)}function _i(t,e,n,r){e=n(e);for(var i=0,l=null==t?0:t.length,u=e!=e,a=null===e,s=wu(e),c=e===o;i<l;){var f=Sn((i+l)/2),h=n(t[f]),p=h!==o,d=null===h,y=h==h,v=wu(h);if(u)var g=r||y;else g=c?y&&(r||p):a?y&&p&&(r||!d):s?y&&p&&!d&&(r||!v):!d&&!v&&(r?h<=e:h<e);g?i=f+1:l=f}return Bn(l,R)}function wi(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var l=t[n],u=e?e(l):l;if(!n||!Ql(u,a)){var a=u;o[i++]=0===l?0:l}}return o}function Oi(t){return\"number\"==typeof t?t:wu(t)?A:+t}function xi(t){if(\"string\"==typeof t)return t;if(ru(t))return He(t,xi)+\"\";if(wu(t))return or?or.call(t):\"\";var e=t+\"\";return\"0\"==e&&1/t==-C?\"-0\":e}function ki(t,e,n){var r=-1,i=We,o=t.length,u=!0,a=[],s=a;if(n)u=!1,i=ze;else if(o>=l){var c=e?null:so(t);if(c)return wn(c);u=!1,i=fn,s=new dr}else s=e?[]:a;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,u&&h==h){for(var p=s.length;p--;)if(s[p]===h)continue t;e&&s.push(h),a.push(f)}else i(s,h,n)||(s!==a&&s.push(h),a.push(f))}return a}function Ei(t,e){return null==(t=Vo(t,e=Ni(e,t)))||delete t[Zo(sl(e))]}function Ci(t,e,n,r){return di(t,e,n(Ur(t,e)),r)}function Ti(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?gi(t,r?0:o,r?o+1:i):gi(t,r?o+1:0,r?i:o)}function ji(t,e){var n=t;return n instanceof cr&&(n=n.value()),Ye(e,function(t,e){return e.func.apply(e.thisArg,Ke([t],e.args))},n)}function Ai(t,e,n){var i=t.length;if(i<2)return i?ki(t[0]):[];for(var o=-1,l=r(i);++o<i;)for(var u=t[o],a=-1;++a<i;)a!=o&&(l[o]=Ar(l[o]||u,t[a],e,n));return ki(Mr(l,1),e,n)}function Pi(t,e,n){for(var r=-1,i=t.length,l=e.length,u={};++r<i;)n(u,t[r],r<l?e[r]:o);return u}function Ri(t){return lu(t)?t:[]}function Si(t){return\"function\"==typeof t?t:va}function Ni(t,e){return ru(t)?t:Mo(t,e)?[t]:\$o(Ru(t))}var Di=pi;function Mi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:gi(t,e,n)}var qi=jn||function(t){return ke.clearTimeout(t)};function Ii(t,e){if(e)return t.slice();var n=t.length,r=Oe?Oe(n):new t.constructor(n);return t.copy(r),r}function Li(t){var e=new t.constructor(t.byteLength);return new me(e).set(new me(t)),e}function Bi(t,e){var n=e?Li(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Fi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,l=wu(t),u=e!==o,a=null===e,s=e==e,c=wu(e);if(!a&&!c&&!l&&t>e||l&&u&&s&&!a&&!c||r&&u&&s||!n&&s||!i)return 1;if(!r&&!l&&!c&&t<e||c&&n&&i&&!r&&!l||a&&n&&i||!u&&i||!s)return-1}return 0}function Ui(t,e,n,i){for(var o=-1,l=t.length,u=n.length,a=-1,s=e.length,c=Ln(l-u,0),f=r(s+c),h=!i;++a<s;)f[a]=e[a];for(;++o<u;)(h||o<l)&&(f[n[o]]=t[o]);for(;c--;)f[a++]=t[o++];return f}function Vi(t,e,n,i){for(var o=-1,l=t.length,u=-1,a=n.length,s=-1,c=e.length,f=Ln(l-a,0),h=r(f+c),p=!i;++o<f;)h[o]=t[o];for(var d=o;++s<c;)h[d+s]=e[s];for(;++u<a;)(p||o<l)&&(h[d+n[u]]=t[o++]);return h}function Wi(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function zi(t,e,n,r){var i=!n;n||(n={});for(var l=-1,u=e.length;++l<u;){var a=e[l],s=r?r(n[a],t[a],a,n,t):o;s===o&&(s=t[a]),i?xr(n,a,s):mr(n,a,s)}return n}function Hi(t,e){return function(n,r){var i=ru(n)?Be:wr,o=e?e():{};return i(n,t,xo(r,2),o)}}function Ki(t){return pi(function(e,n){var r=-1,i=n.length,l=i>1?n[i-1]:o,u=i>2?n[2]:o;for(l=t.length>3&&\"function\"==typeof l?(i--,l):o,u&&Do(n[0],n[1],u)&&(l=i<3?o:l,i=1),e=Gt(e);++r<i;){var a=n[r];a&&t(e,a,r,l)}return e})}function Yi(t,e){return function(n,r){if(null==n)return n;if(!ou(n))return t(n,r);for(var i=n.length,o=e?i:-1,l=Gt(n);(e?o--:++o<i)&&!1!==r(l[o],o,l););return n}}function Gi(t){return function(e,n,r){for(var i=-1,o=Gt(e),l=r(e),u=l.length;u--;){var a=l[t?u:++i];if(!1===n(o[a],a,o))break}return e}}function \$i(t){return function(e){var n=gn(e=Ru(e))?kn(e):o,r=n?n[0]:e.charAt(0),i=n?Mi(n,1).join(\"\"):e.slice(1);return r[t]()+i}}function Zi(t){return function(e){return Ye(ca(na(e).replace(se,\"\")),t,\"\")}}function Xi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=ur(t.prototype),r=t.apply(n,e);return pu(r)?r:n}}function Ji(t){return function(e,n,r){var i=Gt(e);if(!ou(e)){var l=xo(n,3);e=zu(e),n=function(t){return l(i[t],t,i)}}var u=t(e,n,r);return u>-1?i[l?e[u]:u]:o}}function Qi(t){return go(function(e){var n=e.length,r=n,i=sr.prototype.thru;for(t&&e.reverse();r--;){var l=e[r];if(\"function\"!=typeof l)throw new Xt(u);if(i&&!a&&\"wrapper\"==wo(l))var a=new sr([],!0)}for(r=a?r:n;++r<n;){var s=wo(l=e[r]),c=\"wrapper\"==s?_o(l):o;a=c&&qo(c[0])&&c[1]==(w|g|m|O)&&!c[4].length&&1==c[9]?a[wo(c[0])].apply(a,c[3]):1==l.length&&qo(l)?a[s]():a.thru(l)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ru(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function to(t,e,n,i,l,u,a,s,c,f){var h=e&w,p=e&d,v=e&y,m=e&(g|b),_=e&x,O=v?o:Xi(t);return function d(){for(var y=arguments.length,g=r(y),b=y;b--;)g[b]=arguments[b];if(m)var w=Oo(d),x=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(g,w);if(i&&(g=Ui(g,i,l,m)),u&&(g=Vi(g,u,a,m)),y-=x,m&&y<f){var k=_n(g,w);return uo(t,e,to,d.placeholder,n,g,k,s,c,f-y)}var E=p?n:this,C=v?E[t]:t;return y=g.length,s?g=function(t,e){for(var n=t.length,r=Bn(e.length,n),i=Wi(t);r--;){var l=e[r];t[r]=No(l,n)?i[l]:o}return t}(g,s):_&&y>1&&g.reverse(),h&&c<y&&(g.length=c),this&&this!==ke&&this instanceof d&&(C=O||Xi(C)),C.apply(E,g)}}function eo(t,e){return function(n,r){return function(t,e,n,r){return Lr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function no(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;\"string\"==typeof n||\"string\"==typeof r?(n=xi(n),r=xi(r)):(n=Oi(n),r=Oi(r)),i=t(n,r)}return i}}function ro(t){return go(function(e){return e=He(e,sn(xo())),pi(function(n){var r=this;return t(e,function(t){return Le(t,r,n)})})})}function io(t,e){var n=(e=e===o?\" \":xi(e)).length;if(n<2)return n?hi(e,t):e;var r=hi(e,Rn(t/xn(e)));return gn(e)?Mi(kn(r),0,t).join(\"\"):r.slice(0,t)}function oo(t){return function(e,n,i){return i&&\"number\"!=typeof i&&Do(e,n,i)&&(n=i=o),e=Cu(e),n===o?(n=e,e=0):n=Cu(n),function(t,e,n,i){for(var o=-1,l=Ln(Rn((e-t)/(n||1)),0),u=r(l);l--;)u[i?l:++o]=t,t+=n;return u}(e,n,i=i===o?e<n?1:-1:Cu(i),t)}}function lo(t){return function(e,n){return\"string\"==typeof e&&\"string\"==typeof n||(e=Au(e),n=Au(n)),t(e,n)}}function uo(t,e,n,r,i,l,u,a,s,c){var f=e&g;e|=f?m:_,(e&=~(f?_:m))&v||(e&=~(d|y));var h=[t,e,i,f?l:o,f?u:o,f?o:l,f?o:u,a,s,c],p=n.apply(o,h);return qo(t)&&Wo(p,h),p.placeholder=r,Ko(p,t,e)}function ao(t){var e=Yt[t];return function(t,n){if(t=Au(t),n=null==n?0:Bn(Tu(n),292)){var r=(Ru(t)+\"e\").split(\"e\");return+((r=(Ru(e(r[0]+\"e\"+(+r[1]+n)))+\"e\").split(\"e\"))[0]+\"e\"+(+r[1]-n))}return e(t)}}var so=Yn&&1/wn(new Yn([,-0]))[1]==C?function(t){return new Yn(t)}:wa;function co(t){return function(e){var n=Ao(e);return n==W?bn(e):n==\$?On(e):function(t,e){return He(e,function(e){return[e,t[e]]})}(e,t(e))}}function fo(t,e,n,i,l,s,c,f){var h=e&y;if(!h&&\"function\"!=typeof t)throw new Xt(u);var p=i?i.length:0;if(p||(e&=~(m|_),i=l=o),c=c===o?c:Ln(Tu(c),0),f=f===o?f:Tu(f),p-=l?l.length:0,e&_){var x=i,k=l;i=l=o}var E=h?o:_o(t),C=[t,e,n,i,l,x,k,s,c,f];if(E&&function(t,e){var n=t[1],r=e[1],i=n|r;if(!(i<(d|y|w)||r==w&&n==g||r==w&&n==O&&t[7].length<=e[8]||r==(w|O)&&e[7].length<=e[8]&&n==g))return t;r&d&&(t[2]=e[2],i|=n&d?0:v);var o=e[3];if(o){var l=t[3];t[3]=l?Ui(l,o,e[4]):o,t[4]=l?_n(t[3],a):e[4]}(o=e[5])&&(t[5]=(l=t[5])?Vi(l,o,e[6]):o,t[6]=l?_n(t[5],a):e[6]),(o=e[7])&&(t[7]=o),r&w&&(t[8]=null==t[8]?e[8]:Bn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(C,E),t=C[0],e=C[1],n=C[2],i=C[3],l=C[4],!(f=C[9]=C[9]===o?h?0:t.length:Ln(C[9]-p,0))&&e&(g|b)&&(e&=~(g|b)),e&&e!=d)T=e==g||e==b?function(t,e,n){var i=Xi(t);return function l(){for(var u=arguments.length,a=r(u),s=u,c=Oo(l);s--;)a[s]=arguments[s];var f=u<3&&a[0]!==c&&a[u-1]!==c?[]:_n(a,c);return(u-=f.length)<n?uo(t,e,to,l.placeholder,o,a,f,o,o,n-u):Le(this&&this!==ke&&this instanceof l?i:t,this,a)}}(t,e,f):e!=m&&e!=(d|m)||l.length?to.apply(o,C):function(t,e,n,i){var o=e&d,l=Xi(t);return function e(){for(var u=-1,a=arguments.length,s=-1,c=i.length,f=r(c+a),h=this&&this!==ke&&this instanceof e?l:t;++s<c;)f[s]=i[s];for(;a--;)f[s++]=arguments[++u];return Le(h,o?n:this,f)}}(t,e,n,i);else var T=function(t,e,n){var r=e&d,i=Xi(t);return function e(){return(this&&this!==ke&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return Ko((E?yi:Wo)(T,C),t,e)}function ho(t,e,n,r){return t===o||Ql(t,Qt[n])&&!ne.call(r,n)?e:t}function po(t,e,n,r,i,l){return pu(t)&&pu(e)&&(l.set(e,t),oi(t,e,o,po,l),l.delete(e)),t}function yo(t){return gu(t)?o:t}function vo(t,e,n,r,i,l){var u=n&h,a=t.length,s=e.length;if(a!=s&&!(u&&s>a))return!1;var c=l.get(t);if(c&&l.get(e))return c==e;var f=-1,d=!0,y=n&p?new dr:o;for(l.set(t,e),l.set(e,t);++f<a;){var v=t[f],g=e[f];if(r)var b=u?r(g,v,f,e,t,l):r(v,g,f,t,e,l);if(b!==o){if(b)continue;d=!1;break}if(y){if(!\$e(e,function(t,e){if(!fn(y,e)&&(v===t||i(v,t,n,r,l)))return y.push(e)})){d=!1;break}}else if(v!==g&&!i(v,g,n,r,l)){d=!1;break}}return l.delete(t),l.delete(e),d}function go(t){return Ho(Uo(t,o,il),t+\"\")}function bo(t){return Vr(t,zu,To)}function mo(t){return Vr(t,Hu,jo)}var _o=Zn?function(t){return Zn.get(t)}:wa;function wo(t){for(var e=t.name+\"\",n=Xn[e],r=ne.call(Xn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Oo(t){return(ne.call(lr,\"placeholder\")?lr:t).placeholder}function xo(){var t=lr.iteratee||ga;return t=t===ga?Qr:t,arguments.length?t(arguments[0],arguments[1]):t}function ko(t,e){var n,r,i=t.__data__;return(\"string\"==(r=typeof(n=e))||\"number\"==r||\"symbol\"==r||\"boolean\"==r?\"__proto__\"!==n:null===n)?i[\"string\"==typeof e?\"string\":\"hash\"]:i.map}function Eo(t){for(var e=zu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Bo(i)]}return e}function Co(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return Jr(n)?n:o}var To=Nn?function(t){return null==t?[]:(t=Gt(t),Ve(Nn(t),function(e){return Ce.call(t,e)}))}:ja,jo=Nn?function(t){for(var e=[];t;)Ke(e,To(t)),t=xe(t);return e}:ja,Ao=Wr;function Po(t,e,n){for(var r=-1,i=(e=Ni(e,t)).length,o=!1;++r<i;){var l=Zo(e[r]);if(!(o=null!=t&&n(t,l)))break;t=t[l]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&hu(i)&&No(l,i)&&(ru(t)||nu(t))}function Ro(t){return\"function\"!=typeof t.constructor||Lo(t)?{}:ur(xe(t))}function So(t){return ru(t)||nu(t)||!!(Ae&&t&&t[Ae])}function No(t,e){return!!(e=null==e?T:e)&&(\"number\"==typeof t||Ut.test(t))&&t>-1&&t%1==0&&t<e}function Do(t,e,n){if(!pu(n))return!1;var r=typeof e;return!!(\"number\"==r?ou(n)&&No(e,n.length):\"string\"==r&&e in n)&&Ql(n[e],t)}function Mo(t,e){if(ru(t))return!1;var n=typeof t;return!(\"number\"!=n&&\"symbol\"!=n&&\"boolean\"!=n&&null!=t&&!wu(t))||Ot.test(t)||!wt.test(t)||null!=e&&t in Gt(e)}function qo(t){var e=wo(t),n=lr[e];if(\"function\"!=typeof n||!(e in cr.prototype))return!1;if(t===n)return!0;var r=_o(n);return!!r&&t===r[0]}(zn&&Ao(new zn(new ArrayBuffer(1)))!=et||Hn&&Ao(new Hn)!=W||Kn&&\"[object Promise]\"!=Ao(Kn.resolve())||Yn&&Ao(new Yn)!=\$||Gn&&Ao(new Gn)!=Q)&&(Ao=function(t){var e=Wr(t),n=e==K?t.constructor:o,r=n?Xo(n):\"\";if(r)switch(r){case Jn:return et;case Qn:return W;case tr:return\"[object Promise]\";case er:return \$;case nr:return Q}return e});var Io=te?cu:Aa;function Lo(t){var e=t&&t.constructor;return t===(\"function\"==typeof e&&e.prototype||Qt)}function Bo(t){return t==t&&!pu(t)}function Fo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in Gt(n))}}function Uo(t,e,n){return e=Ln(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,l=Ln(i.length-e,0),u=r(l);++o<l;)u[o]=i[e+o];o=-1;for(var a=r(e+1);++o<e;)a[o]=i[o];return a[e]=n(u),Le(t,this,a)}}function Vo(t,e){return e.length<2?t:Ur(t,gi(e,0,-1))}var Wo=Yo(yi),zo=Pn||function(t,e){return ke.setTimeout(t,e)},Ho=Yo(vi);function Ko(t,e,n){var r=e+\"\";return Ho(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?\"& \":\"\")+e[r],e=e.join(n>2?\", \":\" \"),t.replace(Pt,\"{\\n/* [wrapped with \"+e+\"] */\\n\")}(r,function(t,e){return Fe(N,function(n){var r=\"_.\"+n[0];e&n[1]&&!We(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Rt);return e?e[1].split(St):[]}(r),n)))}function Yo(t){var e=0,n=0;return function(){var r=Fn(),i=E-(r-n);if(n=r,i>0){if(++e>=k)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Go(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var l=fi(n,i),u=t[l];t[l]=t[n],t[n]=u}return t.length=e,t}var \$o=function(t){var e=Yl(function(t){var e=[];return xt.test(t)&&e.push(\"\"),t.replace(kt,function(t,n,r,i){e.push(r?i.replace(Dt,\"\$1\"):n||t)}),e},function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}();function Zo(t){if(\"string\"==typeof t||wu(t))return t;var e=t+\"\";return\"0\"==e&&1/t==-C?\"-0\":e}function Xo(t){if(null!=t){try{return ee.call(t)}catch(t){}try{return t+\"\"}catch(t){}}return\"\"}function Jo(t){if(t instanceof cr)return t.clone();var e=new sr(t.__wrapped__,t.__chain__);return e.__actions__=Wi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Qo=pi(function(t,e){return lu(t)?Ar(t,Mr(e,1,lu,!0)):[]}),tl=pi(function(t,e){var n=sl(e);return lu(n)&&(n=o),lu(t)?Ar(t,Mr(e,1,lu,!0),xo(n,2)):[]}),el=pi(function(t,e){var n=sl(e);return lu(n)&&(n=o),lu(t)?Ar(t,Mr(e,1,lu,!0),o,n):[]});function nl(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Tu(n);return i<0&&(i=Ln(r+i,0)),Je(t,xo(e,3),i)}function rl(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Tu(n),i=n<0?Ln(r+i,0):Bn(i,r-1)),Je(t,xo(e,3),i,!0)}function il(t){return null!=t&&t.length?Mr(t,1):[]}function ol(t){return t&&t.length?t[0]:o}var ll=pi(function(t){var e=He(t,Ri);return e.length&&e[0]===t[0]?Yr(e):[]}),ul=pi(function(t){var e=sl(t),n=He(t,Ri);return e===sl(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Yr(n,xo(e,2)):[]}),al=pi(function(t){var e=sl(t),n=He(t,Ri);return(e=\"function\"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?Yr(n,o,e):[]});function sl(t){var e=null==t?0:t.length;return e?t[e-1]:o}var cl=pi(fl);function fl(t,e){return t&&t.length&&e&&e.length?si(t,e):t}var hl=go(function(t,e){var n=null==t?0:t.length,r=kr(t,e);return ci(t,He(e,function(t){return No(t,n)?+t:t}).sort(Fi)),r});function pl(t){return null==t?t:Wn.call(t)}var dl=pi(function(t){return ki(Mr(t,1,lu,!0))}),yl=pi(function(t){var e=sl(t);return lu(e)&&(e=o),ki(Mr(t,1,lu,!0),xo(e,2))}),vl=pi(function(t){var e=sl(t);return e=\"function\"==typeof e?e:o,ki(Mr(t,1,lu,!0),o,e)});function gl(t){if(!t||!t.length)return[];var e=0;return t=Ve(t,function(t){if(lu(t))return e=Ln(t.length,e),!0}),an(e,function(e){return He(t,rn(e))})}function bl(t,e){if(!t||!t.length)return[];var n=gl(t);return null==e?n:He(n,function(t){return Le(e,o,t)})}var ml=pi(function(t,e){return lu(t)?Ar(t,e):[]}),_l=pi(function(t){return Ai(Ve(t,lu))}),wl=pi(function(t){var e=sl(t);return lu(e)&&(e=o),Ai(Ve(t,lu),xo(e,2))}),Ol=pi(function(t){var e=sl(t);return e=\"function\"==typeof e?e:o,Ai(Ve(t,lu),o,e)}),xl=pi(gl),kl=pi(function(t){var e=t.length,n=e>1?t[e-1]:o;return bl(t,n=\"function\"==typeof n?(t.pop(),n):o)});function El(t){var e=lr(t);return e.__chain__=!0,e}function Cl(t,e){return e(t)}var Tl=go(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return kr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof cr&&No(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Cl,args:[i],thisArg:o}),new sr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)}),jl=Hi(function(t,e,n){ne.call(t,n)?++t[n]:xr(t,n,1)}),Al=Ji(nl),Pl=Ji(rl);function Rl(t,e){return(ru(t)?Fe:Pr)(t,xo(e,3))}function Sl(t,e){return(ru(t)?function(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}:Rr)(t,xo(e,3))}var Nl=Hi(function(t,e,n){ne.call(t,n)?t[n].push(e):xr(t,n,[e])}),Dl=pi(function(t,e,n){var i=-1,o=\"function\"==typeof e,l=ou(t)?r(t.length):[];return Pr(t,function(t){l[++i]=o?Le(e,t,n):Gr(t,e,n)}),l}),Ml=Hi(function(t,e,n){xr(t,n,e)});function ql(t,e){return(ru(t)?He:ni)(t,xo(e,3))}var Il=Hi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Ll=pi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Do(t,e[0],e[1])?e=[]:n>2&&Do(e[0],e[1],e[2])&&(e=[e[0]]),ui(t,Mr(e,1),[])}),Bl=An||function(){return ke.Date.now()};function Fl(t,e,n){return e=n?o:e,fo(t,w,o,o,o,o,e=t&&null==e?t.length:e)}function Ul(t,e){var n;if(\"function\"!=typeof e)throw new Xt(u);return t=Tu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Vl=pi(function(t,e,n){var r=d;if(n.length){var i=_n(n,Oo(Vl));r|=m}return fo(t,r,e,n,i)}),Wl=pi(function(t,e,n){var r=d|y;if(n.length){var i=_n(n,Oo(Wl));r|=m}return fo(e,r,t,n,i)});function zl(t,e,n){var r,i,l,a,s,c,f=0,h=!1,p=!1,d=!0;if(\"function\"!=typeof t)throw new Xt(u);function y(e){var n=r,l=i;return r=i=o,f=e,a=t.apply(l,n)}function v(t){var n=t-c;return c===o||n>=e||n<0||p&&t-f>=l}function g(){var t=Bl();if(v(t))return b(t);s=zo(g,function(t){var n=e-(t-c);return p?Bn(n,l-(t-f)):n}(t))}function b(t){return s=o,d&&r?y(t):(r=i=o,a)}function m(){var t=Bl(),n=v(t);if(r=arguments,i=this,c=t,n){if(s===o)return function(t){return f=t,s=zo(g,e),h?y(t):a}(c);if(p)return s=zo(g,e),y(c)}return s===o&&(s=zo(g,e)),a}return e=Au(e)||0,pu(n)&&(h=!!n.leading,l=(p=\"maxWait\"in n)?Ln(Au(n.maxWait)||0,e):l,d=\"trailing\"in n?!!n.trailing:d),m.cancel=function(){s!==o&&qi(s),f=0,r=c=i=s=o},m.flush=function(){return s===o?a:b(Bl())},m}var Hl=pi(function(t,e){return jr(t,1,e)}),Kl=pi(function(t,e,n){return jr(t,Au(e)||0,n)});function Yl(t,e){if(\"function\"!=typeof t||null!=e&&\"function\"!=typeof e)throw new Xt(u);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var l=t.apply(this,r);return n.cache=o.set(i,l)||o,l};return n.cache=new(Yl.Cache||pr),n}function Gl(t){if(\"function\"!=typeof t)throw new Xt(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Yl.Cache=pr;var \$l=Di(function(t,e){var n=(e=1==e.length&&ru(e[0])?He(e[0],sn(xo())):He(Mr(e,1),sn(xo()))).length;return pi(function(r){for(var i=-1,o=Bn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Le(t,this,r)})}),Zl=pi(function(t,e){var n=_n(e,Oo(Zl));return fo(t,m,o,e,n)}),Xl=pi(function(t,e){var n=_n(e,Oo(Xl));return fo(t,_,o,e,n)}),Jl=go(function(t,e){return fo(t,O,o,o,o,e)});function Ql(t,e){return t===e||t!=t&&e!=e}var tu=lo(zr),eu=lo(function(t,e){return t>=e}),nu=\$r(function(){return arguments}())?\$r:function(t){return du(t)&&ne.call(t,\"callee\")&&!Ce.call(t,\"callee\")},ru=r.isArray,iu=Pe?sn(Pe):function(t){return du(t)&&Wr(t)==tt};function ou(t){return null!=t&&hu(t.length)&&!cu(t)}function lu(t){return du(t)&&ou(t)}var uu=Dn||Aa,au=Re?sn(Re):function(t){return du(t)&&Wr(t)==L};function su(t){if(!du(t))return!1;var e=Wr(t);return e==F||e==B||\"string\"==typeof t.message&&\"string\"==typeof t.name&&!gu(t)}function cu(t){if(!pu(t))return!1;var e=Wr(t);return e==U||e==V||e==q||e==Y}function fu(t){return\"number\"==typeof t&&t==Tu(t)}function hu(t){return\"number\"==typeof t&&t>-1&&t%1==0&&t<=T}function pu(t){var e=typeof t;return null!=t&&(\"object\"==e||\"function\"==e)}function du(t){return null!=t&&\"object\"==typeof t}var yu=Se?sn(Se):function(t){return du(t)&&Ao(t)==W};function vu(t){return\"number\"==typeof t||du(t)&&Wr(t)==z}function gu(t){if(!du(t)||Wr(t)!=K)return!1;var e=xe(t);if(null===e)return!0;var n=ne.call(e,\"constructor\")&&e.constructor;return\"function\"==typeof n&&n instanceof n&&ee.call(n)==le}var bu=Ne?sn(Ne):function(t){return du(t)&&Wr(t)==G},mu=De?sn(De):function(t){return du(t)&&Ao(t)==\$};function _u(t){return\"string\"==typeof t||!ru(t)&&du(t)&&Wr(t)==Z}function wu(t){return\"symbol\"==typeof t||du(t)&&Wr(t)==X}var Ou=Me?sn(Me):function(t){return du(t)&&hu(t.length)&&!!ge[Wr(t)]},xu=lo(ei),ku=lo(function(t,e){return t<=e});function Eu(t){if(!t)return[];if(ou(t))return _u(t)?kn(t):Wi(t);if(Ze&&t[Ze])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Ze]());var e=Ao(t);return(e==W?bn:e==\$?wn:Qu)(t)}function Cu(t){return t?(t=Au(t))===C||t===-C?(t<0?-1:1)*j:t==t?t:0:0===t?t:0}function Tu(t){var e=Cu(t),n=e%1;return e==e?n?e-n:e:0}function ju(t){return t?Er(Tu(t),0,P):0}function Au(t){if(\"number\"==typeof t)return t;if(wu(t))return A;if(pu(t)){var e=\"function\"==typeof t.valueOf?t.valueOf():t;t=pu(e)?e+\"\":e}if(\"string\"!=typeof t)return 0===t?t:+t;t=t.replace(Tt,\"\");var n=Lt.test(t);return n||Ft.test(t)?we(t.slice(2),n?2:8):It.test(t)?A:+t}function Pu(t){return zi(t,Hu(t))}function Ru(t){return null==t?\"\":xi(t)}var Su=Ki(function(t,e){if(Lo(e)||ou(e))zi(e,zu(e),t);else for(var n in e)ne.call(e,n)&&mr(t,n,e[n])}),Nu=Ki(function(t,e){zi(e,Hu(e),t)}),Du=Ki(function(t,e,n,r){zi(e,Hu(e),t,r)}),Mu=Ki(function(t,e,n,r){zi(e,zu(e),t,r)}),qu=go(kr),Iu=pi(function(t){return t.push(o,ho),Le(Du,o,t)}),Lu=pi(function(t){return t.push(o,po),Le(Yu,o,t)});function Bu(t,e,n){var r=null==t?o:Ur(t,e);return r===o?n:r}function Fu(t,e){return null!=t&&Po(t,e,Kr)}var Uu=eo(function(t,e,n){t[e]=n},pa(va)),Vu=eo(function(t,e,n){ne.call(t,e)?t[e].push(n):t[e]=[n]},xo),Wu=pi(Gr);function zu(t){return ou(t)?vr(t):ti(t)}function Hu(t){return ou(t)?vr(t,!0):function(t){if(!pu(t))return function(t){var e=[];if(null!=t)for(var n in Gt(t))e.push(n);return e}(t);var e=Lo(t),n=[];for(var r in t)(\"constructor\"!=r||!e&&ne.call(t,r))&&n.push(r);return n}(t)}var Ku=Ki(function(t,e,n){oi(t,e,n)}),Yu=Ki(function(t,e,n,r){oi(t,e,n,r)}),Gu=go(function(t,e){var n={};if(null==t)return n;var r=!1;e=He(e,function(e){return e=Ni(e,t),r||(r=e.length>1),e}),zi(t,mo(t),n),r&&(n=Cr(n,s|c|f,yo));for(var i=e.length;i--;)Ei(n,e[i]);return n}),\$u=go(function(t,e){return null==t?{}:function(t,e){return ai(t,e,function(e,n){return Fu(t,n)})}(t,e)});function Zu(t,e){if(null==t)return{};var n=He(mo(t),function(t){return[t]});return e=xo(e),ai(t,n,function(t,n){return e(t,n[0])})}var Xu=co(zu),Ju=co(Hu);function Qu(t){return null==t?[]:cn(t,zu(t))}var ta=Zi(function(t,e,n){return e=e.toLowerCase(),t+(n?ea(e):e)});function ea(t){return sa(Ru(t).toLowerCase())}function na(t){return(t=Ru(t))&&t.replace(Vt,dn).replace(ce,\"\")}var ra=Zi(function(t,e,n){return t+(n?\"-\":\"\")+e.toLowerCase()}),ia=Zi(function(t,e,n){return t+(n?\" \":\"\")+e.toLowerCase()}),oa=\$i(\"toLowerCase\"),la=Zi(function(t,e,n){return t+(n?\"_\":\"\")+e.toLowerCase()}),ua=Zi(function(t,e,n){return t+(n?\" \":\"\")+sa(e)}),aa=Zi(function(t,e,n){return t+(n?\" \":\"\")+e.toUpperCase()}),sa=\$i(\"toUpperCase\");function ca(t,e,n){return t=Ru(t),(e=n?o:e)===o?function(t){return de.test(t)}(t)?function(t){return t.match(he)||[]}(t):function(t){return t.match(Nt)||[]}(t):t.match(e)||[]}var fa=pi(function(t,e){try{return Le(t,o,e)}catch(t){return su(t)?t:new Ht(t)}}),ha=go(function(t,e){return Fe(e,function(e){e=Zo(e),xr(t,e,Vl(t[e],t))}),t});function pa(t){return function(){return t}}var da=Qi(),ya=Qi(!0);function va(t){return t}function ga(t){return Qr(\"function\"==typeof t?t:Cr(t,s))}var ba=pi(function(t,e){return function(n){return Gr(n,t,e)}}),ma=pi(function(t,e){return function(n){return Gr(t,n,e)}});function _a(t,e,n){var r=zu(e),i=Fr(e,r);null!=n||pu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Fr(e,zu(e)));var o=!(pu(n)&&\"chain\"in n&&!n.chain),l=cu(t);return Fe(i,function(n){var r=e[n];t[n]=r,l&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Wi(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Ke([this.value()],arguments))})}),t}function wa(){}var Oa=ro(He),xa=ro(Ue),ka=ro(\$e);function Ea(t){return Mo(t)?rn(Zo(t)):function(t){return function(e){return Ur(e,t)}}(t)}var Ca=oo(),Ta=oo(!0);function ja(){return[]}function Aa(){return!1}var Pa,Ra=no(function(t,e){return t+e},0),Sa=ao(\"ceil\"),Na=no(function(t,e){return t/e},1),Da=ao(\"floor\"),Ma=no(function(t,e){return t*e},1),qa=ao(\"round\"),Ia=no(function(t,e){return t-e},0);return lr.after=function(t,e){if(\"function\"!=typeof e)throw new Xt(u);return t=Tu(t),function(){if(--t<1)return e.apply(this,arguments)}},lr.ary=Fl,lr.assign=Su,lr.assignIn=Nu,lr.assignInWith=Du,lr.assignWith=Mu,lr.at=qu,lr.before=Ul,lr.bind=Vl,lr.bindAll=ha,lr.bindKey=Wl,lr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ru(t)?t:[t]},lr.chain=El,lr.chunk=function(t,e,n){e=(n?Do(t,e,n):e===o)?1:Ln(Tu(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var l=0,u=0,a=r(Rn(i/e));l<i;)a[u++]=gi(t,l,l+=e);return a},lr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},lr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Ke(ru(n)?Wi(n):[n],Mr(e,1))},lr.cond=function(t){var e=null==t?0:t.length,n=xo();return t=e?He(t,function(t){if(\"function\"!=typeof t[1])throw new Xt(u);return[n(t[0]),t[1]]}):[],pi(function(n){for(var r=-1;++r<e;){var i=t[r];if(Le(i[0],this,n))return Le(i[1],this,n)}})},lr.conforms=function(t){return function(t){var e=zu(t);return function(n){return Tr(n,t,e)}}(Cr(t,s))},lr.constant=pa,lr.countBy=jl,lr.create=function(t,e){var n=ur(t);return null==e?n:Or(n,e)},lr.curry=function t(e,n,r){var i=fo(e,g,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},lr.curryRight=function t(e,n,r){var i=fo(e,b,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},lr.debounce=zl,lr.defaults=Iu,lr.defaultsDeep=Lu,lr.defer=Hl,lr.delay=Kl,lr.difference=Qo,lr.differenceBy=tl,lr.differenceWith=el,lr.drop=function(t,e,n){var r=null==t?0:t.length;return r?gi(t,(e=n||e===o?1:Tu(e))<0?0:e,r):[]},lr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?gi(t,0,(e=r-(e=n||e===o?1:Tu(e)))<0?0:e):[]},lr.dropRightWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3),!0,!0):[]},lr.dropWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3),!0):[]},lr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&\"number\"!=typeof n&&Do(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=Tu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:Tu(r))<0&&(r+=i),r=n>r?0:ju(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},lr.filter=function(t,e){return(ru(t)?Ve:Dr)(t,xo(e,3))},lr.flatMap=function(t,e){return Mr(ql(t,e),1)},lr.flatMapDeep=function(t,e){return Mr(ql(t,e),C)},lr.flatMapDepth=function(t,e,n){return n=n===o?1:Tu(n),Mr(ql(t,e),n)},lr.flatten=il,lr.flattenDeep=function(t){return null!=t&&t.length?Mr(t,C):[]},lr.flattenDepth=function(t,e){return null!=t&&t.length?Mr(t,e=e===o?1:Tu(e)):[]},lr.flip=function(t){return fo(t,x)},lr.flow=da,lr.flowRight=ya,lr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},lr.functions=function(t){return null==t?[]:Fr(t,zu(t))},lr.functionsIn=function(t){return null==t?[]:Fr(t,Hu(t))},lr.groupBy=Nl,lr.initial=function(t){return null!=t&&t.length?gi(t,0,-1):[]},lr.intersection=ll,lr.intersectionBy=ul,lr.intersectionWith=al,lr.invert=Uu,lr.invertBy=Vu,lr.invokeMap=Dl,lr.iteratee=ga,lr.keyBy=Ml,lr.keys=zu,lr.keysIn=Hu,lr.map=ql,lr.mapKeys=function(t,e){var n={};return e=xo(e,3),Lr(t,function(t,r,i){xr(n,e(t,r,i),t)}),n},lr.mapValues=function(t,e){var n={};return e=xo(e,3),Lr(t,function(t,r,i){xr(n,r,e(t,r,i))}),n},lr.matches=function(t){return ri(Cr(t,s))},lr.matchesProperty=function(t,e){return ii(t,Cr(e,s))},lr.memoize=Yl,lr.merge=Ku,lr.mergeWith=Yu,lr.method=ba,lr.methodOf=ma,lr.mixin=_a,lr.negate=Gl,lr.nthArg=function(t){return t=Tu(t),pi(function(e){return li(e,t)})},lr.omit=Gu,lr.omitBy=function(t,e){return Zu(t,Gl(xo(e)))},lr.once=function(t){return Ul(2,t)},lr.orderBy=function(t,e,n,r){return null==t?[]:(ru(e)||(e=null==e?[]:[e]),ru(n=r?o:n)||(n=null==n?[]:[n]),ui(t,e,n))},lr.over=Oa,lr.overArgs=\$l,lr.overEvery=xa,lr.overSome=ka,lr.partial=Zl,lr.partialRight=Xl,lr.partition=Il,lr.pick=\$u,lr.pickBy=Zu,lr.property=Ea,lr.propertyOf=function(t){return function(e){return null==t?o:Ur(t,e)}},lr.pull=cl,lr.pullAll=fl,lr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?si(t,e,xo(n,2)):t},lr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?si(t,e,o,n):t},lr.pullAt=hl,lr.range=Ca,lr.rangeRight=Ta,lr.rearg=Jl,lr.reject=function(t,e){return(ru(t)?Ve:Dr)(t,Gl(xo(e,3)))},lr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=xo(e,3);++r<o;){var l=t[r];e(l,r,t)&&(n.push(l),i.push(r))}return ci(t,i),n},lr.rest=function(t,e){if(\"function\"!=typeof t)throw new Xt(u);return pi(t,e=e===o?e:Tu(e))},lr.reverse=pl,lr.sampleSize=function(t,e,n){return e=(n?Do(t,e,n):e===o)?1:Tu(e),(ru(t)?function(t,e){return Go(Wi(t),Er(e,0,t.length))}:function(t,e){var n=Qu(t);return Go(n,Er(e,0,n.length))})(t,e)},lr.set=function(t,e,n){return null==t?t:di(t,e,n)},lr.setWith=function(t,e,n,r){return r=\"function\"==typeof r?r:o,null==t?t:di(t,e,n,r)},lr.shuffle=function(t){return(ru(t)?function(t){return Go(Wi(t))}:function(t){return Go(Qu(t))})(t)},lr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&\"number\"!=typeof n&&Do(t,e,n)?(e=0,n=r):(e=null==e?0:Tu(e),n=n===o?r:Tu(n)),gi(t,e,n)):[]},lr.sortBy=Ll,lr.sortedUniq=function(t){return t&&t.length?wi(t):[]},lr.sortedUniqBy=function(t,e){return t&&t.length?wi(t,xo(e,2)):[]},lr.split=function(t,e,n){return n&&\"number\"!=typeof n&&Do(t,e,n)&&(e=n=o),(n=n===o?P:n>>>0)?(t=Ru(t))&&(\"string\"==typeof e||null!=e&&!bu(e))&&!(e=xi(e))&&gn(t)?Mi(kn(t),0,n):t.split(e,n):[]},lr.spread=function(t,e){if(\"function\"!=typeof t)throw new Xt(u);return e=null==e?0:Ln(Tu(e),0),pi(function(n){var r=n[e],i=Mi(n,0,e);return r&&Ke(i,r),Le(t,this,i)})},lr.tail=function(t){var e=null==t?0:t.length;return e?gi(t,1,e):[]},lr.take=function(t,e,n){return t&&t.length?gi(t,0,(e=n||e===o?1:Tu(e))<0?0:e):[]},lr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?gi(t,(e=r-(e=n||e===o?1:Tu(e)))<0?0:e,r):[]},lr.takeRightWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3),!1,!0):[]},lr.takeWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3)):[]},lr.tap=function(t,e){return e(t),t},lr.throttle=function(t,e,n){var r=!0,i=!0;if(\"function\"!=typeof t)throw new Xt(u);return pu(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),zl(t,e,{leading:r,maxWait:e,trailing:i})},lr.thru=Cl,lr.toArray=Eu,lr.toPairs=Xu,lr.toPairsIn=Ju,lr.toPath=function(t){return ru(t)?He(t,Zo):wu(t)?[t]:Wi(\$o(Ru(t)))},lr.toPlainObject=Pu,lr.transform=function(t,e,n){var r=ru(t),i=r||uu(t)||Ou(t);if(e=xo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:pu(t)&&cu(o)?ur(xe(t)):{}}return(i?Fe:Lr)(t,function(t,r,i){return e(n,t,r,i)}),n},lr.unary=function(t){return Fl(t,1)},lr.union=dl,lr.unionBy=yl,lr.unionWith=vl,lr.uniq=function(t){return t&&t.length?ki(t):[]},lr.uniqBy=function(t,e){return t&&t.length?ki(t,xo(e,2)):[]},lr.uniqWith=function(t,e){return e=\"function\"==typeof e?e:o,t&&t.length?ki(t,o,e):[]},lr.unset=function(t,e){return null==t||Ei(t,e)},lr.unzip=gl,lr.unzipWith=bl,lr.update=function(t,e,n){return null==t?t:Ci(t,e,Si(n))},lr.updateWith=function(t,e,n,r){return r=\"function\"==typeof r?r:o,null==t?t:Ci(t,e,Si(n),r)},lr.values=Qu,lr.valuesIn=function(t){return null==t?[]:cn(t,Hu(t))},lr.without=ml,lr.words=ca,lr.wrap=function(t,e){return Zl(Si(e),t)},lr.xor=_l,lr.xorBy=wl,lr.xorWith=Ol,lr.zip=xl,lr.zipObject=function(t,e){return Pi(t||[],e||[],mr)},lr.zipObjectDeep=function(t,e){return Pi(t||[],e||[],di)},lr.zipWith=kl,lr.entries=Xu,lr.entriesIn=Ju,lr.extend=Nu,lr.extendWith=Du,_a(lr,lr),lr.add=Ra,lr.attempt=fa,lr.camelCase=ta,lr.capitalize=ea,lr.ceil=Sa,lr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=Au(n))==n?n:0),e!==o&&(e=(e=Au(e))==e?e:0),Er(Au(t),e,n)},lr.clone=function(t){return Cr(t,f)},lr.cloneDeep=function(t){return Cr(t,s|f)},lr.cloneDeepWith=function(t,e){return Cr(t,s|f,e=\"function\"==typeof e?e:o)},lr.cloneWith=function(t,e){return Cr(t,f,e=\"function\"==typeof e?e:o)},lr.conformsTo=function(t,e){return null==e||Tr(t,e,zu(e))},lr.deburr=na,lr.defaultTo=function(t,e){return null==t||t!=t?e:t},lr.divide=Na,lr.endsWith=function(t,e,n){t=Ru(t),e=xi(e);var r=t.length,i=n=n===o?r:Er(Tu(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},lr.eq=Ql,lr.escape=function(t){return(t=Ru(t))&&gt.test(t)?t.replace(yt,yn):t},lr.escapeRegExp=function(t){return(t=Ru(t))&&Ct.test(t)?t.replace(Et,\"\\\\\$&\"):t},lr.every=function(t,e,n){var r=ru(t)?Ue:Sr;return n&&Do(t,e,n)&&(e=o),r(t,xo(e,3))},lr.find=Al,lr.findIndex=nl,lr.findKey=function(t,e){return Xe(t,xo(e,3),Lr)},lr.findLast=Pl,lr.findLastIndex=rl,lr.findLastKey=function(t,e){return Xe(t,xo(e,3),Br)},lr.floor=Da,lr.forEach=Rl,lr.forEachRight=Sl,lr.forIn=function(t,e){return null==t?t:qr(t,xo(e,3),Hu)},lr.forInRight=function(t,e){return null==t?t:Ir(t,xo(e,3),Hu)},lr.forOwn=function(t,e){return t&&Lr(t,xo(e,3))},lr.forOwnRight=function(t,e){return t&&Br(t,xo(e,3))},lr.get=Bu,lr.gt=tu,lr.gte=eu,lr.has=function(t,e){return null!=t&&Po(t,e,Hr)},lr.hasIn=Fu,lr.head=ol,lr.identity=va,lr.includes=function(t,e,n,r){t=ou(t)?t:Qu(t),n=n&&!r?Tu(n):0;var i=t.length;return n<0&&(n=Ln(i+n,0)),_u(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Qe(t,e,n)>-1},lr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Tu(n);return i<0&&(i=Ln(r+i,0)),Qe(t,e,i)},lr.inRange=function(t,e,n){return e=Cu(e),n===o?(n=e,e=0):n=Cu(n),function(t,e,n){return t>=Bn(e,n)&&t<Ln(e,n)}(t=Au(t),e,n)},lr.invoke=Wu,lr.isArguments=nu,lr.isArray=ru,lr.isArrayBuffer=iu,lr.isArrayLike=ou,lr.isArrayLikeObject=lu,lr.isBoolean=function(t){return!0===t||!1===t||du(t)&&Wr(t)==I},lr.isBuffer=uu,lr.isDate=au,lr.isElement=function(t){return du(t)&&1===t.nodeType&&!gu(t)},lr.isEmpty=function(t){if(null==t)return!0;if(ou(t)&&(ru(t)||\"string\"==typeof t||\"function\"==typeof t.splice||uu(t)||Ou(t)||nu(t)))return!t.length;var e=Ao(t);if(e==W||e==\$)return!t.size;if(Lo(t))return!ti(t).length;for(var n in t)if(ne.call(t,n))return!1;return!0},lr.isEqual=function(t,e){return Zr(t,e)},lr.isEqualWith=function(t,e,n){var r=(n=\"function\"==typeof n?n:o)?n(t,e):o;return r===o?Zr(t,e,o,n):!!r},lr.isError=su,lr.isFinite=function(t){return\"number\"==typeof t&&Mn(t)},lr.isFunction=cu,lr.isInteger=fu,lr.isLength=hu,lr.isMap=yu,lr.isMatch=function(t,e){return t===e||Xr(t,e,Eo(e))},lr.isMatchWith=function(t,e,n){return n=\"function\"==typeof n?n:o,Xr(t,e,Eo(e),n)},lr.isNaN=function(t){return vu(t)&&t!=+t},lr.isNative=function(t){if(Io(t))throw new Ht(\"Unsupported core-js use. Try https://npms.io/search?q=ponyfill.\");return Jr(t)},lr.isNil=function(t){return null==t},lr.isNull=function(t){return null===t},lr.isNumber=vu,lr.isObject=pu,lr.isObjectLike=du,lr.isPlainObject=gu,lr.isRegExp=bu,lr.isSafeInteger=function(t){return fu(t)&&t>=-T&&t<=T},lr.isSet=mu,lr.isString=_u,lr.isSymbol=wu,lr.isTypedArray=Ou,lr.isUndefined=function(t){return t===o},lr.isWeakMap=function(t){return du(t)&&Ao(t)==Q},lr.isWeakSet=function(t){return du(t)&&\"[object WeakSet]\"==Wr(t)},lr.join=function(t,e){return null==t?\"\":qn.call(t,e)},lr.kebabCase=ra,lr.last=sl,lr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=Tu(n))<0?Ln(r+i,0):Bn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):Je(t,en,i,!0)},lr.lowerCase=ia,lr.lowerFirst=oa,lr.lt=xu,lr.lte=ku,lr.max=function(t){return t&&t.length?Nr(t,va,zr):o},lr.maxBy=function(t,e){return t&&t.length?Nr(t,xo(e,2),zr):o},lr.mean=function(t){return nn(t,va)},lr.meanBy=function(t,e){return nn(t,xo(e,2))},lr.min=function(t){return t&&t.length?Nr(t,va,ei):o},lr.minBy=function(t,e){return t&&t.length?Nr(t,xo(e,2),ei):o},lr.stubArray=ja,lr.stubFalse=Aa,lr.stubObject=function(){return{}},lr.stubString=function(){return\"\"},lr.stubTrue=function(){return!0},lr.multiply=Ma,lr.nth=function(t,e){return t&&t.length?li(t,Tu(e)):o},lr.noConflict=function(){return ke._===this&&(ke._=ue),this},lr.noop=wa,lr.now=Bl,lr.pad=function(t,e,n){t=Ru(t);var r=(e=Tu(e))?xn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return io(Sn(i),n)+t+io(Rn(i),n)},lr.padEnd=function(t,e,n){t=Ru(t);var r=(e=Tu(e))?xn(t):0;return e&&r<e?t+io(e-r,n):t},lr.padStart=function(t,e,n){t=Ru(t);var r=(e=Tu(e))?xn(t):0;return e&&r<e?io(e-r,n)+t:t},lr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Un(Ru(t).replace(jt,\"\"),e||0)},lr.random=function(t,e,n){if(n&&\"boolean\"!=typeof n&&Do(t,e,n)&&(e=n=o),n===o&&(\"boolean\"==typeof e?(n=e,e=o):\"boolean\"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Cu(t),e===o?(e=t,t=0):e=Cu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Vn();return Bn(t+i*(e-t+_e(\"1e-\"+((i+\"\").length-1))),e)}return fi(t,e)},lr.reduce=function(t,e,n){var r=ru(t)?Ye:ln,i=arguments.length<3;return r(t,xo(e,4),n,i,Pr)},lr.reduceRight=function(t,e,n){var r=ru(t)?Ge:ln,i=arguments.length<3;return r(t,xo(e,4),n,i,Rr)},lr.repeat=function(t,e,n){return e=(n?Do(t,e,n):e===o)?1:Tu(e),hi(Ru(t),e)},lr.replace=function(){var t=arguments,e=Ru(t[0]);return t.length<3?e:e.replace(t[1],t[2])},lr.result=function(t,e,n){var r=-1,i=(e=Ni(e,t)).length;for(i||(i=1,t=o);++r<i;){var l=null==t?o:t[Zo(e[r])];l===o&&(r=i,l=n),t=cu(l)?l.call(t):l}return t},lr.round=qa,lr.runInContext=t,lr.sample=function(t){return(ru(t)?gr:function(t){return gr(Qu(t))})(t)},lr.size=function(t){if(null==t)return 0;if(ou(t))return _u(t)?xn(t):t.length;var e=Ao(t);return e==W||e==\$?t.size:ti(t).length},lr.snakeCase=la,lr.some=function(t,e,n){var r=ru(t)?\$e:bi;return n&&Do(t,e,n)&&(e=o),r(t,xo(e,3))},lr.sortedIndex=function(t,e){return mi(t,e)},lr.sortedIndexBy=function(t,e,n){return _i(t,e,xo(n,2))},lr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=mi(t,e);if(r<n&&Ql(t[r],e))return r}return-1},lr.sortedLastIndex=function(t,e){return mi(t,e,!0)},lr.sortedLastIndexBy=function(t,e,n){return _i(t,e,xo(n,2),!0)},lr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=mi(t,e,!0)-1;if(Ql(t[n],e))return n}return-1},lr.startCase=ua,lr.startsWith=function(t,e,n){return t=Ru(t),n=null==n?0:Er(Tu(n),0,t.length),e=xi(e),t.slice(n,n+e.length)==e},lr.subtract=Ia,lr.sum=function(t){return t&&t.length?un(t,va):0},lr.sumBy=function(t,e){return t&&t.length?un(t,xo(e,2)):0},lr.template=function(t,e,n){var r=lr.templateSettings;n&&Do(t,e,n)&&(e=o),t=Ru(t),e=Du({},e,r,ho);var i,l,u=Du({},e.imports,r.imports,ho),a=zu(u),s=cn(u,a),c=0,f=e.interpolate||Wt,h=\"__p += '\",p=\$t((e.escape||Wt).source+\"|\"+f.source+\"|\"+(f===_t?Mt:Wt).source+\"|\"+(e.evaluate||Wt).source+\"|\$\",\"g\"),d=\"//# sourceURL=\"+(\"sourceURL\"in e?e.sourceURL:\"lodash.templateSources[\"+ ++ve+\"]\")+\"\\n\";t.replace(p,function(e,n,r,o,u,a){return r||(r=o),h+=t.slice(c,a).replace(zt,vn),n&&(i=!0,h+=\"' +\\n__e(\"+n+\") +\\n'\"),u&&(l=!0,h+=\"';\\n\"+u+\";\\n__p += '\"),r&&(h+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),c=a+e.length,e}),h+=\"';\\n\";var y=e.variable;y||(h=\"with (obj) {\\n\"+h+\"\\n}\\n\"),h=(l?h.replace(ft,\"\"):h).replace(ht,\"\$1\").replace(pt,\"\$1;\"),h=\"function(\"+(y||\"obj\")+\") {\\n\"+(y?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(i?\", __e = _.escape\":\"\")+(l?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+h+\"return __p\\n}\";var v=fa(function(){return Kt(a,d+\"return \"+h).apply(o,s)});if(v.source=h,su(v))throw v;return v},lr.times=function(t,e){if((t=Tu(t))<1||t>T)return[];var n=P,r=Bn(t,P);e=xo(e),t-=P;for(var i=an(r,e);++n<t;)e(n);return i},lr.toFinite=Cu,lr.toInteger=Tu,lr.toLength=ju,lr.toLower=function(t){return Ru(t).toLowerCase()},lr.toNumber=Au,lr.toSafeInteger=function(t){return t?Er(Tu(t),-T,T):0===t?t:0},lr.toString=Ru,lr.toUpper=function(t){return Ru(t).toUpperCase()},lr.trim=function(t,e,n){if((t=Ru(t))&&(n||e===o))return t.replace(Tt,\"\");if(!t||!(e=xi(e)))return t;var r=kn(t),i=kn(e);return Mi(r,hn(r,i),pn(r,i)+1).join(\"\")},lr.trimEnd=function(t,e,n){if((t=Ru(t))&&(n||e===o))return t.replace(At,\"\");if(!t||!(e=xi(e)))return t;var r=kn(t);return Mi(r,0,pn(r,kn(e))+1).join(\"\")},lr.trimStart=function(t,e,n){if((t=Ru(t))&&(n||e===o))return t.replace(jt,\"\");if(!t||!(e=xi(e)))return t;var r=kn(t);return Mi(r,hn(r,kn(e))).join(\"\")},lr.truncate=function(t,e){var n=30,r=\"...\";if(pu(e)){var i=\"separator\"in e?e.separator:i;n=\"length\"in e?Tu(e.length):n,r=\"omission\"in e?xi(e.omission):r}var l=(t=Ru(t)).length;if(gn(t)){var u=kn(t);l=u.length}if(n>=l)return t;var a=n-xn(r);if(a<1)return r;var s=u?Mi(u,0,a).join(\"\"):t.slice(0,a);if(i===o)return s+r;if(u&&(a+=s.length-a),bu(i)){if(t.slice(a).search(i)){var c,f=s;for(i.global||(i=\$t(i.source,Ru(qt.exec(i))+\"g\")),i.lastIndex=0;c=i.exec(f);)var h=c.index;s=s.slice(0,h===o?a:h)}}else if(t.indexOf(xi(i),a)!=a){var p=s.lastIndexOf(i);p>-1&&(s=s.slice(0,p))}return s+r},lr.unescape=function(t){return(t=Ru(t))&&vt.test(t)?t.replace(dt,En):t},lr.uniqueId=function(t){var e=++re;return Ru(t)+e},lr.upperCase=aa,lr.upperFirst=sa,lr.each=Rl,lr.eachRight=Sl,lr.first=ol,_a(lr,(Pa={},Lr(lr,function(t,e){ne.call(lr.prototype,e)||(Pa[e]=t)}),Pa),{chain:!1}),lr.VERSION=\"4.17.4\",Fe([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(t){lr[t].placeholder=lr}),Fe([\"drop\",\"take\"],function(t,e){cr.prototype[t]=function(n){n=n===o?1:Ln(Tu(n),0);var r=this.__filtered__&&!e?new cr(this):this.clone();return r.__filtered__?r.__takeCount__=Bn(n,r.__takeCount__):r.__views__.push({size:Bn(n,P),type:t+(r.__dir__<0?\"Right\":\"\")}),r},cr.prototype[t+\"Right\"]=function(e){return this.reverse()[t](e).reverse()}}),Fe([\"filter\",\"map\",\"takeWhile\"],function(t,e){var n=e+1,r=1==n||3==n;cr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:xo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Fe([\"head\",\"last\"],function(t,e){var n=\"take\"+(e?\"Right\":\"\");cr.prototype[t]=function(){return this[n](1).value()[0]}}),Fe([\"initial\",\"tail\"],function(t,e){var n=\"drop\"+(e?\"\":\"Right\");cr.prototype[t]=function(){return this.__filtered__?new cr(this):this[n](1)}}),cr.prototype.compact=function(){return this.filter(va)},cr.prototype.find=function(t){return this.filter(t).head()},cr.prototype.findLast=function(t){return this.reverse().find(t)},cr.prototype.invokeMap=pi(function(t,e){return\"function\"==typeof t?new cr(this):this.map(function(n){return Gr(n,t,e)})}),cr.prototype.reject=function(t){return this.filter(Gl(xo(t)))},cr.prototype.slice=function(t,e){t=Tu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new cr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=Tu(e))<0?n.dropRight(-e):n.take(e-t)),n)},cr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},cr.prototype.toArray=function(){return this.take(P)},Lr(cr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While\$/.test(e),r=/^(?:head|last)\$/.test(e),i=lr[r?\"take\"+(\"last\"==e?\"Right\":\"\"):e],l=r||/^find/.test(e);i&&(lr.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,a=e instanceof cr,s=u[0],c=a||ru(e),f=function(t){var e=i.apply(lr,Ke([t],u));return r&&h?e[0]:e};c&&n&&\"function\"==typeof s&&1!=s.length&&(a=c=!1);var h=this.__chain__,p=l&&!h,d=a&&!this.__actions__.length;if(!l&&c){e=d?e:new cr(this);var y=t.apply(e,u);return y.__actions__.push({func:Cl,args:[f],thisArg:o}),new sr(y,h)}return p&&d?t.apply(this,u):(y=this.thru(f),p?r?y.value()[0]:y.value():y)})}),Fe([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(t){var e=Jt[t],n=/^(?:push|sort|unshift)\$/.test(t)?\"tap\":\"thru\",r=/^(?:pop|shift)\$/.test(t);lr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ru(i)?i:[],t)}return this[n](function(n){return e.apply(ru(n)?n:[],t)})}}),Lr(cr.prototype,function(t,e){var n=lr[e];if(n){var r=n.name+\"\";(Xn[r]||(Xn[r]=[])).push({name:e,func:n})}}),Xn[to(o,y).name]=[{name:\"wrapper\",func:o}],cr.prototype.clone=function(){var t=new cr(this.__wrapped__);return t.__actions__=Wi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wi(this.__views__),t},cr.prototype.reverse=function(){if(this.__filtered__){var t=new cr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},cr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ru(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],l=o.size;switch(o.type){case\"drop\":t+=l;break;case\"dropRight\":e-=l;break;case\"take\":e=Bn(e,t+l);break;case\"takeRight\":t=Ln(t,e-l)}}return{start:t,end:e}}(0,i,this.__views__),l=o.start,u=o.end,a=u-l,s=r?u:l-1,c=this.__iteratees__,f=c.length,h=0,p=Bn(a,this.__takeCount__);if(!n||!r&&i==a&&p==a)return ji(t,this.__actions__);var d=[];t:for(;a--&&h<p;){for(var y=-1,v=t[s+=e];++y<f;){var g=c[y],b=g.type,m=(0,g.iteratee)(v);if(2==b)v=m;else if(!m){if(1==b)continue t;break t}}d[h++]=v}return d},lr.prototype.at=Tl,lr.prototype.chain=function(){return El(this)},lr.prototype.commit=function(){return new sr(this.value(),this.__chain__)},lr.prototype.next=function(){this.__values__===o&&(this.__values__=Eu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},lr.prototype.plant=function(t){for(var e,n=this;n instanceof ar;){var r=Jo(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},lr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof cr){var e=t;return this.__actions__.length&&(e=new cr(this)),(e=e.reverse()).__actions__.push({func:Cl,args:[pl],thisArg:o}),new sr(e,this.__chain__)}return this.thru(pl)},lr.prototype.toJSON=lr.prototype.valueOf=lr.prototype.value=function(){return ji(this.__wrapped__,this.__actions__)},lr.prototype.first=lr.prototype.head,Ze&&(lr.prototype[Ze]=function(){return this}),lr}();ke._=Cn,(i=(function(){return Cn}).call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(e,n(\"DuR2\"),n(\"3IRH\")(t))},MSQt:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"6uCv\");var r=n(\"c7mC\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},OEcN:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=(n(\"7DMc\"),n(\"2yGx\")),o=function(){function t(t,e,n){this.hour=Object(i.h)(t),this.minute=Object(i.h)(e),this.second=Object(i.h)(n)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){this.hour=Object(i.d)(t)?(t<0?24+t:t)%24:NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){Object(i.d)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){Object(i.d)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),Object(i.d)(this.hour)&&Object(i.d)(this.minute)&&(!t||Object(i.d)(this.second))},t.prototype.toString=function(){return(this.hour||0)+\":\"+(this.minute||0)+\":\"+(this.second||0)},t}();n(\"tyH+\"),n.d(e,\"a\",function(){return l}),Object(r.forwardRef)(function(){return l});var l=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new o(t.hour,t.minute,t.second):new o,this.seconds||t&&Object(i.d)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){var e=this.model.hour>=12,n=Object(i.h)(t);this.model.updateHour(this.meridian&&(e&&n<12||!e&&12===n)?n+12:n),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(Object(i.h)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(Object(i.h)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return Object(i.d)(t)?this.meridian?Object(i.f)(t%12==0?12:t%12):Object(i.f)(t%24):Object(i.f)(NaN)},t.prototype.formatMinSec=function(t){return Object(i.f)(t)},t.prototype.setFormControlSize=function(){return{\"form-control-sm\":\"small\"===this.size,\"form-control-lg\":\"large\"===this.size}},t.prototype.setButtonSize=function(){return{\"btn-sm\":\"small\"===this.size,\"btn-lg\":\"large\"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!Object(i.d)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}()},OjAh:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),e.b=function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),r[\"\\u0275ncd\"](null,0),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\"]))],null,null)};var r=n(\"WT6e\"),i=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}})},PcP6:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o}),e.b=function(t){return r[\"\\u0275vid\"](0,[r[\"\\u0275qud\"](402653184,1,{mainElRef:0}),r[\"\\u0275qud\"](671088640,2,{inputElRef:0}),r[\"\\u0275qud\"](402653184,3,{choiceMenuElRef:0}),(t()(),r[\"\\u0275eld\"](3,0,[[1,0],[\"main\",1]],null,26,\"div\",[[\"class\",\"ngx-select ui-select-container dropdown\"]],[[8,\"tabIndex\",0]],[[null,\"click\"],[null,\"focusin\"],[null,\"focus\"],[null,\"keydown\"],[null,\"keyup\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=!1!==i.mainClicked(n)&&r),\"focusin\"===e&&(r=!1!==i.mainClicked(n)&&r),\"focus\"===e&&(r=!1!==i.focusToInput()&&r),\"keydown\"===e&&(r=!1!==i.inputKeyDown(n)&&r),\"keyup\"===e&&(r=!1!==i.mainKeyUp(n)&&r),r},null,null)),r[\"\\u0275did\"](4,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,\"klass\"],ngClass:[1,\"ngClass\"]},null),r[\"\\u0275pod\"](5,{\"ngx-select_multiple ui-select-multiple form-control\":0,\"open show\":1}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275eld\"](7,0,null,null,2,\"div\",[],null,null,null,null,null)),r[\"\\u0275did\"](8,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,\"ngClass\"]},null),r[\"\\u0275pod\"](9,{\"ngx-select__disabled ui-disabled\":0}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,u)),r[\"\\u0275did\"](13,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,s)),r[\"\\u0275did\"](17,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,c)),r[\"\\u0275did\"](21,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275eld\"](24,0,[[3,0],[\"choiceMenu\",1]],null,4,\"ul\",[[\"class\",\"ngx-select__choices ui-select-choices dropdown-menu\"],[\"role\",\"menu\"]],[[2,\"show\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,d)),r[\"\\u0275did\"](27,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"],ngForTrackBy:[1,\"ngForTrackBy\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n\"]))],function(t,e){var n=e.component;t(e,4,0,\"ngx-select ui-select-container dropdown\",t(e,5,0,!0===n.multiple,n.optionsOpened&&n.optionsFiltered.length)),t(e,8,0,t(e,9,0,n.disabled)),t(e,13,0,!1===n.multiple&&(!n.optionsOpened||n.noAutoComplete)),t(e,17,0,!0===n.multiple),t(e,21,0,n.checkInputVisibility()),t(e,27,0,n.optionsFiltered,n.trackByOption)},function(t,e){var n=e.component;t(e,3,0,n.disabled?-1:0),t(e,24,0,n.optionsOpened&&n.optionsFiltered.length)})};var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".ngx-select[_ngcontent-%COMP%] {\\n   }\\n  .ngx-select_multiple[_ngcontent-%COMP%] {\\n    height: auto;\\n    padding: 3px 3px 0 3px; }\\n  .ngx-select_multiple[_ngcontent-%COMP%]   .ngx-select__search[_ngcontent-%COMP%] {\\n    background-color: transparent !important;\\n    \\n    border: none;\\n    outline: none;\\n    -webkit-box-shadow: none;\\n            box-shadow: none;\\n    height: 1.6666em;\\n    padding: 0;\\n    margin-bottom: 3px; }\\n  .ngx-select__disabled[_ngcontent-%COMP%] {\\n    background-color: #eceeef;\\n    border-radius: 4px;\\n    position: absolute;\\n    width: 100%;\\n    height: 100%;\\n    z-index: 5;\\n    opacity: 0.6;\\n    top: 0;\\n    left: 0;\\n    cursor: not-allowed; }\\n  .ngx-select__toggle[_ngcontent-%COMP%] {\\n    outline: 0;\\n    position: relative;\\n    text-align: left !important;\\n     }\\n  .ngx-select__toggle-caret[_ngcontent-%COMP%] {\\n    position: absolute;\\n    height: 10px;\\n    top: 50%;\\n    right: 10px;\\n    margin-top: -2px; }\\n  .ngx-select__placeholder[_ngcontent-%COMP%] {\\n    float: left;\\n    color: inherit !important; }\\n  .ngx-select__clear[_ngcontent-%COMP%] {\\n    margin-right: 10px;\\n    padding: 0; }\\n  .ngx-select_multiple[_ngcontent-%COMP%]   .ngx-select__clear[_ngcontent-%COMP%] {\\n    line-height: initial;\\n    margin-left: 5px;\\n    margin-right: 0;\\n    color: #000;\\n    opacity: .5; }\\n  .ngx-select__clear-icon[_ngcontent-%COMP%] {\\n    display: inline-block;\\n    font-size: inherit;\\n    cursor: pointer;\\n    position: relative;\\n    width: 1em;\\n    height: .75em;\\n    padding: 0; }\\n    .ngx-select__clear-icon[_ngcontent-%COMP%]:before, .ngx-select__clear-icon[_ngcontent-%COMP%]:after {\\n      content: '';\\n      position: absolute;\\n      border-top: 3px solid;\\n      width: 100%;\\n      top: 50%;\\n      left: 0;\\n      margin-top: -1px; }\\n    .ngx-select__clear-icon[_ngcontent-%COMP%]:before {\\n      -webkit-transform: rotate(45deg);\\n              transform: rotate(45deg); }\\n    .ngx-select__clear-icon[_ngcontent-%COMP%]:after {\\n      -webkit-transform: rotate(-45deg);\\n              transform: rotate(-45deg); }\\n  .ngx-select__choices[_ngcontent-%COMP%] {\\n    width: 100%;\\n    height: auto;\\n    max-height: 200px;\\n    overflow-x: hidden;\\n    margin-top: 0;\\n    position: absolute; }\\n  .ngx-select_multiple[_ngcontent-%COMP%]   .ngx-select__choices[_ngcontent-%COMP%] {\\n    margin-top: 1px; }\\n  .ngx-select__item[_ngcontent-%COMP%] {\\n    display: block;\\n    padding: 3px 20px;\\n    clear: both;\\n    font-weight: 400;\\n    line-height: 1.42857143;\\n    color: #333;\\n    white-space: nowrap;\\n    cursor: pointer; }\\n  .ngx-select__item[_ngcontent-%COMP%] {\\n    text-decoration: none; }\\n  .ngx-select__item_active[_ngcontent-%COMP%] {\\n    color: #fff;\\n    outline: 0;\\n    background-color: #428bca; }\\n  .ngx-select__selected-single[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%] {\\n    display: -webkit-inline-box;\\n    display: -ms-inline-flexbox;\\n    display: inline-flex;\\n    -webkit-box-align: center;\\n        -ms-flex-align: center;\\n            align-items: center; }\\n  .ngx-select__selected-plural[_ngcontent-%COMP%] {\\n    outline: 0;\\n    margin: 0 3px 3px 0; }\\n\\n\\n.input-group[_ngcontent-%COMP%]    > .dropdown[_ngcontent-%COMP%] {\\n  \\n  position: static; }\"],data:{}});function l(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,3,\"a\",[[\"class\",\"ngx-select__clear btn btn-sm btn-link pull-right float-right\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=!1!==i.optionRemove(i.optionsSelected[0],n)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,0,\"i\",[[\"class\",\"ngx-select__clear-icon\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,null)}function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,15,\"div\",[[\"class\",\"ngx-select__selected ui-select-match\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,12,\"div\",[[\"class\",\"ngx-select__toggle btn btn-outline-secondary btn-default form-control ui-select-toggle\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.optionsOpen()&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,2,\"span\",[],[[8,\"innerHTML\",1]],null,null,null,null)),r[\"\\u0275did\"](5,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,\"ngClass\"]},null),r[\"\\u0275pod\"](6,{\"ngx-select__placeholder ui-select-placeholder text-muted\":0,\"ngx-select__selected-single ui-select-match-text pull-left float-left\":1,\"ngx-select__allow-clear ui-select-allow-clear\":2}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](8,0,null,null,0,\"i\",[[\"class\",\"dropdown-toggle pull-right float-right\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](10,0,null,null,0,\"i\",[[\"class\",\"ngx-select__toggle-caret caret pull-right float-right\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,l)),r[\"\\u0275did\"](13,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,5,0,t(e,6,0,!n.optionsSelected.length,n.optionsSelected.length,n.optionsSelected.length&&n.allowClear)),t(e,13,0,n.canClearNotMultiple())},function(t,e){var n=e.component;t(e,4,0,n.sanitize(n.optionsSelected.length?n.optionsSelected[0].text:n.placeholder))})}function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,11,\"span\",[],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,8,\"span\",[[\"class\",\"ngx-select__selected-plural btn btn-default btn-secondary btn-xs ui-select-match-item\"],[\"tabindex\",\"-1\"],[\"type\",\"button\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,0,\"span\",[],[[8,\"innerHTML\",1]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](6,0,null,null,3,\"a\",[[\"class\",\"ngx-select__clear btn btn-sm btn-link pull-right float-right\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.optionRemove(t.context.\$implicit,n)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](8,0,null,null,0,\"i\",[[\"class\",\"ngx-select__clear-icon\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],null,function(t,e){t(e,4,0,e.component.sanitize(e.context.\$implicit.text))})}function s(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"div\",[[\"class\",\"ngx-select__selected ui-select-match\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](3,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){t(e,3,0,e.component.optionsSelected)},null)}function c(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,[[2,0],[\"input\",1]],null,0,\"input\",[[\"autocapitalize\",\"off\"],[\"autocomplete\",\"false\"],[\"autocorrect\",\"off\"],[\"class\",\"ngx-select__search form-control ui-select-search\"],[\"role\",\"combobox\"],[\"spellcheck\",\"false\"],[\"type\",\"text\"]],[[8,\"tabIndex\",0],[8,\"disabled\",0],[8,\"placeholder\",0]],[[null,\"keydown\"],[null,\"keyup\"],[null,\"click\"]],function(t,e,n){var i=!0,o=t.component;return\"keydown\"===e&&(i=!1!==o.inputKeyDown(n)&&i),\"keyup\"===e&&(i=!1!==o.inputKeyUp(n,r[\"\\u0275nov\"](t,0).value)&&i),\"click\"===e&&(i=!1!==o.inputClick(r[\"\\u0275nov\"](t,0).value)&&i),i},null,null))],null,function(t,e){var n=e.component;t(e,0,0,!1===n.multiple?-1:0,n.disabled,n.optionsSelected.length?\"\":n.placeholder)})}function f(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"divider dropdown-divider\"]],null,null,null,null,null))],null,null)}function h(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"dropdown-header\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\",\"\"]))],null,function(t,e){t(e,1,0,e.parent.context.\$implicit.label)})}function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,[[\"choiceItem\",1]],null,3,\"a\",[[\"class\",\"ngx-select__item ui-select-choices-row dropdown-item\"],[\"href\",\"#\"]],[[8,\"innerHTML\",1]],[[null,\"mouseenter\"],[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"mouseenter\"===e&&(r=!1!==i.optionActivate(t.context.\$implicit)&&r),\"click\"===e&&(r=!1!==i.optionSelect(t.context.\$implicit,n)&&r),r},null,null)),r[\"\\u0275did\"](1,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,\"klass\"],ngClass:[1,\"ngClass\"]},null),r[\"\\u0275pod\"](2,{\"ngx-select__item_active active\":0}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){t(e,1,0,\"ngx-select__item ui-select-choices-row dropdown-item\",t(e,2,0,e.component.isOptionActive(e.context.\$implicit,r[\"\\u0275nov\"](e,0))))},function(t,e){t(e,0,0,e.component.highlightOption(e.context.\$implicit))})}function d(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,11,\"li\",[[\"class\",\"ngx-select__item-group\"],[\"role\",\"menuitem\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,f)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,h)),r[\"\\u0275did\"](6,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,2,null,p)),r[\"\\u0275did\"](9,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"],ngForTrackBy:[1,\"ngForTrackBy\"]},null),r[\"\\u0275pad\"](10,1),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,3,0,\"optgroup\"===e.context.\$implicit.type&&e.context.index>0),t(e,6,0,\"optgroup\"===e.context.\$implicit.type),t(e,9,0,e.context.\$implicit.optionsFiltered||t(e,10,0,e.context.\$implicit),n.trackByOption)},null)}},ROHw:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return l});var r=n(\"WT6e\"),i=n(\"yPE/\"),o=(n.n(i),i),l=function(){function t(t,e,n,i){this.elementRef=t,this.doc=e,this.renderer=n,this.zone=i,this.emptyArray=[],this.defaultModules={toolbar:[[\"bold\",\"italic\",\"underline\",\"strike\"],[\"blockquote\",\"code-block\"],[{header:1},{header:2}],[{list:\"ordered\"},{list:\"bullet\"}],[{script:\"sub\"},{script:\"super\"}],[{indent:\"-1\"},{indent:\"+1\"}],[{direction:\"rtl\"}],[{size:[\"small\",!1,\"large\",\"huge\"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:this.emptyArray.slice()},{background:this.emptyArray.slice()}],[{font:this.emptyArray.slice()}],[{align:this.emptyArray.slice()}],[\"clean\"],[\"link\",\"image\",\"video\"]]},this.style={},this.strict=!0,this.customOptions=[],this.onEditorCreated=new r.EventEmitter,this.onContentChanged=new r.EventEmitter,this.onSelectionChanged=new r.EventEmitter,this.valueGetter=function(t,e){var n=e.children[0].innerHTML;return\"<p><br></p>\"!==n&&\"<div><br><div>\"!==n||(n=null),n},this.valueSetter=function(t,e){return t.clipboard.convert(e)},this.onModelChange=function(){},this.onModelTouched=function(){}}return t.prototype.ngAfterViewInit=function(){var t=this,e=this.elementRef.nativeElement.querySelector(\"[quill-editor-toolbar]\"),n=this.modules||this.defaultModules,r=\"Insert text here ...\";if(null!==this.placeholder&&void 0!==this.placeholder&&(r=this.placeholder.trim()),e&&(n.toolbar=e),this.elementRef.nativeElement.insertAdjacentHTML(\"beforeend\",\"<div quill-editor-element></div>\"),this.editorElem=this.elementRef.nativeElement.querySelector(\"[quill-editor-element]\"),this.style&&Object.keys(this.style).forEach(function(e){t.renderer.setStyle(t.editorElem,e,t.style[e])}),this.customOptions.forEach(function(t){var e=o.import(t.import);e.whitelist=t.whitelist,o.register(e,!0)}),this.quillEditor=new o(this.editorElem,{modules:n,placeholder:r,readOnly:this.readOnly||!1,theme:this.theme||\"snow\",formats:this.formats,bounds:this.bounds?\"self\"===this.bounds?this.editorElem:this.bounds:this.doc.body,strict:this.strict,scrollingContainer:this.scrollingContainer}),this.content){var i=this.quillEditor.clipboard.convert(this.content);this.quillEditor.setContents(i),this.quillEditor.history.clear()}this.onEditorCreated.emit(this.quillEditor),this.quillEditor.on(\"selection-change\",function(e,n,r){t.zone.run(function(){t.onSelectionChanged.emit({editor:t.quillEditor,range:e,oldRange:n,source:r}),e||t.onModelTouched()})}),this.quillEditor.on(\"text-change\",function(e,n,r){var i=t.quillEditor.getText(),o=t.editorElem.children[0].innerHTML;\"<p><br></p>\"!==o&&\"<div><br><div>\"!==o||(o=null),t.zone.run(function(){t.onModelChange(t.valueGetter(t.quillEditor,t.editorElem)),t.onContentChanged.emit({editor:t.quillEditor,html:o,text:i,delta:e,oldDelta:n,source:r})})})},t.prototype.ngOnChanges=function(t){if(!this.quillEditor)return null;t.readOnly&&this.quillEditor.enable(!t.readOnly.currentValue),t.placeholder&&(this.quillEditor.root.dataset.placeholder=t.placeholder.currentValue)},t.prototype.writeValue=function(t){if(this.content=t,this.quillEditor){if(t)return void this.quillEditor.setContents(this.valueSetter(this.quillEditor,this.content));this.quillEditor.setText(\"\")}},t.prototype.registerOnChange=function(t){this.onModelChange=t},t.prototype.registerOnTouched=function(t){this.onModelTouched=t},t.prototype.validate=function(){if(!this.quillEditor)return null;var t={},e=!0,n=this.quillEditor.getText().trim().length;return this.minLength&&n&&n<this.minLength&&(t.minLengthError={given:n,minLength:this.minLength},e=!1),this.maxLength&&n>this.maxLength&&(t.maxLengthError={given:n,maxLength:this.maxLength},e=!1),this.required&&!n&&(t.requiredError={empty:!0},e=!1),e?null:t},t}()},RTdB:function(t,e,n){\"use strict\";e.f=function(t,e){return!function(t,e){return!t&&!e||!!t&&!!e&&t.equals(e)}(t,e)},e.c=function(t,e){if(e&&t&&e.before(t))throw new Error(\"'maxDate' \"+e+\" should be greater than 'minDate' \"+t)},e.b=function(t,e,n){return t&&e&&t.before(e)?r.a.from(e):t&&n&&t.after(n)?r.a.from(n):t},e.g=function(t,e,n,r,o){return!(!Object(i.b)(t)||r||o&&o(t,{year:t.year,month:t.month})||e&&t.before(e)||n&&t.after(n))},e.d=function(t,e,n,r){if(!e)return[];var i=t.getMonths();if(n&&e.year===n.year){var o=i.findIndex(function(t){return t===n.month});i=i.slice(o)}return r&&e.year===r.year&&(o=i.findIndex(function(t){return t===r.month}),i=i.slice(0,o+1)),i},e.e=function(t,e,n){if(!t)return[];var r=e&&e.year||t.year-10;return Array.from({length:(n&&n.year||t.year+10)-r+1},function(t,e){return r+e})},e.h=function(t,e,n){return n&&t.getNext(e,\"m\").after(n)},e.i=function(t,e,n){var r=t.getPrev(e,\"m\");return n&&(r.year===n.year&&r.month<n.month||r.year<n.year&&1===n.month)},e.a=function(t,e,n,i,o,l,u,a,s){for(var c=[],f=function(l){var f=t.getNext(n,\"m\",l),h=e.findIndex(function(t){return t.firstDate.equals(f)});c.push(s||-1===h?function(t,e,n,i,o,l){var u={firstDate:null,lastDate:null,number:e.month,year:e.year,weeks:[],weekdays:[]};e=function(t,e,n){for(var i=e.month,o=new r.a(e.year,e.month,e.day),l=t.getPrev(o);!(o.month!==i&&n===t.getWeekday(o)||o.month!==l.month&&n===t.getWeekday(o));)o=new r.a(l.year,l.month,l.day),l=t.getPrev(l);return o}(t,e,o);for(var a=0;a<t.getWeeksPerMonth();a++){for(var s=[],c=0;c<t.getDaysPerWeek();c++){0===a&&u.weekdays.push(t.getWeekday(e));var f=new r.a(e.year,e.month,e.day),h=t.getNext(f),p=!!(n&&f.before(n)||i&&f.after(i));!p&&l&&(p=l(f,{month:u.number,year:u.year})),null===u.firstDate&&f.month===u.number&&(u.firstDate=f),f.month===u.number&&h.month!==u.number&&(u.lastDate=f),s.push({date:f,context:{date:{year:f.year,month:f.month,day:f.day},currentMonth:u.number,disabled:p,focused:!1,selected:!1}}),e=h}u.weeks.push({number:t.getWeekNumber(s.map(function(t){return r.a.from(t.date)}),o),days:s})}return u}(t,f,i,o,u,a):e[h])},h=0;h<l;h++)f(h);return c};var r=n(\"hlt1\"),i=n(\"2yGx\")},RX2M:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"gFLb\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},SYiH:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"9XFw\"),o=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function l(t){return r[\"\\u0275vid\"](0,[],null,null)}var u=r[\"\\u0275ccf\"](\"ngb-modal-backdrop\",i.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-modal-backdrop\",[],[[8,\"className\",0]],null,null,l,o)),r[\"\\u0275did\"](1,49152,null,0,i.a,[],null,null)],null,function(t,e){t(e,0,0,\"modal-backdrop fade show\"+(r[\"\\u0275nov\"](e,1).backdropClass?\" \"+r[\"\\u0275nov\"](e,1).backdropClass:\"\"))})},{backdropClass:\"backdropClass\"},{},[])},U6gI:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}()},UyZi:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return l});var r=n(\"CXHW\"),i=n(\"3kwk\"),o=(n(\"WtdY\"),n(\"nxqe\"));n.d(e,\"a\",function(){return o.a});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[i.a,r.a]}},t}()},W5jB:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"2yGx\"),i=(n(\"nCuf\"),function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue,this.height=t.height}return t.prototype.getValue=function(){return Object(r.a)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}())},WKBe:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"ETCP\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},WtNX:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return a}),n.d(e,\"a\",function(){return s});var r=n(\"WT6e\"),i=n(\"aalB\"),o=n(\"jRSa\"),l=n(\"/PMa\"),u=(n(\"ETCP\"),0),a=function(){function t(t,e){this._element=t,this._renderer=e,this.placement=\"top\"}return t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString().split(\"-\")[0]),this._renderer.removeClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString()),this.placement=t,this._renderer.addClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString().split(\"-\")[0]),this._renderer.addClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString())},t}(),s=function(){function t(t,e,n,i,s,c,f){var h=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbPopoverWindowId=\"ngb-popover-\"+u++,this.placement=c.placement,this.triggers=c.triggers,this.container=c.container,this.disablePopover=c.disablePopover,this._popupService=new l.b(a,n,s,e,i),this._zoneSubscription=f.onStable.subscribe(function(){h._windowRef&&h._windowRef.instance.applyPlacement(Object(o.a)(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,\"body\"===h.container))})}return t.prototype.open=function(t){this._windowRef||this.disablePopover||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,\"aria-describedby\",this._ngbPopoverWindowId),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._windowRef.instance.applyPlacement(Object(o.a)(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,\"body\"===this.container)),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,\"aria-describedby\"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Object(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}()},WtdY:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r}),n.d(e,\"b\",function(){return i});var r=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}(),i=function(){function t(t,e,n,r){var i=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=r,t.instance.dismissEvent.subscribe(function(t){i.dismiss(t)}),this.result=new Promise(function(t,e){i._resolve=t,i._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,\"componentInstance\",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._beforeDismiss&&!1===this._beforeDismiss()||(this._reject(t),this._removeModalElements()))},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}()},WwnU:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o}),n.d(e,\"b\",function(){return l});var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(){},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.fromModel=function(t){return t&&t.year&&t.month&&t.day?{year:t.year,month:t.month,day:t.day}:null},e.prototype.toModel=function(t){return t&&t.year&&t.month&&t.day?{year:t.year,month:t.month,day:t.day}:null},e}(o)},XDiD:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r,i=n(\"2yGx\");!function(t){t[t.Enter=13]=\"Enter\",t[t.Space=32]=\"Space\",t[t.PageUp=33]=\"PageUp\",t[t.PageDown=34]=\"PageDown\",t[t.End=35]=\"End\",t[t.Home=36]=\"Home\",t[t.ArrowLeft=37]=\"ArrowLeft\",t[t.ArrowUp=38]=\"ArrowUp\",t[t.ArrowRight=39]=\"ArrowRight\",t[t.ArrowDown=40]=\"ArrowDown\"}(r||(r={}));var o=function(){function t(t,e){var n=this;this._service=t,this._calendar=e,t.model\$.subscribe(function(t){n._minDate=t.minDate,n._maxDate=t.maxDate,n._firstViewDate=t.firstDate,n._lastViewDate=t.lastDate})}return t.prototype.processKey=function(t){if(r[Object(i.i)(t.which)]){switch(t.which){case r.PageUp:this._service.focusMove(t.shiftKey?\"y\":\"m\",-1);break;case r.PageDown:this._service.focusMove(t.shiftKey?\"y\":\"m\",1);break;case r.End:this._service.focus(t.shiftKey?this._maxDate:this._lastViewDate);break;case r.Home:this._service.focus(t.shiftKey?this._minDate:this._firstViewDate);break;case r.ArrowLeft:this._service.focusMove(\"d\",-1);break;case r.ArrowUp:this._service.focusMove(\"d\",-this._calendar.getDaysPerWeek());break;case r.ArrowRight:this._service.focusMove(\"d\",1);break;case r.ArrowDown:this._service.focusMove(\"d\",this._calendar.getDaysPerWeek());break;case r.Enter:case r.Space:this._service.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}},t}()},ZwZs:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.closeOthers=!1}},aKiW:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.max=10,this.readonly=!1,this.resettable=!1}},aalB:function(t,e,n){\"use strict\";e.a=function(t,e,n,l,u,a){var s=function(t,e){void 0===e&&(e=i);var n=(t||\"\").trim();if(0===n.length)return[];var o=n.split(/\\s+/).map(function(t){return t.split(\":\")}).map(function(t){var n=e[t[0]]||t;return new r(n[0],n[1])}),l=o.filter(function(t){return t.isManual()});if(l.length>1)throw\"Triggers parse error: only one manual trigger is allowed\";if(1===l.length&&o.length>1)throw\"Triggers parse error: manual trigger can't be mixed with other triggers\";return o}(n),c=[];return 1===s.length&&s[0].isManual()?o:(s.forEach(function(n){n.open===n.close?c.push(t.listen(e,n.open,a)):c.push(t.listen(e,n.open,l),t.listen(e,n.close,u))}),function(){c.forEach(function(t){return t()})})};var r=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return\"manual\"===this.open||\"manual\"===this.close},t}(),i={hover:[\"mouseenter\",\"mouseleave\"]},o=function(){}},\"as+d\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"edM1\");var r=n(\"v4DA\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},bHh0:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"bfOx\"),o=n(\"Xjw4\");n(\"+0cU\"),n.d(e,\"a\",function(){return l}),e.b=function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,24,\"div\",[[\"class\",\"row\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,21,\"div\",[[\"class\",\"col-xl-12\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"h2\",[[\"class\",\"page-header\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](5,null,[\"\\n            \",\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](7,0,null,null,15,\"ol\",[[\"class\",\"breadcrumb\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275eld\"](9,0,null,null,8,\"li\",[[\"class\",\"breadcrumb-item\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n                \"])),(t()(),r[\"\\u0275eld\"](11,0,null,null,0,\"i\",[[\"class\",\"fa fa-dashboard\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\" \"])),(t()(),r[\"\\u0275eld\"](13,0,null,null,3,\"a\",[[\"href\",\"Javascript:void(0)\"]],[[1,\"target\",0],[8,\"href\",4]],[[null,\"click\"]],function(t,e,n){var i=!0;return\"click\"===e&&(i=!1!==r[\"\\u0275nov\"](t,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i},null,null)),r[\"\\u0275did\"](14,671744,null,0,i.m,[i.l,i.a,o.i],{routerLink:[0,\"routerLink\"]},null),r[\"\\u0275pad\"](15,1),(t()(),r[\"\\u0275ted\"](-1,null,[\"Dashboard\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275eld\"](19,0,null,null,2,\"li\",[[\"class\",\"breadcrumb-item active\"]],null,null,null,null,null)),(t()(),r[\"\\u0275eld\"](20,0,null,null,0,\"i\",[],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](21,null,[\" \",\"\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\"]))],function(t,e){t(e,14,0,t(e,15,0,\"/dashboard\"))},function(t,e){var n=e.component;t(e,5,0,n.heading),t(e,13,0,r[\"\\u0275nov\"](e,14).target,r[\"\\u0275nov\"](e,14).href),t(e,20,0,r[\"\\u0275inlineInterpolate\"](1,\"fa \",n.icon,\"\")),t(e,21,0,n.heading)})};var l=r[\"\\u0275crt\"]({encapsulation:0,styles:[[\"\"]],data:{}})},c7mC:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.autoClose=!0,this.placement=\"bottom-left\"}},cG9e:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=\"bottom-left\"}},eCJc:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=(n(\"Xjw4\"),n(\"2yGx\")),o=n(\"ZwZs\"),l=0,u=function(t){this.templateRef=t},a=function(t){this.templateRef=t},s=function(){function t(){this.disabled=!1,this.id=\"ngb-panel-\"+l++,this.isOpen=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t}(),c=function(){function t(t){this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new r.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this.panels.find(function(e){return e.id===t});if(e&&!e.disabled){var n=!1;this.panelChange.emit({panelId:t,nextState:!e.isOpen,preventDefault:function(){n=!0}}),n||(e.isOpen=!e.isOpen,this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){var t=this;Object(i.e)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\\s*,\\s*/)),this.panels.forEach(function(e){return e.isOpen=!e.disabled&&t.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype._closeOthers=function(t){this.panels.forEach(function(e){e.id!==t&&(e.isOpen=!1)})},t.prototype._updateActiveIds=function(){this.activeIds=this.panels.filter(function(t){return t.isOpen&&!t.disabled}).map(function(t){return t.id})},t}();n.d(e,\"a\",function(){return f}),n.d(e,!1,function(){return c}),n.d(e,!1,function(){return s}),n.d(e,!1,function(){return u}),n.d(e,!1,function(){return a}),n.d(e,!1,function(){return o.a});var f=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}()},edM1:function(t,e,n){\"use strict\";n.d(e,\"c\",function(){return o}),n.d(e,\"b\",function(){return l}),n.d(e,\"a\",function(){return u}),n.d(e,\"d\",function(){return a});var r=n(\"WT6e\"),i=(n(\"v4DA\"),0),o=function(t){this.templateRef=t},l=function(t){this.templateRef=t},u=function(){function t(){this.id=\"ngb-tab-\"+i++,this.disabled=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t}(),a=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new r.EventEmitter,this.type=t.type,this.justify=t.justify,this.orientation=t.orientation}return Object.defineProperty(t.prototype,\"justify\",{set:function(t){this.justifyClass=\"fill\"===t||\"justified\"===t?\"nav-\"+t:\"justify-content-\"+t},enumerable:!0,configurable:!0}),t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}()},fAHw:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a});var r=n(\"hlt1\"),i=n(\"2yGx\"),o=n(\"g5jc\"),l=n(\"RTdB\"),u=n(\"Uw6n\"),a=function(){function t(t){this._calendar=t,this._model\$=new o.a,this._select\$=new o.a,this._state={disabled:!1,displayMonths:1,firstDayOfWeek:1,focusVisible:!1,months:[],navigation:\"select\",prevDisabled:!1,nextDisabled:!1,selectBoxes:{years:[],months:[]},selectedDate:null}}return Object.defineProperty(t.prototype,\"model\$\",{get:function(){return u.a.call(this._model\$.asObservable(),function(t){return t.months.length>0})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"select\$\",{get:function(){return u.a.call(this._select\$.asObservable(),function(t){return null!==t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"disabled\",{set:function(t){this._state.disabled!==t&&this._nextState({disabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"displayMonths\",{set:function(t){Object(i.c)(t)&&t>0&&this._state.displayMonths!==t&&this._nextState({displayMonths:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"firstDayOfWeek\",{set:function(t){Object(i.c)(t)&&t>=0&&this._state.firstDayOfWeek!==t&&this._nextState({firstDayOfWeek:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"focusVisible\",{set:function(t){this._state.focusVisible===t||this._state.disabled||this._nextState({focusVisible:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"maxDate\",{set:function(t){(null==t||this._calendar.isValid(t)&&Object(l.f)(this._state.maxDate,t))&&this._nextState({maxDate:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"markDisabled\",{set:function(t){this._state.markDisabled!==t&&this._nextState({markDisabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"minDate\",{set:function(t){(null==t||this._calendar.isValid(t)&&Object(l.f)(this._state.minDate,t))&&this._nextState({minDate:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"navigation\",{set:function(t){this._state.navigation!==t&&this._nextState({navigation:t})},enumerable:!0,configurable:!0}),t.prototype.focus=function(t){!this._state.disabled&&this._calendar.isValid(t)&&Object(l.f)(this._state.focusDate,t)&&this._nextState({focusDate:t})},t.prototype.focusMove=function(t,e){this.focus(this._calendar.getNext(this._state.focusDate,t,e))},t.prototype.focusSelect=function(){Object(l.g)(this._state.focusDate,this._state.minDate,this._state.maxDate,this._state.disabled,this._state.markDisabled)&&this.select(this._state.focusDate,{emitEvent:!0})},t.prototype.open=function(t){var e=this.toValidDate(t,this._calendar.getToday());this._state.disabled||this._nextState({firstDate:e})},t.prototype.select=function(t,e){void 0===e&&(e={});var n=this.toValidDate(t,null);this._state.disabled||(Object(l.f)(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),e.emitEvent&&Object(l.g)(n,this._state.minDate,this._state.maxDate,this._state.disabled,this._state.markDisabled)&&this._select\$.next(n))},t.prototype.toValidDate=function(t,e){var n=r.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._nextState=function(t){var e=this._updateState(t);this._patchContexts(e),this._state=e,this._model\$.next(this._state)},t.prototype._patchContexts=function(t){t.months.forEach(function(e){e.weeks.forEach(function(e){e.days.forEach(function(e){t.focusDate&&(e.context.focused=t.focusDate.equals(e.date)&&t.focusVisible),!0===t.disabled&&(e.context.disabled=!0),void 0!==t.selectedDate&&(e.context.selected=null!==t.selectedDate&&t.selectedDate.equals(e.date))})})})},t.prototype._updateState=function(t){var e=Object.assign({},this._state,t),n=e.firstDate;if((\"minDate\"in t||\"maxDate\"in t)&&(Object(l.c)(e.minDate,e.maxDate),e.focusDate=Object(l.b)(e.focusDate,e.minDate,e.maxDate),e.firstDate=Object(l.b)(e.firstDate,e.minDate,e.maxDate),n=e.focusDate),\"disabled\"in t&&(e.focusVisible=!1),\"selectedDate\"in t&&0===this._state.months.length&&(n=e.selectedDate),\"focusDate\"in t&&(e.focusDate=Object(l.b)(e.focusDate,e.minDate,e.maxDate),n=e.focusDate,0!==e.months.length&&!e.focusDate.before(e.firstDate)&&!e.focusDate.after(e.lastDate)))return e;if(\"firstDate\"in t&&(e.firstDate=Object(l.b)(e.firstDate,e.minDate,e.maxDate),n=e.firstDate),n){var r=\"firstDayOfWeek\"in t||\"markDisabled\"in t||\"minDate\"in t||\"maxDate\"in t||\"disabled\"in t,i=Object(l.a)(this._calendar,e.months,n,e.minDate,e.maxDate,e.displayMonths,e.firstDayOfWeek,e.markDisabled,r);e.months=i,e.firstDate=i.length>0?i[0].firstDate:void 0,e.lastDate=i.length>0?i[i.length-1].lastDate:void 0,\"selectedDate\"in t&&null!==e.selectedDate&&(Object(l.g)(e.selectedDate,e.minDate,e.maxDate,e.disabled,e.markDisabled)||(e.selectedDate=null)),\"firstDate\"in t&&(void 0===e.focusDate||e.focusDate.before(e.firstDate)||e.focusDate.after(e.lastDate))&&(e.focusDate=n);var o=!this._state.firstDate||this._state.firstDate.year!==e.firstDate.year,u=!this._state.firstDate||this._state.firstDate.month!==e.firstDate.month;\"select\"===e.navigation?((\"minDate\"in t||\"maxDate\"in t||0===e.selectBoxes.years.length||o)&&(e.selectBoxes.years=Object(l.e)(e.focusDate,e.minDate,e.maxDate)),(\"minDate\"in t||\"maxDate\"in t||0===e.selectBoxes.months.length||o)&&(e.selectBoxes.months=Object(l.d)(this._calendar,e.focusDate,e.minDate,e.maxDate))):e.selectBoxes={years:[],months:[]},\"arrows\"!==e.navigation&&\"select\"!==e.navigation||!(u||o||\"minDate\"in t||\"maxDate\"in t||\"disabled\"in t)||(e.prevDisabled=e.disabled||Object(l.i)(this._calendar,e.firstDate,e.minDate),e.nextDisabled=e.disabled||Object(l.h)(this._calendar,e.lastDate,e.maxDate))}return e},t}()},gEbu:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a}),n.d(e,\"b\",function(){return s});var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=[\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\",\"Su\"],l=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],u=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],a=function(){},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getWeekdayShortName=function(t){return o[t-1]},e.prototype.getMonthShortName=function(t){return l[t-1]},e.prototype.getMonthFullName=function(t){return u[t-1]},e}(a)},gFLb:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.dismissible=!0,this.type=\"warning\"}},h4vs:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"sgnN\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".bs-tooltip-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: calc(50% - 0.4rem);\\n    }\\n\\n    .bs-tooltip-top-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: 1em;\\n    }\\n\\n    .bs-tooltip-top-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: auto;\\n      right: 0.8rem;\\n    }\\n\\n    .bs-tooltip-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: calc(50% - 0.4rem);\\n    }\\n    \\n    .bs-tooltip-left-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-right-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: 0.4rem;\\n    }\\n\\n    .bs-tooltip-left-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-right-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: auto;\\n      bottom: 0.4rem;\\n    }\"],data:{}});function l(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"arrow\"]],null,null,null,null,null)),(t()(),r[\"\\u0275eld\"](1,0,null,null,1,\"div\",[[\"class\",\"tooltip-inner\"]],null,null,null,null,null)),r[\"\\u0275ncd\"](null,0)],null,null)}var u=r[\"\\u0275ccf\"](\"ngb-tooltip-window\",i.b,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-tooltip-window\",[[\"role\",\"tooltip\"]],[[8,\"className\",0],[8,\"id\",0]],null,null,l,o)),r[\"\\u0275did\"](1,49152,null,0,i.b,[r.ElementRef,r.Renderer2],null,null)],null,function(t,e){t(e,0,0,\"tooltip show bs-tooltip-\"+r[\"\\u0275nov\"](e,1).placement.split(\"-\")[0]+\" bs-tooltip-\"+r[\"\\u0275nov\"](e,1).placement,r[\"\\u0275nov\"](e,1).id)})},{placement:\"placement\",id:\"id\"},{},[\"*\"])},hY6I:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=n(\"/KGk\"),l=(n(\"7DGp\"),n(\"jRSa\")),u=(Object(r.forwardRef)(function(){return u}),Object(r.forwardRef)(function(){return u}),function(){function t(t,e,n,i,o,u,a,s,c){var f=this;this._parserFormatter=t,this._elRef=e,this._vcRef=n,this._renderer=i,this._cfr=o,this._service=a,this._calendar=s,this._ngbDateAdapter=c,this._cRef=null,this._disabled=!1,this.autoClose=!0,this.placement=\"bottom-left\",this.dateSelect=new r.EventEmitter,this.navigate=new r.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=u.onStable.subscribe(function(){f._cRef&&Object(l.a)(f._elRef.nativeElement,f._cRef.location.nativeElement,f.placement,\"body\"===f.container)})}return Object.defineProperty(t.prototype,\"disabled\",{get:function(){return this._disabled},set:function(t){this._disabled=\"\"===t||t&&\"false\"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)},enumerable:!0,configurable:!0}),t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.validate=function(t){var e=t.value;if(null===e||void 0===e)return null;var n=this._fromDateStruct(this._ngbDateAdapter.fromModel(e));return this._calendar.isValid(n)?this.minDate&&n.before(i.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&n.after(i.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){this._model=this._fromDateStruct(this._ngbDateAdapter.fromModel(t)),this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t,e){void 0===e&&(e=!1),this._model=this._fromDateStruct(this._parserFormatter.parse(t)),this._onChange(this._model?this._ngbDateAdapter.toModel(this._model):\"\"===t?null:t),e&&this._model&&this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(o.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._ngbDateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.autoClose&&t.close()}),this._cRef.instance.focus(),this._cRef.instance.setDisabledState(this.disabled),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._cRef.location.nativeElement)}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;[\"dayTemplate\",\"displayMonths\",\"firstDayOfWeek\",\"markDisabled\",\"minDate\",\"maxDate\",\"navigation\",\"outsideDays\",\"showNavigation\",\"showWeekdays\",\"showWeekNumbers\"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,\"dropdown-menu\"),this._renderer.setStyle(t,\"padding\",\"0\"),this._renderer.addClass(t,\"show\")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)}),t.select.subscribe(function(t){e.dateSelect.emit(t),e.autoClose&&e.close()})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,\"value\",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(this._ngbDateAdapter.toModel(t)),this._onTouched())},t.prototype._fromDateStruct=function(t){var e=t?new i.a(t.year,t.month,t.day):null;return this._calendar.isValid(e)?e:null},t}())},hlt1:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toStruct=function(){return{year:this.year,month:this.month,day:this.day}},t.prototype.toString=function(){return this.year+\"-\"+this.month+\"-\"+this.day},t}()},hwnt:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation=\"select\",this.outsideDays=\"visible\",this.showWeekdays=!0,this.showWeekNumbers=!1}},jRSa:function(t,e,n){\"use strict\";e.a=function(t,e,n,i){var o=Array.isArray(n)?n:[n],l=o.findIndex(function(t){return\"auto\"===t});l>=0&&[\"top\",\"right\",\"bottom\",\"left\"].forEach(function(t){null==o.find(function(e){return-1!==e.search(\"^\"+t+\"|^\"+t+\"-\")})&&o.splice(l++,1,t)});for(var u,a=0,s=0,c=r.getAvailablePlacements(t,e),f=function(n,l){if(null!=c.find(function(t){return t===n})||o.length===l+1){u=n;var f=r.positionElements(t,e,n,i);return a=f.top,s=f.left,\"break\"}},h=0,p=o.map(function(t,e){return{item:t,index:e}});h<p.length;h++){var d=p[h];if(\"break\"===f(d.item,d.index))break}return e.style.top=a+\"px\",e.style.left=s+\"px\",u};var r=new(function(){function t(){}return t.prototype.getAllStyles=function(t){return window.getComputedStyle(t)},t.prototype.getStyle=function(t,e){return this.getAllStyles(t)[e]},t.prototype.isStaticPositioned=function(t){return\"static\"===(this.getStyle(t,\"position\")||\"static\")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){var n;void 0===e&&(e=!0);var r={width:0,height:0,top:0,bottom:0,left:0,right:0};if(\"fixed\"===this.getStyle(t,\"position\"))n=t.getBoundingClientRect();else{var i=this.offsetParent(t);n=this.offset(t,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft,o={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return e&&(o.height=Math.round(o.height),o.width=Math.round(o.width),o.top=Math.round(o.top),o.bottom=Math.round(o.bottom),o.left=Math.round(o.left),o.right=Math.round(o.right)),o},t.prototype.positionElements=function(t,e,n,r){var i=r?this.offset(t,!1):this.position(t,!1),o=this.getAllStyles(e),l=e.getBoundingClientRect(),u=n.split(\"-\")[0]||\"top\",a=n.split(\"-\")[1]||\"center\",s={height:l.height||e.offsetHeight,width:l.width||e.offsetWidth,top:0,bottom:l.height||e.offsetHeight,left:0,right:l.width||e.offsetWidth};switch(u){case\"top\":s.top=i.top-(e.offsetHeight+parseFloat(o.marginBottom));break;case\"bottom\":s.top=i.top+i.height;break;case\"left\":s.left=i.left-(e.offsetWidth+parseFloat(o.marginRight));break;case\"right\":s.left=i.left+i.width}switch(a){case\"top\":s.top=i.top;break;case\"bottom\":s.top=i.top+i.height-e.offsetHeight;break;case\"left\":s.left=i.left;break;case\"right\":s.left=i.left+i.width-e.offsetWidth;break;case\"center\":\"top\"===u||\"bottom\"===u?s.left=i.left+i.width/2-e.offsetWidth/2:s.top=i.top+i.height/2-e.offsetHeight/2}return s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right),s},t.prototype.getAvailablePlacements=function(t,e){var n=[],r=t.getBoundingClientRect(),i=e.getBoundingClientRect(),o=document.documentElement;return i.width<r.left&&(r.top+r.height/2-e.offsetHeight/2>0&&n.splice(n.length,1,\"left\"),this.setSecondaryPlacementForLeftRight(r,i,\"left\",n)),i.height<r.top&&(n.splice(n.length,1,\"top\"),this.setSecondaryPlacementForTopBottom(r,i,\"top\",n)),(window.innerWidth||o.clientWidth)-r.right>i.width&&(r.top+r.height/2-e.offsetHeight/2>0&&n.splice(n.length,1,\"right\"),this.setSecondaryPlacementForLeftRight(r,i,\"right\",n)),(window.innerHeight||o.clientHeight)-r.bottom>i.height&&(n.splice(n.length,1,\"bottom\"),this.setSecondaryPlacementForTopBottom(r,i,\"bottom\",n)),n},t.prototype.setSecondaryPlacementForLeftRight=function(t,e,n,r){var i=document.documentElement;e.height<=t.bottom&&r.splice(r.length,1,n+\"-bottom\"),(window.innerHeight||i.clientHeight)-t.top>=e.height&&r.splice(r.length,1,n+\"-top\")},t.prototype.setSecondaryPlacementForTopBottom=function(t,e,n,r){var i=document.documentElement;(window.innerWidth||i.clientWidth)-t.left>=e.width&&r.splice(r.length,1,n+\"-left\"),e.width<=t.right&&r.splice(r.length,1,n+\"-right\")},t}())},kgIC:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.collapsed=!1}},kzcK:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return i}),n(\"eCJc\"),n(\"RX2M\"),n(\"F+yc\"),n(\"/I96\"),n(\"vfkA\"),n(\"qsK9\"),n(\"MSQt\");var r=n(\"UyZi\");n(\"Ep2y\"),n(\"WKBe\"),n(\"1Z2I\"),n(\"A8b0\"),n(\"as+d\"),n(\"62nT\"),n(\"yDyO\"),n(\"K/oD\"),n.d(e,\"a\",function(){return r.a});var i=function(){}},l5HU:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return l}),n.d(e,\"a\",function(){return u});var r,i=n(\"WT6e\"),o=(n(\"DDfv\"),0),l=function(){return function(t){this.tplRef=t,this.id=\"ngb-slide-\"+o++}}(),u=function(){function t(t){this.slide=new i.EventEmitter,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnChanges=function(t){\"interval\"in t&&!t.interval.isFirstChange()&&this._restartTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t,this.getSlideEventDirection(this.activeId,t)),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId),r.LEFT)},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId),r.RIGHT)},t.prototype.cycleToSelected=function(t,e){var n=this._getSlideById(t);n&&(n.id!==this.activeId&&this.slide.emit({prev:this.activeId,current:n.id,direction:e}),this.activeId=n.id)},t.prototype.getSlideEventDirection=function(t,e){return this._getSlideIdxById(t)>this._getSlideIdxById(e)?r.RIGHT:r.LEFT},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();!function(t){t[t.LEFT=\"left\"]=\"LEFT\",t[t.RIGHT=\"right\"]=\"RIGHT\"}(r||(r={}))},lcaH:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return s}),n.d(e,\"b\",function(){return c});var r,i=n(\"hlt1\"),o=n(\"2yGx\"),l=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function u(t){return new i.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function a(t){var e=new Date(t.year,t.month-1,t.day,12);return isNaN(e.getTime())||e.setFullYear(t.year),e}var s=function(){},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e=\"d\"),void 0===n&&(n=1);var r=a(t);switch(e){case\"y\":return new i.a(t.year+n,1,1);case\"m\":r=new Date(t.year,t.month+n-1,1,12);break;case\"d\":r.setDate(r.getDate()+n);break;default:return t}return u(r)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e=\"d\"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=a(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=a(t[(11-e)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));var r=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((r-n.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return u(new Date)},e.prototype.isValid=function(t){if(!(t&&Object(o.c)(t.year)&&Object(o.c)(t.month)&&Object(o.c)(t.day)))return!1;var e=a(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(s)},mN9t:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){}},nCuf:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}},nxqe:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(t){return t[t.BACKDROP_CLICK=0]=\"BACKDROP_CLICK\",t[t.ESC=1]=\"ESC\",t}({})},qBUJ:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return l});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=n(\"2yGx\"),l=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.changeMonth=function(t){this.select.emit(new i.a(this.date.year,Object(o.h)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new i.a(Object(o.h)(t),this.date.month,1))},t}()},qKow:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.placement=\"top\",this.triggers=\"hover\",this.disableTooltip=!1}},\"qQ/N\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return l});var r,i=n(\"WT6e\"),o=(n(\"aKiW\"),n(\"2yGx\"));!function(t){t[t.End=35]=\"End\",t[t.Home=36]=\"Home\",t[t.ArrowLeft=37]=\"ArrowLeft\",t[t.ArrowUp=38]=\"ArrowUp\",t[t.ArrowRight=39]=\"ArrowRight\",t[t.ArrowDown=40]=\"ArrowDown\"}(r||(r={})),Object(i.forwardRef)(function(){return l});var l=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new i.EventEmitter,this.leave=new i.EventEmitter,this.rateChange=new i.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+\" out of \"+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(r[Object(o.i)(t.which)])switch(t.preventDefault(),t.which){case r.ArrowDown:case r.ArrowLeft:this.update(this.rate-1);break;case r.ArrowUp:case r.ArrowRight:this.update(this.rate+1);break;case r.Home:this.update(0);break;case r.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(t,e){return{fill:0,index:e}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var n=Object(o.a)(t,this.max,0);this.readonly||this.disabled||this.rate===n||(this.rate=n,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}()},qmzJ:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"U6gI\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] {\\n      text-align: center;\\n      width: 2rem;\\n      height: 2rem;\\n      line-height: 2rem;\\n      border-radius: 0.25rem;\\n      background: transparent;\\n    }\\n    .outside[_nghost-%COMP%] {\\n      opacity: 0.5;\\n    }\"],data:{}});function l(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](0,null,[\"\",\"\"]))],null,function(t,e){t(e,0,0,e.component.date.day)})}var u=n(\"7DMc\"),a=n(\"Xjw4\"),s=n(\"qBUJ\"),c=n(\"gEbu\"),f=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] > select[_ngcontent-%COMP%] {\\n      \\n      padding: 0.25rem 0.5rem;\\n      font-size: 0.875rem;\\n      line-height: 1.25;\\n      \\n      height: inherit;\\n      width: 50%;\\n      display: inline-block;\\n    }\"],data:{}});function h(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,3,\"option\",[],null,null,null,null,null)),r[\"\\u0275did\"](1,147456,null,0,u.p,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),r[\"\\u0275did\"](2,147456,null,0,u.x,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),(t()(),r[\"\\u0275ted\"](3,null,[\"\",\"\"]))],function(t,e){t(e,1,0,e.context.\$implicit),t(e,2,0,e.context.\$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.\$implicit))})}function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,3,\"option\",[],null,null,null,null,null)),r[\"\\u0275did\"](1,147456,null,0,u.p,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),r[\"\\u0275did\"](2,147456,null,0,u.x,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),(t()(),r[\"\\u0275ted\"](3,null,[\"\",\"\"]))],function(t,e){t(e,1,0,e.context.\$implicit),t(e,2,0,e.context.\$implicit)},function(t,e){t(e,3,0,e.context.\$implicit)})}function d(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,4,\"select\",[[\"class\",\"custom-select\"],[\"tabindex\",\"-1\"]],[[8,\"disabled\",0],[8,\"value\",0]],[[null,\"change\"]],function(t,e,n){var r=!0;return\"change\"===e&&(r=!1!==t.component.changeMonth(n.target.value)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,h)),r[\"\\u0275did\"](4,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](6,0,null,null,4,\"select\",[[\"class\",\"custom-select\"],[\"tabindex\",\"-1\"]],[[8,\"disabled\",0],[8,\"value\",0]],[[null,\"change\"]],function(t,e,n){var r=!0;return\"change\"===e&&(r=!1!==t.component.changeYear(n.target.value)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,p)),r[\"\\u0275did\"](9,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}var y=n(\"3fcS\"),v=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] {\\n      height: 2rem;\\n      line-height: 1.85rem;\\n      display: -webkit-box;\\n      display: -ms-flexbox;\\n      display: flex;\\n    }\\n    .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\\n      border-style: solid;\\n      border-width: 0.2em 0.2em 0 0;\\n      content: '';\\n      display: inline-block;\\n      width: 0.75em;\\n      height: 0.75em;\\n      transform: rotate(-135deg);\\n      -webkit-transform: rotate(-135deg);\\n      -ms-transform: rotate(-135deg);\\n    }\\n    .right[_ngcontent-%COMP%]   .ngb-dp-navigation-chevron[_ngcontent-%COMP%]:before {\\n      -webkit-transform: rotate(45deg);\\n      -ms-transform: rotate(45deg);\\n      transform: rotate(45deg);\\n    }\\n    .ngb-dp-arrow[_ngcontent-%COMP%] {\\n      display: -webkit-box;\\n      display: -ms-flexbox;\\n      display: flex;\\n      -webkit-box-flex: 1 1 auto;\\n      -ms-flex: 1 1 auto;\\n      flex-basis: auto;\\n      flex-grow: 1;\\n      padding-right: 0px;\\n      padding-left: 0px;\\n      margin: 0px;\\n      width: 2rem;\\n      height: 2rem;\\n    }\\n    .ngb-dp-arrow.right[_ngcontent-%COMP%] {\\n      -webkit-box-pack: end;\\n      -ms-flex-pack: end;\\n      justify-content: flex-end;\\n    }\\n    .ngb-dp-arrow-btn[_ngcontent-%COMP%] {\\n      padding: 0rem 1rem;\\n    }\\n    .ngb-dp-month-name[_ngcontent-%COMP%] {\\n      font-size: larger;\\n      height: 2rem;\\n      line-height: 2rem;\\n      text-align: center;\\n    }\\n    .ngb-dp-navigation-select[_ngcontent-%COMP%] {\\n      -webkit-box-flex: 1 1 9rem;\\n      -ms-flex:  1 1 9rem;\\n      flex-grow: 1;\\n      flex-basis: 9rem;\\n    }\"],data:{}});function g(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,2,\"ngb-datepicker-navigation-select\",[[\"class\",\"d-block ngb-dp-navigation-select\"]],null,[[null,\"select\"]],function(t,e,n){var r=!0;return\"select\"===e&&(r=!1!==t.component.select.emit(n)&&r),r},d,f)),r[\"\\u0275did\"](1,49152,null,0,s.a,[c.a],{date:[0,\"date\"],disabled:[1,\"disabled\"],months:[2,\"months\"],years:[3,\"years\"]},{select:\"select\"}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.selectBoxes.months,n.selectBoxes.years)},null)}function b(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"ngb-dp-arrow\"]],null,null,null,null,null))],null,null)}function m(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"ngb-dp-arrow\"]],null,null,null,null,null))],null,null)}function _(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,b)),r[\"\\u0275did\"](2,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-month-name d-block\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](5,null,[\"\\n        \",\" \",\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,m)),r[\"\\u0275did\"](8,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,2,0,e.context.index>0),t(e,8,0,e.context.index!==n.months.length-1)},function(t,e){t(e,5,0,e.component.i18n.getMonthFullName(e.context.\$implicit.number),e.context.\$implicit.year)})}function w(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,_)),r[\"\\u0275did\"](1,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275and\"](0,null,null,0))],function(t,e){t(e,1,0,e.component.months)},null)}function O(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,6,\"div\",[[\"class\",\"ngb-dp-arrow\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,3,\"button\",[[\"class\",\"btn btn-link ngb-dp-arrow-btn\"],[\"tabindex\",\"-1\"],[\"type\",\"button\"]],[[8,\"disabled\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.navigate.emit(i.navigation.PREV)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](5,0,null,null,0,\"span\",[[\"class\",\"ngb-dp-navigation-chevron\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,g)),r[\"\\u0275did\"](10,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,w)),r[\"\\u0275did\"](13,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](15,0,null,null,6,\"div\",[[\"class\",\"ngb-dp-arrow right\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](17,0,null,null,3,\"button\",[[\"class\",\"btn btn-link ngb-dp-arrow-btn\"],[\"tabindex\",\"-1\"],[\"type\",\"button\"]],[[8,\"disabled\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.navigate.emit(i.navigation.NEXT)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](19,0,null,null,0,\"span\",[[\"class\",\"ngb-dp-navigation-chevron\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,10,0,n.showSelect),t(e,13,0,!n.showSelect)},function(t,e){var n=e.component;t(e,3,0,n.prevDisabled),t(e,17,0,n.nextDisabled)})}var x=n(\"5ZV5\"),k=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\\n      line-height: 2rem;\\n    }\\n    .ngb-dp-weekday[_ngcontent-%COMP%] {\\n      color: #5bc0de;\\n    }\\n    .ngb-dp-week[_ngcontent-%COMP%] {\\n        border-radius: 0.25rem;\\n        display: -webkit-box;\\n        display: -ms-flexbox;\\n        display: flex;\\n    }\\n    .ngb-dp-weekdays[_ngcontent-%COMP%] {\\n      border-bottom: 1px solid rgba(0, 0, 0, 0.125);\\n      border-radius: 0rem;\\n    }\\n    .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\\n      width: 2rem;\\n      height: 2rem;\\n    }\\n    .ngb-dp-day[_ngcontent-%COMP%] {\\n      cursor: pointer;\\n    }\\n    .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\\n      cursor: default;\\n    }\"],data:{}});function E(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"ngb-dp-weekday ngb-dp-showweek\"]],null,null,null,null,null))],null,null)}function C(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-weekday small text-center font-italic\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\\n        \",\"\\n      \"]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.\$implicit))})}function T(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"div\",[[\"class\",\"ngb-dp-week ngb-dp-weekdays bg-light\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,E)),r[\"\\u0275did\"](3,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,C)),r[\"\\u0275did\"](6,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function j(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-week-number small text-center font-italic text-muted\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\",\"\"]))],null,function(t,e){t(e,1,0,e.parent.parent.context.\$implicit.number)})}function A(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](0,null,null,0))],null,null)}function P(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,A)),r[\"\\u0275did\"](2,540672,null,0,a.p,[r.ViewContainerRef],{ngTemplateOutletContext:[0,\"ngTemplateOutletContext\"],ngTemplateOutlet:[1,\"ngTemplateOutlet\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"]))],function(t,e){t(e,2,0,e.parent.context.\$implicit.context,e.component.dayTemplate)},null)}function R(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"div\",[[\"class\",\"ngb-dp-day\"]],[[2,\"disabled\",null],[2,\"hidden\",null]],[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.doSelect(t.context.\$implicit)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,P)),r[\"\\u0275did\"](3,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.\$implicit))},function(t,e){t(e,0,0,e.context.\$implicit.context.disabled,e.component.isHidden(e.context.\$implicit))})}function S(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"div\",[[\"class\",\"ngb-dp-week\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,j)),r[\"\\u0275did\"](3,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,R)),r[\"\\u0275did\"](6,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.\$implicit.days)},null)}function N(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,S)),r[\"\\u0275did\"](2,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.\$implicit))},null)}function D(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,T)),r[\"\\u0275did\"](2,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,N)),r[\"\\u0275did\"](5,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}var M=n(\"/KGk\"),q=n(\"fAHw\"),I=n(\"lcaH\"),L=n(\"XDiD\"),B=n(\"hwnt\"),F=n(\"WwnU\");n.d(e,\"a\",function(){return Y});var U=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] {\\n      border: 1px solid rgba(0, 0, 0, 0.125);\\n      border-radius: 0.25rem;\\n      display: inline-block;\\n    }\\n    .ngb-dp-month[_ngcontent-%COMP%] {\\n      pointer-events: none;\\n    }\\n    .ngb-dp-header[_ngcontent-%COMP%] {\\n      border-bottom: 0px;\\n      border-radius: .25rem 0.25rem 0rem 0rem;\\n      padding-top: 0.25rem;\\n    }\\n    ngb-datepicker-month-view[_ngcontent-%COMP%] {\\n      pointer-events: auto;\\n    }\\n    .ngb-dp-month-name[_ngcontent-%COMP%] {\\n      font-size: larger;\\n      height: 2rem;\\n      line-height: 2rem;\\n      text-align: center;\\n    }\\n      .ngb-dp-month + .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week {\\n      padding-left: 1rem;\\n    }\\n      .ngb-dp-month + .ngb-dp-month > .ngb-dp-month-name {\\n      padding-left: 1rem;\\n    }\\n      .ngb-dp-month:last-child .ngb-dp-week {\\n      padding-right: .25rem;\\n    }\\n      .ngb-dp-month:first-child .ngb-dp-week {\\n      padding-left: .25rem;\\n    }\\n      .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week:last-child {\\n      padding-bottom: .25rem;\\n    }\\n    .ngb-dp-months[_ngcontent-%COMP%] {\\n      display: -webkit-box;\\n      display: -ms-flexbox;\\n      display: flex;\\n    }\"],data:{}});function V(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,2,\"div\",[[\"class\",\"btn-light\"],[\"ngbDatepickerDayView\",\"\"]],[[2,\"bg-primary\",null],[2,\"text-white\",null],[2,\"text-muted\",null],[2,\"outside\",null],[2,\"active\",null]],null,null,l,o)),r[\"\\u0275did\"](2,49152,null,0,i.a,[],{currentMonth:[0,\"currentMonth\"],date:[1,\"date\"],disabled:[2,\"disabled\"],focused:[3,\"focused\"],selected:[4,\"selected\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.focused,e.context.selected)},function(t,e){t(e,1,0,r[\"\\u0275nov\"](e,2).selected,r[\"\\u0275nov\"](e,2).selected,r[\"\\u0275nov\"](e,2).isMuted(),r[\"\\u0275nov\"](e,2).isMuted(),r[\"\\u0275nov\"](e,2).focused)})}function W(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,2,\"ngb-datepicker-navigation\",[],null,[[null,\"navigate\"],[null,\"select\"]],function(t,e,n){var r=!0,i=t.component;return\"navigate\"===e&&(r=!1!==i.onNavigateEvent(n)&&r),\"select\"===e&&(r=!1!==i.onNavigateDateSelect(n)&&r),r},O,v)),r[\"\\u0275did\"](1,49152,null,0,y.a,[c.a],{date:[0,\"date\"],disabled:[1,\"disabled\"],months:[2,\"months\"],showSelect:[3,\"showSelect\"],prevDisabled:[4,\"prevDisabled\"],nextDisabled:[5,\"nextDisabled\"],selectBoxes:[6,\"selectBoxes\"]},{navigate:\"navigate\",select:\"select\"}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){var n=e.component;t(e,1,0,n.model.firstDate,n.model.disabled,n.model.months,\"select\"===n.model.navigation,n.model.prevDisabled,n.model.nextDisabled,n.model.selectBoxes)},null)}function z(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-month-name bg-light\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\\n            \",\" \",\"\\n          \"]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.\$implicit.number),e.parent.context.\$implicit.year)})}function H(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,8,\"div\",[[\"class\",\"ngb-dp-month d-block\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,z)),r[\"\\u0275did\"](4,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](6,0,null,null,2,\"ngb-datepicker-month-view\",[[\"class\",\"d-block\"]],null,[[null,\"select\"]],function(t,e,n){var r=!0;return\"select\"===e&&(r=!1!==t.component.onDateSelect(n)&&r),r},D,k)),r[\"\\u0275did\"](7,49152,null,0,x.a,[c.a],{dayTemplate:[0,\"dayTemplate\"],month:[1,\"month\"],outsideDays:[2,\"outsideDays\"],showWeekdays:[3,\"showWeekdays\"],showWeekNumbers:[4,\"showWeekNumbers\"]},{select:\"select\"}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){var n=e.component;t(e,4,0,\"none\"===n.navigation||n.displayMonths>1&&\"select\"===n.navigation),t(e,7,0,n.dayTemplate||r[\"\\u0275nov\"](e.parent,1),e.context.\$implicit,1===n.displayMonths?n.outsideDays:\"hidden\",n.showWeekdays,n.showWeekNumbers)},null)}function K(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](0,[[\"dt\",2]],null,0,null,V)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n    \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,4,\"div\",[[\"class\",\"ngb-dp-header bg-light\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,W)),r[\"\\u0275did\"](6,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n    \"])),(t()(),r[\"\\u0275eld\"](9,0,null,null,4,\"div\",[[\"class\",\"ngb-dp-months\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,H)),r[\"\\u0275did\"](12,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,6,0,\"none\"!==n.navigation),t(e,12,0,n.model.months)},null)}var Y=r[\"\\u0275ccf\"](\"ngb-datepicker\",M.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"ngb-datepicker\",[[\"tabindex\",\"0\"]],[[1,\"tabindex\",0]],[[null,\"blur\"],[null,\"focus\"],[null,\"keydown\"]],function(t,e,n){var i=!0;return\"blur\"===e&&(i=!1!==r[\"\\u0275nov\"](t,4).showFocus(!1)&&i),\"focus\"===e&&(i=!1!==r[\"\\u0275nov\"](t,4).showFocus(!0)&&i),\"keydown\"===e&&(i=!1!==r[\"\\u0275nov\"](t,4).onKeyDown(n)&&i),i},K,U)),r[\"\\u0275prd\"](5120,null,u.j,function(t){return[t]},[M.a]),r[\"\\u0275prd\"](512,null,q.a,q.a,[I.a]),r[\"\\u0275prd\"](512,null,L.a,L.a,[q.a,I.a]),r[\"\\u0275did\"](4,770048,null,0,M.a,[L.a,q.a,I.a,c.a,B.a,r.ChangeDetectorRef,r.ElementRef,F.a],null,null)],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,r[\"\\u0275nov\"](e,4).model.disabled?void 0:\"0\")})},{dayTemplate:\"dayTemplate\",displayMonths:\"displayMonths\",firstDayOfWeek:\"firstDayOfWeek\",markDisabled:\"markDisabled\",maxDate:\"maxDate\",minDate:\"minDate\",navigation:\"navigation\",outsideDays:\"outsideDays\",showWeekdays:\"showWeekdays\",showWeekNumbers:\"showWeekNumbers\",startDate:\"startDate\"},{navigate:\"navigate\",select:\"select\"},[])},qoi6:function(t,e,n){\"use strict\";var r,i=n(\"WT6e\"),o=(n(\"7DMc\"),n(\"4zOZ\")),l=n(\"r4tK\"),u=n(\"5X6E\"),a=n(\"TToO\"),s=n(\"YaPU\"),c=n(\"GK6M\"),f=n(\"/iUD\"),h=n(\"fKB6\"),p=n(\"VwZZ\"),d=Object.prototype.toString,y=function(t){function e(e,n,r,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=i}return Object(a.__extends)(e,t),e.create=function(t,n,r,i){return Object(f.a)(r)&&(i=r,r=void 0),new e(t,n,i,r)},e.setupSubscription=function(t,n,r,i,o){var l;if(function(t){return!!t&&\"[object NodeList]\"===d.call(t)}(t)||function(t){return!!t&&\"[object HTMLCollection]\"===d.call(t)}(t))for(var u=0,a=t.length;u<a;u++)e.setupSubscription(t[u],n,r,i,o);else if(function(t){return!!t&&\"function\"==typeof t.addEventListener&&\"function\"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(n,r,o),l=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return!!t&&\"function\"==typeof t.on&&\"function\"==typeof t.off}(t)){var c=t;t.on(n,r),l=function(){return c.off(n,r)}}else{if(!function(t){return!!t&&\"function\"==typeof t.addListener&&\"function\"==typeof t.removeListener}(t))throw new TypeError(\"Invalid event target\");var f=t;t.addListener(n,r),l=function(){return f.removeListener(n,r)}}i.add(new p.a(l))},e.prototype._subscribe=function(t){var n=this.selector;e.setupSubscription(this.sourceObj,this.eventName,n?function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var i=Object(c.a)(n).apply(void 0,e);i===h.a?t.error(h.a.e):t.next(i)}:function(e){return t.next(e)},t,this.options)},e}(s.Observable).create,v=n(\"jRSa\"),g=n(\"2BXm\"),b=n(\"/PMa\"),m=n(\"2yGx\");n(\"cG9e\"),n.d(e,\"a\",function(){return w}),function(t){t[t.Tab=9]=\"Tab\",t[t.Enter=13]=\"Enter\",t[t.Escape=27]=\"Escape\",t[t.ArrowUp=38]=\"ArrowUp\",t[t.ArrowDown=40]=\"ArrowDown\"}(r||(r={})),Object(i.forwardRef)(function(){return w});var _=0,w=function(){function t(t,e,n,r,l,u,a){var s=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=n,this._injector=r,this.placement=\"bottom-left\",this.selectItem=new i.EventEmitter,this.popupId=\"ngb-typeahead-\"+_++,this._onTouched=function(){},this._onChange=function(t){},this.container=u.container,this.editable=u.editable,this.focusFirst=u.focusFirst,this.showHint=u.showHint,this.placement=u.placement,this._valueChanges=y(t.nativeElement,\"input\",function(t){return t.target.value}),this._resubscribeTypeahead=new o.a(null),this._popupService=new b.b(g.a,r,e,n,l),this._zoneSubscription=a.onStable.subscribe(function(){s.isPopupOpen()&&Object(v.a)(s._elementRef.nativeElement,s._windowRef.location.nativeElement,s.placement,\"body\"===s.container)})}return t.prototype.ngOnInit=function(){var t=this,e=l.a.call(this._valueChanges,function(e){t._inputValueBackup=e,t.editable&&t._onChange(e)}),n=(function(t){return t(this)}).call(e,this.ngbTypeahead),r=l.a.call(n,function(){t.editable||t._onChange(void 0)}),i=(function(t,e){return Object(u.a)(t,e)(this)}).call(this._resubscribeTypeahead,function(){return r});this._subscription=this._subscribeToUserInput(i)},t.prototype.ngOnDestroy=function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)},t.prototype.onDocumentClick=function(t){t.target!==this._elementRef.nativeElement&&this.dismissPopup()},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._inputValueBackup))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._resubscribeTypeahead.next(null),this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&r[Object(m.i)(t.which)])switch(t.which){case r.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case r.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case r.Enter:case r.Tab:var e=this._windowRef.instance.getActive();Object(m.b)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case r.Escape:t.preventDefault(),this._resubscribeTypeahead.next(null),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint&&this._windowRef.instance.hasActive()&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):Object(m.i)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",Object(m.i)(t))},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._windowRef.changeDetectorRef.detectChanges(),e._showHint()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}()},qsK9:function(t,e,n){\"use strict\";n(\"WT6e\"),n(\"Xjw4\");var r,i=n(\"/KGk\"),o=n(\"5ZV5\"),l=n(\"3fcS\"),u=n(\"hY6I\"),a=(n(\"7DMc\"),n(\"U6gI\")),s=n(\"gEbu\"),c=n(\"lcaH\"),f=n(\"7DGp\"),h=n(\"WwnU\"),p=n(\"qBUJ\"),d=n(\"hwnt\"),y=n(\"2yGx\"),v=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&Object(y.d)(t.year)&&Object(y.d)(t.month)&&Object(y.d)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),e+=n=this.getDaysInIslamicMonth(t.month,t.year);else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(c.a),b=n(\"hlt1\"),m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function _(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function w(t,e){return t-e*Math.floor(t/e)}var O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),r=e.getMonth(),i=e.getDate(),o=1721424.5+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(r+1)-362)/12+(r+1<=2?0:_(e)?-1:-2)+i),l=(o=Math.floor(o)+.5)-1948439.5,u=Math.floor((30*l+10646)/10631),a=Math.ceil((l-29-this._getYearStart(u))/29.5);a=Math.min(a,11);var s=Math.ceil(l-this._getMonthStart(u,a))+1;return new b.a(u,a+1,s)},e.prototype.toGregorian=function(t){var e=t.year,n=t.day+Math.ceil(29.5*(t.month-1))+354*(e-1)+Math.floor((3+11*e)/30)+1948439.5-1,r=Math.floor(n-.5)+.5,i=r-1721425.5,o=Math.floor(i/146097),l=w(i,146097),u=Math.floor(l/36524),a=w(l,36524),s=Math.floor(a/1461),c=w(a,1461),f=Math.floor(c/365),h=400*o+100*u+4*s+f;4!==u&&4!==f&&h++;var p=r-(1721425.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)),d=r<1721424.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)+Math.floor(739/12+(_(new Date(h,3,1))?-1:-2)+1)?0:_(new Date(h,3,1))?1:2,y=Math.floor((12*(p+d)+373)/367),v=1721424.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)+Math.floor((367*y-362)/12+(y<=2?0:_(new Date(h,y-1,1))?-1:-2)+1);return new Date(h,y-1,r-v+1)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13);var n=29+(t=(t-1)%12+1)%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e=\"d\"),void 0===n&&(n=1),t=b.a.from(t),e){case\"y\":return(t=this.setYear(t,t.year+n)).month=1,t.day=1,t;case\"m\":return(t=this.setMonth(t,t.month+n)).day=1,t;case\"d\":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e=\"d\"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=t[(11-e)%7],r=this.toGregorian(n);r.setDate(r.getDate()+4-(r.getDay()||7));var i=r.getTime(),o=this.toGregorian(new b.a(n.year,1,1));return Math.floor(Math.round((i-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(g),x=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k=new Date(1882,10,12),E=new Date(2174,10,25),C=new O,T=[\"101010101010\",\"110101010100\",\"111011001001\",\"011011010100\",\"011011101010\",\"001101101100\",\"101010101101\",\"010101010101\",\"011010101001\",\"011110010010\",\"101110101001\",\"010111010100\",\"101011011010\",\"010101011100\",\"110100101101\",\"011010010101\",\"011101001010\",\"101101010100\",\"101101101010\",\"010110101101\",\"010010101110\",\"101001001111\",\"010100010111\",\"011010001011\",\"011010100101\",\"101011010101\",\"001011010110\",\"100101011011\",\"010010011101\",\"101001001101\",\"110100100110\",\"110110010101\",\"010110101100\",\"100110110110\",\"001010111010\",\"101001011011\",\"010100101011\",\"101010010101\",\"011011001010\",\"101011101001\",\"001011110100\",\"100101110110\",\"001010110110\",\"100101010110\",\"101011001010\",\"101110100100\",\"101111010010\",\"010111011001\",\"001011011100\",\"100101101101\",\"010101001101\",\"101010100101\",\"101101010010\",\"101110100101\",\"010110110100\",\"100110110110\",\"010101010111\",\"001010010111\",\"010101001011\",\"011010100011\",\"011101010010\",\"101101100101\",\"010101101010\",\"101010101011\",\"010100101011\",\"110010010101\",\"110101001010\",\"110110100101\",\"010111001010\",\"101011010110\",\"100101010111\",\"010010101011\",\"100101001011\",\"101010100101\",\"101101010010\",\"101101101010\",\"010101110101\",\"001001110110\",\"100010110111\",\"010001011011\",\"010101010101\",\"010110101001\",\"010110110100\",\"100111011010\",\"010011011101\",\"001001101110\",\"100100110110\",\"101010101010\",\"110101010100\",\"110110110010\",\"010111010101\",\"001011011010\",\"100101011011\",\"010010101011\",\"101001010101\",\"101101001001\",\"101101100100\",\"101101110001\",\"010110110100\",\"101010110101\",\"101001010101\",\"110100100101\",\"111010010010\",\"111011001001\",\"011011010100\",\"101011101001\",\"100101101011\",\"010010101011\",\"101010010011\",\"110101001001\",\"110110100100\",\"110110110010\",\"101010111001\",\"010010111010\",\"101001011011\",\"010100101011\",\"101010010101\",\"101100101010\",\"101101010101\",\"010101011100\",\"010010111101\",\"001000111101\",\"100100011101\",\"101010010101\",\"101101001010\",\"101101011010\",\"010101101101\",\"001010110110\",\"100100111011\",\"010010011011\",\"011001010101\",\"011010101001\",\"011101010100\",\"101101101010\",\"010101101100\",\"101010101101\",\"010101010101\",\"101100101001\",\"101110010010\",\"101110101001\",\"010111010100\",\"101011011010\",\"010101011010\",\"101010101011\",\"010110010101\",\"011101001001\",\"011101100100\",\"101110101010\",\"010110110101\",\"001010110110\",\"101001010110\",\"111001001101\",\"101100100101\",\"101101010010\",\"101101101010\",\"010110101101\",\"001010101110\",\"100100101111\",\"010010010111\",\"011001001011\",\"011010100101\",\"011010101100\",\"101011010110\",\"010101011101\",\"010010011101\",\"101001001101\",\"110100010110\",\"110110010101\",\"010110101010\",\"010110110101\",\"001011011010\",\"100101011011\",\"010010101101\",\"010110010101\",\"011011001010\",\"011011100100\",\"101011101010\",\"010011110101\",\"001010110110\",\"100101010110\",\"101010101010\",\"101101010100\",\"101111010010\",\"010111011001\",\"001011101010\",\"100101101101\",\"010010101101\",\"101010010101\",\"101101001010\",\"101110100101\",\"010110110010\",\"100110110101\",\"010011010110\",\"101010010111\",\"010101000111\",\"011010010011\",\"011101001001\",\"101101010101\",\"010101101010\",\"101001101011\",\"010100101011\",\"101010001011\",\"110101000110\",\"110110100011\",\"010111001010\",\"101011010110\",\"010011011011\",\"001001101011\",\"100101001011\",\"101010100101\",\"101101010010\",\"101101101001\",\"010101110101\",\"000101110110\",\"100010110111\",\"001001011011\",\"010100101011\",\"010101100101\",\"010110110100\",\"100111011010\",\"010011101101\",\"000101101101\",\"100010110110\",\"101010100110\",\"110101010010\",\"110110101001\",\"010111010100\",\"101011011010\",\"100101011011\",\"010010101011\",\"011001010011\",\"011100101001\",\"011101100010\",\"101110101001\",\"010110110010\",\"101010110101\",\"010101010101\",\"101100100101\",\"110110010010\",\"111011001001\",\"011011010010\",\"101011101001\",\"010101101011\",\"010010101011\",\"101001010101\",\"110100101001\",\"110101010100\",\"110110101010\",\"100110110101\",\"010010111010\",\"101000111011\",\"010010011011\",\"101001001101\",\"101010101010\",\"101011010101\",\"001011011010\",\"100101011101\",\"010001011110\",\"101000101110\",\"110010011010\",\"110101010101\",\"011010110010\",\"011010111001\",\"010010111010\",\"101001011101\",\"010100101101\",\"101010010101\",\"101101010010\",\"101110101000\",\"101110110100\",\"010110111001\",\"001011011010\",\"100101011010\",\"101101001010\",\"110110100100\",\"111011010001\",\"011011101000\",\"101101101010\",\"010101101101\",\"010100110101\",\"011010010101\",\"110101001010\",\"110110101000\",\"110111010100\",\"011011011010\",\"010101011011\",\"001010011101\",\"011000101011\",\"101100010101\",\"101101001010\",\"101110010101\",\"010110101010\",\"101010101110\",\"100100101110\",\"110010001111\",\"010100100111\",\"011010010101\",\"011010101010\",\"101011010110\",\"010101011101\",\"001010011101\"],j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return x(e,t),e.prototype.fromGregorian=function(t){var e,n,r=1,i=(e=k,n=Math.abs(t.getTime()-e.getTime()),Math.round(n/864e5));if(!(t.getTime()-k.getTime()>=0&&t.getTime()-E.getTime()<=0))return C.fromGregorian(t);for(var o=1300,l=0;l<T.length;l++,o++)for(var u=0;u<12;u++){var a=+T[l][u]+29;if(i<=a)return(r=i+1)>a&&(r=1,u++),u>11&&(u=0,o++),new b.a(o,u+1,r);i-=a}},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,r=t.day,i=new Date(k),o=r-1;if(e>=1300&&e<=1600){for(var l=0;l<e-1300;l++)for(var u=0;u<12;u++)o+=+T[l][u]+29;for(u=0;u<n;u++)o+=+T[e-1300][u]+29;i.setDate(k.getDate()+o)}else i=C.toGregorian(t);return i},e.prototype.getDaysInIslamicMonth=function(t,e){return e>=1300&&e<=1600?\"1\"===T[e-1300].charAt(t-1)?30:29:C.getDaysInIslamicMonth(t,e)},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e=\"d\"),void 0===n&&(n=1),t=b.a.from(t),e){case\"y\":return(t=this.setYear(t,t.year+n)).month=1,t.day=1,t;case\"m\":return(t=this.setMonth(t,t.month+n)).day=1,t;case\"d\":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e=\"d\"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=t[(11-e)%7],r=this.toGregorian(n);r.setDate(r.getDate()+4-(r.getDay()||7));var i=r.getTime(),o=this.toGregorian(new b.a(n.year,1,1));return Math.floor(Math.round((i-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(g);n.d(e,\"a\",function(){return A}),n.d(e,!1,function(){return i.a}),n.d(e,!1,function(){return u.a}),n.d(e,!1,function(){return c.a}),n.d(e,!1,function(){return O}),n.d(e,!1,function(){return j}),n.d(e,!1,function(){return o.a}),n.d(e,!1,function(){return a.a}),n.d(e,!1,function(){return l.a}),n.d(e,!1,function(){return p.a}),n.d(e,!1,function(){return d.a}),n.d(e,!1,function(){return s.a}),n.d(e,!1,function(){return h.a}),n.d(e,!1,function(){return f.b});var A=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:c.a,useClass:c.b},{provide:s.a,useClass:s.b},{provide:f.b,useClass:f.a},{provide:h.a,useClass:h.b},d.a]}},t}()},r4tK:function(t,e,n){\"use strict\";e.a=function(t,e,n){return Object(r.a)(t,e,n)(this)};var r=n(\"0FoY\")},s28n:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"WT6e\"),i=function(){function t(t){this.close=new r.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t}()},sOR5:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return\"[object Array]\"==n.call(t)}},sgnN:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return a}),n.d(e,\"a\",function(){return s});var r=n(\"WT6e\"),i=n(\"aalB\"),o=n(\"jRSa\"),l=n(\"/PMa\"),u=(n(\"qKow\"),0),a=function(){function t(t,e){this._element=t,this._renderer=e,this.placement=\"top\"}return t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString().split(\"-\")[0]),this._renderer.removeClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString()),this.placement=t,this._renderer.addClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString().split(\"-\")[0]),this._renderer.addClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString())},t}(),s=function(){function t(t,e,n,i,s,c,f){var h=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbTooltipWindowId=\"ngb-tooltip-\"+u++,this.placement=c.placement,this.triggers=c.triggers,this.container=c.container,this.disableTooltip=c.disableTooltip,this._popupService=new l.b(a,n,s,e,i),this._zoneSubscription=f.onStable.subscribe(function(){h._windowRef&&h._windowRef.instance.applyPlacement(Object(o.a)(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,\"body\"===h.container))})}return Object.defineProperty(t.prototype,\"ngbTooltip\",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){this._windowRef||!this._ngbTooltip||this.disableTooltip||(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,\"aria-describedby\",this._ngbTooltipWindowId),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.instance.placement=Array.isArray(this.placement)?this.placement[0]:this.placement,this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._windowRef.instance.applyPlacement(Object(o.a)(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,\"body\"===this.container)),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,\"aria-describedby\"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Object(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}()},\"tyH+\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size=\"medium\"}},ujcs:function(t,e){e.read=function(t,e,n,r,i){var o,l,u=8*i-r-1,a=(1<<u)-1,s=a>>1,c=-7,f=n?i-1:0,h=n?-1:1,p=t[e+f];for(f+=h,o=p&(1<<-c)-1,p>>=-c,c+=u;c>0;o=256*o+t[e+f],f+=h,c-=8);for(l=o&(1<<-c)-1,o>>=-c,c+=r;c>0;l=256*l+t[e+f],f+=h,c-=8);if(0===o)o=1-s;else{if(o===a)return l?NaN:1/0*(p?-1:1);l+=Math.pow(2,r),o-=s}return(p?-1:1)*l*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var l,u,a,s=8*o-i-1,c=(1<<s)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,d=r?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,l=c):(l=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-l))<1&&(l--,a*=2),(e+=l+f>=1?h/a:h*Math.pow(2,1-f))*a>=2&&(l++,a/=2),l+f>=c?(u=0,l=c):l+f>=1?(u=(e*a-1)*Math.pow(2,i),l+=f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),l=0));i>=8;t[n+p]=255&u,p+=d,u/=256,i-=8);for(l=l<<i|u,s+=i;s>0;t[n+p]=255&l,p+=d,l/=256,s-=8);t[n+p-d]|=128*y}},v4DA:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.justify=\"start\",this.orientation=\"horizontal\",this.type=\"tabs\"}},vfkA:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r}),n(\"kgIC\");var r=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}()},xOmt:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"nxqe\"),o=function(){function t(t,e,n){this._elRef=e,this._renderer=n,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.EventEmitter,this._document=t}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(i.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(i.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=this._document.activeElement,this._renderer.addClass(this._document.body,\"modal-open\")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){var t,e=this._document.body,n=this._elWithFocus;(t=n&&n.focus&&e.contains(n)?n:e).focus.apply(t,[]),this._elWithFocus=null,this._renderer.removeClass(e,\"modal-open\")},t}()},yDyO:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"qKow\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"yPE/\":function(t,e,n){(function(e){var n;\"undefined\"!=typeof self&&self,n=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,\"a\",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=\"\",n(n.s=109)}([function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(17),i=n(18),o=n(19),l=n(45),u=n(46),a=n(47),s=n(48),c=n(49),f=n(12),h=n(32),p=n(33),d=n(31),y=n(1);e.default={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:s.default,Scroll:l.default,Block:a.default,Inline:u.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}}},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=function(t){function e(e){var n=this;return(n=t.call(this,e=\"[Parchment] \"+e)||this).message=e,n.name=n.constructor.name,n}return i(e,t),e}(Error);e.ParchmentError=o;var l,u={},a={},s={},c={};function f(t,e){var n;if(void 0===e&&(e=l.ANY),\"string\"==typeof t)n=c[t]||u[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=c.text;else if(\"number\"==typeof t)t&l.LEVEL&l.BLOCK?n=c.block:t&l.LEVEL&l.INLINE&&(n=c.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute(\"class\")||\"\").split(/\\s+/);for(var i in r)if(n=a[r[i]])break;n=n||s[t.tagName]}return null==n?null:e&l.LEVEL&n.scope&&e&l.TYPE&n.scope?n:null}e.DATA_KEY=\"__blot\",function(t){t[t.TYPE=3]=\"TYPE\",t[t.LEVEL=12]=\"LEVEL\",t[t.ATTRIBUTE=13]=\"ATTRIBUTE\",t[t.BLOT=14]=\"BLOT\",t[t.INLINE=7]=\"INLINE\",t[t.BLOCK=11]=\"BLOCK\",t[t.BLOCK_BLOT=10]=\"BLOCK_BLOT\",t[t.INLINE_BLOT=6]=\"INLINE_BLOT\",t[t.BLOCK_ATTRIBUTE=9]=\"BLOCK_ATTRIBUTE\",t[t.INLINE_ATTRIBUTE=5]=\"INLINE_ATTRIBUTE\",t[t.ANY=15]=\"ANY\"}(l=e.Scope||(e.Scope={})),e.create=function(t,e){var n=f(t);if(null==n)throw new o(\"Unable to create \"+t+\" blot\");return new n(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:n.create(e),e)},e.find=function t(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:r?t(n.parentNode,r):null},e.query=f,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map(function(e){return t(e)});var r=e[0];if(\"string\"!=typeof r.blotName&&\"string\"!=typeof r.attrName)throw new o(\"Invalid definition\");if(\"abstract\"===r.blotName)throw new o(\"Cannot register abstract class\");return c[r.blotName||r.attrName]=r,\"string\"==typeof r.keyName?u[r.keyName]=r:(null!=r.className&&(a[r.className]=r),null!=r.tagName&&(r.tagName=Array.isArray(r.tagName)?r.tagName.map(function(t){return t.toUpperCase()}):r.tagName.toUpperCase(),(Array.isArray(r.tagName)?r.tagName:[r.tagName]).forEach(function(t){null!=s[t]&&null!=r.className||(s[t]=r)}))),r}},function(t,e,n){var r=n(51),i=n(11),o=n(3),l=n(20),u=String.fromCharCode(0),a=function(t){this.ops=Array.isArray(t)?t:null!=t&&Array.isArray(t.ops)?t.ops:[]};a.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&\"object\"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},a.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},a.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&\"object\"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},a.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=o(!0,{},t),\"object\"==typeof n){if(\"number\"==typeof t.delete&&\"number\"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if(\"number\"==typeof n.delete&&null!=t.insert&&\"object\"!=typeof(n=this.ops[(e-=1)-1]))return this.ops.unshift(t),this;if(i(t.attributes,n.attributes)){if(\"string\"==typeof t.insert&&\"string\"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},\"object\"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if(\"number\"==typeof t.retain&&\"number\"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},\"object\"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},a.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},a.prototype.filter=function(t){return this.ops.filter(t)},a.prototype.forEach=function(t){this.ops.forEach(t)},a.prototype.map=function(t){return this.ops.map(t)},a.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},a.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},a.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+l.length(e):e.delete?t-e.delete:t},0)},a.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},a.prototype.slice=function(t,e){t=t||0,\"number\"!=typeof e&&(e=1/0);for(var n=[],r=l.iterator(this.ops),i=0;i<e&&r.hasNext();){var o;i<t?o=r.next(t-i):(o=r.next(e-i),n.push(o)),i+=l.length(o)}return new a(n)},a.prototype.compose=function(t){for(var e=l.iterator(this.ops),n=l.iterator(t.ops),r=new a;e.hasNext()||n.hasNext();)if(\"insert\"===n.peekType())r.push(n.next());else if(\"delete\"===e.peekType())r.push(e.next());else{var i=Math.min(e.peekLength(),n.peekLength()),o=e.next(i),u=n.next(i);if(\"number\"==typeof u.retain){var s={};\"number\"==typeof o.retain?s.retain=i:s.insert=o.insert;var c=l.attributes.compose(o.attributes,u.attributes,\"number\"==typeof o.retain);c&&(s.attributes=c),r.push(s)}else\"number\"==typeof u.delete&&\"number\"==typeof o.retain&&r.push(u)}return r.chop()},a.prototype.concat=function(t){var e=new a(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},a.prototype.diff=function(t,e){if(this.ops===t.ops)return new a;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return\"string\"==typeof n.insert?n.insert:u;throw new Error(\"diff() called \"+(e===t?\"on\":\"with\")+\" non-document\")}).join(\"\")}),o=new a,s=r(n[0],n[1],e),c=l.iterator(this.ops),f=l.iterator(t.ops);return s.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),o.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),o.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var u=c.next(n),a=f.next(n);i(u.insert,a.insert)?o.retain(n,l.attributes.diff(u.attributes,a.attributes)):o.push(a).delete(n)}e-=n}}),o.chop()},a.prototype.eachLine=function(t,e){e=e||\"\\n\";for(var n=l.iterator(this.ops),r=new a,i=0;n.hasNext();){if(\"insert\"!==n.peekType())return;var o=n.peek(),u=l.length(o)-n.peekLength(),s=\"string\"==typeof o.insert?o.insert.indexOf(e,u)-u:-1;if(s<0)r.push(n.next());else if(s>0)r.push(n.next(s));else{if(!1===t(r,n.next(1).attributes||{},i))return;i+=1,r=new a}}r.length()>0&&t(r,{},i)},a.prototype.transform=function(t,e){if(e=!!e,\"number\"==typeof t)return this.transformPosition(t,e);for(var n=l.iterator(this.ops),r=l.iterator(t.ops),i=new a;n.hasNext()||r.hasNext();)if(\"insert\"!==n.peekType()||!e&&\"insert\"===r.peekType())if(\"insert\"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),u=n.next(o),s=r.next(o);if(u.delete)continue;s.delete?i.push(s):i.retain(o,l.attributes.transform(u.attributes,s.attributes,e))}else i.retain(l.length(n.next()));return i.chop()},a.prototype.transformPosition=function(t,e){e=!!e;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var i=n.peekLength(),o=n.peekType();n.next(),\"delete\"!==o?(\"insert\"===o&&(r<t||!e)&&(t+=i),r+=i):t-=Math.min(i,t-r)}return t},t.exports=a},function(t,e){\"use strict\";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=function(t){return\"function\"==typeof Array.isArray?Array.isArray(t):\"[object Array]\"===r.call(t)},o=function(t){if(!t||\"[object Object]\"!==r.call(t))return!1;var e,i=n.call(t,\"constructor\"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,\"isPrototypeOf\");if(t.constructor&&!i&&!o)return!1;for(e in t);return\"undefined\"==typeof e||n.call(t,e)};t.exports=function t(){var e,n,r,l,u,a,s=arguments[0],c=1,f=arguments.length,h=!1;for(\"boolean\"==typeof s&&(h=s,s=arguments[1]||{},c=2),(null==s||\"object\"!=typeof s&&\"function\"!=typeof s)&&(s={});c<f;++c)if(null!=(e=arguments[c]))for(n in e)r=s[n],s!==(l=e[n])&&(h&&l&&(o(l)||(u=i(l)))?(u?(u=!1,a=r&&i(r)?r:[]):a=r&&o(r)?r:{},s[n]=t(h,a,l)):\"undefined\"!=typeof l&&(s[n]=l));return s}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},o=f(n(3)),l=f(n(2)),u=f(n(0)),a=f(n(16)),s=f(n(6)),c=f(n(7));function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function p(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function d(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,u.default.Embed),r(e,[{key:\"attach\",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"attach\",this).call(this),this.attributes=new u.default.Attributor.Store(this.domNode)}},{key:\"delta\",value:function(){return(new l.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:\"format\",value:function(t,e){var n=u.default.query(t,u.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:\"formatAt\",value:function(t,e,n,r){this.format(n,r)}},{key:\"insertAt\",value:function(t,n,r){if(\"string\"==typeof n&&n.endsWith(\"\\n\")){var o=u.default.create(v.blotName);this.parent.insertBefore(o,0===t?this:this.next),o.insertAt(0,n.slice(0,-1))}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,t,n,r)}}]),e}();y.scope=u.default.Scope.BLOCK_BLOT;var v=function(t){function e(t){h(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return d(e,u.default.Block),r(e,[{key:\"delta\",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(u.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),g(e))},new l.default).insert(\"\\n\",g(this))),this.cache.delta}},{key:\"deleteAt\",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"deleteAt\",this).call(this,t,n),this.cache={}}},{key:\"formatAt\",value:function(t,n,r,o){n<=0||(u.default.query(r,u.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,o):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"formatAt\",this).call(this,t,Math.min(n,this.length()-t-1),r,o),this.cache={})}},{key:\"insertAt\",value:function(t,n,r){if(null!=r)return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,t,n,r);if(0!==n.length){var o=n.split(\"\\n\"),l=o.shift();l.length>0&&(t<this.length()-1||null==this.children.tail?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,Math.min(t,this.length()-1),l):this.children.tail.insertAt(this.children.tail.length(),l),this.cache={});var u=this;o.reduce(function(t,e){return(u=u.split(t,!0)).insertAt(0,e),e.length},t+l.length)}}},{key:\"insertBefore\",value:function(t,n){var r=this.children.head;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertBefore\",this).call(this,t,n),r instanceof a.default&&r.remove(),this.cache={}}},{key:\"length\",value:function(){return null==this.cache.length&&(this.cache.length=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"length\",this).call(this)+1),this.cache.length}},{key:\"moveChildren\",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"moveChildren\",this).call(this,t,n),this.cache={}}},{key:\"optimize\",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t),this.cache={}}},{key:\"path\",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"path\",this).call(this,t,!0)}},{key:\"removeChild\",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"removeChild\",this).call(this,t),this.cache={}}},{key:\"split\",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"split\",this).call(this,t,n);return this.cache={},o}}]),e}();function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:(\"function\"==typeof t.formats&&(e=(0,o.default)(e,t.formats())),null==t.parent||\"scroll\"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:g(t.parent,e))}v.blotName=\"block\",v.tagName=\"P\",v.defaultChild=\"break\",v.allowedChildren=[s.default,u.default.Embed,c.default],e.bubbleFormats=g,e.BlockEmbed=y,e.default=v},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(50);var l=v(n(2)),u=v(n(14)),a=v(n(8)),s=v(n(9)),c=v(n(0)),f=n(15),h=v(f),p=v(n(3)),d=v(n(10)),y=v(n(34));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b=(0,d.default)(\"quill\"),m=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.options=_(e,r),this.container=this.options.container,null==this.container)return b.error(\"Invalid Quill container\",e);this.options.debug&&t.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add(\"ql-container\"),this.container.innerHTML=\"\",this.container.__quill=this,this.root=this.addContainer(\"ql-editor\"),this.root.classList.add(\"ql-blank\"),this.root.setAttribute(\"data-gramm\",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new a.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new h.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule(\"keyboard\"),this.clipboard=this.theme.addModule(\"clipboard\"),this.history=this.theme.addModule(\"history\"),this.theme.init(),this.emitter.on(a.default.events.EDITOR_CHANGE,function(t){t===a.default.events.TEXT_CHANGE&&n.root.classList.toggle(\"ql-blank\",n.editor.isBlank())}),this.emitter.on(a.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;w.call(n,function(){return n.editor.update(null,e,i)},t)});var o=this.clipboard.convert(\"<div class='ql-editor' style=\\\"white-space: normal;\\\">\"+i+\"<p><br></p></div>\");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute(\"data-placeholder\",this.options.placeholder),this.options.readOnly&&this.disable()}return o(t,null,[{key:\"debug\",value:function(t){!0===t&&(t=\"log\"),d.default.level(t)}},{key:\"find\",value:function(t){return t.__quill||c.default.find(t)}},{key:\"import\",value:function(t){return null==this.imports[t]&&b.error(\"Cannot import \"+t+\". Are you sure it was registered?\"),this.imports[t]}},{key:\"register\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(\"string\"!=typeof t){var i=t.attrName||t.blotName;\"string\"==typeof i?this.register(\"formats/\"+i,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||b.warn(\"Overwriting \"+t+\" with\",e),this.imports[t]=e,(t.startsWith(\"blots/\")||t.startsWith(\"formats/\"))&&\"abstract\"!==e.blotName?c.default.register(e):t.startsWith(\"modules\")&&\"function\"==typeof e.register&&e.register()}}]),o(t,[{key:\"addContainer\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(\"string\"==typeof t){var n=t;(t=document.createElement(\"div\")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:\"blur\",value:function(){this.selection.setRange(null)}},{key:\"deleteText\",value:function(t,e,n){var r=this,o=O(t,e,n),l=i(o,4);return w.call(this,function(){return r.editor.deleteText(t,e)},n=l[3],t=l[0],-1*(e=l[1]))}},{key:\"disable\",value:function(){this.enable(!1)}},{key:\"enable\",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle(\"ql-disabled\",!t)}},{key:\"focus\",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:\"format\",value:function(t,e){var n=this;return w.call(this,function(){var r=n.getSelection(!0),i=new l.default;if(null==r)return i;if(c.default.query(t,c.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,g({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,g({},t,e))}return n.setSelection(r,a.default.sources.SILENT),i},arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.sources.API)}},{key:\"formatLine\",value:function(t,e,n,r,o){var l,u=this,a=O(t,e,n,r,o),s=i(a,4);return e=s[1],l=s[2],w.call(this,function(){return u.editor.formatLine(t,e,l)},o=s[3],t=s[0],0)}},{key:\"formatText\",value:function(t,e,n,r,o){var l,u=this,a=O(t,e,n,r,o),s=i(a,4);return e=s[1],l=s[2],w.call(this,function(){return u.editor.formatText(t,e,l)},o=s[3],t=s[0],0)}},{key:\"getBounds\",value:function(t){var e;e=\"number\"==typeof t?this.selection.getBounds(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.selection.getBounds(t.index,t.length);var n=this.container.getBoundingClientRect();return{bottom:e.bottom-n.top,height:e.height,left:e.left-n.left,right:e.right-n.left,top:e.top-n.top,width:e.width}}},{key:\"getContents\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=O(t,e),r=i(n,2);return this.editor.getContents(t=r[0],e=r[1])}},{key:\"getFormat\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0);return\"number\"==typeof t?this.editor.getFormat(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.editor.getFormat(t.index,t.length)}},{key:\"getIndex\",value:function(t){return t.offset(this.scroll)}},{key:\"getLength\",value:function(){return this.scroll.length()}},{key:\"getLeaf\",value:function(t){return this.scroll.leaf(t)}},{key:\"getLine\",value:function(t){return this.scroll.line(t)}},{key:\"getLines\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return\"number\"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:\"getModule\",value:function(t){return this.theme.modules[t]}},{key:\"getSelection\",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:\"getText\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=O(t,e),r=i(n,2);return this.editor.getText(t=r[0],e=r[1])}},{key:\"hasFocus\",value:function(){return this.selection.hasFocus()}},{key:\"insertEmbed\",value:function(e,n,r){var i=this;return w.call(this,function(){return i.editor.insertEmbed(e,n,r)},arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API,e)}},{key:\"insertText\",value:function(t,e,n,r,o){var l,u=this,a=O(t,0,n,r,o),s=i(a,4);return l=s[2],w.call(this,function(){return u.editor.insertText(t,e,l)},o=s[3],t=s[0],e.length)}},{key:\"isEnabled\",value:function(){return!this.container.classList.contains(\"ql-disabled\")}},{key:\"off\",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:\"on\",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:\"once\",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:\"pasteHTML\",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:\"removeFormat\",value:function(t,e,n){var r=this,o=O(t,e,n),l=i(o,4);return e=l[1],w.call(this,function(){return r.editor.removeFormat(t,e)},n=l[3],t=l[0])}},{key:\"scrollIntoView\",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:\"setContents\",value:function(t){var e=this;return w.call(this,function(){t=new l.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),i=e.editor.applyDelta(t),o=i.ops[i.ops.length-1];return null!=o&&\"string\"==typeof o.insert&&\"\\n\"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),i.delete(1)),r.compose(i)},arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.sources.API)}},{key:\"setSelection\",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=O(e,n,r),l=i(o,4);r=l[3],this.selection.setRange(new f.Range(e=l[0],n=l[1]),r),r!==a.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:\"setText\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.sources.API,n=(new l.default).insert(t);return this.setContents(n,e)}},{key:\"update\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:\"updateContents\",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.sources.API;return w.call(this,function(){return t=new l.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();function _(t,e){if((e=(0,p.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==m.DEFAULTS.theme){if(e.theme=m.import(\"themes/\"+e.theme),null==e.theme)throw new Error(\"Invalid theme \"+e.theme+\". Did you register it?\")}else e.theme=y.default;var n=(0,p.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var r=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce(function(t,e){var n=m.import(\"modules/\"+e);return null==n?b.error(\"Cannot load \"+e+\" module. Are you sure you registered it?\"):t[e]=n.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,p.default)(!0,{},m.DEFAULTS,{modules:r},n,e),[\"bounds\",\"container\",\"scrollingContainer\"].forEach(function(t){\"string\"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t},{}),e}function w(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===a.default.sources.USER)return new l.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,u=t();if(null!=i&&(!0===n&&(n=i.index),null==r?i=x(i,u,e):0!==r&&(i=x(i,n,r,e)),this.setSelection(i,a.default.sources.SILENT)),u.length()>0){var s,c,f=[a.default.events.TEXT_CHANGE,u,o,e];(s=this.emitter).emit.apply(s,[a.default.events.EDITOR_CHANGE].concat(f)),e!==a.default.sources.SILENT&&(c=this.emitter).emit.apply(c,f)}return u}function O(t,e,n,i,o){var l={};return\"number\"==typeof t.index&&\"number\"==typeof t.length?\"number\"!=typeof e?(o=i,i=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):\"number\"!=typeof e&&(o=i,i=n,n=e,e=0),\"object\"===(\"undefined\"==typeof n?\"undefined\":r(n))?(l=n,o=i):\"string\"==typeof n&&(null!=i?l[n]=i:o=n),[t,e,l,o=o||a.default.sources.API]}function x(t,e,n,r){if(null==t)return null;var o=void 0,u=void 0;if(e instanceof l.default){var s=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==a.default.sources.USER)}),c=i(s,2);o=c[0],u=c[1]}else{var h=[t.index,t.index+t.length].map(function(t){return t<e||t===e&&r===a.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)}),p=i(h,2);o=p[0],u=p[1]}return new f.Range(o,u-o)}m.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:\"\",readOnly:!1,scrollingContainer:null,strict:!0,theme:\"default\"},m.events=a.default.events,m.sources=a.default.sources,m.version=\"1.3.6\",m.imports={delta:l.default,parchment:c.default,\"core/module\":s.default,\"core/theme\":y.default},e.expandConfig=_,e.overload=O,e.default=m},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},o=u(n(7)),l=u(n(0));function u(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Inline),r(e,[{key:\"formatAt\",value:function(t,n,r,o){if(e.compare(this.statics.blotName,r)<0&&l.default.query(r,l.default.Scope.BLOT)){var u=this.isolate(t,n);o&&u.wrap(r,o)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"formatAt\",this).call(this,t,n,r,o)}},{key:\"optimize\",value:function(t){if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:\"compare\",value:function(t,n){var r=e.order.indexOf(t),i=e.order.indexOf(n);return r>=0||i>=0?r-i:t===n?0:t<n?-1:1}}]),e}();a.allowedChildren=[a,l.default.Embed,o.default],a.order=[\"cursor\",\"inline\",\"underline\",\"strike\",\"italic\",\"bold\",\"script\",\"link\",\"code\"],e.default=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default.Text),e}();e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=o(n(54));function o(t){return t&&t.__esModule?t:{default:t}}var l=(0,o(n(10)).default)(\"quill:events\");[\"selectionchange\",\"mousedown\",\"mouseup\",\"click\"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(\".ql-container\")).forEach(function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)})})});var u=function(t){function e(){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var t=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on(\"error\",l.error),t}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),r(e,[{key:\"emit\",value:function(){l.log.apply(l,arguments),function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"emit\",this).apply(this,arguments)}},{key:\"handleDOM\",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach(function(e){var r=e.node,i=e.handler;(t.target===r||r.contains(t.target))&&i.apply(void 0,[t].concat(n))})}},{key:\"listenDOM\",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}();u.events={EDITOR_CHANGE:\"editor-change\",SCROLL_BEFORE_UPDATE:\"scroll-before-update\",SCROLL_OPTIMIZE:\"scroll-optimize\",SCROLL_UPDATE:\"scroll-update\",SELECTION_CHANGE:\"selection-change\",TEXT_CHANGE:\"text-change\"},u.sources={API:\"api\",SILENT:\"silent\",USER:\"user\"},e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=[\"error\",\"warn\",\"log\",\"info\"],i=\"warn\";function o(t){if(r.indexOf(t)<=r.indexOf(i)){for(var e,n=arguments.length,o=Array(n>1?n-1:0),l=1;l<n;l++)o[l-1]=arguments[l];(e=console)[t].apply(e,o)}}function l(t){return r.reduce(function(e,n){return e[n]=o.bind(console,n,t),e},{})}o.level=l.level=function(t){i=t},e.default=l},function(t,e,n){var r=Array.prototype.slice,i=n(52),o=n(53),l=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||\"object\"!=typeof t&&\"object\"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var s,c;if(u(t)||u(e))return!1;if(t.prototype!==e.prototype)return!1;if(o(t))return!!o(e)&&(t=r.call(t),e=r.call(e),l(t,e,n));if(a(t)){if(!a(e))return!1;if(t.length!==e.length)return!1;for(s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}try{var f=i(t),h=i(e)}catch(t){return!1}if(f.length!=h.length)return!1;for(f.sort(),h.sort(),s=f.length-1;s>=0;s--)if(f[s]!=h[s])return!1;for(s=f.length-1;s>=0;s--)if(!l(t[c=f[s]],e[c],n))return!1;return typeof t==typeof e}(t,e,n))};function u(t){return null===t||void 0===t}function a(t){return!(!t||\"object\"!=typeof t||\"number\"!=typeof t.length||\"function\"!=typeof t.copy||\"function\"!=typeof t.slice||t.length>0&&\"number\"!=typeof t[0])}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(1);e.default=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e,this.scope=null!=n.scope?n.scope&r.Scope.LEVEL|r.Scope.TYPE&r.Scope.ATTRIBUTE:r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||(\"string\"==typeof e?this.whitelist.indexOf(e.replace(/[\"']/g,\"\"))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:\"\"},t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.Code=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=f(n(2)),u=f(n(0)),a=f(n(4)),s=f(n(6)),c=f(n(7));function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function p(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function d(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,s.default),e}();y.blotName=\"code\",y.tagName=\"CODE\";var v=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,a.default),i(e,[{key:\"delta\",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith(\"\\n\")&&(e=e.slice(0,-1)),e.split(\"\\n\").reduce(function(e,n){return e.insert(n).insert(\"\\n\",t.formats())},new l.default)}},{key:\"format\",value:function(t,n){if(t!==this.statics.blotName||!n){var i=this.descendant(c.default,this.length()-1),l=r(i,1)[0];null!=l&&l.deleteAt(l.length()-1,1),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n)}}},{key:\"formatAt\",value:function(t,n,r,i){if(0!==n&&null!=u.default.query(r,u.default.Scope.BLOCK)&&(r!==this.statics.blotName||i!==this.statics.formats(this.domNode))){var o=this.newlineIndex(t);if(!(o<0||o>=t+n)){var l=this.newlineIndex(t,!0)+1,a=o-l+1,s=this.isolate(l,a),c=s.next;s.format(r,i),c instanceof e&&c.formatAt(0,t-l+n-a,r,i)}}}},{key:\"insertAt\",value:function(t,e,n){if(null==n){var i=this.descendant(c.default,t),o=r(i,2);o[0].insertAt(o[1],e)}}},{key:\"length\",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith(\"\\n\")?t:t+1}},{key:\"newlineIndex\",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf(\"\\n\");var e=this.domNode.textContent.slice(t).indexOf(\"\\n\");return e>-1?t+e:-1}},{key:\"optimize\",value:function(t){this.domNode.textContent.endsWith(\"\\n\")||this.appendChild(u.default.create(\"text\",\"\\n\")),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:\"replace\",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replace\",this).call(this,t),[].slice.call(this.domNode.querySelectorAll(\"*\")).forEach(function(t){var e=u.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof u.default.Embed?e.remove():e.unwrap()})}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return n.setAttribute(\"spellcheck\",!1),n}},{key:\"formats\",value:function(){return!0}}]),e}();v.blotName=\"code-block\",v.tagName=\"PRE\",v.TAB=\"  \",e.Code=y,e.default=v},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=g(n(2)),u=g(n(20)),a=g(n(0)),s=g(n(13)),c=g(n(24)),f=n(4),h=g(f),p=g(n(16)),d=g(n(21)),y=g(n(11)),v=g(n(3));function g(t){return t&&t.__esModule?t:{default:t}}var b=/^[ -~]*\$/;function m(t,e){return Object.keys(e).reduce(function(n,r){return null==t[r]?n:(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]],n)},{})}e.default=function(){function t(e){!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.scroll=e,this.delta=this.getDelta()}return o(t,[{key:\"applyDelta\",value:function(t){var e=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce(function(t,e){if(1===e.insert){var n=(0,d.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,d.default)(e)).attributes.list?e.attributes.list=\"ordered\":(e.attributes.list=\"bullet\",delete e.attributes.bullet)),\"string\"==typeof e.insert){var r=e.insert.replace(/\\r\\n/g,\"\\n\").replace(/\\r/g,\"\\n\");return t.insert(r,e.attributes)}return t.push(e)},new l.default)}(t)).reduce(function(t,l){var s=l.retain||l.delete||l.insert.length||1,c=l.attributes||{};if(null!=l.insert){if(\"string\"==typeof l.insert){var p=l.insert;p.endsWith(\"\\n\")&&n&&(n=!1,p=p.slice(0,-1)),t>=o&&!p.endsWith(\"\\n\")&&(n=!0),e.scroll.insertAt(t,p);var d=e.scroll.line(t),y=i(d,2),g=y[0],b=y[1],m=(0,v.default)({},(0,f.bubbleFormats)(g));if(g instanceof h.default){var _=g.descendant(a.default.Leaf,b),w=i(_,1);m=(0,v.default)(m,(0,f.bubbleFormats)(w[0]))}c=u.default.attributes.diff(m,c)||{}}else if(\"object\"===r(l.insert)){var O=Object.keys(l.insert)[0];if(null==O)return t;e.scroll.insertAt(t,O,l.insert[O])}o+=s}return Object.keys(c).forEach(function(n){e.scroll.formatAt(t,s,n,c[n])}),t+s},0),t.reduce(function(t,n){return\"number\"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:\"deleteText\",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new l.default).retain(t).delete(e))}},{key:\"formatLine\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(t,Math.max(e,1)),l=e;o.forEach(function(e){var o=e.length();if(e instanceof s.default){var u=t-e.offset(n.scroll),a=e.newlineIndex(u+l)-u+1;e.formatAt(u,a,i,r[i])}else e.format(i,r[i]);l-=o})}}),this.scroll.optimize(),this.update((new l.default).retain(t).retain(e,(0,d.default)(r)))}},{key:\"formatText\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(i){n.scroll.formatAt(t,e,i,r[i])}),this.update((new l.default).retain(t).retain(e,(0,d.default)(r)))}},{key:\"getContents\",value:function(t,e){return this.delta.slice(t,t+e)}},{key:\"getDelta\",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new l.default)}},{key:\"getFormat\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=i(t,1)[0];e instanceof h.default?n.push(e):e instanceof a.default.Leaf&&r.push(e)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(a.default.Leaf,t,e));var o=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,f.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=m((0,f.bubbleFormats)(n),e)}return e});return v.default.apply(v.default,o)}},{key:\"getText\",value:function(t,e){return this.getContents(t,e).filter(function(t){return\"string\"==typeof t.insert}).map(function(t){return t.insert}).join(\"\")}},{key:\"insertEmbed\",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new l.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:\"insertText\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\\r\\n/g,\"\\n\").replace(/\\r/g,\"\\n\"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(i){n.scroll.formatAt(t,e.length,i,r[i])}),this.update((new l.default).retain(t).insert(e,(0,d.default)(r)))}},{key:\"isBlank\",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===h.default.blotName&&!(t.children.length>1)&&t.children.head instanceof p.default}},{key:\"removeFormat\",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=i(r,2),u=o[0],a=o[1],c=0,f=new l.default;null!=u&&(c=u instanceof s.default?u.newlineIndex(a)-a+1:u.length()-a,f=u.delta().slice(a,a+c-1).insert(\"\\n\"));var h=this.getContents(t,e+c).diff((new l.default).insert(n).concat(f)),p=(new l.default).retain(t).concat(h);return this.applyDelta(p)}},{key:\"update\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&\"characterData\"===e[0].type&&e[0].target.data.match(b)&&a.default.find(e[0].target)){var i=a.default.find(e[0].target),o=(0,f.bubbleFormats)(i),u=i.offset(this.scroll),s=e[0].oldValue.replace(c.default.CONTENTS,\"\"),h=(new l.default).insert(s),p=(new l.default).insert(i.value());t=(new l.default).retain(u).concat(h.diff(p,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)},new l.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,y.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.Range=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=s(n(0)),l=s(n(21)),u=s(n(11)),a=s(n(8));function s(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function f(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}var h=(0,s(n(10)).default)(\"quill:selection\"),p=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;f(this,t),this.index=e,this.length=n},d=function(){function t(e,n){var r=this;f(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create(\"cursor\",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM(\"selectionchange\",document,function(){r.mouseDown||setTimeout(r.update.bind(r,a.default.sources.USER),1)}),this.emitter.on(a.default.events.EDITOR_CHANGE,function(t,e){t===a.default.events.TEXT_CHANGE&&e.length()>0&&r.update(a.default.sources.SILENT)}),this.emitter.on(a.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(a.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(a.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range;r.setNativeRange(n.startNode,n.startOffset,n.endNode,n.endOffset)}}),this.update(a.default.sources.SILENT)}return i(t,[{key:\"handleComposition\",value:function(){var t=this;this.root.addEventListener(\"compositionstart\",function(){t.composing=!0}),this.root.addEventListener(\"compositionend\",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:\"handleDragging\",value:function(){var t=this;this.emitter.listenDOM(\"mousedown\",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM(\"mouseup\",document.body,function(){t.mouseDown=!1,t.update(a.default.sources.USER)})}},{key:\"focus\",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:\"format\",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=o.default.find(n.start.node,!1);if(null==r)return;if(r instanceof o.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:\"getBounds\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var i=void 0,o=this.scroll.leaf(t),l=r(o,2),u=l[0],a=l[1];if(null==u)return null;var s=u.position(a,!0),c=r(s,2);i=c[0],a=c[1];var f=document.createRange();if(e>0){f.setStart(i,a);var h=this.scroll.leaf(t+e),p=r(h,2);if(a=p[1],null==(u=p[0]))return null;var d=u.position(a,!0),y=r(d,2);return f.setEnd(i=y[0],a=y[1]),f.getBoundingClientRect()}var v=\"left\",g=void 0;return i instanceof Text?(a<i.data.length?(f.setStart(i,a),f.setEnd(i,a+1)):(f.setStart(i,a-1),f.setEnd(i,a),v=\"right\"),g=f.getBoundingClientRect()):(g=u.domNode.getBoundingClientRect(),a>0&&(v=\"right\")),{bottom:g.top+g.height,height:g.height,left:g[v],right:g[v],top:g.top,width:0}}},{key:\"getNativeRange\",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return h.info(\"getNativeRange\",n),n}},{key:\"getRange\",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:\"hasFocus\",value:function(){return document.activeElement===this.root}},{key:\"normalizedToRange\",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var i=n.map(function(t){var n=r(t,2),i=n[0],l=n[1],u=o.default.find(i,!0),a=u.offset(e.scroll);return 0===l?a:u instanceof o.default.Container?a+u.length():a+u.index(i,l)}),l=Math.min(Math.max.apply(Math,c(i)),this.scroll.length()-1),u=Math.min.apply(Math,[l].concat(c(i)));return new p(u,l-u)}},{key:\"normalizeNative\",value:function(t){if(!y(this.root,t.startContainer)||!t.collapsed&&!y(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:\"rangeToNative\",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],i=[],o=this.scroll.length();return n.forEach(function(t,n){t=Math.min(o-1,t);var l=e.scroll.leaf(t),u=r(l,2),a=u[1],s=u[0].position(a,0!==n),c=r(s,2);i.push(c[0],a=c[1])}),i.length<2&&(i=i.concat(i)),i}},{key:\"scrollIntoView\",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,i)),l=r(o,1)[0],u=l;if(e.length>0){var a=this.scroll.line(Math.min(e.index+e.length,i));u=r(a,1)[0]}if(null!=l&&null!=u){var s=t.getBoundingClientRect();n.top<s.top?t.scrollTop-=s.top-n.top:n.bottom>s.bottom&&(t.scrollTop+=n.bottom-s.bottom)}}}}},{key:\"setNativeRange\",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(h.info(\"setNativeRange\",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||i||t!==l.startContainer||e!==l.startOffset||n!==l.endContainer||r!==l.endOffset){\"BR\"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),\"BR\"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var u=document.createRange();u.setStart(t,e),u.setEnd(n,r),o.removeAllRanges(),o.addRange(u)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:\"setRange\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.sources.API;if(\"string\"==typeof e&&(n=e,e=!1),h.info(\"setRange\",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,c(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:\"update\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default.sources.USER,e=this.lastRange,n=this.getRange(),i=r(n,2),o=i[1];if(this.lastRange=i[0],null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(e,this.lastRange)){var s;!this.composing&&null!=o&&o.native.collapsed&&o.start.node!==this.cursor.textNode&&this.cursor.restore();var c,f=[a.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(e),t];(s=this.emitter).emit.apply(s,[a.default.events.EDITOR_CHANGE].concat(f)),t!==a.default.sources.SILENT&&(c=this.emitter).emit.apply(c,f)}}}]),t}();function y(t,e){return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=p,e.default=d},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(0))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Embed),i(e,[{key:\"insertInto\",value:function(t,n){0===t.children.length?function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertInto\",this).call(this,t,n):this.remove()}},{key:\"length\",value:function(){return 0}},{key:\"value\",value:function(){return\"\"}}],[{key:\"value\",value:function(){}}]),e}();l.blotName=\"break\",l.tagName=\"BR\",e.default=l},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(44),l=n(30),u=n(1);function a(t){var e=u.find(t);if(null==e)try{e=u.create(t)}catch(n){e=u.create(u.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return i(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=a(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof u.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),i=r[0],o=r[1];return null==t.blotName&&t(i)||null!=t.blotName&&i instanceof t?[i,o]:i instanceof e?i.descendant(t,o):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var i=[],o=r;return this.children.forEachAt(n,r,function(n,r,l){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&i.push(n),n instanceof e&&(i=i.concat(n.descendants(t,r,o))),o-=l}),i},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,i){t.formatAt(e,i,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),i=r[0];if(i)i.insertAt(r[1],e,n);else{var o=null==n?u.create(\"text\",e):u.create(e,n);this.appendChild(o)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new u.ParchmentError(\"Cannot insert \"+t.statics.blotName+\" into \"+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=u.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),i=r[0],o=r[1],l=[[this,t]];return i instanceof e?l.concat(i.path(o,n)):(null!=i&&l.push([i,o]),l)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,i){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,r=[],i=[];t.forEach(function(t){t.target===n.domNode&&\"childList\"===t.type&&(r.push.apply(r,t.addedNodes),i.push.apply(i,t.removedNodes))}),i.forEach(function(t){if(!(null!=t.parentNode&&\"IFRAME\"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=u.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),r.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=u.find(t.nextSibling));var r=a(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,e||void 0))})},e}(l.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(12),l=n(31),u=n(17),a=n(1);e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new l.default(n.domNode),n}return i(e,t),e.formats=function(t){return\"string\"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=a.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&\"attributes\"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var i=t.prototype.wrap.call(this,n,r);return i instanceof e&&i.statics.scope===this.statics.scope&&this.attributes.move(i),i},e}(u.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(30),l=n(1);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t;var t},e.scope=l.Scope.INLINE_BLOT,e}(o.default)},function(t,e,n){var r=n(11),i=n(3),o={attributes:{compose:function(t,e,n){\"object\"!=typeof t&&(t={}),\"object\"!=typeof e&&(e={});var r=i(!0,{},e);for(var o in n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{})),t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){\"object\"!=typeof t&&(t={}),\"object\"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,i){return r(t[i],e[i])||(n[i]=void 0===e[i]?null:e[i]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if(\"object\"!=typeof t)return e;if(\"object\"==typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new l(t)},length:function(t){return\"number\"==typeof t.delete?t.delete:\"number\"==typeof t.retain?t.retain:\"string\"==typeof t.insert?t.insert.length:1}};function l(t){this.ops=t,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=o.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,\"number\"==typeof e.delete)return{delete:t};var i={};return e.attributes&&(i.attributes=e.attributes),\"number\"==typeof e.retain?i.retain=t:i.insert=\"string\"==typeof e.insert?e.insert.substr(n,t):e.insert,i}return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},l.prototype.peekType=function(){return this.ops[this.index]?\"number\"==typeof this.ops[this.index].delete?\"delete\":\"number\"==typeof this.ops[this.index].retain?\"retain\":\"insert\":\"retain\"},t.exports=o},function(t,n){var r=function(){\"use strict\";function t(t,e){return null!=e&&t instanceof e}var n,r,i;try{n=Map}catch(t){n=function(){}}try{r=Set}catch(t){r=function(){}}try{i=Promise}catch(t){i=function(){}}function o(l,a,s,c,f){\"object\"==typeof a&&(s=a.depth,c=a.prototype,f=a.includeNonEnumerable,a=a.circular);var h=[],p=[],d=\"undefined\"!=typeof e;return\"undefined\"==typeof a&&(a=!0),\"undefined\"==typeof s&&(s=1/0),function l(s,y){if(null===s)return null;if(0===y)return s;var v,g;if(\"object\"!=typeof s)return s;if(t(s,n))v=new n;else if(t(s,r))v=new r;else if(t(s,i))v=new i(function(t,e){s.then(function(e){t(l(e,y-1))},function(t){e(l(t,y-1))})});else if(o.__isArray(s))v=[];else if(o.__isRegExp(s))v=new RegExp(s.source,u(s)),s.lastIndex&&(v.lastIndex=s.lastIndex);else if(o.__isDate(s))v=new Date(s.getTime());else{if(d&&e.isBuffer(s))return v=new e(s.length),s.copy(v),v;t(s,Error)?v=Object.create(s):\"undefined\"==typeof c?(g=Object.getPrototypeOf(s),v=Object.create(g)):(v=Object.create(c),g=c)}if(a){var b=h.indexOf(s);if(-1!=b)return p[b];h.push(s),p.push(v)}for(var m in t(s,n)&&s.forEach(function(t,e){var n=l(e,y-1),r=l(t,y-1);v.set(n,r)}),t(s,r)&&s.forEach(function(t){var e=l(t,y-1);v.add(e)}),s){var _;g&&(_=Object.getOwnPropertyDescriptor(g,m)),_&&null==_.set||(v[m]=l(s[m],y-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(m=0;m<w.length;m++){var O=w[m];(!(k=Object.getOwnPropertyDescriptor(s,O))||k.enumerable||f)&&(v[O]=l(s[O],y-1),k.enumerable||Object.defineProperty(v,O,{enumerable:!1}))}}if(f){var x=Object.getOwnPropertyNames(s);for(m=0;m<x.length;m++){var k,E=x[m];(k=Object.getOwnPropertyDescriptor(s,E))&&k.enumerable||(v[E]=l(s[E],y-1),Object.defineProperty(v,E,{enumerable:!1}))}}return v}(l,s)}function l(t){return Object.prototype.toString.call(t)}function u(t){var e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),e}return o.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},o.__objToStr=l,o.__isDate=function(t){return\"object\"==typeof t&&\"[object Date]\"===l(t)},o.__isArray=function(t){return\"object\"==typeof t&&\"[object Array]\"===l(t)},o.__isRegExp=function(t){return\"object\"==typeof t&&\"[object RegExp]\"===l(t)},o.__getRegExpFlags=u,o}();\"object\"==typeof t&&t.exports&&(t.exports=r)},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=p(n(0)),u=p(n(8)),a=n(4),s=p(a),c=p(n(16)),f=p(n(13)),h=p(n(25));function p(t){return t&&t.__esModule?t:{default:t}}function d(t){return t instanceof s.default||t instanceof a.BlockEmbed}var y=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),r.domNode.addEventListener(\"DOMNodeInserted\",function(){}),r.optimize(),r.enable(),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Scroll),i(e,[{key:\"batchStart\",value:function(){this.batch=!0}},{key:\"batchEnd\",value:function(){this.batch=!1,this.optimize()}},{key:\"deleteAt\",value:function(t,n){var i=this.line(t),l=r(i,2),u=l[0],s=l[1],h=this.line(t+n),p=r(h,1)[0];if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"deleteAt\",this).call(this,t,n),null!=p&&u!==p&&s>0){if(u instanceof a.BlockEmbed||p instanceof a.BlockEmbed)return void this.optimize();if(u instanceof f.default){var d=u.newlineIndex(u.length(),!0);if(d>-1&&(u=u.split(d+1))===p)return void this.optimize()}else if(p instanceof f.default){var y=p.newlineIndex(0);y>-1&&p.split(y+1)}u.moveChildren(p,p.children.head instanceof c.default?null:p.children.head),u.remove()}this.optimize()}},{key:\"enable\",value:function(){this.domNode.setAttribute(\"contenteditable\",!(arguments.length>0&&void 0!==arguments[0])||arguments[0])}},{key:\"formatAt\",value:function(t,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"formatAt\",this).call(this,t,n,r,i),this.optimize())}},{key:\"insertAt\",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==l.default.query(n,l.default.Scope.BLOCK)){var i=l.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith(\"\\n\")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var u=l.default.create(n,r);this.appendChild(u)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,t,n,r);this.optimize()}}},{key:\"insertBefore\",value:function(t,n){if(t.statics.scope===l.default.Scope.INLINE_BLOT){var r=l.default.create(this.statics.defaultChild);r.appendChild(t),t=r}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertBefore\",this).call(this,t,n)}},{key:\"leaf\",value:function(t){return this.path(t).pop()||[null,-1]}},{key:\"line\",value:function(t){return t===this.length()?this.line(t-1):this.descendant(d,t)}},{key:\"lines\",value:function(){return function t(e,n,r){var i=[],o=r;return e.children.forEachAt(n,r,function(e,n,r){d(e)?i.push(e):e instanceof l.default.Container&&(i=i.concat(t(e,n,o))),o-=r}),i}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:\"optimize\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t,n),t.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,t,n))}},{key:\"path\",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"path\",this).call(this,t).slice(1)}},{key:\"update\",value:function(t){if(!0!==this.batch){var n=u.default.sources.USER;\"string\"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,n,t),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"update\",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,n,t)}}}]),e}();y.blotName=\"scroll\",y.className=\"ql-editor\",y.tagName=\"DIV\",y.defaultChild=\"block\",y.allowedChildren=[s.default,a.BlockEmbed,h.default],e.default=y},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SHORTKEY=e.default=void 0;var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=y(n(21)),u=y(n(11)),a=y(n(3)),s=y(n(2)),c=y(n(20)),f=y(n(0)),h=y(n(5)),p=y(n(10)),d=y(n(9));function y(t){return t&&t.__esModule?t:{default:t}}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var g=(0,p.default)(\"quill:keyboard\"),b=/Mac/i.test(navigator.platform)?\"metaKey\":\"ctrlKey\",m=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach(function(e){(\"list autofill\"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])}),r.addBinding({key:e.keys.ENTER,shiftKey:null},k),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0},O)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?\$/},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?\$/},O)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},x),r.addBinding({key:e.keys.DELETE},{collapsed:!1},x),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),r.listen(),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,d.default),o(e,null,[{key:\"match\",value:function(t,e){return e=T(e),![\"altKey\",\"ctrlKey\",\"metaKey\",\"shiftKey\"].some(function(n){return!!e[n]!==t[n]&&null!==e[n]})&&e.key===(t.which||t.keyCode)}}]),o(e,[{key:\"addBinding\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=T(t);if(null==r||null==r.key)return g.warn(\"Attempted to add invalid keyboard binding\",r);\"function\"==typeof e&&(e={handler:e}),\"function\"==typeof n&&(n={handler:n}),r=(0,a.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:\"listen\",value:function(){var t=this;this.quill.root.addEventListener(\"keydown\",function(n){if(!n.defaultPrevented){var o=(t.bindings[n.which||n.keyCode]||[]).filter(function(t){return e.match(n,t)});if(0!==o.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var a=t.quill.getLine(l.index),s=i(a,2),c=s[0],h=s[1],p=t.quill.getLeaf(l.index),d=i(p,2),y=d[0],v=d[1],g=0===l.length?[y,v]:t.quill.getLeaf(l.index+l.length),b=i(g,2),m=b[0],_=b[1],w=y instanceof f.default.Text?y.value().slice(0,v):\"\",O=m instanceof f.default.Text?m.value().slice(_):\"\",x={collapsed:0===l.length,empty:0===l.length&&c.length()<=1,format:t.quill.getFormat(l),offset:h,prefix:w,suffix:O};o.some(function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==x.format[t]}))return!1}else if(\"object\"===r(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,u.default)(e.format[t],x.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix)||null!=e.suffix&&!e.suffix.test(x.suffix)||!0===e.handler.call(t,l,x))})&&n.preventDefault()}}}})}}]),e}();function _(t,e){var n;return v(n={key:t,shiftKey:e,altKey:null},t===m.keys.LEFT?\"prefix\":\"suffix\",/^\$/),v(n,\"handler\",function(n){var r=n.index;t===m.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r);return!(i(o,1)[0]instanceof f.default.Embed&&(t===m.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index-1,h.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index+n.length+1,h.default.sources.USER),1))}),n}function w(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=i(n,1)[0],o={};if(0===e.offset){var l=this.quill.getLine(t.index-1),u=i(l,1)[0];if(null!=u&&u.length()>1){var a=r.formats(),s=this.quill.getFormat(t.index-1,1);o=c.default.attributes.diff(a,s)||{}}}var f=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]\$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,h.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index-f,f,o,h.default.sources.USER),this.quill.focus()}}function O(t,e){var n=/^[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,l=this.quill.getLine(t.index),u=i(l,1)[0];if(e.offset>=u.length()-1){var a=this.quill.getLine(t.index+1),s=i(a,1)[0];if(s){var f=u.formats(),p=this.quill.getFormat(t.index,1);r=c.default.attributes.diff(f,p)||{},o=s.length()}}this.quill.deleteText(t.index,n,h.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,h.default.sources.USER)}}function x(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),i=e[e.length-1].formats();n=c.default.attributes.diff(i,r)||{}}this.quill.deleteText(t,h.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,h.default.sources.USER),this.quill.setSelection(t.index,h.default.sources.SILENT),this.quill.focus()}function k(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return f.default.query(n,f.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,\"\\n\",r,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||\"link\"!==t&&n.quill.format(t,e.format[t],h.default.sources.USER))})}function E(t){return{key:m.keys.TAB,shiftKey:!t,format:{\"code-block\":!0},handler:function(e){var n=f.default.query(\"code-block\"),r=e.index,o=e.length,l=this.quill.scroll.descendant(n,r),u=i(l,2),a=u[0],s=u[1];if(null!=a){var c=this.quill.getIndex(a),p=a.newlineIndex(s,!0)+1,d=a.newlineIndex(c+s+o),y=a.domNode.textContent.slice(p,d).split(\"\\n\");s=0,y.forEach(function(e,i){t?(a.insertAt(p+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(a.deleteAt(p+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=e.length+1}),this.quill.update(h.default.sources.USER),this.quill.setSelection(r,o,h.default.sources.SILENT)}}}}function C(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],h.default.sources.USER)}}}function T(t){if(\"string\"==typeof t||\"number\"==typeof t)return T({key:t});if(\"object\"===(\"undefined\"==typeof t?\"undefined\":r(t))&&(t=(0,l.default)(t,!1)),\"string\"==typeof t.key)if(null!=m.keys[t.key.toUpperCase()])t.key=m.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[b]=t.shortKey,delete t.shortKey),t}m.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},m.DEFAULTS={bindings:{bold:C(\"bold\"),italic:C(\"italic\"),underline:C(\"underline\"),indent:{key:m.keys.TAB,format:[\"blockquote\",\"indent\",\"list\"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format(\"indent\",\"+1\",h.default.sources.USER)}},outdent:{key:m.keys.TAB,shiftKey:!0,format:[\"blockquote\",\"indent\",\"list\"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format(\"indent\",\"-1\",h.default.sources.USER)}},\"outdent backspace\":{key:m.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:[\"indent\",\"list\"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format(\"indent\",\"-1\",h.default.sources.USER):null!=e.format.list&&this.quill.format(\"list\",!1,h.default.sources.USER)}},\"indent code-block\":E(!0),\"outdent code-block\":E(!1),\"remove tab\":{key:m.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\\t\$/,handler:function(t){this.quill.deleteText(t.index-1,1,h.default.sources.USER)}},tab:{key:m.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new s.default).retain(t.index).delete(t.length).insert(\"\\t\");this.quill.updateContents(e,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,h.default.sources.SILENT)}},\"list empty enter\":{key:m.keys.ENTER,collapsed:!0,format:[\"list\"],empty:!0,handler:function(t,e){this.quill.format(\"list\",!1,h.default.sources.USER),e.format.indent&&this.quill.format(\"indent\",!1,h.default.sources.USER)}},\"checklist enter\":{key:m.keys.ENTER,collapsed:!0,format:{list:\"checked\"},handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],l=(0,a.default)({},r.formats(),{list:\"checked\"}),u=(new s.default).retain(t.index).insert(\"\\n\",l).retain(r.length()-o-1).retain(1,{list:\"unchecked\"});this.quill.updateContents(u,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},\"header enter\":{key:m.keys.ENTER,collapsed:!0,format:[\"header\"],suffix:/^\$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=i(n,2),o=r[0],l=r[1],u=(new s.default).retain(t.index).insert(\"\\n\",e.format).retain(o.length()-l-1).retain(1,{header:null});this.quill.updateContents(u,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},\"list autofill\":{key:\" \",collapsed:!0,format:{list:!1},prefix:/^\\s*?(\\d+\\.|-|\\*|\\[ ?\\]|\\[x\\])\$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=i(r,2),l=o[0],u=o[1];if(u>n)return!0;var a=void 0;switch(e.prefix.trim()){case\"[]\":case\"[ ]\":a=\"unchecked\";break;case\"[x]\":a=\"checked\";break;case\"-\":case\"*\":a=\"bullet\";break;default:a=\"ordered\"}this.quill.insertText(t.index,\" \",h.default.sources.USER),this.quill.history.cutoff();var c=(new s.default).retain(t.index-u).delete(n+1).retain(l.length()-2-u).retain(1,{list:a});this.quill.updateContents(c,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,h.default.sources.SILENT)}},\"code exit\":{key:m.keys.ENTER,collapsed:!0,format:[\"code-block\"],prefix:/\\n\\n\$/,suffix:/^\\s+\$/,handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],l=(new s.default).retain(t.index+r.length()-o-2).retain(1,{\"code-block\":null}).delete(1);this.quill.updateContents(l,h.default.sources.USER)}},\"embed left\":_(m.keys.LEFT,!1),\"embed left shift\":_(m.keys.LEFT,!0),\"embed right\":_(m.keys.RIGHT,!1),\"embed right shift\":_(m.keys.RIGHT,!0)}},e.default=m,e.SHORTKEY=b},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=u(n(0)),l=u(n(7));function u(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Embed),i(e,null,[{key:\"value\",value:function(){}}]),i(e,[{key:\"detach\",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:\"format\",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n);for(var i=this,l=0;null!=i&&i.statics.scope!==o.default.Scope.BLOCK_BLOT;)l+=i.offset(i.parent),i=i.parent;null!=i&&(this._length=e.CONTENTS.length,i.optimize(),i.formatAt(l,e.CONTENTS.length,t,n),this._length=0)}},{key:\"index\",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"index\",this).call(this,t,n)}},{key:\"length\",value:function(){return this._length}},{key:\"position\",value:function(){return[this.textNode,this.textNode.data.length]}},{key:\"remove\",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"remove\",this).call(this),this.parent=null}},{key:\"restore\",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,i=void 0,u=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var a=[t,n.start.offset,n.end.offset];r=a[0],i=a[1],u=a[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var s=this.textNode.data.split(e.CONTENTS).join(\"\");this.next instanceof l.default?(r=this.next.domNode,this.next.insertAt(0,s),this.textNode.data=e.CONTENTS):(this.textNode.data=s,this.parent.insertBefore(o.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var c=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}([i,u].map(function(t){return Math.max(0,Math.min(r.data.length,t-1))}),2);return{startNode:r,startOffset:i=c[0],endNode:r,endOffset:u=c[1]}}}}},{key:\"update\",value:function(t,e){var n=this;if(t.some(function(t){return\"characterData\"===t.type&&t.target===n.textNode})){var r=this.restore();r&&(e.range=r)}}},{key:\"value\",value:function(){return\"\"}}]),e}();a.blotName=\"cursor\",a.className=\"ql-cursor\",a.tagName=\"span\",a.CONTENTS=\"\\ufeff\",e.default=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=l(n(0)),i=n(4),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default.Container),e}();u.allowedChildren=[o.default,i.BlockEmbed,u],e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(0))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Attributor.Style),i(e,[{key:\"value\",value:function(t){var n=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"value\",this).call(this,t);return n.startsWith(\"rgb(\")?\"#\"+(n=n.replace(/^[^\\d]+/,\"\").replace(/[^\\d]+\$/,\"\")).split(\",\").map(function(t){return(\"00\"+parseInt(t).toString(16)).slice(-2)}).join(\"\"):n}}]),e}(),u=new o.default.Attributor.Class(\"color\",\"ql-color\",{scope:o.default.Scope.INLINE}),a=new l(\"color\",\"color\",{scope:o.default.Scope.INLINE});e.ColorAttributor=l,e.ColorClass=u,e.ColorStyle=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.sanitize=e.default=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(6))&&r.__esModule?r:{default:r},u=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),i(e,[{key:\"format\",value:function(t,n){if(t!==this.statics.blotName||!n)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute(\"href\",n)}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return t=this.sanitize(t),n.setAttribute(\"href\",t),n.setAttribute(\"target\",\"_blank\"),n}},{key:\"formats\",value:function(t){return t.getAttribute(\"href\")}},{key:\"sanitize\",value:function(t){return a(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}();function a(t,e){var n=document.createElement(\"a\");n.href=t;var r=n.href.slice(0,n.href.indexOf(\":\"));return e.indexOf(r)>-1}u.blotName=\"link\",u.tagName=\"A\",u.SANITIZED_URL=\"about:blank\",u.PROTOCOL_WHITELIST=[\"http\",\"https\",\"mailto\",\"tel\"],e.default=u,e.sanitize=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=u(n(23)),l=u(n(107));function u(t){return t&&t.__esModule?t:{default:t}}var a=0;function s(t,e){t.setAttribute(e,!(\"true\"===t.getAttribute(e)))}e.default=function(){function t(e){var n=this;!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.select=e,this.container=document.createElement(\"span\"),this.buildPicker(),this.select.style.display=\"none\",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener(\"mousedown\",function(){n.togglePicker()}),this.label.addEventListener(\"keydown\",function(t){switch(t.keyCode){case o.default.keys.ENTER:n.togglePicker();break;case o.default.keys.ESCAPE:n.escape(),t.preventDefault()}}),this.select.addEventListener(\"change\",this.update.bind(this))}return i(t,[{key:\"togglePicker\",value:function(){this.container.classList.toggle(\"ql-expanded\"),s(this.label,\"aria-expanded\"),s(this.options,\"aria-hidden\")}},{key:\"buildItem\",value:function(t){var e=this,n=document.createElement(\"span\");return n.tabIndex=\"0\",n.setAttribute(\"role\",\"button\"),n.classList.add(\"ql-picker-item\"),t.hasAttribute(\"value\")&&n.setAttribute(\"data-value\",t.getAttribute(\"value\")),t.textContent&&n.setAttribute(\"data-label\",t.textContent),n.addEventListener(\"click\",function(){e.selectItem(n,!0)}),n.addEventListener(\"keydown\",function(t){switch(t.keyCode){case o.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault()}}),n}},{key:\"buildLabel\",value:function(){var t=document.createElement(\"span\");return t.classList.add(\"ql-picker-label\"),t.innerHTML=l.default,t.tabIndex=\"0\",t.setAttribute(\"role\",\"button\"),t.setAttribute(\"aria-expanded\",\"false\"),this.container.appendChild(t),t}},{key:\"buildOptions\",value:function(){var t=this,e=document.createElement(\"span\");e.classList.add(\"ql-picker-options\"),e.setAttribute(\"aria-hidden\",\"true\"),e.tabIndex=\"-1\",e.id=\"ql-picker-options-\"+a,a+=1,this.label.setAttribute(\"aria-controls\",e.id),this.options=e,[].slice.call(this.select.options).forEach(function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)}),this.container.appendChild(e)}},{key:\"buildPicker\",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add(\"ql-picker\"),this.label=this.buildLabel(),this.buildOptions()}},{key:\"escape\",value:function(){var t=this;this.close(),setTimeout(function(){return t.label.focus()},1)}},{key:\"close\",value:function(){this.container.classList.remove(\"ql-expanded\"),this.label.setAttribute(\"aria-expanded\",\"false\"),this.options.setAttribute(\"aria-hidden\",\"true\")}},{key:\"selectItem\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(\".ql-selected\");if(t!==n&&(null!=n&&n.classList.remove(\"ql-selected\"),null!=t&&(t.classList.add(\"ql-selected\"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute(\"data-value\")?this.label.setAttribute(\"data-value\",t.getAttribute(\"data-value\")):this.label.removeAttribute(\"data-value\"),t.hasAttribute(\"data-label\")?this.label.setAttribute(\"data-label\",t.getAttribute(\"data-label\")):this.label.removeAttribute(\"data-label\"),e))){if(\"function\"==typeof Event)this.select.dispatchEvent(new Event(\"change\"));else if(\"object\"===(\"undefined\"==typeof Event?\"undefined\":r(Event))){var i=document.createEvent(\"Event\");i.initEvent(\"change\",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:\"update\",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(\".ql-picker-options\").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector(\"option[selected]\");this.label.classList.toggle(\"ql-active\",n)}}]),t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=g(n(0)),i=g(n(5)),o=n(4),l=g(o),u=g(n(16)),a=g(n(25)),s=g(n(24)),c=g(n(35)),f=g(n(6)),h=g(n(22)),p=g(n(7)),d=g(n(55)),y=g(n(42)),v=g(n(23));function g(t){return t&&t.__esModule?t:{default:t}}i.default.register({\"blots/block\":l.default,\"blots/block/embed\":o.BlockEmbed,\"blots/break\":u.default,\"blots/container\":a.default,\"blots/cursor\":s.default,\"blots/embed\":c.default,\"blots/inline\":f.default,\"blots/scroll\":h.default,\"blots/text\":p.default,\"modules/clipboard\":d.default,\"modules/history\":y.default,\"modules/keyboard\":v.default}),r.default.register(l.default,u.default,s.default,f.default,h.default,p.default),e.default=i.default},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(1);e.default=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,\"statics\",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError(\"Blot definition missing tagName\");var e;return Array.isArray(this.tagName)?(\"string\"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e=\"number\"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,i){var o=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);o.wrap(l),l.format(n,i)}},t.prototype.insertAt=function(t,e,n){var i=null==n?r.create(\"text\",e):r.create(e,n),o=this.split(t);this.parent.insertBefore(i,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n=\"string\"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n=\"string\"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName=\"abstract\",t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(12),i=n(32),o=n(33),l=n(1);e.default=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=i.default.keys(this.domNode),u=o.default.keys(this.domNode);e.concat(n).concat(u).forEach(function(e){var n=l.query(e,l.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}()},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(12);function l(t,e){return(t.getAttribute(\"class\")||\"\").split(/\\s+/).filter(function(t){return 0===t.indexOf(e+\"-\")})}e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.keys=function(t){return(t.getAttribute(\"class\")||\"\").split(/\\s+/).map(function(t){return t.split(\"-\").slice(0,-1).join(\"-\")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+\"-\"+e),!0)},e.prototype.remove=function(t){l(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute(\"class\")},e.prototype.value=function(t){var e=(l(t,this.keyName)[0]||\"\").slice(this.keyName.length+1);return this.canAdd(t,e)?e:\"\"},e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(12);function l(t){var e=t.split(\"-\"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join(\"\");return e[0]+n}e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.keys=function(t){return(t.getAttribute(\"style\")||\"\").split(\";\").map(function(t){return t.split(\":\")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[l(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[l(this.keyName)]=\"\",t.getAttribute(\"style\")||t.removeAttribute(\"style\")},e.prototype.value=function(t){var e=t.style[l(this.keyName)];return this.canAdd(t,e)?e:\"\"},e}(o.default)},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,n){!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.quill=e,this.options=n,this.modules={}}return r(t,[{key:\"init\",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:\"addModule\",value:function(t){var e=this.quill.constructor.import(\"modules/\"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=l(n(0)),o=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var u=\"\\ufeff\",a=function(t){function e(t){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var n=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement(\"span\"),n.contentNode.setAttribute(\"contenteditable\",!1),[].slice.call(n.domNode.childNodes).forEach(function(t){n.contentNode.appendChild(t)}),n.leftGuard=document.createTextNode(u),n.rightGuard=document.createTextNode(u),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default.Embed),r(e,[{key:\"index\",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"index\",this).call(this,t,n)}},{key:\"restore\",value:function(t){var e=void 0,n=void 0,r=t.data.split(u).join(\"\");if(t===this.leftGuard)if(this.prev instanceof o.default){var l=this.prev.length();this.prev.insertAt(l,r),e={startNode:this.prev.domNode,startOffset:l+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof o.default?(this.next.insertAt(0,r),e={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),e={startNode:n,startOffset:r.length}));return t.data=u,e}},{key:\"update\",value:function(t,e){var n=this;t.forEach(function(t){if(\"characterData\"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}})}}]),e}();e.default=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o={scope:i.default.Scope.BLOCK,whitelist:[\"right\",\"center\",\"justify\"]},l=new i.default.Attributor.Attribute(\"align\",\"align\",o),u=new i.default.Attributor.Class(\"align\",\"ql-align\",o),a=new i.default.Attributor.Style(\"align\",\"text-align\",o);e.AlignAttribute=l,e.AlignClass=u,e.AlignStyle=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=n(26),l=new i.default.Attributor.Class(\"background\",\"ql-bg\",{scope:i.default.Scope.INLINE}),u=new o.ColorAttributor(\"background\",\"background-color\",{scope:i.default.Scope.INLINE});e.BackgroundClass=l,e.BackgroundStyle=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o={scope:i.default.Scope.BLOCK,whitelist:[\"rtl\"]},l=new i.default.Attributor.Attribute(\"direction\",\"dir\",o),u=new i.default.Attributor.Class(\"direction\",\"ql-direction\",o),a=new i.default.Attributor.Style(\"direction\",\"direction\",o);e.DirectionAttribute=l,e.DirectionClass=u,e.DirectionStyle=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.FontClass=e.FontStyle=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(0))&&r.__esModule?r:{default:r},l={scope:o.default.Scope.INLINE,whitelist:[\"serif\",\"monospace\"]},u=new o.default.Attributor.Class(\"font\",\"ql-font\",l),a=new(function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Attributor.Style),i(e,[{key:\"value\",value:function(t){return function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"value\",this).call(this,t).replace(/[\"']/g,\"\")}}]),e}())(\"font\",\"font-family\",l);e.FontStyle=a,e.FontClass=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=new i.default.Attributor.Class(\"size\",\"ql-size\",{scope:i.default.Scope.INLINE,whitelist:[\"small\",\"large\",\"huge\"]}),l=new i.default.Attributor.Style(\"size\",\"font-size\",{scope:i.default.Scope.INLINE,whitelist:[\"10px\",\"18px\",\"32px\"]});e.SizeClass=o,e.SizeStyle=l},function(t,e,n){\"use strict\";t.exports={align:{\"\":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),\"code-block\":n(58),color:n(84),direction:{\"\":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{\"+1\":n(96),\"-1\":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getLastChangeIndex=e.default=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=u(n(0)),o=u(n(5)),l=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(o.default.events.EDITOR_CHANGE,function(t,e,n,i){t!==o.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&i!==o.default.sources.USER?r.transform(e):r.record(e,n))}),r.quill.keyboard.addBinding({key:\"Z\",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:\"Z\",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:\"Y\",shortKey:!0},r.redo.bind(r)),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),r(e,[{key:\"change\",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],o.default.sources.USER),this.ignoreChange=!1;var r=s(n[t]);this.quill.setSelection(r)}}},{key:\"clear\",value:function(){this.stack={undo:[],redo:[]}}},{key:\"cutoff\",value:function(){this.lastRecorded=0}},{key:\"record\",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),t=i.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:\"redo\",value:function(){this.change(\"redo\",\"undo\")}},{key:\"transform\",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:\"undo\",value:function(){this.change(\"undo\",\"redo\")}}]),e}();function s(t){var e=t.reduce(function(t,e){return t+(e.delete||0)},0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?\"string\"==typeof e.insert&&e.insert.endsWith(\"\\n\"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=i.default.query(t,i.default.Scope.BLOCK)}))}(t)&&(n-=1),n}a.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=a,e.getLastChangeIndex=s},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.BaseTooltip=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=p(n(3)),o=p(n(2)),l=p(n(8)),u=p(n(23)),a=p(n(34)),s=p(n(59)),c=p(n(60)),f=p(n(28)),h=p(n(61));function p(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function y(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function v(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=[!1,\"center\",\"right\",\"justify\"],b=[\"#000000\",\"#e60000\",\"#ff9900\",\"#ffff00\",\"#008a00\",\"#0066cc\",\"#9933ff\",\"#ffffff\",\"#facccc\",\"#ffebcc\",\"#ffffcc\",\"#cce8cc\",\"#cce0f5\",\"#ebd6ff\",\"#bbbbbb\",\"#f06666\",\"#ffc266\",\"#ffff66\",\"#66b966\",\"#66a3e0\",\"#c285ff\",\"#888888\",\"#a10000\",\"#b26b00\",\"#b2b200\",\"#006100\",\"#0047b2\",\"#6b24b2\",\"#444444\",\"#5c0000\",\"#663d00\",\"#666600\",\"#003700\",\"#002966\",\"#3d1466\"],m=[!1,\"serif\",\"monospace\"],_=[\"1\",\"2\",\"3\",!1],w=[\"small\",!1,\"large\",\"huge\"],O=function(t){function e(t,n){d(this,e);var r=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM(\"click\",document.body,function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener(\"click\",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach(function(t){t.container.contains(n.target)||t.close()})}),r}return v(e,a.default),r(e,[{key:\"addModule\",value:function(t){var n=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"addModule\",this).call(this,t);return\"toolbar\"===t&&this.extendToolbar(n),n}},{key:\"buildButtons\",value:function(t,e){t.forEach(function(t){(t.getAttribute(\"class\")||\"\").split(/\\s+/).forEach(function(n){if(n.startsWith(\"ql-\")&&(n=n.slice(\"ql-\".length),null!=e[n]))if(\"direction\"===n)t.innerHTML=e[n][\"\"]+e[n].rtl;else if(\"string\"==typeof e[n])t.innerHTML=e[n];else{var r=t.value||\"\";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}})})}},{key:\"buildPickers\",value:function(t,e){var n=this;this.pickers=t.map(function(t){if(t.classList.contains(\"ql-align\"))return null==t.querySelector(\"option\")&&k(t,g),new c.default(t,e.align);if(t.classList.contains(\"ql-background\")||t.classList.contains(\"ql-color\")){var n=t.classList.contains(\"ql-background\")?\"background\":\"color\";return null==t.querySelector(\"option\")&&k(t,b,\"background\"===n?\"#ffffff\":\"#000000\"),new s.default(t,e[n])}return null==t.querySelector(\"option\")&&(t.classList.contains(\"ql-font\")?k(t,m):t.classList.contains(\"ql-header\")?k(t,_):t.classList.contains(\"ql-size\")&&k(t,w)),new f.default(t)}),this.quill.on(l.default.events.EDITOR_CHANGE,function(){n.pickers.forEach(function(t){t.update()})})}}]),e}();O.DEFAULTS=(0,i.default)(!0,{},a.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit(\"formula\")},image:function(){var t=this,e=this.container.querySelector(\"input.ql-image[type=file]\");null==e&&((e=document.createElement(\"input\")).setAttribute(\"type\",\"file\"),e.setAttribute(\"accept\",\"image/png, image/gif, image/jpeg, image/bmp, image/x-icon\"),e.classList.add(\"ql-image\"),e.addEventListener(\"change\",function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new o.default).retain(r.index).delete(r.length).insert({image:n.target.result}),l.default.sources.USER),t.quill.setSelection(r.index+1,l.default.sources.SILENT),e.value=\"\"},n.readAsDataURL(e.files[0])}}),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit(\"video\")}}}}});var x=function(t){function e(t,n){d(this,e);var r=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type=\"text\"]'),r.listen(),r}return v(e,h.default),r(e,[{key:\"listen\",value:function(){var t=this;this.textbox.addEventListener(\"keydown\",function(e){u.default.match(e,\"enter\")?(t.save(),e.preventDefault()):u.default.match(e,\"escape\")&&(t.cancel(),e.preventDefault())})}},{key:\"cancel\",value:function(){this.hide()}},{key:\"edit\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"link\",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove(\"ql-hidden\"),this.root.classList.add(\"ql-editing\"),null!=e?this.textbox.value=e:t!==this.root.getAttribute(\"data-mode\")&&(this.textbox.value=\"\"),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute(\"placeholder\",this.textbox.getAttribute(\"data-\"+t)||\"\"),this.root.setAttribute(\"data-mode\",t)}},{key:\"restoreFocus\",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:\"save\",value:function(){var t,e,n=this.textbox.value;switch(this.root.getAttribute(\"data-mode\")){case\"link\":var r=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,\"link\",n,l.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format(\"link\",n,l.default.sources.USER)),this.quill.root.scrollTop=r;break;case\"video\":n=(e=(t=n).match(/^(?:(https?):\\/\\/)?(?:(?:www|m)\\.)?youtube\\.com\\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\\/\\/)?(?:(?:www|m)\\.)?youtu\\.be\\/([a-zA-Z0-9_-]+)/))?(e[1]||\"https\")+\"://www.youtube.com/embed/\"+e[2]+\"?showinfo=0\":(e=t.match(/^(?:(https?):\\/\\/)?(?:www\\.)?vimeo\\.com\\/(\\d+)/))?(e[1]||\"https\")+\"://player.vimeo.com/video/\"+e[2]+\"/\":t;case\"formula\":if(!n)break;var i=this.quill.getSelection(!0);if(null!=i){var o=i.index+i.length;this.quill.insertEmbed(o,this.root.getAttribute(\"data-mode\"),n,l.default.sources.USER),\"formula\"===this.root.getAttribute(\"data-mode\")&&this.quill.insertText(o+1,\" \",l.default.sources.USER),this.quill.setSelection(o+2,l.default.sources.USER)}}this.textbox.value=\"\",this.hide()}}]),e}();function k(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement(\"option\");e===n?r.setAttribute(\"selected\",\"selected\"):r.setAttribute(\"value\",e),t.appendChild(r)})}e.BaseTooltip=x,e.default=O},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var i=n.length();if(t<i||e&&t===i&&(null==n.next||0!==n.next.length()))return[n,t];t-=i}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,i=this.find(t),o=t-i[1],l=this.iterator(i[0]);(r=l())&&o<t+e;){var u=r.length();t>o?n(r,t-o,Math.min(e,o+u-t)):n(r,0,Math.min(u,t+e-o)),o+=u}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}()},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(17),l=n(1),u={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,u),n.attach(),n}return i(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,i){this.update(),t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var i=[].slice.call(this.observer.takeRecords());i.length>0;)e.push(i.pop());for(var u=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[l.DATA_KEY].mutations&&(t.domNode[l.DATA_KEY].mutations=[]),e&&u(t.parent))},a=function(t){null!=t.domNode[l.DATA_KEY]&&null!=t.domNode[l.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(a),t.optimize(n))},s=e,c=0;s.length>0;c+=1){if(c>=100)throw new Error(\"[Parchment] Maximum optimize iterations reached\");for(s.forEach(function(t){var e=l.find(t.target,!0);null!=e&&(e.domNode===t.target&&(\"childList\"===t.type?(u(l.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=l.find(t,!1);u(e,!1),e instanceof o.default&&e.children.forEach(function(t){u(t,!1)})})):\"attributes\"===t.type&&u(e.prev)),u(e))}),this.children.forEach(a),i=(s=[].slice.call(this.observer.takeRecords())).slice();i.length>0;)e.push(i.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map(function(t){var e=l.find(t.target,!0);return null==e?null:null==e.domNode[l.DATA_KEY].mutations?(e.domNode[l.DATA_KEY].mutations=[t],e):(e.domNode[l.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[l.DATA_KEY]&&t.update(t.domNode[l.DATA_KEY].mutations||[],n)}),null!=this.domNode[l.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[l.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName=\"scroll\",e.defaultChild=\"block\",e.scope=l.Scope.BLOCK_BLOT,e.tagName=\"DIV\",e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(18),l=n(1);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var i=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),i.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,i){null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)?this.isolate(e,n).format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(r,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName=\"inline\",e.scope=l.Scope.INLINE_BLOT,e.tagName=\"SPAN\",e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(18),l=n(1);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(n){var r=l.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=l.query(n,l.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,i){null!=l.query(r,l.Scope.BLOCK)?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=l.query(n,l.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var i=this.split(e),o=l.create(n,r);i.parent.insertBefore(o,i)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName=\"block\",e.scope=l.Scope.BLOCK_BLOT,e.tagName=\"P\",e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(19);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,i){0===e&&n===this.length()?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(19),l=n(1);e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return i(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=l.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return\"characterData\"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName=\"text\",e.scope=l.Scope.INLINE_BLOT,e}(o.default)},function(t,e,n){\"use strict\";var r=document.createElement(\"div\");if(r.classList.toggle(\"test-class\",!1),r.classList.contains(\"test-class\")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:i.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return this.substr(e=e||0,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();(\"number\"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length);var r=n.indexOf(t,e-=t.length);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,\"find\",{value:function(t){if(null===this)throw new TypeError(\"Array.prototype.find called on null or undefined\");if(\"function\"!=typeof t)throw new TypeError(\"predicate must be a function\");for(var e,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(t.call(i,e=n[o],o,n))return e}}),document.addEventListener(\"DOMContentLoaded\",function(){document.execCommand(\"enableObjectResizing\",!1,!1),document.execCommand(\"autoUrlDetect\",!1,!1)})},function(t,e){var n=-1,r=1,i=0;function o(t,e,s){if(t==e)return t?[[i,t]]:[];(s<0||t.length<s)&&(s=null);var f=u(t,e),h=t.substring(0,f);f=a(t=t.substring(f),e=e.substring(f));var p=t.substring(t.length-f),d=function(t,e){var s;if(!t)return[[r,e]];if(!e)return[[n,t]];var c=t.length>e.length?t:e,f=t.length>e.length?e:t,h=c.indexOf(f);if(-1!=h)return s=[[r,c.substring(0,h)],[i,f],[r,c.substring(h+f.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==f.length)return[[n,t],[r,e]];var p=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function i(t,e,n){for(var r,i,o,l,s=t.substring(n,n+Math.floor(t.length/4)),c=-1,f=\"\";-1!=(c=e.indexOf(s,c+1));){var h=u(t.substring(n),e.substring(c)),p=a(t.substring(0,n),e.substring(0,c));f.length<p+h&&(f=e.substring(c-p,c)+e.substring(c,c+h),r=t.substring(0,n-p),i=t.substring(n+h),o=e.substring(0,c-p),l=e.substring(c+h))}return 2*f.length>=t.length?[r,i,o,l,f]:null}var o,l,s,c,f,h=i(n,r,Math.ceil(n.length/4)),p=i(n,r,Math.ceil(n.length/2));return h||p?(o=p?h&&h[4].length>p[4].length?h:p:h,t.length>e.length?(l=o[0],s=o[1],c=o[2],f=o[3]):(c=o[0],f=o[1],l=o[2],s=o[3]),[l,s,c,f,o[4]]):null}(t,e);if(p){var d=p[1],y=p[3],v=p[4],g=o(p[0],p[2]),b=o(d,y);return g.concat([[i,v]],b)}return function(t,e){for(var i=t.length,o=e.length,u=Math.ceil((i+o)/2),a=u,s=2*u,c=new Array(s),f=new Array(s),h=0;h<s;h++)c[h]=-1,f[h]=-1;c[a+1]=0,f[a+1]=0;for(var p=i-o,d=p%2!=0,y=0,v=0,g=0,b=0,m=0;m<u;m++){for(var _=-m+y;_<=m-v;_+=2){for(var w=a+_,O=(T=_==-m||_!=m&&c[w-1]<c[w+1]?c[w+1]:c[w-1]+1)-_;T<i&&O<o&&t.charAt(T)==e.charAt(O);)T++,O++;if(c[w]=T,T>i)v+=2;else if(O>o)y+=2;else if(d&&(E=a+p-_)>=0&&E<s&&-1!=f[E]){var x=i-f[E];if(T>=x)return l(t,e,T,O)}}for(var k=-m+g;k<=m-b;k+=2){for(var E=a+k,C=(x=k==-m||k!=m&&f[E-1]<f[E+1]?f[E+1]:f[E-1]+1)-k;x<i&&C<o&&t.charAt(i-x-1)==e.charAt(o-C-1);)x++,C++;if(f[E]=x,x>i)b+=2;else if(C>o)g+=2;else if(!d&&(w=a+p-k)>=0&&w<s&&-1!=c[w]){var T=c[w];if(O=a+T-w,T>=(x=i-x))return l(t,e,T,O)}}}return[[n,t],[r,e]]}(t,e)}(t=t.substring(0,t.length-f),e=e.substring(0,e.length-f));return h&&d.unshift([i,h]),p&&d.push([i,p]),function t(e){e.push([i,\"\"]);for(var o,l=0,s=0,c=0,f=\"\",h=\"\";l<e.length;)switch(e[l][0]){case r:c++,h+=e[l][1],l++;break;case n:s++,f+=e[l][1],l++;break;case i:s+c>1?(0!==s&&0!==c&&(0!==(o=u(h,f))&&(l-s-c>0&&e[l-s-c-1][0]==i?e[l-s-c-1][1]+=h.substring(0,o):(e.splice(0,0,[i,h.substring(0,o)]),l++),h=h.substring(o),f=f.substring(o)),0!==(o=a(h,f))&&(e[l][1]=h.substring(h.length-o)+e[l][1],h=h.substring(0,h.length-o),f=f.substring(0,f.length-o))),0===s?e.splice(l-c,s+c,[r,h]):0===c?e.splice(l-s,s+c,[n,f]):e.splice(l-s-c,s+c,[n,f],[r,h]),l=l-s-c+(s?1:0)+(c?1:0)+1):0!==l&&e[l-1][0]==i?(e[l-1][1]+=e[l][1],e.splice(l,1)):l++,c=0,s=0,f=\"\",h=\"\"}\"\"===e[e.length-1][1]&&e.pop();var p=!1;for(l=1;l<e.length-1;)e[l-1][0]==i&&e[l+1][0]==i&&(e[l][1].substring(e[l][1].length-e[l-1][1].length)==e[l-1][1]?(e[l][1]=e[l-1][1]+e[l][1].substring(0,e[l][1].length-e[l-1][1].length),e[l+1][1]=e[l-1][1]+e[l+1][1],e.splice(l-1,1),p=!0):e[l][1].substring(0,e[l+1][1].length)==e[l+1][1]&&(e[l-1][1]+=e[l+1][1],e[l][1]=e[l][1].substring(e[l+1][1].length)+e[l+1][1],e.splice(l+1,1),p=!0)),l++;p&&t(e)}(d),null!=s&&(d=function(t,e){var r=function(t,e){if(0===e)return[i,t];for(var r=0,o=0;o<t.length;o++){var l=t[o];if(l[0]===n||l[0]===i){var u=r+l[1].length;if(e===u)return[o+1,t];if(e<u){t=t.slice();var a=e-r,s=[l[0],l[1].slice(0,a)],c=[l[0],l[1].slice(a)];return t.splice(o,1,s,c),[o+1,t]}r=u}}throw new Error(\"cursor_pos is out of bounds!\")}(t,e),o=r[1],l=r[0],u=o[l],a=o[l+1];if(null==u)return t;if(u[0]!==i)return t;if(null!=a&&u[1]+a[1]===a[1]+u[1])return o.splice(l,2,a,u),c(o,l,2);if(null!=a&&0===a[1].indexOf(u[1])){o.splice(l,2,[a[0],u[1]],[0,u[1]]);var s=a[1].slice(u[1].length);return s.length>0&&o.splice(l+2,0,[a[0],s]),c(o,l,3)}return t}(d,s)),function(t){for(var e=!1,o=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},l=2;l<t.length;l+=1)t[l-2][0]===i&&(u=t[l-2][1]).charCodeAt(u.length-1)>=55296&&u.charCodeAt(u.length-1)<=56319&&t[l-1][0]===n&&o(t[l-1][1])&&t[l][0]===r&&o(t[l][1])&&(e=!0,t[l-1][1]=t[l-2][1].slice(-1)+t[l-1][1],t[l][1]=t[l-2][1].slice(-1)+t[l][1],t[l-2][1]=t[l-2][1].slice(0,-1));var u;if(!e)return t;var a=[];for(l=0;l<t.length;l+=1)t[l][1].length>0&&a.push(t[l]);return a}(d)}function l(t,e,n,r){var i=t.substring(0,n),l=e.substring(0,r),u=t.substring(n),a=e.substring(r),s=o(i,l),c=o(u,a);return s.concat(c)}function u(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function a(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}var s=o;function c(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1<t.length){var i=t[r],o=t[r+1];i[0]===o[1]&&t.splice(r,2,[i[0],i[1]+o[1]])}return t}s.INSERT=r,s.DELETE=n,s.EQUAL=i,t.exports=s},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports=\"function\"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n=\"[object Arguments]\"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return\"[object Arguments]\"==Object.prototype.toString.call(t)}function i(t){return t&&\"object\"==typeof t&&\"number\"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,\"callee\")&&!Object.prototype.propertyIsEnumerable.call(t,\"callee\")||!1}(e=t.exports=n?r:i).supported=r,e.unsupported=i},function(t,e){\"use strict\";var n=Object.prototype.hasOwnProperty,r=\"~\";function i(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function l(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),l.prototype.eventNames=function(){var t,e,i=[];if(0===this._eventsCount)return i;for(e in t=this._events)n.call(t,e)&&i.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},l.prototype.listeners=function(t,e){var n=this._events[r?r+t:t];if(e)return!!n;if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,l=new Array(o);i<o;i++)l[i]=n[i].fn;return l},l.prototype.emit=function(t,e,n,i,o,l){var u=r?r+t:t;if(!this._events[u])return!1;var a,s,c=this._events[u],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,i),!0;case 5:return c.fn.call(c.context,e,n,i,o),!0;case 6:return c.fn.call(c.context,e,n,i,o,l),!0}for(s=1,a=new Array(f-1);s<f;s++)a[s-1]=arguments[s];c.fn.apply(c.context,a)}else{var h,p=c.length;for(s=0;s<p;s++)switch(c[s].once&&this.removeListener(t,c[s].fn,void 0,!0),f){case 1:c[s].fn.call(c[s].context);break;case 2:c[s].fn.call(c[s].context,e);break;case 3:c[s].fn.call(c[s].context,e,n);break;case 4:c[s].fn.call(c[s].context,e,n,i);break;default:if(!a)for(h=1,a=new Array(f-1);h<f;h++)a[h-1]=arguments[h];c[s].fn.apply(c[s].context,a)}}return!0},l.prototype.on=function(t,e,n){var i=new o(e,n||this),l=r?r+t:t;return this._events[l]?this._events[l].fn?this._events[l]=[this._events[l],i]:this._events[l].push(i):(this._events[l]=i,this._eventsCount++),this},l.prototype.once=function(t,e,n){var i=new o(e,n||this,!0),l=r?r+t:t;return this._events[l]?this._events[l].fn?this._events[l]=[this._events[l],i]:this._events[l].push(i):(this._events[l]=i,this._eventsCount++),this},l.prototype.removeListener=function(t,e,n,o){var l=r?r+t:t;if(!this._events[l])return this;if(!e)return 0==--this._eventsCount?this._events=new i:delete this._events[l],this;var u=this._events[l];if(u.fn)u.fn!==e||o&&!u.once||n&&u.context!==n||(0==--this._eventsCount?this._events=new i:delete this._events[l]);else{for(var a=0,s=[],c=u.length;a<c;a++)(u[a].fn!==e||o&&!u[a].once||n&&u[a].context!==n)&&s.push(u[a]);s.length?this._events[l]=1===s.length?s[0]:s:0==--this._eventsCount?this._events=new i:delete this._events[l]}return this},l.prototype.removeAllListeners=function(t){var e;return t?this._events[e=r?r+t:t]&&(0==--this._eventsCount?this._events=new i:delete this._events[e]):(this._events=new i,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prototype.setMaxListeners=function(){return this},l.prefixed=r,l.EventEmitter=l,\"undefined\"!=typeof t&&(t.exports=l)},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=m(n(3)),u=m(n(2)),a=m(n(0)),s=m(n(5)),c=m(n(10)),f=m(n(9)),h=n(36),p=n(37),d=m(n(13)),y=n(26),v=n(38),g=n(39),b=n(40);function m(t){return t&&t.__esModule?t:{default:t}}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=(0,c.default)(\"quill:clipboard\"),O=\"__ql-matcher\",x=[[Node.TEXT_NODE,q],[Node.TEXT_NODE,D],[\"br\",function(t,e){return A(e,\"\\n\")||e.insert(\"\\n\"),e}],[Node.ELEMENT_NODE,D],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,M],[Node.ELEMENT_NODE,S],[Node.ELEMENT_NODE,function(t,e){var n={},r=t.style||{};return r.fontStyle&&\"italic\"===j(t).fontStyle&&(n.italic=!0),r.fontWeight&&(j(t).fontWeight.startsWith(\"bold\")||parseInt(j(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=T(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new u.default).insert(\"\\t\").concat(e)),e}],[\"li\",function(t,e){var n=a.default.query(t);if(null==n||\"list-item\"!==n.blotName||!A(e,\"\\n\"))return e;for(var r=-1,i=t.parentNode;!i.classList.contains(\"ql-clipboard\");)\"list\"===(a.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?e:e.compose((new u.default).retain(e.length()-1).retain(1,{indent:r}))}],[\"b\",R.bind(R,\"bold\")],[\"i\",R.bind(R,\"italic\")],[\"style\",function(){return new u.default}]],k=[h.AlignAttribute,v.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{}),E=[h.AlignStyle,p.BackgroundStyle,y.ColorStyle,v.DirectionStyle,g.FontStyle,b.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{}),C=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.root.addEventListener(\"paste\",r.onPaste.bind(r)),r.container=r.quill.addContainer(\"ql-clipboard\"),r.container.setAttribute(\"contenteditable\",!0),r.container.setAttribute(\"tabindex\",-1),r.matchers=[],x.concat(r.options.matchers).forEach(function(t){var e=i(t,2),o=e[1];(n.matchVisual||o!==M)&&r.addMatcher(e[0],o)}),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,f.default),o(e,[{key:\"addMatcher\",value:function(t,e){this.matchers.push([t,e])}},{key:\"convert\",value:function(t){if(\"string\"==typeof t)return this.container.innerHTML=t.replace(/\\>\\r?\\n +\\</g,\"><\"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[d.default.blotName]){var n=this.container.innerText;return this.container.innerHTML=\"\",(new u.default).insert(n,_({},d.default.blotName,e[d.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),l=function t(e,n,r){return e.nodeType===e.TEXT_NODE?r.reduce(function(t,n){return n(e,t)},new u.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],function(i,o){var l=t(o,n,r);return o.nodeType===e.ELEMENT_NODE&&(l=n.reduce(function(t,e){return e(o,t)},l),l=(o[O]||[]).reduce(function(t,e){return e(o,t)},l)),i.concat(l)},new u.default):new u.default}(this.container,o[0],o[1]);return A(l,\"\\n\")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new u.default).retain(l.length()-1).delete(1))),w.log(\"convert\",this.container.innerHTML,l),this.container.innerHTML=\"\",l}},{key:\"dangerouslyPasteHTML\",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if(\"string\"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,s.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new u.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),s.default.sources.SILENT)}}},{key:\"onPaste\",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new u.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(s.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,s.default.sources.USER),e.quill.setSelection(r.length()-n.length,s.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=i,e.quill.focus()},1)}}},{key:\"prepareMatching\",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var o=i(r,2),l=o[0],u=o[1];switch(l){case Node.TEXT_NODE:n.push(u);break;case Node.ELEMENT_NODE:e.push(u);break;default:[].forEach.call(t.container.querySelectorAll(l),function(t){t[O]=t[O]||[],t[O].push(u)})}}),[e,n]}}]),e}();function T(t,e,n){return\"object\"===(\"undefined\"==typeof e?\"undefined\":r(e))?Object.keys(e).reduce(function(t,n){return T(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,l.default)({},_({},e,n),r.attributes))},new u.default)}function j(t){return t.nodeType!==Node.ELEMENT_NODE?{}:t[\"__ql-computed-style\"]||(t[\"__ql-computed-style\"]=window.getComputedStyle(t))}function A(t,e){for(var n=\"\",r=t.ops.length-1;r>=0&&n.length<e.length;--r){var i=t.ops[r];if(\"string\"!=typeof i.insert)break;n=i.insert+n}return n.slice(-1*e.length)===e}function P(t){if(0===t.childNodes.length)return!1;var e=j(t);return[\"block\",\"list-item\"].indexOf(e.display)>-1}function R(t,e,n){return T(n,t,!0)}function S(t,e){var n=a.default.Attributor.Attribute.keys(t),r=a.default.Attributor.Class.keys(t),i=a.default.Attributor.Style.keys(t),o={};return n.concat(r).concat(i).forEach(function(e){var n=a.default.query(e,a.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(null==(n=k[e])||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),null==(n=E[e])||n.attrName!==e&&n.keyName!==e||(o[(n=E[e]).attrName]=n.value(t)||void 0))}),Object.keys(o).length>0&&(e=T(e,o)),e}function N(t,e){var n=a.default.query(t);if(null==n)return e;if(n.prototype instanceof a.default.Embed){var r={},i=n.value(t);null!=i&&(r[n.blotName]=i,e=(new u.default).insert(r,n.formats(t)))}else\"function\"==typeof n.formats&&(e=T(e,n.blotName,n.formats(t)));return e}function D(t,e){return A(e,\"\\n\")||(P(t)||e.length()>0&&t.nextSibling&&P(t.nextSibling))&&e.insert(\"\\n\"),e}function M(t,e){if(P(t)&&null!=t.nextElementSibling&&!A(e,\"\\n\\n\")){var n=t.offsetHeight+parseFloat(j(t).marginTop)+parseFloat(j(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert(\"\\n\")}return e}function q(t,e){var n=t.data;if(\"O:P\"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains(\"ql-clipboard\"))return e;if(!j(t.parentNode).whiteSpace.startsWith(\"pre\")){var r=function(t,e){return(e=e.replace(/[^\\u00a0]/g,\"\")).length<1&&t?\" \":e};n=(n=n.replace(/\\r\\n/g,\" \").replace(/\\n/g,\" \")).replace(/\\s\\s+/g,r.bind(r,!0)),(null==t.previousSibling&&P(t.parentNode)||null!=t.previousSibling&&P(t.previousSibling))&&(n=n.replace(/^\\s+/,r.bind(r,!1))),(null==t.nextSibling&&P(t.parentNode)||null!=t.nextSibling&&P(t.nextSibling))&&(n=n.replace(/\\s+\$/,r.bind(r,!1)))}return e.insert(n)}C.DEFAULTS={matchers:[],matchVisual:!0},e.default=C,e.matchAttributor=S,e.matchBlot=N,e.matchNewline=D,e.matchSpacing=M,e.matchText=q},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(6))&&r.__esModule?r:{default:r},u=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),i(e,[{key:\"optimize\",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:\"create\",value:function(){return o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this)}},{key:\"formats\",value:function(){return!0}}]),e}();u.blotName=\"bold\",u.tagName=[\"STRONG\",\"B\"],e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.addControls=e.default=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=c(n(2)),l=c(n(0)),u=c(n(5)),a=c(n(10)),s=c(n(9));function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}var h=(0,a.default)(\"quill:toolbar\"),p=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var i,o=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(o.options.container)){var l=document.createElement(\"div\");y(l,o.options.container),t.container.parentNode.insertBefore(l,t.container),o.container=l}else o.container=\"string\"==typeof o.options.container?document.querySelector(o.options.container):o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add(\"ql-toolbar\"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach(function(t){o.addHandler(t,o.options.handlers[t])}),[].forEach.call(o.container.querySelectorAll(\"button, select\"),function(t){o.attach(t)}),o.quill.on(u.default.events.EDITOR_CHANGE,function(t,e){t===u.default.events.SELECTION_CHANGE&&o.update(e)}),o.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){var t=o.quill.selection.getRange(),e=r(t,1);o.update(e[0])}),o):(i=h.error(\"Container required for toolbar\",o.options),f(o,i))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default),i(e,[{key:\"addHandler\",value:function(t,e){this.handlers[t]=e}},{key:\"attach\",value:function(t){var e=this,n=[].find.call(t.classList,function(t){return 0===t.indexOf(\"ql-\")});if(n){if(n=n.slice(\"ql-\".length),\"BUTTON\"===t.tagName&&t.setAttribute(\"type\",\"button\"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void h.warn(\"ignoring attaching to disabled format\",n,t);if(null==l.default.query(n))return void h.warn(\"ignoring attaching to nonexistent format\",n,t)}t.addEventListener(\"SELECT\"===t.tagName?\"change\":\"click\",function(i){var a=void 0;if(\"SELECT\"===t.tagName){if(t.selectedIndex<0)return;var s=t.options[t.selectedIndex];a=!s.hasAttribute(\"selected\")&&(s.value||!1)}else a=!t.classList.contains(\"ql-active\")&&(t.value||!t.hasAttribute(\"value\")),i.preventDefault();e.quill.focus();var c=e.quill.selection.getRange(),f=r(c,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,a);else if(l.default.query(n).prototype instanceof l.default.Embed){if(!(a=prompt(\"Enter \"+n)))return;e.quill.updateContents((new o.default).retain(f.index).delete(f.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,a)),u.default.sources.USER)}else e.quill.format(n,a,u.default.sources.USER);e.update(f)}),this.controls.push([n,t])}}},{key:\"update\",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(function(n){var i=r(n,2),o=i[0],l=i[1];if(\"SELECT\"===l.tagName){var u=void 0;if(null==t)u=null;else if(null==e[o])u=l.querySelector(\"option[selected]\");else if(!Array.isArray(e[o])){var a=e[o];\"string\"==typeof a&&(a=a.replace(/\\\"/g,'\\\\\"')),u=l.querySelector('option[value=\"'+a+'\"]')}null==u?(l.value=\"\",l.selectedIndex=-1):u.selected=!0}else if(null==t)l.classList.remove(\"ql-active\");else if(l.hasAttribute(\"value\")){var s=e[o]===l.getAttribute(\"value\")||null!=e[o]&&e[o].toString()===l.getAttribute(\"value\")||null==e[o]&&!l.getAttribute(\"value\");l.classList.toggle(\"ql-active\",s)}else l.classList.toggle(\"ql-active\",null!=e[o])})}}]),e}();function d(t,e,n){var r=document.createElement(\"button\");r.setAttribute(\"type\",\"button\"),r.classList.add(\"ql-\"+e),null!=n&&(r.value=n),t.appendChild(r)}function y(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement(\"span\");n.classList.add(\"ql-formats\"),e.forEach(function(t){if(\"string\"==typeof t)d(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?function(t,e,n){var r=document.createElement(\"select\");r.classList.add(\"ql-\"+e),n.forEach(function(t){var e=document.createElement(\"option\");!1!==t?e.setAttribute(\"value\",t):e.setAttribute(\"selected\",\"selected\"),r.appendChild(e)}),t.appendChild(r)}(n,e,r):d(n,e,r)}}),t.appendChild(n)})}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(e){null!=l.default.query(e,l.default.Scope.INLINE)&&t.quill.format(e,!1)})}else this.quill.removeFormat(e,u.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;\"rtl\"===t&&null==e?this.quill.format(\"align\",\"right\",u.default.sources.USER):t||\"right\"!==e||this.quill.format(\"align\",!1,u.default.sources.USER),this.quill.format(\"direction\",t,u.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if(\"+1\"===t||\"-1\"===t){var i=\"+1\"===t?1:-1;\"rtl\"===n.direction&&(i*=-1),this.quill.format(\"indent\",r+i,u.default.sources.USER)}},link:function(t){!0===t&&(t=prompt(\"Enter link URL:\")),this.quill.format(\"link\",t,u.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);this.quill.format(\"list\",\"check\"===t?\"checked\"!==n.list&&\"unchecked\"!==n.list&&\"unchecked\":t,u.default.sources.USER)}}},e.default=p,e.addControls=y},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polyline class=\"ql-even ql-stroke\" points=\"5 7 3 9 5 11\"></polyline> <polyline class=\"ql-even ql-stroke\" points=\"13 7 15 9 13 11\"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(28))&&r.__esModule?r:{default:r},u=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.label.innerHTML=n,r.container.classList.add(\"ql-color-picker\"),[].slice.call(r.container.querySelectorAll(\".ql-picker-item\"),0,7).forEach(function(t){t.classList.add(\"ql-primary\")}),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),i(e,[{key:\"buildItem\",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"buildItem\",this).call(this,t);return n.style.backgroundColor=t.getAttribute(\"value\")||\"\",n}},{key:\"selectItem\",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"selectItem\",this).call(this,t,n);var r=this.label.querySelector(\".ql-color-label\"),i=t&&t.getAttribute(\"data-value\")||\"\";r&&(\"line\"===r.tagName?r.style.stroke=i:r.style.fill=i)}}]),e}();e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(28))&&r.__esModule?r:{default:r},l=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.container.classList.add(\"ql-icon-picker\"),[].forEach.call(r.container.querySelectorAll(\".ql-picker-item\"),function(t){t.innerHTML=n[t.getAttribute(\"data-value\")||\"\"]}),r.defaultItem=r.container.querySelector(\".ql-selected\"),r.selectItem(r.defaultItem),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),i(e,[{key:\"selectItem\",value:function(t,n){(function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"selectItem\",this).call(this,t,n),this.label.innerHTML=(t=t||this.defaultItem).innerHTML}}]),e}();e.default=l},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();e.default=function(){function t(e,n){var r=this;!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer(\"ql-tooltip\"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener(\"scroll\",function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+\"px\"}),this.hide()}return r(t,[{key:\"hide\",value:function(){this.root.classList.add(\"ql-hidden\")}},{key:\"position\",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+\"px\",this.root.style.top=n+\"px\",this.root.classList.remove(\"ql-flip\");var r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect(),o=0;return i.right>r.right&&(this.root.style.left=e+(o=r.right-i.right)+\"px\"),i.left<r.left&&(this.root.style.left=e+(o=r.left-i.left)+\"px\"),i.bottom>r.bottom&&(this.root.style.top=n-(t.bottom-t.top+(i.bottom-i.top))+\"px\",this.root.classList.add(\"ql-flip\")),o}},{key:\"show\",value:function(){this.root.classList.remove(\"ql-editing\"),this.root.classList.remove(\"ql-hidden\")}}]),t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=h(n(3)),l=h(n(8)),u=n(43),a=h(u),s=h(n(27)),c=n(15),f=h(n(41));function h(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function d(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function y(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[[{header:[\"1\",\"2\",\"3\",!1]}],[\"bold\",\"italic\",\"underline\",\"link\"],[{list:\"ordered\"},{list:\"bullet\"}],[\"clean\"]],g=function(t){function e(t,n){p(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add(\"ql-snow\"),r}return y(e,a.default),i(e,[{key:\"extendToolbar\",value:function(t){t.container.classList.add(\"ql-snow\"),this.buildButtons([].slice.call(t.container.querySelectorAll(\"button\")),f.default),this.buildPickers([].slice.call(t.container.querySelectorAll(\"select\")),f.default),this.tooltip=new b(this.quill,this.options.bounds),t.container.querySelector(\".ql-link\")&&this.quill.keyboard.addBinding({key:\"K\",shortKey:!0},function(e,n){t.handlers.link.call(t,!n.format.link)})}}]),e}();g.DEFAULTS=(0,o.default)(!0,{},a.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\\S+@\\S+\\.\\S+\$/.test(n)&&0!==n.indexOf(\"mailto:\")&&(n=\"mailto:\"+n),this.quill.theme.tooltip.edit(\"link\",n)}else this.quill.format(\"link\",!1)}}}}});var b=function(t){function e(t,n){p(this,e);var r=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector(\"a.ql-preview\"),r}return y(e,u.BaseTooltip),i(e,[{key:\"listen\",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"listen\",this).call(this),this.root.querySelector(\"a.ql-action\").addEventListener(\"click\",function(e){t.root.classList.contains(\"ql-editing\")?t.save():t.edit(\"link\",t.preview.textContent),e.preventDefault()}),this.root.querySelector(\"a.ql-remove\").addEventListener(\"click\",function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,\"link\",!1,l.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()}),this.quill.on(l.default.events.SELECTION_CHANGE,function(e,n,r){if(null!=e){if(0===e.length&&r===l.default.sources.USER){var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}(t.quill.scroll.descendant(s.default,e.index),2),o=i[0];if(null!=o){t.linkRange=new c.Range(e.index-i[1],o.length());var u=s.default.formats(o.domNode);return t.preview.textContent=u,t.preview.setAttribute(\"href\",u),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}})}},{key:\"show\",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"show\",this).call(this),this.root.removeAttribute(\"data-mode\")}}]),e}();b.TEMPLATE=['<a class=\"ql-preview\" target=\"_blank\" href=\"about:blank\"></a>','<input type=\"text\" data-formula=\"e=mc^2\" data-link=\"https://quilljs.com\" data-video=\"Embed URL\">','<a class=\"ql-action\"></a>','<a class=\"ql-remove\"></a>'].join(\"\"),e.default=g},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=M(n(29)),i=n(36),o=n(38),l=n(64),u=M(n(65)),a=M(n(66)),s=n(67),c=M(s),f=n(37),h=n(26),p=n(39),d=n(40),y=M(n(56)),v=M(n(68)),g=M(n(27)),b=M(n(69)),m=M(n(70)),_=M(n(71)),w=M(n(72)),O=M(n(73)),x=n(13),k=M(x),E=M(n(74)),C=M(n(75)),T=M(n(57)),j=M(n(41)),A=M(n(28)),P=M(n(59)),R=M(n(60)),S=M(n(61)),N=M(n(108)),D=M(n(62));function M(t){return t&&t.__esModule?t:{default:t}}r.default.register({\"attributors/attribute/direction\":o.DirectionAttribute,\"attributors/class/align\":i.AlignClass,\"attributors/class/background\":f.BackgroundClass,\"attributors/class/color\":h.ColorClass,\"attributors/class/direction\":o.DirectionClass,\"attributors/class/font\":p.FontClass,\"attributors/class/size\":d.SizeClass,\"attributors/style/align\":i.AlignStyle,\"attributors/style/background\":f.BackgroundStyle,\"attributors/style/color\":h.ColorStyle,\"attributors/style/direction\":o.DirectionStyle,\"attributors/style/font\":p.FontStyle,\"attributors/style/size\":d.SizeStyle},!0),r.default.register({\"formats/align\":i.AlignClass,\"formats/direction\":o.DirectionClass,\"formats/indent\":l.IndentClass,\"formats/background\":f.BackgroundStyle,\"formats/color\":h.ColorStyle,\"formats/font\":p.FontClass,\"formats/size\":d.SizeClass,\"formats/blockquote\":u.default,\"formats/code-block\":k.default,\"formats/header\":a.default,\"formats/list\":c.default,\"formats/bold\":y.default,\"formats/code\":x.Code,\"formats/italic\":v.default,\"formats/link\":g.default,\"formats/script\":b.default,\"formats/strike\":m.default,\"formats/underline\":_.default,\"formats/image\":w.default,\"formats/video\":O.default,\"formats/list/item\":s.ListItem,\"modules/formula\":E.default,\"modules/syntax\":C.default,\"modules/toolbar\":T.default,\"themes/bubble\":N.default,\"themes/snow\":D.default,\"ui/icons\":j.default,\"ui/picker\":A.default,\"ui/icon-picker\":R.default,\"ui/color-picker\":P.default,\"ui/tooltip\":S.default},!0),e.default=r.default},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.IndentClass=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(0))&&r.__esModule?r:{default:r},u=new(function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Attributor.Class),i(e,[{key:\"add\",value:function(t,n){if(\"+1\"===n||\"-1\"===n){var r=this.value(t)||0;n=\"+1\"===n?r+1:r-1}return 0===n?(this.remove(t),!0):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"add\",this).call(this,t,n)}},{key:\"canAdd\",value:function(t,n){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"canAdd\",this).call(this,t,n)||o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"canAdd\",this).call(this,t,parseInt(n))}},{key:\"value\",value:function(t){return parseInt(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"value\",this).call(this,t))||void 0}}]),e}())(\"indent\",\"ql-indent\",{scope:l.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(4))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"blockquote\",o.tagName=\"blockquote\",e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(4))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),i(e,null,[{key:\"formats\",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}();l.blotName=\"header\",l.tagName=[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"],e.default=l},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.ListItem=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},o=a(n(0)),l=a(n(4)),u=a(n(25));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function c(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function f(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,l.default),r(e,[{key:\"format\",value:function(t,n){t!==p.blotName||n?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n):this.replaceWith(o.default.create(this.statics.scope))}},{key:\"remove\",value:function(){null==this.prev&&null==this.next?this.parent.remove():i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"remove\",this).call(this)}},{key:\"replaceWith\",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replaceWith\",this).call(this,t,n))}}],[{key:\"formats\",value:function(t){return t.tagName===this.tagName?void 0:i(e.__proto__||Object.getPrototypeOf(e),\"formats\",this).call(this,t)}}]),e}();h.blotName=\"list-item\",h.tagName=\"LI\";var p=function(t){function e(t){s(this,e);var n=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),i=o.default.find(e.target);\"checked\"===r?i.format(\"list\",\"unchecked\"):\"unchecked\"===r&&i.format(\"list\",\"checked\")}};return t.addEventListener(\"touchstart\",r),t.addEventListener(\"mousedown\",r),n}return f(e,u.default),r(e,null,[{key:\"create\",value:function(t){var n=\"ordered\"===t?\"OL\":\"UL\",r=i(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,n);return\"checked\"!==t&&\"unchecked\"!==t||r.setAttribute(\"data-checked\",\"checked\"===t),r}},{key:\"formats\",value:function(t){return\"OL\"===t.tagName?\"ordered\":\"UL\"===t.tagName?t.hasAttribute(\"data-checked\")?\"true\"===t.getAttribute(\"data-checked\")?\"checked\":\"unchecked\":\"bullet\":void 0}}]),r(e,[{key:\"format\",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:\"formats\",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:\"insertBefore\",value:function(t,n){if(t instanceof h)i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertBefore\",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:\"optimize\",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute(\"data-checked\")===this.domNode.getAttribute(\"data-checked\")&&(n.moveChildren(this),n.remove())}},{key:\"replace\",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replace\",this).call(this,t)}}]),e}();p.blotName=\"list\",p.scope=o.default.Scope.BLOCK_BLOT,p.tagName=[\"OL\",\"UL\"],p.defaultChild=\"list-item\",p.allowedChildren=[h],e.ListItem=h,e.default=p},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(56))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"italic\",o.tagName=[\"EM\",\"I\"],e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(6))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),i(e,null,[{key:\"create\",value:function(t){return\"super\"===t?document.createElement(\"sup\"):\"sub\"===t?document.createElement(\"sub\"):function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t)}},{key:\"formats\",value:function(t){return\"SUB\"===t.tagName?\"sub\":\"SUP\"===t.tagName?\"super\":void 0}}]),e}();l.blotName=\"script\",l.tagName=[\"SUB\",\"SUP\"],e.default=l},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"strike\",o.tagName=\"S\",e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"underline\",o.tagName=\"U\",e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(0))&&r.__esModule?r:{default:r},u=n(27),a=[\"alt\",\"height\",\"width\"],s=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Embed),i(e,[{key:\"format\",value:function(t,n){a.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n)}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return\"string\"==typeof t&&n.setAttribute(\"src\",this.sanitize(t)),n}},{key:\"formats\",value:function(t){return a.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:\"match\",value:function(t){return/\\.(jpe?g|gif|png)\$/.test(t)||/^data:image\\/.+;base64/.test(t)}},{key:\"sanitize\",value:function(t){return(0,u.sanitize)(t,[\"http\",\"https\",\"data\"])?t:\"//:0\"}},{key:\"value\",value:function(t){return t.getAttribute(\"src\")}}]),e}();s.blotName=\"image\",s.tagName=\"IMG\",e.default=s},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=n(4),u=(r=n(27))&&r.__esModule?r:{default:r},a=[\"height\",\"width\"],s=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.BlockEmbed),i(e,[{key:\"format\",value:function(t,n){a.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n)}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return n.setAttribute(\"frameborder\",\"0\"),n.setAttribute(\"allowfullscreen\",!0),n.setAttribute(\"src\",this.sanitize(t)),n}},{key:\"formats\",value:function(t){return a.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:\"sanitize\",value:function(t){return u.default.sanitize(t)}},{key:\"value\",value:function(t){return t.getAttribute(\"src\")}}]),e}();s.blotName=\"video\",s.className=\"ql-video\",s.tagName=\"IFRAME\",e.default=s},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.FormulaBlot=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=u(n(35)),o=u(n(5)),l=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function s(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function c(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,i.default),r(e,null,[{key:\"create\",value:function(t){var n=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return\"string\"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:\"#f00\"}),n.setAttribute(\"data-value\",t)),n}},{key:\"value\",value:function(t){return t.getAttribute(\"data-value\")}}]),e}();f.blotName=\"formula\",f.className=\"ql-formula\",f.tagName=\"SPAN\";var h=function(t){function e(){a(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error(\"Formula module requires KaTeX.\");return t}return c(e,l.default),r(e,null,[{key:\"register\",value:function(){o.default.register(f,!0)}}]),e}();e.FormulaBlot=f,e.default=h},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=a(n(0)),o=a(n(5)),l=a(n(9)),u=a(n(13));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function c(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function f(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,u.default),r(e,[{key:\"replaceWith\",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replaceWith\",this).call(this,t)}},{key:\"highlight\",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}();h.className=\"ql-syntax\";var p=new i.default.Attributor.Class(\"token\",\"hljs\",{scope:i.default.Scope.INLINE}),d=function(t){function e(t,n){s(this,e);var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(\"function\"!=typeof r.options.highlight)throw new Error(\"Syntax module requires highlight.js. Please include the library on the page before Quill.\");var i=null;return r.quill.on(o.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(i),i=setTimeout(function(){r.highlight(),i=null},r.options.interval)}),r.highlight(),r}return f(e,l.default),r(e,null,[{key:\"register\",value:function(){o.default.register(p,!0),o.default.register(h,!0)}}]),r(e,[{key:\"highlight\",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(o.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(h).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(o.default.sources.SILENT),null!=e&&this.quill.setSelection(e,o.default.sources.SILENT)}}}]),e}();d.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=h,e.CodeToken=p,e.default=d},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <g class=\"ql-fill ql-color-label\"> <polygon points=\"6 6.868 6 6 5 6 5 7 5.942 7 6 6.868\"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points=\"6.817 5 6 5 6 6 6.38 6 6.817 5\"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points=\"4 11.439 4 11 3 11 3 12 3.755 12 4 11.439\"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points=\"4.63 10 4 10 4 11 4.192 11 4.63 10\"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points=\"13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174\"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points=\"12 6.868 12 6 11.62 6 12 6.868\"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points=\"12.933 9 13 9 13 8 12.495 8 12.933 9\"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points=\"5.5 13 9 5 12.5 13\"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <rect class=\"ql-fill ql-stroke\" height=3 width=3 x=4 y=5></rect> <rect class=\"ql-fill ql-stroke\" height=3 width=3 x=11 y=5></rect> <path class=\"ql-even ql-fill ql-stroke\" d=M7,8c0,4.031-3,5-3,5></path> <path class=\"ql-even ql-fill ql-stroke\" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class=\"\" viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=\"ql-color-label ql-stroke ql-transparent\" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points=\"5.5 11 9 3 12.5 11\"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polygon class=\"ql-stroke ql-fill\" points=\"3 11 5 9 3 7 3 11\"></polygon> <line class=\"ql-stroke ql-fill\" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polygon class=\"ql-stroke ql-fill\" points=\"15 12 13 10 15 8 15 12\"></polygon> <line class=\"ql-stroke ql-fill\" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform=\"translate(24 18) rotate(-180)\"/> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox=\"0 0 18 18\"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox=\"0 0 18 18\"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class=\"ql-even ql-fill\" points=\"5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=\"ql-fill ql-stroke\" points=\"3 7 3 11 5 9 3 7\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points=\"5 7 5 11 3 9 5 7\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class=\"ql-even ql-stroke\" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class=\"ql-even ql-stroke\" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class=\"ql-stroke ql-thin\" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class=\"ql-stroke ql-thin\" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class=\"ql-stroke ql-thin\" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class=\"\" viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points=\"3 4 4 5 6 3\"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points=\"3 14 4 15 6 13\"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points=\"3 9 4 10 6 8\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=\"ql-stroke ql-thin\" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polygon class=ql-stroke points=\"7 11 9 13 11 11 7 11\"></polygon> <polygon class=ql-stroke points=\"7 7 9 5 11 7 7 7\"></polygon> </svg>'},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.BubbleTooltip=void 0;var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=f(n(3)),l=f(n(8)),u=n(43),a=f(u),s=n(15),c=f(n(41));function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function p(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function d(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[[\"bold\",\"italic\",\"link\"],[{header:1},{header:2},\"blockquote\"]],v=function(t){function e(t,n){h(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=y);var r=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add(\"ql-bubble\"),r}return d(e,a.default),i(e,[{key:\"extendToolbar\",value:function(t){this.tooltip=new g(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll(\"button\")),c.default),this.buildPickers([].slice.call(t.container.querySelectorAll(\"select\")),c.default)}}]),e}();v.DEFAULTS=(0,o.default)(!0,{},a.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format(\"link\",!1)}}}}});var g=function(t){function e(t,n){h(this,e);var r=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(l.default.events.EDITOR_CHANGE,function(t,e,n,i){if(t===l.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&i===l.default.sources.USER){r.show(),r.root.style.left=\"0px\",r.root.style.width=\"\",r.root.style.width=r.root.offsetWidth+\"px\";var o=r.quill.getLines(e.index,e.length);if(1===o.length)r.position(r.quill.getBounds(e));else{var u=o[o.length-1],a=r.quill.getIndex(u),c=Math.min(u.length()-1,e.index+e.length-a),f=r.quill.getBounds(new s.Range(a,c));r.position(f)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return d(e,u.BaseTooltip),i(e,[{key:\"listen\",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"listen\",this).call(this),this.root.querySelector(\".ql-close\").addEventListener(\"click\",function(){t.root.classList.remove(\"ql-editing\")}),this.quill.on(l.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains(\"ql-hidden\")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:\"cancel\",value:function(){this.show()}},{key:\"position\",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"position\",this).call(this,t),i=this.root.querySelector(\".ql-tooltip-arrow\");if(i.style.marginLeft=\"\",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+\"px\"}}]),e}();g.TEMPLATE=['<span class=\"ql-tooltip-arrow\"></span>','<div class=\"ql-tooltip-editor\">','<input type=\"text\" data-formula=\"e=mc^2\" data-link=\"https://quilljs.com\" data-video=\"Embed URL\">','<a class=\"ql-close\"></a>',\"</div>\"].join(\"\"),e.BubbleTooltip=g,e.default=v},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()}).call(e,n(\"63KW\").Buffer)}});";
        
        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);

        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "@public_path/dist/0.2bf35b2cad2008573fe3.chunk.js";
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array ();
    }

    public function getSourceContext()
    {
        return new Source("webpackJsonp([0],{\"+0cU\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){function t(){}return t.prototype.ngOnInit=function(){},t}()},\"+Qf+\":function(t,e,n){\"use strict\";var r;n.d(e,\"a\",function(){return r}),function(t){t[t.PREV=0]=\"PREV\",t[t.NEXT=1]=\"NEXT\"}(r||(r={}))},\"+dDw\":function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return o}),n.d(e,\"a\",function(){return l});var r=n(\"WT6e\"),i=(n(\"mN9t\"),Object(r.forwardRef)(function(){return o}),0),o=function(){function t(){this._radios=new Set,this._value=null,this.name=\"ngb-radio-\"+i++,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,\"disabled\",{get:function(){return this._disabled},set:function(t){this.setDisabledState(t)},enumerable:!0,configurable:!0}),t.prototype.onRadioChange=function(t){this.writeValue(t.value),this.onChange(t.value)},t.prototype.onRadioValueUpdate=function(){this._updateRadiosValue()},t.prototype.register=function(t){this._radios.add(t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t,this._updateRadiosDisabled()},t.prototype.unregister=function(t){this._radios.delete(t)},t.prototype.writeValue=function(t){this._value=t,this._updateRadiosValue()},t.prototype._updateRadiosValue=function(){var t=this;this._radios.forEach(function(e){return e.updateValue(t._value)})},t.prototype._updateRadiosDisabled=function(){this._radios.forEach(function(t){return t.updateDisabled()})},t}(),l=function(){function t(t,e,n,r){this._group=t,this._label=e,this._renderer=n,this._element=r,this._value=null,this._group.register(this)}return Object.defineProperty(t.prototype,\"value\",{get:function(){return this._value},set:function(t){this._value=t;var e=t?t.toString():\"\";this._renderer.setProperty(this._element.nativeElement,\"value\",e),this._group.onRadioValueUpdate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"disabled\",{get:function(){return this._group.disabled||this._disabled},set:function(t){this._disabled=!1!==t,this.updateDisabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"focused\",{set:function(t){this._label&&(this._label.focused=t),t||this._group.onTouched()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"checked\",{get:function(){return this._checked},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"nameAttr\",{get:function(){return this.name||this._group.name},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._group.unregister(this)},t.prototype.onChange=function(){this._group.onRadioChange(this)},t.prototype.updateValue=function(t){this._checked=this.value===t,this._label.active=this._checked},t.prototype.updateDisabled=function(){this._label.disabled=this.disabled},t}()},\"/I96\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"l5HU\");var r=n(\"DDfv\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"/KGk\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=n(\"+Qf+\"),l=n(\"2yGx\"),u=n(\"RTdB\"),a=(Object(r.forwardRef)(function(){return a}),function(){function t(t,e,n,i,o,l,a,s){var c=this;this._keyMapService=t,this._service=e,this._calendar=n,this.i18n=i,this._cd=l,this._elementRef=a,this._ngbDateAdapter=s,this.navigate=new r.EventEmitter,this.select=new r.EventEmitter,this.onChange=function(t){},this.onTouched=function(){},this.dayTemplate=o.dayTemplate,this.displayMonths=o.displayMonths,this.firstDayOfWeek=o.firstDayOfWeek,this.markDisabled=o.markDisabled,this.minDate=o.minDate,this.maxDate=o.maxDate,this.navigation=o.navigation,this.outsideDays=o.outsideDays,this.showWeekdays=o.showWeekdays,this.showWeekNumbers=o.showWeekNumbers,this.startDate=o.startDate,this._selectSubscription=e.select\$.subscribe(function(t){c.select.emit(t.toStruct())}),this._subscription=e.model\$.subscribe(function(t){var e=t.firstDate,n=c.model?c.model.firstDate:null,r=t.selectedDate,i=c.model?c.model.selectedDate:null;c.model=t,Object(u.f)(r,i)&&(c.onTouched(),c.onChange(c._ngbDateAdapter.toModel(r))),e.equals(n)||c.navigate.emit({current:n?{year:n.year,month:n.month}:null,next:{year:e.year,month:e.month}}),l.markForCheck()})}return t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype.navigateTo=function(t){this._service.open(i.a.from(t))},t.prototype.ngOnDestroy=function(){this._subscription.unsubscribe(),this._selectSubscription.unsubscribe()},t.prototype.ngOnInit=function(){void 0===this.model&&(this._service.displayMonths=Object(l.h)(this.displayMonths),this._service.markDisabled=this.markDisabled,this._service.firstDayOfWeek=this.firstDayOfWeek,this._service.navigation=this.navigation,this._service.minDate=i.a.from(this.minDate),this._service.maxDate=i.a.from(this.maxDate),this.navigateTo(this.startDate))},t.prototype.ngOnChanges=function(t){t.displayMonths&&(this._service.displayMonths=Object(l.h)(this.displayMonths)),t.markDisabled&&(this._service.markDisabled=this.markDisabled),t.firstDayOfWeek&&(this._service.firstDayOfWeek=this.firstDayOfWeek),t.navigation&&(this._service.navigation=this.navigation),t.minDate&&(this._service.minDate=i.a.from(this.minDate)),t.maxDate&&(this._service.maxDate=i.a.from(this.maxDate)),t.startDate&&this.navigateTo(this.startDate)},t.prototype.onDateSelect=function(t){this._service.focus(t),this._service.select(t,{emitEvent:!0})},t.prototype.onKeyDown=function(t){this._keyMapService.processKey(t)},t.prototype.onNavigateDateSelect=function(t){this._service.open(t)},t.prototype.onNavigateEvent=function(t){switch(t){case o.a.PREV:this._service.open(this._calendar.getPrev(this.model.firstDate,\"m\",1));break;case o.a.NEXT:this._service.open(this._calendar.getNext(this.model.firstDate,\"m\",1))}},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._service.disabled=t},t.prototype.showFocus=function(t){this._service.focusVisible=t},t.prototype.writeValue=function(t){this._service.select(i.a.from(this._ngbDateAdapter.fromModel(t)))},t}())},\"/PMa\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n.d(e,\"b\",function(){return o});var r=n(\"WT6e\"),i=function(t,e,n){this.nodes=t,this.viewRef=e,this.componentRef=n},o=function(){function t(t,e,n,r,i){this._type=t,this._injector=e,this._viewContainerRef=n,this._renderer=r,this._componentFactoryResolver=i}return t.prototype.open=function(t,e){return this._windowRef||(this._contentRef=this._getContentRef(t,e),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),0,this._injector,this._contentRef.nodes)),this._windowRef},t.prototype.close=function(){this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,this._contentRef.viewRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._contentRef.viewRef)),this._contentRef=null))},t.prototype._getContentRef=function(t,e){if(t){if(t instanceof r.TemplateRef){var n=this._viewContainerRef.createEmbeddedView(t,e);return new i([n.rootNodes],n)}return new i([[this._renderer.createText(\"\"+t)]])}return new i([])},t}()},\"/i+G\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"2yGx\"),o=function(){function t(t){this.pageCount=0,this.pages=[],this.page=1,this.pageChange=new r.EventEmitter(!0),this.disabled=t.disabled,this.boundaryLinks=t.boundaryLinks,this.directionLinks=t.directionLinks,this.ellipses=t.ellipses,this.maxSize=t.maxSize,this.pageSize=t.pageSize,this.rotate=t.rotate,this.size=t.size}return t.prototype.hasPrevious=function(){return this.page>1},t.prototype.hasNext=function(){return this.page<this.pageCount},t.prototype.selectPage=function(t){this._updatePages(t)},t.prototype.ngOnChanges=function(t){this._updatePages(this.page)},t.prototype.isEllipsis=function(t){return-1===t},t.prototype._applyEllipses=function(t,e){this.ellipses&&(t>0&&(t>1&&this.pages.unshift(-1),this.pages.unshift(1)),e<this.pageCount&&(e<this.pageCount-1&&this.pages.push(-1),this.pages.push(this.pageCount)))},t.prototype._applyRotation=function(){var t=0,e=this.pageCount,n=Math.floor(this.maxSize/2);return this.page<=n?e=this.maxSize:this.pageCount-this.page<n?t=this.pageCount-this.maxSize:(t=this.page-n-1,e=this.page+(this.maxSize%2==0?n-1:n)),[t,e]},t.prototype._applyPagination=function(){var t=(Math.ceil(this.page/this.maxSize)-1)*this.maxSize;return[t,t+this.maxSize]},t.prototype._setPageInRange=function(t){var e=this.page;this.page=Object(i.a)(t,this.pageCount,1),this.page!==e&&Object(i.d)(this.collectionSize)&&this.pageChange.emit(this.page)},t.prototype._updatePages=function(t){this.pageCount=Math.ceil(this.collectionSize/this.pageSize),Object(i.d)(this.pageCount)||(this.pageCount=0),this.pages.length=0;for(var e=1;e<=this.pageCount;e++)this.pages.push(e);if(this._setPageInRange(t),this.maxSize>0&&this.pageCount>this.maxSize){var n=0,r=this.pageCount;this.rotate?(n=(o=this._applyRotation())[0],r=o[1]):(n=(l=this._applyPagination())[0],r=l[1]),this.pages=this.pages.slice(n,r),this._applyEllipses(n,r)}var o,l},t}()},\"0DDR\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a});var r=n(\"WT6e\"),i=n(\"xOmt\"),o=n(\"Xjw4\"),l=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,4,\"div\",[[\"role\",\"document\"]],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,1,\"div\",[[\"class\",\"modal-content\"]],null,null,null,null,null)),r[\"\\u0275ncd\"](null,0),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],null,function(t,e){var n=e.component;t(e,1,0,\"modal-dialog\"+(n.size?\" modal-\"+n.size:\"\")+(n.centered?\" modal-dialog-centered\":\"\"))})}var a=r[\"\\u0275ccf\"](\"ngb-modal-window\",i.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-modal-window\",[[\"role\",\"dialog\"],[\"tabindex\",\"-1\"]],[[8,\"className\",0]],[[null,\"keyup.esc\"],[null,\"click\"]],function(t,e,n){var i=!0;return\"keyup.esc\"===e&&(i=!1!==r[\"\\u0275nov\"](t,1).escKey(n)&&i),\"click\"===e&&(i=!1!==r[\"\\u0275nov\"](t,1).backdropClick(n)&&i),i},u,l)),r[\"\\u0275did\"](1,4440064,null,0,i.a,[o.c,r.ElementRef,r.Renderer2],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,\"modal fade show d-block\"+(r[\"\\u0275nov\"](e,1).windowClass?\" \"+r[\"\\u0275nov\"](e,1).windowClass:\"\"))})},{backdrop:\"backdrop\",centered:\"centered\",keyboard:\"keyboard\",size:\"size\",windowClass:\"windowClass\"},{dismissEvent:\"dismiss\"},[\"*\"])},\"1Wt5\":function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=n(\"EzwU\"),l=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".ngb-highlight[_ngcontent-%COMP%] {\\n      font-weight: bold;\\n    }\"],data:{}});function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"span\",[],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\",\"\"]))],null,function(t,e){t(e,0,0,r[\"\\u0275inlineInterpolate\"](1,\"\",e.component.highlightClass,\"\")),t(e,1,0,e.parent.context.\$implicit)})}function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](0,null,[\"\",\"\"]))],null,function(t,e){t(e,0,0,e.parent.context.\$implicit)})}function s(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,u)),r[\"\\u0275did\"](1,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275and\"](0,null,null,0))],function(t,e){t(e,1,0,e.context.odd),t(e,3,0,!e.context.odd)},null)}function c(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,s)),r[\"\\u0275did\"](1,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null)],function(t,e){t(e,1,0,e.component.parts)},null)}var f=n(\"2BXm\");n.d(e,\"a\",function(){return g});var h=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,1,\"ngb-highlight\",[],null,null,null,c,l)),r[\"\\u0275did\"](2,573440,null,0,o.a,[],{result:[0,\"result\"],term:[1,\"term\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,2,0,e.context.formatter(e.context.result),e.context.term)},null)}function d(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](0,null,null,0))],null,null)}function y(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,5,\"button\",[[\"class\",\"dropdown-item\"],[\"role\",\"option\"],[\"type\",\"button\"]],[[8,\"id\",0],[2,\"active\",null]],[[null,\"mouseenter\"],[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"mouseenter\"===e&&(r=!1!==i.markActive(t.context.index)&&r),\"click\"===e&&(r=!1!==i.select(t.context.\$implicit)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,2,null,d)),r[\"\\u0275did\"](4,540672,null,0,i.p,[r.ViewContainerRef],{ngTemplateOutletContext:[0,\"ngTemplateOutletContext\"],ngTemplateOutlet:[1,\"ngTemplateOutlet\"]},null),r[\"\\u0275pod\"](5,{result:0,term:1,formatter:2}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,4,0,t(e,5,0,e.context.\$implicit,n.term,n.formatter),n.resultTemplate||r[\"\\u0275nov\"](e.parent,1))},function(t,e){var n=e.component;t(e,1,0,n.id+\"-\"+e.context.index,e.context.index===n.activeIdx)})}function v(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](0,[[\"rt\",2]],null,0,null,p)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,y)),r[\"\\u0275did\"](4,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){t(e,4,0,e.component.results)},null)}var g=r[\"\\u0275ccf\"](\"ngb-typeahead-window\",f.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-typeahead-window\",[[\"class\",\"dropdown-menu show\"],[\"role\",\"listbox\"]],[[8,\"id\",0]],null,null,v,h)),r[\"\\u0275did\"](1,114688,null,0,f.a,[],null,null)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,r[\"\\u0275nov\"](e,1).id)})},{id:\"id\",focusFirst:\"focusFirst\",results:\"results\",term:\"term\",formatter:\"formatter\",resultTemplate:\"resultTemplate\"},{selectEvent:\"select\",activeChangeEvent:\"activeChange\"},[])},\"1Z2I\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"W5jB\");var r=n(\"nCuf\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"2BXm\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"2yGx\"),o=function(){function t(){this.activeIdx=0,this.focusFirst=!0,this.formatter=i.i,this.selectEvent=new r.EventEmitter,this.activeChangeEvent=new r.EventEmitter}return t.prototype.hasActive=function(){return this.activeIdx>-1&&this.activeIdx<this.results.length},t.prototype.getActive=function(){return this.results[this.activeIdx]},t.prototype.markActive=function(t){this.activeIdx=t,this._activeChanged()},t.prototype.next=function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()},t.prototype.prev=function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()},t.prototype.select=function(t){this.selectEvent.emit(t)},t.prototype.ngOnInit=function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()},t.prototype._activeChanged=function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+\"-\"+this.activeIdx:void 0)},t}()},\"2MpB\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"WtNX\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".bs-popover-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: 50%;\\n      margin-left: -5px;\\n    }\\n\\n    .bs-popover-top-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-bottom-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: 2em;\\n    }\\n\\n    .bs-popover-top-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-bottom-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: auto;\\n      right: 2em;\\n    }\\n\\n    .bs-popover-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: 50%;\\n      margin-top: -5px;\\n    }\\n    \\n    .bs-popover-left-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-right-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: 0.7em;\\n    }\\n\\n    .bs-popover-left-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-popover-right-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: auto;\\n      bottom: 0.7em;\\n    }\"],data:{}});function l(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,0,\"div\",[[\"class\",\"arrow\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,1,\"h3\",[[\"class\",\"popover-header\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](4,null,[\"\",\"\"])),(t()(),r[\"\\u0275eld\"](5,0,null,null,1,\"div\",[[\"class\",\"popover-body\"]],null,null,null,null,null)),r[\"\\u0275ncd\"](null,0)],null,function(t,e){t(e,4,0,e.component.title)})}var u=r[\"\\u0275ccf\"](\"ngb-popover-window\",i.b,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-popover-window\",[[\"role\",\"tooltip\"]],[[8,\"className\",0],[8,\"id\",0]],null,null,l,o)),r[\"\\u0275did\"](1,49152,null,0,i.b,[r.ElementRef,r.Renderer2],null,null)],null,function(t,e){t(e,0,0,\"popover bs-popover-\"+r[\"\\u0275nov\"](e,1).placement.split(\"-\")[0]+\" bs-popover-\"+r[\"\\u0275nov\"](e,1).placement,r[\"\\u0275nov\"](e,1).id)})},{placement:\"placement\",title:\"title\",id:\"id\"},{},[\"*\"])},\"2yGx\":function(t,e,n){\"use strict\";function r(t){return parseInt(\"\"+t,10)}function i(t){return!isNaN(r(t))}e.h=r,e.i=function(t){return void 0!==t&&null!==t?\"\"+t:\"\"},e.a=function(t,e,n){return void 0===n&&(n=0),Math.max(Math.min(t,e),n)},e.e=function(t){return\"string\"==typeof t},e.d=i,e.c=function(t){return\"number\"==typeof t&&isFinite(t)&&Math.floor(t)===t},e.b=function(t){return void 0!==t&&null!==t},e.f=function(t){return i(t)?(\"0\"+t).slice(-2):\"\"},e.g=function(t){return t.replace(/[-[\\]{}()*+?.,\\\\^\$|#\\s]/g,\"\\\\\$&\")}},\"36xC\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){}},\"3IRH\":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,\"loaded\",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,\"id\",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},\"3fcS\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"+Qf+\"),o=function(){return function(t){this.i18n=t,this.navigation=i.a,this.months=[],this.navigate=new r.EventEmitter,this.select=new r.EventEmitter}}()},\"3kwk\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r}),n(\"CXHW\");var r=function(){function t(t,e,n){this._moduleCFR=t,this._injector=e,this._modalStack=n}return t.prototype.open=function(t,e){return void 0===e&&(e={}),this._modalStack.open(this._moduleCFR,this._injector,t,e)},t}()},\"4qxJ\":function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return u}),e.c=s,n.d(e,\"a\",function(){return c});var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=n(\"s28n\"),l=n(\"gFLb\"),u=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"button\",[[\"aria-label\",\"Close\"],[\"class\",\"close\"],[\"type\",\"button\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.closeHandler()&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xd7\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,null)}function s(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,6,\"div\",[[\"role\",\"alert\"]],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](4,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),r[\"\\u0275ncd\"](null,0),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,4,0,e.component.dismissible)},function(t,e){var n=e.component;t(e,1,0,\"alert alert-\"+n.type+(n.dismissible?\" alert-dismissible\":\"\"))})}var c=r[\"\\u0275ccf\"](\"ngb-alert\",o.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-alert\",[],null,null,null,s,u)),r[\"\\u0275did\"](1,49152,null,0,o.a,[l.a],null,null)],null,null)},{dismissible:\"dismissible\",type:\"type\"},{close:\"close\"},[\"*\"])},\"5ZV5\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.doSelect=function(t){t.context.disabled||this.isHidden(t)||this.select.emit(i.a.from(t.date))},t.prototype.isCollapsed=function(t){return\"collapsed\"===this.outsideDays&&t.days[0].date.month!==this.month.number&&t.days[t.days.length-1].date.month!==this.month.number},t.prototype.isHidden=function(t){return(\"hidden\"===this.outsideDays||\"collapsed\"===this.outsideDays)&&this.month.number!==t.date.month},t}()},\"62nT\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"OEcN\");var r=n(\"tyH+\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"63KW\":function(t,e,n){\"use strict\";(function(t){var r=n(\"EKta\"),i=n(\"ujcs\"),o=n(\"sOR5\");function l(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(l()<e)throw new RangeError(\"Invalid typed array length\");return a.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=a.prototype:(null===t&&(t=new a(e)),t.length=e),t}function a(t,e,n){if(!(a.TYPED_ARRAY_SUPPORT||this instanceof a))return new a(t,e,n);if(\"number\"==typeof t){if(\"string\"==typeof e)throw new Error(\"If encoding is specified then the first argument must be a string\");return f(this,t)}return s(this,t,e,n)}function s(t,e,n,r){if(\"number\"==typeof e)throw new TypeError('\"value\" argument must not be a number');return\"undefined\"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(n<0||e.byteLength<n)throw new RangeError(\"'offset' is out of bounds\");if(e.byteLength<n+(r||0))throw new RangeError(\"'length' is out of bounds\");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),a.TYPED_ARRAY_SUPPORT?(t=e).__proto__=a.prototype:t=h(t,e),t}(t,e,n,r):\"string\"==typeof e?function(t,e,n){if(\"string\"==typeof n&&\"\"!==n||(n=\"utf8\"),!a.isEncoding(n))throw new TypeError('\"encoding\" must be a valid string encoding');var r=0|d(e,n),i=(t=u(t,r)).write(e,n);return i!==r&&(t=t.slice(0,i)),t}(t,e,n):function(t,e){if(a.isBuffer(e)){var n=0|p(e.length);return 0===(t=u(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if(\"undefined\"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||\"length\"in e)return\"number\"!=typeof e.length||(r=e.length)!=r?u(t,0):h(t,e);if(\"Buffer\"===e.type&&o(e.data))return h(t,e.data)}var r;throw new TypeError(\"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.\")}(t,e)}function c(t){if(\"number\"!=typeof t)throw new TypeError('\"size\" argument must be a number');if(t<0)throw new RangeError('\"size\" argument must not be negative')}function f(t,e){if(c(e),t=u(t,e<0?0:0|p(e)),!a.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|p(e.length);t=u(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function p(t){if(t>=l())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+l().toString(16)+\" bytes\");return 0|t}function d(t,e){if(a.isBuffer(t))return t.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;\"string\"!=typeof t&&(t=\"\"+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":case void 0:return B(t).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*n;case\"hex\":return n>>>1;case\"base64\":return F(t).length;default:if(r)return B(t).length;e=(\"\"+e).toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if(\"string\"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if(\"string\"==typeof e&&(e=a.from(e,r)),a.isBuffer(e))return 0===e.length?-1:g(t,e,n,r,i);if(\"number\"==typeof e)return e&=255,a.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):g(t,[e],n,r,i);throw new TypeError(\"val must be string, number or Buffer\")}function g(t,e,n,r,i){var o,l=1,u=t.length,a=e.length;if(void 0!==r&&(\"ucs2\"===(r=String(r).toLowerCase())||\"ucs-2\"===r||\"utf16le\"===r||\"utf-16le\"===r)){if(t.length<2||e.length<2)return-1;l=2,u/=2,a/=2,n/=2}function s(t,e){return 1===l?t[e]:t.readUInt16BE(e*l)}if(i){var c=-1;for(o=n;o<u;o++)if(s(t,o)===s(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===a)return c*l}else-1!==c&&(o-=o-c),c=-1}else for(n+a>u&&(n=u-a),o=n;o>=0;o--){for(var f=!0,h=0;h<a;h++)if(s(t,o+h)!==s(e,h)){f=!1;break}if(f)return o}return-1}function b(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");r>o/2&&(r=o/2);for(var l=0;l<r;++l){var u=parseInt(e.substr(2*l,2),16);if(isNaN(u))return l;t[n+l]=u}return l}function m(t,e,n,r){return U(B(e,t.length-n),t,n,r)}function _(t,e,n,r){return U(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return _(t,e,n,r)}function O(t,e,n,r){return U(F(e),t,n,r)}function x(t,e,n,r){return U(function(t,e){for(var n,r,i=[],o=0;o<t.length&&!((e-=2)<0);++o)r=(n=t.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}(e,t.length-n),t,n,r)}function k(t,e,n){return r.fromByteArray(0===e&&n===t.length?t:t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,l,u,a,s=t[i],c=null,f=s>239?4:s>223?3:s>191?2:1;if(i+f<=n)switch(f){case 1:s<128&&(c=s);break;case 2:128==(192&(o=t[i+1]))&&(a=(31&s)<<6|63&o)>127&&(c=a);break;case 3:l=t[i+2],128==(192&(o=t[i+1]))&&128==(192&l)&&(a=(15&s)<<12|(63&o)<<6|63&l)>2047&&(a<55296||a>57343)&&(c=a);break;case 4:l=t[i+2],u=t[i+3],128==(192&(o=t[i+1]))&&128==(192&l)&&128==(192&u)&&(a=(15&s)<<18|(63&o)<<12|(63&l)<<6|63&u)>65535&&a<1114112&&(c=a)}null===c?(c=65533,f=1):c>65535&&(r.push((c-=65536)>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(t){var e=t.length;if(e<=C)return String.fromCharCode.apply(String,t);for(var n=\"\",r=0;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=C));return n}(r)}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&\"function\"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=l(),a.poolSize=8192,a._augment=function(t){return t.__proto__=a.prototype,t},a.from=function(t,e,n){return s(null,t,e,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,\"undefined\"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(t,e,n){return function(t,e,n,r){return c(e),e<=0?u(null,e):void 0!==n?\"string\"==typeof r?u(null,e).fill(n,r):u(null,e).fill(n):u(null,e)}(0,t,e,n)},a.allocUnsafe=function(t){return f(null,t)},a.allocUnsafeSlow=function(t){return f(null,t)},a.isBuffer=function(t){return!(null==t||!t._isBuffer)},a.compare=function(t,e){if(!a.isBuffer(t)||!a.isBuffer(e))throw new TypeError(\"Arguments must be Buffers\");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},a.isEncoding=function(t){switch(String(t).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}},a.concat=function(t,e){if(!o(t))throw new TypeError('\"list\" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=a.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var l=t[n];if(!a.isBuffer(l))throw new TypeError('\"list\" argument must be an Array of Buffers');l.copy(r,i),i+=l.length}return r},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},a.prototype.toString=function(){var t=0|this.length;return 0===t?\"\":0===arguments.length?E(this,0,t):(function(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return\"\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\"\";if((n>>>=0)<=(e>>>=0))return\"\";for(t||(t=\"utf8\");;)switch(t){case\"hex\":return A(this,e,n);case\"utf8\":case\"utf-8\":return E(this,e,n);case\"ascii\":return T(this,e,n);case\"latin1\":case\"binary\":return j(this,e,n);case\"base64\":return k(this,e,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return P(this,e,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+t);t=(t+\"\").toLowerCase(),r=!0}}).apply(this,arguments)},a.prototype.equals=function(t){if(!a.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t=\"\",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString(\"hex\",0,n).match(/.{2}/g).join(\" \"),this.length>n&&(t+=\" ... \")),\"<Buffer \"+t+\">\"},a.prototype.compare=function(t,e,n,r,i){if(!a.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError(\"out of range index\");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,l=n-e,u=Math.min(o,l),s=this.slice(r,i),c=t.slice(e,n),f=0;f<u;++f)if(s[f]!==c[f]){o=s[f],l=c[f];break}return o<l?-1:l<o?1:0},a.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},a.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},a.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},a.prototype.write=function(t,e,n,r){if(void 0===e)r=\"utf8\",n=this.length,e=0;else if(void 0===n&&\"string\"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");e|=0,isFinite(n)?(n|=0,void 0===r&&(r=\"utf8\")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");r||(r=\"utf8\");for(var o=!1;;)switch(r){case\"hex\":return b(this,t,e,n);case\"utf8\":case\"utf-8\":return m(this,t,e,n);case\"ascii\":return _(this,t,e,n);case\"latin1\":case\"binary\":return w(this,t,e,n);case\"base64\":return O(this,t,e,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return x(this,t,e,n);default:if(o)throw new TypeError(\"Unknown encoding: \"+r);r=(\"\"+r).toLowerCase(),o=!0}},a.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function T(t,e,n){var r=\"\";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function j(t,e,n){var r=\"\";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function A(t,e,n){var r,i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);for(var o=\"\",l=e;l<n;++l)o+=(r=t[l])<16?\"0\"+r.toString(16):r.toString(16);return o}function P(t,e,n){for(var r=t.slice(e,n),i=\"\",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function R(t,e,n){if(t%1!=0||t<0)throw new RangeError(\"offset is not uint\");if(t+e>n)throw new RangeError(\"Trying to access beyond buffer length\")}function S(t,e,n,r,i,o){if(!a.isBuffer(t))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('\"value\" argument is out of bounds');if(n+r>t.length)throw new RangeError(\"Index out of range\")}function N(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function D(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function M(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function q(t,e,n,r,o){return o||M(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function I(t,e,n,r,o){return o||M(t,0,n,8),i.write(t,e,n,r,52,8),n+8}a.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),a.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=a.prototype;else{var i=e-t;n=new a(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},a.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},a.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},a.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},a.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},a.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},a.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),i.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),i.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),i.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),i.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,n,r){t=+t,e|=0,n|=0,r||S(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},a.prototype.writeUIntBE=function(t,e,n,r){t=+t,e|=0,n|=0,r||S(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},a.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,1,255,0),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},a.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},a.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):D(this,t,e,!0),e+4},a.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=0,l=1,u=0;for(this[e]=255&t;++o<n&&(l*=256);)t<0&&0===u&&0!==this[e+o-1]&&(u=1),this[e+o]=(t/l>>0)-u&255;return e+n},a.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);S(this,t,e,n,i-1,-i)}var o=n-1,l=1,u=0;for(this[e+o]=255&t;--o>=0&&(l*=256);)t<0&&0===u&&0!==this[e+o+1]&&(u=1),this[e+o]=(t/l>>0)-u&255;return e+n},a.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,1,127,-128),a.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):N(this,t,e,!0),e+2},a.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):N(this,t,e,!1),e+2},a.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):D(this,t,e,!0),e+4},a.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||S(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),a.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):D(this,t,e,!1),e+4},a.prototype.writeFloatLE=function(t,e,n){return q(this,t,e,!0,n)},a.prototype.writeFloatBE=function(t,e,n){return q(this,t,e,!1,n)},a.prototype.writeDoubleLE=function(t,e,n){return I(this,t,e,!0,n)},a.prototype.writeDoubleBE=function(t,e,n){return I(this,t,e,!1,n)},a.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError(\"targetStart out of bounds\");if(n<0||n>=this.length)throw new RangeError(\"sourceStart out of bounds\");if(r<0)throw new RangeError(\"sourceEnd out of bounds\");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},a.prototype.fill=function(t,e,n,r){if(\"string\"==typeof t){if(\"string\"==typeof e?(r=e,e=0,n=this.length):\"string\"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&\"string\"!=typeof r)throw new TypeError(\"encoding must be a string\");if(\"string\"==typeof r&&!a.isEncoding(r))throw new TypeError(\"Unknown encoding: \"+r)}else\"number\"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError(\"Out of range index\");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),\"number\"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var l=a.isBuffer(t)?t:B(new a(t,r).toString()),u=l.length;for(o=0;o<n-e;++o)this[o+e]=l[o%u]}return this};var L=/[^+\\/0-9A-Za-z-_]/g;function B(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],l=0;l<r;++l){if((n=t.charCodeAt(l))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(l+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\\s+|\\s+\$/g,\"\")}(t).replace(L,\"\")).length<2)return\"\";for(;t.length%4!=0;)t+=\"=\";return t}(t))}function U(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(e,n(\"DuR2\"))},\"6uCv\":function(t,e,n){\"use strict\";n.d(e,\"c\",function(){return u}),n.d(e,\"b\",function(){return a}),n.d(e,\"d\",function(){return s}),n.d(e,\"a\",function(){return c});var r,i=n(\"WT6e\"),o=(n(\"c7mC\"),n(\"jRSa\")),l=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(){function t(t,e,n){this.dropdown=t,this._elementRef=e,this._renderer=n,this.placement=\"bottom\",this.isOpen=!1}return t.prototype.isEventFrom=function(t){return this._elementRef.nativeElement.contains(t.target)},t.prototype.position=function(t,e){this.applyPlacement(Object(o.a)(t,this._elementRef.nativeElement,e))},t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._elementRef.nativeElement.parentNode,\"dropup\"),this._renderer.removeClass(this._elementRef.nativeElement.parentNode,\"dropdown\"),this.placement=t,-1!==t.search(\"^top\")?this._renderer.addClass(this._elementRef.nativeElement.parentNode,\"dropup\"):this._renderer.addClass(this._elementRef.nativeElement.parentNode,\"dropdown\")},t}(),a=function(){function t(t,e){this.dropdown=t,this._elementRef=e,this.anchorEl=e.nativeElement}return t.prototype.isEventFrom=function(t){return this._elementRef.nativeElement.contains(t.target)},t}(),s=function(t){function e(e,n){return t.call(this,e,n)||this}return l(e,t),e.prototype.toggleOpen=function(){this.dropdown.toggle()},e}(a),c=function(){function t(t,e){var n=this;this._open=!1,this.openChange=new i.EventEmitter,this.placement=t.placement,this.autoClose=t.autoClose,this._zoneSubscription=e.onStable.subscribe(function(){n._positionMenu()})}return t.prototype.ngOnInit=function(){this._menu&&this._menu.applyPlacement(Array.isArray(this.placement)?this.placement[0]:this.placement)},t.prototype.isOpen=function(){return this._open},t.prototype.open=function(){this._open||(this._open=!0,this._positionMenu(),this.openChange.emit(!0))},t.prototype.close=function(){this._open&&(this._open=!1,this.openChange.emit(!1))},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.closeFromClick=function(t){this.autoClose&&2!==t.button&&!this._isEventFromToggle(t)&&(!0===this.autoClose?this.close():\"inside\"===this.autoClose&&this._isEventFromMenu(t)?this.close():\"outside\"!==this.autoClose||this._isEventFromMenu(t)||this.close())},t.prototype.closeFromOutsideEsc=function(){this.autoClose&&this.close()},t.prototype.ngOnDestroy=function(){this._zoneSubscription.unsubscribe()},t.prototype._isEventFromToggle=function(t){return this._anchor.isEventFrom(t)},t.prototype._isEventFromMenu=function(t){return!!this._menu&&this._menu.isEventFrom(t)},t.prototype._positionMenu=function(){this.isOpen()&&this._menu&&this._menu.position(this._anchor.anchorEl,this.placement)},t}()},\"7DGp\":function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return o}),n.d(e,\"a\",function(){return l});var r=n(\"TToO\"),i=n(\"2yGx\"),o=function(){},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.__extends)(e,t),e.prototype.parse=function(t){if(t){var e=t.trim().split(\"-\");if(1===e.length&&Object(i.d)(e[0]))return{year:Object(i.h)(e[0]),month:null,day:null};if(2===e.length&&Object(i.d)(e[0])&&Object(i.d)(e[1]))return{year:Object(i.h)(e[0]),month:Object(i.h)(e[1]),day:null};if(3===e.length&&Object(i.d)(e[0])&&Object(i.d)(e[1])&&Object(i.d)(e[2]))return{year:Object(i.h)(e[0]),month:Object(i.h)(e[1]),day:Object(i.h)(e[2])}}return null},e.prototype.format=function(t){return t?t.year+\"-\"+(Object(i.d)(t.month)?Object(i.f)(t.month):\"\")+\"-\"+(Object(i.d)(t.day)?Object(i.f)(t.day):\"\"):\"\"},e}(o)},\"8HBu\":function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=(n(\"Xjw4\"),n(\"7DMc\"),n(\"OE0E\"),n(\"M4fF\")),o=n(\"YaPU\"),l=n(\"4zOZ\"),u=n(\"+3/4\");o.Observable.empty=u.a.create;var a=n(\"zVgD\");o.Observable.from=a.a;var s=n(\"YWe0\");o.Observable.of=s.a;var c=n(\"BaTJ\");o.Observable.prototype.distinctUntilChanged=function(t,e){return Object(c.a)(t,e)(this)};var f=n(\"E4iY\");o.Observable.prototype.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return f.b.apply(void 0,t)(this)};var h=n(\"5Agy\");o.Observable.prototype.mergeMap=h.a,o.Observable.prototype.flatMap=h.a;var p=n(\"DDro\");o.Observable.prototype.toArray=function(){return Object(p.a)()(this)};var d=n(\"Uw6n\");o.Observable.prototype.filter=d.a,n(\"2fw/\");var y=n(\"ce/b\");n(\"/nXB\"),o.Observable.prototype.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return y.a.apply(void 0,t)(this)};var v=n(\"gL+p\");o.Observable.prototype.map=v.a;var g=n(\"r4tK\");o.Observable.prototype.do=g.a,o.Observable.prototype._do=g.a;var b=n(\"g5jc\");n.d(e,\"b\",function(){return x}),n.d(e,\"a\",function(){return O});var m=function(){function t(t,e,n){void 0===n&&(n=null),this.value=t,this.text=e,this._parent=n,this.type=\"option\",this.cacheRenderedText=null}return Object.defineProperty(t.prototype,\"parent\",{get:function(){return this._parent},enumerable:!0,configurable:!0}),t.prototype.renderText=function(t,e){return this.cacheHighlightText===e&&null!==this.cacheRenderedText||(this.cacheHighlightText=e,this.cacheRenderedText=t.bypassSecurityTrustHtml(this.cacheHighlightText?this.text.replace(new RegExp(this.cacheHighlightText,\"gi\"),\"<strong>\$&</strong>\"):this.text)),this.cacheRenderedText},t}(),_=function(){function t(t,e){void 0===e&&(e=[]),this.label=t,this.options=e,this.type=\"optgroup\",this.filter(function(){return!0})}return t.prototype.filter=function(t){this.optionsFiltered=this.options.filter(function(e){return t(e)})},t}(),w=function(){var t={first:0,previous:1,next:2,last:3};return t[t.first]=\"first\",t[t.previous]=\"previous\",t[t.next]=\"next\",t[t.last]=\"last\",t}(),O=function(){function t(t,e){var n,u=this;this.sanitizer=t,this.optionValueField=\"id\",this.optionTextField=\"text\",this.optGroupLabelField=\"label\",this.optGroupOptionsField=\"options\",this.multiple=!1,this.allowClear=!1,this.placeholder=\"\",this.noAutoComplete=!1,this.disabled=!1,this.defaultValue=[],this.typed=new r.EventEmitter,this.focus=new r.EventEmitter,this.blur=new r.EventEmitter,this.optionsOpened=!1,this.actualValue=[],this.subjOptions=new l.a([]),this.subjSearchText=new l.a(\"\"),this.subjOptionsSelected=new l.a([]),this.subjExternalValue=new l.a([]),this.subjDefaultValue=new l.a([]),this.subjRegisterOnChange=new b.a,this._focusToInput=!1,this.isFocused=!1,this.onChange=function(t){return t},this.onTouched=function(){return null},this.itemsDiffer=e.find([]).create(null),this.defaultValueDiffer=e.find([]).create(null),this.typed.subscribe(function(t){return u.subjSearchText.next(t)});var a=this.subjExternalValue.map(function(t){return n=null===t?[]:[].concat(t)}).merge(this.subjOptionsSelected.map(function(t){return t.map(function(t){return t.value})})).combineLatest(this.subjDefaultValue,function(t,e){var n=Object(i.isEqual)(t,e)?[]:t;return n.length?n:e}).distinctUntilChanged(function(t,e){return Object(i.isEqual)(t,e)}).share();a.combineLatest(this.subjRegisterOnChange,function(t){return t}).subscribe(function(t){u.actualValue=t,Object(i.isEqual)(t,n)||(n=t,u.onChange(u.multiple?t:t.length?t[0]:null))}),this.subjOptions.flatMap(function(t){return o.Observable.from(t).flatMap(function(t){return t instanceof m?o.Observable.of(t):t instanceof _?o.Observable.from(t.options):o.Observable.empty()}).toArray()}).combineLatest(a,function(t,e){o.Observable.from(t).filter(function(t){return-1!==e.indexOf(t.value)}).toArray().filter(function(t){return!Object(i.isEqual)(t,u.subjOptionsSelected.value)}).subscribe(function(t){return u.subjOptionsSelected.next(t)})}).subscribe(),this.subjOptions.combineLatest(this.subjOptionsSelected,this.subjSearchText,function(t,e,n){return u.filterOptions(n,t,e)}).subscribe(function(t){u.optionsFiltered=t,u.cacheOptionsFilteredFlat=null})}return Object.defineProperty(t.prototype,\"optionsSelected\",{get:function(){return this.subjOptionsSelected.value},enumerable:!0,configurable:!0}),t.prototype.mainClicked=function(t){t.clickedSelectComponent=this,this.isFocused||(this.isFocused=!0,this.focus.emit())},t.prototype.documentClick=function(t){t.clickedSelectComponent!==this&&(this.optionsOpened&&this.optionsClose(),this.isFocused&&(this.isFocused=!1,this.blur.emit()))},t.prototype.navigateOption=function(t){var e=this;(this.cacheOptionsFilteredFlat?o.Observable.of(this.cacheOptionsFilteredFlat):o.Observable.from(this.optionsFiltered).flatMap(function(t){return t instanceof m?o.Observable.of(t):t instanceof _?o.Observable.from(t.optionsFiltered):o.Observable.empty()}).toArray().do(function(t){return e.cacheOptionsFilteredFlat=t})).map(function(n){var r;switch(t){case w.first:return n[0];case w.previous:return(r=n.indexOf(e.optionActive)-1)>=0?n[r]:n[n.length-1];case w.next:return(r=n.indexOf(e.optionActive)+1)<n.length?n[r]:n[0];case w.last:return n[n.length-1]}}).subscribe(function(t){return e.optionActive=t})},t.prototype.ngDoCheck=function(){this.itemsDiffer.diff(this.items)&&this.subjOptions.next(this.buildOptions(this.items));var t=this.defaultValue?[].concat(this.defaultValue):[];this.defaultValueDiffer.diff(t)&&this.subjDefaultValue.next(t)},t.prototype.ngAfterContentChecked=function(){this._focusToInput&&this.checkInputVisibility()&&this.inputElRef&&this.inputElRef.nativeElement!==document.activeElement&&(this._focusToInput=!1,this.inputElRef.nativeElement.focus())},t.prototype.canClearNotMultiple=function(){return this.allowClear&&!!this.subjOptionsSelected.value.length&&(!this.subjDefaultValue.value.length||this.subjDefaultValue.value[0]!==this.actualValue[0])},t.prototype.focusToInput=function(){this._focusToInput=!0},t.prototype.inputKeyDown=function(t){if(13===t.keyCode)t.preventDefault(),t.stopPropagation(),this.optionsOpened?(this.optionSelect(this.optionActive),this.navigateOption(w.next)):this.optionsOpen();else if(this.optionsOpened&&-1!==[37,38,39,40].indexOf(t.keyCode))switch(t.preventDefault(),t.stopPropagation(),t.keyCode){case 37:this.navigateOption(w.first);break;case 38:this.navigateOption(w.previous);break;case 39:this.navigateOption(w.last);break;case 40:this.navigateOption(w.next)}else this.optionsOpened||46!==t.keyCode||this.optionRemove(this.subjOptionsSelected.value[this.subjOptionsSelected.value.length-1],t)},t.prototype.mainKeyUp=function(t){27===t.keyCode&&this.optionsClose(!0)},t.prototype.trackByOption=function(t,e){return e instanceof m?e.value:e instanceof _?e.label:e},t.prototype.checkInputVisibility=function(){return!0===this.multiple||this.optionsOpened&&!this.noAutoComplete},t.prototype.inputKeyUp=function(t,e){void 0===e&&(e=\"\"),this.optionsOpened?!t.key||1!==t.key.length&&\"Backspace\"!==t.key||this.typed.emit(e):e&&this.optionsOpen(e)},t.prototype.inputClick=function(t){void 0===t&&(t=\"\"),this.optionsOpened||this.optionsOpen(t)},t.prototype.sanitize=function(t){return t?this.sanitizer.bypassSecurityTrustHtml(t):null},t.prototype.highlightOption=function(t){return t.renderText(this.sanitizer,this.inputElRef?this.inputElRef.nativeElement.value:\"\")},t.prototype.optionSelect=function(t,e){void 0===e&&(e=null),e&&(e.preventDefault(),e.stopPropagation()),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).concat([t])),this.optionsClose(!0),this.onTouched()},t.prototype.optionRemove=function(t,e){this.disabled||(e.stopPropagation(),this.subjOptionsSelected.next((this.multiple?this.subjOptionsSelected.value:[]).filter(function(e){return e!==t})))},t.prototype.isOptionActive=function(t,e){return this.optionActive===t&&(this.ensureVisibleElement(e),!0)},t.prototype.optionActivate=function(t){this.optionActive=t},t.prototype.filterOptions=function(t,e,n){var r=this,i=new RegExp(t,\"i\"),o=function(e){return(!t||i.test(e.text))&&(!r.multiple||-1===n.indexOf(e))};return e.filter(function(t){if(t instanceof m)return o(t);if(t instanceof _){var e=t;return e.filter(function(t){return o(t)}),e.optionsFiltered.length}})},t.prototype.ensureVisibleElement=function(t){if(this.choiceMenuElRef&&this.cacheElementOffsetTop!==t.offsetTop){this.cacheElementOffsetTop=t.offsetTop;var e=this.choiceMenuElRef.nativeElement;this.cacheElementOffsetTop<e.scrollTop?e.scrollTop=this.cacheElementOffsetTop:this.cacheElementOffsetTop+t.offsetHeight>e.scrollTop+e.clientHeight&&(e.scrollTop=this.cacheElementOffsetTop+t.offsetHeight-e.clientHeight)}},t.prototype.optionsOpen=function(t){void 0===t&&(t=\"\"),this.disabled||(this.optionsOpened=!0,this.subjSearchText.next(t),!this.multiple&&this.subjOptionsSelected.value.length?this.optionActivate(this.subjOptionsSelected.value[0]):this.navigateOption(w.first),this.focusToInput())},t.prototype.optionsClose=function(t){if(void 0===t&&(t=!1),this.optionsOpened=!1,t){var e=window.scrollX,n=window.scrollY;this.mainElRef.nativeElement.focus(),window.scrollTo(e,n)}},t.prototype.buildOptions=function(t){var e,n=this,r=[];return Array.isArray(t)&&t.forEach(function(t){if(\"object\"==typeof t&&null!==t&&t.hasOwnProperty(n.optGroupLabelField)&&t.hasOwnProperty(n.optGroupOptionsField)&&Array.isArray(t[n.optGroupOptionsField])){var i=new _(t[n.optGroupLabelField]);t[n.optGroupOptionsField].forEach(function(t){(e=n.buildOption(t,i))&&i.options.push(e)}),r.push(i)}else(e=n.buildOption(t,null))&&r.push(e)}),r},t.prototype.buildOption=function(t,e){var n,r;if(\"string\"==typeof t||\"number\"==typeof t)n=r=t;else{if(\"object\"!=typeof t||null===t||!t.hasOwnProperty(this.optionValueField)&&!t.hasOwnProperty(this.optionTextField))return null;n=t.hasOwnProperty(this.optionValueField)?t[this.optionValueField]:t[this.optionTextField],r=t.hasOwnProperty(this.optionTextField)?t[this.optionTextField]:t[this.optionValueField]}return new m(n,r,e)},t.prototype.writeValue=function(t){this.subjExternalValue.next(t)},t.prototype.registerOnChange=function(t){this.onChange=t,this.subjRegisterOnChange.next()},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t}(),x=function(){}},\"9XFw\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){}},A8b0:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"aKiW\"),i=(n(\"qQ/N\"),function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}())},CXHW:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return s});var r=n(\"WT6e\"),i=n(\"/PMa\"),o=n(\"2yGx\"),l=n(\"9XFw\"),u=n(\"xOmt\"),a=n(\"WtdY\"),s=function(){function t(t,e,n,r){this._applicationRef=t,this._injector=e,this._componentFactoryResolver=n,this._windowAttributes=[\"backdrop\",\"centered\",\"keyboard\",\"size\",\"windowClass\"],this._backdropAttributes=[\"backdropClass\"],this._document=r}return t.prototype.open=function(t,e,n,r){var i=Object(o.b)(r.container)?this._document.querySelector(r.container):this._document.body;if(!i)throw new Error('The specified modal container \"'+(r.container||\"body\")+'\" was not found in the DOM.');var l=new a.a,u=this._getContentRef(t,r.injector||e,n,l),s=!1!==r.backdrop?this._attachBackdrop(i):null,c=this._attachWindowComponent(i,u),f=new a.b(c,u,s,r.beforeDismiss);return l.close=function(t){f.close(t)},l.dismiss=function(t){f.dismiss(t)},this._applyWindowOptions(c.instance,r),s&&s.instance&&this._applyBackdropOptions(s.instance,r),f},t.prototype._attachBackdrop=function(t){var e=this._componentFactoryResolver.resolveComponentFactory(l.a).create(this._injector);return this._applicationRef.attachView(e.hostView),t.appendChild(e.location.nativeElement),e},t.prototype._attachWindowComponent=function(t,e){var n=this._componentFactoryResolver.resolveComponentFactory(u.a).create(this._injector,e.nodes);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n},t.prototype._applyWindowOptions=function(t,e){this._windowAttributes.forEach(function(n){Object(o.b)(e[n])&&(t[n]=e[n])})},t.prototype._applyBackdropOptions=function(t,e){this._backdropAttributes.forEach(function(n){Object(o.b)(e[n])&&(t[n]=e[n])})},t.prototype._getContentRef=function(t,e,n,l){return n?n instanceof r.TemplateRef?this._createFromTemplateRef(n,l):Object(o.e)(n)?this._createFromString(n):this._createFromComponent(t,e,n,l):new i.a([])},t.prototype._createFromTemplateRef=function(t,e){var n=t.createEmbeddedView(e);return this._applicationRef.attachView(n),new i.a([n.rootNodes],n)},t.prototype._createFromString=function(t){var e=this._document.createTextNode(\"\"+t);return new i.a([[e]])},t.prototype._createFromComponent=function(t,e,n,o){var l=t.resolveComponentFactory(n),u=r.ReflectiveInjector.resolveAndCreate([{provide:a.a,useValue:o}],e),s=l.create(u);return this._applicationRef.attachView(s.hostView),new i.a([[s.location.nativeElement]],s.hostView,s)},t}()},D5oA:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o}),e.b=function(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,16,\"ul\",[],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,l)),r[\"\\u0275did\"](4,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,u)),r[\"\\u0275did\"](7,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,f)),r[\"\\u0275did\"](10,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,h)),r[\"\\u0275did\"](13,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,p)),r[\"\\u0275did\"](16,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,4,0,n.boundaryLinks),t(e,7,0,n.directionLinks),t(e,10,0,n.pages),t(e,13,0,n.directionLinks),t(e,16,0,n.boundaryLinks)},function(t,e){var n=e.component;t(e,1,0,\"pagination\"+(n.size?\" pagination-\"+n.size:\"\"))})};var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function l(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"First\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=0!=!!t.component.selectPage(1)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xab\\xab\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasPrevious()||n.disabled),t(e,2,0,n.hasPrevious()?null:\"-1\")})}function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"Previous\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.selectPage(i.page-1)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xab\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasPrevious()||n.disabled),t(e,2,0,n.hasPrevious()?null:\"-1\")})}function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"a\",[[\"class\",\"page-link\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"...\"]))],null,null)}function s(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"span\",[[\"class\",\"sr-only\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"(current)\"]))],null,null)}function c(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"a\",[[\"class\",\"page-link\"],[\"href\",\"\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=0!=!!t.component.selectPage(t.parent.context.\$implicit)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\\n          \",\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,s)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"]))],function(t,e){t(e,3,0,e.parent.context.\$implicit===e.component.page)},function(t,e){t(e,1,0,e.parent.context.\$implicit)})}function f(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"active\",null],[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,c)),r[\"\\u0275did\"](6,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){var n=e.component;t(e,3,0,n.isEllipsis(e.context.\$implicit)),t(e,6,0,!n.isEllipsis(e.context.\$implicit))},function(t,e){var n=e.component;t(e,0,0,e.context.\$implicit===n.page,n.isEllipsis(e.context.\$implicit)||n.disabled)})}function h(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"Next\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.selectPage(i.page+1)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xbb\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasNext()||n.disabled),t(e,2,0,n.hasNext()?null:\"-1\")})}function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"li\",[[\"class\",\"page-item\"]],[[2,\"disabled\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,4,\"a\",[[\"aria-label\",\"Last\"],[\"class\",\"page-link\"],[\"href\",\"\"]],[[1,\"tabindex\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.selectPage(i.pageCount)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"span\",[[\"aria-hidden\",\"true\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\xbb\\xbb\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,function(t,e){var n=e.component;t(e,0,0,!n.hasNext()||n.disabled),t(e,2,0,n.hasNext()?null:\"-1\")})}},DDfv:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.interval=5e3,this.wrap=!0,this.keyboard=!0}},EKta:function(t,e,n){\"use strict\";e.byteLength=function(t){return 3*t.length/4-s(t)},e.toByteArray=function(t){var e,n,r,l,u,a=t.length;l=s(t),u=new o(3*a/4-l),n=l>0?a-4:a;var c=0;for(e=0;e<n;e+=4)r=i[t.charCodeAt(e)]<<18|i[t.charCodeAt(e+1)]<<12|i[t.charCodeAt(e+2)]<<6|i[t.charCodeAt(e+3)],u[c++]=r>>16&255,u[c++]=r>>8&255,u[c++]=255&r;return 2===l?(r=i[t.charCodeAt(e)]<<2|i[t.charCodeAt(e+1)]>>4,u[c++]=255&r):1===l&&(r=i[t.charCodeAt(e)]<<10|i[t.charCodeAt(e+1)]<<4|i[t.charCodeAt(e+2)]>>2,u[c++]=r>>8&255,u[c++]=255&r),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=\"\",l=[],u=0,a=n-i;u<a;u+=16383)l.push(c(t,u,u+16383>a?a:u+16383));return 1===i?(o+=r[(e=t[n-1])>>2],o+=r[e<<4&63],o+=\"==\"):2===i&&(o+=r[(e=(t[n-2]<<8)+t[n-1])>>10],o+=r[e>>4&63],o+=r[e<<2&63],o+=\"=\"),l.push(o),l.join(\"\")};for(var r=[],i=[],o=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,l=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",u=0,a=l.length;u<a;++u)r[u]=l[u],i[l.charCodeAt(u)]=u;function s(t){var e=t.length;if(e%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");return\"=\"===t[e-2]?2:\"=\"===t[e-1]?1:0}function c(t,e,n){for(var i,o=[],l=e;l<n;l+=3)o.push(r[(i=(t[l]<<16)+(t[l+1]<<8)+t[l+2])>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join(\"\")}i[\"-\".charCodeAt(0)]=62,i[\"_\".charCodeAt(0)]=63},ETCP:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.placement=\"top\",this.triggers=\"click\",this.disablePopover=!1}},Ep2y:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"K0TW\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},EzwU:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"2yGx\"),i=function(){function t(){this.highlightClass=\"ngb-highlight\"}return t.prototype.ngOnChanges=function(t){var e=Object(r.i)(this.result),n=e.toLowerCase(),i=Object(r.i)(this.term).toLowerCase(),o=0;this.parts=i.length>0?n.split(new RegExp(\"(\"+Object(r.g)(i)+\")\")).map(function(t){var n=e.substr(o,t.length);return o+=t.length,n}):[e]},t}()},\"F+yc\":function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"mN9t\"),o=(n(\"7DMc\"),Object(r.forwardRef)(function(){return o}),function(){function t(t){this._label=t,this.disabled=!1,this.valueChecked=!0,this.valueUnChecked=!1,this.onChange=function(t){},this.onTouched=function(){}}return Object.defineProperty(t.prototype,\"focused\",{set:function(t){this._label.focused=t,t||this.onTouched()},enumerable:!0,configurable:!0}),t.prototype.onInputChange=function(t){var e=t.target.checked?this.valueChecked:this.valueUnChecked;this.onChange(e),this.onTouched(),this.writeValue(e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._label.disabled=t},t.prototype.writeValue=function(t){this.checked=t===this.valueChecked,this._label.active=this.checked},t}()),l=n(\"+dDw\");n.d(e,\"a\",function(){return u}),n.d(e,!1,function(){return i.a}),n.d(e,!1,function(){return o}),n.d(e,!1,function(){return l.a}),n.d(e,!1,function(){return l.b});var u=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}()},\"K/oD\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"qoi6\");var r=n(\"cG9e\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},K0TW:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.disabled=!1,this.boundaryLinks=!1,this.directionLinks=!0,this.ellipses=!0,this.maxSize=0,this.pageSize=10,this.rotate=!1}},M4fF:function(t,e,n){(function(t,r){var i;(function(){var o,l=200,u=\"Expected a function\",a=\"__lodash_placeholder__\",s=1,c=2,f=4,h=1,p=2,d=1,y=2,v=4,g=8,b=16,m=32,_=64,w=128,O=256,x=512,k=800,E=16,C=1/0,T=9007199254740991,j=1.7976931348623157e308,A=NaN,P=4294967295,R=P-1,S=P>>>1,N=[[\"ary\",w],[\"bind\",d],[\"bindKey\",y],[\"curry\",g],[\"curryRight\",b],[\"flip\",x],[\"partial\",m],[\"partialRight\",_],[\"rearg\",O]],D=\"[object Arguments]\",M=\"[object Array]\",q=\"[object AsyncFunction]\",I=\"[object Boolean]\",L=\"[object Date]\",B=\"[object DOMException]\",F=\"[object Error]\",U=\"[object Function]\",V=\"[object GeneratorFunction]\",W=\"[object Map]\",z=\"[object Number]\",H=\"[object Null]\",K=\"[object Object]\",Y=\"[object Proxy]\",G=\"[object RegExp]\",\$=\"[object Set]\",Z=\"[object String]\",X=\"[object Symbol]\",J=\"[object Undefined]\",Q=\"[object WeakMap]\",tt=\"[object ArrayBuffer]\",et=\"[object DataView]\",nt=\"[object Float32Array]\",rt=\"[object Float64Array]\",it=\"[object Int8Array]\",ot=\"[object Int16Array]\",lt=\"[object Int32Array]\",ut=\"[object Uint8Array]\",at=\"[object Uint8ClampedArray]\",st=\"[object Uint16Array]\",ct=\"[object Uint32Array]\",ft=/\\b__p \\+= '';/g,ht=/\\b(__p \\+=) '' \\+/g,pt=/(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g,dt=/&(?:amp|lt|gt|quot|#39);/g,yt=/[&<>\"']/g,vt=RegExp(dt.source),gt=RegExp(yt.source),bt=/<%-([\\s\\S]+?)%>/g,mt=/<%([\\s\\S]+?)%>/g,_t=/<%=([\\s\\S]+?)%>/g,wt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Ot=/^\\w*\$/,xt=/^\\./,kt=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|\$))/g,Et=/[\\\\^\$.*+?()[\\]{}|]/g,Ct=RegExp(Et.source),Tt=/^\\s+|\\s+\$/g,jt=/^\\s+/,At=/\\s+\$/,Pt=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Rt=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,St=/,? & /,Nt=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,Dt=/\\\\(\\\\)?/g,Mt=/\\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,qt=/\\w*\$/,It=/^[-+]0x[0-9a-f]+\$/i,Lt=/^0b[01]+\$/i,Bt=/^\\[object .+?Constructor\\]\$/,Ft=/^0o[0-7]+\$/i,Ut=/^(?:0|[1-9]\\d*)\$/,Vt=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,Wt=/(\$^)/,zt=/['\\n\\r\\u2028\\u2029\\\\]/g,Ht=\"\\\\u0300-\\\\u036f\\\\ufe20-\\\\ufe2f\\\\u20d0-\\\\u20ff\",Kt=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\\\\u2000-\\\\u206f \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",Yt=\"[\"+Kt+\"]\",Gt=\"[\"+Ht+\"]\",\$t=\"\\\\d+\",Zt=\"[a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff]\",Xt=\"[^\\\\ud800-\\\\udfff\"+Kt+\$t+\"\\\\u2700-\\\\u27bfa-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xffA-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",Jt=\"\\\\ud83c[\\\\udffb-\\\\udfff]\",Qt=\"[^\\\\ud800-\\\\udfff]\",te=\"(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}\",ee=\"[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]\",ne=\"[A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde]\",re=\"(?:\"+Zt+\"|\"+Xt+\")\",ie=\"(?:\"+ne+\"|\"+Xt+\")\",oe=\"(?:\"+Gt+\"|\"+Jt+\")?\",le=\"[\\\\ufe0e\\\\ufe0f]?\"+oe+\"(?:\\\\u200d(?:\"+[Qt,te,ee].join(\"|\")+\")[\\\\ufe0e\\\\ufe0f]?\"+oe+\")*\",ue=\"(?:\"+[\"[\\\\u2700-\\\\u27bf]\",te,ee].join(\"|\")+\")\"+le,ae=\"(?:\"+[Qt+Gt+\"?\",Gt,te,ee,\"[\\\\ud800-\\\\udfff]\"].join(\"|\")+\")\",se=RegExp(\"['\\u2019]\",\"g\"),ce=RegExp(Gt,\"g\"),fe=RegExp(Jt+\"(?=\"+Jt+\")|\"+ae+le,\"g\"),he=RegExp([ne+\"?\"+Zt+\"+(?:['\\u2019](?:d|ll|m|re|s|t|ve))?(?=\"+[Yt,ne,\"\$\"].join(\"|\")+\")\",ie+\"+(?:['\\u2019](?:D|LL|M|RE|S|T|VE))?(?=\"+[Yt,ne+re,\"\$\"].join(\"|\")+\")\",ne+\"?\"+re+\"+(?:['\\u2019](?:d|ll|m|re|s|t|ve))?\",ne+\"+(?:['\\u2019](?:D|LL|M|RE|S|T|VE))?\",\"\\\\d*(?:(?:1ST|2ND|3RD|(?![123])\\\\dTH)\\\\b)\",\"\\\\d*(?:(?:1st|2nd|3rd|(?![123])\\\\dth)\\\\b)\",\$t,ue].join(\"|\"),\"g\"),pe=RegExp(\"[\\\\u200d\\\\ud800-\\\\udfff\"+Ht+\"\\\\ufe0e\\\\ufe0f]\"),de=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ye=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],ve=-1,ge={};ge[nt]=ge[rt]=ge[it]=ge[ot]=ge[lt]=ge[ut]=ge[at]=ge[st]=ge[ct]=!0,ge[D]=ge[M]=ge[tt]=ge[I]=ge[et]=ge[L]=ge[F]=ge[U]=ge[W]=ge[z]=ge[K]=ge[G]=ge[\$]=ge[Z]=ge[Q]=!1;var be={};be[D]=be[M]=be[tt]=be[et]=be[I]=be[L]=be[nt]=be[rt]=be[it]=be[ot]=be[lt]=be[W]=be[z]=be[K]=be[G]=be[\$]=be[Z]=be[X]=be[ut]=be[at]=be[st]=be[ct]=!0,be[F]=be[U]=be[Q]=!1;var me={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},_e=parseFloat,we=parseInt,Oe=\"object\"==typeof t&&t&&t.Object===Object&&t,xe=\"object\"==typeof self&&self&&self.Object===Object&&self,ke=Oe||xe||Function(\"return this\")(),Ee=\"object\"==typeof e&&e&&!e.nodeType&&e,Ce=Ee&&\"object\"==typeof r&&r&&!r.nodeType&&r,Te=Ce&&Ce.exports===Ee,je=Te&&Oe.process,Ae=function(){try{return je&&je.binding&&je.binding(\"util\")}catch(t){}}(),Pe=Ae&&Ae.isArrayBuffer,Re=Ae&&Ae.isDate,Se=Ae&&Ae.isMap,Ne=Ae&&Ae.isRegExp,De=Ae&&Ae.isSet,Me=Ae&&Ae.isTypedArray;function qe(t,e){return t.set(e[0],e[1]),t}function Ie(t,e){return t.add(e),t}function Le(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Be(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var l=t[i];e(r,l,n(l),t)}return r}function Fe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ue(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ve(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var l=t[n];e(l,n,t)&&(o[i++]=l)}return o}function We(t,e){return!(null==t||!t.length)&&Qe(t,e,0)>-1}function ze(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function He(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ke(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Ye(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Ge(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function \$e(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Ze=rn(\"length\");function Xe(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function Je(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function Qe(t,e,n){return e==e?function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):Je(t,en,n)}function tn(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function en(t){return t!=t}function nn(t,e){var n=null==t?0:t.length;return n?un(t,e)/n:A}function rn(t){return function(e){return null==e?o:e[t]}}function on(t){return function(e){return null==t?o:t[e]}}function ln(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function un(t,e){for(var n,r=-1,i=t.length;++r<i;){var l=e(t[r]);l!==o&&(n=n===o?l:n+l)}return n}function an(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function sn(t){return function(e){return t(e)}}function cn(t,e){return He(e,function(e){return t[e]})}function fn(t,e){return t.has(e)}function hn(t,e){for(var n=-1,r=t.length;++n<r&&Qe(e,t[n],0)>-1;);return n}function pn(t,e){for(var n=t.length;n--&&Qe(e,t[n],0)>-1;);return n}var dn=on({\"\\xc0\":\"A\",\"\\xc1\":\"A\",\"\\xc2\":\"A\",\"\\xc3\":\"A\",\"\\xc4\":\"A\",\"\\xc5\":\"A\",\"\\xe0\":\"a\",\"\\xe1\":\"a\",\"\\xe2\":\"a\",\"\\xe3\":\"a\",\"\\xe4\":\"a\",\"\\xe5\":\"a\",\"\\xc7\":\"C\",\"\\xe7\":\"c\",\"\\xd0\":\"D\",\"\\xf0\":\"d\",\"\\xc8\":\"E\",\"\\xc9\":\"E\",\"\\xca\":\"E\",\"\\xcb\":\"E\",\"\\xe8\":\"e\",\"\\xe9\":\"e\",\"\\xea\":\"e\",\"\\xeb\":\"e\",\"\\xcc\":\"I\",\"\\xcd\":\"I\",\"\\xce\":\"I\",\"\\xcf\":\"I\",\"\\xec\":\"i\",\"\\xed\":\"i\",\"\\xee\":\"i\",\"\\xef\":\"i\",\"\\xd1\":\"N\",\"\\xf1\":\"n\",\"\\xd2\":\"O\",\"\\xd3\":\"O\",\"\\xd4\":\"O\",\"\\xd5\":\"O\",\"\\xd6\":\"O\",\"\\xd8\":\"O\",\"\\xf2\":\"o\",\"\\xf3\":\"o\",\"\\xf4\":\"o\",\"\\xf5\":\"o\",\"\\xf6\":\"o\",\"\\xf8\":\"o\",\"\\xd9\":\"U\",\"\\xda\":\"U\",\"\\xdb\":\"U\",\"\\xdc\":\"U\",\"\\xf9\":\"u\",\"\\xfa\":\"u\",\"\\xfb\":\"u\",\"\\xfc\":\"u\",\"\\xdd\":\"Y\",\"\\xfd\":\"y\",\"\\xff\":\"y\",\"\\xc6\":\"Ae\",\"\\xe6\":\"ae\",\"\\xde\":\"Th\",\"\\xfe\":\"th\",\"\\xdf\":\"ss\",\"\\u0100\":\"A\",\"\\u0102\":\"A\",\"\\u0104\":\"A\",\"\\u0101\":\"a\",\"\\u0103\":\"a\",\"\\u0105\":\"a\",\"\\u0106\":\"C\",\"\\u0108\":\"C\",\"\\u010a\":\"C\",\"\\u010c\":\"C\",\"\\u0107\":\"c\",\"\\u0109\":\"c\",\"\\u010b\":\"c\",\"\\u010d\":\"c\",\"\\u010e\":\"D\",\"\\u0110\":\"D\",\"\\u010f\":\"d\",\"\\u0111\":\"d\",\"\\u0112\":\"E\",\"\\u0114\":\"E\",\"\\u0116\":\"E\",\"\\u0118\":\"E\",\"\\u011a\":\"E\",\"\\u0113\":\"e\",\"\\u0115\":\"e\",\"\\u0117\":\"e\",\"\\u0119\":\"e\",\"\\u011b\":\"e\",\"\\u011c\":\"G\",\"\\u011e\":\"G\",\"\\u0120\":\"G\",\"\\u0122\":\"G\",\"\\u011d\":\"g\",\"\\u011f\":\"g\",\"\\u0121\":\"g\",\"\\u0123\":\"g\",\"\\u0124\":\"H\",\"\\u0126\":\"H\",\"\\u0125\":\"h\",\"\\u0127\":\"h\",\"\\u0128\":\"I\",\"\\u012a\":\"I\",\"\\u012c\":\"I\",\"\\u012e\":\"I\",\"\\u0130\":\"I\",\"\\u0129\":\"i\",\"\\u012b\":\"i\",\"\\u012d\":\"i\",\"\\u012f\":\"i\",\"\\u0131\":\"i\",\"\\u0134\":\"J\",\"\\u0135\":\"j\",\"\\u0136\":\"K\",\"\\u0137\":\"k\",\"\\u0138\":\"k\",\"\\u0139\":\"L\",\"\\u013b\":\"L\",\"\\u013d\":\"L\",\"\\u013f\":\"L\",\"\\u0141\":\"L\",\"\\u013a\":\"l\",\"\\u013c\":\"l\",\"\\u013e\":\"l\",\"\\u0140\":\"l\",\"\\u0142\":\"l\",\"\\u0143\":\"N\",\"\\u0145\":\"N\",\"\\u0147\":\"N\",\"\\u014a\":\"N\",\"\\u0144\":\"n\",\"\\u0146\":\"n\",\"\\u0148\":\"n\",\"\\u014b\":\"n\",\"\\u014c\":\"O\",\"\\u014e\":\"O\",\"\\u0150\":\"O\",\"\\u014d\":\"o\",\"\\u014f\":\"o\",\"\\u0151\":\"o\",\"\\u0154\":\"R\",\"\\u0156\":\"R\",\"\\u0158\":\"R\",\"\\u0155\":\"r\",\"\\u0157\":\"r\",\"\\u0159\":\"r\",\"\\u015a\":\"S\",\"\\u015c\":\"S\",\"\\u015e\":\"S\",\"\\u0160\":\"S\",\"\\u015b\":\"s\",\"\\u015d\":\"s\",\"\\u015f\":\"s\",\"\\u0161\":\"s\",\"\\u0162\":\"T\",\"\\u0164\":\"T\",\"\\u0166\":\"T\",\"\\u0163\":\"t\",\"\\u0165\":\"t\",\"\\u0167\":\"t\",\"\\u0168\":\"U\",\"\\u016a\":\"U\",\"\\u016c\":\"U\",\"\\u016e\":\"U\",\"\\u0170\":\"U\",\"\\u0172\":\"U\",\"\\u0169\":\"u\",\"\\u016b\":\"u\",\"\\u016d\":\"u\",\"\\u016f\":\"u\",\"\\u0171\":\"u\",\"\\u0173\":\"u\",\"\\u0174\":\"W\",\"\\u0175\":\"w\",\"\\u0176\":\"Y\",\"\\u0177\":\"y\",\"\\u0178\":\"Y\",\"\\u0179\":\"Z\",\"\\u017b\":\"Z\",\"\\u017d\":\"Z\",\"\\u017a\":\"z\",\"\\u017c\":\"z\",\"\\u017e\":\"z\",\"\\u0132\":\"IJ\",\"\\u0133\":\"ij\",\"\\u0152\":\"Oe\",\"\\u0153\":\"oe\",\"\\u0149\":\"'n\",\"\\u017f\":\"s\"}),yn=on({\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"});function vn(t){return\"\\\\\"+me[t]}function gn(t){return pe.test(t)}function bn(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function mn(t,e){return function(n){return t(e(n))}}function _n(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var l=t[n];l!==e&&l!==a||(t[n]=a,o[i++]=n)}return o}function wn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function xn(t){return gn(t)?function(t){for(var e=fe.lastIndex=0;fe.test(t);)++e;return e}(t):Ze(t)}function kn(t){return gn(t)?function(t){return t.match(fe)||[]}(t):function(t){return t.split(\"\")}(t)}var En=on({\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\"}),Cn=function t(e){var n,r=(e=null==e?ke:Cn.defaults(ke.Object(),e,Cn.pick(ke,ye))).Array,i=e.Date,Ht=e.Error,Kt=e.Function,Yt=e.Math,Gt=e.Object,\$t=e.RegExp,Zt=e.String,Xt=e.TypeError,Jt=r.prototype,Qt=Gt.prototype,te=e[\"__core-js_shared__\"],ee=Kt.prototype.toString,ne=Qt.hasOwnProperty,re=0,ie=(n=/[^.]+\$/.exec(te&&te.keys&&te.keys.IE_PROTO||\"\"))?\"Symbol(src)_1.\"+n:\"\",oe=Qt.toString,le=ee.call(Gt),ue=ke._,ae=\$t(\"^\"+ee.call(ne).replace(Et,\"\\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"\$1.*?\")+\"\$\"),fe=Te?e.Buffer:o,pe=e.Symbol,me=e.Uint8Array,Oe=fe?fe.allocUnsafe:o,xe=mn(Gt.getPrototypeOf,Gt),Ee=Gt.create,Ce=Qt.propertyIsEnumerable,je=Jt.splice,Ae=pe?pe.isConcatSpreadable:o,Ze=pe?pe.iterator:o,on=pe?pe.toStringTag:o,Tn=function(){try{var t=Co(Gt,\"defineProperty\");return t({},\"\",{}),t}catch(t){}}(),jn=e.clearTimeout!==ke.clearTimeout&&e.clearTimeout,An=i&&i.now!==ke.Date.now&&i.now,Pn=e.setTimeout!==ke.setTimeout&&e.setTimeout,Rn=Yt.ceil,Sn=Yt.floor,Nn=Gt.getOwnPropertySymbols,Dn=fe?fe.isBuffer:o,Mn=e.isFinite,qn=Jt.join,In=mn(Gt.keys,Gt),Ln=Yt.max,Bn=Yt.min,Fn=i.now,Un=e.parseInt,Vn=Yt.random,Wn=Jt.reverse,zn=Co(e,\"DataView\"),Hn=Co(e,\"Map\"),Kn=Co(e,\"Promise\"),Yn=Co(e,\"Set\"),Gn=Co(e,\"WeakMap\"),\$n=Co(Gt,\"create\"),Zn=Gn&&new Gn,Xn={},Jn=Xo(zn),Qn=Xo(Hn),tr=Xo(Kn),er=Xo(Yn),nr=Xo(Gn),rr=pe?pe.prototype:o,ir=rr?rr.valueOf:o,or=rr?rr.toString:o;function lr(t){if(du(t)&&!ru(t)&&!(t instanceof cr)){if(t instanceof sr)return t;if(ne.call(t,\"__wrapped__\"))return Jo(t)}return new sr(t)}var ur=function(){function t(){}return function(e){if(!pu(e))return{};if(Ee)return Ee(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function ar(){}function sr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function cr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=P,this.__views__=[]}function fr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function hr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function pr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function dr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new pr;++e<n;)this.add(t[e])}function yr(t){var e=this.__data__=new hr(t);this.size=e.size}function vr(t,e){var n=ru(t),r=!n&&nu(t),i=!n&&!r&&uu(t),o=!n&&!r&&!i&&Ou(t),l=n||r||i||o,u=l?an(t.length,Zt):[],a=u.length;for(var s in t)!e&&!ne.call(t,s)||l&&(\"length\"==s||i&&(\"offset\"==s||\"parent\"==s)||o&&(\"buffer\"==s||\"byteLength\"==s||\"byteOffset\"==s)||No(s,a))||u.push(s);return u}function gr(t){var e=t.length;return e?t[fi(0,e-1)]:o}function br(t,e,n){(n===o||Ql(t[e],n))&&(n!==o||e in t)||xr(t,e,n)}function mr(t,e,n){var r=t[e];ne.call(t,e)&&Ql(r,n)&&(n!==o||e in t)||xr(t,e,n)}function _r(t,e){for(var n=t.length;n--;)if(Ql(t[n][0],e))return n;return-1}function wr(t,e,n,r){return Pr(t,function(t,i,o){e(r,t,n(t),o)}),r}function Or(t,e){return t&&zi(e,zu(e),t)}function xr(t,e,n){\"__proto__\"==e&&Tn?Tn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function kr(t,e){for(var n=-1,i=e.length,l=r(i),u=null==t;++n<i;)l[n]=u?o:Bu(t,e[n]);return l}function Er(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Cr(t,e,n,r,i,l){var u,a=e&s,h=e&c,p=e&f;if(n&&(u=i?n(t,r,i,l):n(t)),u!==o)return u;if(!pu(t))return t;var d=ru(t);if(d){if(u=function(t){var e=t.length,n=t.constructor(e);return e&&\"string\"==typeof t[0]&&ne.call(t,\"index\")&&(n.index=t.index,n.input=t.input),n}(t),!a)return Wi(t,u)}else{var y=Ao(t),v=y==U||y==V;if(uu(t))return Ii(t,a);if(y==K||y==D||v&&!i){if(u=h||v?{}:Ro(t),!a)return h?function(t,e){return zi(t,jo(t),e)}(t,function(e,n){return e&&zi(t,Hu(t),e)}(u)):function(t,e){return zi(t,To(t),e)}(t,Or(u,t))}else{if(!be[y])return i?t:{};u=function(t,e,n,r){var i,o,l=t.constructor;switch(e){case tt:return Li(t);case I:case L:return new l(+t);case et:return function(t,e){var n=e?Li(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,r);case nt:case rt:case it:case ot:case lt:case ut:case at:case st:case ct:return Bi(t,r);case W:return function(t,e,n){return Ye(e?n(bn(t),s):bn(t),qe,new t.constructor)}(t,r,n);case z:case Z:return new l(t);case G:return(o=new(i=t).constructor(i.source,qt.exec(i))).lastIndex=i.lastIndex,o;case \$:return function(t,e,n){return Ye(e?n(wn(t),s):wn(t),Ie,new t.constructor)}(t,r,n);case X:return ir?Gt(ir.call(t)):{}}}(t,y,Cr,a)}}l||(l=new yr);var g=l.get(t);if(g)return g;l.set(t,u);var b=d?o:(p?h?mo:bo:h?Hu:zu)(t);return Fe(b||t,function(r,i){b&&(r=t[i=r]),mr(u,i,Cr(r,e,n,i,t,l))}),u}function Tr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Gt(t);r--;){var i=n[r],l=t[i];if(l===o&&!(i in t)||!(0,e[i])(l))return!1}return!0}function jr(t,e,n){if(\"function\"!=typeof t)throw new Xt(u);return zo(function(){t.apply(o,n)},e)}function Ar(t,e,n,r){var i=-1,o=We,u=!0,a=t.length,s=[],c=e.length;if(!a)return s;n&&(e=He(e,sn(n))),r?(o=ze,u=!1):e.length>=l&&(o=fn,u=!1,e=new dr(e));t:for(;++i<a;){var f=t[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,u&&h==h){for(var p=c;p--;)if(e[p]===h)continue t;s.push(f)}else o(e,h,r)||s.push(f)}return s}lr.templateSettings={escape:bt,evaluate:mt,interpolate:_t,variable:\"\",imports:{_:lr}},(lr.prototype=ar.prototype).constructor=lr,(sr.prototype=ur(ar.prototype)).constructor=sr,(cr.prototype=ur(ar.prototype)).constructor=cr,fr.prototype.clear=function(){this.__data__=\$n?\$n(null):{},this.size=0},fr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},fr.prototype.get=function(t){var e=this.__data__;if(\$n){var n=e[t];return\"__lodash_hash_undefined__\"===n?o:n}return ne.call(e,t)?e[t]:o},fr.prototype.has=function(t){var e=this.__data__;return \$n?e[t]!==o:ne.call(e,t)},fr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=\$n&&e===o?\"__lodash_hash_undefined__\":e,this},hr.prototype.clear=function(){this.__data__=[],this.size=0},hr.prototype.delete=function(t){var e=this.__data__,n=_r(e,t);return!(n<0||(n==e.length-1?e.pop():je.call(e,n,1),--this.size,0))},hr.prototype.get=function(t){var e=this.__data__,n=_r(e,t);return n<0?o:e[n][1]},hr.prototype.has=function(t){return _r(this.__data__,t)>-1},hr.prototype.set=function(t,e){var n=this.__data__,r=_r(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},pr.prototype.clear=function(){this.size=0,this.__data__={hash:new fr,map:new(Hn||hr),string:new fr}},pr.prototype.delete=function(t){var e=ko(this,t).delete(t);return this.size-=e?1:0,e},pr.prototype.get=function(t){return ko(this,t).get(t)},pr.prototype.has=function(t){return ko(this,t).has(t)},pr.prototype.set=function(t,e){var n=ko(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},dr.prototype.add=dr.prototype.push=function(t){return this.__data__.set(t,\"__lodash_hash_undefined__\"),this},dr.prototype.has=function(t){return this.__data__.has(t)},yr.prototype.clear=function(){this.__data__=new hr,this.size=0},yr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},yr.prototype.get=function(t){return this.__data__.get(t)},yr.prototype.has=function(t){return this.__data__.has(t)},yr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof hr){var r=n.__data__;if(!Hn||r.length<l-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new pr(r)}return n.set(t,e),this.size=n.size,this};var Pr=Yi(Lr),Rr=Yi(Br,!0);function Sr(t,e){var n=!0;return Pr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Nr(t,e,n){for(var r=-1,i=t.length;++r<i;){var l=t[r],u=e(l);if(null!=u&&(a===o?u==u&&!wu(u):n(u,a)))var a=u,s=l}return s}function Dr(t,e){var n=[];return Pr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Mr(t,e,n,r,i){var o=-1,l=t.length;for(n||(n=So),i||(i=[]);++o<l;){var u=t[o];e>0&&n(u)?e>1?Mr(u,e-1,n,r,i):Ke(i,u):r||(i[i.length]=u)}return i}var qr=Gi(),Ir=Gi(!0);function Lr(t,e){return t&&qr(t,e,zu)}function Br(t,e){return t&&Ir(t,e,zu)}function Fr(t,e){return Ve(e,function(e){return cu(t[e])})}function Ur(t,e){for(var n=0,r=(e=Ni(e,t)).length;null!=t&&n<r;)t=t[Zo(e[n++])];return n&&n==r?t:o}function Vr(t,e,n){var r=e(t);return ru(t)?r:Ke(r,n(t))}function Wr(t){return null==t?t===o?J:H:on&&on in Gt(t)?function(t){var e=ne.call(t,on),n=t[on];try{t[on]=o;var r=!0}catch(t){}var i=oe.call(t);return r&&(e?t[on]=n:delete t[on]),i}(t):function(t){return oe.call(t)}(t)}function zr(t,e){return t>e}function Hr(t,e){return null!=t&&ne.call(t,e)}function Kr(t,e){return null!=t&&e in Gt(t)}function Yr(t,e,n){for(var i=n?ze:We,l=t[0].length,u=t.length,a=u,s=r(u),c=1/0,f=[];a--;){var h=t[a];a&&e&&(h=He(h,sn(e))),c=Bn(h.length,c),s[a]=!n&&(e||l>=120&&h.length>=120)?new dr(a&&h):o}h=t[0];var p=-1,d=s[0];t:for(;++p<l&&f.length<c;){var y=h[p],v=e?e(y):y;if(y=n||0!==y?y:0,!(d?fn(d,v):i(f,v,n))){for(a=u;--a;){var g=s[a];if(!(g?fn(g,v):i(t[a],v,n)))continue t}d&&d.push(v),f.push(y)}}return f}function Gr(t,e,n){var r=null==(t=Vo(t,e=Ni(e,t)))?t:t[Zo(sl(e))];return null==r?o:Le(r,t,n)}function \$r(t){return du(t)&&Wr(t)==D}function Zr(t,e,n,r,i){return t===e||(null==t||null==e||!du(t)&&!du(e)?t!=t&&e!=e:function(t,e,n,r,i,l){var u=ru(t),a=ru(e),s=u?M:Ao(t),c=a?M:Ao(e),f=(s=s==D?K:s)==K,d=(c=c==D?K:c)==K,y=s==c;if(y&&uu(t)){if(!uu(e))return!1;u=!0,f=!1}if(y&&!f)return l||(l=new yr),u||Ou(t)?vo(t,e,n,r,i,l):function(t,e,n,r,i,o,l){switch(s){case et:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case tt:return!(t.byteLength!=e.byteLength||!o(new me(t),new me(e)));case I:case L:case z:return Ql(+t,+e);case F:return t.name==e.name&&t.message==e.message;case G:case Z:return t==e+\"\";case W:var u=bn;case \$:if(u||(u=wn),t.size!=e.size&&!(r&h))return!1;var a=l.get(t);if(a)return a==e;r|=p,l.set(t,e);var c=vo(u(t),u(e),r,i,o,l);return l.delete(t),c;case X:if(ir)return ir.call(t)==ir.call(e)}return!1}(t,e,0,n,r,i,l);if(!(n&h)){var v=f&&ne.call(t,\"__wrapped__\"),g=d&&ne.call(e,\"__wrapped__\");if(v||g){var b=v?t.value():t,m=g?e.value():e;return l||(l=new yr),i(b,m,n,r,l)}}return!!y&&(l||(l=new yr),function(t,e,n,r,i,l){var u=n&h,a=bo(t),s=a.length;if(s!=bo(e).length&&!u)return!1;for(var c=s;c--;){var f=a[c];if(!(u?f in e:ne.call(e,f)))return!1}var p=l.get(t);if(p&&l.get(e))return p==e;var d=!0;l.set(t,e),l.set(e,t);for(var y=u;++c<s;){var v=t[f=a[c]],g=e[f];if(r)var b=u?r(g,v,f,e,t,l):r(v,g,f,t,e,l);if(!(b===o?v===g||i(v,g,n,r,l):b)){d=!1;break}y||(y=\"constructor\"==f)}if(d&&!y){var m=t.constructor,_=e.constructor;m!=_&&\"constructor\"in t&&\"constructor\"in e&&!(\"function\"==typeof m&&m instanceof m&&\"function\"==typeof _&&_ instanceof _)&&(d=!1)}return l.delete(t),l.delete(e),d}(t,e,n,r,i,l))}(t,e,n,r,Zr,i))}function Xr(t,e,n,r){var i=n.length,l=i,u=!r;if(null==t)return!l;for(t=Gt(t);i--;){var a=n[i];if(u&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<l;){var s=(a=n[i])[0],c=t[s],f=a[1];if(u&&a[2]){if(c===o&&!(s in t))return!1}else{var d=new yr;if(r)var y=r(c,f,s,t,e,d);if(!(y===o?Zr(f,c,h|p,r,d):y))return!1}}return!0}function Jr(t){return!(!pu(t)||ie&&ie in t)&&(cu(t)?ae:Bt).test(Xo(t))}function Qr(t){return\"function\"==typeof t?t:null==t?va:\"object\"==typeof t?ru(t)?ii(t[0],t[1]):ri(t):Ea(t)}function ti(t){if(!Lo(t))return In(t);var e=[];for(var n in Gt(t))ne.call(t,n)&&\"constructor\"!=n&&e.push(n);return e}function ei(t,e){return t<e}function ni(t,e){var n=-1,i=ou(t)?r(t.length):[];return Pr(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function ri(t){var e=Eo(t);return 1==e.length&&e[0][2]?Fo(e[0][0],e[0][1]):function(n){return n===t||Xr(n,t,e)}}function ii(t,e){return Mo(t)&&Bo(e)?Fo(Zo(t),e):function(n){var r=Bu(n,t);return r===o&&r===e?Fu(n,t):Zr(e,r,h|p)}}function oi(t,e,n,r,i){t!==e&&qr(e,function(l,u){if(pu(l))i||(i=new yr),function(t,e,n,r,i,l,u){var a=t[n],s=e[n],c=u.get(s);if(c)br(t,n,c);else{var f=l?l(a,s,n+\"\",t,e,u):o,h=f===o;if(h){var p=ru(s),d=!p&&uu(s),y=!p&&!d&&Ou(s);f=s,p||d||y?ru(a)?f=a:lu(a)?f=Wi(a):d?(h=!1,f=Ii(s,!0)):y?(h=!1,f=Bi(s,!0)):f=[]:gu(s)||nu(s)?(f=a,nu(a)?f=Pu(a):(!pu(a)||r&&cu(a))&&(f=Ro(s))):h=!1}h&&(u.set(s,f),i(f,s,r,l,u),u.delete(s)),br(t,n,f)}}(t,e,u,n,oi,r,i);else{var a=r?r(t[u],l,u+\"\",t,e,i):o;a===o&&(a=l),br(t,u,a)}},Hu)}function li(t,e){var n=t.length;if(n)return No(e+=e<0?n:0,n)?t[e]:o}function ui(t,e,n){var r=-1;return e=He(e.length?e:[va],sn(xo())),function(t,e){var r=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,l=i.length,u=n.length;++r<l;){var a=Fi(i[r],o[r]);if(a)return r>=u?a:a*(\"desc\"==n[r]?-1:1)}return t.index-e.index}(t,e,n)});r--;)t[r]=t[r].value;return t}(ni(t,function(t,n,i){return{criteria:He(e,function(e){return e(t)}),index:++r,value:t}}))}function ai(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var l=e[r],u=Ur(t,l);n(u,l)&&di(o,Ni(l,t),u)}return o}function si(t,e,n,r){var i=r?tn:Qe,o=-1,l=e.length,u=t;for(t===e&&(e=Wi(e)),n&&(u=He(t,sn(n)));++o<l;)for(var a=0,s=e[o],c=n?n(s):s;(a=i(u,c,a,r))>-1;)u!==t&&je.call(u,a,1),je.call(t,a,1);return t}function ci(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;No(i)?je.call(t,i,1):Ei(t,i)}}return t}function fi(t,e){return t+Sn(Vn()*(e-t+1))}function hi(t,e){var n=\"\";if(!t||e<1||e>T)return n;do{e%2&&(n+=t),(e=Sn(e/2))&&(t+=t)}while(e);return n}function pi(t,e){return Ho(Uo(t,e,va),t+\"\")}function di(t,e,n,r){if(!pu(t))return t;for(var i=-1,l=(e=Ni(e,t)).length,u=l-1,a=t;null!=a&&++i<l;){var s=Zo(e[i]),c=n;if(i!=u){var f=a[s];(c=r?r(f,s,a):o)===o&&(c=pu(f)?f:No(e[i+1])?[]:{})}mr(a,s,c),a=a[s]}return t}var yi=Zn?function(t,e){return Zn.set(t,e),t}:va,vi=Tn?function(t,e){return Tn(t,\"toString\",{configurable:!0,enumerable:!1,value:pa(e),writable:!0})}:va;function gi(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var l=r(o);++i<o;)l[i]=t[i+e];return l}function bi(t,e){var n;return Pr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function mi(t,e,n){var r=0,i=null==t?r:t.length;if(\"number\"==typeof e&&e==e&&i<=S){for(;r<i;){var o=r+i>>>1,l=t[o];null!==l&&!wu(l)&&(n?l<=e:l<e)?r=o+1:i=o}return i}return _i(t,e,va,n)}function _i(t,e,n,r){e=n(e);for(var i=0,l=null==t?0:t.length,u=e!=e,a=null===e,s=wu(e),c=e===o;i<l;){var f=Sn((i+l)/2),h=n(t[f]),p=h!==o,d=null===h,y=h==h,v=wu(h);if(u)var g=r||y;else g=c?y&&(r||p):a?y&&p&&(r||!d):s?y&&p&&!d&&(r||!v):!d&&!v&&(r?h<=e:h<e);g?i=f+1:l=f}return Bn(l,R)}function wi(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var l=t[n],u=e?e(l):l;if(!n||!Ql(u,a)){var a=u;o[i++]=0===l?0:l}}return o}function Oi(t){return\"number\"==typeof t?t:wu(t)?A:+t}function xi(t){if(\"string\"==typeof t)return t;if(ru(t))return He(t,xi)+\"\";if(wu(t))return or?or.call(t):\"\";var e=t+\"\";return\"0\"==e&&1/t==-C?\"-0\":e}function ki(t,e,n){var r=-1,i=We,o=t.length,u=!0,a=[],s=a;if(n)u=!1,i=ze;else if(o>=l){var c=e?null:so(t);if(c)return wn(c);u=!1,i=fn,s=new dr}else s=e?[]:a;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,u&&h==h){for(var p=s.length;p--;)if(s[p]===h)continue t;e&&s.push(h),a.push(f)}else i(s,h,n)||(s!==a&&s.push(h),a.push(f))}return a}function Ei(t,e){return null==(t=Vo(t,e=Ni(e,t)))||delete t[Zo(sl(e))]}function Ci(t,e,n,r){return di(t,e,n(Ur(t,e)),r)}function Ti(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?gi(t,r?0:o,r?o+1:i):gi(t,r?o+1:0,r?i:o)}function ji(t,e){var n=t;return n instanceof cr&&(n=n.value()),Ye(e,function(t,e){return e.func.apply(e.thisArg,Ke([t],e.args))},n)}function Ai(t,e,n){var i=t.length;if(i<2)return i?ki(t[0]):[];for(var o=-1,l=r(i);++o<i;)for(var u=t[o],a=-1;++a<i;)a!=o&&(l[o]=Ar(l[o]||u,t[a],e,n));return ki(Mr(l,1),e,n)}function Pi(t,e,n){for(var r=-1,i=t.length,l=e.length,u={};++r<i;)n(u,t[r],r<l?e[r]:o);return u}function Ri(t){return lu(t)?t:[]}function Si(t){return\"function\"==typeof t?t:va}function Ni(t,e){return ru(t)?t:Mo(t,e)?[t]:\$o(Ru(t))}var Di=pi;function Mi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:gi(t,e,n)}var qi=jn||function(t){return ke.clearTimeout(t)};function Ii(t,e){if(e)return t.slice();var n=t.length,r=Oe?Oe(n):new t.constructor(n);return t.copy(r),r}function Li(t){var e=new t.constructor(t.byteLength);return new me(e).set(new me(t)),e}function Bi(t,e){var n=e?Li(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Fi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,l=wu(t),u=e!==o,a=null===e,s=e==e,c=wu(e);if(!a&&!c&&!l&&t>e||l&&u&&s&&!a&&!c||r&&u&&s||!n&&s||!i)return 1;if(!r&&!l&&!c&&t<e||c&&n&&i&&!r&&!l||a&&n&&i||!u&&i||!s)return-1}return 0}function Ui(t,e,n,i){for(var o=-1,l=t.length,u=n.length,a=-1,s=e.length,c=Ln(l-u,0),f=r(s+c),h=!i;++a<s;)f[a]=e[a];for(;++o<u;)(h||o<l)&&(f[n[o]]=t[o]);for(;c--;)f[a++]=t[o++];return f}function Vi(t,e,n,i){for(var o=-1,l=t.length,u=-1,a=n.length,s=-1,c=e.length,f=Ln(l-a,0),h=r(f+c),p=!i;++o<f;)h[o]=t[o];for(var d=o;++s<c;)h[d+s]=e[s];for(;++u<a;)(p||o<l)&&(h[d+n[u]]=t[o++]);return h}function Wi(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function zi(t,e,n,r){var i=!n;n||(n={});for(var l=-1,u=e.length;++l<u;){var a=e[l],s=r?r(n[a],t[a],a,n,t):o;s===o&&(s=t[a]),i?xr(n,a,s):mr(n,a,s)}return n}function Hi(t,e){return function(n,r){var i=ru(n)?Be:wr,o=e?e():{};return i(n,t,xo(r,2),o)}}function Ki(t){return pi(function(e,n){var r=-1,i=n.length,l=i>1?n[i-1]:o,u=i>2?n[2]:o;for(l=t.length>3&&\"function\"==typeof l?(i--,l):o,u&&Do(n[0],n[1],u)&&(l=i<3?o:l,i=1),e=Gt(e);++r<i;){var a=n[r];a&&t(e,a,r,l)}return e})}function Yi(t,e){return function(n,r){if(null==n)return n;if(!ou(n))return t(n,r);for(var i=n.length,o=e?i:-1,l=Gt(n);(e?o--:++o<i)&&!1!==r(l[o],o,l););return n}}function Gi(t){return function(e,n,r){for(var i=-1,o=Gt(e),l=r(e),u=l.length;u--;){var a=l[t?u:++i];if(!1===n(o[a],a,o))break}return e}}function \$i(t){return function(e){var n=gn(e=Ru(e))?kn(e):o,r=n?n[0]:e.charAt(0),i=n?Mi(n,1).join(\"\"):e.slice(1);return r[t]()+i}}function Zi(t){return function(e){return Ye(ca(na(e).replace(se,\"\")),t,\"\")}}function Xi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=ur(t.prototype),r=t.apply(n,e);return pu(r)?r:n}}function Ji(t){return function(e,n,r){var i=Gt(e);if(!ou(e)){var l=xo(n,3);e=zu(e),n=function(t){return l(i[t],t,i)}}var u=t(e,n,r);return u>-1?i[l?e[u]:u]:o}}function Qi(t){return go(function(e){var n=e.length,r=n,i=sr.prototype.thru;for(t&&e.reverse();r--;){var l=e[r];if(\"function\"!=typeof l)throw new Xt(u);if(i&&!a&&\"wrapper\"==wo(l))var a=new sr([],!0)}for(r=a?r:n;++r<n;){var s=wo(l=e[r]),c=\"wrapper\"==s?_o(l):o;a=c&&qo(c[0])&&c[1]==(w|g|m|O)&&!c[4].length&&1==c[9]?a[wo(c[0])].apply(a,c[3]):1==l.length&&qo(l)?a[s]():a.thru(l)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ru(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function to(t,e,n,i,l,u,a,s,c,f){var h=e&w,p=e&d,v=e&y,m=e&(g|b),_=e&x,O=v?o:Xi(t);return function d(){for(var y=arguments.length,g=r(y),b=y;b--;)g[b]=arguments[b];if(m)var w=Oo(d),x=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(g,w);if(i&&(g=Ui(g,i,l,m)),u&&(g=Vi(g,u,a,m)),y-=x,m&&y<f){var k=_n(g,w);return uo(t,e,to,d.placeholder,n,g,k,s,c,f-y)}var E=p?n:this,C=v?E[t]:t;return y=g.length,s?g=function(t,e){for(var n=t.length,r=Bn(e.length,n),i=Wi(t);r--;){var l=e[r];t[r]=No(l,n)?i[l]:o}return t}(g,s):_&&y>1&&g.reverse(),h&&c<y&&(g.length=c),this&&this!==ke&&this instanceof d&&(C=O||Xi(C)),C.apply(E,g)}}function eo(t,e){return function(n,r){return function(t,e,n,r){return Lr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function no(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;\"string\"==typeof n||\"string\"==typeof r?(n=xi(n),r=xi(r)):(n=Oi(n),r=Oi(r)),i=t(n,r)}return i}}function ro(t){return go(function(e){return e=He(e,sn(xo())),pi(function(n){var r=this;return t(e,function(t){return Le(t,r,n)})})})}function io(t,e){var n=(e=e===o?\" \":xi(e)).length;if(n<2)return n?hi(e,t):e;var r=hi(e,Rn(t/xn(e)));return gn(e)?Mi(kn(r),0,t).join(\"\"):r.slice(0,t)}function oo(t){return function(e,n,i){return i&&\"number\"!=typeof i&&Do(e,n,i)&&(n=i=o),e=Cu(e),n===o?(n=e,e=0):n=Cu(n),function(t,e,n,i){for(var o=-1,l=Ln(Rn((e-t)/(n||1)),0),u=r(l);l--;)u[i?l:++o]=t,t+=n;return u}(e,n,i=i===o?e<n?1:-1:Cu(i),t)}}function lo(t){return function(e,n){return\"string\"==typeof e&&\"string\"==typeof n||(e=Au(e),n=Au(n)),t(e,n)}}function uo(t,e,n,r,i,l,u,a,s,c){var f=e&g;e|=f?m:_,(e&=~(f?_:m))&v||(e&=~(d|y));var h=[t,e,i,f?l:o,f?u:o,f?o:l,f?o:u,a,s,c],p=n.apply(o,h);return qo(t)&&Wo(p,h),p.placeholder=r,Ko(p,t,e)}function ao(t){var e=Yt[t];return function(t,n){if(t=Au(t),n=null==n?0:Bn(Tu(n),292)){var r=(Ru(t)+\"e\").split(\"e\");return+((r=(Ru(e(r[0]+\"e\"+(+r[1]+n)))+\"e\").split(\"e\"))[0]+\"e\"+(+r[1]-n))}return e(t)}}var so=Yn&&1/wn(new Yn([,-0]))[1]==C?function(t){return new Yn(t)}:wa;function co(t){return function(e){var n=Ao(e);return n==W?bn(e):n==\$?On(e):function(t,e){return He(e,function(e){return[e,t[e]]})}(e,t(e))}}function fo(t,e,n,i,l,s,c,f){var h=e&y;if(!h&&\"function\"!=typeof t)throw new Xt(u);var p=i?i.length:0;if(p||(e&=~(m|_),i=l=o),c=c===o?c:Ln(Tu(c),0),f=f===o?f:Tu(f),p-=l?l.length:0,e&_){var x=i,k=l;i=l=o}var E=h?o:_o(t),C=[t,e,n,i,l,x,k,s,c,f];if(E&&function(t,e){var n=t[1],r=e[1],i=n|r;if(!(i<(d|y|w)||r==w&&n==g||r==w&&n==O&&t[7].length<=e[8]||r==(w|O)&&e[7].length<=e[8]&&n==g))return t;r&d&&(t[2]=e[2],i|=n&d?0:v);var o=e[3];if(o){var l=t[3];t[3]=l?Ui(l,o,e[4]):o,t[4]=l?_n(t[3],a):e[4]}(o=e[5])&&(t[5]=(l=t[5])?Vi(l,o,e[6]):o,t[6]=l?_n(t[5],a):e[6]),(o=e[7])&&(t[7]=o),r&w&&(t[8]=null==t[8]?e[8]:Bn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(C,E),t=C[0],e=C[1],n=C[2],i=C[3],l=C[4],!(f=C[9]=C[9]===o?h?0:t.length:Ln(C[9]-p,0))&&e&(g|b)&&(e&=~(g|b)),e&&e!=d)T=e==g||e==b?function(t,e,n){var i=Xi(t);return function l(){for(var u=arguments.length,a=r(u),s=u,c=Oo(l);s--;)a[s]=arguments[s];var f=u<3&&a[0]!==c&&a[u-1]!==c?[]:_n(a,c);return(u-=f.length)<n?uo(t,e,to,l.placeholder,o,a,f,o,o,n-u):Le(this&&this!==ke&&this instanceof l?i:t,this,a)}}(t,e,f):e!=m&&e!=(d|m)||l.length?to.apply(o,C):function(t,e,n,i){var o=e&d,l=Xi(t);return function e(){for(var u=-1,a=arguments.length,s=-1,c=i.length,f=r(c+a),h=this&&this!==ke&&this instanceof e?l:t;++s<c;)f[s]=i[s];for(;a--;)f[s++]=arguments[++u];return Le(h,o?n:this,f)}}(t,e,n,i);else var T=function(t,e,n){var r=e&d,i=Xi(t);return function e(){return(this&&this!==ke&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return Ko((E?yi:Wo)(T,C),t,e)}function ho(t,e,n,r){return t===o||Ql(t,Qt[n])&&!ne.call(r,n)?e:t}function po(t,e,n,r,i,l){return pu(t)&&pu(e)&&(l.set(e,t),oi(t,e,o,po,l),l.delete(e)),t}function yo(t){return gu(t)?o:t}function vo(t,e,n,r,i,l){var u=n&h,a=t.length,s=e.length;if(a!=s&&!(u&&s>a))return!1;var c=l.get(t);if(c&&l.get(e))return c==e;var f=-1,d=!0,y=n&p?new dr:o;for(l.set(t,e),l.set(e,t);++f<a;){var v=t[f],g=e[f];if(r)var b=u?r(g,v,f,e,t,l):r(v,g,f,t,e,l);if(b!==o){if(b)continue;d=!1;break}if(y){if(!\$e(e,function(t,e){if(!fn(y,e)&&(v===t||i(v,t,n,r,l)))return y.push(e)})){d=!1;break}}else if(v!==g&&!i(v,g,n,r,l)){d=!1;break}}return l.delete(t),l.delete(e),d}function go(t){return Ho(Uo(t,o,il),t+\"\")}function bo(t){return Vr(t,zu,To)}function mo(t){return Vr(t,Hu,jo)}var _o=Zn?function(t){return Zn.get(t)}:wa;function wo(t){for(var e=t.name+\"\",n=Xn[e],r=ne.call(Xn,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Oo(t){return(ne.call(lr,\"placeholder\")?lr:t).placeholder}function xo(){var t=lr.iteratee||ga;return t=t===ga?Qr:t,arguments.length?t(arguments[0],arguments[1]):t}function ko(t,e){var n,r,i=t.__data__;return(\"string\"==(r=typeof(n=e))||\"number\"==r||\"symbol\"==r||\"boolean\"==r?\"__proto__\"!==n:null===n)?i[\"string\"==typeof e?\"string\":\"hash\"]:i.map}function Eo(t){for(var e=zu(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Bo(i)]}return e}function Co(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return Jr(n)?n:o}var To=Nn?function(t){return null==t?[]:(t=Gt(t),Ve(Nn(t),function(e){return Ce.call(t,e)}))}:ja,jo=Nn?function(t){for(var e=[];t;)Ke(e,To(t)),t=xe(t);return e}:ja,Ao=Wr;function Po(t,e,n){for(var r=-1,i=(e=Ni(e,t)).length,o=!1;++r<i;){var l=Zo(e[r]);if(!(o=null!=t&&n(t,l)))break;t=t[l]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&hu(i)&&No(l,i)&&(ru(t)||nu(t))}function Ro(t){return\"function\"!=typeof t.constructor||Lo(t)?{}:ur(xe(t))}function So(t){return ru(t)||nu(t)||!!(Ae&&t&&t[Ae])}function No(t,e){return!!(e=null==e?T:e)&&(\"number\"==typeof t||Ut.test(t))&&t>-1&&t%1==0&&t<e}function Do(t,e,n){if(!pu(n))return!1;var r=typeof e;return!!(\"number\"==r?ou(n)&&No(e,n.length):\"string\"==r&&e in n)&&Ql(n[e],t)}function Mo(t,e){if(ru(t))return!1;var n=typeof t;return!(\"number\"!=n&&\"symbol\"!=n&&\"boolean\"!=n&&null!=t&&!wu(t))||Ot.test(t)||!wt.test(t)||null!=e&&t in Gt(e)}function qo(t){var e=wo(t),n=lr[e];if(\"function\"!=typeof n||!(e in cr.prototype))return!1;if(t===n)return!0;var r=_o(n);return!!r&&t===r[0]}(zn&&Ao(new zn(new ArrayBuffer(1)))!=et||Hn&&Ao(new Hn)!=W||Kn&&\"[object Promise]\"!=Ao(Kn.resolve())||Yn&&Ao(new Yn)!=\$||Gn&&Ao(new Gn)!=Q)&&(Ao=function(t){var e=Wr(t),n=e==K?t.constructor:o,r=n?Xo(n):\"\";if(r)switch(r){case Jn:return et;case Qn:return W;case tr:return\"[object Promise]\";case er:return \$;case nr:return Q}return e});var Io=te?cu:Aa;function Lo(t){var e=t&&t.constructor;return t===(\"function\"==typeof e&&e.prototype||Qt)}function Bo(t){return t==t&&!pu(t)}function Fo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in Gt(n))}}function Uo(t,e,n){return e=Ln(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,l=Ln(i.length-e,0),u=r(l);++o<l;)u[o]=i[e+o];o=-1;for(var a=r(e+1);++o<e;)a[o]=i[o];return a[e]=n(u),Le(t,this,a)}}function Vo(t,e){return e.length<2?t:Ur(t,gi(e,0,-1))}var Wo=Yo(yi),zo=Pn||function(t,e){return ke.setTimeout(t,e)},Ho=Yo(vi);function Ko(t,e,n){var r=e+\"\";return Ho(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?\"& \":\"\")+e[r],e=e.join(n>2?\", \":\" \"),t.replace(Pt,\"{\\n/* [wrapped with \"+e+\"] */\\n\")}(r,function(t,e){return Fe(N,function(n){var r=\"_.\"+n[0];e&n[1]&&!We(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Rt);return e?e[1].split(St):[]}(r),n)))}function Yo(t){var e=0,n=0;return function(){var r=Fn(),i=E-(r-n);if(n=r,i>0){if(++e>=k)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Go(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var l=fi(n,i),u=t[l];t[l]=t[n],t[n]=u}return t.length=e,t}var \$o=function(t){var e=Yl(function(t){var e=[];return xt.test(t)&&e.push(\"\"),t.replace(kt,function(t,n,r,i){e.push(r?i.replace(Dt,\"\$1\"):n||t)}),e},function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}();function Zo(t){if(\"string\"==typeof t||wu(t))return t;var e=t+\"\";return\"0\"==e&&1/t==-C?\"-0\":e}function Xo(t){if(null!=t){try{return ee.call(t)}catch(t){}try{return t+\"\"}catch(t){}}return\"\"}function Jo(t){if(t instanceof cr)return t.clone();var e=new sr(t.__wrapped__,t.__chain__);return e.__actions__=Wi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Qo=pi(function(t,e){return lu(t)?Ar(t,Mr(e,1,lu,!0)):[]}),tl=pi(function(t,e){var n=sl(e);return lu(n)&&(n=o),lu(t)?Ar(t,Mr(e,1,lu,!0),xo(n,2)):[]}),el=pi(function(t,e){var n=sl(e);return lu(n)&&(n=o),lu(t)?Ar(t,Mr(e,1,lu,!0),o,n):[]});function nl(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Tu(n);return i<0&&(i=Ln(r+i,0)),Je(t,xo(e,3),i)}function rl(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Tu(n),i=n<0?Ln(r+i,0):Bn(i,r-1)),Je(t,xo(e,3),i,!0)}function il(t){return null!=t&&t.length?Mr(t,1):[]}function ol(t){return t&&t.length?t[0]:o}var ll=pi(function(t){var e=He(t,Ri);return e.length&&e[0]===t[0]?Yr(e):[]}),ul=pi(function(t){var e=sl(t),n=He(t,Ri);return e===sl(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Yr(n,xo(e,2)):[]}),al=pi(function(t){var e=sl(t),n=He(t,Ri);return(e=\"function\"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?Yr(n,o,e):[]});function sl(t){var e=null==t?0:t.length;return e?t[e-1]:o}var cl=pi(fl);function fl(t,e){return t&&t.length&&e&&e.length?si(t,e):t}var hl=go(function(t,e){var n=null==t?0:t.length,r=kr(t,e);return ci(t,He(e,function(t){return No(t,n)?+t:t}).sort(Fi)),r});function pl(t){return null==t?t:Wn.call(t)}var dl=pi(function(t){return ki(Mr(t,1,lu,!0))}),yl=pi(function(t){var e=sl(t);return lu(e)&&(e=o),ki(Mr(t,1,lu,!0),xo(e,2))}),vl=pi(function(t){var e=sl(t);return e=\"function\"==typeof e?e:o,ki(Mr(t,1,lu,!0),o,e)});function gl(t){if(!t||!t.length)return[];var e=0;return t=Ve(t,function(t){if(lu(t))return e=Ln(t.length,e),!0}),an(e,function(e){return He(t,rn(e))})}function bl(t,e){if(!t||!t.length)return[];var n=gl(t);return null==e?n:He(n,function(t){return Le(e,o,t)})}var ml=pi(function(t,e){return lu(t)?Ar(t,e):[]}),_l=pi(function(t){return Ai(Ve(t,lu))}),wl=pi(function(t){var e=sl(t);return lu(e)&&(e=o),Ai(Ve(t,lu),xo(e,2))}),Ol=pi(function(t){var e=sl(t);return e=\"function\"==typeof e?e:o,Ai(Ve(t,lu),o,e)}),xl=pi(gl),kl=pi(function(t){var e=t.length,n=e>1?t[e-1]:o;return bl(t,n=\"function\"==typeof n?(t.pop(),n):o)});function El(t){var e=lr(t);return e.__chain__=!0,e}function Cl(t,e){return e(t)}var Tl=go(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return kr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof cr&&No(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Cl,args:[i],thisArg:o}),new sr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)}),jl=Hi(function(t,e,n){ne.call(t,n)?++t[n]:xr(t,n,1)}),Al=Ji(nl),Pl=Ji(rl);function Rl(t,e){return(ru(t)?Fe:Pr)(t,xo(e,3))}function Sl(t,e){return(ru(t)?function(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}:Rr)(t,xo(e,3))}var Nl=Hi(function(t,e,n){ne.call(t,n)?t[n].push(e):xr(t,n,[e])}),Dl=pi(function(t,e,n){var i=-1,o=\"function\"==typeof e,l=ou(t)?r(t.length):[];return Pr(t,function(t){l[++i]=o?Le(e,t,n):Gr(t,e,n)}),l}),Ml=Hi(function(t,e,n){xr(t,n,e)});function ql(t,e){return(ru(t)?He:ni)(t,xo(e,3))}var Il=Hi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Ll=pi(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Do(t,e[0],e[1])?e=[]:n>2&&Do(e[0],e[1],e[2])&&(e=[e[0]]),ui(t,Mr(e,1),[])}),Bl=An||function(){return ke.Date.now()};function Fl(t,e,n){return e=n?o:e,fo(t,w,o,o,o,o,e=t&&null==e?t.length:e)}function Ul(t,e){var n;if(\"function\"!=typeof e)throw new Xt(u);return t=Tu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Vl=pi(function(t,e,n){var r=d;if(n.length){var i=_n(n,Oo(Vl));r|=m}return fo(t,r,e,n,i)}),Wl=pi(function(t,e,n){var r=d|y;if(n.length){var i=_n(n,Oo(Wl));r|=m}return fo(e,r,t,n,i)});function zl(t,e,n){var r,i,l,a,s,c,f=0,h=!1,p=!1,d=!0;if(\"function\"!=typeof t)throw new Xt(u);function y(e){var n=r,l=i;return r=i=o,f=e,a=t.apply(l,n)}function v(t){var n=t-c;return c===o||n>=e||n<0||p&&t-f>=l}function g(){var t=Bl();if(v(t))return b(t);s=zo(g,function(t){var n=e-(t-c);return p?Bn(n,l-(t-f)):n}(t))}function b(t){return s=o,d&&r?y(t):(r=i=o,a)}function m(){var t=Bl(),n=v(t);if(r=arguments,i=this,c=t,n){if(s===o)return function(t){return f=t,s=zo(g,e),h?y(t):a}(c);if(p)return s=zo(g,e),y(c)}return s===o&&(s=zo(g,e)),a}return e=Au(e)||0,pu(n)&&(h=!!n.leading,l=(p=\"maxWait\"in n)?Ln(Au(n.maxWait)||0,e):l,d=\"trailing\"in n?!!n.trailing:d),m.cancel=function(){s!==o&&qi(s),f=0,r=c=i=s=o},m.flush=function(){return s===o?a:b(Bl())},m}var Hl=pi(function(t,e){return jr(t,1,e)}),Kl=pi(function(t,e,n){return jr(t,Au(e)||0,n)});function Yl(t,e){if(\"function\"!=typeof t||null!=e&&\"function\"!=typeof e)throw new Xt(u);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var l=t.apply(this,r);return n.cache=o.set(i,l)||o,l};return n.cache=new(Yl.Cache||pr),n}function Gl(t){if(\"function\"!=typeof t)throw new Xt(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Yl.Cache=pr;var \$l=Di(function(t,e){var n=(e=1==e.length&&ru(e[0])?He(e[0],sn(xo())):He(Mr(e,1),sn(xo()))).length;return pi(function(r){for(var i=-1,o=Bn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Le(t,this,r)})}),Zl=pi(function(t,e){var n=_n(e,Oo(Zl));return fo(t,m,o,e,n)}),Xl=pi(function(t,e){var n=_n(e,Oo(Xl));return fo(t,_,o,e,n)}),Jl=go(function(t,e){return fo(t,O,o,o,o,e)});function Ql(t,e){return t===e||t!=t&&e!=e}var tu=lo(zr),eu=lo(function(t,e){return t>=e}),nu=\$r(function(){return arguments}())?\$r:function(t){return du(t)&&ne.call(t,\"callee\")&&!Ce.call(t,\"callee\")},ru=r.isArray,iu=Pe?sn(Pe):function(t){return du(t)&&Wr(t)==tt};function ou(t){return null!=t&&hu(t.length)&&!cu(t)}function lu(t){return du(t)&&ou(t)}var uu=Dn||Aa,au=Re?sn(Re):function(t){return du(t)&&Wr(t)==L};function su(t){if(!du(t))return!1;var e=Wr(t);return e==F||e==B||\"string\"==typeof t.message&&\"string\"==typeof t.name&&!gu(t)}function cu(t){if(!pu(t))return!1;var e=Wr(t);return e==U||e==V||e==q||e==Y}function fu(t){return\"number\"==typeof t&&t==Tu(t)}function hu(t){return\"number\"==typeof t&&t>-1&&t%1==0&&t<=T}function pu(t){var e=typeof t;return null!=t&&(\"object\"==e||\"function\"==e)}function du(t){return null!=t&&\"object\"==typeof t}var yu=Se?sn(Se):function(t){return du(t)&&Ao(t)==W};function vu(t){return\"number\"==typeof t||du(t)&&Wr(t)==z}function gu(t){if(!du(t)||Wr(t)!=K)return!1;var e=xe(t);if(null===e)return!0;var n=ne.call(e,\"constructor\")&&e.constructor;return\"function\"==typeof n&&n instanceof n&&ee.call(n)==le}var bu=Ne?sn(Ne):function(t){return du(t)&&Wr(t)==G},mu=De?sn(De):function(t){return du(t)&&Ao(t)==\$};function _u(t){return\"string\"==typeof t||!ru(t)&&du(t)&&Wr(t)==Z}function wu(t){return\"symbol\"==typeof t||du(t)&&Wr(t)==X}var Ou=Me?sn(Me):function(t){return du(t)&&hu(t.length)&&!!ge[Wr(t)]},xu=lo(ei),ku=lo(function(t,e){return t<=e});function Eu(t){if(!t)return[];if(ou(t))return _u(t)?kn(t):Wi(t);if(Ze&&t[Ze])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Ze]());var e=Ao(t);return(e==W?bn:e==\$?wn:Qu)(t)}function Cu(t){return t?(t=Au(t))===C||t===-C?(t<0?-1:1)*j:t==t?t:0:0===t?t:0}function Tu(t){var e=Cu(t),n=e%1;return e==e?n?e-n:e:0}function ju(t){return t?Er(Tu(t),0,P):0}function Au(t){if(\"number\"==typeof t)return t;if(wu(t))return A;if(pu(t)){var e=\"function\"==typeof t.valueOf?t.valueOf():t;t=pu(e)?e+\"\":e}if(\"string\"!=typeof t)return 0===t?t:+t;t=t.replace(Tt,\"\");var n=Lt.test(t);return n||Ft.test(t)?we(t.slice(2),n?2:8):It.test(t)?A:+t}function Pu(t){return zi(t,Hu(t))}function Ru(t){return null==t?\"\":xi(t)}var Su=Ki(function(t,e){if(Lo(e)||ou(e))zi(e,zu(e),t);else for(var n in e)ne.call(e,n)&&mr(t,n,e[n])}),Nu=Ki(function(t,e){zi(e,Hu(e),t)}),Du=Ki(function(t,e,n,r){zi(e,Hu(e),t,r)}),Mu=Ki(function(t,e,n,r){zi(e,zu(e),t,r)}),qu=go(kr),Iu=pi(function(t){return t.push(o,ho),Le(Du,o,t)}),Lu=pi(function(t){return t.push(o,po),Le(Yu,o,t)});function Bu(t,e,n){var r=null==t?o:Ur(t,e);return r===o?n:r}function Fu(t,e){return null!=t&&Po(t,e,Kr)}var Uu=eo(function(t,e,n){t[e]=n},pa(va)),Vu=eo(function(t,e,n){ne.call(t,e)?t[e].push(n):t[e]=[n]},xo),Wu=pi(Gr);function zu(t){return ou(t)?vr(t):ti(t)}function Hu(t){return ou(t)?vr(t,!0):function(t){if(!pu(t))return function(t){var e=[];if(null!=t)for(var n in Gt(t))e.push(n);return e}(t);var e=Lo(t),n=[];for(var r in t)(\"constructor\"!=r||!e&&ne.call(t,r))&&n.push(r);return n}(t)}var Ku=Ki(function(t,e,n){oi(t,e,n)}),Yu=Ki(function(t,e,n,r){oi(t,e,n,r)}),Gu=go(function(t,e){var n={};if(null==t)return n;var r=!1;e=He(e,function(e){return e=Ni(e,t),r||(r=e.length>1),e}),zi(t,mo(t),n),r&&(n=Cr(n,s|c|f,yo));for(var i=e.length;i--;)Ei(n,e[i]);return n}),\$u=go(function(t,e){return null==t?{}:function(t,e){return ai(t,e,function(e,n){return Fu(t,n)})}(t,e)});function Zu(t,e){if(null==t)return{};var n=He(mo(t),function(t){return[t]});return e=xo(e),ai(t,n,function(t,n){return e(t,n[0])})}var Xu=co(zu),Ju=co(Hu);function Qu(t){return null==t?[]:cn(t,zu(t))}var ta=Zi(function(t,e,n){return e=e.toLowerCase(),t+(n?ea(e):e)});function ea(t){return sa(Ru(t).toLowerCase())}function na(t){return(t=Ru(t))&&t.replace(Vt,dn).replace(ce,\"\")}var ra=Zi(function(t,e,n){return t+(n?\"-\":\"\")+e.toLowerCase()}),ia=Zi(function(t,e,n){return t+(n?\" \":\"\")+e.toLowerCase()}),oa=\$i(\"toLowerCase\"),la=Zi(function(t,e,n){return t+(n?\"_\":\"\")+e.toLowerCase()}),ua=Zi(function(t,e,n){return t+(n?\" \":\"\")+sa(e)}),aa=Zi(function(t,e,n){return t+(n?\" \":\"\")+e.toUpperCase()}),sa=\$i(\"toUpperCase\");function ca(t,e,n){return t=Ru(t),(e=n?o:e)===o?function(t){return de.test(t)}(t)?function(t){return t.match(he)||[]}(t):function(t){return t.match(Nt)||[]}(t):t.match(e)||[]}var fa=pi(function(t,e){try{return Le(t,o,e)}catch(t){return su(t)?t:new Ht(t)}}),ha=go(function(t,e){return Fe(e,function(e){e=Zo(e),xr(t,e,Vl(t[e],t))}),t});function pa(t){return function(){return t}}var da=Qi(),ya=Qi(!0);function va(t){return t}function ga(t){return Qr(\"function\"==typeof t?t:Cr(t,s))}var ba=pi(function(t,e){return function(n){return Gr(n,t,e)}}),ma=pi(function(t,e){return function(n){return Gr(t,n,e)}});function _a(t,e,n){var r=zu(e),i=Fr(e,r);null!=n||pu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Fr(e,zu(e)));var o=!(pu(n)&&\"chain\"in n&&!n.chain),l=cu(t);return Fe(i,function(n){var r=e[n];t[n]=r,l&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Wi(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Ke([this.value()],arguments))})}),t}function wa(){}var Oa=ro(He),xa=ro(Ue),ka=ro(\$e);function Ea(t){return Mo(t)?rn(Zo(t)):function(t){return function(e){return Ur(e,t)}}(t)}var Ca=oo(),Ta=oo(!0);function ja(){return[]}function Aa(){return!1}var Pa,Ra=no(function(t,e){return t+e},0),Sa=ao(\"ceil\"),Na=no(function(t,e){return t/e},1),Da=ao(\"floor\"),Ma=no(function(t,e){return t*e},1),qa=ao(\"round\"),Ia=no(function(t,e){return t-e},0);return lr.after=function(t,e){if(\"function\"!=typeof e)throw new Xt(u);return t=Tu(t),function(){if(--t<1)return e.apply(this,arguments)}},lr.ary=Fl,lr.assign=Su,lr.assignIn=Nu,lr.assignInWith=Du,lr.assignWith=Mu,lr.at=qu,lr.before=Ul,lr.bind=Vl,lr.bindAll=ha,lr.bindKey=Wl,lr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ru(t)?t:[t]},lr.chain=El,lr.chunk=function(t,e,n){e=(n?Do(t,e,n):e===o)?1:Ln(Tu(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var l=0,u=0,a=r(Rn(i/e));l<i;)a[u++]=gi(t,l,l+=e);return a},lr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},lr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Ke(ru(n)?Wi(n):[n],Mr(e,1))},lr.cond=function(t){var e=null==t?0:t.length,n=xo();return t=e?He(t,function(t){if(\"function\"!=typeof t[1])throw new Xt(u);return[n(t[0]),t[1]]}):[],pi(function(n){for(var r=-1;++r<e;){var i=t[r];if(Le(i[0],this,n))return Le(i[1],this,n)}})},lr.conforms=function(t){return function(t){var e=zu(t);return function(n){return Tr(n,t,e)}}(Cr(t,s))},lr.constant=pa,lr.countBy=jl,lr.create=function(t,e){var n=ur(t);return null==e?n:Or(n,e)},lr.curry=function t(e,n,r){var i=fo(e,g,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},lr.curryRight=function t(e,n,r){var i=fo(e,b,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},lr.debounce=zl,lr.defaults=Iu,lr.defaultsDeep=Lu,lr.defer=Hl,lr.delay=Kl,lr.difference=Qo,lr.differenceBy=tl,lr.differenceWith=el,lr.drop=function(t,e,n){var r=null==t?0:t.length;return r?gi(t,(e=n||e===o?1:Tu(e))<0?0:e,r):[]},lr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?gi(t,0,(e=r-(e=n||e===o?1:Tu(e)))<0?0:e):[]},lr.dropRightWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3),!0,!0):[]},lr.dropWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3),!0):[]},lr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&\"number\"!=typeof n&&Do(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=Tu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:Tu(r))<0&&(r+=i),r=n>r?0:ju(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},lr.filter=function(t,e){return(ru(t)?Ve:Dr)(t,xo(e,3))},lr.flatMap=function(t,e){return Mr(ql(t,e),1)},lr.flatMapDeep=function(t,e){return Mr(ql(t,e),C)},lr.flatMapDepth=function(t,e,n){return n=n===o?1:Tu(n),Mr(ql(t,e),n)},lr.flatten=il,lr.flattenDeep=function(t){return null!=t&&t.length?Mr(t,C):[]},lr.flattenDepth=function(t,e){return null!=t&&t.length?Mr(t,e=e===o?1:Tu(e)):[]},lr.flip=function(t){return fo(t,x)},lr.flow=da,lr.flowRight=ya,lr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},lr.functions=function(t){return null==t?[]:Fr(t,zu(t))},lr.functionsIn=function(t){return null==t?[]:Fr(t,Hu(t))},lr.groupBy=Nl,lr.initial=function(t){return null!=t&&t.length?gi(t,0,-1):[]},lr.intersection=ll,lr.intersectionBy=ul,lr.intersectionWith=al,lr.invert=Uu,lr.invertBy=Vu,lr.invokeMap=Dl,lr.iteratee=ga,lr.keyBy=Ml,lr.keys=zu,lr.keysIn=Hu,lr.map=ql,lr.mapKeys=function(t,e){var n={};return e=xo(e,3),Lr(t,function(t,r,i){xr(n,e(t,r,i),t)}),n},lr.mapValues=function(t,e){var n={};return e=xo(e,3),Lr(t,function(t,r,i){xr(n,r,e(t,r,i))}),n},lr.matches=function(t){return ri(Cr(t,s))},lr.matchesProperty=function(t,e){return ii(t,Cr(e,s))},lr.memoize=Yl,lr.merge=Ku,lr.mergeWith=Yu,lr.method=ba,lr.methodOf=ma,lr.mixin=_a,lr.negate=Gl,lr.nthArg=function(t){return t=Tu(t),pi(function(e){return li(e,t)})},lr.omit=Gu,lr.omitBy=function(t,e){return Zu(t,Gl(xo(e)))},lr.once=function(t){return Ul(2,t)},lr.orderBy=function(t,e,n,r){return null==t?[]:(ru(e)||(e=null==e?[]:[e]),ru(n=r?o:n)||(n=null==n?[]:[n]),ui(t,e,n))},lr.over=Oa,lr.overArgs=\$l,lr.overEvery=xa,lr.overSome=ka,lr.partial=Zl,lr.partialRight=Xl,lr.partition=Il,lr.pick=\$u,lr.pickBy=Zu,lr.property=Ea,lr.propertyOf=function(t){return function(e){return null==t?o:Ur(t,e)}},lr.pull=cl,lr.pullAll=fl,lr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?si(t,e,xo(n,2)):t},lr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?si(t,e,o,n):t},lr.pullAt=hl,lr.range=Ca,lr.rangeRight=Ta,lr.rearg=Jl,lr.reject=function(t,e){return(ru(t)?Ve:Dr)(t,Gl(xo(e,3)))},lr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=xo(e,3);++r<o;){var l=t[r];e(l,r,t)&&(n.push(l),i.push(r))}return ci(t,i),n},lr.rest=function(t,e){if(\"function\"!=typeof t)throw new Xt(u);return pi(t,e=e===o?e:Tu(e))},lr.reverse=pl,lr.sampleSize=function(t,e,n){return e=(n?Do(t,e,n):e===o)?1:Tu(e),(ru(t)?function(t,e){return Go(Wi(t),Er(e,0,t.length))}:function(t,e){var n=Qu(t);return Go(n,Er(e,0,n.length))})(t,e)},lr.set=function(t,e,n){return null==t?t:di(t,e,n)},lr.setWith=function(t,e,n,r){return r=\"function\"==typeof r?r:o,null==t?t:di(t,e,n,r)},lr.shuffle=function(t){return(ru(t)?function(t){return Go(Wi(t))}:function(t){return Go(Qu(t))})(t)},lr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&\"number\"!=typeof n&&Do(t,e,n)?(e=0,n=r):(e=null==e?0:Tu(e),n=n===o?r:Tu(n)),gi(t,e,n)):[]},lr.sortBy=Ll,lr.sortedUniq=function(t){return t&&t.length?wi(t):[]},lr.sortedUniqBy=function(t,e){return t&&t.length?wi(t,xo(e,2)):[]},lr.split=function(t,e,n){return n&&\"number\"!=typeof n&&Do(t,e,n)&&(e=n=o),(n=n===o?P:n>>>0)?(t=Ru(t))&&(\"string\"==typeof e||null!=e&&!bu(e))&&!(e=xi(e))&&gn(t)?Mi(kn(t),0,n):t.split(e,n):[]},lr.spread=function(t,e){if(\"function\"!=typeof t)throw new Xt(u);return e=null==e?0:Ln(Tu(e),0),pi(function(n){var r=n[e],i=Mi(n,0,e);return r&&Ke(i,r),Le(t,this,i)})},lr.tail=function(t){var e=null==t?0:t.length;return e?gi(t,1,e):[]},lr.take=function(t,e,n){return t&&t.length?gi(t,0,(e=n||e===o?1:Tu(e))<0?0:e):[]},lr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?gi(t,(e=r-(e=n||e===o?1:Tu(e)))<0?0:e,r):[]},lr.takeRightWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3),!1,!0):[]},lr.takeWhile=function(t,e){return t&&t.length?Ti(t,xo(e,3)):[]},lr.tap=function(t,e){return e(t),t},lr.throttle=function(t,e,n){var r=!0,i=!0;if(\"function\"!=typeof t)throw new Xt(u);return pu(n)&&(r=\"leading\"in n?!!n.leading:r,i=\"trailing\"in n?!!n.trailing:i),zl(t,e,{leading:r,maxWait:e,trailing:i})},lr.thru=Cl,lr.toArray=Eu,lr.toPairs=Xu,lr.toPairsIn=Ju,lr.toPath=function(t){return ru(t)?He(t,Zo):wu(t)?[t]:Wi(\$o(Ru(t)))},lr.toPlainObject=Pu,lr.transform=function(t,e,n){var r=ru(t),i=r||uu(t)||Ou(t);if(e=xo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:pu(t)&&cu(o)?ur(xe(t)):{}}return(i?Fe:Lr)(t,function(t,r,i){return e(n,t,r,i)}),n},lr.unary=function(t){return Fl(t,1)},lr.union=dl,lr.unionBy=yl,lr.unionWith=vl,lr.uniq=function(t){return t&&t.length?ki(t):[]},lr.uniqBy=function(t,e){return t&&t.length?ki(t,xo(e,2)):[]},lr.uniqWith=function(t,e){return e=\"function\"==typeof e?e:o,t&&t.length?ki(t,o,e):[]},lr.unset=function(t,e){return null==t||Ei(t,e)},lr.unzip=gl,lr.unzipWith=bl,lr.update=function(t,e,n){return null==t?t:Ci(t,e,Si(n))},lr.updateWith=function(t,e,n,r){return r=\"function\"==typeof r?r:o,null==t?t:Ci(t,e,Si(n),r)},lr.values=Qu,lr.valuesIn=function(t){return null==t?[]:cn(t,Hu(t))},lr.without=ml,lr.words=ca,lr.wrap=function(t,e){return Zl(Si(e),t)},lr.xor=_l,lr.xorBy=wl,lr.xorWith=Ol,lr.zip=xl,lr.zipObject=function(t,e){return Pi(t||[],e||[],mr)},lr.zipObjectDeep=function(t,e){return Pi(t||[],e||[],di)},lr.zipWith=kl,lr.entries=Xu,lr.entriesIn=Ju,lr.extend=Nu,lr.extendWith=Du,_a(lr,lr),lr.add=Ra,lr.attempt=fa,lr.camelCase=ta,lr.capitalize=ea,lr.ceil=Sa,lr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=Au(n))==n?n:0),e!==o&&(e=(e=Au(e))==e?e:0),Er(Au(t),e,n)},lr.clone=function(t){return Cr(t,f)},lr.cloneDeep=function(t){return Cr(t,s|f)},lr.cloneDeepWith=function(t,e){return Cr(t,s|f,e=\"function\"==typeof e?e:o)},lr.cloneWith=function(t,e){return Cr(t,f,e=\"function\"==typeof e?e:o)},lr.conformsTo=function(t,e){return null==e||Tr(t,e,zu(e))},lr.deburr=na,lr.defaultTo=function(t,e){return null==t||t!=t?e:t},lr.divide=Na,lr.endsWith=function(t,e,n){t=Ru(t),e=xi(e);var r=t.length,i=n=n===o?r:Er(Tu(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},lr.eq=Ql,lr.escape=function(t){return(t=Ru(t))&&gt.test(t)?t.replace(yt,yn):t},lr.escapeRegExp=function(t){return(t=Ru(t))&&Ct.test(t)?t.replace(Et,\"\\\\\$&\"):t},lr.every=function(t,e,n){var r=ru(t)?Ue:Sr;return n&&Do(t,e,n)&&(e=o),r(t,xo(e,3))},lr.find=Al,lr.findIndex=nl,lr.findKey=function(t,e){return Xe(t,xo(e,3),Lr)},lr.findLast=Pl,lr.findLastIndex=rl,lr.findLastKey=function(t,e){return Xe(t,xo(e,3),Br)},lr.floor=Da,lr.forEach=Rl,lr.forEachRight=Sl,lr.forIn=function(t,e){return null==t?t:qr(t,xo(e,3),Hu)},lr.forInRight=function(t,e){return null==t?t:Ir(t,xo(e,3),Hu)},lr.forOwn=function(t,e){return t&&Lr(t,xo(e,3))},lr.forOwnRight=function(t,e){return t&&Br(t,xo(e,3))},lr.get=Bu,lr.gt=tu,lr.gte=eu,lr.has=function(t,e){return null!=t&&Po(t,e,Hr)},lr.hasIn=Fu,lr.head=ol,lr.identity=va,lr.includes=function(t,e,n,r){t=ou(t)?t:Qu(t),n=n&&!r?Tu(n):0;var i=t.length;return n<0&&(n=Ln(i+n,0)),_u(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Qe(t,e,n)>-1},lr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Tu(n);return i<0&&(i=Ln(r+i,0)),Qe(t,e,i)},lr.inRange=function(t,e,n){return e=Cu(e),n===o?(n=e,e=0):n=Cu(n),function(t,e,n){return t>=Bn(e,n)&&t<Ln(e,n)}(t=Au(t),e,n)},lr.invoke=Wu,lr.isArguments=nu,lr.isArray=ru,lr.isArrayBuffer=iu,lr.isArrayLike=ou,lr.isArrayLikeObject=lu,lr.isBoolean=function(t){return!0===t||!1===t||du(t)&&Wr(t)==I},lr.isBuffer=uu,lr.isDate=au,lr.isElement=function(t){return du(t)&&1===t.nodeType&&!gu(t)},lr.isEmpty=function(t){if(null==t)return!0;if(ou(t)&&(ru(t)||\"string\"==typeof t||\"function\"==typeof t.splice||uu(t)||Ou(t)||nu(t)))return!t.length;var e=Ao(t);if(e==W||e==\$)return!t.size;if(Lo(t))return!ti(t).length;for(var n in t)if(ne.call(t,n))return!1;return!0},lr.isEqual=function(t,e){return Zr(t,e)},lr.isEqualWith=function(t,e,n){var r=(n=\"function\"==typeof n?n:o)?n(t,e):o;return r===o?Zr(t,e,o,n):!!r},lr.isError=su,lr.isFinite=function(t){return\"number\"==typeof t&&Mn(t)},lr.isFunction=cu,lr.isInteger=fu,lr.isLength=hu,lr.isMap=yu,lr.isMatch=function(t,e){return t===e||Xr(t,e,Eo(e))},lr.isMatchWith=function(t,e,n){return n=\"function\"==typeof n?n:o,Xr(t,e,Eo(e),n)},lr.isNaN=function(t){return vu(t)&&t!=+t},lr.isNative=function(t){if(Io(t))throw new Ht(\"Unsupported core-js use. Try https://npms.io/search?q=ponyfill.\");return Jr(t)},lr.isNil=function(t){return null==t},lr.isNull=function(t){return null===t},lr.isNumber=vu,lr.isObject=pu,lr.isObjectLike=du,lr.isPlainObject=gu,lr.isRegExp=bu,lr.isSafeInteger=function(t){return fu(t)&&t>=-T&&t<=T},lr.isSet=mu,lr.isString=_u,lr.isSymbol=wu,lr.isTypedArray=Ou,lr.isUndefined=function(t){return t===o},lr.isWeakMap=function(t){return du(t)&&Ao(t)==Q},lr.isWeakSet=function(t){return du(t)&&\"[object WeakSet]\"==Wr(t)},lr.join=function(t,e){return null==t?\"\":qn.call(t,e)},lr.kebabCase=ra,lr.last=sl,lr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=Tu(n))<0?Ln(r+i,0):Bn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):Je(t,en,i,!0)},lr.lowerCase=ia,lr.lowerFirst=oa,lr.lt=xu,lr.lte=ku,lr.max=function(t){return t&&t.length?Nr(t,va,zr):o},lr.maxBy=function(t,e){return t&&t.length?Nr(t,xo(e,2),zr):o},lr.mean=function(t){return nn(t,va)},lr.meanBy=function(t,e){return nn(t,xo(e,2))},lr.min=function(t){return t&&t.length?Nr(t,va,ei):o},lr.minBy=function(t,e){return t&&t.length?Nr(t,xo(e,2),ei):o},lr.stubArray=ja,lr.stubFalse=Aa,lr.stubObject=function(){return{}},lr.stubString=function(){return\"\"},lr.stubTrue=function(){return!0},lr.multiply=Ma,lr.nth=function(t,e){return t&&t.length?li(t,Tu(e)):o},lr.noConflict=function(){return ke._===this&&(ke._=ue),this},lr.noop=wa,lr.now=Bl,lr.pad=function(t,e,n){t=Ru(t);var r=(e=Tu(e))?xn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return io(Sn(i),n)+t+io(Rn(i),n)},lr.padEnd=function(t,e,n){t=Ru(t);var r=(e=Tu(e))?xn(t):0;return e&&r<e?t+io(e-r,n):t},lr.padStart=function(t,e,n){t=Ru(t);var r=(e=Tu(e))?xn(t):0;return e&&r<e?io(e-r,n)+t:t},lr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Un(Ru(t).replace(jt,\"\"),e||0)},lr.random=function(t,e,n){if(n&&\"boolean\"!=typeof n&&Do(t,e,n)&&(e=n=o),n===o&&(\"boolean\"==typeof e?(n=e,e=o):\"boolean\"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Cu(t),e===o?(e=t,t=0):e=Cu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Vn();return Bn(t+i*(e-t+_e(\"1e-\"+((i+\"\").length-1))),e)}return fi(t,e)},lr.reduce=function(t,e,n){var r=ru(t)?Ye:ln,i=arguments.length<3;return r(t,xo(e,4),n,i,Pr)},lr.reduceRight=function(t,e,n){var r=ru(t)?Ge:ln,i=arguments.length<3;return r(t,xo(e,4),n,i,Rr)},lr.repeat=function(t,e,n){return e=(n?Do(t,e,n):e===o)?1:Tu(e),hi(Ru(t),e)},lr.replace=function(){var t=arguments,e=Ru(t[0]);return t.length<3?e:e.replace(t[1],t[2])},lr.result=function(t,e,n){var r=-1,i=(e=Ni(e,t)).length;for(i||(i=1,t=o);++r<i;){var l=null==t?o:t[Zo(e[r])];l===o&&(r=i,l=n),t=cu(l)?l.call(t):l}return t},lr.round=qa,lr.runInContext=t,lr.sample=function(t){return(ru(t)?gr:function(t){return gr(Qu(t))})(t)},lr.size=function(t){if(null==t)return 0;if(ou(t))return _u(t)?xn(t):t.length;var e=Ao(t);return e==W||e==\$?t.size:ti(t).length},lr.snakeCase=la,lr.some=function(t,e,n){var r=ru(t)?\$e:bi;return n&&Do(t,e,n)&&(e=o),r(t,xo(e,3))},lr.sortedIndex=function(t,e){return mi(t,e)},lr.sortedIndexBy=function(t,e,n){return _i(t,e,xo(n,2))},lr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=mi(t,e);if(r<n&&Ql(t[r],e))return r}return-1},lr.sortedLastIndex=function(t,e){return mi(t,e,!0)},lr.sortedLastIndexBy=function(t,e,n){return _i(t,e,xo(n,2),!0)},lr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=mi(t,e,!0)-1;if(Ql(t[n],e))return n}return-1},lr.startCase=ua,lr.startsWith=function(t,e,n){return t=Ru(t),n=null==n?0:Er(Tu(n),0,t.length),e=xi(e),t.slice(n,n+e.length)==e},lr.subtract=Ia,lr.sum=function(t){return t&&t.length?un(t,va):0},lr.sumBy=function(t,e){return t&&t.length?un(t,xo(e,2)):0},lr.template=function(t,e,n){var r=lr.templateSettings;n&&Do(t,e,n)&&(e=o),t=Ru(t),e=Du({},e,r,ho);var i,l,u=Du({},e.imports,r.imports,ho),a=zu(u),s=cn(u,a),c=0,f=e.interpolate||Wt,h=\"__p += '\",p=\$t((e.escape||Wt).source+\"|\"+f.source+\"|\"+(f===_t?Mt:Wt).source+\"|\"+(e.evaluate||Wt).source+\"|\$\",\"g\"),d=\"//# sourceURL=\"+(\"sourceURL\"in e?e.sourceURL:\"lodash.templateSources[\"+ ++ve+\"]\")+\"\\n\";t.replace(p,function(e,n,r,o,u,a){return r||(r=o),h+=t.slice(c,a).replace(zt,vn),n&&(i=!0,h+=\"' +\\n__e(\"+n+\") +\\n'\"),u&&(l=!0,h+=\"';\\n\"+u+\";\\n__p += '\"),r&&(h+=\"' +\\n((__t = (\"+r+\")) == null ? '' : __t) +\\n'\"),c=a+e.length,e}),h+=\"';\\n\";var y=e.variable;y||(h=\"with (obj) {\\n\"+h+\"\\n}\\n\"),h=(l?h.replace(ft,\"\"):h).replace(ht,\"\$1\").replace(pt,\"\$1;\"),h=\"function(\"+(y||\"obj\")+\") {\\n\"+(y?\"\":\"obj || (obj = {});\\n\")+\"var __t, __p = ''\"+(i?\", __e = _.escape\":\"\")+(l?\", __j = Array.prototype.join;\\nfunction print() { __p += __j.call(arguments, '') }\\n\":\";\\n\")+h+\"return __p\\n}\";var v=fa(function(){return Kt(a,d+\"return \"+h).apply(o,s)});if(v.source=h,su(v))throw v;return v},lr.times=function(t,e){if((t=Tu(t))<1||t>T)return[];var n=P,r=Bn(t,P);e=xo(e),t-=P;for(var i=an(r,e);++n<t;)e(n);return i},lr.toFinite=Cu,lr.toInteger=Tu,lr.toLength=ju,lr.toLower=function(t){return Ru(t).toLowerCase()},lr.toNumber=Au,lr.toSafeInteger=function(t){return t?Er(Tu(t),-T,T):0===t?t:0},lr.toString=Ru,lr.toUpper=function(t){return Ru(t).toUpperCase()},lr.trim=function(t,e,n){if((t=Ru(t))&&(n||e===o))return t.replace(Tt,\"\");if(!t||!(e=xi(e)))return t;var r=kn(t),i=kn(e);return Mi(r,hn(r,i),pn(r,i)+1).join(\"\")},lr.trimEnd=function(t,e,n){if((t=Ru(t))&&(n||e===o))return t.replace(At,\"\");if(!t||!(e=xi(e)))return t;var r=kn(t);return Mi(r,0,pn(r,kn(e))+1).join(\"\")},lr.trimStart=function(t,e,n){if((t=Ru(t))&&(n||e===o))return t.replace(jt,\"\");if(!t||!(e=xi(e)))return t;var r=kn(t);return Mi(r,hn(r,kn(e))).join(\"\")},lr.truncate=function(t,e){var n=30,r=\"...\";if(pu(e)){var i=\"separator\"in e?e.separator:i;n=\"length\"in e?Tu(e.length):n,r=\"omission\"in e?xi(e.omission):r}var l=(t=Ru(t)).length;if(gn(t)){var u=kn(t);l=u.length}if(n>=l)return t;var a=n-xn(r);if(a<1)return r;var s=u?Mi(u,0,a).join(\"\"):t.slice(0,a);if(i===o)return s+r;if(u&&(a+=s.length-a),bu(i)){if(t.slice(a).search(i)){var c,f=s;for(i.global||(i=\$t(i.source,Ru(qt.exec(i))+\"g\")),i.lastIndex=0;c=i.exec(f);)var h=c.index;s=s.slice(0,h===o?a:h)}}else if(t.indexOf(xi(i),a)!=a){var p=s.lastIndexOf(i);p>-1&&(s=s.slice(0,p))}return s+r},lr.unescape=function(t){return(t=Ru(t))&&vt.test(t)?t.replace(dt,En):t},lr.uniqueId=function(t){var e=++re;return Ru(t)+e},lr.upperCase=aa,lr.upperFirst=sa,lr.each=Rl,lr.eachRight=Sl,lr.first=ol,_a(lr,(Pa={},Lr(lr,function(t,e){ne.call(lr.prototype,e)||(Pa[e]=t)}),Pa),{chain:!1}),lr.VERSION=\"4.17.4\",Fe([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(t){lr[t].placeholder=lr}),Fe([\"drop\",\"take\"],function(t,e){cr.prototype[t]=function(n){n=n===o?1:Ln(Tu(n),0);var r=this.__filtered__&&!e?new cr(this):this.clone();return r.__filtered__?r.__takeCount__=Bn(n,r.__takeCount__):r.__views__.push({size:Bn(n,P),type:t+(r.__dir__<0?\"Right\":\"\")}),r},cr.prototype[t+\"Right\"]=function(e){return this.reverse()[t](e).reverse()}}),Fe([\"filter\",\"map\",\"takeWhile\"],function(t,e){var n=e+1,r=1==n||3==n;cr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:xo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Fe([\"head\",\"last\"],function(t,e){var n=\"take\"+(e?\"Right\":\"\");cr.prototype[t]=function(){return this[n](1).value()[0]}}),Fe([\"initial\",\"tail\"],function(t,e){var n=\"drop\"+(e?\"\":\"Right\");cr.prototype[t]=function(){return this.__filtered__?new cr(this):this[n](1)}}),cr.prototype.compact=function(){return this.filter(va)},cr.prototype.find=function(t){return this.filter(t).head()},cr.prototype.findLast=function(t){return this.reverse().find(t)},cr.prototype.invokeMap=pi(function(t,e){return\"function\"==typeof t?new cr(this):this.map(function(n){return Gr(n,t,e)})}),cr.prototype.reject=function(t){return this.filter(Gl(xo(t)))},cr.prototype.slice=function(t,e){t=Tu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new cr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=Tu(e))<0?n.dropRight(-e):n.take(e-t)),n)},cr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},cr.prototype.toArray=function(){return this.take(P)},Lr(cr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While\$/.test(e),r=/^(?:head|last)\$/.test(e),i=lr[r?\"take\"+(\"last\"==e?\"Right\":\"\"):e],l=r||/^find/.test(e);i&&(lr.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,a=e instanceof cr,s=u[0],c=a||ru(e),f=function(t){var e=i.apply(lr,Ke([t],u));return r&&h?e[0]:e};c&&n&&\"function\"==typeof s&&1!=s.length&&(a=c=!1);var h=this.__chain__,p=l&&!h,d=a&&!this.__actions__.length;if(!l&&c){e=d?e:new cr(this);var y=t.apply(e,u);return y.__actions__.push({func:Cl,args:[f],thisArg:o}),new sr(y,h)}return p&&d?t.apply(this,u):(y=this.thru(f),p?r?y.value()[0]:y.value():y)})}),Fe([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(t){var e=Jt[t],n=/^(?:push|sort|unshift)\$/.test(t)?\"tap\":\"thru\",r=/^(?:pop|shift)\$/.test(t);lr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ru(i)?i:[],t)}return this[n](function(n){return e.apply(ru(n)?n:[],t)})}}),Lr(cr.prototype,function(t,e){var n=lr[e];if(n){var r=n.name+\"\";(Xn[r]||(Xn[r]=[])).push({name:e,func:n})}}),Xn[to(o,y).name]=[{name:\"wrapper\",func:o}],cr.prototype.clone=function(){var t=new cr(this.__wrapped__);return t.__actions__=Wi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Wi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Wi(this.__views__),t},cr.prototype.reverse=function(){if(this.__filtered__){var t=new cr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},cr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ru(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],l=o.size;switch(o.type){case\"drop\":t+=l;break;case\"dropRight\":e-=l;break;case\"take\":e=Bn(e,t+l);break;case\"takeRight\":t=Ln(t,e-l)}}return{start:t,end:e}}(0,i,this.__views__),l=o.start,u=o.end,a=u-l,s=r?u:l-1,c=this.__iteratees__,f=c.length,h=0,p=Bn(a,this.__takeCount__);if(!n||!r&&i==a&&p==a)return ji(t,this.__actions__);var d=[];t:for(;a--&&h<p;){for(var y=-1,v=t[s+=e];++y<f;){var g=c[y],b=g.type,m=(0,g.iteratee)(v);if(2==b)v=m;else if(!m){if(1==b)continue t;break t}}d[h++]=v}return d},lr.prototype.at=Tl,lr.prototype.chain=function(){return El(this)},lr.prototype.commit=function(){return new sr(this.value(),this.__chain__)},lr.prototype.next=function(){this.__values__===o&&(this.__values__=Eu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},lr.prototype.plant=function(t){for(var e,n=this;n instanceof ar;){var r=Jo(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},lr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof cr){var e=t;return this.__actions__.length&&(e=new cr(this)),(e=e.reverse()).__actions__.push({func:Cl,args:[pl],thisArg:o}),new sr(e,this.__chain__)}return this.thru(pl)},lr.prototype.toJSON=lr.prototype.valueOf=lr.prototype.value=function(){return ji(this.__wrapped__,this.__actions__)},lr.prototype.first=lr.prototype.head,Ze&&(lr.prototype[Ze]=function(){return this}),lr}();ke._=Cn,(i=(function(){return Cn}).call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(e,n(\"DuR2\"),n(\"3IRH\")(t))},MSQt:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"6uCv\");var r=n(\"c7mC\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},OEcN:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=(n(\"7DMc\"),n(\"2yGx\")),o=function(){function t(t,e,n){this.hour=Object(i.h)(t),this.minute=Object(i.h)(e),this.second=Object(i.h)(n)}return t.prototype.changeHour=function(t){void 0===t&&(t=1),this.updateHour((isNaN(this.hour)?0:this.hour)+t)},t.prototype.updateHour=function(t){this.hour=Object(i.d)(t)?(t<0?24+t:t)%24:NaN},t.prototype.changeMinute=function(t){void 0===t&&(t=1),this.updateMinute((isNaN(this.minute)?0:this.minute)+t)},t.prototype.updateMinute=function(t){Object(i.d)(t)?(this.minute=t%60<0?60+t%60:t%60,this.changeHour(Math.floor(t/60))):this.minute=NaN},t.prototype.changeSecond=function(t){void 0===t&&(t=1),this.updateSecond((isNaN(this.second)?0:this.second)+t)},t.prototype.updateSecond=function(t){Object(i.d)(t)?(this.second=t<0?60+t%60:t%60,this.changeMinute(Math.floor(t/60))):this.second=NaN},t.prototype.isValid=function(t){return void 0===t&&(t=!0),Object(i.d)(this.hour)&&Object(i.d)(this.minute)&&(!t||Object(i.d)(this.second))},t.prototype.toString=function(){return(this.hour||0)+\":\"+(this.minute||0)+\":\"+(this.second||0)},t}();n(\"tyH+\"),n.d(e,\"a\",function(){return l}),Object(r.forwardRef)(function(){return l});var l=function(){function t(t){this.onChange=function(t){},this.onTouched=function(){},this.meridian=t.meridian,this.spinners=t.spinners,this.seconds=t.seconds,this.hourStep=t.hourStep,this.minuteStep=t.minuteStep,this.secondStep=t.secondStep,this.disabled=t.disabled,this.readonlyInputs=t.readonlyInputs,this.size=t.size}return t.prototype.writeValue=function(t){this.model=t?new o(t.hour,t.minute,t.second):new o,this.seconds||t&&Object(i.d)(t.second)||(this.model.second=0)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.changeHour=function(t){this.model.changeHour(t),this.propagateModelChange()},t.prototype.changeMinute=function(t){this.model.changeMinute(t),this.propagateModelChange()},t.prototype.changeSecond=function(t){this.model.changeSecond(t),this.propagateModelChange()},t.prototype.updateHour=function(t){var e=this.model.hour>=12,n=Object(i.h)(t);this.model.updateHour(this.meridian&&(e&&n<12||!e&&12===n)?n+12:n),this.propagateModelChange()},t.prototype.updateMinute=function(t){this.model.updateMinute(Object(i.h)(t)),this.propagateModelChange()},t.prototype.updateSecond=function(t){this.model.updateSecond(Object(i.h)(t)),this.propagateModelChange()},t.prototype.toggleMeridian=function(){this.meridian&&this.changeHour(12)},t.prototype.formatHour=function(t){return Object(i.d)(t)?this.meridian?Object(i.f)(t%12==0?12:t%12):Object(i.f)(t%24):Object(i.f)(NaN)},t.prototype.formatMinSec=function(t){return Object(i.f)(t)},t.prototype.setFormControlSize=function(){return{\"form-control-sm\":\"small\"===this.size,\"form-control-lg\":\"large\"===this.size}},t.prototype.setButtonSize=function(){return{\"btn-sm\":\"small\"===this.size,\"btn-lg\":\"large\"===this.size}},t.prototype.ngOnChanges=function(t){t.seconds&&!this.seconds&&this.model&&!Object(i.d)(this.model.second)&&(this.model.second=0,this.propagateModelChange(!1))},t.prototype.propagateModelChange=function(t){void 0===t&&(t=!0),t&&this.onTouched(),this.model.isValid(this.seconds)?this.onChange({hour:this.model.hour,minute:this.model.minute,second:this.model.second}):this.onChange(null)},t}()},OjAh:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),e.b=function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),r[\"\\u0275ncd\"](null,0),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\"]))],null,null)};var r=n(\"WT6e\"),i=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}})},PcP6:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o}),e.b=function(t){return r[\"\\u0275vid\"](0,[r[\"\\u0275qud\"](402653184,1,{mainElRef:0}),r[\"\\u0275qud\"](671088640,2,{inputElRef:0}),r[\"\\u0275qud\"](402653184,3,{choiceMenuElRef:0}),(t()(),r[\"\\u0275eld\"](3,0,[[1,0],[\"main\",1]],null,26,\"div\",[[\"class\",\"ngx-select ui-select-container dropdown\"]],[[8,\"tabIndex\",0]],[[null,\"click\"],[null,\"focusin\"],[null,\"focus\"],[null,\"keydown\"],[null,\"keyup\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=!1!==i.mainClicked(n)&&r),\"focusin\"===e&&(r=!1!==i.mainClicked(n)&&r),\"focus\"===e&&(r=!1!==i.focusToInput()&&r),\"keydown\"===e&&(r=!1!==i.inputKeyDown(n)&&r),\"keyup\"===e&&(r=!1!==i.mainKeyUp(n)&&r),r},null,null)),r[\"\\u0275did\"](4,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,\"klass\"],ngClass:[1,\"ngClass\"]},null),r[\"\\u0275pod\"](5,{\"ngx-select_multiple ui-select-multiple form-control\":0,\"open show\":1}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275eld\"](7,0,null,null,2,\"div\",[],null,null,null,null,null)),r[\"\\u0275did\"](8,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,\"ngClass\"]},null),r[\"\\u0275pod\"](9,{\"ngx-select__disabled ui-disabled\":0}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,u)),r[\"\\u0275did\"](13,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,s)),r[\"\\u0275did\"](17,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,c)),r[\"\\u0275did\"](21,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275eld\"](24,0,[[3,0],[\"choiceMenu\",1]],null,4,\"ul\",[[\"class\",\"ngx-select__choices ui-select-choices dropdown-menu\"],[\"role\",\"menu\"]],[[2,\"show\",null]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,d)),r[\"\\u0275did\"](27,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"],ngForTrackBy:[1,\"ngForTrackBy\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n\"]))],function(t,e){var n=e.component;t(e,4,0,\"ngx-select ui-select-container dropdown\",t(e,5,0,!0===n.multiple,n.optionsOpened&&n.optionsFiltered.length)),t(e,8,0,t(e,9,0,n.disabled)),t(e,13,0,!1===n.multiple&&(!n.optionsOpened||n.noAutoComplete)),t(e,17,0,!0===n.multiple),t(e,21,0,n.checkInputVisibility()),t(e,27,0,n.optionsFiltered,n.trackByOption)},function(t,e){var n=e.component;t(e,3,0,n.disabled?-1:0),t(e,24,0,n.optionsOpened&&n.optionsFiltered.length)})};var r=n(\"WT6e\"),i=n(\"Xjw4\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".ngx-select[_ngcontent-%COMP%] {\\n   }\\n  .ngx-select_multiple[_ngcontent-%COMP%] {\\n    height: auto;\\n    padding: 3px 3px 0 3px; }\\n  .ngx-select_multiple[_ngcontent-%COMP%]   .ngx-select__search[_ngcontent-%COMP%] {\\n    background-color: transparent !important;\\n    \\n    border: none;\\n    outline: none;\\n    -webkit-box-shadow: none;\\n            box-shadow: none;\\n    height: 1.6666em;\\n    padding: 0;\\n    margin-bottom: 3px; }\\n  .ngx-select__disabled[_ngcontent-%COMP%] {\\n    background-color: #eceeef;\\n    border-radius: 4px;\\n    position: absolute;\\n    width: 100%;\\n    height: 100%;\\n    z-index: 5;\\n    opacity: 0.6;\\n    top: 0;\\n    left: 0;\\n    cursor: not-allowed; }\\n  .ngx-select__toggle[_ngcontent-%COMP%] {\\n    outline: 0;\\n    position: relative;\\n    text-align: left !important;\\n     }\\n  .ngx-select__toggle-caret[_ngcontent-%COMP%] {\\n    position: absolute;\\n    height: 10px;\\n    top: 50%;\\n    right: 10px;\\n    margin-top: -2px; }\\n  .ngx-select__placeholder[_ngcontent-%COMP%] {\\n    float: left;\\n    color: inherit !important; }\\n  .ngx-select__clear[_ngcontent-%COMP%] {\\n    margin-right: 10px;\\n    padding: 0; }\\n  .ngx-select_multiple[_ngcontent-%COMP%]   .ngx-select__clear[_ngcontent-%COMP%] {\\n    line-height: initial;\\n    margin-left: 5px;\\n    margin-right: 0;\\n    color: #000;\\n    opacity: .5; }\\n  .ngx-select__clear-icon[_ngcontent-%COMP%] {\\n    display: inline-block;\\n    font-size: inherit;\\n    cursor: pointer;\\n    position: relative;\\n    width: 1em;\\n    height: .75em;\\n    padding: 0; }\\n    .ngx-select__clear-icon[_ngcontent-%COMP%]:before, .ngx-select__clear-icon[_ngcontent-%COMP%]:after {\\n      content: '';\\n      position: absolute;\\n      border-top: 3px solid;\\n      width: 100%;\\n      top: 50%;\\n      left: 0;\\n      margin-top: -1px; }\\n    .ngx-select__clear-icon[_ngcontent-%COMP%]:before {\\n      -webkit-transform: rotate(45deg);\\n              transform: rotate(45deg); }\\n    .ngx-select__clear-icon[_ngcontent-%COMP%]:after {\\n      -webkit-transform: rotate(-45deg);\\n              transform: rotate(-45deg); }\\n  .ngx-select__choices[_ngcontent-%COMP%] {\\n    width: 100%;\\n    height: auto;\\n    max-height: 200px;\\n    overflow-x: hidden;\\n    margin-top: 0;\\n    position: absolute; }\\n  .ngx-select_multiple[_ngcontent-%COMP%]   .ngx-select__choices[_ngcontent-%COMP%] {\\n    margin-top: 1px; }\\n  .ngx-select__item[_ngcontent-%COMP%] {\\n    display: block;\\n    padding: 3px 20px;\\n    clear: both;\\n    font-weight: 400;\\n    line-height: 1.42857143;\\n    color: #333;\\n    white-space: nowrap;\\n    cursor: pointer; }\\n  .ngx-select__item[_ngcontent-%COMP%] {\\n    text-decoration: none; }\\n  .ngx-select__item_active[_ngcontent-%COMP%] {\\n    color: #fff;\\n    outline: 0;\\n    background-color: #428bca; }\\n  .ngx-select__selected-single[_ngcontent-%COMP%], .ngx-select__selected-plural[_ngcontent-%COMP%] {\\n    display: -webkit-inline-box;\\n    display: -ms-inline-flexbox;\\n    display: inline-flex;\\n    -webkit-box-align: center;\\n        -ms-flex-align: center;\\n            align-items: center; }\\n  .ngx-select__selected-plural[_ngcontent-%COMP%] {\\n    outline: 0;\\n    margin: 0 3px 3px 0; }\\n\\n\\n.input-group[_ngcontent-%COMP%]    > .dropdown[_ngcontent-%COMP%] {\\n  \\n  position: static; }\"],data:{}});function l(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,3,\"a\",[[\"class\",\"ngx-select__clear btn btn-sm btn-link pull-right float-right\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=!1!==i.optionRemove(i.optionsSelected[0],n)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,0,\"i\",[[\"class\",\"ngx-select__clear-icon\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],null,null)}function u(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,15,\"div\",[[\"class\",\"ngx-select__selected ui-select-match\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,12,\"div\",[[\"class\",\"ngx-select__toggle btn btn-outline-secondary btn-default form-control ui-select-toggle\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.optionsOpen()&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,2,\"span\",[],[[8,\"innerHTML\",1]],null,null,null,null)),r[\"\\u0275did\"](5,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{ngClass:[0,\"ngClass\"]},null),r[\"\\u0275pod\"](6,{\"ngx-select__placeholder ui-select-placeholder text-muted\":0,\"ngx-select__selected-single ui-select-match-text pull-left float-left\":1,\"ngx-select__allow-clear ui-select-allow-clear\":2}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](8,0,null,null,0,\"i\",[[\"class\",\"dropdown-toggle pull-right float-right\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](10,0,null,null,0,\"i\",[[\"class\",\"ngx-select__toggle-caret caret pull-right float-right\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,l)),r[\"\\u0275did\"](13,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,5,0,t(e,6,0,!n.optionsSelected.length,n.optionsSelected.length,n.optionsSelected.length&&n.allowClear)),t(e,13,0,n.canClearNotMultiple())},function(t,e){var n=e.component;t(e,4,0,n.sanitize(n.optionsSelected.length?n.optionsSelected[0].text:n.placeholder))})}function a(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,11,\"span\",[],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,8,\"span\",[[\"class\",\"ngx-select__selected-plural btn btn-default btn-secondary btn-xs ui-select-match-item\"],[\"tabindex\",\"-1\"],[\"type\",\"button\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,0,\"span\",[],[[8,\"innerHTML\",1]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](6,0,null,null,3,\"a\",[[\"class\",\"ngx-select__clear btn btn-sm btn-link pull-right float-right\"]],null,[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.optionRemove(t.context.\$implicit,n)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](8,0,null,null,0,\"i\",[[\"class\",\"ngx-select__clear-icon\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],null,function(t,e){t(e,4,0,e.component.sanitize(e.context.\$implicit.text))})}function s(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"div\",[[\"class\",\"ngx-select__selected ui-select-match\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,a)),r[\"\\u0275did\"](3,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){t(e,3,0,e.component.optionsSelected)},null)}function c(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,[[2,0],[\"input\",1]],null,0,\"input\",[[\"autocapitalize\",\"off\"],[\"autocomplete\",\"false\"],[\"autocorrect\",\"off\"],[\"class\",\"ngx-select__search form-control ui-select-search\"],[\"role\",\"combobox\"],[\"spellcheck\",\"false\"],[\"type\",\"text\"]],[[8,\"tabIndex\",0],[8,\"disabled\",0],[8,\"placeholder\",0]],[[null,\"keydown\"],[null,\"keyup\"],[null,\"click\"]],function(t,e,n){var i=!0,o=t.component;return\"keydown\"===e&&(i=!1!==o.inputKeyDown(n)&&i),\"keyup\"===e&&(i=!1!==o.inputKeyUp(n,r[\"\\u0275nov\"](t,0).value)&&i),\"click\"===e&&(i=!1!==o.inputClick(r[\"\\u0275nov\"](t,0).value)&&i),i},null,null))],null,function(t,e){var n=e.component;t(e,0,0,!1===n.multiple?-1:0,n.disabled,n.optionsSelected.length?\"\":n.placeholder)})}function f(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"divider dropdown-divider\"]],null,null,null,null,null))],null,null)}function h(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"dropdown-header\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\",\"\"]))],null,function(t,e){t(e,1,0,e.parent.context.\$implicit.label)})}function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,[[\"choiceItem\",1]],null,3,\"a\",[[\"class\",\"ngx-select__item ui-select-choices-row dropdown-item\"],[\"href\",\"#\"]],[[8,\"innerHTML\",1]],[[null,\"mouseenter\"],[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"mouseenter\"===e&&(r=!1!==i.optionActivate(t.context.\$implicit)&&r),\"click\"===e&&(r=!1!==i.optionSelect(t.context.\$implicit,n)&&r),r},null,null)),r[\"\\u0275did\"](1,278528,null,0,i.j,[r.IterableDiffers,r.KeyValueDiffers,r.ElementRef,r.Renderer2],{klass:[0,\"klass\"],ngClass:[1,\"ngClass\"]},null),r[\"\\u0275pod\"](2,{\"ngx-select__item_active active\":0}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){t(e,1,0,\"ngx-select__item ui-select-choices-row dropdown-item\",t(e,2,0,e.component.isOptionActive(e.context.\$implicit,r[\"\\u0275nov\"](e,0))))},function(t,e){t(e,0,0,e.component.highlightOption(e.context.\$implicit))})}function d(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,11,\"li\",[[\"class\",\"ngx-select__item-group\"],[\"role\",\"menuitem\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,f)),r[\"\\u0275did\"](3,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,h)),r[\"\\u0275did\"](6,16384,null,0,i.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,2,null,p)),r[\"\\u0275did\"](9,802816,null,0,i.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"],ngForTrackBy:[1,\"ngForTrackBy\"]},null),r[\"\\u0275pad\"](10,1),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,3,0,\"optgroup\"===e.context.\$implicit.type&&e.context.index>0),t(e,6,0,\"optgroup\"===e.context.\$implicit.type),t(e,9,0,e.context.\$implicit.optionsFiltered||t(e,10,0,e.context.\$implicit),n.trackByOption)},null)}},ROHw:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return l});var r=n(\"WT6e\"),i=n(\"yPE/\"),o=(n.n(i),i),l=function(){function t(t,e,n,i){this.elementRef=t,this.doc=e,this.renderer=n,this.zone=i,this.emptyArray=[],this.defaultModules={toolbar:[[\"bold\",\"italic\",\"underline\",\"strike\"],[\"blockquote\",\"code-block\"],[{header:1},{header:2}],[{list:\"ordered\"},{list:\"bullet\"}],[{script:\"sub\"},{script:\"super\"}],[{indent:\"-1\"},{indent:\"+1\"}],[{direction:\"rtl\"}],[{size:[\"small\",!1,\"large\",\"huge\"]}],[{header:[1,2,3,4,5,6,!1]}],[{color:this.emptyArray.slice()},{background:this.emptyArray.slice()}],[{font:this.emptyArray.slice()}],[{align:this.emptyArray.slice()}],[\"clean\"],[\"link\",\"image\",\"video\"]]},this.style={},this.strict=!0,this.customOptions=[],this.onEditorCreated=new r.EventEmitter,this.onContentChanged=new r.EventEmitter,this.onSelectionChanged=new r.EventEmitter,this.valueGetter=function(t,e){var n=e.children[0].innerHTML;return\"<p><br></p>\"!==n&&\"<div><br><div>\"!==n||(n=null),n},this.valueSetter=function(t,e){return t.clipboard.convert(e)},this.onModelChange=function(){},this.onModelTouched=function(){}}return t.prototype.ngAfterViewInit=function(){var t=this,e=this.elementRef.nativeElement.querySelector(\"[quill-editor-toolbar]\"),n=this.modules||this.defaultModules,r=\"Insert text here ...\";if(null!==this.placeholder&&void 0!==this.placeholder&&(r=this.placeholder.trim()),e&&(n.toolbar=e),this.elementRef.nativeElement.insertAdjacentHTML(\"beforeend\",\"<div quill-editor-element></div>\"),this.editorElem=this.elementRef.nativeElement.querySelector(\"[quill-editor-element]\"),this.style&&Object.keys(this.style).forEach(function(e){t.renderer.setStyle(t.editorElem,e,t.style[e])}),this.customOptions.forEach(function(t){var e=o.import(t.import);e.whitelist=t.whitelist,o.register(e,!0)}),this.quillEditor=new o(this.editorElem,{modules:n,placeholder:r,readOnly:this.readOnly||!1,theme:this.theme||\"snow\",formats:this.formats,bounds:this.bounds?\"self\"===this.bounds?this.editorElem:this.bounds:this.doc.body,strict:this.strict,scrollingContainer:this.scrollingContainer}),this.content){var i=this.quillEditor.clipboard.convert(this.content);this.quillEditor.setContents(i),this.quillEditor.history.clear()}this.onEditorCreated.emit(this.quillEditor),this.quillEditor.on(\"selection-change\",function(e,n,r){t.zone.run(function(){t.onSelectionChanged.emit({editor:t.quillEditor,range:e,oldRange:n,source:r}),e||t.onModelTouched()})}),this.quillEditor.on(\"text-change\",function(e,n,r){var i=t.quillEditor.getText(),o=t.editorElem.children[0].innerHTML;\"<p><br></p>\"!==o&&\"<div><br><div>\"!==o||(o=null),t.zone.run(function(){t.onModelChange(t.valueGetter(t.quillEditor,t.editorElem)),t.onContentChanged.emit({editor:t.quillEditor,html:o,text:i,delta:e,oldDelta:n,source:r})})})},t.prototype.ngOnChanges=function(t){if(!this.quillEditor)return null;t.readOnly&&this.quillEditor.enable(!t.readOnly.currentValue),t.placeholder&&(this.quillEditor.root.dataset.placeholder=t.placeholder.currentValue)},t.prototype.writeValue=function(t){if(this.content=t,this.quillEditor){if(t)return void this.quillEditor.setContents(this.valueSetter(this.quillEditor,this.content));this.quillEditor.setText(\"\")}},t.prototype.registerOnChange=function(t){this.onModelChange=t},t.prototype.registerOnTouched=function(t){this.onModelTouched=t},t.prototype.validate=function(){if(!this.quillEditor)return null;var t={},e=!0,n=this.quillEditor.getText().trim().length;return this.minLength&&n&&n<this.minLength&&(t.minLengthError={given:n,minLength:this.minLength},e=!1),this.maxLength&&n>this.maxLength&&(t.maxLengthError={given:n,maxLength:this.maxLength},e=!1),this.required&&!n&&(t.requiredError={empty:!0},e=!1),e?null:t},t}()},RTdB:function(t,e,n){\"use strict\";e.f=function(t,e){return!function(t,e){return!t&&!e||!!t&&!!e&&t.equals(e)}(t,e)},e.c=function(t,e){if(e&&t&&e.before(t))throw new Error(\"'maxDate' \"+e+\" should be greater than 'minDate' \"+t)},e.b=function(t,e,n){return t&&e&&t.before(e)?r.a.from(e):t&&n&&t.after(n)?r.a.from(n):t},e.g=function(t,e,n,r,o){return!(!Object(i.b)(t)||r||o&&o(t,{year:t.year,month:t.month})||e&&t.before(e)||n&&t.after(n))},e.d=function(t,e,n,r){if(!e)return[];var i=t.getMonths();if(n&&e.year===n.year){var o=i.findIndex(function(t){return t===n.month});i=i.slice(o)}return r&&e.year===r.year&&(o=i.findIndex(function(t){return t===r.month}),i=i.slice(0,o+1)),i},e.e=function(t,e,n){if(!t)return[];var r=e&&e.year||t.year-10;return Array.from({length:(n&&n.year||t.year+10)-r+1},function(t,e){return r+e})},e.h=function(t,e,n){return n&&t.getNext(e,\"m\").after(n)},e.i=function(t,e,n){var r=t.getPrev(e,\"m\");return n&&(r.year===n.year&&r.month<n.month||r.year<n.year&&1===n.month)},e.a=function(t,e,n,i,o,l,u,a,s){for(var c=[],f=function(l){var f=t.getNext(n,\"m\",l),h=e.findIndex(function(t){return t.firstDate.equals(f)});c.push(s||-1===h?function(t,e,n,i,o,l){var u={firstDate:null,lastDate:null,number:e.month,year:e.year,weeks:[],weekdays:[]};e=function(t,e,n){for(var i=e.month,o=new r.a(e.year,e.month,e.day),l=t.getPrev(o);!(o.month!==i&&n===t.getWeekday(o)||o.month!==l.month&&n===t.getWeekday(o));)o=new r.a(l.year,l.month,l.day),l=t.getPrev(l);return o}(t,e,o);for(var a=0;a<t.getWeeksPerMonth();a++){for(var s=[],c=0;c<t.getDaysPerWeek();c++){0===a&&u.weekdays.push(t.getWeekday(e));var f=new r.a(e.year,e.month,e.day),h=t.getNext(f),p=!!(n&&f.before(n)||i&&f.after(i));!p&&l&&(p=l(f,{month:u.number,year:u.year})),null===u.firstDate&&f.month===u.number&&(u.firstDate=f),f.month===u.number&&h.month!==u.number&&(u.lastDate=f),s.push({date:f,context:{date:{year:f.year,month:f.month,day:f.day},currentMonth:u.number,disabled:p,focused:!1,selected:!1}}),e=h}u.weeks.push({number:t.getWeekNumber(s.map(function(t){return r.a.from(t.date)}),o),days:s})}return u}(t,f,i,o,u,a):e[h])},h=0;h<l;h++)f(h);return c};var r=n(\"hlt1\"),i=n(\"2yGx\")},RX2M:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"gFLb\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},SYiH:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"9XFw\"),o=r[\"\\u0275crt\"]({encapsulation:2,styles:[],data:{}});function l(t){return r[\"\\u0275vid\"](0,[],null,null)}var u=r[\"\\u0275ccf\"](\"ngb-modal-backdrop\",i.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-modal-backdrop\",[],[[8,\"className\",0]],null,null,l,o)),r[\"\\u0275did\"](1,49152,null,0,i.a,[],null,null)],null,function(t,e){t(e,0,0,\"modal-backdrop fade show\"+(r[\"\\u0275nov\"](e,1).backdropClass?\" \"+r[\"\\u0275nov\"](e,1).backdropClass:\"\"))})},{backdropClass:\"backdropClass\"},{},[])},U6gI:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){function t(){}return t.prototype.isMuted=function(){return!this.selected&&(this.date.month!==this.currentMonth||this.disabled)},t}()},UyZi:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return l});var r=n(\"CXHW\"),i=n(\"3kwk\"),o=(n(\"WtdY\"),n(\"nxqe\"));n.d(e,\"a\",function(){return o.a});var l=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[i.a,r.a]}},t}()},W5jB:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"2yGx\"),i=(n(\"nCuf\"),function(){function t(t){this.value=0,this.max=t.max,this.animated=t.animated,this.striped=t.striped,this.type=t.type,this.showValue=t.showValue,this.height=t.height}return t.prototype.getValue=function(){return Object(r.a)(this.value,this.max)},t.prototype.getPercentValue=function(){return 100*this.getValue()/this.max},t}())},WKBe:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"ETCP\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},WtNX:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return a}),n.d(e,\"a\",function(){return s});var r=n(\"WT6e\"),i=n(\"aalB\"),o=n(\"jRSa\"),l=n(\"/PMa\"),u=(n(\"ETCP\"),0),a=function(){function t(t,e){this._element=t,this._renderer=e,this.placement=\"top\"}return t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString().split(\"-\")[0]),this._renderer.removeClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString()),this.placement=t,this._renderer.addClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString().split(\"-\")[0]),this._renderer.addClass(this._element.nativeElement,\"bs-popover-\"+this.placement.toString())},t}(),s=function(){function t(t,e,n,i,s,c,f){var h=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbPopoverWindowId=\"ngb-popover-\"+u++,this.placement=c.placement,this.triggers=c.triggers,this.container=c.container,this.disablePopover=c.disablePopover,this._popupService=new l.b(a,n,s,e,i),this._zoneSubscription=f.onStable.subscribe(function(){h._windowRef&&h._windowRef.instance.applyPlacement(Object(o.a)(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,\"body\"===h.container))})}return t.prototype.open=function(t){this._windowRef||this.disablePopover||(this._windowRef=this._popupService.open(this.ngbPopover,t),this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,\"aria-describedby\",this._ngbPopoverWindowId),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._windowRef.instance.applyPlacement(Object(o.a)(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,\"body\"===this.container)),this.shown.emit())},t.prototype.close=function(){this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,\"aria-describedby\"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Object(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}()},WtdY:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r}),n.d(e,\"b\",function(){return i});var r=function(){function t(){}return t.prototype.close=function(t){},t.prototype.dismiss=function(t){},t}(),i=function(){function t(t,e,n,r){var i=this;this._windowCmptRef=t,this._contentRef=e,this._backdropCmptRef=n,this._beforeDismiss=r,t.instance.dismissEvent.subscribe(function(t){i.dismiss(t)}),this.result=new Promise(function(t,e){i._resolve=t,i._reject=e}),this.result.then(null,function(){})}return Object.defineProperty(t.prototype,\"componentInstance\",{get:function(){if(this._contentRef.componentRef)return this._contentRef.componentRef.instance},set:function(t){},enumerable:!0,configurable:!0}),t.prototype.close=function(t){this._windowCmptRef&&(this._resolve(t),this._removeModalElements())},t.prototype.dismiss=function(t){this._windowCmptRef&&(this._beforeDismiss&&!1===this._beforeDismiss()||(this._reject(t),this._removeModalElements()))},t.prototype._removeModalElements=function(){var t=this._windowCmptRef.location.nativeElement;if(t.parentNode.removeChild(t),this._windowCmptRef.destroy(),this._backdropCmptRef){var e=this._backdropCmptRef.location.nativeElement;e.parentNode.removeChild(e),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null},t}()},WwnU:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o}),n.d(e,\"b\",function(){return l});var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=function(){},l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.fromModel=function(t){return t&&t.year&&t.month&&t.day?{year:t.year,month:t.month,day:t.day}:null},e.prototype.toModel=function(t){return t&&t.year&&t.month&&t.day?{year:t.year,month:t.month,day:t.day}:null},e}(o)},XDiD:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r,i=n(\"2yGx\");!function(t){t[t.Enter=13]=\"Enter\",t[t.Space=32]=\"Space\",t[t.PageUp=33]=\"PageUp\",t[t.PageDown=34]=\"PageDown\",t[t.End=35]=\"End\",t[t.Home=36]=\"Home\",t[t.ArrowLeft=37]=\"ArrowLeft\",t[t.ArrowUp=38]=\"ArrowUp\",t[t.ArrowRight=39]=\"ArrowRight\",t[t.ArrowDown=40]=\"ArrowDown\"}(r||(r={}));var o=function(){function t(t,e){var n=this;this._service=t,this._calendar=e,t.model\$.subscribe(function(t){n._minDate=t.minDate,n._maxDate=t.maxDate,n._firstViewDate=t.firstDate,n._lastViewDate=t.lastDate})}return t.prototype.processKey=function(t){if(r[Object(i.i)(t.which)]){switch(t.which){case r.PageUp:this._service.focusMove(t.shiftKey?\"y\":\"m\",-1);break;case r.PageDown:this._service.focusMove(t.shiftKey?\"y\":\"m\",1);break;case r.End:this._service.focus(t.shiftKey?this._maxDate:this._lastViewDate);break;case r.Home:this._service.focus(t.shiftKey?this._minDate:this._firstViewDate);break;case r.ArrowLeft:this._service.focusMove(\"d\",-1);break;case r.ArrowUp:this._service.focusMove(\"d\",-this._calendar.getDaysPerWeek());break;case r.ArrowRight:this._service.focusMove(\"d\",1);break;case r.ArrowDown:this._service.focusMove(\"d\",this._calendar.getDaysPerWeek());break;case r.Enter:case r.Space:this._service.focusSelect();break;default:return}t.preventDefault(),t.stopPropagation()}},t}()},ZwZs:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.closeOthers=!1}},aKiW:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.max=10,this.readonly=!1,this.resettable=!1}},aalB:function(t,e,n){\"use strict\";e.a=function(t,e,n,l,u,a){var s=function(t,e){void 0===e&&(e=i);var n=(t||\"\").trim();if(0===n.length)return[];var o=n.split(/\\s+/).map(function(t){return t.split(\":\")}).map(function(t){var n=e[t[0]]||t;return new r(n[0],n[1])}),l=o.filter(function(t){return t.isManual()});if(l.length>1)throw\"Triggers parse error: only one manual trigger is allowed\";if(1===l.length&&o.length>1)throw\"Triggers parse error: manual trigger can't be mixed with other triggers\";return o}(n),c=[];return 1===s.length&&s[0].isManual()?o:(s.forEach(function(n){n.open===n.close?c.push(t.listen(e,n.open,a)):c.push(t.listen(e,n.open,l),t.listen(e,n.close,u))}),function(){c.forEach(function(t){return t()})})};var r=function(){function t(t,e){this.open=t,this.close=e,e||(this.close=t)}return t.prototype.isManual=function(){return\"manual\"===this.open||\"manual\"===this.close},t}(),i={hover:[\"mouseenter\",\"mouseleave\"]},o=function(){}},\"as+d\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i}),n(\"edM1\");var r=n(\"v4DA\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},bHh0:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"bfOx\"),o=n(\"Xjw4\");n(\"+0cU\"),n.d(e,\"a\",function(){return l}),e.b=function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,24,\"div\",[[\"class\",\"row\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](2,0,null,null,21,\"div\",[[\"class\",\"col-xl-12\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"h2\",[[\"class\",\"page-header\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](5,null,[\"\\n            \",\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](7,0,null,null,15,\"ol\",[[\"class\",\"breadcrumb\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275eld\"](9,0,null,null,8,\"li\",[[\"class\",\"breadcrumb-item\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n                \"])),(t()(),r[\"\\u0275eld\"](11,0,null,null,0,\"i\",[[\"class\",\"fa fa-dashboard\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\" \"])),(t()(),r[\"\\u0275eld\"](13,0,null,null,3,\"a\",[[\"href\",\"Javascript:void(0)\"]],[[1,\"target\",0],[8,\"href\",4]],[[null,\"click\"]],function(t,e,n){var i=!0;return\"click\"===e&&(i=!1!==r[\"\\u0275nov\"](t,14).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i},null,null)),r[\"\\u0275did\"](14,671744,null,0,i.m,[i.l,i.a,o.i],{routerLink:[0,\"routerLink\"]},null),r[\"\\u0275pad\"](15,1),(t()(),r[\"\\u0275ted\"](-1,null,[\"Dashboard\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275eld\"](19,0,null,null,2,\"li\",[[\"class\",\"breadcrumb-item active\"]],null,null,null,null,null)),(t()(),r[\"\\u0275eld\"](20,0,null,null,0,\"i\",[],[[8,\"className\",0]],null,null,null,null)),(t()(),r[\"\\u0275ted\"](21,null,[\" \",\"\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\"]))],function(t,e){t(e,14,0,t(e,15,0,\"/dashboard\"))},function(t,e){var n=e.component;t(e,5,0,n.heading),t(e,13,0,r[\"\\u0275nov\"](e,14).target,r[\"\\u0275nov\"](e,14).href),t(e,20,0,r[\"\\u0275inlineInterpolate\"](1,\"fa \",n.icon,\"\")),t(e,21,0,n.heading)})};var l=r[\"\\u0275crt\"]({encapsulation:0,styles:[[\"\"]],data:{}})},c7mC:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.autoClose=!0,this.placement=\"bottom-left\"}},cG9e:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=\"bottom-left\"}},eCJc:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=(n(\"Xjw4\"),n(\"2yGx\")),o=n(\"ZwZs\"),l=0,u=function(t){this.templateRef=t},a=function(t){this.templateRef=t},s=function(){function t(){this.disabled=!1,this.id=\"ngb-panel-\"+l++,this.isOpen=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t}(),c=function(){function t(t){this.activeIds=[],this.destroyOnHide=!0,this.panelChange=new r.EventEmitter,this.type=t.type,this.closeOtherPanels=t.closeOthers}return t.prototype.toggle=function(t){var e=this.panels.find(function(e){return e.id===t});if(e&&!e.disabled){var n=!1;this.panelChange.emit({panelId:t,nextState:!e.isOpen,preventDefault:function(){n=!0}}),n||(e.isOpen=!e.isOpen,this.closeOtherPanels&&this._closeOthers(t),this._updateActiveIds())}},t.prototype.ngAfterContentChecked=function(){var t=this;Object(i.e)(this.activeIds)&&(this.activeIds=this.activeIds.split(/\\s*,\\s*/)),this.panels.forEach(function(e){return e.isOpen=!e.disabled&&t.activeIds.indexOf(e.id)>-1}),this.activeIds.length>1&&this.closeOtherPanels&&(this._closeOthers(this.activeIds[0]),this._updateActiveIds())},t.prototype._closeOthers=function(t){this.panels.forEach(function(e){e.id!==t&&(e.isOpen=!1)})},t.prototype._updateActiveIds=function(){this.activeIds=this.panels.filter(function(t){return t.isOpen&&!t.disabled}).map(function(t){return t.id})},t}();n.d(e,\"a\",function(){return f}),n.d(e,!1,function(){return c}),n.d(e,!1,function(){return s}),n.d(e,!1,function(){return u}),n.d(e,!1,function(){return a}),n.d(e,!1,function(){return o.a});var f=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[o.a]}},t}()},edM1:function(t,e,n){\"use strict\";n.d(e,\"c\",function(){return o}),n.d(e,\"b\",function(){return l}),n.d(e,\"a\",function(){return u}),n.d(e,\"d\",function(){return a});var r=n(\"WT6e\"),i=(n(\"v4DA\"),0),o=function(t){this.templateRef=t},l=function(t){this.templateRef=t},u=function(){function t(){this.id=\"ngb-tab-\"+i++,this.disabled=!1}return t.prototype.ngAfterContentChecked=function(){this.titleTpl=this.titleTpls.first,this.contentTpl=this.contentTpls.first},t}(),a=function(){function t(t){this.destroyOnHide=!0,this.tabChange=new r.EventEmitter,this.type=t.type,this.justify=t.justify,this.orientation=t.orientation}return Object.defineProperty(t.prototype,\"justify\",{set:function(t){this.justifyClass=\"fill\"===t||\"justified\"===t?\"nav-\"+t:\"justify-content-\"+t},enumerable:!0,configurable:!0}),t.prototype.select=function(t){var e=this._getTabById(t);if(e&&!e.disabled&&this.activeId!==e.id){var n=!1;this.tabChange.emit({activeId:this.activeId,nextId:e.id,preventDefault:function(){n=!0}}),n||(this.activeId=e.id)}},t.prototype.ngAfterContentChecked=function(){var t=this._getTabById(this.activeId);this.activeId=t?t.id:this.tabs.length?this.tabs.first.id:null},t.prototype._getTabById=function(t){var e=this.tabs.filter(function(e){return e.id===t});return e.length?e[0]:null},t}()},fAHw:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a});var r=n(\"hlt1\"),i=n(\"2yGx\"),o=n(\"g5jc\"),l=n(\"RTdB\"),u=n(\"Uw6n\"),a=function(){function t(t){this._calendar=t,this._model\$=new o.a,this._select\$=new o.a,this._state={disabled:!1,displayMonths:1,firstDayOfWeek:1,focusVisible:!1,months:[],navigation:\"select\",prevDisabled:!1,nextDisabled:!1,selectBoxes:{years:[],months:[]},selectedDate:null}}return Object.defineProperty(t.prototype,\"model\$\",{get:function(){return u.a.call(this._model\$.asObservable(),function(t){return t.months.length>0})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"select\$\",{get:function(){return u.a.call(this._select\$.asObservable(),function(t){return null!==t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"disabled\",{set:function(t){this._state.disabled!==t&&this._nextState({disabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"displayMonths\",{set:function(t){Object(i.c)(t)&&t>0&&this._state.displayMonths!==t&&this._nextState({displayMonths:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"firstDayOfWeek\",{set:function(t){Object(i.c)(t)&&t>=0&&this._state.firstDayOfWeek!==t&&this._nextState({firstDayOfWeek:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"focusVisible\",{set:function(t){this._state.focusVisible===t||this._state.disabled||this._nextState({focusVisible:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"maxDate\",{set:function(t){(null==t||this._calendar.isValid(t)&&Object(l.f)(this._state.maxDate,t))&&this._nextState({maxDate:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"markDisabled\",{set:function(t){this._state.markDisabled!==t&&this._nextState({markDisabled:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"minDate\",{set:function(t){(null==t||this._calendar.isValid(t)&&Object(l.f)(this._state.minDate,t))&&this._nextState({minDate:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,\"navigation\",{set:function(t){this._state.navigation!==t&&this._nextState({navigation:t})},enumerable:!0,configurable:!0}),t.prototype.focus=function(t){!this._state.disabled&&this._calendar.isValid(t)&&Object(l.f)(this._state.focusDate,t)&&this._nextState({focusDate:t})},t.prototype.focusMove=function(t,e){this.focus(this._calendar.getNext(this._state.focusDate,t,e))},t.prototype.focusSelect=function(){Object(l.g)(this._state.focusDate,this._state.minDate,this._state.maxDate,this._state.disabled,this._state.markDisabled)&&this.select(this._state.focusDate,{emitEvent:!0})},t.prototype.open=function(t){var e=this.toValidDate(t,this._calendar.getToday());this._state.disabled||this._nextState({firstDate:e})},t.prototype.select=function(t,e){void 0===e&&(e={});var n=this.toValidDate(t,null);this._state.disabled||(Object(l.f)(this._state.selectedDate,n)&&this._nextState({selectedDate:n}),e.emitEvent&&Object(l.g)(n,this._state.minDate,this._state.maxDate,this._state.disabled,this._state.markDisabled)&&this._select\$.next(n))},t.prototype.toValidDate=function(t,e){var n=r.a.from(t);return void 0===e&&(e=this._calendar.getToday()),this._calendar.isValid(n)?n:e},t.prototype._nextState=function(t){var e=this._updateState(t);this._patchContexts(e),this._state=e,this._model\$.next(this._state)},t.prototype._patchContexts=function(t){t.months.forEach(function(e){e.weeks.forEach(function(e){e.days.forEach(function(e){t.focusDate&&(e.context.focused=t.focusDate.equals(e.date)&&t.focusVisible),!0===t.disabled&&(e.context.disabled=!0),void 0!==t.selectedDate&&(e.context.selected=null!==t.selectedDate&&t.selectedDate.equals(e.date))})})})},t.prototype._updateState=function(t){var e=Object.assign({},this._state,t),n=e.firstDate;if((\"minDate\"in t||\"maxDate\"in t)&&(Object(l.c)(e.minDate,e.maxDate),e.focusDate=Object(l.b)(e.focusDate,e.minDate,e.maxDate),e.firstDate=Object(l.b)(e.firstDate,e.minDate,e.maxDate),n=e.focusDate),\"disabled\"in t&&(e.focusVisible=!1),\"selectedDate\"in t&&0===this._state.months.length&&(n=e.selectedDate),\"focusDate\"in t&&(e.focusDate=Object(l.b)(e.focusDate,e.minDate,e.maxDate),n=e.focusDate,0!==e.months.length&&!e.focusDate.before(e.firstDate)&&!e.focusDate.after(e.lastDate)))return e;if(\"firstDate\"in t&&(e.firstDate=Object(l.b)(e.firstDate,e.minDate,e.maxDate),n=e.firstDate),n){var r=\"firstDayOfWeek\"in t||\"markDisabled\"in t||\"minDate\"in t||\"maxDate\"in t||\"disabled\"in t,i=Object(l.a)(this._calendar,e.months,n,e.minDate,e.maxDate,e.displayMonths,e.firstDayOfWeek,e.markDisabled,r);e.months=i,e.firstDate=i.length>0?i[0].firstDate:void 0,e.lastDate=i.length>0?i[i.length-1].lastDate:void 0,\"selectedDate\"in t&&null!==e.selectedDate&&(Object(l.g)(e.selectedDate,e.minDate,e.maxDate,e.disabled,e.markDisabled)||(e.selectedDate=null)),\"firstDate\"in t&&(void 0===e.focusDate||e.focusDate.before(e.firstDate)||e.focusDate.after(e.lastDate))&&(e.focusDate=n);var o=!this._state.firstDate||this._state.firstDate.year!==e.firstDate.year,u=!this._state.firstDate||this._state.firstDate.month!==e.firstDate.month;\"select\"===e.navigation?((\"minDate\"in t||\"maxDate\"in t||0===e.selectBoxes.years.length||o)&&(e.selectBoxes.years=Object(l.e)(e.focusDate,e.minDate,e.maxDate)),(\"minDate\"in t||\"maxDate\"in t||0===e.selectBoxes.months.length||o)&&(e.selectBoxes.months=Object(l.d)(this._calendar,e.focusDate,e.minDate,e.maxDate))):e.selectBoxes={years:[],months:[]},\"arrows\"!==e.navigation&&\"select\"!==e.navigation||!(u||o||\"minDate\"in t||\"maxDate\"in t||\"disabled\"in t)||(e.prevDisabled=e.disabled||Object(l.i)(this._calendar,e.firstDate,e.minDate),e.nextDisabled=e.disabled||Object(l.h)(this._calendar,e.lastDate,e.maxDate))}return e},t}()},gEbu:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return a}),n.d(e,\"b\",function(){return s});var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=[\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\",\"Su\"],l=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],u=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],a=function(){},s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getWeekdayShortName=function(t){return o[t-1]},e.prototype.getMonthShortName=function(t){return l[t-1]},e.prototype.getMonthFullName=function(t){return u[t-1]},e}(a)},gFLb:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.dismissible=!0,this.type=\"warning\"}},h4vs:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"sgnN\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".bs-tooltip-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: calc(50% - 0.4rem);\\n    }\\n\\n    .bs-tooltip-top-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: 1em;\\n    }\\n\\n    .bs-tooltip-top-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-bottom-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      left: auto;\\n      right: 0.8rem;\\n    }\\n\\n    .bs-tooltip-left[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-right[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: calc(50% - 0.4rem);\\n    }\\n    \\n    .bs-tooltip-left-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-right-top[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: 0.4rem;\\n    }\\n\\n    .bs-tooltip-left-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%], .bs-tooltip-right-bottom[_nghost-%COMP%]   .arrow[_ngcontent-%COMP%] {\\n      top: auto;\\n      bottom: 0.4rem;\\n    }\"],data:{}});function l(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"arrow\"]],null,null,null,null,null)),(t()(),r[\"\\u0275eld\"](1,0,null,null,1,\"div\",[[\"class\",\"tooltip-inner\"]],null,null,null,null,null)),r[\"\\u0275ncd\"](null,0)],null,null)}var u=r[\"\\u0275ccf\"](\"ngb-tooltip-window\",i.b,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"ngb-tooltip-window\",[[\"role\",\"tooltip\"]],[[8,\"className\",0],[8,\"id\",0]],null,null,l,o)),r[\"\\u0275did\"](1,49152,null,0,i.b,[r.ElementRef,r.Renderer2],null,null)],null,function(t,e){t(e,0,0,\"tooltip show bs-tooltip-\"+r[\"\\u0275nov\"](e,1).placement.split(\"-\")[0]+\" bs-tooltip-\"+r[\"\\u0275nov\"](e,1).placement,r[\"\\u0275nov\"](e,1).id)})},{placement:\"placement\",id:\"id\"},{},[\"*\"])},hY6I:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return u});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=n(\"/KGk\"),l=(n(\"7DGp\"),n(\"jRSa\")),u=(Object(r.forwardRef)(function(){return u}),Object(r.forwardRef)(function(){return u}),function(){function t(t,e,n,i,o,u,a,s,c){var f=this;this._parserFormatter=t,this._elRef=e,this._vcRef=n,this._renderer=i,this._cfr=o,this._service=a,this._calendar=s,this._ngbDateAdapter=c,this._cRef=null,this._disabled=!1,this.autoClose=!0,this.placement=\"bottom-left\",this.dateSelect=new r.EventEmitter,this.navigate=new r.EventEmitter,this._onChange=function(t){},this._onTouched=function(){},this._validatorChange=function(){},this._zoneSubscription=u.onStable.subscribe(function(){f._cRef&&Object(l.a)(f._elRef.nativeElement,f._cRef.location.nativeElement,f.placement,\"body\"===f.container)})}return Object.defineProperty(t.prototype,\"disabled\",{get:function(){return this._disabled},set:function(t){this._disabled=\"\"===t||t&&\"false\"!==t,this.isOpen()&&this._cRef.instance.setDisabledState(this._disabled)},enumerable:!0,configurable:!0}),t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.registerOnValidatorChange=function(t){this._validatorChange=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.validate=function(t){var e=t.value;if(null===e||void 0===e)return null;var n=this._fromDateStruct(this._ngbDateAdapter.fromModel(e));return this._calendar.isValid(n)?this.minDate&&n.before(i.a.from(this.minDate))?{ngbDate:{requiredBefore:this.minDate}}:this.maxDate&&n.after(i.a.from(this.maxDate))?{ngbDate:{requiredAfter:this.maxDate}}:void 0:{ngbDate:{invalid:t.value}}},t.prototype.writeValue=function(t){this._model=this._fromDateStruct(this._ngbDateAdapter.fromModel(t)),this._writeModelValue(this._model)},t.prototype.manualDateChange=function(t,e){void 0===e&&(e=!1),this._model=this._fromDateStruct(this._parserFormatter.parse(t)),this._onChange(this._model?this._ngbDateAdapter.toModel(this._model):\"\"===t?null:t),e&&this._model&&this._writeModelValue(this._model)},t.prototype.isOpen=function(){return!!this._cRef},t.prototype.open=function(){var t=this;if(!this.isOpen()){var e=this._cfr.resolveComponentFactory(o.a);this._cRef=this._vcRef.createComponent(e),this._applyPopupStyling(this._cRef.location.nativeElement),this._applyDatepickerInputs(this._cRef.instance),this._subscribeForDatepickerOutputs(this._cRef.instance),this._cRef.instance.ngOnInit(),this._cRef.instance.writeValue(this._ngbDateAdapter.toModel(this._model)),this._cRef.instance.registerOnChange(function(e){t.writeValue(e),t._onChange(e),t.autoClose&&t.close()}),this._cRef.instance.focus(),this._cRef.instance.setDisabledState(this.disabled),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._cRef.location.nativeElement)}},t.prototype.close=function(){this.isOpen()&&(this._vcRef.remove(this._vcRef.indexOf(this._cRef.hostView)),this._cRef=null)},t.prototype.toggle=function(){this.isOpen()?this.close():this.open()},t.prototype.navigateTo=function(t){this.isOpen()&&this._cRef.instance.navigateTo(t)},t.prototype.onBlur=function(){this._onTouched()},t.prototype.ngOnChanges=function(t){(t.minDate||t.maxDate)&&this._validatorChange()},t.prototype.ngOnDestroy=function(){this.close(),this._zoneSubscription.unsubscribe()},t.prototype._applyDatepickerInputs=function(t){var e=this;[\"dayTemplate\",\"displayMonths\",\"firstDayOfWeek\",\"markDisabled\",\"minDate\",\"maxDate\",\"navigation\",\"outsideDays\",\"showNavigation\",\"showWeekdays\",\"showWeekNumbers\"].forEach(function(n){void 0!==e[n]&&(t[n]=e[n])}),t.startDate=this.startDate||this._model},t.prototype._applyPopupStyling=function(t){this._renderer.addClass(t,\"dropdown-menu\"),this._renderer.setStyle(t,\"padding\",\"0\"),this._renderer.addClass(t,\"show\")},t.prototype._subscribeForDatepickerOutputs=function(t){var e=this;t.navigate.subscribe(function(t){return e.navigate.emit(t)}),t.select.subscribe(function(t){e.dateSelect.emit(t),e.autoClose&&e.close()})},t.prototype._writeModelValue=function(t){this._renderer.setProperty(this._elRef.nativeElement,\"value\",this._parserFormatter.format(t)),this.isOpen()&&(this._cRef.instance.writeValue(this._ngbDateAdapter.toModel(t)),this._onTouched())},t.prototype._fromDateStruct=function(t){var e=t?new i.a(t.year,t.month,t.day):null;return this._calendar.isValid(e)?e:null},t}())},hlt1:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){function t(t,e,n){this.year=t,this.month=e,this.day=n}return t.from=function(e){return e?new t(e.year,e.month,e.day?e.day:1):null},t.prototype.equals=function(t){return t&&this.year===t.year&&this.month===t.month&&this.day===t.day},t.prototype.before=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day<t.day:this.month<t.month:this.year<t.year)},t.prototype.after=function(t){return!!t&&(this.year===t.year?this.month===t.month?this.day!==t.day&&this.day>t.day:this.month>t.month:this.year>t.year)},t.prototype.toStruct=function(){return{year:this.year,month:this.month,day:this.day}},t.prototype.toString=function(){return this.year+\"-\"+this.month+\"-\"+this.day},t}()},hwnt:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.displayMonths=1,this.firstDayOfWeek=1,this.navigation=\"select\",this.outsideDays=\"visible\",this.showWeekdays=!0,this.showWeekNumbers=!1}},jRSa:function(t,e,n){\"use strict\";e.a=function(t,e,n,i){var o=Array.isArray(n)?n:[n],l=o.findIndex(function(t){return\"auto\"===t});l>=0&&[\"top\",\"right\",\"bottom\",\"left\"].forEach(function(t){null==o.find(function(e){return-1!==e.search(\"^\"+t+\"|^\"+t+\"-\")})&&o.splice(l++,1,t)});for(var u,a=0,s=0,c=r.getAvailablePlacements(t,e),f=function(n,l){if(null!=c.find(function(t){return t===n})||o.length===l+1){u=n;var f=r.positionElements(t,e,n,i);return a=f.top,s=f.left,\"break\"}},h=0,p=o.map(function(t,e){return{item:t,index:e}});h<p.length;h++){var d=p[h];if(\"break\"===f(d.item,d.index))break}return e.style.top=a+\"px\",e.style.left=s+\"px\",u};var r=new(function(){function t(){}return t.prototype.getAllStyles=function(t){return window.getComputedStyle(t)},t.prototype.getStyle=function(t,e){return this.getAllStyles(t)[e]},t.prototype.isStaticPositioned=function(t){return\"static\"===(this.getStyle(t,\"position\")||\"static\")},t.prototype.offsetParent=function(t){for(var e=t.offsetParent||document.documentElement;e&&e!==document.documentElement&&this.isStaticPositioned(e);)e=e.offsetParent;return e||document.documentElement},t.prototype.position=function(t,e){var n;void 0===e&&(e=!0);var r={width:0,height:0,top:0,bottom:0,left:0,right:0};if(\"fixed\"===this.getStyle(t,\"position\"))n=t.getBoundingClientRect();else{var i=this.offsetParent(t);n=this.offset(t,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return n.top-=r.top,n.bottom-=r.top,n.left-=r.left,n.right-=r.left,e&&(n.top=Math.round(n.top),n.bottom=Math.round(n.bottom),n.left=Math.round(n.left),n.right=Math.round(n.right)),n},t.prototype.offset=function(t,e){void 0===e&&(e=!0);var n=t.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft,o={height:n.height||t.offsetHeight,width:n.width||t.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return e&&(o.height=Math.round(o.height),o.width=Math.round(o.width),o.top=Math.round(o.top),o.bottom=Math.round(o.bottom),o.left=Math.round(o.left),o.right=Math.round(o.right)),o},t.prototype.positionElements=function(t,e,n,r){var i=r?this.offset(t,!1):this.position(t,!1),o=this.getAllStyles(e),l=e.getBoundingClientRect(),u=n.split(\"-\")[0]||\"top\",a=n.split(\"-\")[1]||\"center\",s={height:l.height||e.offsetHeight,width:l.width||e.offsetWidth,top:0,bottom:l.height||e.offsetHeight,left:0,right:l.width||e.offsetWidth};switch(u){case\"top\":s.top=i.top-(e.offsetHeight+parseFloat(o.marginBottom));break;case\"bottom\":s.top=i.top+i.height;break;case\"left\":s.left=i.left-(e.offsetWidth+parseFloat(o.marginRight));break;case\"right\":s.left=i.left+i.width}switch(a){case\"top\":s.top=i.top;break;case\"bottom\":s.top=i.top+i.height-e.offsetHeight;break;case\"left\":s.left=i.left;break;case\"right\":s.left=i.left+i.width-e.offsetWidth;break;case\"center\":\"top\"===u||\"bottom\"===u?s.left=i.left+i.width/2-e.offsetWidth/2:s.top=i.top+i.height/2-e.offsetHeight/2}return s.top=Math.round(s.top),s.bottom=Math.round(s.bottom),s.left=Math.round(s.left),s.right=Math.round(s.right),s},t.prototype.getAvailablePlacements=function(t,e){var n=[],r=t.getBoundingClientRect(),i=e.getBoundingClientRect(),o=document.documentElement;return i.width<r.left&&(r.top+r.height/2-e.offsetHeight/2>0&&n.splice(n.length,1,\"left\"),this.setSecondaryPlacementForLeftRight(r,i,\"left\",n)),i.height<r.top&&(n.splice(n.length,1,\"top\"),this.setSecondaryPlacementForTopBottom(r,i,\"top\",n)),(window.innerWidth||o.clientWidth)-r.right>i.width&&(r.top+r.height/2-e.offsetHeight/2>0&&n.splice(n.length,1,\"right\"),this.setSecondaryPlacementForLeftRight(r,i,\"right\",n)),(window.innerHeight||o.clientHeight)-r.bottom>i.height&&(n.splice(n.length,1,\"bottom\"),this.setSecondaryPlacementForTopBottom(r,i,\"bottom\",n)),n},t.prototype.setSecondaryPlacementForLeftRight=function(t,e,n,r){var i=document.documentElement;e.height<=t.bottom&&r.splice(r.length,1,n+\"-bottom\"),(window.innerHeight||i.clientHeight)-t.top>=e.height&&r.splice(r.length,1,n+\"-top\")},t.prototype.setSecondaryPlacementForTopBottom=function(t,e,n,r){var i=document.documentElement;(window.innerWidth||i.clientWidth)-t.left>=e.width&&r.splice(r.length,1,n+\"-left\"),e.width<=t.right&&r.splice(r.length,1,n+\"-right\")},t}())},kgIC:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.collapsed=!1}},kzcK:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return i}),n(\"eCJc\"),n(\"RX2M\"),n(\"F+yc\"),n(\"/I96\"),n(\"vfkA\"),n(\"qsK9\"),n(\"MSQt\");var r=n(\"UyZi\");n(\"Ep2y\"),n(\"WKBe\"),n(\"1Z2I\"),n(\"A8b0\"),n(\"as+d\"),n(\"62nT\"),n(\"yDyO\"),n(\"K/oD\"),n.d(e,\"a\",function(){return r.a});var i=function(){}},l5HU:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return l}),n.d(e,\"a\",function(){return u});var r,i=n(\"WT6e\"),o=(n(\"DDfv\"),0),l=function(){return function(t){this.tplRef=t,this.id=\"ngb-slide-\"+o++}}(),u=function(){function t(t){this.slide=new i.EventEmitter,this.interval=t.interval,this.wrap=t.wrap,this.keyboard=t.keyboard}return t.prototype.ngAfterContentChecked=function(){var t=this._getSlideById(this.activeId);this.activeId=t?t.id:this.slides.length?this.slides.first.id:null},t.prototype.ngOnInit=function(){this._startTimer()},t.prototype.ngOnChanges=function(t){\"interval\"in t&&!t.interval.isFirstChange()&&this._restartTimer()},t.prototype.ngOnDestroy=function(){clearInterval(this._slideChangeInterval)},t.prototype.select=function(t){this.cycleToSelected(t,this.getSlideEventDirection(this.activeId,t)),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId),r.LEFT)},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId),r.RIGHT)},t.prototype.cycleToSelected=function(t,e){var n=this._getSlideById(t);n&&(n.id!==this.activeId&&this.slide.emit({prev:this.activeId,current:n.id,direction:e}),this.activeId=n.id)},t.prototype.getSlideEventDirection=function(t,e){return this._getSlideIdxById(t)>this._getSlideIdxById(e)?r.RIGHT:r.LEFT},t.prototype.keyPrev=function(){this.keyboard&&this.prev()},t.prototype.keyNext=function(){this.keyboard&&this.next()},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this.interval>0&&(this._slideChangeInterval=setInterval(function(){t.cycleToNext()},this.interval))},t.prototype._stopTimer=function(){clearInterval(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.toArray().indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return n===e.length-1?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides.toArray(),n=this._getSlideIdxById(t);return 0===n?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();!function(t){t[t.LEFT=\"left\"]=\"LEFT\",t[t.RIGHT=\"right\"]=\"RIGHT\"}(r||(r={}))},lcaH:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return s}),n.d(e,\"b\",function(){return c});var r,i=n(\"hlt1\"),o=n(\"2yGx\"),l=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function u(t){return new i.a(t.getFullYear(),t.getMonth()+1,t.getDate())}function a(t){var e=new Date(t.year,t.month-1,t.day,12);return isNaN(e.getTime())||e.setFullYear(t.year),e}var s=function(){},c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.getNext=function(t,e,n){void 0===e&&(e=\"d\"),void 0===n&&(n=1);var r=a(t);switch(e){case\"y\":return new i.a(t.year+n,1,1);case\"m\":r=new Date(t.year,t.month+n-1,1,12);break;case\"d\":r.setDate(r.getDate()+n);break;default:return t}return u(r)},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e=\"d\"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=a(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=a(t[(11-e)%7]);n.setDate(n.getDate()+4-(n.getDay()||7));var r=n.getTime();return n.setMonth(0),n.setDate(1),Math.floor(Math.round((r-n.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return u(new Date)},e.prototype.isValid=function(t){if(!(t&&Object(o.c)(t.year)&&Object(o.c)(t.month)&&Object(o.c)(t.day)))return!1;var e=a(t);return!isNaN(e.getTime())&&e.getFullYear()===t.year&&e.getMonth()+1===t.month&&e.getDate()===t.day},e}(s)},mN9t:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){}},nCuf:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.max=100,this.animated=!1,this.striped=!1,this.showValue=!1}},nxqe:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(t){return t[t.BACKDROP_CLICK=0]=\"BACKDROP_CLICK\",t[t.ESC=1]=\"ESC\",t}({})},qBUJ:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return l});var r=n(\"WT6e\"),i=n(\"hlt1\"),o=n(\"2yGx\"),l=function(){function t(t){this.i18n=t,this.select=new r.EventEmitter}return t.prototype.changeMonth=function(t){this.select.emit(new i.a(this.date.year,Object(o.h)(t),1))},t.prototype.changeYear=function(t){this.select.emit(new i.a(Object(o.h)(t),this.date.month,1))},t}()},qKow:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.placement=\"top\",this.triggers=\"hover\",this.disableTooltip=!1}},\"qQ/N\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return l});var r,i=n(\"WT6e\"),o=(n(\"aKiW\"),n(\"2yGx\"));!function(t){t[t.End=35]=\"End\",t[t.Home=36]=\"Home\",t[t.ArrowLeft=37]=\"ArrowLeft\",t[t.ArrowUp=38]=\"ArrowUp\",t[t.ArrowRight=39]=\"ArrowRight\",t[t.ArrowDown=40]=\"ArrowDown\"}(r||(r={})),Object(i.forwardRef)(function(){return l});var l=function(){function t(t,e){this._changeDetectorRef=e,this.contexts=[],this.disabled=!1,this.hover=new i.EventEmitter,this.leave=new i.EventEmitter,this.rateChange=new i.EventEmitter(!0),this.onChange=function(t){},this.onTouched=function(){},this.max=t.max,this.readonly=t.readonly}return t.prototype.ariaValueText=function(){return this.nextRate+\" out of \"+this.max},t.prototype.enter=function(t){this.readonly||this.disabled||this._updateState(t),this.hover.emit(t)},t.prototype.handleBlur=function(){this.onTouched()},t.prototype.handleClick=function(t){this.update(this.resettable&&this.rate===t?0:t)},t.prototype.handleKeyDown=function(t){if(r[Object(o.i)(t.which)])switch(t.preventDefault(),t.which){case r.ArrowDown:case r.ArrowLeft:this.update(this.rate-1);break;case r.ArrowUp:case r.ArrowRight:this.update(this.rate+1);break;case r.Home:this.update(0);break;case r.End:this.update(this.max)}},t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){this.contexts=Array.from({length:this.max},function(t,e){return{fill:0,index:e}}),this._updateState(this.rate)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.reset=function(){this.leave.emit(this.nextRate),this._updateState(this.rate)},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.update=function(t,e){void 0===e&&(e=!0);var n=Object(o.a)(t,this.max,0);this.readonly||this.disabled||this.rate===n||(this.rate=n,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this._updateState(this.rate)},t.prototype.writeValue=function(t){this.update(t,!1),this._changeDetectorRef.markForCheck()},t.prototype._getFillValue=function(t){var e=this.nextRate-t;return e>=1?100:e<1&&e>0?Number.parseInt((100*e).toFixed(2)):0},t.prototype._updateState=function(t){var e=this;this.nextRate=t,this.contexts.forEach(function(t,n){return t.fill=e._getFillValue(n)})},t}()},qmzJ:function(t,e,n){\"use strict\";var r=n(\"WT6e\"),i=n(\"U6gI\"),o=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] {\\n      text-align: center;\\n      width: 2rem;\\n      height: 2rem;\\n      line-height: 2rem;\\n      border-radius: 0.25rem;\\n      background: transparent;\\n    }\\n    .outside[_nghost-%COMP%] {\\n      opacity: 0.5;\\n    }\"],data:{}});function l(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](0,null,[\"\",\"\"]))],null,function(t,e){t(e,0,0,e.component.date.day)})}var u=n(\"7DMc\"),a=n(\"Xjw4\"),s=n(\"qBUJ\"),c=n(\"gEbu\"),f=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] > select[_ngcontent-%COMP%] {\\n      \\n      padding: 0.25rem 0.5rem;\\n      font-size: 0.875rem;\\n      line-height: 1.25;\\n      \\n      height: inherit;\\n      width: 50%;\\n      display: inline-block;\\n    }\"],data:{}});function h(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,3,\"option\",[],null,null,null,null,null)),r[\"\\u0275did\"](1,147456,null,0,u.p,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),r[\"\\u0275did\"](2,147456,null,0,u.x,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),(t()(),r[\"\\u0275ted\"](3,null,[\"\",\"\"]))],function(t,e){t(e,1,0,e.context.\$implicit),t(e,2,0,e.context.\$implicit)},function(t,e){t(e,3,0,e.component.i18n.getMonthShortName(e.context.\$implicit))})}function p(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,3,\"option\",[],null,null,null,null,null)),r[\"\\u0275did\"](1,147456,null,0,u.p,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),r[\"\\u0275did\"](2,147456,null,0,u.x,[r.ElementRef,r.Renderer2,[8,null]],{value:[0,\"value\"]},null),(t()(),r[\"\\u0275ted\"](3,null,[\"\",\"\"]))],function(t,e){t(e,1,0,e.context.\$implicit),t(e,2,0,e.context.\$implicit)},function(t,e){t(e,3,0,e.context.\$implicit)})}function d(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,4,\"select\",[[\"class\",\"custom-select\"],[\"tabindex\",\"-1\"]],[[8,\"disabled\",0],[8,\"value\",0]],[[null,\"change\"]],function(t,e,n){var r=!0;return\"change\"===e&&(r=!1!==t.component.changeMonth(n.target.value)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,h)),r[\"\\u0275did\"](4,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](6,0,null,null,4,\"select\",[[\"class\",\"custom-select\"],[\"tabindex\",\"-1\"]],[[8,\"disabled\",0],[8,\"value\",0]],[[null,\"change\"]],function(t,e,n){var r=!0;return\"change\"===e&&(r=!1!==t.component.changeYear(n.target.value)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,p)),r[\"\\u0275did\"](9,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,4,0,n.months),t(e,9,0,n.years)},function(t,e){var n=e.component;t(e,1,0,n.disabled,null==n.date?null:n.date.month),t(e,6,0,n.disabled,null==n.date?null:n.date.year)})}var y=n(\"3fcS\"),v=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] {\\n      height: 2rem;\\n      line-height: 1.85rem;\\n      display: -webkit-box;\\n      display: -ms-flexbox;\\n      display: flex;\\n    }\\n    .ngb-dp-navigation-chevron[_ngcontent-%COMP%]::before {\\n      border-style: solid;\\n      border-width: 0.2em 0.2em 0 0;\\n      content: '';\\n      display: inline-block;\\n      width: 0.75em;\\n      height: 0.75em;\\n      transform: rotate(-135deg);\\n      -webkit-transform: rotate(-135deg);\\n      -ms-transform: rotate(-135deg);\\n    }\\n    .right[_ngcontent-%COMP%]   .ngb-dp-navigation-chevron[_ngcontent-%COMP%]:before {\\n      -webkit-transform: rotate(45deg);\\n      -ms-transform: rotate(45deg);\\n      transform: rotate(45deg);\\n    }\\n    .ngb-dp-arrow[_ngcontent-%COMP%] {\\n      display: -webkit-box;\\n      display: -ms-flexbox;\\n      display: flex;\\n      -webkit-box-flex: 1 1 auto;\\n      -ms-flex: 1 1 auto;\\n      flex-basis: auto;\\n      flex-grow: 1;\\n      padding-right: 0px;\\n      padding-left: 0px;\\n      margin: 0px;\\n      width: 2rem;\\n      height: 2rem;\\n    }\\n    .ngb-dp-arrow.right[_ngcontent-%COMP%] {\\n      -webkit-box-pack: end;\\n      -ms-flex-pack: end;\\n      justify-content: flex-end;\\n    }\\n    .ngb-dp-arrow-btn[_ngcontent-%COMP%] {\\n      padding: 0rem 1rem;\\n    }\\n    .ngb-dp-month-name[_ngcontent-%COMP%] {\\n      font-size: larger;\\n      height: 2rem;\\n      line-height: 2rem;\\n      text-align: center;\\n    }\\n    .ngb-dp-navigation-select[_ngcontent-%COMP%] {\\n      -webkit-box-flex: 1 1 9rem;\\n      -ms-flex:  1 1 9rem;\\n      flex-grow: 1;\\n      flex-basis: 9rem;\\n    }\"],data:{}});function g(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,2,\"ngb-datepicker-navigation-select\",[[\"class\",\"d-block ngb-dp-navigation-select\"]],null,[[null,\"select\"]],function(t,e,n){var r=!0;return\"select\"===e&&(r=!1!==t.component.select.emit(n)&&r),r},d,f)),r[\"\\u0275did\"](1,49152,null,0,s.a,[c.a],{date:[0,\"date\"],disabled:[1,\"disabled\"],months:[2,\"months\"],years:[3,\"years\"]},{select:\"select\"}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,1,0,n.date,n.disabled,n.selectBoxes.months,n.selectBoxes.years)},null)}function b(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"ngb-dp-arrow\"]],null,null,null,null,null))],null,null)}function m(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"ngb-dp-arrow\"]],null,null,null,null,null))],null,null)}function _(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,b)),r[\"\\u0275did\"](2,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](4,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-month-name d-block\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](5,null,[\"\\n        \",\" \",\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,m)),r[\"\\u0275did\"](8,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,2,0,e.context.index>0),t(e,8,0,e.context.index!==n.months.length-1)},function(t,e){t(e,5,0,e.component.i18n.getMonthFullName(e.context.\$implicit.number),e.context.\$implicit.year)})}function w(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,_)),r[\"\\u0275did\"](1,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275and\"](0,null,null,0))],function(t,e){t(e,1,0,e.component.months)},null)}function O(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,6,\"div\",[[\"class\",\"ngb-dp-arrow\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,3,\"button\",[[\"class\",\"btn btn-link ngb-dp-arrow-btn\"],[\"tabindex\",\"-1\"],[\"type\",\"button\"]],[[8,\"disabled\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.navigate.emit(i.navigation.PREV)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](5,0,null,null,0,\"span\",[[\"class\",\"ngb-dp-navigation-chevron\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,g)),r[\"\\u0275did\"](10,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,w)),r[\"\\u0275did\"](13,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](15,0,null,null,6,\"div\",[[\"class\",\"ngb-dp-arrow right\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275eld\"](17,0,null,null,3,\"button\",[[\"class\",\"btn btn-link ngb-dp-arrow-btn\"],[\"tabindex\",\"-1\"],[\"type\",\"button\"]],[[8,\"disabled\",0]],[[null,\"click\"]],function(t,e,n){var r=!0,i=t.component;return\"click\"===e&&(r=0!=!!i.navigate.emit(i.navigation.NEXT)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](19,0,null,null,0,\"span\",[[\"class\",\"ngb-dp-navigation-chevron\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,10,0,n.showSelect),t(e,13,0,!n.showSelect)},function(t,e){var n=e.component;t(e,3,0,n.prevDisabled),t(e,17,0,n.nextDisabled)})}var x=n(\"5ZV5\"),k=r[\"\\u0275crt\"]({encapsulation:0,styles:[\".ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\\n      line-height: 2rem;\\n    }\\n    .ngb-dp-weekday[_ngcontent-%COMP%] {\\n      color: #5bc0de;\\n    }\\n    .ngb-dp-week[_ngcontent-%COMP%] {\\n        border-radius: 0.25rem;\\n        display: -webkit-box;\\n        display: -ms-flexbox;\\n        display: flex;\\n    }\\n    .ngb-dp-weekdays[_ngcontent-%COMP%] {\\n      border-bottom: 1px solid rgba(0, 0, 0, 0.125);\\n      border-radius: 0rem;\\n    }\\n    .ngb-dp-day[_ngcontent-%COMP%], .ngb-dp-weekday[_ngcontent-%COMP%], .ngb-dp-week-number[_ngcontent-%COMP%] {\\n      width: 2rem;\\n      height: 2rem;\\n    }\\n    .ngb-dp-day[_ngcontent-%COMP%] {\\n      cursor: pointer;\\n    }\\n    .ngb-dp-day.disabled[_ngcontent-%COMP%], .ngb-dp-day.hidden[_ngcontent-%COMP%] {\\n      cursor: default;\\n    }\"],data:{}});function E(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,0,\"div\",[[\"class\",\"ngb-dp-weekday ngb-dp-showweek\"]],null,null,null,null,null))],null,null)}function C(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-weekday small text-center font-italic\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\\n        \",\"\\n      \"]))],null,function(t,e){t(e,1,0,e.component.i18n.getWeekdayShortName(e.context.\$implicit))})}function T(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"div\",[[\"class\",\"ngb-dp-week ngb-dp-weekdays bg-light\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,E)),r[\"\\u0275did\"](3,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,C)),r[\"\\u0275did\"](6,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){var n=e.component;t(e,3,0,n.showWeekNumbers),t(e,6,0,n.month.weekdays)},null)}function j(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-week-number small text-center font-italic text-muted\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\",\"\"]))],null,function(t,e){t(e,1,0,e.parent.parent.context.\$implicit.number)})}function A(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275and\"](0,null,null,0))],null,null)}function P(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n            \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,A)),r[\"\\u0275did\"](2,540672,null,0,a.p,[r.ViewContainerRef],{ngTemplateOutletContext:[0,\"ngTemplateOutletContext\"],ngTemplateOutlet:[1,\"ngTemplateOutlet\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"]))],function(t,e){t(e,2,0,e.parent.context.\$implicit.context,e.component.dayTemplate)},null)}function R(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"div\",[[\"class\",\"ngb-dp-day\"]],[[2,\"disabled\",null],[2,\"hidden\",null]],[[null,\"click\"]],function(t,e,n){var r=!0;return\"click\"===e&&(r=!1!==t.component.doSelect(t.context.\$implicit)&&r),r},null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,P)),r[\"\\u0275did\"](3,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"]))],function(t,e){t(e,3,0,!e.component.isHidden(e.context.\$implicit))},function(t,e){t(e,0,0,e.context.\$implicit.context.disabled,e.component.isHidden(e.context.\$implicit))})}function S(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,7,\"div\",[[\"class\",\"ngb-dp-week\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,j)),r[\"\\u0275did\"](3,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,R)),r[\"\\u0275did\"](6,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){t(e,3,0,e.component.showWeekNumbers),t(e,6,0,e.parent.context.\$implicit.days)},null)}function N(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,S)),r[\"\\u0275did\"](2,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,2,0,!e.component.isCollapsed(e.context.\$implicit))},null)}function D(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,T)),r[\"\\u0275did\"](2,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,N)),r[\"\\u0275did\"](5,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,2,0,n.showWeekdays),t(e,5,0,n.month.weeks)},null)}var M=n(\"/KGk\"),q=n(\"fAHw\"),I=n(\"lcaH\"),L=n(\"XDiD\"),B=n(\"hwnt\"),F=n(\"WwnU\");n.d(e,\"a\",function(){return Y});var U=r[\"\\u0275crt\"]({encapsulation:0,styles:[\"[_nghost-%COMP%] {\\n      border: 1px solid rgba(0, 0, 0, 0.125);\\n      border-radius: 0.25rem;\\n      display: inline-block;\\n    }\\n    .ngb-dp-month[_ngcontent-%COMP%] {\\n      pointer-events: none;\\n    }\\n    .ngb-dp-header[_ngcontent-%COMP%] {\\n      border-bottom: 0px;\\n      border-radius: .25rem 0.25rem 0rem 0rem;\\n      padding-top: 0.25rem;\\n    }\\n    ngb-datepicker-month-view[_ngcontent-%COMP%] {\\n      pointer-events: auto;\\n    }\\n    .ngb-dp-month-name[_ngcontent-%COMP%] {\\n      font-size: larger;\\n      height: 2rem;\\n      line-height: 2rem;\\n      text-align: center;\\n    }\\n      .ngb-dp-month + .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week {\\n      padding-left: 1rem;\\n    }\\n      .ngb-dp-month + .ngb-dp-month > .ngb-dp-month-name {\\n      padding-left: 1rem;\\n    }\\n      .ngb-dp-month:last-child .ngb-dp-week {\\n      padding-right: .25rem;\\n    }\\n      .ngb-dp-month:first-child .ngb-dp-week {\\n      padding-left: .25rem;\\n    }\\n      .ngb-dp-month > ngb-datepicker-month-view > .ngb-dp-week:last-child {\\n      padding-bottom: .25rem;\\n    }\\n    .ngb-dp-months[_ngcontent-%COMP%] {\\n      display: -webkit-box;\\n      display: -ms-flexbox;\\n      display: flex;\\n    }\"],data:{}});function V(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,2,\"div\",[[\"class\",\"btn-light\"],[\"ngbDatepickerDayView\",\"\"]],[[2,\"bg-primary\",null],[2,\"text-white\",null],[2,\"text-muted\",null],[2,\"outside\",null],[2,\"active\",null]],null,null,l,o)),r[\"\\u0275did\"](2,49152,null,0,i.a,[],{currentMonth:[0,\"currentMonth\"],date:[1,\"date\"],disabled:[2,\"disabled\"],focused:[3,\"focused\"],selected:[4,\"selected\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"]))],function(t,e){t(e,2,0,e.context.currentMonth,e.context.date,e.context.disabled,e.context.focused,e.context.selected)},function(t,e){t(e,1,0,r[\"\\u0275nov\"](e,2).selected,r[\"\\u0275nov\"](e,2).selected,r[\"\\u0275nov\"](e,2).isMuted(),r[\"\\u0275nov\"](e,2).isMuted(),r[\"\\u0275nov\"](e,2).focused)})}function W(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,2,\"ngb-datepicker-navigation\",[],null,[[null,\"navigate\"],[null,\"select\"]],function(t,e,n){var r=!0,i=t.component;return\"navigate\"===e&&(r=!1!==i.onNavigateEvent(n)&&r),\"select\"===e&&(r=!1!==i.onNavigateDateSelect(n)&&r),r},O,v)),r[\"\\u0275did\"](1,49152,null,0,y.a,[c.a],{date:[0,\"date\"],disabled:[1,\"disabled\"],months:[2,\"months\"],showSelect:[3,\"showSelect\"],prevDisabled:[4,\"prevDisabled\"],nextDisabled:[5,\"nextDisabled\"],selectBoxes:[6,\"selectBoxes\"]},{navigate:\"navigate\",select:\"select\"}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){var n=e.component;t(e,1,0,n.model.firstDate,n.model.disabled,n.model.months,\"select\"===n.model.navigation,n.model.prevDisabled,n.model.nextDisabled,n.model.selectBoxes)},null)}function z(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,1,\"div\",[[\"class\",\"ngb-dp-month-name bg-light\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](1,null,[\"\\n            \",\" \",\"\\n          \"]))],null,function(t,e){t(e,1,0,e.component.i18n.getMonthFullName(e.parent.context.\$implicit.number),e.parent.context.\$implicit.year)})}function H(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275eld\"](1,0,null,null,8,\"div\",[[\"class\",\"ngb-dp-month d-block\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,z)),r[\"\\u0275did\"](4,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275eld\"](6,0,null,null,2,\"ngb-datepicker-month-view\",[[\"class\",\"d-block\"]],null,[[null,\"select\"]],function(t,e,n){var r=!0;return\"select\"===e&&(r=!1!==t.component.onDateSelect(n)&&r),r},D,k)),r[\"\\u0275did\"](7,49152,null,0,x.a,[c.a],{dayTemplate:[0,\"dayTemplate\"],month:[1,\"month\"],outsideDays:[2,\"outsideDays\"],showWeekdays:[3,\"showWeekdays\"],showWeekNumbers:[4,\"showWeekNumbers\"]},{select:\"select\"}),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n          \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n        \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"]))],function(t,e){var n=e.component;t(e,4,0,\"none\"===n.navigation||n.displayMonths>1&&\"select\"===n.navigation),t(e,7,0,n.dayTemplate||r[\"\\u0275nov\"](e.parent,1),e.context.\$implicit,1===n.displayMonths?n.outsideDays:\"hidden\",n.showWeekdays,n.showWeekNumbers)},null)}function K(t){return r[\"\\u0275vid\"](2,[(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275and\"](0,[[\"dt\",2]],null,0,null,V)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n    \"])),(t()(),r[\"\\u0275eld\"](3,0,null,null,4,\"div\",[[\"class\",\"ngb-dp-header bg-light\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,W)),r[\"\\u0275did\"](6,16384,null,0,a.l,[r.ViewContainerRef,r.TemplateRef],{ngIf:[0,\"ngIf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n\\n    \"])),(t()(),r[\"\\u0275eld\"](9,0,null,null,4,\"div\",[[\"class\",\"ngb-dp-months\"]],null,null,null,null,null)),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n      \"])),(t()(),r[\"\\u0275and\"](16777216,null,null,1,null,H)),r[\"\\u0275did\"](12,802816,null,0,a.k,[r.ViewContainerRef,r.TemplateRef,r.IterableDiffers],{ngForOf:[0,\"ngForOf\"]},null),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n    \"])),(t()(),r[\"\\u0275ted\"](-1,null,[\"\\n  \"]))],function(t,e){var n=e.component;t(e,6,0,\"none\"!==n.navigation),t(e,12,0,n.model.months)},null)}var Y=r[\"\\u0275ccf\"](\"ngb-datepicker\",M.a,function(t){return r[\"\\u0275vid\"](0,[(t()(),r[\"\\u0275eld\"](0,0,null,null,4,\"ngb-datepicker\",[[\"tabindex\",\"0\"]],[[1,\"tabindex\",0]],[[null,\"blur\"],[null,\"focus\"],[null,\"keydown\"]],function(t,e,n){var i=!0;return\"blur\"===e&&(i=!1!==r[\"\\u0275nov\"](t,4).showFocus(!1)&&i),\"focus\"===e&&(i=!1!==r[\"\\u0275nov\"](t,4).showFocus(!0)&&i),\"keydown\"===e&&(i=!1!==r[\"\\u0275nov\"](t,4).onKeyDown(n)&&i),i},K,U)),r[\"\\u0275prd\"](5120,null,u.j,function(t){return[t]},[M.a]),r[\"\\u0275prd\"](512,null,q.a,q.a,[I.a]),r[\"\\u0275prd\"](512,null,L.a,L.a,[q.a,I.a]),r[\"\\u0275did\"](4,770048,null,0,M.a,[L.a,q.a,I.a,c.a,B.a,r.ChangeDetectorRef,r.ElementRef,F.a],null,null)],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,r[\"\\u0275nov\"](e,4).model.disabled?void 0:\"0\")})},{dayTemplate:\"dayTemplate\",displayMonths:\"displayMonths\",firstDayOfWeek:\"firstDayOfWeek\",markDisabled:\"markDisabled\",maxDate:\"maxDate\",minDate:\"minDate\",navigation:\"navigation\",outsideDays:\"outsideDays\",showWeekdays:\"showWeekdays\",showWeekNumbers:\"showWeekNumbers\",startDate:\"startDate\"},{navigate:\"navigate\",select:\"select\"},[])},qoi6:function(t,e,n){\"use strict\";var r,i=n(\"WT6e\"),o=(n(\"7DMc\"),n(\"4zOZ\")),l=n(\"r4tK\"),u=n(\"5X6E\"),a=n(\"TToO\"),s=n(\"YaPU\"),c=n(\"GK6M\"),f=n(\"/iUD\"),h=n(\"fKB6\"),p=n(\"VwZZ\"),d=Object.prototype.toString,y=function(t){function e(e,n,r,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=i}return Object(a.__extends)(e,t),e.create=function(t,n,r,i){return Object(f.a)(r)&&(i=r,r=void 0),new e(t,n,i,r)},e.setupSubscription=function(t,n,r,i,o){var l;if(function(t){return!!t&&\"[object NodeList]\"===d.call(t)}(t)||function(t){return!!t&&\"[object HTMLCollection]\"===d.call(t)}(t))for(var u=0,a=t.length;u<a;u++)e.setupSubscription(t[u],n,r,i,o);else if(function(t){return!!t&&\"function\"==typeof t.addEventListener&&\"function\"==typeof t.removeEventListener}(t)){var s=t;t.addEventListener(n,r,o),l=function(){return s.removeEventListener(n,r,o)}}else if(function(t){return!!t&&\"function\"==typeof t.on&&\"function\"==typeof t.off}(t)){var c=t;t.on(n,r),l=function(){return c.off(n,r)}}else{if(!function(t){return!!t&&\"function\"==typeof t.addListener&&\"function\"==typeof t.removeListener}(t))throw new TypeError(\"Invalid event target\");var f=t;t.addListener(n,r),l=function(){return f.removeListener(n,r)}}i.add(new p.a(l))},e.prototype._subscribe=function(t){var n=this.selector;e.setupSubscription(this.sourceObj,this.eventName,n?function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var i=Object(c.a)(n).apply(void 0,e);i===h.a?t.error(h.a.e):t.next(i)}:function(e){return t.next(e)},t,this.options)},e}(s.Observable).create,v=n(\"jRSa\"),g=n(\"2BXm\"),b=n(\"/PMa\"),m=n(\"2yGx\");n(\"cG9e\"),n.d(e,\"a\",function(){return w}),function(t){t[t.Tab=9]=\"Tab\",t[t.Enter=13]=\"Enter\",t[t.Escape=27]=\"Escape\",t[t.ArrowUp=38]=\"ArrowUp\",t[t.ArrowDown=40]=\"ArrowDown\"}(r||(r={})),Object(i.forwardRef)(function(){return w});var _=0,w=function(){function t(t,e,n,r,l,u,a){var s=this;this._elementRef=t,this._viewContainerRef=e,this._renderer=n,this._injector=r,this.placement=\"bottom-left\",this.selectItem=new i.EventEmitter,this.popupId=\"ngb-typeahead-\"+_++,this._onTouched=function(){},this._onChange=function(t){},this.container=u.container,this.editable=u.editable,this.focusFirst=u.focusFirst,this.showHint=u.showHint,this.placement=u.placement,this._valueChanges=y(t.nativeElement,\"input\",function(t){return t.target.value}),this._resubscribeTypeahead=new o.a(null),this._popupService=new b.b(g.a,r,e,n,l),this._zoneSubscription=a.onStable.subscribe(function(){s.isPopupOpen()&&Object(v.a)(s._elementRef.nativeElement,s._windowRef.location.nativeElement,s.placement,\"body\"===s.container)})}return t.prototype.ngOnInit=function(){var t=this,e=l.a.call(this._valueChanges,function(e){t._inputValueBackup=e,t.editable&&t._onChange(e)}),n=(function(t){return t(this)}).call(e,this.ngbTypeahead),r=l.a.call(n,function(){t.editable||t._onChange(void 0)}),i=(function(t,e){return Object(u.a)(t,e)(this)}).call(this._resubscribeTypeahead,function(){return r});this._subscription=this._subscribeToUserInput(i)},t.prototype.ngOnDestroy=function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.writeValue=function(t){this._writeInputValue(this._formatItemForInput(t))},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,\"disabled\",t)},t.prototype.onDocumentClick=function(t){t.target!==this._elementRef.nativeElement&&this.dismissPopup()},t.prototype.dismissPopup=function(){this.isPopupOpen()&&(this._closePopup(),this._writeInputValue(this._inputValueBackup))},t.prototype.isPopupOpen=function(){return null!=this._windowRef},t.prototype.handleBlur=function(){this._resubscribeTypeahead.next(null),this._onTouched()},t.prototype.handleKeyDown=function(t){if(this.isPopupOpen()&&r[Object(m.i)(t.which)])switch(t.which){case r.ArrowDown:t.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case r.ArrowUp:t.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case r.Enter:case r.Tab:var e=this._windowRef.instance.getActive();Object(m.b)(e)&&(t.preventDefault(),t.stopPropagation(),this._selectResult(e)),this._closePopup();break;case r.Escape:t.preventDefault(),this._resubscribeTypeahead.next(null),this.dismissPopup()}},t.prototype._openPopup=function(){var t=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe(function(e){return t._selectResultClosePopup(e)}),this._windowRef.instance.activeChangeEvent.subscribe(function(e){return t.activeDescendant=e}),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement))},t.prototype._closePopup=function(){this._popupService.close(),this._windowRef=null,this.activeDescendant=void 0},t.prototype._selectResult=function(t){var e=!1;this.selectItem.emit({item:t,preventDefault:function(){e=!0}}),this._resubscribeTypeahead.next(null),e||(this.writeValue(t),this._onChange(t))},t.prototype._selectResultClosePopup=function(t){this._selectResult(t),this._closePopup()},t.prototype._showHint=function(){if(this.showHint&&this._windowRef.instance.hasActive()&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),e=this._formatItemForInput(this._windowRef.instance.getActive());t===e.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+e.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,e.length])):this.writeValue(this._windowRef.instance.getActive())}},t.prototype._formatItemForInput=function(t){return t&&this.inputFormatter?this.inputFormatter(t):Object(m.i)(t)},t.prototype._writeInputValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,\"value\",Object(m.i)(t))},t.prototype._subscribeToUserInput=function(t){var e=this;return t.subscribe(function(t){t&&0!==t.length?(e._openPopup(),e._windowRef.instance.focusFirst=e.focusFirst,e._windowRef.instance.results=t,e._windowRef.instance.term=e._elementRef.nativeElement.value,e.resultFormatter&&(e._windowRef.instance.formatter=e.resultFormatter),e.resultTemplate&&(e._windowRef.instance.resultTemplate=e.resultTemplate),e._windowRef.changeDetectorRef.detectChanges(),e._showHint()):e._closePopup()})},t.prototype._unsubscribeFromUserInput=function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null},t}()},qsK9:function(t,e,n){\"use strict\";n(\"WT6e\"),n(\"Xjw4\");var r,i=n(\"/KGk\"),o=n(\"5ZV5\"),l=n(\"3fcS\"),u=n(\"hY6I\"),a=(n(\"7DMc\"),n(\"U6gI\")),s=n(\"gEbu\"),c=n(\"lcaH\"),f=n(\"7DGp\"),h=n(\"WwnU\"),p=n(\"qBUJ\"),d=n(\"hwnt\"),y=n(\"2yGx\"),v=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.getDaysPerWeek=function(){return 7},e.prototype.getMonths=function(){return[1,2,3,4,5,6,7,8,9,10,11,12]},e.prototype.getWeeksPerMonth=function(){return 6},e.prototype.isValid=function(t){return t&&Object(y.d)(t.year)&&Object(y.d)(t.month)&&Object(y.d)(t.day)&&!isNaN(this.toGregorian(t).getTime())},e.prototype.setDay=function(t,e){e=+e;var n=this.getDaysInIslamicMonth(t.month,t.year);if(e<=0)for(;e<=0;)t=this.setMonth(t,t.month-1),e+=n=this.getDaysInIslamicMonth(t.month,t.year);else if(e>n)for(;e>n;)e-=n,t=this.setMonth(t,t.month+1),n=this.getDaysInIslamicMonth(t.month,t.year);return t.day=e,t},e.prototype.setMonth=function(t,e){return e=+e,t.year=t.year+Math.floor((e-1)/12),t.month=Math.floor(((e-1)%12+12)%12)+1,t},e.prototype.setYear=function(t,e){return t.year=+e,t},e.prototype._isIslamicLeapYear=function(t){return(14+11*t)%30<11},e.prototype._getMonthStart=function(t,e){return Math.ceil(29.5*e)+354*(t-1)+Math.floor((3+11*t)/30)},e.prototype._getYearStart=function(t){return 354*(t-1)+Math.floor((3+11*t)/30)},e}(c.a),b=n(\"hlt1\"),m=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function _(t){var e=t.getFullYear();return e%4==0&&e%100!=0||e%400==0}function w(t,e){return t-e*Math.floor(t/e)}var O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return m(e,t),e.prototype.fromGregorian=function(t){var e=new Date(t),n=e.getFullYear(),r=e.getMonth(),i=e.getDate(),o=1721424.5+365*(n-1)+Math.floor((n-1)/4)+-Math.floor((n-1)/100)+Math.floor((n-1)/400)+Math.floor((367*(r+1)-362)/12+(r+1<=2?0:_(e)?-1:-2)+i),l=(o=Math.floor(o)+.5)-1948439.5,u=Math.floor((30*l+10646)/10631),a=Math.ceil((l-29-this._getYearStart(u))/29.5);a=Math.min(a,11);var s=Math.ceil(l-this._getMonthStart(u,a))+1;return new b.a(u,a+1,s)},e.prototype.toGregorian=function(t){var e=t.year,n=t.day+Math.ceil(29.5*(t.month-1))+354*(e-1)+Math.floor((3+11*e)/30)+1948439.5-1,r=Math.floor(n-.5)+.5,i=r-1721425.5,o=Math.floor(i/146097),l=w(i,146097),u=Math.floor(l/36524),a=w(l,36524),s=Math.floor(a/1461),c=w(a,1461),f=Math.floor(c/365),h=400*o+100*u+4*s+f;4!==u&&4!==f&&h++;var p=r-(1721425.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)),d=r<1721424.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)+Math.floor(739/12+(_(new Date(h,3,1))?-1:-2)+1)?0:_(new Date(h,3,1))?1:2,y=Math.floor((12*(p+d)+373)/367),v=1721424.5+365*(h-1)+Math.floor((h-1)/4)-Math.floor((h-1)/100)+Math.floor((h-1)/400)+Math.floor((367*y-362)/12+(y<=2?0:_(new Date(h,y-1,1))?-1:-2)+1);return new Date(h,y-1,r-v+1)},e.prototype.getDaysInIslamicMonth=function(t,e){e+=Math.floor(t/13);var n=29+(t=(t-1)%12+1)%2;return 12===t&&this._isIslamicLeapYear(e)&&n++,n},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e=\"d\"),void 0===n&&(n=1),t=b.a.from(t),e){case\"y\":return(t=this.setYear(t,t.year+n)).month=1,t.day=1,t;case\"m\":return(t=this.setMonth(t,t.month+n)).day=1,t;case\"d\":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e=\"d\"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=t[(11-e)%7],r=this.toGregorian(n);r.setDate(r.getDate()+4-(r.getDay()||7));var i=r.getTime(),o=this.toGregorian(new b.a(n.year,1,1));return Math.floor(Math.round((i-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(g),x=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),k=new Date(1882,10,12),E=new Date(2174,10,25),C=new O,T=[\"101010101010\",\"110101010100\",\"111011001001\",\"011011010100\",\"011011101010\",\"001101101100\",\"101010101101\",\"010101010101\",\"011010101001\",\"011110010010\",\"101110101001\",\"010111010100\",\"101011011010\",\"010101011100\",\"110100101101\",\"011010010101\",\"011101001010\",\"101101010100\",\"101101101010\",\"010110101101\",\"010010101110\",\"101001001111\",\"010100010111\",\"011010001011\",\"011010100101\",\"101011010101\",\"001011010110\",\"100101011011\",\"010010011101\",\"101001001101\",\"110100100110\",\"110110010101\",\"010110101100\",\"100110110110\",\"001010111010\",\"101001011011\",\"010100101011\",\"101010010101\",\"011011001010\",\"101011101001\",\"001011110100\",\"100101110110\",\"001010110110\",\"100101010110\",\"101011001010\",\"101110100100\",\"101111010010\",\"010111011001\",\"001011011100\",\"100101101101\",\"010101001101\",\"101010100101\",\"101101010010\",\"101110100101\",\"010110110100\",\"100110110110\",\"010101010111\",\"001010010111\",\"010101001011\",\"011010100011\",\"011101010010\",\"101101100101\",\"010101101010\",\"101010101011\",\"010100101011\",\"110010010101\",\"110101001010\",\"110110100101\",\"010111001010\",\"101011010110\",\"100101010111\",\"010010101011\",\"100101001011\",\"101010100101\",\"101101010010\",\"101101101010\",\"010101110101\",\"001001110110\",\"100010110111\",\"010001011011\",\"010101010101\",\"010110101001\",\"010110110100\",\"100111011010\",\"010011011101\",\"001001101110\",\"100100110110\",\"101010101010\",\"110101010100\",\"110110110010\",\"010111010101\",\"001011011010\",\"100101011011\",\"010010101011\",\"101001010101\",\"101101001001\",\"101101100100\",\"101101110001\",\"010110110100\",\"101010110101\",\"101001010101\",\"110100100101\",\"111010010010\",\"111011001001\",\"011011010100\",\"101011101001\",\"100101101011\",\"010010101011\",\"101010010011\",\"110101001001\",\"110110100100\",\"110110110010\",\"101010111001\",\"010010111010\",\"101001011011\",\"010100101011\",\"101010010101\",\"101100101010\",\"101101010101\",\"010101011100\",\"010010111101\",\"001000111101\",\"100100011101\",\"101010010101\",\"101101001010\",\"101101011010\",\"010101101101\",\"001010110110\",\"100100111011\",\"010010011011\",\"011001010101\",\"011010101001\",\"011101010100\",\"101101101010\",\"010101101100\",\"101010101101\",\"010101010101\",\"101100101001\",\"101110010010\",\"101110101001\",\"010111010100\",\"101011011010\",\"010101011010\",\"101010101011\",\"010110010101\",\"011101001001\",\"011101100100\",\"101110101010\",\"010110110101\",\"001010110110\",\"101001010110\",\"111001001101\",\"101100100101\",\"101101010010\",\"101101101010\",\"010110101101\",\"001010101110\",\"100100101111\",\"010010010111\",\"011001001011\",\"011010100101\",\"011010101100\",\"101011010110\",\"010101011101\",\"010010011101\",\"101001001101\",\"110100010110\",\"110110010101\",\"010110101010\",\"010110110101\",\"001011011010\",\"100101011011\",\"010010101101\",\"010110010101\",\"011011001010\",\"011011100100\",\"101011101010\",\"010011110101\",\"001010110110\",\"100101010110\",\"101010101010\",\"101101010100\",\"101111010010\",\"010111011001\",\"001011101010\",\"100101101101\",\"010010101101\",\"101010010101\",\"101101001010\",\"101110100101\",\"010110110010\",\"100110110101\",\"010011010110\",\"101010010111\",\"010101000111\",\"011010010011\",\"011101001001\",\"101101010101\",\"010101101010\",\"101001101011\",\"010100101011\",\"101010001011\",\"110101000110\",\"110110100011\",\"010111001010\",\"101011010110\",\"010011011011\",\"001001101011\",\"100101001011\",\"101010100101\",\"101101010010\",\"101101101001\",\"010101110101\",\"000101110110\",\"100010110111\",\"001001011011\",\"010100101011\",\"010101100101\",\"010110110100\",\"100111011010\",\"010011101101\",\"000101101101\",\"100010110110\",\"101010100110\",\"110101010010\",\"110110101001\",\"010111010100\",\"101011011010\",\"100101011011\",\"010010101011\",\"011001010011\",\"011100101001\",\"011101100010\",\"101110101001\",\"010110110010\",\"101010110101\",\"010101010101\",\"101100100101\",\"110110010010\",\"111011001001\",\"011011010010\",\"101011101001\",\"010101101011\",\"010010101011\",\"101001010101\",\"110100101001\",\"110101010100\",\"110110101010\",\"100110110101\",\"010010111010\",\"101000111011\",\"010010011011\",\"101001001101\",\"101010101010\",\"101011010101\",\"001011011010\",\"100101011101\",\"010001011110\",\"101000101110\",\"110010011010\",\"110101010101\",\"011010110010\",\"011010111001\",\"010010111010\",\"101001011101\",\"010100101101\",\"101010010101\",\"101101010010\",\"101110101000\",\"101110110100\",\"010110111001\",\"001011011010\",\"100101011010\",\"101101001010\",\"110110100100\",\"111011010001\",\"011011101000\",\"101101101010\",\"010101101101\",\"010100110101\",\"011010010101\",\"110101001010\",\"110110101000\",\"110111010100\",\"011011011010\",\"010101011011\",\"001010011101\",\"011000101011\",\"101100010101\",\"101101001010\",\"101110010101\",\"010110101010\",\"101010101110\",\"100100101110\",\"110010001111\",\"010100100111\",\"011010010101\",\"011010101010\",\"101011010110\",\"010101011101\",\"001010011101\"],j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return x(e,t),e.prototype.fromGregorian=function(t){var e,n,r=1,i=(e=k,n=Math.abs(t.getTime()-e.getTime()),Math.round(n/864e5));if(!(t.getTime()-k.getTime()>=0&&t.getTime()-E.getTime()<=0))return C.fromGregorian(t);for(var o=1300,l=0;l<T.length;l++,o++)for(var u=0;u<12;u++){var a=+T[l][u]+29;if(i<=a)return(r=i+1)>a&&(r=1,u++),u>11&&(u=0,o++),new b.a(o,u+1,r);i-=a}},e.prototype.toGregorian=function(t){var e=t.year,n=t.month-1,r=t.day,i=new Date(k),o=r-1;if(e>=1300&&e<=1600){for(var l=0;l<e-1300;l++)for(var u=0;u<12;u++)o+=+T[l][u]+29;for(u=0;u<n;u++)o+=+T[e-1300][u]+29;i.setDate(k.getDate()+o)}else i=C.toGregorian(t);return i},e.prototype.getDaysInIslamicMonth=function(t,e){return e>=1300&&e<=1600?\"1\"===T[e-1300].charAt(t-1)?30:29:C.getDaysInIslamicMonth(t,e)},e.prototype.getNext=function(t,e,n){switch(void 0===e&&(e=\"d\"),void 0===n&&(n=1),t=b.a.from(t),e){case\"y\":return(t=this.setYear(t,t.year+n)).month=1,t.day=1,t;case\"m\":return(t=this.setMonth(t,t.month+n)).day=1,t;case\"d\":return this.setDay(t,t.day+n);default:return t}},e.prototype.getPrev=function(t,e,n){return void 0===e&&(e=\"d\"),void 0===n&&(n=1),this.getNext(t,e,-n)},e.prototype.getWeekday=function(t){var e=this.toGregorian(t).getDay();return 0===e?7:e},e.prototype.getWeekNumber=function(t,e){7===e&&(e=0);var n=t[(11-e)%7],r=this.toGregorian(n);r.setDate(r.getDate()+4-(r.getDay()||7));var i=r.getTime(),o=this.toGregorian(new b.a(n.year,1,1));return Math.floor(Math.round((i-o.getTime())/864e5)/7)+1},e.prototype.getToday=function(){return this.fromGregorian(new Date)},e}(g);n.d(e,\"a\",function(){return A}),n.d(e,!1,function(){return i.a}),n.d(e,!1,function(){return u.a}),n.d(e,!1,function(){return c.a}),n.d(e,!1,function(){return O}),n.d(e,!1,function(){return j}),n.d(e,!1,function(){return o.a}),n.d(e,!1,function(){return a.a}),n.d(e,!1,function(){return l.a}),n.d(e,!1,function(){return p.a}),n.d(e,!1,function(){return d.a}),n.d(e,!1,function(){return s.a}),n.d(e,!1,function(){return h.a}),n.d(e,!1,function(){return f.b});var A=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[{provide:c.a,useClass:c.b},{provide:s.a,useClass:s.b},{provide:f.b,useClass:f.a},{provide:h.a,useClass:h.b},d.a]}},t}()},r4tK:function(t,e,n){\"use strict\";e.a=function(t,e,n){return Object(r.a)(t,e,n)(this)};var r=n(\"0FoY\")},s28n:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"WT6e\"),i=function(){function t(t){this.close=new r.EventEmitter,this.dismissible=t.dismissible,this.type=t.type}return t.prototype.closeHandler=function(){this.close.emit(null)},t}()},sOR5:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return\"[object Array]\"==n.call(t)}},sgnN:function(t,e,n){\"use strict\";n.d(e,\"b\",function(){return a}),n.d(e,\"a\",function(){return s});var r=n(\"WT6e\"),i=n(\"aalB\"),o=n(\"jRSa\"),l=n(\"/PMa\"),u=(n(\"qKow\"),0),a=function(){function t(t,e){this._element=t,this._renderer=e,this.placement=\"top\"}return t.prototype.applyPlacement=function(t){this._renderer.removeClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString().split(\"-\")[0]),this._renderer.removeClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString()),this.placement=t,this._renderer.addClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString().split(\"-\")[0]),this._renderer.addClass(this._element.nativeElement,\"bs-tooltip-\"+this.placement.toString())},t}(),s=function(){function t(t,e,n,i,s,c,f){var h=this;this._elementRef=t,this._renderer=e,this.shown=new r.EventEmitter,this.hidden=new r.EventEmitter,this._ngbTooltipWindowId=\"ngb-tooltip-\"+u++,this.placement=c.placement,this.triggers=c.triggers,this.container=c.container,this.disableTooltip=c.disableTooltip,this._popupService=new l.b(a,n,s,e,i),this._zoneSubscription=f.onStable.subscribe(function(){h._windowRef&&h._windowRef.instance.applyPlacement(Object(o.a)(h._elementRef.nativeElement,h._windowRef.location.nativeElement,h.placement,\"body\"===h.container))})}return Object.defineProperty(t.prototype,\"ngbTooltip\",{get:function(){return this._ngbTooltip},set:function(t){this._ngbTooltip=t,!t&&this._windowRef&&this.close()},enumerable:!0,configurable:!0}),t.prototype.open=function(t){this._windowRef||!this._ngbTooltip||this.disableTooltip||(this._windowRef=this._popupService.open(this._ngbTooltip,t),this._windowRef.instance.id=this._ngbTooltipWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,\"aria-describedby\",this._ngbTooltipWindowId),\"body\"===this.container&&window.document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.instance.placement=Array.isArray(this.placement)?this.placement[0]:this.placement,this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),this._windowRef.instance.applyPlacement(Object(o.a)(this._elementRef.nativeElement,this._windowRef.location.nativeElement,this.placement,\"body\"===this.container)),this.shown.emit())},t.prototype.close=function(){null!=this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,\"aria-describedby\"),this._popupService.close(),this._windowRef=null,this.hidden.emit())},t.prototype.toggle=function(){this._windowRef?this.close():this.open()},t.prototype.isOpen=function(){return null!=this._windowRef},t.prototype.ngOnInit=function(){this._unregisterListenersFn=Object(i.a)(this._renderer,this._elementRef.nativeElement,this.triggers,this.open.bind(this),this.close.bind(this),this.toggle.bind(this))},t.prototype.ngOnDestroy=function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()},t}()},\"tyH+\":function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.meridian=!1,this.spinners=!0,this.seconds=!1,this.hourStep=1,this.minuteStep=1,this.secondStep=1,this.disabled=!1,this.readonlyInputs=!1,this.size=\"medium\"}},ujcs:function(t,e){e.read=function(t,e,n,r,i){var o,l,u=8*i-r-1,a=(1<<u)-1,s=a>>1,c=-7,f=n?i-1:0,h=n?-1:1,p=t[e+f];for(f+=h,o=p&(1<<-c)-1,p>>=-c,c+=u;c>0;o=256*o+t[e+f],f+=h,c-=8);for(l=o&(1<<-c)-1,o>>=-c,c+=r;c>0;l=256*l+t[e+f],f+=h,c-=8);if(0===o)o=1-s;else{if(o===a)return l?NaN:1/0*(p?-1:1);l+=Math.pow(2,r),o-=s}return(p?-1:1)*l*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var l,u,a,s=8*o-i-1,c=(1<<s)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,d=r?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,l=c):(l=Math.floor(Math.log(e)/Math.LN2),e*(a=Math.pow(2,-l))<1&&(l--,a*=2),(e+=l+f>=1?h/a:h*Math.pow(2,1-f))*a>=2&&(l++,a/=2),l+f>=c?(u=0,l=c):l+f>=1?(u=(e*a-1)*Math.pow(2,i),l+=f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),l=0));i>=8;t[n+p]=255&u,p+=d,u/=256,i-=8);for(l=l<<i|u,s+=i;s>0;t[n+p]=255&l,p+=d,l/=256,s-=8);t[n+p-d]|=128*y}},v4DA:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r});var r=function(){this.justify=\"start\",this.orientation=\"horizontal\",this.type=\"tabs\"}},vfkA:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return r}),n(\"kgIC\");var r=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}()},xOmt:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return o});var r=n(\"WT6e\"),i=n(\"nxqe\"),o=function(){function t(t,e,n){this._elRef=e,this._renderer=n,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new r.EventEmitter,this._document=t}return t.prototype.backdropClick=function(t){!0===this.backdrop&&this._elRef.nativeElement===t.target&&this.dismiss(i.a.BACKDROP_CLICK)},t.prototype.escKey=function(t){this.keyboard&&!t.defaultPrevented&&this.dismiss(i.a.ESC)},t.prototype.dismiss=function(t){this.dismissEvent.emit(t)},t.prototype.ngOnInit=function(){this._elWithFocus=this._document.activeElement,this._renderer.addClass(this._document.body,\"modal-open\")},t.prototype.ngAfterViewInit=function(){this._elRef.nativeElement.contains(document.activeElement)||this._elRef.nativeElement.focus.apply(this._elRef.nativeElement,[])},t.prototype.ngOnDestroy=function(){var t,e=this._document.body,n=this._elWithFocus;(t=n&&n.focus&&e.contains(n)?n:e).focus.apply(t,[]),this._elWithFocus=null,this._renderer.removeClass(e,\"modal-open\")},t}()},yDyO:function(t,e,n){\"use strict\";n.d(e,\"a\",function(){return i});var r=n(\"qKow\"),i=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[r.a]}},t}()},\"yPE/\":function(t,e,n){(function(e){var n;\"undefined\"!=typeof self&&self,n=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,\"a\",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p=\"\",n(n.s=109)}([function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(17),i=n(18),o=n(19),l=n(45),u=n(46),a=n(47),s=n(48),c=n(49),f=n(12),h=n(32),p=n(33),d=n(31),y=n(1);e.default={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:s.default,Scroll:l.default,Block:a.default,Inline:u.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}}},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=function(t){function e(e){var n=this;return(n=t.call(this,e=\"[Parchment] \"+e)||this).message=e,n.name=n.constructor.name,n}return i(e,t),e}(Error);e.ParchmentError=o;var l,u={},a={},s={},c={};function f(t,e){var n;if(void 0===e&&(e=l.ANY),\"string\"==typeof t)n=c[t]||u[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=c.text;else if(\"number\"==typeof t)t&l.LEVEL&l.BLOCK?n=c.block:t&l.LEVEL&l.INLINE&&(n=c.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute(\"class\")||\"\").split(/\\s+/);for(var i in r)if(n=a[r[i]])break;n=n||s[t.tagName]}return null==n?null:e&l.LEVEL&n.scope&&e&l.TYPE&n.scope?n:null}e.DATA_KEY=\"__blot\",function(t){t[t.TYPE=3]=\"TYPE\",t[t.LEVEL=12]=\"LEVEL\",t[t.ATTRIBUTE=13]=\"ATTRIBUTE\",t[t.BLOT=14]=\"BLOT\",t[t.INLINE=7]=\"INLINE\",t[t.BLOCK=11]=\"BLOCK\",t[t.BLOCK_BLOT=10]=\"BLOCK_BLOT\",t[t.INLINE_BLOT=6]=\"INLINE_BLOT\",t[t.BLOCK_ATTRIBUTE=9]=\"BLOCK_ATTRIBUTE\",t[t.INLINE_ATTRIBUTE=5]=\"INLINE_ATTRIBUTE\",t[t.ANY=15]=\"ANY\"}(l=e.Scope||(e.Scope={})),e.create=function(t,e){var n=f(t);if(null==n)throw new o(\"Unable to create \"+t+\" blot\");return new n(t instanceof Node||t.nodeType===Node.TEXT_NODE?t:n.create(e),e)},e.find=function t(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:r?t(n.parentNode,r):null},e.query=f,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map(function(e){return t(e)});var r=e[0];if(\"string\"!=typeof r.blotName&&\"string\"!=typeof r.attrName)throw new o(\"Invalid definition\");if(\"abstract\"===r.blotName)throw new o(\"Cannot register abstract class\");return c[r.blotName||r.attrName]=r,\"string\"==typeof r.keyName?u[r.keyName]=r:(null!=r.className&&(a[r.className]=r),null!=r.tagName&&(r.tagName=Array.isArray(r.tagName)?r.tagName.map(function(t){return t.toUpperCase()}):r.tagName.toUpperCase(),(Array.isArray(r.tagName)?r.tagName:[r.tagName]).forEach(function(t){null!=s[t]&&null!=r.className||(s[t]=r)}))),r}},function(t,e,n){var r=n(51),i=n(11),o=n(3),l=n(20),u=String.fromCharCode(0),a=function(t){this.ops=Array.isArray(t)?t:null!=t&&Array.isArray(t.ops)?t.ops:[]};a.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&\"object\"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},a.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},a.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&\"object\"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},a.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=o(!0,{},t),\"object\"==typeof n){if(\"number\"==typeof t.delete&&\"number\"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if(\"number\"==typeof n.delete&&null!=t.insert&&\"object\"!=typeof(n=this.ops[(e-=1)-1]))return this.ops.unshift(t),this;if(i(t.attributes,n.attributes)){if(\"string\"==typeof t.insert&&\"string\"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},\"object\"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if(\"number\"==typeof t.retain&&\"number\"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},\"object\"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},a.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},a.prototype.filter=function(t){return this.ops.filter(t)},a.prototype.forEach=function(t){this.ops.forEach(t)},a.prototype.map=function(t){return this.ops.map(t)},a.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},a.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},a.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+l.length(e):e.delete?t-e.delete:t},0)},a.prototype.length=function(){return this.reduce(function(t,e){return t+l.length(e)},0)},a.prototype.slice=function(t,e){t=t||0,\"number\"!=typeof e&&(e=1/0);for(var n=[],r=l.iterator(this.ops),i=0;i<e&&r.hasNext();){var o;i<t?o=r.next(t-i):(o=r.next(e-i),n.push(o)),i+=l.length(o)}return new a(n)},a.prototype.compose=function(t){for(var e=l.iterator(this.ops),n=l.iterator(t.ops),r=new a;e.hasNext()||n.hasNext();)if(\"insert\"===n.peekType())r.push(n.next());else if(\"delete\"===e.peekType())r.push(e.next());else{var i=Math.min(e.peekLength(),n.peekLength()),o=e.next(i),u=n.next(i);if(\"number\"==typeof u.retain){var s={};\"number\"==typeof o.retain?s.retain=i:s.insert=o.insert;var c=l.attributes.compose(o.attributes,u.attributes,\"number\"==typeof o.retain);c&&(s.attributes=c),r.push(s)}else\"number\"==typeof u.delete&&\"number\"==typeof o.retain&&r.push(u)}return r.chop()},a.prototype.concat=function(t){var e=new a(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},a.prototype.diff=function(t,e){if(this.ops===t.ops)return new a;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return\"string\"==typeof n.insert?n.insert:u;throw new Error(\"diff() called \"+(e===t?\"on\":\"with\")+\" non-document\")}).join(\"\")}),o=new a,s=r(n[0],n[1],e),c=l.iterator(this.ops),f=l.iterator(t.ops);return s.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(f.peekLength(),e),o.push(f.next(n));break;case r.DELETE:n=Math.min(e,c.peekLength()),c.next(n),o.delete(n);break;case r.EQUAL:n=Math.min(c.peekLength(),f.peekLength(),e);var u=c.next(n),a=f.next(n);i(u.insert,a.insert)?o.retain(n,l.attributes.diff(u.attributes,a.attributes)):o.push(a).delete(n)}e-=n}}),o.chop()},a.prototype.eachLine=function(t,e){e=e||\"\\n\";for(var n=l.iterator(this.ops),r=new a,i=0;n.hasNext();){if(\"insert\"!==n.peekType())return;var o=n.peek(),u=l.length(o)-n.peekLength(),s=\"string\"==typeof o.insert?o.insert.indexOf(e,u)-u:-1;if(s<0)r.push(n.next());else if(s>0)r.push(n.next(s));else{if(!1===t(r,n.next(1).attributes||{},i))return;i+=1,r=new a}}r.length()>0&&t(r,{},i)},a.prototype.transform=function(t,e){if(e=!!e,\"number\"==typeof t)return this.transformPosition(t,e);for(var n=l.iterator(this.ops),r=l.iterator(t.ops),i=new a;n.hasNext()||r.hasNext();)if(\"insert\"!==n.peekType()||!e&&\"insert\"===r.peekType())if(\"insert\"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),u=n.next(o),s=r.next(o);if(u.delete)continue;s.delete?i.push(s):i.retain(o,l.attributes.transform(u.attributes,s.attributes,e))}else i.retain(l.length(n.next()));return i.chop()},a.prototype.transformPosition=function(t,e){e=!!e;for(var n=l.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var i=n.peekLength(),o=n.peekType();n.next(),\"delete\"!==o?(\"insert\"===o&&(r<t||!e)&&(t+=i),r+=i):t-=Math.min(i,t-r)}return t},t.exports=a},function(t,e){\"use strict\";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=function(t){return\"function\"==typeof Array.isArray?Array.isArray(t):\"[object Array]\"===r.call(t)},o=function(t){if(!t||\"[object Object]\"!==r.call(t))return!1;var e,i=n.call(t,\"constructor\"),o=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,\"isPrototypeOf\");if(t.constructor&&!i&&!o)return!1;for(e in t);return\"undefined\"==typeof e||n.call(t,e)};t.exports=function t(){var e,n,r,l,u,a,s=arguments[0],c=1,f=arguments.length,h=!1;for(\"boolean\"==typeof s&&(h=s,s=arguments[1]||{},c=2),(null==s||\"object\"!=typeof s&&\"function\"!=typeof s)&&(s={});c<f;++c)if(null!=(e=arguments[c]))for(n in e)r=s[n],s!==(l=e[n])&&(h&&l&&(o(l)||(u=i(l)))?(u?(u=!1,a=r&&i(r)?r:[]):a=r&&o(r)?r:{},s[n]=t(h,a,l)):\"undefined\"!=typeof l&&(s[n]=l));return s}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},o=f(n(3)),l=f(n(2)),u=f(n(0)),a=f(n(16)),s=f(n(6)),c=f(n(7));function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function p(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function d(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,u.default.Embed),r(e,[{key:\"attach\",value:function(){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"attach\",this).call(this),this.attributes=new u.default.Attributor.Store(this.domNode)}},{key:\"delta\",value:function(){return(new l.default).insert(this.value(),(0,o.default)(this.formats(),this.attributes.values()))}},{key:\"format\",value:function(t,e){var n=u.default.query(t,u.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:\"formatAt\",value:function(t,e,n,r){this.format(n,r)}},{key:\"insertAt\",value:function(t,n,r){if(\"string\"==typeof n&&n.endsWith(\"\\n\")){var o=u.default.create(v.blotName);this.parent.insertBefore(o,0===t?this:this.next),o.insertAt(0,n.slice(0,-1))}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,t,n,r)}}]),e}();y.scope=u.default.Scope.BLOCK_BLOT;var v=function(t){function e(t){h(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return d(e,u.default.Block),r(e,[{key:\"delta\",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(u.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),g(e))},new l.default).insert(\"\\n\",g(this))),this.cache.delta}},{key:\"deleteAt\",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"deleteAt\",this).call(this,t,n),this.cache={}}},{key:\"formatAt\",value:function(t,n,r,o){n<=0||(u.default.query(r,u.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,o):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"formatAt\",this).call(this,t,Math.min(n,this.length()-t-1),r,o),this.cache={})}},{key:\"insertAt\",value:function(t,n,r){if(null!=r)return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,t,n,r);if(0!==n.length){var o=n.split(\"\\n\"),l=o.shift();l.length>0&&(t<this.length()-1||null==this.children.tail?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,Math.min(t,this.length()-1),l):this.children.tail.insertAt(this.children.tail.length(),l),this.cache={});var u=this;o.reduce(function(t,e){return(u=u.split(t,!0)).insertAt(0,e),e.length},t+l.length)}}},{key:\"insertBefore\",value:function(t,n){var r=this.children.head;i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertBefore\",this).call(this,t,n),r instanceof a.default&&r.remove(),this.cache={}}},{key:\"length\",value:function(){return null==this.cache.length&&(this.cache.length=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"length\",this).call(this)+1),this.cache.length}},{key:\"moveChildren\",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"moveChildren\",this).call(this,t,n),this.cache={}}},{key:\"optimize\",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t),this.cache={}}},{key:\"path\",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"path\",this).call(this,t,!0)}},{key:\"removeChild\",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"removeChild\",this).call(this,t),this.cache={}}},{key:\"split\",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"split\",this).call(this,t,n);return this.cache={},o}}]),e}();function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:(\"function\"==typeof t.formats&&(e=(0,o.default)(e,t.formats())),null==t.parent||\"scroll\"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:g(t.parent,e))}v.blotName=\"block\",v.tagName=\"P\",v.defaultChild=\"break\",v.allowedChildren=[s.default,u.default.Embed,c.default],e.bubbleFormats=g,e.BlockEmbed=y,e.default=v},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(50);var l=v(n(2)),u=v(n(14)),a=v(n(8)),s=v(n(9)),c=v(n(0)),f=n(15),h=v(f),p=v(n(3)),d=v(n(10)),y=v(n(34));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b=(0,d.default)(\"quill\"),m=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.options=_(e,r),this.container=this.options.container,null==this.container)return b.error(\"Invalid Quill container\",e);this.options.debug&&t.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add(\"ql-container\"),this.container.innerHTML=\"\",this.container.__quill=this,this.root=this.addContainer(\"ql-editor\"),this.root.classList.add(\"ql-blank\"),this.root.setAttribute(\"data-gramm\",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new a.default,this.scroll=c.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new h.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule(\"keyboard\"),this.clipboard=this.theme.addModule(\"clipboard\"),this.history=this.theme.addModule(\"history\"),this.theme.init(),this.emitter.on(a.default.events.EDITOR_CHANGE,function(t){t===a.default.events.TEXT_CHANGE&&n.root.classList.toggle(\"ql-blank\",n.editor.isBlank())}),this.emitter.on(a.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;w.call(n,function(){return n.editor.update(null,e,i)},t)});var o=this.clipboard.convert(\"<div class='ql-editor' style=\\\"white-space: normal;\\\">\"+i+\"<p><br></p></div>\");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute(\"data-placeholder\",this.options.placeholder),this.options.readOnly&&this.disable()}return o(t,null,[{key:\"debug\",value:function(t){!0===t&&(t=\"log\"),d.default.level(t)}},{key:\"find\",value:function(t){return t.__quill||c.default.find(t)}},{key:\"import\",value:function(t){return null==this.imports[t]&&b.error(\"Cannot import \"+t+\". Are you sure it was registered?\"),this.imports[t]}},{key:\"register\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(\"string\"!=typeof t){var i=t.attrName||t.blotName;\"string\"==typeof i?this.register(\"formats/\"+i,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||b.warn(\"Overwriting \"+t+\" with\",e),this.imports[t]=e,(t.startsWith(\"blots/\")||t.startsWith(\"formats/\"))&&\"abstract\"!==e.blotName?c.default.register(e):t.startsWith(\"modules\")&&\"function\"==typeof e.register&&e.register()}}]),o(t,[{key:\"addContainer\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(\"string\"==typeof t){var n=t;(t=document.createElement(\"div\")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:\"blur\",value:function(){this.selection.setRange(null)}},{key:\"deleteText\",value:function(t,e,n){var r=this,o=O(t,e,n),l=i(o,4);return w.call(this,function(){return r.editor.deleteText(t,e)},n=l[3],t=l[0],-1*(e=l[1]))}},{key:\"disable\",value:function(){this.enable(!1)}},{key:\"enable\",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle(\"ql-disabled\",!t)}},{key:\"focus\",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:\"format\",value:function(t,e){var n=this;return w.call(this,function(){var r=n.getSelection(!0),i=new l.default;if(null==r)return i;if(c.default.query(t,c.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,g({},t,e));else{if(0===r.length)return n.selection.format(t,e),i;i=n.editor.formatText(r.index,r.length,g({},t,e))}return n.setSelection(r,a.default.sources.SILENT),i},arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.sources.API)}},{key:\"formatLine\",value:function(t,e,n,r,o){var l,u=this,a=O(t,e,n,r,o),s=i(a,4);return e=s[1],l=s[2],w.call(this,function(){return u.editor.formatLine(t,e,l)},o=s[3],t=s[0],0)}},{key:\"formatText\",value:function(t,e,n,r,o){var l,u=this,a=O(t,e,n,r,o),s=i(a,4);return e=s[1],l=s[2],w.call(this,function(){return u.editor.formatText(t,e,l)},o=s[3],t=s[0],0)}},{key:\"getBounds\",value:function(t){var e;e=\"number\"==typeof t?this.selection.getBounds(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.selection.getBounds(t.index,t.length);var n=this.container.getBoundingClientRect();return{bottom:e.bottom-n.top,height:e.height,left:e.left-n.left,right:e.right-n.left,top:e.top-n.top,width:e.width}}},{key:\"getContents\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=O(t,e),r=i(n,2);return this.editor.getContents(t=r[0],e=r[1])}},{key:\"getFormat\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0);return\"number\"==typeof t?this.editor.getFormat(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.editor.getFormat(t.index,t.length)}},{key:\"getIndex\",value:function(t){return t.offset(this.scroll)}},{key:\"getLength\",value:function(){return this.scroll.length()}},{key:\"getLeaf\",value:function(t){return this.scroll.leaf(t)}},{key:\"getLine\",value:function(t){return this.scroll.line(t)}},{key:\"getLines\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return\"number\"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:\"getModule\",value:function(t){return this.theme.modules[t]}},{key:\"getSelection\",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:\"getText\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=O(t,e),r=i(n,2);return this.editor.getText(t=r[0],e=r[1])}},{key:\"hasFocus\",value:function(){return this.selection.hasFocus()}},{key:\"insertEmbed\",value:function(e,n,r){var i=this;return w.call(this,function(){return i.editor.insertEmbed(e,n,r)},arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API,e)}},{key:\"insertText\",value:function(t,e,n,r,o){var l,u=this,a=O(t,0,n,r,o),s=i(a,4);return l=s[2],w.call(this,function(){return u.editor.insertText(t,e,l)},o=s[3],t=s[0],e.length)}},{key:\"isEnabled\",value:function(){return!this.container.classList.contains(\"ql-disabled\")}},{key:\"off\",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:\"on\",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:\"once\",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:\"pasteHTML\",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:\"removeFormat\",value:function(t,e,n){var r=this,o=O(t,e,n),l=i(o,4);return e=l[1],w.call(this,function(){return r.editor.removeFormat(t,e)},n=l[3],t=l[0])}},{key:\"scrollIntoView\",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:\"setContents\",value:function(t){var e=this;return w.call(this,function(){t=new l.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),i=e.editor.applyDelta(t),o=i.ops[i.ops.length-1];return null!=o&&\"string\"==typeof o.insert&&\"\\n\"===o.insert[o.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),i.delete(1)),r.compose(i)},arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.sources.API)}},{key:\"setSelection\",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var o=O(e,n,r),l=i(o,4);r=l[3],this.selection.setRange(new f.Range(e=l[0],n=l[1]),r),r!==a.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:\"setText\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.sources.API,n=(new l.default).insert(t);return this.setContents(n,e)}},{key:\"update\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:\"updateContents\",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.default.sources.API;return w.call(this,function(){return t=new l.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();function _(t,e){if((e=(0,p.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==m.DEFAULTS.theme){if(e.theme=m.import(\"themes/\"+e.theme),null==e.theme)throw new Error(\"Invalid theme \"+e.theme+\". Did you register it?\")}else e.theme=y.default;var n=(0,p.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var r=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce(function(t,e){var n=m.import(\"modules/\"+e);return null==n?b.error(\"Cannot load \"+e+\" module. Are you sure you registered it?\"):t[e]=n.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,p.default)(!0,{},m.DEFAULTS,{modules:r},n,e),[\"bounds\",\"container\",\"scrollingContainer\"].forEach(function(t){\"string\"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t},{}),e}function w(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===a.default.sources.USER)return new l.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,u=t();if(null!=i&&(!0===n&&(n=i.index),null==r?i=x(i,u,e):0!==r&&(i=x(i,n,r,e)),this.setSelection(i,a.default.sources.SILENT)),u.length()>0){var s,c,f=[a.default.events.TEXT_CHANGE,u,o,e];(s=this.emitter).emit.apply(s,[a.default.events.EDITOR_CHANGE].concat(f)),e!==a.default.sources.SILENT&&(c=this.emitter).emit.apply(c,f)}return u}function O(t,e,n,i,o){var l={};return\"number\"==typeof t.index&&\"number\"==typeof t.length?\"number\"!=typeof e?(o=i,i=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):\"number\"!=typeof e&&(o=i,i=n,n=e,e=0),\"object\"===(\"undefined\"==typeof n?\"undefined\":r(n))?(l=n,o=i):\"string\"==typeof n&&(null!=i?l[n]=i:o=n),[t,e,l,o=o||a.default.sources.API]}function x(t,e,n,r){if(null==t)return null;var o=void 0,u=void 0;if(e instanceof l.default){var s=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==a.default.sources.USER)}),c=i(s,2);o=c[0],u=c[1]}else{var h=[t.index,t.index+t.length].map(function(t){return t<e||t===e&&r===a.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)}),p=i(h,2);o=p[0],u=p[1]}return new f.Range(o,u-o)}m.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:\"\",readOnly:!1,scrollingContainer:null,strict:!0,theme:\"default\"},m.events=a.default.events,m.sources=a.default.sources,m.version=\"1.3.6\",m.imports={delta:l.default,parchment:c.default,\"core/module\":s.default,\"core/theme\":y.default},e.expandConfig=_,e.overload=O,e.default=m},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},o=u(n(7)),l=u(n(0));function u(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Inline),r(e,[{key:\"formatAt\",value:function(t,n,r,o){if(e.compare(this.statics.blotName,r)<0&&l.default.query(r,l.default.Scope.BLOT)){var u=this.isolate(t,n);o&&u.wrap(r,o)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"formatAt\",this).call(this,t,n,r,o)}},{key:\"optimize\",value:function(t){if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:\"compare\",value:function(t,n){var r=e.order.indexOf(t),i=e.order.indexOf(n);return r>=0||i>=0?r-i:t===n?0:t<n?-1:1}}]),e}();a.allowedChildren=[a,l.default.Embed,o.default],a.order=[\"cursor\",\"inline\",\"underline\",\"strike\",\"italic\",\"bold\",\"script\",\"link\",\"code\"],e.default=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default.Text),e}();e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=o(n(54));function o(t){return t&&t.__esModule?t:{default:t}}var l=(0,o(n(10)).default)(\"quill:events\");[\"selectionchange\",\"mousedown\",\"mouseup\",\"click\"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(\".ql-container\")).forEach(function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)})})});var u=function(t){function e(){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var t=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on(\"error\",l.error),t}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),r(e,[{key:\"emit\",value:function(){l.log.apply(l,arguments),function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"emit\",this).apply(this,arguments)}},{key:\"handleDOM\",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach(function(e){var r=e.node,i=e.handler;(t.target===r||r.contains(t.target))&&i.apply(void 0,[t].concat(n))})}},{key:\"listenDOM\",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}();u.events={EDITOR_CHANGE:\"editor-change\",SCROLL_BEFORE_UPDATE:\"scroll-before-update\",SCROLL_OPTIMIZE:\"scroll-optimize\",SCROLL_UPDATE:\"scroll-update\",SELECTION_CHANGE:\"selection-change\",TEXT_CHANGE:\"text-change\"},u.sources={API:\"api\",SILENT:\"silent\",USER:\"user\"},e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=[\"error\",\"warn\",\"log\",\"info\"],i=\"warn\";function o(t){if(r.indexOf(t)<=r.indexOf(i)){for(var e,n=arguments.length,o=Array(n>1?n-1:0),l=1;l<n;l++)o[l-1]=arguments[l];(e=console)[t].apply(e,o)}}function l(t){return r.reduce(function(e,n){return e[n]=o.bind(console,n,t),e},{})}o.level=l.level=function(t){i=t},e.default=l},function(t,e,n){var r=Array.prototype.slice,i=n(52),o=n(53),l=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||\"object\"!=typeof t&&\"object\"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var s,c;if(u(t)||u(e))return!1;if(t.prototype!==e.prototype)return!1;if(o(t))return!!o(e)&&(t=r.call(t),e=r.call(e),l(t,e,n));if(a(t)){if(!a(e))return!1;if(t.length!==e.length)return!1;for(s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0}try{var f=i(t),h=i(e)}catch(t){return!1}if(f.length!=h.length)return!1;for(f.sort(),h.sort(),s=f.length-1;s>=0;s--)if(f[s]!=h[s])return!1;for(s=f.length-1;s>=0;s--)if(!l(t[c=f[s]],e[c],n))return!1;return typeof t==typeof e}(t,e,n))};function u(t){return null===t||void 0===t}function a(t){return!(!t||\"object\"!=typeof t||\"number\"!=typeof t.length||\"function\"!=typeof t.copy||\"function\"!=typeof t.slice||t.length>0&&\"number\"!=typeof t[0])}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(1);e.default=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e,this.scope=null!=n.scope?n.scope&r.Scope.LEVEL|r.Scope.TYPE&r.Scope.ATTRIBUTE:r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||(\"string\"==typeof e?this.whitelist.indexOf(e.replace(/[\"']/g,\"\"))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:\"\"},t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.Code=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=f(n(2)),u=f(n(0)),a=f(n(4)),s=f(n(6)),c=f(n(7));function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function p(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function d(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,s.default),e}();y.blotName=\"code\",y.tagName=\"CODE\";var v=function(t){function e(){return h(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,a.default),i(e,[{key:\"delta\",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith(\"\\n\")&&(e=e.slice(0,-1)),e.split(\"\\n\").reduce(function(e,n){return e.insert(n).insert(\"\\n\",t.formats())},new l.default)}},{key:\"format\",value:function(t,n){if(t!==this.statics.blotName||!n){var i=this.descendant(c.default,this.length()-1),l=r(i,1)[0];null!=l&&l.deleteAt(l.length()-1,1),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n)}}},{key:\"formatAt\",value:function(t,n,r,i){if(0!==n&&null!=u.default.query(r,u.default.Scope.BLOCK)&&(r!==this.statics.blotName||i!==this.statics.formats(this.domNode))){var o=this.newlineIndex(t);if(!(o<0||o>=t+n)){var l=this.newlineIndex(t,!0)+1,a=o-l+1,s=this.isolate(l,a),c=s.next;s.format(r,i),c instanceof e&&c.formatAt(0,t-l+n-a,r,i)}}}},{key:\"insertAt\",value:function(t,e,n){if(null==n){var i=this.descendant(c.default,t),o=r(i,2);o[0].insertAt(o[1],e)}}},{key:\"length\",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith(\"\\n\")?t:t+1}},{key:\"newlineIndex\",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf(\"\\n\");var e=this.domNode.textContent.slice(t).indexOf(\"\\n\");return e>-1?t+e:-1}},{key:\"optimize\",value:function(t){this.domNode.textContent.endsWith(\"\\n\")||this.appendChild(u.default.create(\"text\",\"\\n\")),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:\"replace\",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replace\",this).call(this,t),[].slice.call(this.domNode.querySelectorAll(\"*\")).forEach(function(t){var e=u.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof u.default.Embed?e.remove():e.unwrap()})}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return n.setAttribute(\"spellcheck\",!1),n}},{key:\"formats\",value:function(){return!0}}]),e}();v.blotName=\"code-block\",v.tagName=\"PRE\",v.TAB=\"  \",e.Code=y,e.default=v},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=g(n(2)),u=g(n(20)),a=g(n(0)),s=g(n(13)),c=g(n(24)),f=n(4),h=g(f),p=g(n(16)),d=g(n(21)),y=g(n(11)),v=g(n(3));function g(t){return t&&t.__esModule?t:{default:t}}var b=/^[ -~]*\$/;function m(t,e){return Object.keys(e).reduce(function(n,r){return null==t[r]?n:(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]],n)},{})}e.default=function(){function t(e){!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.scroll=e,this.delta=this.getDelta()}return o(t,[{key:\"applyDelta\",value:function(t){var e=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce(function(t,e){if(1===e.insert){var n=(0,d.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,d.default)(e)).attributes.list?e.attributes.list=\"ordered\":(e.attributes.list=\"bullet\",delete e.attributes.bullet)),\"string\"==typeof e.insert){var r=e.insert.replace(/\\r\\n/g,\"\\n\").replace(/\\r/g,\"\\n\");return t.insert(r,e.attributes)}return t.push(e)},new l.default)}(t)).reduce(function(t,l){var s=l.retain||l.delete||l.insert.length||1,c=l.attributes||{};if(null!=l.insert){if(\"string\"==typeof l.insert){var p=l.insert;p.endsWith(\"\\n\")&&n&&(n=!1,p=p.slice(0,-1)),t>=o&&!p.endsWith(\"\\n\")&&(n=!0),e.scroll.insertAt(t,p);var d=e.scroll.line(t),y=i(d,2),g=y[0],b=y[1],m=(0,v.default)({},(0,f.bubbleFormats)(g));if(g instanceof h.default){var _=g.descendant(a.default.Leaf,b),w=i(_,1);m=(0,v.default)(m,(0,f.bubbleFormats)(w[0]))}c=u.default.attributes.diff(m,c)||{}}else if(\"object\"===r(l.insert)){var O=Object.keys(l.insert)[0];if(null==O)return t;e.scroll.insertAt(t,O,l.insert[O])}o+=s}return Object.keys(c).forEach(function(n){e.scroll.formatAt(t,s,n,c[n])}),t+s},0),t.reduce(function(t,n){return\"number\"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:\"deleteText\",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new l.default).retain(t).delete(e))}},{key:\"formatLine\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(t,Math.max(e,1)),l=e;o.forEach(function(e){var o=e.length();if(e instanceof s.default){var u=t-e.offset(n.scroll),a=e.newlineIndex(u+l)-u+1;e.formatAt(u,a,i,r[i])}else e.format(i,r[i]);l-=o})}}),this.scroll.optimize(),this.update((new l.default).retain(t).retain(e,(0,d.default)(r)))}},{key:\"formatText\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(i){n.scroll.formatAt(t,e,i,r[i])}),this.update((new l.default).retain(t).retain(e,(0,d.default)(r)))}},{key:\"getContents\",value:function(t,e){return this.delta.slice(t,t+e)}},{key:\"getDelta\",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new l.default)}},{key:\"getFormat\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=i(t,1)[0];e instanceof h.default?n.push(e):e instanceof a.default.Leaf&&r.push(e)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(a.default.Leaf,t,e));var o=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,f.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=m((0,f.bubbleFormats)(n),e)}return e});return v.default.apply(v.default,o)}},{key:\"getText\",value:function(t,e){return this.getContents(t,e).filter(function(t){return\"string\"==typeof t.insert}).map(function(t){return t.insert}).join(\"\")}},{key:\"insertEmbed\",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new l.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:\"insertText\",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\\r\\n/g,\"\\n\").replace(/\\r/g,\"\\n\"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(i){n.scroll.formatAt(t,e.length,i,r[i])}),this.update((new l.default).retain(t).insert(e,(0,d.default)(r)))}},{key:\"isBlank\",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===h.default.blotName&&!(t.children.length>1)&&t.children.head instanceof p.default}},{key:\"removeFormat\",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),o=i(r,2),u=o[0],a=o[1],c=0,f=new l.default;null!=u&&(c=u instanceof s.default?u.newlineIndex(a)-a+1:u.length()-a,f=u.delta().slice(a,a+c-1).insert(\"\\n\"));var h=this.getContents(t,e+c).diff((new l.default).insert(n).concat(f)),p=(new l.default).retain(t).concat(h);return this.applyDelta(p)}},{key:\"update\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&\"characterData\"===e[0].type&&e[0].target.data.match(b)&&a.default.find(e[0].target)){var i=a.default.find(e[0].target),o=(0,f.bubbleFormats)(i),u=i.offset(this.scroll),s=e[0].oldValue.replace(c.default.CONTENTS,\"\"),h=(new l.default).insert(s),p=(new l.default).insert(i.value());t=(new l.default).retain(u).concat(h.diff(p,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,o):t.push(e)},new l.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,y.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.Range=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=s(n(0)),l=s(n(21)),u=s(n(11)),a=s(n(8));function s(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function f(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}var h=(0,s(n(10)).default)(\"quill:selection\"),p=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;f(this,t),this.index=e,this.length=n},d=function(){function t(e,n){var r=this;f(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=o.default.create(\"cursor\",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM(\"selectionchange\",document,function(){r.mouseDown||setTimeout(r.update.bind(r,a.default.sources.USER),1)}),this.emitter.on(a.default.events.EDITOR_CHANGE,function(t,e){t===a.default.events.TEXT_CHANGE&&e.length()>0&&r.update(a.default.sources.SILENT)}),this.emitter.on(a.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(a.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(a.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range;r.setNativeRange(n.startNode,n.startOffset,n.endNode,n.endOffset)}}),this.update(a.default.sources.SILENT)}return i(t,[{key:\"handleComposition\",value:function(){var t=this;this.root.addEventListener(\"compositionstart\",function(){t.composing=!0}),this.root.addEventListener(\"compositionend\",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:\"handleDragging\",value:function(){var t=this;this.emitter.listenDOM(\"mousedown\",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM(\"mouseup\",document.body,function(){t.mouseDown=!1,t.update(a.default.sources.USER)})}},{key:\"focus\",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:\"format\",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!o.default.query(t,o.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=o.default.find(n.start.node,!1);if(null==r)return;if(r instanceof o.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:\"getBounds\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var i=void 0,o=this.scroll.leaf(t),l=r(o,2),u=l[0],a=l[1];if(null==u)return null;var s=u.position(a,!0),c=r(s,2);i=c[0],a=c[1];var f=document.createRange();if(e>0){f.setStart(i,a);var h=this.scroll.leaf(t+e),p=r(h,2);if(a=p[1],null==(u=p[0]))return null;var d=u.position(a,!0),y=r(d,2);return f.setEnd(i=y[0],a=y[1]),f.getBoundingClientRect()}var v=\"left\",g=void 0;return i instanceof Text?(a<i.data.length?(f.setStart(i,a),f.setEnd(i,a+1)):(f.setStart(i,a-1),f.setEnd(i,a),v=\"right\"),g=f.getBoundingClientRect()):(g=u.domNode.getBoundingClientRect(),a>0&&(v=\"right\")),{bottom:g.top+g.height,height:g.height,left:g[v],right:g[v],top:g.top,width:0}}},{key:\"getNativeRange\",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return h.info(\"getNativeRange\",n),n}},{key:\"getRange\",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:\"hasFocus\",value:function(){return document.activeElement===this.root}},{key:\"normalizedToRange\",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var i=n.map(function(t){var n=r(t,2),i=n[0],l=n[1],u=o.default.find(i,!0),a=u.offset(e.scroll);return 0===l?a:u instanceof o.default.Container?a+u.length():a+u.index(i,l)}),l=Math.min(Math.max.apply(Math,c(i)),this.scroll.length()-1),u=Math.min.apply(Math,[l].concat(c(i)));return new p(u,l-u)}},{key:\"normalizeNative\",value:function(t){if(!y(this.root,t.startContainer)||!t.collapsed&&!y(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:\"rangeToNative\",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],i=[],o=this.scroll.length();return n.forEach(function(t,n){t=Math.min(o-1,t);var l=e.scroll.leaf(t),u=r(l,2),a=u[1],s=u[0].position(a,0!==n),c=r(s,2);i.push(c[0],a=c[1])}),i.length<2&&(i=i.concat(i)),i}},{key:\"scrollIntoView\",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(e.index,i)),l=r(o,1)[0],u=l;if(e.length>0){var a=this.scroll.line(Math.min(e.index+e.length,i));u=r(a,1)[0]}if(null!=l&&null!=u){var s=t.getBoundingClientRect();n.top<s.top?t.scrollTop-=s.top-n.top:n.bottom>s.bottom&&(t.scrollTop+=n.bottom-s.bottom)}}}}},{key:\"setNativeRange\",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(h.info(\"setNativeRange\",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=t){this.hasFocus()||this.root.focus();var l=(this.getNativeRange()||{}).native;if(null==l||i||t!==l.startContainer||e!==l.startOffset||n!==l.endContainer||r!==l.endOffset){\"BR\"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),\"BR\"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var u=document.createRange();u.setStart(t,e),u.setEnd(n,r),o.removeAllRanges(),o.addRange(u)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:\"setRange\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.sources.API;if(\"string\"==typeof e&&(n=e,e=!1),h.info(\"setRange\",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,c(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:\"update\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.default.sources.USER,e=this.lastRange,n=this.getRange(),i=r(n,2),o=i[1];if(this.lastRange=i[0],null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,u.default)(e,this.lastRange)){var s;!this.composing&&null!=o&&o.native.collapsed&&o.start.node!==this.cursor.textNode&&this.cursor.restore();var c,f=[a.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(e),t];(s=this.emitter).emit.apply(s,[a.default.events.EDITOR_CHANGE].concat(f)),t!==a.default.sources.SILENT&&(c=this.emitter).emit.apply(c,f)}}}]),t}();function y(t,e){return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=p,e.default=d},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(0))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Embed),i(e,[{key:\"insertInto\",value:function(t,n){0===t.children.length?function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertInto\",this).call(this,t,n):this.remove()}},{key:\"length\",value:function(){return 0}},{key:\"value\",value:function(){return\"\"}}],[{key:\"value\",value:function(){}}]),e}();l.blotName=\"break\",l.tagName=\"BR\",e.default=l},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(44),l=n(30),u=n(1);function a(t){var e=u.find(t);if(null==e)try{e=u.create(t)}catch(n){e=u.create(u.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return i(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=a(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof u.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),i=r[0],o=r[1];return null==t.blotName&&t(i)||null!=t.blotName&&i instanceof t?[i,o]:i instanceof e?i.descendant(t,o):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var i=[],o=r;return this.children.forEachAt(n,r,function(n,r,l){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&i.push(n),n instanceof e&&(i=i.concat(n.descendants(t,r,o))),o-=l}),i},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,i){t.formatAt(e,i,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),i=r[0];if(i)i.insertAt(r[1],e,n);else{var o=null==n?u.create(\"text\",e):u.create(e,n);this.appendChild(o)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new u.ParchmentError(\"Cannot insert \"+t.statics.blotName+\" into \"+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=u.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),i=r[0],o=r[1],l=[[this,t]];return i instanceof e?l.concat(i.path(o,n)):(null!=i&&l.push([i,o]),l)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,i){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,r=[],i=[];t.forEach(function(t){t.target===n.domNode&&\"childList\"===t.type&&(r.push.apply(r,t.addedNodes),i.push.apply(i,t.removedNodes))}),i.forEach(function(t){if(!(null!=t.parentNode&&\"IFRAME\"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=u.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),r.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=u.find(t.nextSibling));var r=a(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,e||void 0))})},e}(l.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(12),l=n(31),u=n(17),a=n(1);e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new l.default(n.domNode),n}return i(e,t),e.formats=function(t){return\"string\"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=a.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&\"attributes\"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var i=t.prototype.wrap.call(this,n,r);return i instanceof e&&i.statics.scope===this.statics.scope&&this.attributes.move(i),i},e}(u.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(30),l=n(1);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t;var t},e.scope=l.Scope.INLINE_BLOT,e}(o.default)},function(t,e,n){var r=n(11),i=n(3),o={attributes:{compose:function(t,e,n){\"object\"!=typeof t&&(t={}),\"object\"!=typeof e&&(e={});var r=i(!0,{},e);for(var o in n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{})),t)void 0!==t[o]&&void 0===e[o]&&(r[o]=t[o]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){\"object\"!=typeof t&&(t={}),\"object\"!=typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,i){return r(t[i],e[i])||(n[i]=void 0===e[i]?null:e[i]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if(\"object\"!=typeof t)return e;if(\"object\"==typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new l(t)},length:function(t){return\"number\"==typeof t.delete?t.delete:\"number\"==typeof t.retain?t.retain:\"string\"==typeof t.insert?t.insert.length:1}};function l(t){this.ops=t,this.index=0,this.offset=0}l.prototype.hasNext=function(){return this.peekLength()<1/0},l.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=o.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,\"number\"==typeof e.delete)return{delete:t};var i={};return e.attributes&&(i.attributes=e.attributes),\"number\"==typeof e.retain?i.retain=t:i.insert=\"string\"==typeof e.insert?e.insert.substr(n,t):e.insert,i}return{retain:1/0}},l.prototype.peek=function(){return this.ops[this.index]},l.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},l.prototype.peekType=function(){return this.ops[this.index]?\"number\"==typeof this.ops[this.index].delete?\"delete\":\"number\"==typeof this.ops[this.index].retain?\"retain\":\"insert\":\"retain\"},t.exports=o},function(t,n){var r=function(){\"use strict\";function t(t,e){return null!=e&&t instanceof e}var n,r,i;try{n=Map}catch(t){n=function(){}}try{r=Set}catch(t){r=function(){}}try{i=Promise}catch(t){i=function(){}}function o(l,a,s,c,f){\"object\"==typeof a&&(s=a.depth,c=a.prototype,f=a.includeNonEnumerable,a=a.circular);var h=[],p=[],d=\"undefined\"!=typeof e;return\"undefined\"==typeof a&&(a=!0),\"undefined\"==typeof s&&(s=1/0),function l(s,y){if(null===s)return null;if(0===y)return s;var v,g;if(\"object\"!=typeof s)return s;if(t(s,n))v=new n;else if(t(s,r))v=new r;else if(t(s,i))v=new i(function(t,e){s.then(function(e){t(l(e,y-1))},function(t){e(l(t,y-1))})});else if(o.__isArray(s))v=[];else if(o.__isRegExp(s))v=new RegExp(s.source,u(s)),s.lastIndex&&(v.lastIndex=s.lastIndex);else if(o.__isDate(s))v=new Date(s.getTime());else{if(d&&e.isBuffer(s))return v=new e(s.length),s.copy(v),v;t(s,Error)?v=Object.create(s):\"undefined\"==typeof c?(g=Object.getPrototypeOf(s),v=Object.create(g)):(v=Object.create(c),g=c)}if(a){var b=h.indexOf(s);if(-1!=b)return p[b];h.push(s),p.push(v)}for(var m in t(s,n)&&s.forEach(function(t,e){var n=l(e,y-1),r=l(t,y-1);v.set(n,r)}),t(s,r)&&s.forEach(function(t){var e=l(t,y-1);v.add(e)}),s){var _;g&&(_=Object.getOwnPropertyDescriptor(g,m)),_&&null==_.set||(v[m]=l(s[m],y-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(m=0;m<w.length;m++){var O=w[m];(!(k=Object.getOwnPropertyDescriptor(s,O))||k.enumerable||f)&&(v[O]=l(s[O],y-1),k.enumerable||Object.defineProperty(v,O,{enumerable:!1}))}}if(f){var x=Object.getOwnPropertyNames(s);for(m=0;m<x.length;m++){var k,E=x[m];(k=Object.getOwnPropertyDescriptor(s,E))&&k.enumerable||(v[E]=l(s[E],y-1),Object.defineProperty(v,E,{enumerable:!1}))}}return v}(l,s)}function l(t){return Object.prototype.toString.call(t)}function u(t){var e=\"\";return t.global&&(e+=\"g\"),t.ignoreCase&&(e+=\"i\"),t.multiline&&(e+=\"m\"),e}return o.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},o.__objToStr=l,o.__isDate=function(t){return\"object\"==typeof t&&\"[object Date]\"===l(t)},o.__isArray=function(t){return\"object\"==typeof t&&\"[object Array]\"===l(t)},o.__isRegExp=function(t){return\"object\"==typeof t&&\"[object RegExp]\"===l(t)},o.__getRegExpFlags=u,o}();\"object\"==typeof t&&t.exports&&(t.exports=r)},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=p(n(0)),u=p(n(8)),a=n(4),s=p(a),c=p(n(16)),f=p(n(13)),h=p(n(25));function p(t){return t&&t.__esModule?t:{default:t}}function d(t){return t instanceof s.default||t instanceof a.BlockEmbed}var y=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),r.domNode.addEventListener(\"DOMNodeInserted\",function(){}),r.optimize(),r.enable(),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Scroll),i(e,[{key:\"batchStart\",value:function(){this.batch=!0}},{key:\"batchEnd\",value:function(){this.batch=!1,this.optimize()}},{key:\"deleteAt\",value:function(t,n){var i=this.line(t),l=r(i,2),u=l[0],s=l[1],h=this.line(t+n),p=r(h,1)[0];if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"deleteAt\",this).call(this,t,n),null!=p&&u!==p&&s>0){if(u instanceof a.BlockEmbed||p instanceof a.BlockEmbed)return void this.optimize();if(u instanceof f.default){var d=u.newlineIndex(u.length(),!0);if(d>-1&&(u=u.split(d+1))===p)return void this.optimize()}else if(p instanceof f.default){var y=p.newlineIndex(0);y>-1&&p.split(y+1)}u.moveChildren(p,p.children.head instanceof c.default?null:p.children.head),u.remove()}this.optimize()}},{key:\"enable\",value:function(){this.domNode.setAttribute(\"contenteditable\",!(arguments.length>0&&void 0!==arguments[0])||arguments[0])}},{key:\"formatAt\",value:function(t,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"formatAt\",this).call(this,t,n,r,i),this.optimize())}},{key:\"insertAt\",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==l.default.query(n,l.default.Scope.BLOCK)){var i=l.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith(\"\\n\")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var u=l.default.create(n,r);this.appendChild(u)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertAt\",this).call(this,t,n,r);this.optimize()}}},{key:\"insertBefore\",value:function(t,n){if(t.statics.scope===l.default.Scope.INLINE_BLOT){var r=l.default.create(this.statics.defaultChild);r.appendChild(t),t=r}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertBefore\",this).call(this,t,n)}},{key:\"leaf\",value:function(t){return this.path(t).pop()||[null,-1]}},{key:\"line\",value:function(t){return t===this.length()?this.line(t-1):this.descendant(d,t)}},{key:\"lines\",value:function(){return function t(e,n,r){var i=[],o=r;return e.children.forEachAt(n,r,function(e,n,r){d(e)?i.push(e):e instanceof l.default.Container&&(i=i.concat(t(e,n,o))),o-=r}),i}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:\"optimize\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t,n),t.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,t,n))}},{key:\"path\",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"path\",this).call(this,t).slice(1)}},{key:\"update\",value:function(t){if(!0!==this.batch){var n=u.default.sources.USER;\"string\"==typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,n,t),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"update\",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,n,t)}}}]),e}();y.blotName=\"scroll\",y.className=\"ql-editor\",y.tagName=\"DIV\",y.defaultChild=\"block\",y.allowedChildren=[s.default,a.BlockEmbed,h.default],e.default=y},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SHORTKEY=e.default=void 0;var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=y(n(21)),u=y(n(11)),a=y(n(3)),s=y(n(2)),c=y(n(20)),f=y(n(0)),h=y(n(5)),p=y(n(10)),d=y(n(9));function y(t){return t&&t.__esModule?t:{default:t}}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var g=(0,p.default)(\"quill:keyboard\"),b=/Mac/i.test(navigator.platform)?\"metaKey\":\"ctrlKey\",m=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach(function(e){(\"list autofill\"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])}),r.addBinding({key:e.keys.ENTER,shiftKey:null},k),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0},O)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?\$/},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?\$/},O)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},x),r.addBinding({key:e.keys.DELETE},{collapsed:!1},x),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),r.listen(),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,d.default),o(e,null,[{key:\"match\",value:function(t,e){return e=T(e),![\"altKey\",\"ctrlKey\",\"metaKey\",\"shiftKey\"].some(function(n){return!!e[n]!==t[n]&&null!==e[n]})&&e.key===(t.which||t.keyCode)}}]),o(e,[{key:\"addBinding\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=T(t);if(null==r||null==r.key)return g.warn(\"Attempted to add invalid keyboard binding\",r);\"function\"==typeof e&&(e={handler:e}),\"function\"==typeof n&&(n={handler:n}),r=(0,a.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:\"listen\",value:function(){var t=this;this.quill.root.addEventListener(\"keydown\",function(n){if(!n.defaultPrevented){var o=(t.bindings[n.which||n.keyCode]||[]).filter(function(t){return e.match(n,t)});if(0!==o.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var a=t.quill.getLine(l.index),s=i(a,2),c=s[0],h=s[1],p=t.quill.getLeaf(l.index),d=i(p,2),y=d[0],v=d[1],g=0===l.length?[y,v]:t.quill.getLeaf(l.index+l.length),b=i(g,2),m=b[0],_=b[1],w=y instanceof f.default.Text?y.value().slice(0,v):\"\",O=m instanceof f.default.Text?m.value().slice(_):\"\",x={collapsed:0===l.length,empty:0===l.length&&c.length()<=1,format:t.quill.getFormat(l),offset:h,prefix:w,suffix:O};o.some(function(e){if(null!=e.collapsed&&e.collapsed!==x.collapsed)return!1;if(null!=e.empty&&e.empty!==x.empty)return!1;if(null!=e.offset&&e.offset!==x.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==x.format[t]}))return!1}else if(\"object\"===r(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=x.format[t]:!1===e.format[t]?null==x.format[t]:(0,u.default)(e.format[t],x.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(x.prefix)||null!=e.suffix&&!e.suffix.test(x.suffix)||!0===e.handler.call(t,l,x))})&&n.preventDefault()}}}})}}]),e}();function _(t,e){var n;return v(n={key:t,shiftKey:e,altKey:null},t===m.keys.LEFT?\"prefix\":\"suffix\",/^\$/),v(n,\"handler\",function(n){var r=n.index;t===m.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r);return!(i(o,1)[0]instanceof f.default.Embed&&(t===m.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index-1,h.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index+n.length+1,h.default.sources.USER),1))}),n}function w(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=i(n,1)[0],o={};if(0===e.offset){var l=this.quill.getLine(t.index-1),u=i(l,1)[0];if(null!=u&&u.length()>1){var a=r.formats(),s=this.quill.getFormat(t.index-1,1);o=c.default.attributes.diff(a,s)||{}}}var f=/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]\$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-f,f,h.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(t.index-f,f,o,h.default.sources.USER),this.quill.focus()}}function O(t,e){var n=/^[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},o=0,l=this.quill.getLine(t.index),u=i(l,1)[0];if(e.offset>=u.length()-1){var a=this.quill.getLine(t.index+1),s=i(a,1)[0];if(s){var f=u.formats(),p=this.quill.getFormat(t.index,1);r=c.default.attributes.diff(f,p)||{},o=s.length()}}this.quill.deleteText(t.index,n,h.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+o-1,n,r,h.default.sources.USER)}}function x(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),i=e[e.length-1].formats();n=c.default.attributes.diff(i,r)||{}}this.quill.deleteText(t,h.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,h.default.sources.USER),this.quill.setSelection(t.index,h.default.sources.SILENT),this.quill.focus()}function k(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return f.default.query(n,f.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,\"\\n\",r,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||\"link\"!==t&&n.quill.format(t,e.format[t],h.default.sources.USER))})}function E(t){return{key:m.keys.TAB,shiftKey:!t,format:{\"code-block\":!0},handler:function(e){var n=f.default.query(\"code-block\"),r=e.index,o=e.length,l=this.quill.scroll.descendant(n,r),u=i(l,2),a=u[0],s=u[1];if(null!=a){var c=this.quill.getIndex(a),p=a.newlineIndex(s,!0)+1,d=a.newlineIndex(c+s+o),y=a.domNode.textContent.slice(p,d).split(\"\\n\");s=0,y.forEach(function(e,i){t?(a.insertAt(p+s,n.TAB),s+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):e.startsWith(n.TAB)&&(a.deleteAt(p+s,n.TAB.length),s-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),s+=e.length+1}),this.quill.update(h.default.sources.USER),this.quill.setSelection(r,o,h.default.sources.SILENT)}}}}function C(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],h.default.sources.USER)}}}function T(t){if(\"string\"==typeof t||\"number\"==typeof t)return T({key:t});if(\"object\"===(\"undefined\"==typeof t?\"undefined\":r(t))&&(t=(0,l.default)(t,!1)),\"string\"==typeof t.key)if(null!=m.keys[t.key.toUpperCase()])t.key=m.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[b]=t.shortKey,delete t.shortKey),t}m.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},m.DEFAULTS={bindings:{bold:C(\"bold\"),italic:C(\"italic\"),underline:C(\"underline\"),indent:{key:m.keys.TAB,format:[\"blockquote\",\"indent\",\"list\"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format(\"indent\",\"+1\",h.default.sources.USER)}},outdent:{key:m.keys.TAB,shiftKey:!0,format:[\"blockquote\",\"indent\",\"list\"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format(\"indent\",\"-1\",h.default.sources.USER)}},\"outdent backspace\":{key:m.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:[\"indent\",\"list\"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format(\"indent\",\"-1\",h.default.sources.USER):null!=e.format.list&&this.quill.format(\"list\",!1,h.default.sources.USER)}},\"indent code-block\":E(!0),\"outdent code-block\":E(!1),\"remove tab\":{key:m.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\\t\$/,handler:function(t){this.quill.deleteText(t.index-1,1,h.default.sources.USER)}},tab:{key:m.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new s.default).retain(t.index).delete(t.length).insert(\"\\t\");this.quill.updateContents(e,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,h.default.sources.SILENT)}},\"list empty enter\":{key:m.keys.ENTER,collapsed:!0,format:[\"list\"],empty:!0,handler:function(t,e){this.quill.format(\"list\",!1,h.default.sources.USER),e.format.indent&&this.quill.format(\"indent\",!1,h.default.sources.USER)}},\"checklist enter\":{key:m.keys.ENTER,collapsed:!0,format:{list:\"checked\"},handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],l=(0,a.default)({},r.formats(),{list:\"checked\"}),u=(new s.default).retain(t.index).insert(\"\\n\",l).retain(r.length()-o-1).retain(1,{list:\"unchecked\"});this.quill.updateContents(u,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},\"header enter\":{key:m.keys.ENTER,collapsed:!0,format:[\"header\"],suffix:/^\$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=i(n,2),o=r[0],l=r[1],u=(new s.default).retain(t.index).insert(\"\\n\",e.format).retain(o.length()-l-1).retain(1,{header:null});this.quill.updateContents(u,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},\"list autofill\":{key:\" \",collapsed:!0,format:{list:!1},prefix:/^\\s*?(\\d+\\.|-|\\*|\\[ ?\\]|\\[x\\])\$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),o=i(r,2),l=o[0],u=o[1];if(u>n)return!0;var a=void 0;switch(e.prefix.trim()){case\"[]\":case\"[ ]\":a=\"unchecked\";break;case\"[x]\":a=\"checked\";break;case\"-\":case\"*\":a=\"bullet\";break;default:a=\"ordered\"}this.quill.insertText(t.index,\" \",h.default.sources.USER),this.quill.history.cutoff();var c=(new s.default).retain(t.index-u).delete(n+1).retain(l.length()-2-u).retain(1,{list:a});this.quill.updateContents(c,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,h.default.sources.SILENT)}},\"code exit\":{key:m.keys.ENTER,collapsed:!0,format:[\"code-block\"],prefix:/\\n\\n\$/,suffix:/^\\s+\$/,handler:function(t){var e=this.quill.getLine(t.index),n=i(e,2),r=n[0],o=n[1],l=(new s.default).retain(t.index+r.length()-o-2).retain(1,{\"code-block\":null}).delete(1);this.quill.updateContents(l,h.default.sources.USER)}},\"embed left\":_(m.keys.LEFT,!1),\"embed left shift\":_(m.keys.LEFT,!0),\"embed right\":_(m.keys.RIGHT,!1),\"embed right shift\":_(m.keys.RIGHT,!0)}},e.default=m,e.SHORTKEY=b},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=u(n(0)),l=u(n(7));function u(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Embed),i(e,null,[{key:\"value\",value:function(){}}]),i(e,[{key:\"detach\",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:\"format\",value:function(t,n){if(0!==this._length)return r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n);for(var i=this,l=0;null!=i&&i.statics.scope!==o.default.Scope.BLOCK_BLOT;)l+=i.offset(i.parent),i=i.parent;null!=i&&(this._length=e.CONTENTS.length,i.optimize(),i.formatAt(l,e.CONTENTS.length,t,n),this._length=0)}},{key:\"index\",value:function(t,n){return t===this.textNode?0:r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"index\",this).call(this,t,n)}},{key:\"length\",value:function(){return this._length}},{key:\"position\",value:function(){return[this.textNode,this.textNode.data.length]}},{key:\"remove\",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"remove\",this).call(this),this.parent=null}},{key:\"restore\",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),r=void 0,i=void 0,u=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var a=[t,n.start.offset,n.end.offset];r=a[0],i=a[1],u=a[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var s=this.textNode.data.split(e.CONTENTS).join(\"\");this.next instanceof l.default?(r=this.next.domNode,this.next.insertAt(0,s),this.textNode.data=e.CONTENTS):(this.textNode.data=s,this.parent.insertBefore(o.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var c=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}([i,u].map(function(t){return Math.max(0,Math.min(r.data.length,t-1))}),2);return{startNode:r,startOffset:i=c[0],endNode:r,endOffset:u=c[1]}}}}},{key:\"update\",value:function(t,e){var n=this;if(t.some(function(t){return\"characterData\"===t.type&&t.target===n.textNode})){var r=this.restore();r&&(e.range=r)}}},{key:\"value\",value:function(){return\"\"}}]),e}();a.blotName=\"cursor\",a.className=\"ql-cursor\",a.tagName=\"span\",a.CONTENTS=\"\\ufeff\",e.default=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=l(n(0)),i=n(4),o=l(i);function l(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default.Container),e}();u.allowedChildren=[o.default,i.BlockEmbed,u],e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(0))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Attributor.Style),i(e,[{key:\"value\",value:function(t){var n=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"value\",this).call(this,t);return n.startsWith(\"rgb(\")?\"#\"+(n=n.replace(/^[^\\d]+/,\"\").replace(/[^\\d]+\$/,\"\")).split(\",\").map(function(t){return(\"00\"+parseInt(t).toString(16)).slice(-2)}).join(\"\"):n}}]),e}(),u=new o.default.Attributor.Class(\"color\",\"ql-color\",{scope:o.default.Scope.INLINE}),a=new l(\"color\",\"color\",{scope:o.default.Scope.INLINE});e.ColorAttributor=l,e.ColorClass=u,e.ColorStyle=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.sanitize=e.default=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(6))&&r.__esModule?r:{default:r},u=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),i(e,[{key:\"format\",value:function(t,n){if(t!==this.statics.blotName||!n)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute(\"href\",n)}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return t=this.sanitize(t),n.setAttribute(\"href\",t),n.setAttribute(\"target\",\"_blank\"),n}},{key:\"formats\",value:function(t){return t.getAttribute(\"href\")}},{key:\"sanitize\",value:function(t){return a(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}();function a(t,e){var n=document.createElement(\"a\");n.href=t;var r=n.href.slice(0,n.href.indexOf(\":\"));return e.indexOf(r)>-1}u.blotName=\"link\",u.tagName=\"A\",u.SANITIZED_URL=\"about:blank\",u.PROTOCOL_WHITELIST=[\"http\",\"https\",\"mailto\",\"tel\"],e.default=u,e.sanitize=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=u(n(23)),l=u(n(107));function u(t){return t&&t.__esModule?t:{default:t}}var a=0;function s(t,e){t.setAttribute(e,!(\"true\"===t.getAttribute(e)))}e.default=function(){function t(e){var n=this;!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.select=e,this.container=document.createElement(\"span\"),this.buildPicker(),this.select.style.display=\"none\",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener(\"mousedown\",function(){n.togglePicker()}),this.label.addEventListener(\"keydown\",function(t){switch(t.keyCode){case o.default.keys.ENTER:n.togglePicker();break;case o.default.keys.ESCAPE:n.escape(),t.preventDefault()}}),this.select.addEventListener(\"change\",this.update.bind(this))}return i(t,[{key:\"togglePicker\",value:function(){this.container.classList.toggle(\"ql-expanded\"),s(this.label,\"aria-expanded\"),s(this.options,\"aria-hidden\")}},{key:\"buildItem\",value:function(t){var e=this,n=document.createElement(\"span\");return n.tabIndex=\"0\",n.setAttribute(\"role\",\"button\"),n.classList.add(\"ql-picker-item\"),t.hasAttribute(\"value\")&&n.setAttribute(\"data-value\",t.getAttribute(\"value\")),t.textContent&&n.setAttribute(\"data-label\",t.textContent),n.addEventListener(\"click\",function(){e.selectItem(n,!0)}),n.addEventListener(\"keydown\",function(t){switch(t.keyCode){case o.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case o.default.keys.ESCAPE:e.escape(),t.preventDefault()}}),n}},{key:\"buildLabel\",value:function(){var t=document.createElement(\"span\");return t.classList.add(\"ql-picker-label\"),t.innerHTML=l.default,t.tabIndex=\"0\",t.setAttribute(\"role\",\"button\"),t.setAttribute(\"aria-expanded\",\"false\"),this.container.appendChild(t),t}},{key:\"buildOptions\",value:function(){var t=this,e=document.createElement(\"span\");e.classList.add(\"ql-picker-options\"),e.setAttribute(\"aria-hidden\",\"true\"),e.tabIndex=\"-1\",e.id=\"ql-picker-options-\"+a,a+=1,this.label.setAttribute(\"aria-controls\",e.id),this.options=e,[].slice.call(this.select.options).forEach(function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)}),this.container.appendChild(e)}},{key:\"buildPicker\",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add(\"ql-picker\"),this.label=this.buildLabel(),this.buildOptions()}},{key:\"escape\",value:function(){var t=this;this.close(),setTimeout(function(){return t.label.focus()},1)}},{key:\"close\",value:function(){this.container.classList.remove(\"ql-expanded\"),this.label.setAttribute(\"aria-expanded\",\"false\"),this.options.setAttribute(\"aria-hidden\",\"true\")}},{key:\"selectItem\",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(\".ql-selected\");if(t!==n&&(null!=n&&n.classList.remove(\"ql-selected\"),null!=t&&(t.classList.add(\"ql-selected\"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute(\"data-value\")?this.label.setAttribute(\"data-value\",t.getAttribute(\"data-value\")):this.label.removeAttribute(\"data-value\"),t.hasAttribute(\"data-label\")?this.label.setAttribute(\"data-label\",t.getAttribute(\"data-label\")):this.label.removeAttribute(\"data-label\"),e))){if(\"function\"==typeof Event)this.select.dispatchEvent(new Event(\"change\"));else if(\"object\"===(\"undefined\"==typeof Event?\"undefined\":r(Event))){var i=document.createEvent(\"Event\");i.initEvent(\"change\",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:\"update\",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(\".ql-picker-options\").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector(\"option[selected]\");this.label.classList.toggle(\"ql-active\",n)}}]),t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=g(n(0)),i=g(n(5)),o=n(4),l=g(o),u=g(n(16)),a=g(n(25)),s=g(n(24)),c=g(n(35)),f=g(n(6)),h=g(n(22)),p=g(n(7)),d=g(n(55)),y=g(n(42)),v=g(n(23));function g(t){return t&&t.__esModule?t:{default:t}}i.default.register({\"blots/block\":l.default,\"blots/block/embed\":o.BlockEmbed,\"blots/break\":u.default,\"blots/container\":a.default,\"blots/cursor\":s.default,\"blots/embed\":c.default,\"blots/inline\":f.default,\"blots/scroll\":h.default,\"blots/text\":p.default,\"modules/clipboard\":d.default,\"modules/history\":y.default,\"modules/keyboard\":v.default}),r.default.register(l.default,u.default,s.default,f.default,h.default,p.default),e.default=i.default},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(1);e.default=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,\"statics\",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError(\"Blot definition missing tagName\");var e;return Array.isArray(this.tagName)?(\"string\"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e=\"number\"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,i){var o=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var l=r.create(this.statics.scope);o.wrap(l),l.format(n,i)}},t.prototype.insertAt=function(t,e,n){var i=null==n?r.create(\"text\",e):r.create(e,n),o=this.split(t);this.parent.insertBefore(i,o)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n=\"string\"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n=\"string\"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName=\"abstract\",t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(12),i=n(32),o=n(33),l=n(1);e.default=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=i.default.keys(this.domNode),u=o.default.keys(this.domNode);e.concat(n).concat(u).forEach(function(e){var n=l.query(e,l.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}()},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(12);function l(t,e){return(t.getAttribute(\"class\")||\"\").split(/\\s+/).filter(function(t){return 0===t.indexOf(e+\"-\")})}e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.keys=function(t){return(t.getAttribute(\"class\")||\"\").split(/\\s+/).map(function(t){return t.split(\"-\").slice(0,-1).join(\"-\")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+\"-\"+e),!0)},e.prototype.remove=function(t){l(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute(\"class\")},e.prototype.value=function(t){var e=(l(t,this.keyName)[0]||\"\").slice(this.keyName.length+1);return this.canAdd(t,e)?e:\"\"},e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(12);function l(t){var e=t.split(\"-\"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join(\"\");return e[0]+n}e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.keys=function(t){return(t.getAttribute(\"style\")||\"\").split(\";\").map(function(t){return t.split(\":\")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[l(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[l(this.keyName)]=\"\",t.getAttribute(\"style\")||t.removeAttribute(\"style\")},e.prototype.value=function(t){var e=t.style[l(this.keyName)];return this.canAdd(t,e)?e:\"\"},e}(o.default)},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,n){!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.quill=e,this.options=n,this.modules={}}return r(t,[{key:\"init\",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:\"addModule\",value:function(t){var e=this.quill.constructor.import(\"modules/\"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();i.DEFAULTS={modules:{}},i.themes={default:i},e.default=i},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=l(n(0)),o=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var u=\"\\ufeff\",a=function(t){function e(t){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var n=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement(\"span\"),n.contentNode.setAttribute(\"contenteditable\",!1),[].slice.call(n.domNode.childNodes).forEach(function(t){n.contentNode.appendChild(t)}),n.leftGuard=document.createTextNode(u),n.rightGuard=document.createTextNode(u),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default.Embed),r(e,[{key:\"index\",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"index\",this).call(this,t,n)}},{key:\"restore\",value:function(t){var e=void 0,n=void 0,r=t.data.split(u).join(\"\");if(t===this.leftGuard)if(this.prev instanceof o.default){var l=this.prev.length();this.prev.insertAt(l,r),e={startNode:this.prev.domNode,startOffset:l+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof o.default?(this.next.insertAt(0,r),e={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),e={startNode:n,startOffset:r.length}));return t.data=u,e}},{key:\"update\",value:function(t,e){var n=this;t.forEach(function(t){if(\"characterData\"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}})}}]),e}();e.default=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o={scope:i.default.Scope.BLOCK,whitelist:[\"right\",\"center\",\"justify\"]},l=new i.default.Attributor.Attribute(\"align\",\"align\",o),u=new i.default.Attributor.Class(\"align\",\"ql-align\",o),a=new i.default.Attributor.Style(\"align\",\"text-align\",o);e.AlignAttribute=l,e.AlignClass=u,e.AlignStyle=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=n(26),l=new i.default.Attributor.Class(\"background\",\"ql-bg\",{scope:i.default.Scope.INLINE}),u=new o.ColorAttributor(\"background\",\"background-color\",{scope:i.default.Scope.INLINE});e.BackgroundClass=l,e.BackgroundStyle=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o={scope:i.default.Scope.BLOCK,whitelist:[\"rtl\"]},l=new i.default.Attributor.Attribute(\"direction\",\"dir\",o),u=new i.default.Attributor.Class(\"direction\",\"ql-direction\",o),a=new i.default.Attributor.Style(\"direction\",\"direction\",o);e.DirectionAttribute=l,e.DirectionClass=u,e.DirectionStyle=a},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.FontClass=e.FontStyle=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(0))&&r.__esModule?r:{default:r},l={scope:o.default.Scope.INLINE,whitelist:[\"serif\",\"monospace\"]},u=new o.default.Attributor.Class(\"font\",\"ql-font\",l),a=new(function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default.Attributor.Style),i(e,[{key:\"value\",value:function(t){return function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"value\",this).call(this,t).replace(/[\"']/g,\"\")}}]),e}())(\"font\",\"font-family\",l);e.FontStyle=a,e.FontClass=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r,i=(r=n(0))&&r.__esModule?r:{default:r},o=new i.default.Attributor.Class(\"size\",\"ql-size\",{scope:i.default.Scope.INLINE,whitelist:[\"small\",\"large\",\"huge\"]}),l=new i.default.Attributor.Style(\"size\",\"font-size\",{scope:i.default.Scope.INLINE,whitelist:[\"10px\",\"18px\",\"32px\"]});e.SizeClass=o,e.SizeStyle=l},function(t,e,n){\"use strict\";t.exports={align:{\"\":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),\"code-block\":n(58),color:n(84),direction:{\"\":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{\"+1\":n(96),\"-1\":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.getLastChangeIndex=e.default=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=u(n(0)),o=u(n(5)),l=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(o.default.events.EDITOR_CHANGE,function(t,e,n,i){t!==o.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&i!==o.default.sources.USER?r.transform(e):r.record(e,n))}),r.quill.keyboard.addBinding({key:\"Z\",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:\"Z\",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:\"Y\",shortKey:!0},r.redo.bind(r)),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),r(e,[{key:\"change\",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],o.default.sources.USER),this.ignoreChange=!1;var r=s(n[t]);this.quill.setSelection(r)}}},{key:\"clear\",value:function(){this.stack={undo:[],redo:[]}}},{key:\"cutoff\",value:function(){this.lastRecorded=0}},{key:\"record\",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),t=i.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:\"redo\",value:function(){this.change(\"redo\",\"undo\")}},{key:\"transform\",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:\"undo\",value:function(){this.change(\"undo\",\"redo\")}}]),e}();function s(t){var e=t.reduce(function(t,e){return t+(e.delete||0)},0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?\"string\"==typeof e.insert&&e.insert.endsWith(\"\\n\"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=i.default.query(t,i.default.Scope.BLOCK)}))}(t)&&(n-=1),n}a.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=a,e.getLastChangeIndex=s},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.BaseTooltip=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=p(n(3)),o=p(n(2)),l=p(n(8)),u=p(n(23)),a=p(n(34)),s=p(n(59)),c=p(n(60)),f=p(n(28)),h=p(n(61));function p(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function y(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function v(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=[!1,\"center\",\"right\",\"justify\"],b=[\"#000000\",\"#e60000\",\"#ff9900\",\"#ffff00\",\"#008a00\",\"#0066cc\",\"#9933ff\",\"#ffffff\",\"#facccc\",\"#ffebcc\",\"#ffffcc\",\"#cce8cc\",\"#cce0f5\",\"#ebd6ff\",\"#bbbbbb\",\"#f06666\",\"#ffc266\",\"#ffff66\",\"#66b966\",\"#66a3e0\",\"#c285ff\",\"#888888\",\"#a10000\",\"#b26b00\",\"#b2b200\",\"#006100\",\"#0047b2\",\"#6b24b2\",\"#444444\",\"#5c0000\",\"#663d00\",\"#666600\",\"#003700\",\"#002966\",\"#3d1466\"],m=[!1,\"serif\",\"monospace\"],_=[\"1\",\"2\",\"3\",!1],w=[\"small\",!1,\"large\",\"huge\"],O=function(t){function e(t,n){d(this,e);var r=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM(\"click\",document.body,function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener(\"click\",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach(function(t){t.container.contains(n.target)||t.close()})}),r}return v(e,a.default),r(e,[{key:\"addModule\",value:function(t){var n=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"addModule\",this).call(this,t);return\"toolbar\"===t&&this.extendToolbar(n),n}},{key:\"buildButtons\",value:function(t,e){t.forEach(function(t){(t.getAttribute(\"class\")||\"\").split(/\\s+/).forEach(function(n){if(n.startsWith(\"ql-\")&&(n=n.slice(\"ql-\".length),null!=e[n]))if(\"direction\"===n)t.innerHTML=e[n][\"\"]+e[n].rtl;else if(\"string\"==typeof e[n])t.innerHTML=e[n];else{var r=t.value||\"\";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}})})}},{key:\"buildPickers\",value:function(t,e){var n=this;this.pickers=t.map(function(t){if(t.classList.contains(\"ql-align\"))return null==t.querySelector(\"option\")&&k(t,g),new c.default(t,e.align);if(t.classList.contains(\"ql-background\")||t.classList.contains(\"ql-color\")){var n=t.classList.contains(\"ql-background\")?\"background\":\"color\";return null==t.querySelector(\"option\")&&k(t,b,\"background\"===n?\"#ffffff\":\"#000000\"),new s.default(t,e[n])}return null==t.querySelector(\"option\")&&(t.classList.contains(\"ql-font\")?k(t,m):t.classList.contains(\"ql-header\")?k(t,_):t.classList.contains(\"ql-size\")&&k(t,w)),new f.default(t)}),this.quill.on(l.default.events.EDITOR_CHANGE,function(){n.pickers.forEach(function(t){t.update()})})}}]),e}();O.DEFAULTS=(0,i.default)(!0,{},a.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit(\"formula\")},image:function(){var t=this,e=this.container.querySelector(\"input.ql-image[type=file]\");null==e&&((e=document.createElement(\"input\")).setAttribute(\"type\",\"file\"),e.setAttribute(\"accept\",\"image/png, image/gif, image/jpeg, image/bmp, image/x-icon\"),e.classList.add(\"ql-image\"),e.addEventListener(\"change\",function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new o.default).retain(r.index).delete(r.length).insert({image:n.target.result}),l.default.sources.USER),t.quill.setSelection(r.index+1,l.default.sources.SILENT),e.value=\"\"},n.readAsDataURL(e.files[0])}}),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit(\"video\")}}}}});var x=function(t){function e(t,n){d(this,e);var r=y(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type=\"text\"]'),r.listen(),r}return v(e,h.default),r(e,[{key:\"listen\",value:function(){var t=this;this.textbox.addEventListener(\"keydown\",function(e){u.default.match(e,\"enter\")?(t.save(),e.preventDefault()):u.default.match(e,\"escape\")&&(t.cancel(),e.preventDefault())})}},{key:\"cancel\",value:function(){this.hide()}},{key:\"edit\",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"link\",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove(\"ql-hidden\"),this.root.classList.add(\"ql-editing\"),null!=e?this.textbox.value=e:t!==this.root.getAttribute(\"data-mode\")&&(this.textbox.value=\"\"),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute(\"placeholder\",this.textbox.getAttribute(\"data-\"+t)||\"\"),this.root.setAttribute(\"data-mode\",t)}},{key:\"restoreFocus\",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:\"save\",value:function(){var t,e,n=this.textbox.value;switch(this.root.getAttribute(\"data-mode\")){case\"link\":var r=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,\"link\",n,l.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format(\"link\",n,l.default.sources.USER)),this.quill.root.scrollTop=r;break;case\"video\":n=(e=(t=n).match(/^(?:(https?):\\/\\/)?(?:(?:www|m)\\.)?youtube\\.com\\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\\/\\/)?(?:(?:www|m)\\.)?youtu\\.be\\/([a-zA-Z0-9_-]+)/))?(e[1]||\"https\")+\"://www.youtube.com/embed/\"+e[2]+\"?showinfo=0\":(e=t.match(/^(?:(https?):\\/\\/)?(?:www\\.)?vimeo\\.com\\/(\\d+)/))?(e[1]||\"https\")+\"://player.vimeo.com/video/\"+e[2]+\"/\":t;case\"formula\":if(!n)break;var i=this.quill.getSelection(!0);if(null!=i){var o=i.index+i.length;this.quill.insertEmbed(o,this.root.getAttribute(\"data-mode\"),n,l.default.sources.USER),\"formula\"===this.root.getAttribute(\"data-mode\")&&this.quill.insertText(o+1,\" \",l.default.sources.USER),this.quill.setSelection(o+2,l.default.sources.USER)}}this.textbox.value=\"\",this.hide()}}]),e}();function k(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement(\"option\");e===n?r.setAttribute(\"selected\",\"selected\"):r.setAttribute(\"value\",e),t.appendChild(r)})}e.BaseTooltip=x,e.default=O},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var i=n.length();if(t<i||e&&t===i&&(null==n.next||0!==n.next.length()))return[n,t];t-=i}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,i=this.find(t),o=t-i[1],l=this.iterator(i[0]);(r=l())&&o<t+e;){var u=r.length();t>o?n(r,t-o,Math.min(e,o+u-t)):n(r,0,Math.min(u,t+e-o)),o+=u}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}()},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(17),l=n(1),u={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0};e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,u),n.attach(),n}return i(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,i){this.update(),t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var i=[].slice.call(this.observer.takeRecords());i.length>0;)e.push(i.pop());for(var u=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[l.DATA_KEY].mutations&&(t.domNode[l.DATA_KEY].mutations=[]),e&&u(t.parent))},a=function(t){null!=t.domNode[l.DATA_KEY]&&null!=t.domNode[l.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(a),t.optimize(n))},s=e,c=0;s.length>0;c+=1){if(c>=100)throw new Error(\"[Parchment] Maximum optimize iterations reached\");for(s.forEach(function(t){var e=l.find(t.target,!0);null!=e&&(e.domNode===t.target&&(\"childList\"===t.type?(u(l.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=l.find(t,!1);u(e,!1),e instanceof o.default&&e.children.forEach(function(t){u(t,!1)})})):\"attributes\"===t.type&&u(e.prev)),u(e))}),this.children.forEach(a),i=(s=[].slice.call(this.observer.takeRecords())).slice();i.length>0;)e.push(i.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map(function(t){var e=l.find(t.target,!0);return null==e?null:null==e.domNode[l.DATA_KEY].mutations?(e.domNode[l.DATA_KEY].mutations=[t],e):(e.domNode[l.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[l.DATA_KEY]&&t.update(t.domNode[l.DATA_KEY].mutations||[],n)}),null!=this.domNode[l.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[l.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName=\"scroll\",e.defaultChild=\"block\",e.scope=l.Scope.BLOCK_BLOT,e.tagName=\"DIV\",e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(18),l=n(1);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var i=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),i.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,i){null!=this.formats()[r]||l.query(r,l.Scope.ATTRIBUTE)?this.isolate(e,n).format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof e&&i.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(r,i.formats())&&(i.moveChildren(this),i.remove())},e.blotName=\"inline\",e.scope=l.Scope.INLINE_BLOT,e.tagName=\"SPAN\",e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(18),l=n(1);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(n){var r=l.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=l.query(n,l.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,i){null!=l.query(r,l.Scope.BLOCK)?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=l.query(n,l.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var i=this.split(e),o=l.create(n,r);i.parent.insertBefore(o,i)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName=\"block\",e.scope=l.Scope.BLOCK_BLOT,e.tagName=\"P\",e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(19);e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,i){0===e&&n===this.length()?this.format(r,i):t.prototype.formatAt.call(this,e,n,r,i)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(o.default)},function(t,e,n){\"use strict\";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});Object.defineProperty(e,\"__esModule\",{value:!0});var o=n(19),l=n(1);e.default=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return i(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=l.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return\"characterData\"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName=\"text\",e.scope=l.Scope.INLINE_BLOT,e}(o.default)},function(t,e,n){\"use strict\";var r=document.createElement(\"div\");if(r.classList.toggle(\"test-class\",!1),r.classList.contains(\"test-class\")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:i.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return this.substr(e=e||0,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();(\"number\"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length);var r=n.indexOf(t,e-=t.length);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,\"find\",{value:function(t){if(null===this)throw new TypeError(\"Array.prototype.find called on null or undefined\");if(\"function\"!=typeof t)throw new TypeError(\"predicate must be a function\");for(var e,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(t.call(i,e=n[o],o,n))return e}}),document.addEventListener(\"DOMContentLoaded\",function(){document.execCommand(\"enableObjectResizing\",!1,!1),document.execCommand(\"autoUrlDetect\",!1,!1)})},function(t,e){var n=-1,r=1,i=0;function o(t,e,s){if(t==e)return t?[[i,t]]:[];(s<0||t.length<s)&&(s=null);var f=u(t,e),h=t.substring(0,f);f=a(t=t.substring(f),e=e.substring(f));var p=t.substring(t.length-f),d=function(t,e){var s;if(!t)return[[r,e]];if(!e)return[[n,t]];var c=t.length>e.length?t:e,f=t.length>e.length?e:t,h=c.indexOf(f);if(-1!=h)return s=[[r,c.substring(0,h)],[i,f],[r,c.substring(h+f.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==f.length)return[[n,t],[r,e]];var p=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function i(t,e,n){for(var r,i,o,l,s=t.substring(n,n+Math.floor(t.length/4)),c=-1,f=\"\";-1!=(c=e.indexOf(s,c+1));){var h=u(t.substring(n),e.substring(c)),p=a(t.substring(0,n),e.substring(0,c));f.length<p+h&&(f=e.substring(c-p,c)+e.substring(c,c+h),r=t.substring(0,n-p),i=t.substring(n+h),o=e.substring(0,c-p),l=e.substring(c+h))}return 2*f.length>=t.length?[r,i,o,l,f]:null}var o,l,s,c,f,h=i(n,r,Math.ceil(n.length/4)),p=i(n,r,Math.ceil(n.length/2));return h||p?(o=p?h&&h[4].length>p[4].length?h:p:h,t.length>e.length?(l=o[0],s=o[1],c=o[2],f=o[3]):(c=o[0],f=o[1],l=o[2],s=o[3]),[l,s,c,f,o[4]]):null}(t,e);if(p){var d=p[1],y=p[3],v=p[4],g=o(p[0],p[2]),b=o(d,y);return g.concat([[i,v]],b)}return function(t,e){for(var i=t.length,o=e.length,u=Math.ceil((i+o)/2),a=u,s=2*u,c=new Array(s),f=new Array(s),h=0;h<s;h++)c[h]=-1,f[h]=-1;c[a+1]=0,f[a+1]=0;for(var p=i-o,d=p%2!=0,y=0,v=0,g=0,b=0,m=0;m<u;m++){for(var _=-m+y;_<=m-v;_+=2){for(var w=a+_,O=(T=_==-m||_!=m&&c[w-1]<c[w+1]?c[w+1]:c[w-1]+1)-_;T<i&&O<o&&t.charAt(T)==e.charAt(O);)T++,O++;if(c[w]=T,T>i)v+=2;else if(O>o)y+=2;else if(d&&(E=a+p-_)>=0&&E<s&&-1!=f[E]){var x=i-f[E];if(T>=x)return l(t,e,T,O)}}for(var k=-m+g;k<=m-b;k+=2){for(var E=a+k,C=(x=k==-m||k!=m&&f[E-1]<f[E+1]?f[E+1]:f[E-1]+1)-k;x<i&&C<o&&t.charAt(i-x-1)==e.charAt(o-C-1);)x++,C++;if(f[E]=x,x>i)b+=2;else if(C>o)g+=2;else if(!d&&(w=a+p-k)>=0&&w<s&&-1!=c[w]){var T=c[w];if(O=a+T-w,T>=(x=i-x))return l(t,e,T,O)}}}return[[n,t],[r,e]]}(t,e)}(t=t.substring(0,t.length-f),e=e.substring(0,e.length-f));return h&&d.unshift([i,h]),p&&d.push([i,p]),function t(e){e.push([i,\"\"]);for(var o,l=0,s=0,c=0,f=\"\",h=\"\";l<e.length;)switch(e[l][0]){case r:c++,h+=e[l][1],l++;break;case n:s++,f+=e[l][1],l++;break;case i:s+c>1?(0!==s&&0!==c&&(0!==(o=u(h,f))&&(l-s-c>0&&e[l-s-c-1][0]==i?e[l-s-c-1][1]+=h.substring(0,o):(e.splice(0,0,[i,h.substring(0,o)]),l++),h=h.substring(o),f=f.substring(o)),0!==(o=a(h,f))&&(e[l][1]=h.substring(h.length-o)+e[l][1],h=h.substring(0,h.length-o),f=f.substring(0,f.length-o))),0===s?e.splice(l-c,s+c,[r,h]):0===c?e.splice(l-s,s+c,[n,f]):e.splice(l-s-c,s+c,[n,f],[r,h]),l=l-s-c+(s?1:0)+(c?1:0)+1):0!==l&&e[l-1][0]==i?(e[l-1][1]+=e[l][1],e.splice(l,1)):l++,c=0,s=0,f=\"\",h=\"\"}\"\"===e[e.length-1][1]&&e.pop();var p=!1;for(l=1;l<e.length-1;)e[l-1][0]==i&&e[l+1][0]==i&&(e[l][1].substring(e[l][1].length-e[l-1][1].length)==e[l-1][1]?(e[l][1]=e[l-1][1]+e[l][1].substring(0,e[l][1].length-e[l-1][1].length),e[l+1][1]=e[l-1][1]+e[l+1][1],e.splice(l-1,1),p=!0):e[l][1].substring(0,e[l+1][1].length)==e[l+1][1]&&(e[l-1][1]+=e[l+1][1],e[l][1]=e[l][1].substring(e[l+1][1].length)+e[l+1][1],e.splice(l+1,1),p=!0)),l++;p&&t(e)}(d),null!=s&&(d=function(t,e){var r=function(t,e){if(0===e)return[i,t];for(var r=0,o=0;o<t.length;o++){var l=t[o];if(l[0]===n||l[0]===i){var u=r+l[1].length;if(e===u)return[o+1,t];if(e<u){t=t.slice();var a=e-r,s=[l[0],l[1].slice(0,a)],c=[l[0],l[1].slice(a)];return t.splice(o,1,s,c),[o+1,t]}r=u}}throw new Error(\"cursor_pos is out of bounds!\")}(t,e),o=r[1],l=r[0],u=o[l],a=o[l+1];if(null==u)return t;if(u[0]!==i)return t;if(null!=a&&u[1]+a[1]===a[1]+u[1])return o.splice(l,2,a,u),c(o,l,2);if(null!=a&&0===a[1].indexOf(u[1])){o.splice(l,2,[a[0],u[1]],[0,u[1]]);var s=a[1].slice(u[1].length);return s.length>0&&o.splice(l+2,0,[a[0],s]),c(o,l,3)}return t}(d,s)),function(t){for(var e=!1,o=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},l=2;l<t.length;l+=1)t[l-2][0]===i&&(u=t[l-2][1]).charCodeAt(u.length-1)>=55296&&u.charCodeAt(u.length-1)<=56319&&t[l-1][0]===n&&o(t[l-1][1])&&t[l][0]===r&&o(t[l][1])&&(e=!0,t[l-1][1]=t[l-2][1].slice(-1)+t[l-1][1],t[l][1]=t[l-2][1].slice(-1)+t[l][1],t[l-2][1]=t[l-2][1].slice(0,-1));var u;if(!e)return t;var a=[];for(l=0;l<t.length;l+=1)t[l][1].length>0&&a.push(t[l]);return a}(d)}function l(t,e,n,r){var i=t.substring(0,n),l=e.substring(0,r),u=t.substring(n),a=e.substring(r),s=o(i,l),c=o(u,a);return s.concat(c)}function u(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(o,i)==e.substring(o,i)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}function a(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),i=r,o=0;n<i;)t.substring(t.length-i,t.length-o)==e.substring(e.length-i,e.length-o)?o=n=i:r=i,i=Math.floor((r-n)/2+n);return i}var s=o;function c(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1<t.length){var i=t[r],o=t[r+1];i[0]===o[1]&&t.splice(r,2,[i[0],i[1]+o[1]])}return t}s.INSERT=r,s.DELETE=n,s.EQUAL=i,t.exports=s},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports=\"function\"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n=\"[object Arguments]\"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return\"[object Arguments]\"==Object.prototype.toString.call(t)}function i(t){return t&&\"object\"==typeof t&&\"number\"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,\"callee\")&&!Object.prototype.propertyIsEnumerable.call(t,\"callee\")||!1}(e=t.exports=n?r:i).supported=r,e.unsupported=i},function(t,e){\"use strict\";var n=Object.prototype.hasOwnProperty,r=\"~\";function i(){}function o(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function l(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),l.prototype.eventNames=function(){var t,e,i=[];if(0===this._eventsCount)return i;for(e in t=this._events)n.call(t,e)&&i.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(t)):i},l.prototype.listeners=function(t,e){var n=this._events[r?r+t:t];if(e)return!!n;if(!n)return[];if(n.fn)return[n.fn];for(var i=0,o=n.length,l=new Array(o);i<o;i++)l[i]=n[i].fn;return l},l.prototype.emit=function(t,e,n,i,o,l){var u=r?r+t:t;if(!this._events[u])return!1;var a,s,c=this._events[u],f=arguments.length;if(c.fn){switch(c.once&&this.removeListener(t,c.fn,void 0,!0),f){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,e),!0;case 3:return c.fn.call(c.context,e,n),!0;case 4:return c.fn.call(c.context,e,n,i),!0;case 5:return c.fn.call(c.context,e,n,i,o),!0;case 6:return c.fn.call(c.context,e,n,i,o,l),!0}for(s=1,a=new Array(f-1);s<f;s++)a[s-1]=arguments[s];c.fn.apply(c.context,a)}else{var h,p=c.length;for(s=0;s<p;s++)switch(c[s].once&&this.removeListener(t,c[s].fn,void 0,!0),f){case 1:c[s].fn.call(c[s].context);break;case 2:c[s].fn.call(c[s].context,e);break;case 3:c[s].fn.call(c[s].context,e,n);break;case 4:c[s].fn.call(c[s].context,e,n,i);break;default:if(!a)for(h=1,a=new Array(f-1);h<f;h++)a[h-1]=arguments[h];c[s].fn.apply(c[s].context,a)}}return!0},l.prototype.on=function(t,e,n){var i=new o(e,n||this),l=r?r+t:t;return this._events[l]?this._events[l].fn?this._events[l]=[this._events[l],i]:this._events[l].push(i):(this._events[l]=i,this._eventsCount++),this},l.prototype.once=function(t,e,n){var i=new o(e,n||this,!0),l=r?r+t:t;return this._events[l]?this._events[l].fn?this._events[l]=[this._events[l],i]:this._events[l].push(i):(this._events[l]=i,this._eventsCount++),this},l.prototype.removeListener=function(t,e,n,o){var l=r?r+t:t;if(!this._events[l])return this;if(!e)return 0==--this._eventsCount?this._events=new i:delete this._events[l],this;var u=this._events[l];if(u.fn)u.fn!==e||o&&!u.once||n&&u.context!==n||(0==--this._eventsCount?this._events=new i:delete this._events[l]);else{for(var a=0,s=[],c=u.length;a<c;a++)(u[a].fn!==e||o&&!u[a].once||n&&u[a].context!==n)&&s.push(u[a]);s.length?this._events[l]=1===s.length?s[0]:s:0==--this._eventsCount?this._events=new i:delete this._events[l]}return this},l.prototype.removeAllListeners=function(t){var e;return t?this._events[e=r?r+t:t]&&(0==--this._eventsCount?this._events=new i:delete this._events[e]):(this._events=new i,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prototype.setMaxListeners=function(){return this},l.prefixed=r,l.EventEmitter=l,\"undefined\"!=typeof t&&(t.exports=l)},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=m(n(3)),u=m(n(2)),a=m(n(0)),s=m(n(5)),c=m(n(10)),f=m(n(9)),h=n(36),p=n(37),d=m(n(13)),y=n(26),v=n(38),g=n(39),b=n(40);function m(t){return t&&t.__esModule?t:{default:t}}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=(0,c.default)(\"quill:clipboard\"),O=\"__ql-matcher\",x=[[Node.TEXT_NODE,q],[Node.TEXT_NODE,D],[\"br\",function(t,e){return A(e,\"\\n\")||e.insert(\"\\n\"),e}],[Node.ELEMENT_NODE,D],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,M],[Node.ELEMENT_NODE,S],[Node.ELEMENT_NODE,function(t,e){var n={},r=t.style||{};return r.fontStyle&&\"italic\"===j(t).fontStyle&&(n.italic=!0),r.fontWeight&&(j(t).fontWeight.startsWith(\"bold\")||parseInt(j(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=T(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new u.default).insert(\"\\t\").concat(e)),e}],[\"li\",function(t,e){var n=a.default.query(t);if(null==n||\"list-item\"!==n.blotName||!A(e,\"\\n\"))return e;for(var r=-1,i=t.parentNode;!i.classList.contains(\"ql-clipboard\");)\"list\"===(a.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?e:e.compose((new u.default).retain(e.length()-1).retain(1,{indent:r}))}],[\"b\",R.bind(R,\"bold\")],[\"i\",R.bind(R,\"italic\")],[\"style\",function(){return new u.default}]],k=[h.AlignAttribute,v.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{}),E=[h.AlignStyle,p.BackgroundStyle,y.ColorStyle,v.DirectionStyle,g.FontStyle,b.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{}),C=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.root.addEventListener(\"paste\",r.onPaste.bind(r)),r.container=r.quill.addContainer(\"ql-clipboard\"),r.container.setAttribute(\"contenteditable\",!0),r.container.setAttribute(\"tabindex\",-1),r.matchers=[],x.concat(r.options.matchers).forEach(function(t){var e=i(t,2),o=e[1];(n.matchVisual||o!==M)&&r.addMatcher(e[0],o)}),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,f.default),o(e,[{key:\"addMatcher\",value:function(t,e){this.matchers.push([t,e])}},{key:\"convert\",value:function(t){if(\"string\"==typeof t)return this.container.innerHTML=t.replace(/\\>\\r?\\n +\\</g,\"><\"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[d.default.blotName]){var n=this.container.innerText;return this.container.innerHTML=\"\",(new u.default).insert(n,_({},d.default.blotName,e[d.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),l=function t(e,n,r){return e.nodeType===e.TEXT_NODE?r.reduce(function(t,n){return n(e,t)},new u.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],function(i,o){var l=t(o,n,r);return o.nodeType===e.ELEMENT_NODE&&(l=n.reduce(function(t,e){return e(o,t)},l),l=(o[O]||[]).reduce(function(t,e){return e(o,t)},l)),i.concat(l)},new u.default):new u.default}(this.container,o[0],o[1]);return A(l,\"\\n\")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new u.default).retain(l.length()-1).delete(1))),w.log(\"convert\",this.container.innerHTML,l),this.container.innerHTML=\"\",l}},{key:\"dangerouslyPasteHTML\",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.default.sources.API;if(\"string\"==typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,s.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new u.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),s.default.sources.SILENT)}}},{key:\"onPaste\",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new u.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(s.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,s.default.sources.USER),e.quill.setSelection(r.length()-n.length,s.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=i,e.quill.focus()},1)}}},{key:\"prepareMatching\",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var o=i(r,2),l=o[0],u=o[1];switch(l){case Node.TEXT_NODE:n.push(u);break;case Node.ELEMENT_NODE:e.push(u);break;default:[].forEach.call(t.container.querySelectorAll(l),function(t){t[O]=t[O]||[],t[O].push(u)})}}),[e,n]}}]),e}();function T(t,e,n){return\"object\"===(\"undefined\"==typeof e?\"undefined\":r(e))?Object.keys(e).reduce(function(t,n){return T(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,l.default)({},_({},e,n),r.attributes))},new u.default)}function j(t){return t.nodeType!==Node.ELEMENT_NODE?{}:t[\"__ql-computed-style\"]||(t[\"__ql-computed-style\"]=window.getComputedStyle(t))}function A(t,e){for(var n=\"\",r=t.ops.length-1;r>=0&&n.length<e.length;--r){var i=t.ops[r];if(\"string\"!=typeof i.insert)break;n=i.insert+n}return n.slice(-1*e.length)===e}function P(t){if(0===t.childNodes.length)return!1;var e=j(t);return[\"block\",\"list-item\"].indexOf(e.display)>-1}function R(t,e,n){return T(n,t,!0)}function S(t,e){var n=a.default.Attributor.Attribute.keys(t),r=a.default.Attributor.Class.keys(t),i=a.default.Attributor.Style.keys(t),o={};return n.concat(r).concat(i).forEach(function(e){var n=a.default.query(e,a.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(t),o[n.attrName])||(null==(n=k[e])||n.attrName!==e&&n.keyName!==e||(o[n.attrName]=n.value(t)||void 0),null==(n=E[e])||n.attrName!==e&&n.keyName!==e||(o[(n=E[e]).attrName]=n.value(t)||void 0))}),Object.keys(o).length>0&&(e=T(e,o)),e}function N(t,e){var n=a.default.query(t);if(null==n)return e;if(n.prototype instanceof a.default.Embed){var r={},i=n.value(t);null!=i&&(r[n.blotName]=i,e=(new u.default).insert(r,n.formats(t)))}else\"function\"==typeof n.formats&&(e=T(e,n.blotName,n.formats(t)));return e}function D(t,e){return A(e,\"\\n\")||(P(t)||e.length()>0&&t.nextSibling&&P(t.nextSibling))&&e.insert(\"\\n\"),e}function M(t,e){if(P(t)&&null!=t.nextElementSibling&&!A(e,\"\\n\\n\")){var n=t.offsetHeight+parseFloat(j(t).marginTop)+parseFloat(j(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert(\"\\n\")}return e}function q(t,e){var n=t.data;if(\"O:P\"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains(\"ql-clipboard\"))return e;if(!j(t.parentNode).whiteSpace.startsWith(\"pre\")){var r=function(t,e){return(e=e.replace(/[^\\u00a0]/g,\"\")).length<1&&t?\" \":e};n=(n=n.replace(/\\r\\n/g,\" \").replace(/\\n/g,\" \")).replace(/\\s\\s+/g,r.bind(r,!0)),(null==t.previousSibling&&P(t.parentNode)||null!=t.previousSibling&&P(t.previousSibling))&&(n=n.replace(/^\\s+/,r.bind(r,!1))),(null==t.nextSibling&&P(t.parentNode)||null!=t.nextSibling&&P(t.nextSibling))&&(n=n.replace(/\\s+\$/,r.bind(r,!1)))}return e.insert(n)}C.DEFAULTS={matchers:[],matchVisual:!0},e.default=C,e.matchAttributor=S,e.matchBlot=N,e.matchNewline=D,e.matchSpacing=M,e.matchText=q},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(6))&&r.__esModule?r:{default:r},u=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),i(e,[{key:\"optimize\",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:\"create\",value:function(){return o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this)}},{key:\"formats\",value:function(){return!0}}]),e}();u.blotName=\"bold\",u.tagName=[\"STRONG\",\"B\"],e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.addControls=e.default=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=c(n(2)),l=c(n(0)),u=c(n(5)),a=c(n(10)),s=c(n(9));function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}var h=(0,a.default)(\"quill:toolbar\"),p=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var i,o=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(o.options.container)){var l=document.createElement(\"div\");y(l,o.options.container),t.container.parentNode.insertBefore(l,t.container),o.container=l}else o.container=\"string\"==typeof o.options.container?document.querySelector(o.options.container):o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add(\"ql-toolbar\"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach(function(t){o.addHandler(t,o.options.handlers[t])}),[].forEach.call(o.container.querySelectorAll(\"button, select\"),function(t){o.attach(t)}),o.quill.on(u.default.events.EDITOR_CHANGE,function(t,e){t===u.default.events.SELECTION_CHANGE&&o.update(e)}),o.quill.on(u.default.events.SCROLL_OPTIMIZE,function(){var t=o.quill.selection.getRange(),e=r(t,1);o.update(e[0])}),o):(i=h.error(\"Container required for toolbar\",o.options),f(o,i))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.default),i(e,[{key:\"addHandler\",value:function(t,e){this.handlers[t]=e}},{key:\"attach\",value:function(t){var e=this,n=[].find.call(t.classList,function(t){return 0===t.indexOf(\"ql-\")});if(n){if(n=n.slice(\"ql-\".length),\"BUTTON\"===t.tagName&&t.setAttribute(\"type\",\"button\"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void h.warn(\"ignoring attaching to disabled format\",n,t);if(null==l.default.query(n))return void h.warn(\"ignoring attaching to nonexistent format\",n,t)}t.addEventListener(\"SELECT\"===t.tagName?\"change\":\"click\",function(i){var a=void 0;if(\"SELECT\"===t.tagName){if(t.selectedIndex<0)return;var s=t.options[t.selectedIndex];a=!s.hasAttribute(\"selected\")&&(s.value||!1)}else a=!t.classList.contains(\"ql-active\")&&(t.value||!t.hasAttribute(\"value\")),i.preventDefault();e.quill.focus();var c=e.quill.selection.getRange(),f=r(c,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,a);else if(l.default.query(n).prototype instanceof l.default.Embed){if(!(a=prompt(\"Enter \"+n)))return;e.quill.updateContents((new o.default).retain(f.index).delete(f.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,a)),u.default.sources.USER)}else e.quill.format(n,a,u.default.sources.USER);e.update(f)}),this.controls.push([n,t])}}},{key:\"update\",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(function(n){var i=r(n,2),o=i[0],l=i[1];if(\"SELECT\"===l.tagName){var u=void 0;if(null==t)u=null;else if(null==e[o])u=l.querySelector(\"option[selected]\");else if(!Array.isArray(e[o])){var a=e[o];\"string\"==typeof a&&(a=a.replace(/\\\"/g,'\\\\\"')),u=l.querySelector('option[value=\"'+a+'\"]')}null==u?(l.value=\"\",l.selectedIndex=-1):u.selected=!0}else if(null==t)l.classList.remove(\"ql-active\");else if(l.hasAttribute(\"value\")){var s=e[o]===l.getAttribute(\"value\")||null!=e[o]&&e[o].toString()===l.getAttribute(\"value\")||null==e[o]&&!l.getAttribute(\"value\");l.classList.toggle(\"ql-active\",s)}else l.classList.toggle(\"ql-active\",null!=e[o])})}}]),e}();function d(t,e,n){var r=document.createElement(\"button\");r.setAttribute(\"type\",\"button\"),r.classList.add(\"ql-\"+e),null!=n&&(r.value=n),t.appendChild(r)}function y(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement(\"span\");n.classList.add(\"ql-formats\"),e.forEach(function(t){if(\"string\"==typeof t)d(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?function(t,e,n){var r=document.createElement(\"select\");r.classList.add(\"ql-\"+e),n.forEach(function(t){var e=document.createElement(\"option\");!1!==t?e.setAttribute(\"value\",t):e.setAttribute(\"selected\",\"selected\"),r.appendChild(e)}),t.appendChild(r)}(n,e,r):d(n,e,r)}}),t.appendChild(n)})}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(e){null!=l.default.query(e,l.default.Scope.INLINE)&&t.quill.format(e,!1)})}else this.quill.removeFormat(e,u.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;\"rtl\"===t&&null==e?this.quill.format(\"align\",\"right\",u.default.sources.USER):t||\"right\"!==e||this.quill.format(\"align\",!1,u.default.sources.USER),this.quill.format(\"direction\",t,u.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if(\"+1\"===t||\"-1\"===t){var i=\"+1\"===t?1:-1;\"rtl\"===n.direction&&(i*=-1),this.quill.format(\"indent\",r+i,u.default.sources.USER)}},link:function(t){!0===t&&(t=prompt(\"Enter link URL:\")),this.quill.format(\"link\",t,u.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);this.quill.format(\"list\",\"check\"===t?\"checked\"!==n.list&&\"unchecked\"!==n.list&&\"unchecked\":t,u.default.sources.USER)}}},e.default=p,e.addControls=y},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polyline class=\"ql-even ql-stroke\" points=\"5 7 3 9 5 11\"></polyline> <polyline class=\"ql-even ql-stroke\" points=\"13 7 15 9 13 11\"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(28))&&r.__esModule?r:{default:r},u=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.label.innerHTML=n,r.container.classList.add(\"ql-color-picker\"),[].slice.call(r.container.querySelectorAll(\".ql-picker-item\"),0,7).forEach(function(t){t.classList.add(\"ql-primary\")}),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default),i(e,[{key:\"buildItem\",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"buildItem\",this).call(this,t);return n.style.backgroundColor=t.getAttribute(\"value\")||\"\",n}},{key:\"selectItem\",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"selectItem\",this).call(this,t,n);var r=this.label.querySelector(\".ql-color-label\"),i=t&&t.getAttribute(\"data-value\")||\"\";r&&(\"line\"===r.tagName?r.style.stroke=i:r.style.fill=i)}}]),e}();e.default=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(28))&&r.__esModule?r:{default:r},l=function(t){function e(t,n){!function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this);var r=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.container.classList.add(\"ql-icon-picker\"),[].forEach.call(r.container.querySelectorAll(\".ql-picker-item\"),function(t){t.innerHTML=n[t.getAttribute(\"data-value\")||\"\"]}),r.defaultItem=r.container.querySelector(\".ql-selected\"),r.selectItem(r.defaultItem),r}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),i(e,[{key:\"selectItem\",value:function(t,n){(function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0})(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"selectItem\",this).call(this,t,n),this.label.innerHTML=(t=t||this.defaultItem).innerHTML}}]),e}();e.default=l},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();e.default=function(){function t(e,n){var r=this;!function(e,n){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer(\"ql-tooltip\"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener(\"scroll\",function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+\"px\"}),this.hide()}return r(t,[{key:\"hide\",value:function(){this.root.classList.add(\"ql-hidden\")}},{key:\"position\",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+\"px\",this.root.style.top=n+\"px\",this.root.classList.remove(\"ql-flip\");var r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect(),o=0;return i.right>r.right&&(this.root.style.left=e+(o=r.right-i.right)+\"px\"),i.left<r.left&&(this.root.style.left=e+(o=r.left-i.left)+\"px\"),i.bottom>r.bottom&&(this.root.style.top=n-(t.bottom-t.top+(i.bottom-i.top))+\"px\",this.root.classList.add(\"ql-flip\")),o}},{key:\"show\",value:function(){this.root.classList.remove(\"ql-editing\"),this.root.classList.remove(\"ql-hidden\")}}]),t}()},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=h(n(3)),l=h(n(8)),u=n(43),a=h(u),s=h(n(27)),c=n(15),f=h(n(41));function h(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function d(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function y(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[[{header:[\"1\",\"2\",\"3\",!1]}],[\"bold\",\"italic\",\"underline\",\"link\"],[{list:\"ordered\"},{list:\"bullet\"}],[\"clean\"]],g=function(t){function e(t,n){p(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add(\"ql-snow\"),r}return y(e,a.default),i(e,[{key:\"extendToolbar\",value:function(t){t.container.classList.add(\"ql-snow\"),this.buildButtons([].slice.call(t.container.querySelectorAll(\"button\")),f.default),this.buildPickers([].slice.call(t.container.querySelectorAll(\"select\")),f.default),this.tooltip=new b(this.quill,this.options.bounds),t.container.querySelector(\".ql-link\")&&this.quill.keyboard.addBinding({key:\"K\",shortKey:!0},function(e,n){t.handlers.link.call(t,!n.format.link)})}}]),e}();g.DEFAULTS=(0,o.default)(!0,{},a.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\\S+@\\S+\\.\\S+\$/.test(n)&&0!==n.indexOf(\"mailto:\")&&(n=\"mailto:\"+n),this.quill.theme.tooltip.edit(\"link\",n)}else this.quill.format(\"link\",!1)}}}}});var b=function(t){function e(t,n){p(this,e);var r=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector(\"a.ql-preview\"),r}return y(e,u.BaseTooltip),i(e,[{key:\"listen\",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"listen\",this).call(this),this.root.querySelector(\"a.ql-action\").addEventListener(\"click\",function(e){t.root.classList.contains(\"ql-editing\")?t.save():t.edit(\"link\",t.preview.textContent),e.preventDefault()}),this.root.querySelector(\"a.ql-remove\").addEventListener(\"click\",function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,\"link\",!1,l.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()}),this.quill.on(l.default.events.SELECTION_CHANGE,function(e,n,r){if(null!=e){if(0===e.length&&r===l.default.sources.USER){var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var l,u=t[Symbol.iterator]();!(r=(l=u.next()).done)&&(n.push(l.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}(t.quill.scroll.descendant(s.default,e.index),2),o=i[0];if(null!=o){t.linkRange=new c.Range(e.index-i[1],o.length());var u=s.default.formats(o.domNode);return t.preview.textContent=u,t.preview.setAttribute(\"href\",u),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}})}},{key:\"show\",value:function(){r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"show\",this).call(this),this.root.removeAttribute(\"data-mode\")}}]),e}();b.TEMPLATE=['<a class=\"ql-preview\" target=\"_blank\" href=\"about:blank\"></a>','<input type=\"text\" data-formula=\"e=mc^2\" data-link=\"https://quilljs.com\" data-video=\"Embed URL\">','<a class=\"ql-action\"></a>','<a class=\"ql-remove\"></a>'].join(\"\"),e.default=g},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=M(n(29)),i=n(36),o=n(38),l=n(64),u=M(n(65)),a=M(n(66)),s=n(67),c=M(s),f=n(37),h=n(26),p=n(39),d=n(40),y=M(n(56)),v=M(n(68)),g=M(n(27)),b=M(n(69)),m=M(n(70)),_=M(n(71)),w=M(n(72)),O=M(n(73)),x=n(13),k=M(x),E=M(n(74)),C=M(n(75)),T=M(n(57)),j=M(n(41)),A=M(n(28)),P=M(n(59)),R=M(n(60)),S=M(n(61)),N=M(n(108)),D=M(n(62));function M(t){return t&&t.__esModule?t:{default:t}}r.default.register({\"attributors/attribute/direction\":o.DirectionAttribute,\"attributors/class/align\":i.AlignClass,\"attributors/class/background\":f.BackgroundClass,\"attributors/class/color\":h.ColorClass,\"attributors/class/direction\":o.DirectionClass,\"attributors/class/font\":p.FontClass,\"attributors/class/size\":d.SizeClass,\"attributors/style/align\":i.AlignStyle,\"attributors/style/background\":f.BackgroundStyle,\"attributors/style/color\":h.ColorStyle,\"attributors/style/direction\":o.DirectionStyle,\"attributors/style/font\":p.FontStyle,\"attributors/style/size\":d.SizeStyle},!0),r.default.register({\"formats/align\":i.AlignClass,\"formats/direction\":o.DirectionClass,\"formats/indent\":l.IndentClass,\"formats/background\":f.BackgroundStyle,\"formats/color\":h.ColorStyle,\"formats/font\":p.FontClass,\"formats/size\":d.SizeClass,\"formats/blockquote\":u.default,\"formats/code-block\":k.default,\"formats/header\":a.default,\"formats/list\":c.default,\"formats/bold\":y.default,\"formats/code\":x.Code,\"formats/italic\":v.default,\"formats/link\":g.default,\"formats/script\":b.default,\"formats/strike\":m.default,\"formats/underline\":_.default,\"formats/image\":w.default,\"formats/video\":O.default,\"formats/list/item\":s.ListItem,\"modules/formula\":E.default,\"modules/syntax\":C.default,\"modules/toolbar\":T.default,\"themes/bubble\":N.default,\"themes/snow\":D.default,\"ui/icons\":j.default,\"ui/picker\":A.default,\"ui/icon-picker\":R.default,\"ui/color-picker\":P.default,\"ui/tooltip\":S.default},!0),e.default=r.default},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.IndentClass=void 0;var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(0))&&r.__esModule?r:{default:r},u=new(function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Attributor.Class),i(e,[{key:\"add\",value:function(t,n){if(\"+1\"===n||\"-1\"===n){var r=this.value(t)||0;n=\"+1\"===n?r+1:r-1}return 0===n?(this.remove(t),!0):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"add\",this).call(this,t,n)}},{key:\"canAdd\",value:function(t,n){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"canAdd\",this).call(this,t,n)||o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"canAdd\",this).call(this,t,parseInt(n))}},{key:\"value\",value:function(t){return parseInt(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"value\",this).call(this,t))||void 0}}]),e}())(\"indent\",\"ql-indent\",{scope:l.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=u},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(4))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"blockquote\",o.tagName=\"blockquote\",e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(4))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),i(e,null,[{key:\"formats\",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}();l.blotName=\"header\",l.tagName=[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"],e.default=l},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.ListItem=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},o=a(n(0)),l=a(n(4)),u=a(n(25));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function c(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function f(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,l.default),r(e,[{key:\"format\",value:function(t,n){t!==p.blotName||n?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n):this.replaceWith(o.default.create(this.statics.scope))}},{key:\"remove\",value:function(){null==this.prev&&null==this.next?this.parent.remove():i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"remove\",this).call(this)}},{key:\"replaceWith\",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replaceWith\",this).call(this,t,n))}}],[{key:\"formats\",value:function(t){return t.tagName===this.tagName?void 0:i(e.__proto__||Object.getPrototypeOf(e),\"formats\",this).call(this,t)}}]),e}();h.blotName=\"list-item\",h.tagName=\"LI\";var p=function(t){function e(t){s(this,e);var n=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),i=o.default.find(e.target);\"checked\"===r?i.format(\"list\",\"unchecked\"):\"unchecked\"===r&&i.format(\"list\",\"checked\")}};return t.addEventListener(\"touchstart\",r),t.addEventListener(\"mousedown\",r),n}return f(e,u.default),r(e,null,[{key:\"create\",value:function(t){var n=\"ordered\"===t?\"OL\":\"UL\",r=i(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,n);return\"checked\"!==t&&\"unchecked\"!==t||r.setAttribute(\"data-checked\",\"checked\"===t),r}},{key:\"formats\",value:function(t){return\"OL\"===t.tagName?\"ordered\":\"UL\"===t.tagName?t.hasAttribute(\"data-checked\")?\"true\"===t.getAttribute(\"data-checked\")?\"checked\":\"unchecked\":\"bullet\":void 0}}]),r(e,[{key:\"format\",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:\"formats\",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:\"insertBefore\",value:function(t,n){if(t instanceof h)i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"insertBefore\",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(t,o)}}},{key:\"optimize\",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"optimize\",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute(\"data-checked\")===this.domNode.getAttribute(\"data-checked\")&&(n.moveChildren(this),n.remove())}},{key:\"replace\",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=o.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replace\",this).call(this,t)}}]),e}();p.blotName=\"list\",p.scope=o.default.Scope.BLOCK_BLOT,p.tagName=[\"OL\",\"UL\"],p.defaultChild=\"list-item\",p.allowedChildren=[h],e.ListItem=h,e.default=p},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(56))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"italic\",o.tagName=[\"EM\",\"I\"],e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=(r=n(6))&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),i(e,null,[{key:\"create\",value:function(t){return\"super\"===t?document.createElement(\"sup\"):\"sub\"===t?document.createElement(\"sub\"):function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t)}},{key:\"formats\",value:function(t){return\"SUB\"===t.tagName?\"sub\":\"SUP\"===t.tagName?\"super\":void 0}}]),e}();l.blotName=\"script\",l.tagName=[\"SUB\",\"SUP\"],e.default=l},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"strike\",o.tagName=\"S\",e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=(r=n(6))&&r.__esModule?r:{default:r},o=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),e}();o.blotName=\"underline\",o.tagName=\"U\",e.default=o},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=(r=n(0))&&r.__esModule?r:{default:r},u=n(27),a=[\"alt\",\"height\",\"width\"],s=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.default.Embed),i(e,[{key:\"format\",value:function(t,n){a.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n)}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return\"string\"==typeof t&&n.setAttribute(\"src\",this.sanitize(t)),n}},{key:\"formats\",value:function(t){return a.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:\"match\",value:function(t){return/\\.(jpe?g|gif|png)\$/.test(t)||/^data:image\\/.+;base64/.test(t)}},{key:\"sanitize\",value:function(t){return(0,u.sanitize)(t,[\"http\",\"https\",\"data\"])?t:\"//:0\"}},{key:\"value\",value:function(t){return t.getAttribute(\"src\")}}]),e}();s.blotName=\"image\",s.tagName=\"IMG\",e.default=s},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},l=n(4),u=(r=n(27))&&r.__esModule?r:{default:r},a=[\"height\",\"width\"],s=function(t){function e(){return function(t,n){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this),function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,l.BlockEmbed),i(e,[{key:\"format\",value:function(t,n){a.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"format\",this).call(this,t,n)}}],[{key:\"create\",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return n.setAttribute(\"frameborder\",\"0\"),n.setAttribute(\"allowfullscreen\",!0),n.setAttribute(\"src\",this.sanitize(t)),n}},{key:\"formats\",value:function(t){return a.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:\"sanitize\",value:function(t){return u.default.sanitize(t)}},{key:\"value\",value:function(t){return t.getAttribute(\"src\")}}]),e}();s.blotName=\"video\",s.className=\"ql-video\",s.tagName=\"IFRAME\",e.default=s},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.FormulaBlot=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=u(n(35)),o=u(n(5)),l=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}function a(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function s(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function c(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(){return a(this,e),s(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return c(e,i.default),r(e,null,[{key:\"create\",value:function(t){var n=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.__proto__||Object.getPrototypeOf(e),\"create\",this).call(this,t);return\"string\"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:\"#f00\"}),n.setAttribute(\"data-value\",t)),n}},{key:\"value\",value:function(t){return t.getAttribute(\"data-value\")}}]),e}();f.blotName=\"formula\",f.className=\"ql-formula\",f.tagName=\"SPAN\";var h=function(t){function e(){a(this,e);var t=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error(\"Formula module requires KaTeX.\");return t}return c(e,l.default),r(e,null,[{key:\"register\",value:function(){o.default.register(f,!0)}}]),e}();e.FormulaBlot=f,e.default=h},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=a(n(0)),o=a(n(5)),l=a(n(9)),u=a(n(13));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function c(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function f(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return s(this,e),c(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return f(e,u.default),r(e,[{key:\"replaceWith\",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0}(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"replaceWith\",this).call(this,t)}},{key:\"highlight\",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}();h.className=\"ql-syntax\";var p=new i.default.Attributor.Class(\"token\",\"hljs\",{scope:i.default.Scope.INLINE}),d=function(t){function e(t,n){s(this,e);var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(\"function\"!=typeof r.options.highlight)throw new Error(\"Syntax module requires highlight.js. Please include the library on the page before Quill.\");var i=null;return r.quill.on(o.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(i),i=setTimeout(function(){r.highlight(),i=null},r.options.interval)}),r.highlight(),r}return f(e,l.default),r(e,null,[{key:\"register\",value:function(){o.default.register(p,!0),o.default.register(h,!0)}}]),r(e,[{key:\"highlight\",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(o.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(h).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(o.default.sources.SILENT),null!=e&&this.quill.setSelection(e,o.default.sources.SILENT)}}}]),e}();d.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=h,e.CodeToken=p,e.default=d},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <g class=\"ql-fill ql-color-label\"> <polygon points=\"6 6.868 6 6 5 6 5 7 5.942 7 6 6.868\"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points=\"6.817 5 6 5 6 6 6.38 6 6.817 5\"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points=\"4 11.439 4 11 3 11 3 12 3.755 12 4 11.439\"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points=\"4.63 10 4 10 4 11 4.192 11 4.63 10\"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points=\"13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174\"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points=\"12 6.868 12 6 11.62 6 12 6.868\"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points=\"12.933 9 13 9 13 8 12.495 8 12.933 9\"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points=\"5.5 13 9 5 12.5 13\"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <rect class=\"ql-fill ql-stroke\" height=3 width=3 x=4 y=5></rect> <rect class=\"ql-fill ql-stroke\" height=3 width=3 x=11 y=5></rect> <path class=\"ql-even ql-fill ql-stroke\" d=M7,8c0,4.031-3,5-3,5></path> <path class=\"ql-even ql-fill ql-stroke\" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class=\"\" viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=\"ql-color-label ql-stroke ql-transparent\" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points=\"5.5 11 9 3 12.5 11\"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polygon class=\"ql-stroke ql-fill\" points=\"3 11 5 9 3 7 3 11\"></polygon> <line class=\"ql-stroke ql-fill\" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polygon class=\"ql-stroke ql-fill\" points=\"15 12 13 10 15 8 15 12\"></polygon> <line class=\"ql-stroke ql-fill\" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform=\"translate(24 18) rotate(-180)\"/> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox=\"0 0 18 18\"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox=\"0 0 18 18\"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class=\"ql-even ql-fill\" points=\"5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=\"ql-fill ql-stroke\" points=\"3 7 3 11 5 9 3 7\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points=\"5 7 5 11 3 9 5 7\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class=\"ql-even ql-stroke\" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class=\"ql-even ql-stroke\" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class=\"ql-stroke ql-thin\" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class=\"ql-stroke ql-thin\" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class=\"ql-stroke ql-thin\" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class=\"\" viewbox=\"0 0 18 18\"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points=\"3 4 4 5 6 3\"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points=\"3 14 4 15 6 13\"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points=\"3 9 4 10 6 8\"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <line class=\"ql-stroke ql-thin\" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox=\"0 0 18 18\"> <polygon class=ql-stroke points=\"7 11 9 13 11 11 7 11\"></polygon> <polygon class=ql-stroke points=\"7 7 9 5 11 7 7 7\"></polygon> </svg>'},function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0}),e.default=e.BubbleTooltip=void 0;var r=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,n,r)}if(\"value\"in i)return i.value;var l=i.get;return void 0!==l?l.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=f(n(3)),l=f(n(8)),u=n(43),a=f(u),s=n(15),c=f(n(41));function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}function p(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e}function d(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[[\"bold\",\"italic\",\"link\"],[{header:1},{header:2},\"blockquote\"]],v=function(t){function e(t,n){h(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=y);var r=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add(\"ql-bubble\"),r}return d(e,a.default),i(e,[{key:\"extendToolbar\",value:function(t){this.tooltip=new g(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll(\"button\")),c.default),this.buildPickers([].slice.call(t.container.querySelectorAll(\"select\")),c.default)}}]),e}();v.DEFAULTS=(0,o.default)(!0,{},a.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format(\"link\",!1)}}}}});var g=function(t){function e(t,n){h(this,e);var r=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(l.default.events.EDITOR_CHANGE,function(t,e,n,i){if(t===l.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&i===l.default.sources.USER){r.show(),r.root.style.left=\"0px\",r.root.style.width=\"\",r.root.style.width=r.root.offsetWidth+\"px\";var o=r.quill.getLines(e.index,e.length);if(1===o.length)r.position(r.quill.getBounds(e));else{var u=o[o.length-1],a=r.quill.getIndex(u),c=Math.min(u.length()-1,e.index+e.length-a),f=r.quill.getBounds(new s.Range(a,c));r.position(f)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return d(e,u.BaseTooltip),i(e,[{key:\"listen\",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"listen\",this).call(this),this.root.querySelector(\".ql-close\").addEventListener(\"click\",function(){t.root.classList.remove(\"ql-editing\")}),this.quill.on(l.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains(\"ql-hidden\")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:\"cancel\",value:function(){this.show()}},{key:\"position\",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),\"position\",this).call(this,t),i=this.root.querySelector(\".ql-tooltip-arrow\");if(i.style.marginLeft=\"\",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+\"px\"}}]),e}();g.TEMPLATE=['<span class=\"ql-tooltip-arrow\"></span>','<div class=\"ql-tooltip-editor\">','<input type=\"text\" data-formula=\"e=mc^2\" data-link=\"https://quilljs.com\" data-video=\"Embed URL\">','<a class=\"ql-close\"></a>',\"</div>\"].join(\"\"),e.BubbleTooltip=g,e.default=v},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()}).call(e,n(\"63KW\").Buffer)}});", "@public_path/dist/0.2bf35b2cad2008573fe3.chunk.js", "/builds/dev/refonte_sav/public/dist/0.2bf35b2cad2008573fe3.chunk.js");
    }
}
