Channel Apps
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:e,popperConfig:null},Lo={HIDE:"hide".concat(yt),HIDDEN:"hidden".concat(yt),SHOW:"show".concat(yt),SHOWN:"shown".concat(yt),INSERTED:"inserted".concat(yt),CLICK:"click".concat(yt),FOCUSIN:"focusin".concat(yt),FOCUSOUT:"focusout".concat(yt),MOUSEENTER:"mouseenter".concat(yt),MOUSELEAVE:"mouseleave".concat(yt)},Io="fade";const ko="show",Do="show",No=".tooltip-inner",jo=".".concat("modal"),Po="hide.bs.modal",Mo="hover",Ho="focus";class Ro extends bt{constructor(t,e){if(void 0===i)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(e),this.tip=null,this._setListeners()}static get Default(){return So}static get NAME(){return Co}static get Event(){return Lo}static get DefaultType(){return Oo}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else this.getTipElement().classList.contains(ko)?this._leave(null,this):this._enter(null,this)}dispose(){clearTimeout(this._timeout),pt.off(this._element.closest(jo),Po,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var t=pt.trigger(this._element,this.constructor.Event.SHOW);const n=U(this._element);var e=(null===n?this._element.ownerDocument.documentElement:n).contains(this._element);if(!t.defaultPrevented&&e){"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(No).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const i=this.getTipElement();e=(t=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t})(this.constructor.NAME);i.setAttribute("id",e),this._element.setAttribute("aria-describedby",e),this._config.animation&&i.classList.add(Io);e="function"==typeof this._config.placement?this._config.placement.call(this,i,this._element):this._config.placement,e=this._getAttachment(e);this._addAttachmentClass(e);const o=this._config["container"];mt(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(o.append(i),pt.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=vo(this._element,i,this._getPopperConfig(e)),i.classList.add(ko);const r=this._resolvePossibleFunction(this._config.customClass);r&&i.classList.add(...r.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>{pt.on(t,"mouseover",q)});e=this.tip.classList.contains(Io);this._queueCallback(()=>{var t=this._hoverState;this._hoverState=null,pt.trigger(this._element,this.constructor.Event.SHOWN),"out"===t&&this._leave(null,this)},this.tip,e)}}}hide(){if(this._popper){const e=this.getTipElement();var t;pt.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented||(e.classList.remove(ko),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>pt.off(t,"mouseover",q)),this._activeTrigger.click=!1,this._activeTrigger[Ho]=!1,this._activeTrigger[Mo]=!1,t=this.tip.classList.contains(Io),this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Do&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),pt.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,t),this._hoverState="")}}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const t=document.createElement("div");t.innerHTML=this._config.template;const e=t.children[0];return this.setContent(e),e.classList.remove(Io,ko),this.tip=e,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),No)}_sanitizeAndSetContent(t,e,n){const i=Wt.findOne(n,t);e||!i?this.setElementContent(i,e):i.remove()}setElementContent(t,e){if(null!==t)return H(e)?(e=R(e),void(this._config.html?e.parentNode!==t&&(t.innerHTML="",t.append(e)):t.textContent=e.textContent)):void(this._config.html?(this._config.sanitize&&(e=xo(e,this._config.allowList,this._config.sanitizeFn)),t.innerHTML=e):t.textContent=e)}getTitle(){var t=this._element.getAttribute("data-mdb-original-title")||this._config.title;return this._resolvePossibleFunction(t)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const e=this._config["offset"];return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(t){return"function"==typeof t?t.call(this._element):t}_getPopperConfig(t){t={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:t=>this._handlePopperPlacementChange(t)}],onFirstUpdate:t=>{t.options.placement!==t.placement&&this._handlePopperPlacementChange(t)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add("".concat(this._getBasicClassPrefix(),"-").concat(this.updateAttachment(t)))}_getAttachment(t){return Ao[t.toUpperCase()]}_setListeners(){const t=this._config.trigger.split(" ");t.forEach(t=>{var e;"click"===t?pt.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t)):"manual"!==t&&(e=t===Mo?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,t=t===Mo?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,pt.on(this._element,e,this._config.selector,t=>this._enter(t)),pt.on(this._element,t,this._config.selector,t=>this._leave(t)))}),this._hideModalHandler=()=>{this._element&&this.hide()},pt.on(this._element.closest(jo),Po,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){var t=this._element.getAttribute("title"),e=typeof this._element.getAttribute("data-mdb-original-title");!t&&"string"==e||(this._element.setAttribute("data-mdb-original-title",t||""),!t||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",t),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?Ho:Mo]=!0),e.getTipElement().classList.contains(ko)||e._hoverState===Do?e._hoverState=Do:(clearTimeout(e._timeout),e._hoverState=Do,e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===Do&&e.show()},e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?Ho:Mo]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{"out"===e._hoverState&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=Bt.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{To.has(t)&&delete e[t]}),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:R(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),B(Co,t,this.constructor.DefaultType),t.sanitize&&(t.template=xo(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const e=this.getTipElement();var t=new RegExp("(^|\\s)".concat(this._getBasicClassPrefix(),"\\S+"),"g");const n=e.getAttribute("class").match(t);null!==n&&0t.trim()).forEach(t=>e.classList.remove(t))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){t=t.state;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=Ro.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}K(Ro);Et=Ro;e=".".concat("bs.popover");const Bo={...Et.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'

'},Wo={...Et.DefaultType,content:"(string|element|function)"},Fo={HIDE:"hide".concat(e),HIDDEN:"hidden".concat(e),SHOW:"show".concat(e),SHOWN:"shown".concat(e),INSERTED:"inserted".concat(e),CLICK:"click".concat(e),FOCUSIN:"focusin".concat(e),FOCUSOUT:"focusout".concat(e),MOUSEENTER:"mouseenter".concat(e),MOUSELEAVE:"mouseleave".concat(e)};class Uo extends Et{static get Default(){return Bo}static get NAME(){return"popover"}static get Event(){return Fo}static get DefaultType(){return Wo}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each(function(){const t=Uo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}K(Uo);yt=Uo;const qo="popover";e="mdb.".concat(qo),e=".".concat(e);const zo="show.bs.popover",Qo="shown.bs.popover",Vo="hide.bs.popover",Yo="hidden.bs.popover",Ko="inserted.bs.popover",Xo="show".concat(e),Go="shown".concat(e),$o="hide".concat(e),Zo="hidden".concat(e),Jo="inserted".concat(e);class tr extends yt{constructor(t,e){super(t,e),this._init()}dispose(){O.off(this.element,zo),O.off(this.element,Qo),O.off(this.element,Vo),O.off(this.element,Yo),O.off(this.element,Ko),super.dispose()}static get NAME(){return qo}_init(){this._bindShowEvent(),this._bindShownEvent(),this._bindHideEvent(),this._bindHiddenEvent(),this._bindInsertedEvent()}_bindShowEvent(){O.on(this.element,zo,()=>{O.trigger(this.element,Xo)})}_bindShownEvent(){O.on(this.element,Qo,()=>{O.trigger(this.element,Go)})}_bindHideEvent(){O.on(this.element,Vo,()=>{O.trigger(this.element,$o)})}_bindHiddenEvent(){O.on(this.element,Yo,()=>{O.trigger(this.element,Zo)})}_bindInsertedEvent(){O.on(this.element,Ko,()=>{O.trigger(this.element,Jo)})}}I.find('[data-mdb-toggle="popover"]').forEach(t=>{var e=tr.getInstance(t);e||new tr(t)}),a(()=>{const t=s();if(t){const e=t.fn[qo];t.fn[qo]=tr.jQueryInterface,t.fn[qo].Constructor=tr,t.fn[qo].noConflict=()=>(t.fn[qo]=e,tr.jQueryInterface)}});var er=tr;n(104);const nr="scrollspy";const ir=".".concat("bs.scrollspy");const or={offset:10,method:"auto",target:""},rr={offset:"number",method:"string",target:"(string|element)"},sr="activate".concat(ir),ar="scroll".concat(ir);"load".concat(ir).concat(".data-api");const cr="dropdown-item",lr="active";const ur=".nav-link",hr=".list-group-item",dr="".concat(ur,", ").concat(hr,", .").concat(cr),fr="position";class pr extends bt{constructor(t,e){super(t),j(t)&&(this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(e),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,pt.on(this._scrollElement,ar,()=>this._process()),this.refresh(),this._process())}static get Default(){return or}static get NAME(){return nr}refresh(){var t=this._scrollElement===this._scrollElement.window?"offset":fr;const i="auto"===this._config.method?t:this._config.method,o=i===fr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();const e=Wt.find(dr,this._config.target);e.map(t=>{var e=j(t);const n=e?Wt.findOne(e):null;if(n){t=n.getBoundingClientRect();if(t.width||t.height)return[Bt[i](n).top+o,e]}return null}).filter(t=>t).sort((t,e)=>t[0]-e[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){pt.off(this._scrollElement,ir),super.dispose()}_getConfig(t){return(t={...or,...Bt.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=R(t.target)||document.documentElement,B(nr,t,rr),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),n<=e){n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&e=this._offsets[t]&&(void 0===this._offsets[t+1]||e"".concat(t,'[data-mdb-target="').concat(e,'"],').concat(t,'[href="').concat(e,'"]')),n=Wt.findOne(t.join(","),this._config.target);n.classList.add(lr),n.classList.contains(cr)?Wt.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(lr):Wt.parents(n,".nav, .list-group").forEach(t=>{Wt.prev(t,"".concat(ur,", ").concat(hr)).forEach(t=>t.classList.add(lr)),Wt.prev(t,".nav-item").forEach(t=>{Wt.children(t,ur).forEach(t=>t.classList.add(lr))})}),pt.trigger(this._scrollElement,sr,{relatedTarget:e})}_clear(){Wt.find(dr,this._config.target).filter(t=>t.classList.contains(lr)).forEach(t=>t.classList.remove(lr))}static jQueryInterface(e){return this.each(function(){const t=pr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}K(pr);e=pr;const gr="scrollspy";yt="mdb.".concat(gr),yt=".".concat(yt);const mr="activate.bs.scrollspy",_r="activate".concat(yt);yt="load".concat(yt).concat(".data-api");const vr="collapsible-scrollspy";const br=".".concat("active"),yr=".".concat(vr);class wr extends e{constructor(t,e){super(t,e),this._collapsibles=[],this._init()}dispose(){O.off(this._scrollElement,mr),super.dispose()}static get NAME(){return gr}_init(){this._bindActivateEvent(),this._getCollapsibles(),0!==this._collapsibles.length&&(this._showSubsection(),this._hideSubsection())}_getHeight(t){return t.offsetHeight}_hide(t){const e=I.findOne("ul",t.parentNode);e.style.overflow="hidden",e.style.height="".concat(0,"px")}_show(t,e){t.style.height=e}_getCollapsibles(){const t=I.find(yr);t&&t.forEach(t=>{var e=t.parentNode,n=I.findOne("ul",e),e=n.offsetHeight;this._collapsibles.push({element:n,relatedTarget:t.getAttribute("href"),height:"".concat(e,"px")})})}_showSubsection(){const t=I.find(br),e=t.filter(t=>L.hasClass(t,vr));e.forEach(e=>{var t=I.findOne("ul",e.parentNode),n=this._collapsibles.find(t=>t.relatedTarget=e.getAttribute("href")).height;this._show(t,n)})}_hideSubsection(){const t=I.find(yr).filter(t=>!1===L.hasClass(t,"active"));t.forEach(t=>{this._hide(t)})}_bindActivateEvent(){O.on(this._scrollElement,mr,t=>{this._showSubsection(),this._hideSubsection(),O.trigger(this._scrollElement,_r,{relatedTarget:t.relatedTarget})})}}O.on(window,yt,()=>{I.find('[data-mdb-spy="scroll"]').forEach(t=>{var e=wr.getInstance(t);e||new wr(t,L.getDataAttributes(t))})}),a(()=>{const t=s();if(t){const e=t.fn[gr];t.fn[gr]=wr.jQueryInterface,t.fn[gr].Constructor=wr,t.fn[gr].noConflict=()=>(t.fn[gr]=e,wr.jQueryInterface)}});var Er=wr;e=".".concat("bs.tab");const xr="hide".concat(e),Cr="hidden".concat(e),Tr="show".concat(e),Or="shown".concat(e);yt="click".concat(e).concat(".data-api");const Ar="active",Sr=".active",Lr=":scope > li > .active";class Ir extends bt{static get NAME(){return"tab"}show(){if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains(Ar)){let t;var e=P(this._element),n=this._element.closest(".nav, .list-group");n&&(i="UL"===n.nodeName||"OL"===n.nodeName?Lr:Sr,t=Wt.find(i,n),t=t[t.length-1]);var i=t?pt.trigger(t,xr,{relatedTarget:this._element}):null;pt.trigger(this._element,Tr,{relatedTarget:t}).defaultPrevented||null!==i&&i.defaultPrevented||(this._activate(this._element,n),n=()=>{pt.trigger(t,Cr,{relatedTarget:this._element}),pt.trigger(this._element,Or,{relatedTarget:t})},e?this._activate(e,e.parentNode,n):n())}}_activate(t,e,n){const i=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?Wt.children(e,Sr):Wt.find(Lr,e))[0];var o=n&&i&&i.classList.contains("fade"),e=()=>this._transitionComplete(t,i,n);i&&o?(i.classList.remove("show"),this._queueCallback(e,t,!0)):e()}_transitionComplete(t,e,n){if(e){e.classList.remove(Ar);const o=Wt.findOne(":scope > .dropdown-menu .active",e.parentNode);o&&o.classList.remove(Ar),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}t.classList.add(Ar),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),z(t),t.classList.contains("fade")&&t.classList.add("show");let i=t.parentNode;i&&"LI"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains("dropdown-menu")&&((e=t.closest(".dropdown"))&&Wt.find(".dropdown-toggle",e).forEach(t=>t.classList.add(Ar)),t.setAttribute("aria-expanded",!0)),n&&n()}static jQueryInterface(e){return this.each(function(){const t=Ir.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}}pt.on(document,yt,'[data-mdb-toggle="tab"], [data-mdb-toggle="pill"], [data-mdb-toggle="list"]',function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),!F(this)){const e=Ir.getOrCreateInstance(this);e.show()}}),K(Ir);e=Ir;const kr="tab";yt="mdb.".concat(kr),yt=".".concat(yt);const Dr="show.bs.tab",Nr="shown.bs.tab",jr="hide.bs.tab",Pr="hidden.bs.tab",Mr="show".concat(yt),Hr="shown".concat(yt),Rr="hide".concat(yt),Br="hidden".concat(yt);class Wr extends e{constructor(t){super(t),this._previous=null,this._init()}dispose(){O.off(this._element,Dr),O.off(this._element,Nr),super.dispose()}static get NAME(){return kr}show(){if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains("active")||this._element.classList.contains("disabled"))){var n,i=(t=>{t=r(t);return t?document.querySelector(t):null})(this._element),o=this._element.closest(".nav, .list-group");o&&(n="UL"===o.nodeName||"OL"===o.nodeName?":scope > li > .active":".active",this._previous=I.find(n,o),this._previous=this._previous[this._previous.length-1]);let t=null,e=null;this._previous&&(t=O.trigger(this._previous,jr,{relatedTarget:this._element}),e=O.trigger(this._previous,Rr,{relatedTarget:this._element})),O.trigger(this._element,Dr,{relatedTarget:this._previous}).defaultPrevented||null!==t&&t.defaultPrevented||null!==e&&e.defaultPrevented||(this._activate(this._element,o),o=()=>{O.trigger(this._previous,Pr,{relatedTarget:this._element}),O.trigger(this._previous,Br,{relatedTarget:this._element}),O.trigger(this._element,Nr,{relatedTarget:this._previous})},i?this._activate(i,i.parentNode,o):o())}}_init(){this._bindShowEvent(),this._bindShownEvent(),this._bindHideEvent(),this._bindHiddenEvent()}_bindShowEvent(){O.on(this._element,Dr,t=>{O.trigger(this._element,Mr,{relatedTarget:t.relatedTarget})})}_bindShownEvent(){O.on(this._element,Nr,t=>{O.trigger(this._element,Hr,{relatedTarget:t.relatedTarget})})}_bindHideEvent(){O.on(this._previous,jr,()=>{O.trigger(this._previous,Rr)})}_bindHiddenEvent(){O.on(this._previous,Pr,()=>{O.trigger(this._previous,Br)})}}I.find('[data-mdb-toggle="tab"], [data-mdb-toggle="pill"], [data-mdb-toggle="list"]').forEach(t=>{var e=Wr.getInstance(t);e||new Wr(t)}),a(()=>{const t=s();if(t){const e=t.fn.tab;t.fn.tab=Wr.jQueryInterface,t.fn.tab.Constructor=Wr,t.fn.tab.noConflict=()=>(t.fn.tab=e,Wr.jQueryInterface)}});var Fr=Wr;const Ur="tooltip";yt="mdb.".concat(Ur),e=".".concat(yt);const qr="hide.bs.tooltip",zr="hidden.bs.tooltip",Qr="show.bs.tooltip",Vr="shown.bs.tooltip",Yr="inserted.bs.tooltip",Kr="hide".concat(e),Xr="hidden".concat(e),Gr="show".concat(e),$r="shown".concat(e),Zr="inserted".concat(e);class Jr extends Et{constructor(t,e){super(t,e),this._init()}dispose(){O.off(this._element,Qr),O.off(this._element,Vr),O.off(this._element,qr),O.off(this._element,zr),O.off(this._element,Yr),super.dispose()}static get NAME(){return Ur}_init(){this._bindShowEvent(),this._bindShownEvent(),this._bindHideEvent(),this._bindHiddenEvent(),this._bindHidePreventedEvent()}_bindShowEvent(){O.on(this.element,Qr,()=>{O.trigger(this.element,Gr)})}_bindShownEvent(){O.on(this.element,Vr,()=>{O.trigger(this.element,$r)})}_bindHideEvent(){O.on(this.element,qr,()=>{O.trigger(this.element,Kr)})}_bindHiddenEvent(){O.on(this.element,zr,()=>{O.trigger(this.element,Xr)})}_bindHidePreventedEvent(){O.on(this.element,Yr,()=>{O.trigger(this.element,Zr)})}}I.find('[data-mdb-toggle="tooltip"]').forEach(t=>{var e=Jr.getInstance(t);e||new Jr(t)}),a(()=>{const t=s();if(t){const e=t.fn[Ur];t.fn[Ur]=Jr.jQueryInterface,t.fn[Ur].Constructor=Jr,t.fn[Ur].noConflict=()=>(t.fn[Ur]=e,Jr.jQueryInterface)}});var ts=Jr;yt=".".concat("bs.toast");const es="mouseover".concat(yt),ns="mouseout".concat(yt),is="focusin".concat(yt),os="focusout".concat(yt),rs="hide".concat(yt),ss="hidden".concat(yt),as="show".concat(yt),cs="shown".concat(yt),ls="show",us="showing",hs={animation:"boolean",autohide:"boolean",delay:"number"},ds={animation:!0,autohide:!0,delay:5e3};class fs extends bt{constructor(t,e){super(t),this._config=this._getConfig(e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return hs}static get Default(){return ds}static get NAME(){return"toast"}show(){pt.trigger(this._element,as).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),z(this._element),this._element.classList.add(ls),this._element.classList.add(us),this._queueCallback(()=>{this._element.classList.remove(us),pt.trigger(this._element,cs),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(ls)&&(pt.trigger(this._element,rs).defaultPrevented||(this._element.classList.add(us),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(us),this._element.classList.remove(ls),pt.trigger(this._element,ss)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(ls)&&this._element.classList.remove(ls),super.dispose()}_getConfig(t){return t={...ds,...Bt.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},B("toast",t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}e?this._clearTimeout():(t=t.relatedTarget,this._element===t||this._element.contains(t)||this._maybeScheduleHide())}_setListeners(){pt.on(this._element,es,t=>this._onInteraction(t,!0)),pt.on(this._element,ns,t=>this._onInteraction(t,!1)),pt.on(this._element,is,t=>this._onInteraction(t,!0)),pt.on(this._element,os,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=fs.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}})}}_e(fs),K(fs);e=fs;const ps="toast";Et="mdb.".concat(ps),yt=".".concat(Et);const gs="show.bs.toast",ms="shown.bs.toast",_s="hide.bs.toast",vs="hidden.bs.toast",bs="show".concat(yt),ys="shown".concat(yt),ws="hide".concat(yt),Es="hidden".concat(yt);class xs extends e{constructor(t,e){super(t,e),this._init()}dispose(){O.off(this._element,gs),O.off(this._element,ms),O.off(this._element,_s),O.off(this._element,vs),super.dispose()}static get NAME(){return ps}_init(){this._bindShowEvent(),this._bindShownEvent(),this._bindHideEvent(),this._bindHiddenEvent()}_bindShowEvent(){O.on(this._element,gs,()=>{O.trigger(this._element,bs)})}_bindShownEvent(){O.on(this._element,ms,()=>{O.trigger(this._element,ys)})}_bindHideEvent(){O.on(this._element,_s,()=>{O.trigger(this._element,ws)})}_bindHiddenEvent(){O.on(this._element,vs,()=>{O.trigger(this._element,Es)})}}I.find(".toast").forEach(t=>{var e=xs.getInstance(t);e||new xs(t)}),a(()=>{const t=s();if(t){const e=t.fn[ps];t.fn[ps]=xs.jQueryInterface,t.fn[ps].Constructor=xs,t.fn[ps].noConflict=()=>(t.fn[ps]=e,xs.jQueryInterface)}});var Cs=xs;n(112);const Ts="input",Os="mdb.input";Et="form-outline";const As="active",Ss="form-notch",Ls="form-notch-leading",Is="form-notch-middle";const ks=".".concat(Et," input"),Ds=".".concat(Et," textarea"),Ns=".".concat(Ss),js=".".concat(Ls),Ps=".".concat(Is),Ms=".".concat("form-helper");class Hs{constructor(t){this._element=t,this._label=null,this._labelWidth=0,this._labelMarginLeft=0,this._notchLeading=null,this._notchMiddle=null,this._notchTrailing=null,this._initiated=!1,this._helper=null,this._counter=!1,this._counterElement=null,this._maxLength=0,this._leadingIcon=null,this._element&&(u.setData(t,Os,this),this.init())}static get NAME(){return Ts}get input(){return I.findOne("input",this._element)||I.findOne("textarea",this._element)}init(){this._initiated||(this._getLabelData(),this._applyDivs(),this._applyNotch(),this._activate(),this._getHelper(),this._getCounter(),this._initiated=!0)}update(){this._getLabelData(),this._getNotchData(),this._applyNotch(),this._activate(),this._getHelper(),this._getCounter()}forceActive(){L.addClass(this.input,As)}forceInactive(){L.removeClass(this.input,As)}dispose(){this._removeBorder(),u.removeData(this._element,Os),this._element=null}_getLabelData(){this._label=I.findOne("label",this._element),null===this._label?this._showPlaceholder():(this._getLabelWidth(),this._getLabelPositionInInputGroup(),this._toggleDefaultDatePlaceholder())}_getHelper(){this._helper=I.findOne(Ms,this._element)}_getCounter(){this._counter=L.getDataAttribute(this.input,"showcounter"),this._counter&&(this._maxLength=this.input.maxLength,this._showCounter())}_showCounter(){var t;0{var t=this.input.value.length;this._counterElement.innerHTML="".concat(t," / ").concat(this._maxLength)})}_toggleDefaultDatePlaceholder(){let t=0{this._getElements(e);var t=e?e.target:this.input;""!==t.value&&L.addClass(t,As),this._toggleDefaultDatePlaceholder(t)})}_getElements(t){var e;t&&(this._element=t.target.parentNode,this._label=I.findOne("label",this._element)),t&&this._label&&(e=this._labelWidth,this._getLabelData(),e!==this._labelWidth&&(this._notchMiddle=I.findOne(".form-notch-middle",t.target.parentNode),this._notchLeading=I.findOne(js,t.target.parentNode),this._applyNotch()))}_deactivate(t){const e=t?t.target:this.input;""===e.value&&e.classList.remove(As),this._toggleDefaultDatePlaceholder(e)}static activate(e){return function(t){e._activate(t)}}static deactivate(e){return function(t){e._deactivate(t)}}static jQueryInterface(n,i){return this.each(function(){let t=u.getData(this,Os);var e="object"==typeof n&&n;if((t||!/dispose/.test(n))&&(t=t||new Hs(this,e),"string"==typeof n)){if(void 0===t[n])throw new TypeError('No method named "'.concat(n,'"'));t[n](i)}})}static getInstance(t){return u.getData(t,Os)}static getOrCreateInstance(t){var e=1{I.find(ks,t.target).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.update()}),I.find(Ds,t.target).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.update()})}),O.on(window,"shown.bs.dropdown",t=>{t=t.target.parentNode.querySelector(".dropdown-menu");t&&(I.find(ks,t).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.update()}),I.find(Ds,t).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.update()}))}),O.on(window,"shown.bs.tab",t=>{let e;e=(t.target.href||L.getDataAttribute(t.target,"target")).split("#")[1];t=I.findOne("#".concat(e));I.find(ks,t).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.update()}),I.find(Ds,t).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.update()})}),I.find(".".concat(Et)).map(t=>new Hs(t)),O.on(window,"reset",t=>{I.find(ks,t.target).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.forceInactive()}),I.find(Ds,t.target).forEach(t=>{const e=Hs.getInstance(t.parentNode);e&&e.forceInactive()})}),O.on(window,"onautocomplete",t=>{const e=Hs.getInstance(t.target.parentNode);e&&t.cancelable&&e.forceActive()}),a(()=>{const t=s();if(t){const e=t.fn[Ts];t.fn[Ts]=Hs.jQueryInterface,t.fn[Ts].Constructor=Hs,t.fn[Ts].noConflict=()=>(t.fn[Ts]=e,Hs.jQueryInterface)}});var Rs=Hs;const Bs="dropdown";yt=".".concat("bs.dropdown"),e=".data-api";const Ws="Escape",Fs="ArrowUp",Us="ArrowDown",qs=new RegExp("".concat(Fs,"|").concat(Us,"|").concat(Ws)),zs="hide".concat(yt),Qs="hidden".concat(yt),Vs="show".concat(yt),Ys="shown".concat(yt);n="click".concat(yt).concat(e),Et="keydown".concat(yt).concat(e),e="keyup".concat(yt).concat(e);const Ks="show",Xs='[data-mdb-toggle="dropdown"]',Gs=".dropdown-menu",$s=Y()?"top-end":"top-start",Zs=Y()?"top-start":"top-end",Js=Y()?"bottom-end":"bottom-start",ta=Y()?"bottom-start":"bottom-end",ea=Y()?"left-start":"right-start",na=Y()?"right-start":"left-start",ia={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},oa={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class ra extends bt{constructor(t,e){super(t),this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return ia}static get DefaultType(){return oa}static get NAME(){return Bs}toggle(){return this._isShown()?this.hide():this.show()}show(){if(!F(this._element)&&!this._isShown(this._menu)){var t={relatedTarget:this._element};if(!pt.trigger(this._element,Vs,t).defaultPrevented){const e=ra.getParentFromElement(this._element);this._inNavbar?Bt.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>pt.on(t,"mouseover",q)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ks),this._element.classList.add(Ks),pt.trigger(this._element,Ys,t)}}}hide(){var t;!F(this._element)&&this._isShown(this._menu)&&(t={relatedTarget:this._element},this._completeHide(t))}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){pt.trigger(this._element,zs,t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>pt.off(t,"mouseover",q)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Ks),this._element.classList.remove(Ks),this._element.setAttribute("aria-expanded","false"),Bt.removeDataAttribute(this._menu,"popper"),pt.trigger(this._element,Qs,t))}_getConfig(t){if(t={...this.constructor.Default,...Bt.getDataAttributes(this._element),...t},B(Bs,t,this.constructor.DefaultType),"object"==typeof t.reference&&!H(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError("".concat(Bs.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'));return t}_createPopper(t){if(void 0===i)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=t:H(this._config.reference)?e=R(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig();t=n.modifiers.find(t=>"applyStyles"===t.name&&!1===t.enabled);this._popper=vo(e,this._menu,n),t&&Bt.setDataAttribute(this._menu,"popper","static")}_isShown(){let t=0Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem(t){var{key:e,target:t}=t;const n=Wt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(W);n.length&&$(n,t,e===Us,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=ra.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}})}static clearMenus(n){if(!n||2!==n.button&&("keyup"!==n.type||"Tab"===n.key)){var i=Wt.find(Xs);for(let t=0,e=i.length;tNumber.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{altBoundary:this._config.flip,boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_bindShowEvent(){O.on(this._element,ha,t=>{O.trigger(this._element,ga,{relatedTarget:t.relatedTarget}).defaultPrevented?t.preventDefault():this._dropdownAnimationStart("show")})}_bindShownEvent(){O.on(this._parent,da,t=>{O.trigger(this._parent,ma,{relatedTarget:t.relatedTarget}).defaultPrevented&&t.preventDefault()})}_bindHideEvent(){O.on(this._parent,la,t=>{O.trigger(this._parent,fa,{relatedTarget:t.relatedTarget}).defaultPrevented?t.preventDefault():(this._menuStyle=this._menu.style.cssText,this._popperPlacement=this._menu.getAttribute("data-popper-placement"),this._mdbPopperConfig=this._menu.getAttribute("data-mdb-popper"))})}_bindHiddenEvent(){O.on(this._parent,ua,t=>{O.trigger(this._parent,pa,{relatedTarget:t.relatedTarget}).defaultPrevented?t.preventDefault():("static"!==this._config.display&&""!==this._menuStyle&&(this._menu.style.cssText=this._menuStyle),this._menu.setAttribute("data-popper-placement",this._popperPlacement),this._menu.setAttribute("data-mdb-popper",this._mdbPopperConfig),this._dropdownAnimationStart("hide"))})}_dropdownAnimationStart(t){"show"===t?(this._menu.classList.add(_a,va),this._menu.classList.remove(ba)):(this._menu.classList.add(_a,ba),this._menu.classList.remove(va)),this._bindAnimationEnd()}_bindAnimationEnd(){O.one(this._menu,"animationend",()=>{this._menu.classList.remove(_a,ba,va)})}}I.find('[data-mdb-toggle="dropdown"]').forEach(t=>{var e=ya.getInstance(t);e||new ya(t)}),a(()=>{const t=s();if(t){const e=t.fn[sa];t.fn[sa]=ya.jQueryInterface,t.fn[sa].Constructor=ya,t.fn[sa].noConflict=()=>(t.fn[sa]=e,ya.jQueryInterface)}});var wa=ya;const Ea="ripple",xa="mdb.ripple",Ca="ripple-surface",Ta="ripple-wave",Oa=[".btn",".ripple"],Aa="ripple-surface-unbound",Sa=[0,0,0],La=["primary","secondary","success","danger","warning","info","light","dark"],Ia={rippleCentered:!1,rippleColor:"",rippleDuration:"500ms",rippleRadius:0,rippleUnbound:!1},ka={rippleCentered:"boolean",rippleColor:"string",rippleDuration:"string",rippleRadius:"number",rippleUnbound:"boolean"};class Da{constructor(t,e){this._element=t,this._options=this._getConfig(e),this._element&&(u.setData(t,xa,this),L.addClass(this._element,Ca)),this._clickHandler=this._createRipple.bind(this),this._rippleTimer=null,this._isMinWidthSet=!1,this.init()}static get NAME(){return Ea}init(){this._addClickEvent(this._element)}dispose(){u.removeData(this._element,xa),O.off(this._element,"click",this._clickHandler),this._element=null,this._options=null}_autoInit(e){Oa.forEach(t=>{I.closest(e.target,t)&&(this._element=I.closest(e.target,t))}),this._element.style.minWidth||(L.style(this._element,{"min-width":"".concat(this._element.offsetWidth,"px")}),this._isMinWidthSet=!0),L.addClass(this._element,Ca),this._options=this._getConfig(),this._createRipple(e)}_addClickEvent(t){O.on(t,"mousedown",this._clickHandler)}_createRipple(t){L.hasClass(this._element,Ca)||L.addClass(this._element,Ca);var{layerX:e,layerY:n}=t,i=e,o=n,r=this._element.offsetHeight,s=this._element.offsetWidth,a=this._durationToMsNumber(this._options.rippleDuration),t={offsetX:this._options.rippleCentered?r/2:i,offsetY:this._options.rippleCentered?s/2:o,height:r,width:s},e=this._getDiameter(t),n=this._options.rippleRadius||e/2,t={delay:.5*a,duration:a-.5*a},e={left:this._options.rippleCentered?"".concat(s/2-n,"px"):"".concat(i-n,"px"),top:this._options.rippleCentered?"".concat(r/2-n,"px"):"".concat(o-n,"px"),height:"".concat(2*this._options.rippleRadius||e,"px"),width:"".concat(2*this._options.rippleRadius||e,"px"),transitionDelay:"0s, ".concat(t.delay,"ms"),transitionDuration:"".concat(a,"ms, ").concat(t.duration,"ms")},t=c("div");this._createHTMLRipple({wrapper:this._element,ripple:t,styles:e}),this._removeHTMLRipple({ripple:t,duration:a})}_createHTMLRipple(t){let{wrapper:e,ripple:n,styles:i}=t;Object.keys(i).forEach(t=>n.style[t]=i[t]),n.classList.add(Ta),""!==this._options.rippleColor&&(this._removeOldColorClasses(e),this._addColor(n,e)),this._toggleUnbound(e),this._appendRipple(n,e)}_removeHTMLRipple(t){let{ripple:e,duration:n}=t;this._rippleTimer&&(clearTimeout(this._rippleTimer),this._rippleTimer=null),this._rippleTimer=setTimeout(()=>{e&&(e.remove(),this._element&&(I.find(".".concat(Ta),this._element).forEach(t=>{t.remove()}),this._isMinWidthSet&&(L.style(this._element,{"min-width":""}),this._isMinWidthSet=!1),L.removeClass(this._element,Ca)))},n)}_durationToMsNumber(t){return Number(t.replace("ms","").replace("s","000"))}_getConfig(){var t=0Math.sqrt(t**2+e**2),t=n===i/2&&e===o/2;const c=!0==r&&!1==s,l=!0==r&&!0==s,u=!1==r&&!0==s,h=!1==r&&!1==s;n={topLeft:a(e,n),topRight:a(o-e,n),bottomLeft:a(e,i-n),bottomRight:a(o-e,i-n)};let d=0;return t||h?d=n.topLeft:u?d=n.topRight:l?d=n.bottomRight:c&&(d=n.bottomLeft),2*d}_appendRipple(t,e){e.appendChild(t),setTimeout(()=>{L.addClass(t,"active")},50)}_toggleUnbound(t){!0===this._options.rippleUnbound?L.addClass(t,Aa):t.classList.remove(Aa)}_addColor(t,e){La.find(t=>t===this._options.rippleColor.toLowerCase())?L.addClass(e,"".concat(Ca,"-").concat(this._options.rippleColor.toLowerCase())):(e=this._colorToRGB(this._options.rippleColor).join(","),e="rgba({{color}}, 0.2) 0, rgba({{color}}, 0.3) 40%, rgba({{color}}, 0.4) 50%, rgba({{color}}, 0.5) 60%, rgba({{color}}, 0) 70%".split("{{color}}").join("".concat(e)),t.style.backgroundImage="radial-gradient(circle, ".concat(e,")"))}_removeOldColorClasses(e){var t=new RegExp("".concat(Ca,"-[a-z]+"),"gi");const n=e.classList.value.match(t)||[];n.forEach(t=>{e.classList.remove(t)})}_colorToRGB(t){return"transparent"===t.toLowerCase()?Sa:"#"===t[0]?((e=t).length<7&&(e="#".concat(e[1]).concat(e[1]).concat(e[2]).concat(e[2]).concat(e[3]).concat(e[3])),[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)]):0===(t=-1===t.indexOf("rgb")?function(t){const e=document.body.appendChild(document.createElement("fictum"));var n="rgb(1, 2, 3)";return e.style.color=n,e.style.color!==n?Sa:(e.style.color=t,e.style.color===n||""===e.style.color?Sa:(t=getComputedStyle(e).color,document.body.removeChild(e),t))}(t):t).indexOf("rgb")?((t=(t=t).match(/[.\d]+/g).map(t=>+Number(t))).length=3,t):Sa;var e}static autoInitial(e){return function(t){e._autoInit(t)}}static jQueryInterface(t){return this.each(function(){return u.getData(this,xa)?null:new Da(this,t)})}static getInstance(t){return u.getData(t,xa)}static getOrCreateInstance(t){var e=1{O.one(document,"mousedown",t,Da.autoInitial(new Da))}),a(()=>{const t=s();if(t){const e=t.fn[Ea];t.fn[Ea]=Da.jQueryInterface,t.fn[Ea].Constructor=Da,t.fn[Ea].noConflict=()=>(t.fn[Ea]=e,Da.jQueryInterface)}});var Na=Da;const ja="range",Pa="mdb.range";const Ma="thumb-active";const Ha=".".concat("thumb-value");n=".".concat("range");class Ra{constructor(t){this._element=t,this._initiated=!1,this._element&&(u.setData(t,Pa,this),this.init())}static get NAME(){return ja}get rangeInput(){return I.findOne("input[type=range]",this._element)}init(){this._initiated||(this._addThumb(),this._updateValue(),this._thumbPositionUpdate(),this._handleEvents(),this._initiated=!0)}dispose(){this._disposeEvents(),u.removeData(this._element,Pa),this._element=null}_addThumb(){const t=c("span");L.addClass(t,"thumb"),t.innerHTML='',this._element.append(t)}_updateValue(){const t=I.findOne(Ha,this._element);t.textContent=this.rangeInput.value,this.rangeInput.oninput=()=>t.textContent=this.rangeInput.value}_handleEvents(){O.on(this.rangeInput,"mousedown",()=>this._showThumb()),O.on(this.rangeInput,"mouseup",()=>this._hideThumb()),O.on(this.rangeInput,"touchstart",()=>this._showThumb()),O.on(this.rangeInput,"touchend",()=>this._hideThumb()),O.on(this.rangeInput,"input",()=>this._thumbPositionUpdate())}_disposeEvents(){O.off(this.rangeInput,"mousedown",this._showThumb),O.off(this.rangeInput,"mouseup",this._hideThumb),O.off(this.rangeInput,"touchstart",this._showThumb),O.off(this.rangeInput,"touchend",this._hideThumb),O.off(this.rangeInput,"input",this._thumbPositionUpdate)}_showThumb(){L.addClass(this._element.lastElementChild,Ma)}_hideThumb(){L.removeClass(this._element.lastElementChild,Ma)}_thumbPositionUpdate(){var t=this.rangeInput,e=t.value,n=t.min||0,t=t.max||100;const i=this._element.lastElementChild;n=Number(100*(e-n)/(t-n));i.firstElementChild.textContent=e,L.style(i,{left:"calc(".concat(n,"% + (").concat(8-.15*n,"px))")})}static getInstance(t){return u.getData(t,Pa)}static getOrCreateInstance(t){var e=1new Ra(t)),a(()=>{const t=s();if(t){const e=t.fn[ja];t.fn[ja]=Ra.jQueryInterface,t.fn[ja].Constructor=Ra,t.fn[ja].noConflict=()=>(t.fn[ja]=e,Ra.jQueryInterface)}});var Ba=Ra}],o.c=i,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=115);function o(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var n,i}); //# sourceMappingURL=mdb.min.js.map