!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)}("undefined"!=typeof window?window:this,function(_,N){"use strict";function y(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item}function R(t){return null!=t&&t===t.window}var e=[],j=Object.getPrototypeOf,a=e.slice,z=e.flat?function(t){return e.flat.call(t)}:function(t){return e.concat.apply([],t)},F=e.push,b=e.indexOf,H={},B=H.toString,W=H.hasOwnProperty,q=W.toString,V=q.call(Object),g={},k=_.document,U={type:!0,src:!0,nonce:!0,noModule:!0};function Y(t,e,i){var n,s,r=(i=i||k).createElement("script");if(r.text=t,e)for(n in U)(s=e[n]||e.getAttribute&&e.getAttribute(n))&&r.setAttribute(n,s);i.head.appendChild(r).parentNode.removeChild(r)}function X(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?H[B.call(t)]||"object":typeof t}var t="3.7.0",G=/HTML$/i,C=function(t,e){return new C.fn.init(t,e)};function K(t){var e=!!t&&"length"in t&&t.length,i=X(t);return!y(t)&&!R(t)&&("array"===i||0===e||"number"==typeof e&&0+~]|"+i+")"+i+"*"),xt=new RegExp(i+"|>"),wt=new RegExp(r),_t=new RegExp("^"+t+"$"),kt={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+s),PSEUDO:new RegExp("^"+r),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+mt+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},Ct=/^(?:input|select|textarea|button)$/i,St=/^h\d$/i,Tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Et=/[+~]/,u=new RegExp("\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\([^\\r\\n\\f])","g"),p=function(t,e){t="0x"+t.slice(1)-65536;return e||(t<0?String.fromCharCode(65536+t):String.fromCharCode(t>>10|55296,1023&t|56320))},At=function(){$t()},Dt=zt(function(t){return!0===t.disabled&&x(t,"fieldset")},{dir:"parentNode",next:"legend"});try{E.apply(e=a.call(n.childNodes),n.childNodes),e[n.childNodes.length].nodeType}catch(nt){E={apply:function(t,e){ct.apply(t,a.call(e))},call:function(t){ct.apply(t,a.call(arguments,1))}}}function O(t,e,i,n){var s,r,o,a,l,c,d=e&&e.ownerDocument,u=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==u&&9!==u&&11!==u)return i;if(!n&&($t(e),e=e||S,T)){if(11!==u&&(a=Tt.exec(t)))if(s=a[1]){if(9===u){if(!(c=e.getElementById(s)))return i;if(c.id===s)return E.call(i,c),i}else if(d&&(c=d.getElementById(s))&&O.contains(e,c)&&c.id===s)return E.call(i,c),i}else{if(a[2])return E.apply(i,e.getElementsByTagName(t)),i;if((s=a[3])&&e.getElementsByClassName)return E.apply(i,e.getElementsByClassName(s)),i}if(!(ft[t+" "]||h&&h.test(t))){if(c=t,d=e,1===u&&(xt.test(t)||bt.test(t))){for((d=Et.test(t)&&It(e.parentNode)||e)==e&&g.scope||((o=e.getAttribute("id"))?o=C.escapeSelector(o):e.setAttribute("id",o=A)),r=(l=Rt(t)).length;r--;)l[r]=(o?"#"+o:":scope")+" "+jt(l[r]);c=l.join(",")}try{return E.apply(i,d.querySelectorAll(c)),i}catch(e){ft(t,!0)}finally{o===A&&e.removeAttribute("id")}}}return qt(t.replace(tt,"$1"),e,i,n)}function Ot(){var n=[];return function t(e,i){return n.push(e+" ")>w.cacheLength&&delete t[n.shift()],t[e+" "]=i}}function M(t){return t[A]=!0,t}function Mt(t){var e=S.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function Pt(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Dt(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function Lt(o){return M(function(r){return r=+r,M(function(t,e){for(var i,n=o([],t.length,r),s=n.length;s--;)t[i=n[s]]&&(t[i]=!(e[i]=t[i]))})})}function It(t){return t&&void 0!==t.getElementsByTagName&&t}function $t(t){var t=t?t.ownerDocument||t:n;return t!=S&&9===t.nodeType&&t.documentElement&&(at=(S=t).documentElement,T=!C.isXMLDoc(S),lt=at.matches||at.webkitMatchesSelector||at.msMatchesSelector,n!=S&&(t=S.defaultView)&&t.top!==t&&t.addEventListener("unload",At),g.getById=Mt(function(t){return at.appendChild(t).id=C.expando,!S.getElementsByName||!S.getElementsByName(C.expando).length}),g.disconnectedMatch=Mt(function(t){return lt.call(t,"*")}),g.scope=Mt(function(){return S.querySelectorAll(":scope")}),g.cssHas=Mt(function(){try{return S.querySelector(":has(*,:jqfake)"),0}catch(t){return 1}}),g.getById?(w.filter.ID=function(t){var e=t.replace(u,p);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&T)return(e=e.getElementById(t))?[e]:[]}):(w.filter.ID=function(t){var e=t.replace(u,p);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&T){var i,n,s,r=e.getElementById(t);if(r){if((i=r.getAttributeNode("id"))&&i.value===t)return[r];for(s=e.getElementsByName(t),n=0;r=s[n++];)if((i=r.getAttributeNode("id"))&&i.value===t)return[r]}return[]}}),w.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},w.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&T)return e.getElementsByClassName(t)},h=[],Mt(function(t){var e;at.appendChild(t).innerHTML="",t.querySelectorAll("[selected]").length||h.push("\\["+i+"*(?:value|"+mt+")"),t.querySelectorAll("[id~="+A+"-]").length||h.push("~="),t.querySelectorAll("a#"+A+"+*").length||h.push(".#.+[+~]"),t.querySelectorAll(":checked").length||h.push(":checked"),(e=S.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),at.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),(e=S.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||h.push("\\["+i+"*name"+i+"*="+i+"*(?:''|\"\")")}),g.cssHas||h.push(":has"),h=h.length&&new RegExp(h.join("|")),gt=function(t,e){var i;return t===e?(ot=!0,0):!t.compareDocumentPosition-!e.compareDocumentPosition||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!g.sortDetached&&e.compareDocumentPosition(t)===i?t===S||t.ownerDocument==n&&O.contains(n,t)?-1:e===S||e.ownerDocument==n&&O.contains(n,e)?1:rt?b.call(rt,t)-b.call(rt,e):0:4&i?-1:1)}),S}for(nt in O.matches=function(t,e){return O(t,null,null,e)},O.matchesSelector=function(t,e){if($t(t),T&&!ft[e+" "]&&(!h||!h.test(e)))try{var i=lt.call(t,e);if(i||g.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){ft(e,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(u,p),t[3]=(t[3]||t[4]||t[5]||"").replace(u,p),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||O.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&O.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return kt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&wt.test(i)&&(e=(e=Rt(i,!0))&&i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(u,p).toLowerCase();return"*"===t?function(){return!0}:function(t){return x(t,e)}},CLASS:function(t){var e=ut[t+" "];return e||(e=new RegExp("(^|"+i+")"+t+"("+i+"|$)"))&&ut(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,i,n){return function(t){t=O.attr(t,e);return null==t?"!="===i:!i||(t+="","="===i?t===n:"!="===i?t!==n:"^="===i?n&&0===t.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Gt(t,i,n){return y(i)?C.grep(t,function(t,e){return!!i.call(t,e,t)!==n}):i.nodeType?C.grep(t,function(t){return t===i!==n}):"string"!=typeof i?C.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/,Zt=((C.fn.init=function(t,e,i){if(t){if(i=i||Kt,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==i.ready?i.ready(t):t(C):C.makeArray(t,this);if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:Qt.exec(t))||!n[1]&&e)return(!e||e.jquery?e||i:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:k,!0)),Xt.test(n[1])&&C.isPlainObject(e))for(var n in e)y(this[n])?this[n](e[n]):this.attr(n,e[n])}else(i=k.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=C.fn,Kt=C(k),/^(?:parents|prev(?:Until|All))/),Jt={children:!0,contents:!0,next:!0,prev:!0};function te(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Se=/^$|^module$|\/(?:java|ecma)script/i,s=k.createDocumentFragment().appendChild(k.createElement("div")),m=((r=k.createElement("input")).setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),s.appendChild(r),g.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,s.innerHTML="",g.noCloneChecked=!!s.cloneNode(!0).lastChild.defaultValue,s.innerHTML="",g.option=!!s.lastChild,{thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]});function I(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&x(t,e)?C.merge([t],i):i}function Te(t,e){for(var i=0,n=t.length;i",""]);var Ee=/<|&#?\w+;/;function Ae(t,e,i,n,s){for(var r,o,a,l,c,d=e.createDocumentFragment(),u=[],h=0,p=t.length;h\s*$/g;function Re(t,e){return x(t,"table")&&x(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function je(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function ze(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Fe(t,e){var i,n,s,r;if(1===e.nodeType){if(v.hasData(t)&&(r=v.get(t).events))for(s in v.remove(e,"handle events"),r)for(i=0,n=r[s].length;i").attr(i.scriptAttrs||{}).prop({charset:i.scriptCharset,src:i.url}).on("load error",s=function(t){n.remove(),s=null,t&&e("error"===t.type?404:200,t.type)}),k.head.appendChild(n[0])},abort:function(){s&&s()}}});var en=[],nn=/(=)\?(?=&|$)|\?\?/,sn=(C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||C.expando+"_"+Li.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,i){var n,s,r,o=!1!==t.jsonp&&(nn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(o||"jsonp"===t.dataTypes[0])return n=t.jsonpCallback=y(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(nn,"$1"+n):!1!==t.jsonp&&(t.url+=(Ii.test(t.url)?"&":"?")+t.jsonp+"="+n),t.converters["script json"]=function(){return r||C.error(n+" was not called"),r[0]},t.dataTypes[0]="json",s=_[n],_[n]=function(){r=arguments},i.always(function(){void 0===s?C(_).removeProp(n):_[n]=s,t[n]&&(t.jsonpCallback=e.jsonpCallback,en.push(n)),r&&y(s)&&s(r[0]),r=s=void 0}),"script"}),g.createHTMLDocument=((t=k.implementation.createHTMLDocument("").body).innerHTML="
",2===t.childNodes.length),C.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(g.createHTMLDocument?((n=(e=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,e.head.appendChild(n)):e=k),n=!i&&[],(i=Xt.exec(t))?[e.createElement(i[1])]:(i=Ae([t],e,n),n&&n.length&&C(n).remove(),C.merge([],i.childNodes)));var n},C.fn.load=function(t,e,i){var n,s,r,o=this,a=t.indexOf(" ");return-1").append(C.parseHTML(t)).find(n):t)}).always(i&&function(t,e){o.each(function(){i.apply(this,r||[t.responseText,e,t])})}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(t,e,i){var n,s,r,o,a=C.css(t,"position"),l=C(t),c={};"static"===a&&(t.style.position="relative"),r=l.offset(),n=C.css(t,"top"),o=C.css(t,"left"),a=("absolute"===a||"fixed"===a)&&-1<(n+o).indexOf("auto")?(s=(a=l.position()).top,a.left):(s=parseFloat(n)||0,parseFloat(o)||0),null!=(e=y(e)?e.call(t,i,C.extend({},r)):e).top&&(c.top=e.top-r.top+s),null!=e.left&&(c.left=e.left-r.left+a),"using"in e?e.using.call(t,c):l.css(c)}},C.fn.extend({offset:function(e){var t,i;return arguments.length?void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)}):(i=this[0])?i.getClientRects().length?(t=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:t.top+i.pageYOffset,left:t.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],s={top:0,left:0};if("fixed"===C.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((s=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),s.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-s.top-C.css(n,"marginTop",!0),left:e.left-s.left-C.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||ve})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,s){var r="pageYOffset"===s;C.fn[e]=function(t){return d(this,function(t,e,i){var n;if(R(t)?n=t:9===t.nodeType&&(n=t.defaultView),void 0===i)return n?n[s]:t[e];n?n.scrollTo(r?n.pageXOffset:i,r?i:n.pageYOffset):t[e]=i},e,t,arguments.length)}}),C.each(["top","left"],function(t,i){C.cssHooks[i]=ii(g.pixelPosition,function(t,e){if(e)return e=ei(t,i),Ze.test(e)?C(t).position()[i]+"px":e})}),C.each({Height:"height",Width:"width"},function(o,a){C.each({padding:"inner"+o,content:a,"":"outer"+o},function(n,r){C.fn[r]=function(t,e){var i=arguments.length&&(n||"boolean"!=typeof t),s=n||(!0===t||!0===e?"margin":"border");return d(this,function(t,e,i){var n;return R(t)?0===r.indexOf("outer")?t["inner"+o]:t.document.documentElement["client"+o]:9===t.nodeType?(n=t.documentElement,Math.max(t.body["scroll"+o],n["scroll"+o],t.body["offset"+o],n["offset"+o],n["client"+o])):void 0===i?C.css(t,e,s):C.style(t,e,i,s)},a,i?t:void 0,i)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,i){C.fn[i]=function(t,e){return 0n.has(t)&&n.get(t).get(e)||null,remove(t,e){var i;n.has(t)&&((i=n.get(t)).delete(e),0===i.size)&&n.delete(t)}},R="transitionend",j=t=>t=t&&window.CSS&&window.CSS.escape?t.replace(/#([^\s"#']+)/g,(t,e)=>"#"+CSS.escape(e)):t,z=t=>{t.dispatchEvent(new Event(R))},o=t=>!(!t||"object"!=typeof t)&&void 0!==(t=void 0!==t.jquery?t[0]:t).nodeType,s=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&0{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(i&&i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},a=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),F=t=>{var e;return document.documentElement.attachShadow?"function"==typeof t.getRootNode?(e=t.getRootNode())instanceof ShadowRoot?e:null:t instanceof ShadowRoot?t:t.parentNode?F(t.parentNode):null:null},H=()=>{},B=t=>{t.offsetHeight},W=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,q=[],l=()=>"rtl"===document.documentElement.dir,t=n=>{var t=()=>{const t=W();if(t){const e=n.NAME,i=t.fn[e];t.fn[e]=n.jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=()=>(t.fn[e]=i,n.jQueryInterface)}};"loading"===document.readyState?(q.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of q)t()}),q.push(t)):t()},c=(t,e=[],i=t)=>"function"==typeof t?t(...e):i,V=(i,s,t=!0)=>{if(t){t=(()=>{if(!s)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(s);var i=Number.parseFloat(t),n=Number.parseFloat(e);return i||n?(t=t.split(",")[0],e=e.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(e))):0})()+5;let e=!1;const n=({target:t})=>{t===s&&(e=!0,s.removeEventListener(R,n),c(i))};s.addEventListener(R,n),setTimeout(()=>{e||z(s)},t)}else c(i)},U=(t,e,i,n)=>{var s=t.length;let r=t.indexOf(e);return-1===r?!i&&n?t[s-1]:t[0]:(r+=i?1:-1,n&&(r=(r+s)%s),t[Math.max(0,Math.min(r,s-1))])},Y=/[^.]*(?=\..*)\.|.*/,X=/\..*/,G=/::\d+$/,K={};let Q=1;const Z={mouseenter:"mouseover",mouseleave:"mouseout"},J=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function tt(t,e){return e&&e+"::"+Q++||t.uidEvent||Q++}function et(t){var e=tt(t);return t.uidEvent=e,K[e]=K[e]||{},K[e]}function it(t,e,i=null){return Object.values(t).find(t=>t.callable===e&&t.delegationSelector===i)}function nt(t,e,i){var n="string"==typeof e,e=!n&&e||i;let s=ot(t);return[n,e,s=J.has(s)?s:t]}function st(n,s,r,o,a){if("string"==typeof s&&n){let[t,e,i]=nt(s,r,o);if(s in Z){const n=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};e=n(e)}var o=et(n),o=o[i]||(o[i]={}),l=it(o,e,t?r:null);if(l)return l.oneOff=l.oneOff&&a;var c,d,u,h,p,l=tt(e,s.replace(Y,"")),s=t?(u=n,h=r,p=e,function e(i){var n=u.querySelectorAll(h);for(let t=i["target"];t&&t!==this;t=t.parentNode)for(const s of n)if(s===t)return at(i,{delegateTarget:t}),e.oneOff&&f.off(u,i.type,h,p),p.apply(t,[i])}):(c=n,d=e,function t(e){return at(e,{delegateTarget:c}),t.oneOff&&f.off(c,e.type,d),d.apply(c,[e])});s.delegationSelector=t?r:null,s.callable=e,s.oneOff=a,o[s.uidEvent=l]=s,n.addEventListener(i,s,t)}}function rt(t,e,i,n,s){n=it(e[i],n,s);n&&(t.removeEventListener(i,n,Boolean(s)),delete e[i][n.uidEvent])}function ot(t){return t=t.replace(X,""),Z[t]||t}const f={on(t,e,i,n){st(t,e,i,n,!1)},one(t,e,i,n){st(t,e,i,n,!0)},off(t,e,i,n){if("string"==typeof e&&t){const[u,h,p]=nt(e,i,n),f=p!==e,g=et(t),m=g[p]||{},v=e.startsWith(".");if(void 0===h){if(v)for(const i of Object.keys(g)){s=void 0;r=void 0;o=void 0;a=void 0;d=void 0;l=void 0;c=void 0;var s=t;var r=g;var o=i;var a=e.slice(1);var l,c,d=r[o]||{};for([l,c]of Object.entries(d))l.includes(a)&&rt(s,r,o,c.callable,c.delegationSelector)}for(const[i,n]of Object.entries(m)){const u=i.replace(G,"");f&&!e.includes(u)||rt(t,g,p,n.callable,n.delegationSelector)}}else Object.keys(m).length&&rt(t,g,p,h,u?i:null)}},trigger(t,e,i){if("string"!=typeof e||!t)return null;var n=W();let s=null,r=!0,o=!0,a=!1;e!==ot(e)&&n&&(s=n.Event(e,i),n(t).trigger(s),r=!s.isPropagationStopped(),o=!s.isImmediatePropagationStopped(),a=s.isDefaultPrevented());n=at(new Event(e,{bubbles:r,cancelable:!0}),i);return a&&n.preventDefault(),o&&t.dispatchEvent(n),n.defaultPrevented&&s&&s.preventDefault(),n}};function at(t,e={}){for(const[i,n]of Object.entries(e))try{t[i]=n}catch(e){Object.defineProperty(t,i,{configurable:!0,get:()=>n})}return t}function lt(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function ct(t){return t.replace(/[A-Z]/g,t=>"-"+t.toLowerCase())}const d={setDataAttribute(t,e,i){t.setAttribute("data-bs-"+ct(e),i)},removeDataAttribute(t,e){t.removeAttribute("data-bs-"+ct(e))},getDataAttributes(e){if(!e)return{};var i={};for(const n of Object.keys(e.dataset).filter(t=>t.startsWith("bs")&&!t.startsWith("bsConfig"))){let t=n.replace(/^bs/,"");i[t=t.charAt(0).toLowerCase()+t.slice(1,t.length)]=lt(e.dataset[n])}return i},getDataAttribute:(t,e)=>lt(t.getAttribute("data-bs-"+ct(e)))};class dt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){var i=o(e)?d.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...o(e)?d.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(var[i,n]of Object.entries(e)){const e=t[i],r=o(e)?"element":null==(s=e)?""+s:Object.prototype.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(n).test(r))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${r}" but expected type "${n}".`)}var s}}class e extends dt{constructor(t,e){super(),(t=s(t))&&(this._element=t,this._config=this._getConfig(e),N.set(this._element,this.constructor.DATA_KEY,this))}dispose(){N.remove(this._element,this.constructor.DATA_KEY),f.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,i=!0){V(t,e,i)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return N.get(s(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.1"}static get DATA_KEY(){return"bs."+this.NAME}static get EVENT_KEY(){return"."+this.DATA_KEY}static eventName(t){return""+t+this.EVENT_KEY}}const ut=e=>{let i=e.getAttribute("data-bs-target");if(!i||"#"===i){let t=e.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t="#"+t.split("#")[1]),i=t&&"#"!==t?t.trim():null}return j(i)},u={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter(t=>t.matches(e)),parents(t,e){var i=[];let n=t.parentNode.closest(e);for(;n;)i.push(n),n=n.parentNode.closest(e);return i},prev(t,e){let i=t.previousElementSibling;for(;i;){if(i.matches(e))return[i];i=i.previousElementSibling}return[]},next(t,e){let i=t.nextElementSibling;for(;i;){if(i.matches(e))return[i];i=i.nextElementSibling}return[]},focusableChildren(t){var e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>t+':not([tabindex^="-"])').join(",");return this.find(e,t).filter(t=>!a(t)&&r(t))},getSelectorFromElement(t){t=ut(t);return t&&u.findOne(t)?t:null},getElementFromSelector(t){t=ut(t);return t?u.findOne(t):null},getMultipleElementsFromSelector(t){t=ut(t);return t?u.find(t):[]}},ht=(e,i="hide")=>{const t="click.dismiss"+e.EVENT_KEY,n=e.NAME;f.on(document,t,`[data-bs-dismiss="${n}"]`,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||(t=u.getElementFromSelector(this)||this.closest("."+n),e.getOrCreateInstance(t)[i]())})};class pt extends e{static get NAME(){return"alert"}close(){var t;f.trigger(this._element,"close.bs.alert").defaultPrevented||(this._element.classList.remove("show"),t=this._element.classList.contains("fade"),this._queueCallback(()=>this._destroyElement(),this._element,t))}_destroyElement(){this._element.remove(),f.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){var t=pt.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ht(pt,"close"),t(pt);const ft='[data-bs-toggle="button"]';class gt extends e{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){var t=gt.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}f.on(document,"click.bs.button.data-api",ft,t=>{t.preventDefault();t=t.target.closest(ft);gt.getOrCreateInstance(t).toggle()}),t(gt);const i=".bs.swipe",mt=(i,i,i,i,i,{endCallback:null,leftCallback:null,rightCallback:null}),vt={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class yt extends dt{constructor(t,e){super(),(this._element=t)&&yt.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return mt}static get DefaultType(){return vt}static get NAME(){return"swipe"}dispose(){f.off(this._element,i)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),c(this._config.endCallback)}_move(t){this._deltaX=t.touches&&1this._start(t)),f.on(this._element,"pointerup.bs.swipe",t=>this._end(t)),this._element.classList.add("pointer-event")):(f.on(this._element,"touchstart.bs.swipe",t=>this._start(t)),f.on(this._element,"touchmove.bs.swipe",t=>this._move(t)),f.on(this._element,"touchend.bs.swipe",t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||0this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?f.one(this._element,_t,()=>this.cycle()):this.cycle())}to(t){var e,i=this._getItems();t>i.length-1||t<0||(this._isSliding?f.one(this._element,_t,()=>this.to(t)):(e=this._getItemIndex(this._getActive()))!==t&&(e=ethis._keydown(t)),"hover"===this._config.pause&&(f.on(this._element,"mouseenter.bs.carousel",()=>this.pause()),f.on(this._element,"mouseleave.bs.carousel",()=>this._maybeEnableCycle())),this._config.touch&&yt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of u.find(".carousel-item img",this._element))f.on(t,"dragstart.bs.carousel",t=>t.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(p)),rightCallback:()=>this._slide(this._directionToOrder(wt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}};this._swipeHelper=new yt(this._element,t)}_keydown(t){var e;/input|textarea/i.test(t.target.tagName)||(e=Et[t.key])&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){var e;this._indicatorsElement&&((e=u.findOne(St,this._indicatorsElement)).classList.remove(Ct),e.removeAttribute("aria-current"),e=u.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement))&&(e.classList.add(Ct),e.setAttribute("aria-current","true"))}_updateInterval(){var t=this._activeElement||this._getActive();t&&(t=Number.parseInt(t.getAttribute("data-bs-interval"),10),this._config.interval=t||this._config.defaultInterval)}_slide(e,t=null){if(!this._isSliding){const i=this._getActive(),n=e===xt,s=t||U(this._getItems(),i,n,this._config.wrap);if(s!==i){const r=this._getItemIndex(s),o=t=>f.trigger(this._element,t,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:r});if(!o("slide.bs.carousel").defaultPrevented&&i&&s){t=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=s;const a=n?"carousel-item-start":"carousel-item-end",l=n?"carousel-item-next":"carousel-item-prev";s.classList.add(l),B(s),i.classList.add(a),s.classList.add(a),this._queueCallback(()=>{s.classList.remove(a,l),s.classList.add(Ct),i.classList.remove(Ct,l,a),this._isSliding=!1,o(_t)},i,this._isAnimated()),t&&this.cycle()}}}}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return u.findOne(".active.carousel-item",this._element)}_getItems(){return u.find(Tt,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return l()?t===p?h:xt:t===p?xt:h}_orderToDirection(t){return l()?t===h?p:wt:t===h?wt:p}static jQueryInterface(e){return this.each(function(){var t=Ot.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}f.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",function(t){var e=u.getElementFromSelector(this);e&&e.classList.contains(kt)&&(t.preventDefault(),t=Ot.getOrCreateInstance(e),(e=this.getAttribute("data-bs-slide-to"))?t.to(e):"next"===d.getDataAttribute(this,"slide")?t.next():t.prev(),t._maybeEnableCycle())}),f.on(window,"load.bs.carousel.data-api",()=>{for(const t of u.find('[data-bs-ride="carousel"]'))Ot.getOrCreateInstance(t)}),t(Ot);const Mt="show",g="collapse",Pt="collapsing",Lt=(g,g,'[data-bs-toggle="collapse"]'),It={parent:null,toggle:!0},$t={parent:"(null|element)",toggle:"boolean"};class Nt extends e{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const i=u.find(Lt);for(const t of i){const e=u.getSelectorFromElement(t),i=u.find(e).filter(t=>t===this._element);null!==e&&i.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return It}static get DefaultType(){return $t}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(!this._isTransitioning&&!this._isShown()){let t=[];if(!((t=this._config.parent?this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(t=>t!==this._element).map(t=>Nt.getOrCreateInstance(t,{toggle:!1})):t).length&&t[0]._isTransitioning||f.trigger(this._element,"show.bs.collapse").defaultPrevented)){for(const i of t)i.hide();const i=this._getDimension();this._element.classList.remove(g),this._element.classList.add(Pt),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var e="scroll"+(i[0].toUpperCase()+i.slice(1));this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Pt),this._element.classList.add(g,Mt),this._element.style[i]="",f.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[i]=this._element[e]+"px"}}}hide(){if(!this._isTransitioning&&this._isShown()&&!f.trigger(this._element,"hide.bs.collapse").defaultPrevented){const e=this._getDimension();this._element.style[e]=this._element.getBoundingClientRect()[e]+"px",B(this._element),this._element.classList.add(Pt),this._element.classList.remove(g,Mt);for(const e of this._triggerArray){var t=u.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(Pt),this._element.classList.add(g),f.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}}_isShown(t=this._element){return t.classList.contains(Mt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=s(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(this._config.parent){const t=this._getFirstLevelChildren(Lt);for(const e of t){const t=u.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}}_getFirstLevelChildren(t){const e=u.find(":scope .collapse .collapse",this._config.parent);return u.find(t,this._config.parent).filter(t=>!e.includes(t))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const i of t)i.classList.toggle("collapsed",!e),i.setAttribute("aria-expanded",e)}static jQueryInterface(e){const i={};return"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),this.each(function(){var t=Nt.getOrCreateInstance(this,i);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}f.on(document,"click.bs.collapse.data-api",Lt,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of u.getMultipleElementsFromSelector(this))Nt.getOrCreateInstance(t,{toggle:!1}).toggle()}),t(Nt);var E="top",A="bottom",D="right",O="left",Rt="auto",M=[E,A,D,O],P="start",b="end",jt="clippingParents",zt="viewport",Ft="popper",Ht="reference",Bt=M.reduce(function(t,e){return t.concat([e+"-"+P,e+"-"+b])},[]),Wt=[].concat(M,[Rt]).reduce(function(t,e){return t.concat([e,e+"-"+P,e+"-"+b])},[]),qt="beforeRead",Vt="afterRead",Ut="beforeMain",Yt="afterMain",Xt="beforeWrite",Gt="afterWrite",Kt=[qt,"read",Vt,Ut,"main",Yt,Xt,"write",Gt];function m(t){return t?(t.nodeName||"").toLowerCase():null}function x(t){var e;return null==t?window:"[object Window]"!==t.toString()?(e=t.ownerDocument)&&e.defaultView||window:t}function v(t){return t instanceof x(t).Element||t instanceof Element}function y(t){return t instanceof x(t).HTMLElement||t instanceof HTMLElement}function Qt(t){return"undefined"!=typeof ShadowRoot&&(t instanceof x(t).ShadowRoot||t instanceof ShadowRoot)}var Zt={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var s=t.state;Object.keys(s.elements).forEach(function(t){var e=s.styles[t]||{},i=s.attributes[t]||{},n=s.elements[t];y(n)&&m(n)&&(Object.assign(n.style,e),Object.keys(i).forEach(function(t){var e=i[t];!1===e?n.removeAttribute(t):n.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var n=t.state,s={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,s.popper),n.styles=s,n.elements.arrow&&Object.assign(n.elements.arrow.style,s.arrow),function(){Object.keys(n.elements).forEach(function(t){var e=n.elements[t],i=n.attributes[t]||{},t=Object.keys((n.styles.hasOwnProperty(t)?n.styles:s)[t]).reduce(function(t,e){return t[e]="",t},{});y(e)&&m(e)&&(Object.assign(e.style,t),Object.keys(i).forEach(function(t){e.removeAttribute(t)}))})}},requires:["computeStyles"]};function L(t){return t.split("-")[0]}var T=Math.max,Jt=Math.min,te=Math.round;function ee(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ie(){return!/^((?!chrome|android).)*safari/i.test(ee())}function ne(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),s=1,r=1,e=(e&&y(t)&&(s=0c[C]&&(k=we(k)),we(k)),C=[];if(n&&C.push(S[w]<=0),s&&C.push(S[k]<=0,S[_]<=0),C.every(function(t){return t})){y=x,v=!1;break}d.set(x,C)}if(v)for(var T=g?3:1;0Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){var t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return!this._inNavbar&&"static"!==this._config.display||(d.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...c(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){var i=u.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(t=>r(t));i.length&&U(i,e,t===Ke,!i.includes(e)).focus()}static jQueryInterface(e){return this.each(function(){var t=C.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(t){if(2!==t.button&&("keyup"!==t.type||"Tab"===t.key)){const n=u.find('[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled).show');for(const s of n){const n=C.getInstance(s);var e,i;n&&!1!==n._config.autoClose&&(e=(i=t.composedPath()).includes(n._menu),i.includes(n._element)||"inside"===n._config.autoClose&&!e||"outside"===n._config.autoClose&&e||n._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName))||(i={relatedTarget:n._element},"click"===t.type&&(i.clickEvent=t),n._completeHide(i)))}}}static dataApiKeydownHandler(t){var e=/input|textarea/i.test(t.target.tagName),i="Escape"===t.key,n=["ArrowUp",Ke].includes(t.key);!n&&!i||e&&!i||(t.preventDefault(),e=this.matches(k)?this:u.prev(this,k)[0]||u.next(this,k)[0]||u.findOne(k,t.delegateTarget.parentNode),i=C.getOrCreateInstance(e),n?(t.stopPropagation(),i.show(),i._selectMenuItem(t)):i._isShown()&&(t.stopPropagation(),i.hide(),e.focus()))}}f.on(document,Ze,k,C.dataApiKeydownHandler),f.on(document,Ze,ti,C.dataApiKeydownHandler),f.on(document,Qe,C.clearMenus),f.on(document,"keyup.bs.dropdown.data-api",C.clearMenus),f.on(document,Qe,k,function(t){t.preventDefault(),C.getOrCreateInstance(this).toggle()}),t(C);const ci="backdrop",di="mousedown.bs."+ci,ui={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},hi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class pi extends dt{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return ui}static get DefaultType(){return hi}static get NAME(){return ci}show(t){var e;this._config.isVisible?(this._append(),e=this._getElement(),this._config.isAnimated&&B(e),e.classList.add("show"),this._emulateAnimation(()=>{c(t)})):c(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),c(t)})):c(t)}dispose(){this._isAppended&&(f.off(this._element,di),this._element.remove(),this._isAppended=!1)}_getElement(){var t;return this._element||((t=document.createElement("div")).className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t),this._element}_configAfterMerge(t){return t.rootElement=s(t.rootElement),t}_append(){var t;this._isAppended||(t=this._getElement(),this._config.rootElement.append(t),f.on(t,di,()=>{c(this._config.clickCallback)}),this._isAppended=!0)}_emulateAnimation(t){V(t,this._getElement(),this._config.isAnimated)}}const fi=".bs.focustrap",gi=(fi,fi,"backward"),mi={autofocus:!0,trapElement:null},vi={autofocus:"boolean",trapElement:"element"};class yi extends dt{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return mi}static get DefaultType(){return vi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),f.off(document,fi),f.on(document,"focusin.bs.focustrap",t=>this._handleFocusin(t)),f.on(document,"keydown.tab.bs.focustrap",t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,f.off(document,fi))}_handleFocusin(t){var e=this._config["trapElement"];t.target===document||t.target===e||e.contains(t.target)||(0===(t=u.focusableChildren(e)).length?e:this._lastTabNavDirection===gi?t[t.length-1]:t[0]).focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?gi:"forward")}}const bi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",xi=".sticky-top",wi="padding-right",_i="margin-right";class ki{constructor(){this._element=document.body}getWidth(){var t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,wi,t=>t+e),this._setElementAttributes(bi,wi,t=>t+e),this._setElementAttributes(xi,_i,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,wi),this._resetElementAttributes(bi,wi),this._resetElementAttributes(xi,_i)}isOverflowing(){return 0{var e;t!==this._element&&window.innerWidth>t.clientWidth+s||(this._saveInitialAttribute(t,i),e=window.getComputedStyle(t).getPropertyValue(i),t.style.setProperty(i,n(Number.parseFloat(e))+"px"))})}_saveInitialAttribute(t,e){var i=t.style.getPropertyValue(e);i&&d.setDataAttribute(t,e,i)}_resetElementAttributes(t,i){this._applyManipulationCallback(t,t=>{var e=d.getDataAttribute(t,i);null!==e?(d.removeDataAttribute(t,i),t.style.setProperty(i,e)):t.style.removeProperty(i)})}_applyManipulationCallback(t,e){if(o(t))e(t);else for(const i of u.find(t,this._element))e(i)}}const S=".bs.modal",Ci=(S,S,"hidden"+S),Si="show"+S,Ti=(S,S,S,S,S,S,"modal-open"),Ei="modal-static",Ai={backdrop:!0,focus:!0,keyboard:!0},Di={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Oi extends e{constructor(t,e){super(t,e),this._dialog=u.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new ki,this._addEventListeners()}static get Default(){return Ai}static get DefaultType(){return Di}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||f.trigger(this._element,Si,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ti),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||f.trigger(this._element,"hide.bs.modal").defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){f.off(window,S),f.off(this._dialog,S),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new pi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new yi({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;var e=u.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),B(this._element),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,f.trigger(this._element,"shown.bs.modal",{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.modal",t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),f.on(window,"resize.bs.modal",()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),f.on(this._element,"mousedown.dismiss.bs.modal",e=>{f.one(this._element,"click.dismiss.bs.modal",t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Ti),this._resetAdjustments(),this._scrollBar.reset(),f.trigger(this._element,Ci)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(!f.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Ei)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ei),this._queueCallback(()=>{this._element.classList.remove(Ei),this._queueCallback(()=>{this._element.style.overflowY=e},this._dialog)},this._dialog),this._element.focus())}}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=0{t.defaultPrevented||f.one(e,Ci,()=>{r(this)&&this.focus()})});t=u.findOne(".modal.show");t&&Oi.getInstance(t).hide(),Oi.getOrCreateInstance(e).toggle(this)}),ht(Oi),t(Oi);const Mi=".bs.offcanvas",Pi="showing",Li=".offcanvas.show",Ii="hidePrevented"+Mi,$i="hidden"+Mi,Ni={backdrop:!0,keyboard:!0,scroll:!1},Ri={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class I extends e{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Ni}static get DefaultType(){return Ri}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||f.trigger(this._element,"show.bs.offcanvas",{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new ki).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Pi),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(Pi),f.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:t})},this._element,!0))}hide(){!this._isShown||f.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new ki).reset(),f.trigger(this._element,$i)},this._element,!0))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){var t=Boolean(this._config.backdrop);return new pi({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():f.trigger(this._element,Ii)}:null})}_initializeFocusTrap(){return new yi({trapElement:this._element})}_addEventListeners(){f.on(this._element,"keydown.dismiss.bs.offcanvas",t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():f.trigger(this._element,Ii))})}static jQueryInterface(e){return this.each(function(){var t=I.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}f.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(t){var e=u.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||(f.one(e,$i,()=>{r(this)&&this.focus()}),(t=u.findOne(Li))&&t!==e&&I.getInstance(t).hide(),I.getOrCreateInstance(e).toggle(this))}),f.on(window,"load.bs.offcanvas.data-api",()=>{for(const t of u.find(Li))I.getOrCreateInstance(t).show()}),f.on(window,"resize.bs.offcanvas",()=>{for(const t of u.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&I.getOrCreateInstance(t).hide()}),ht(I),t(I);const ji={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},zi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Fi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Hi={allowList:ji,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},Bi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Wi={entry:"(string|element|function|null)",selector:"(string|element)"};class qi extends dt{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return Hi}static get DefaultType(){return Bi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return 0{const i=t.nodeName.toLowerCase();return e.includes(i)?!zi.has(i)||Boolean(Fi.test(t.nodeValue)):e.filter(t=>t instanceof RegExp).some(t=>t.test(i))})(i,r)||e.removeAttribute(i.nodeName)}else e.remove()}return s.body.innerHTML}return t}_resolvePossibleFunction(t){return c(t,[this])}_putElementInTemplate(t,e){this._config.html?(e.innerHTML="",e.append(t)):e.textContent=t.textContent}}const Vi=new Set(["sanitize","allowList","sanitizeFn"]),Ui="fade",Yi="show",Xi="hide.bs.modal",Gi="hover",Ki="focus",Qi={AUTO:"auto",TOP:"top",RIGHT:l()?"left":"right",BOTTOM:"bottom",LEFT:l()?"right":"left"},Zi={allowList:ji,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},Ji={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class tn extends e{constructor(t,e){if(void 0===Ue)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Zi}static get DefaultType(){return Ji}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),f.off(this._element.closest(".modal"),Xi,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),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){const i=f.trigger(this._element,this.constructor.eventName("show")),n=(F(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(!i.defaultPrevented&&n){this._disposePopper();var t=this._getTipElement(),e=(this._element.setAttribute("aria-describedby",t.getAttribute("id")),this._config)["container"];if(this._element.ownerDocument.documentElement.contains(this.tip)||(e.append(t),f.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(t),t.classList.add(Yi),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))f.on(i,"mouseover",H);this._queueCallback(()=>{f.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}}}hide(){if(this._isShown()&&!f.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(Yi),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))f.off(t,"mouseover",H);this._activeTrigger.click=!1,this._activeTrigger[Ki]=!1,this._activeTrigger[Gi]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),f.trigger(this._element,this.constructor.eventName("hidden")))},this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){t=this._getTemplateFactory(t).toHtml();if(!t)return null;t.classList.remove(Ui,Yi),t.classList.add(`bs-${this.constructor.NAME}-auto`);var e=(t=>{for(;t+=Math.floor(1e6*Math.random()),document.getElementById(t););return t})(this.constructor.NAME).toString();return t.setAttribute("id",e),this._isAnimated()&&t.classList.add(Ui),t}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new qi({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ui)}_isShown(){return this.tip&&this.tip.classList.contains(Yi)}_createPopper(t){var e=c(this._config.placement,[this,t,this._element]),e=Qi[e.toUpperCase()];return Ve(this._element,t,this._getPopperConfig(e))}_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 c(t,[this._element])}_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:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...t,...c(this._config.popperConfig,[t])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)f.on(this._element,this.constructor.eventName("click"),this._config.selector,t=>{this._initializeOnDelegatedTarget(t).toggle()});else if("manual"!==e){const t=e===Gi?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),i=e===Gi?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");f.on(this._element,t,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Ki:Gi]=!0,e._enter()}),f.on(this._element,i,this._config.selector,t=>{var e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Ki:Gi]=e._element.contains(t.relatedTarget),e._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},f.on(this._element.closest(".modal"),Xi,this._hideModalHandler)}_fixTitle(){var t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){var e=d.getDataAttributes(this._element);for(const t of Object.keys(e))Vi.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:s(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()),t}_getDelegateConfig(){var t,e,i={};for([t,e]of Object.entries(this._config))this.constructor.Default[t]!==e&&(i[t]=e);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){var t=tn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t(tn);const en={...tn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},nn={...tn.DefaultType,content:"(null|string|element|function)"};class sn extends tn{static get Default(){return en}static get DefaultType(){return nn}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){var t=sn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}t(sn);const rn=".bs.scrollspy",on="click"+rn,an="active",ln="[href]",cn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},dn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class un extends e{constructor(t,e){super(t,e),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return cn}static get DefaultType(){return dn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=s(t.target)||document.body,t.rootMargin=t.offset?t.offset+"px 0px -30%":t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map(t=>Number.parseFloat(t))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(f.off(this._config.target,on),f.on(this._config.target,on,ln,t=>{var e=this._observableSections.get(t.target.hash);e&&(t.preventDefault(),t=this._rootElement||window,e=e.offsetTop-this._element.offsetTop,t.scrollTo?t.scrollTo({top:e,behavior:"smooth"}):t.scrollTop=e)}))}_getNewObserver(){var t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),t)}_observerCallback(t){const e=t=>this._targetLinks.get("#"+t.target.id),i=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const r of t)if(r.isIntersecting){const t=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&t){if(i(r),!n)return}else s||t||i(r)}else this._activeTarget=null,this._clearActiveClass(e(r))}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=u.find(ln,this._config.target);for(const e of t)if(e.hash&&!a(e)){const t=u.findOne(decodeURI(e.hash),this._element);r(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),(this._activeTarget=t).classList.add(an),this._activateParents(t),f.trigger(this._element,"activate.bs.scrollspy",{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))u.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(an);else for(const e of u.parents(t,".nav, .list-group"))for(const t of u.prev(e,".nav-link, .nav-item > .nav-link, .list-group-item"))t.classList.add(an)}_clearActiveClass(t){t.classList.remove(an);var e=u.find(ln+"."+an,t);for(const t of e)t.classList.remove(an)}static jQueryInterface(e){return this.each(function(){var t=un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}f.on(window,"load.bs.scrollspy.data-api",()=>{for(const t of u.find('[data-bs-spy="scroll"]'))un.getOrCreateInstance(t)}),t(un);const hn="ArrowRight",pn="ArrowDown",fn="Home",$="active",gn="show",mn=":not(.dropdown-toggle)",vn='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',yn=`.nav-link${mn}, .list-group-item${mn}, [role="tab"]${mn}, `+vn;$,$,$;class bn extends e{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),f.on(this._element,"keydown.bs.tab",t=>this._keydown(t)))}static get NAME(){return"tab"}show(){var t,e,i=this._element;this._elemIsActive(i)||(e=(t=this._getActiveElem())?f.trigger(t,"hide.bs.tab",{relatedTarget:i}):null,f.trigger(i,"show.bs.tab",{relatedTarget:t}).defaultPrevented)||e&&e.defaultPrevented||(this._deactivate(t,i),this._activate(i,t))}_activate(t,e){t&&(t.classList.add($),this._activate(u.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),f.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add(gn)},t,t.classList.contains("fade")))}_deactivate(t,e){t&&(t.classList.remove($),t.blur(),this._deactivate(u.getElementFromSelector(t)),this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),f.trigger(t,"hidden.bs.tab",{relatedTarget:e})):t.classList.remove(gn)},t,t.classList.contains("fade")))}_keydown(e){if(["ArrowLeft",hn,"ArrowUp",pn,fn,"End"].includes(e.key)){e.stopPropagation(),e.preventDefault();var i,n=this._getChildren().filter(t=>!a(t));let t;(t=[fn,"End"].includes(e.key)?n[e.key===fn?0:n.length-1]:(i=[hn,pn].includes(e.key),U(n,e.target,i,!0)))&&(t.focus({preventScroll:!0}),bn.getOrCreateInstance(t).show())}}_getChildren(){return u.find(yn,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);var e=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",e),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){var e=u.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id)&&this._setAttributeIfNotExists(e,"aria-labelledby",""+t.id)}_toggleDropDown(t,i){const n=this._getOuterElement(t);n.classList.contains("dropdown")&&((t=(t,e)=>{t=u.findOne(t,n);t&&t.classList.toggle(e,i)})(".dropdown-toggle",$),t(".dropdown-menu",gn),n.setAttribute("aria-expanded",i))}_setAttributeIfNotExists(t,e,i){t.hasAttribute(e)||t.setAttribute(e,i)}_elemIsActive(t){return t.classList.contains($)}_getInnerElement(t){return t.matches(yn)?t:u.findOne(yn,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(e){return this.each(function(){var t=bn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}f.on(document,"click.bs.tab",vn,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),a(this)||bn.getOrCreateInstance(this).show()}),f.on(window,"load.bs.tab",()=>{for(const t of u.find('.active[data-bs-toggle="tab"], .active[data-bs-toggle="pill"], .active[data-bs-toggle="list"]'))bn.getOrCreateInstance(t)}),t(bn);const xn="show",wn="showing",_n={animation:"boolean",autohide:"boolean",delay:"number"},kn={animation:!0,autohide:!0,delay:5e3};class Cn extends e{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return kn}static get DefaultType(){return _n}static get NAME(){return"toast"}show(){f.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),B(this._element),this._element.classList.add(xn,wn),this._queueCallback(()=>{this._element.classList.remove(wn),f.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){!this.isShown()||f.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(wn),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(wn,xn),f.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(xn),super.dispose()}isShown(){return this._element.classList.contains(xn)}_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(){f.on(this._element,"mouseover.bs.toast",t=>this._onInteraction(t,!0)),f.on(this._element,"mouseout.bs.toast",t=>this._onInteraction(t,!1)),f.on(this._element,"focusin.bs.toast",t=>this._onInteraction(t,!0)),f.on(this._element,"focusout.bs.toast",t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){var t=Cn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return ht(Cn),t(Cn),{Alert:pt,Button:gt,Carousel:Ot,Collapse:Nt,Dropdown:C,Modal:Oi,Offcanvas:I,Popover:sn,ScrollSpy:un,Tab:bn,Toast:Cn,Tooltip:tn}});var NioApp=function(o,_){"use strict";var e=_(window),s=_("body"),t="lite-dash";function a(e,i){return Object.keys(i).forEach(function(t){e[t]=i[t]}),e}return _.fn.exists=function(){return 0>16&255,t>>8&255,255&t].join(","),1<=e?"rgba("+t+")":"rgba("+t+","+e+")";throw new Error("bad hex")},o.StateUpdate=function(){o.Win={height:e.height(),width:e.outerWidth()},o.State.asMobile=o.Win.width'):this.overlayRemove(e)},overlayRemove:function(t){_("."+t).fadeOut(300).remove()},dropMenu:function(t,e){var i={active:"active",self:"link-toggle",child:"menu-sub",speed:400},e=e?a(i,e):i,t=(i=_(t).parent()).children("."+e.child);e.speed=5 *`),s=i.querySelectorAll(`.${e.selectors.content} > *`),r=(i.querySelector("."+e.selectors.progress),i.querySelector(`.${e.selectors.progress}-count`)),o=i.querySelector(`.${e.selectors.progress}-bar`),a=i.querySelector("."+e.selectors.prev),l=i.querySelector("."+e.selectors.next),c=i.querySelector("."+e.selectors.submit),d=e.classes.nav_current,u=e.classes.nav_done,h=e.classes.step_active,p=e.classes.step_done,f=e.current_step||1,g=f,m=n.length,v=s.length,y=0s;)!y(n,i=e[s++])||~Be(r,i)||We(r,i);return r}function Le(t,e){return(t=Ze[Qe(t)])==ti||t!=Je&&(_(e)?l(e):!!e)}function C(t,e){var i,n,s,r,o=t.target,a=t.global,l=t.stat;if(i=a?v:l?v[o]||j(o,{}):(v[o]||{}).prototype)for(n in e){if(s=e[n],r=t.dontCallGetSet?(r=ii(i,n))&&r.value:i[n],!ei(a?n:o+(l?".":"#")+n,t.forced)&&void 0!==r){if(typeof s==typeof r)continue;for(var c=s,d=r,u=m=g=f=p=h=void 0,h=Ge(d),p=b.f,f=ze.f,g=0;g>>0||(ui(di,t)?16:10))}:li,hi=(C({global:!0,forced:parseInt!=T},{parseInt:T}),Object.keys||function(t){return Pe(t,qe)}),pi=Object.assign,fi=Object.defineProperty,gi=d([].concat),r=!pi||l(function(){var t,e,i;return h&&1!==pi({b:1},pi(fi({},"a",{enumerable:!0,get:function(){fi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b||(e={},(t={})[i=Symbol()]=7,"abcdefghijklmnopqrst".split("").forEach(function(t){e[t]=t}),7!=pi({},t)[i])||"abcdefghijklmnopqrst"!=hi(pi({},e)).join("")})?function(t,e){for(var i=F(t),n=arguments.length,s=1,r=Ye.f,o=Re.f;s"+t+"<\/script>"},Si=function(){try{xi=new ActiveXObject("htmlfile")}catch(t){}var t,e;Si="undefined"==typeof document||document.domain&&xi?bi(xi):((e=W("iframe")).style.display="none",_i.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Ci("document.F=Object")),t.close(),t.F);for(var i=qe.length;i--;)delete Si.prototype[qe[i]];return Si()},Ti=(Qt[ki]=!0,Object.create||function(t,e){var i;return null!==t?(yi.prototype=k(t),i=new yi,yi.prototype=null,i[ki]=t):i=Si(),void 0===e?i:wi.f(i,e)}),r=b.f,Ei=c("unscopables"),Ai=Array.prototype;null==Ai[Ei]&&r(Ai,Ei,{configurable:!0,value:Ti(null)});function Di(t){Ai[Ei][t]=!0}function Oi(t,e,i){(t=t&&!i?t.prototype:t)&&!y(t,Bi)&&Hi(t,Bi,{configurable:!0,value:e})}function Mi(){return this}function Pi(){return this}function Li(t,e,i,n,s,r,o){function a(t){if(t===s&&f)return f;if(!Ki&&t in h)return h[t];switch(t){case"keys":case"values":case"entries":return function(){return new i(this,t)}}return function(){return new i(this)}}l=e+" Iterator",(g=i).prototype=Ti(Wi,{next:V(1,n)}),Oi(g,l,!1),$i[l]=Mi;var l,c,d,n=e+" Iterator",u=!1,h=t.prototype,p=h[Qi]||h["@@iterator"]||s&&h[s],f=!Ki&&p||a(s),g="Array"==e&&h.entries||p;if(g&&(l=zi(g.call(new t)))!==Object.prototype&&l.next&&(zi(l)!==Gi&&(Ui?Ui(l,Gi):_(l[Qi])||w(l,Qi,Pi)),Oi(l,n,!0)),Yi&&"values"==s&&p&&"values"!==p.name&&(Xi?x(h,"name","values"):(u=!0,f=function(){return m(p,this)})),s)if(c={values:a("values"),keys:r?f:a("keys"),entries:a("entries")},o)for(d in c)!Ki&&!u&&d in h||w(h,d,c[d]);else C({target:e,proto:!0,forced:Ki||u},c);return h[Qi]!==f&&w(h,Qi,f,{name:s}),$i[e]=f,c}var Ii,$i={},T=!l(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Ni=Pt("IE_PROTO"),Ri=v.Object,ji=Ri.prototype,zi=T?Ri.getPrototypeOf:function(t){var e,t=F(t);return y(t,Ni)?t[Ni]:(e=t.constructor,_(e)&&t instanceof e?e.prototype:t instanceof Ri?ji:null)},Fi=c("iterator"),e=!1,r=([].keys&&("next"in(r=[].keys())?(T=zi(zi(r)))!==Object.prototype&&(Ii=T):e=!0),null!=Ii&&!l(function(){var t={};return Ii[Fi].call(t)!==t})||(Ii={}),_(Ii[Fi])||w(Ii,Fi,function(){return this}),{IteratorPrototype:Ii,BUGGY_SAFARI_ITERATORS:e}),Hi=b.f,Bi=c("toStringTag"),Wi=r.IteratorPrototype,qi=v.String,Vi=v.TypeError,Ui=Object.setPrototypeOf||("__proto__"in{}?function(){var n,s=!1,t={};try{(n=d(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(t,[]),s=t instanceof Array}catch(n){}return function(t,e){k(t);var i=e;if("object"==typeof i||_(i))return s?n(t,e):t.__proto__=e,t;throw Vi("Can't set "+qi(i)+" as a prototype")}}():void 0),Yi=Ot.PROPER,Xi=Ot.CONFIGURABLE,Gi=r.IteratorPrototype,Ki=r.BUGGY_SAFARI_ITERATORS,Qi=c("iterator"),T=b.f,Zi=g.set,Ji=g.getterFor("Array Iterator"),tn=Li(Array,"Array",function(t,e){Zi(this,{type:"Array Iterator",target:De(t),index:0,kind:e})},function(){var t=Ji(this),e=t.target,i=t.kind,n=t.index++;return!e||n>=e.length?{value:t.target=void 0,done:!0}:"keys"==i?{value:n,done:!1}:"values"==i?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values"),e=$i.Arguments=$i.Array;if(Di("keys"),Di("values"),Di("entries"),h&&"values"!==e.name)try{T(e,"name",{value:"values"})}catch(t){}function en(s){return function(t,e){var i,t=S(z(t)),e=fe(e),n=t.length;return e<0||n<=e?s?"":void 0:(i=dn(t,e))<55296||56319=e.length?{value:void 0,done:!0}:(e=hn(e,i),t.index+=e.length,{value:e,done:!1})}),v.Array),mn=Math.max,vn=Ue.f,yn="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],bn={f:function(t){if(!yn||"Window"!=p(t))return vn(De(t));var e=t;try{return vn(e)}catch(e){for(var i,n,s,r=yn,t=It(r),o=Oe(void 0,t),a=Oe(t,t),l=gn(mn(a-o,0)),c=0;oi?e.activeTargets:e.skippedTargets).push(t)})})},Mr=[],Pr=0,Lr={attributes:!0,characterData:!0,childList:!0,subtree:!0},Ir=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],$r=!1,Nr=(Ur.prototype.run=function(e){var i,t,n,s,r,o=this;void 0===e&&(e=250),$r||($r=!0,i=hr(e),t=function(){var t=!1;try{t=function(){var t,e=0;for(Or(e);sr.some(function(t){return 0b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}),io=g.get,no=Y("native-string-replace",String.prototype.replace),so=RegExp.prototype.exec,ro=so,oo=d("".charAt),ao=d("".indexOf),lo=d("".replace),co=d("".slice),uo=(O=/b*/g,m(so,M=/a/,"a"),m(so,O,"a"),0!==M.lastIndex||0!==O.lastIndex),ho=T.BROKEN_CARET,po=void 0!==/()??/.exec("")[1],fo=ro=uo||po||ho||In||o?function(t){var e,i,n,s,r,o,a=this,l=io(a),t=S(t),c=l.raw;if(c)return c.lastIndex=a.lastIndex,u=m(ro,c,t),a.lastIndex=c.lastIndex,u;var d=l.groups,c=ho&&a.sticky,u=m(Xr,a),l=a.source,h=0,p=t;if(c&&(u=lo(u,"y",""),-1===ao(u,"g")&&(u+="g"),p=co(t,a.lastIndex),0]*>)/g,Oo=/\$([$&'`]|\d{1,2})/g,Mo=c("replace"),Po=Math.max,Lo=Math.min,Io=d([].concat),$o=d([].push),No=d("".indexOf),Ro=d("".slice),Y="$0"==="a".replace(/./,"$0"),jo=!!/./[Mo]&&""===/./[Mo]("a","$0");Gr("replace",function(t,b,x){var w=jo?"$":"$0";return[function(t,e){var i=z(this),n=null==t?void 0:kt(t,Mo);return n?m(n,t,i,e):m(b,S(i),t,e)},function(t,e){var i=k(this),n=S(t);if("string"==typeof e&&-1===No(e,w)&&-1===No(e,"$<")){t=x(b,i,n,e);if(t.done)return t.value}var s,r=_(e),o=(r||(e=S(e)),i.global);o&&(s=i.unicode,i.lastIndex=0);for(var a=[];;){var l=Qr(i,n);if(null===l)break;if($o(a,l),!o)break;""===S(l[0])&&(i.lastIndex=Kr(n,me(i.lastIndex),s))}for(var c,d="",u=0,h=0;h")})||!Y||jo);function zo(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:window}function Fo(t){return t&&t.ownerDocument?t.ownerDocument:document}var Ho=null,Bo=null;function Wo(t){if(null===Ho){t=Fo(t);if(void 0===t)return Ho=0;var e=t.body,t=t.createElement("div"),i=(t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t),t.getBoundingClientRect().right);e.removeChild(t),Ho=i}return Ho}$e&&window.addEventListener("resize",function(){Bo!==window.devicePixelRatio&&(Bo=window.devicePixelRatio,Ho=null)});$.getRtlHelpers=function(){var t=document.createElement("div"),t=(t.innerHTML='
',t.firstElementChild),e=(document.body.appendChild(t),t.firstElementChild),i=(t.scrollLeft=0,$.getOffset(t)),n=$.getOffset(e),t=(t.scrollLeft=999,$.getOffset(e));return{isRtlScrollingInverted:i.left!==n.left&&n.left-t.left!=0,isRtlScrollbarInverted:i.left!==n.left}},$.getOffset=function(t){var e=t.getBoundingClientRect(),i=Fo(t),t=zo(t);return{top:e.top+(t.pageYOffset||i.documentElement.scrollTop),left:e.left+(t.pageXOffset||i.documentElement.scrollLeft)}},(M=$.prototype).init=function(){$.instances.set(this.el,this),$e&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},M.initDOM=function(){var t,e,i=this;if(Array.prototype.filter.call(this.el.children,function(t){return t.classList.contains(i.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}this.axis.x.track.el&&this.axis.y.track.el||(t=document.createElement("div"),e=document.createElement("div"),t.classList.add(this.classNames.track),e.classList.add(this.classNames.scrollbar),t.appendChild(e),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)),this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},M.setAccessibilityAttributes=function(){var t=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",t)},M.initListeners=function(){var e=this,t=zo(this.el),i=(this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(t){e.el.addEventListener(t,e.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(t){e.el.addEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),t.addEventListener("resize",this.onWindowResize),!1),n=null,s=t.ResizeObserver||Fr;this.resizeObserver=new s(function(){i&&null===n&&(n=t.requestAnimationFrame(function(){e.recalculate(),n=null}))}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),t.requestAnimationFrame(function(){i=!0}),this.mutationObserver=new t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},M.recalculate=function(){var t=zo(this.el),t=(this.elStyles=t.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction,this.heightAutoObserverEl.offsetHeight<=1),e=this.heightAutoObserverEl.offsetWidth<=1,i=this.contentEl.offsetWidth,n=this.contentWrapperEl.offsetWidth,s=this.elStyles.overflowX,r=this.elStyles.overflowY,o=(this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft,this.contentEl.scrollHeight),a=this.contentEl.scrollWidth,t=(this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=e?i+"px":"auto",this.placeholderEl.style.height=o+"px",this.contentWrapperEl.offsetHeight),e=(this.axis.x.isOverflowing=i=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},M.findChild=function(t,e){var i=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(t){return i.call(t,e)})[0]};var I=$;function $(t,e){var o=this;this.onScroll=function(){var t=zo(o.el);o.scrollXTicking||(t.requestAnimationFrame(o.scrollX),o.scrollXTicking=!0),o.scrollYTicking||(t.requestAnimationFrame(o.scrollY),o.scrollYTicking=!0)},this.scrollX=function(){o.axis.x.isOverflowing&&(o.showScrollbar("x"),o.positionScrollbar("x")),o.scrollXTicking=!1},this.scrollY=function(){o.axis.y.isOverflowing&&(o.showScrollbar("y"),o.positionScrollbar("y")),o.scrollYTicking=!1},this.onMouseEnter=function(){o.showScrollbar("x"),o.showScrollbar("y")},this.onMouseMove=function(t){o.mouseX=t.clientX,o.mouseY=t.clientY,(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseMoveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseMoveForAxis("y")},this.onMouseLeave=function(){o.onMouseMove.cancel(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseLeaveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseLeaveForAxis("y"),o.mouseX=-1,o.mouseY=-1},this.onWindowResize=function(){o.scrollbarWidth=o.getScrollbarWidth(),o.hideNativeScrollbar()},this.hideScrollbars=function(){o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.track.rect)||(o.axis.y.scrollbar.el.classList.remove(o.classNames.visible),o.axis.y.isVisible=!1),o.isWithinBounds(o.axis.x.track.rect)||(o.axis.x.scrollbar.el.classList.remove(o.classNames.visible),o.axis.x.isVisible=!1)},this.onPointerEvent=function(t){var e,i;o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&(e=o.isWithinBounds(o.axis.x.track.rect)),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&(i=o.isWithinBounds(o.axis.y.track.rect)),(e||i)&&(t.preventDefault(),t.stopPropagation(),"mousedown"===t.type)&&(e&&(o.axis.x.scrollbar.rect=o.axis.x.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.x.scrollbar.rect)?o.onDragStart(t,"x"):o.onTrackClick(t,"x")),i)&&(o.axis.y.scrollbar.rect=o.axis.y.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.scrollbar.rect)?o.onDragStart(t,"y"):o.onTrackClick(t,"y"))},this.drag=function(t){var e=o.axis[o.draggedAxis].track,i=e.rect[o.axis[o.draggedAxis].sizeAttr],n=o.axis[o.draggedAxis].scrollbar,s=o.contentWrapperEl[o.axis[o.draggedAxis].scrollSizeAttr],r=parseInt(o.elStyles[o.axis[o.draggedAxis].sizeAttr],10),t=(t.preventDefault(),t.stopPropagation(),(("y"===o.draggedAxis?t.pageY:t.pageX)-e.rect[o.axis[o.draggedAxis].offsetAttr]-o.axis[o.draggedAxis].dragOffset)/(i-n.size)*(s-r));"x"===o.draggedAxis&&(t=o.isRtl&&$.getRtlHelpers().isRtlScrollbarInverted?t-(i+n.size):t,t=o.isRtl&&$.getRtlHelpers().isRtlScrollingInverted?-t:t),o.contentWrapperEl[o.axis[o.draggedAxis].scrollOffsetAttr]=t},this.onEndDrag=function(t){var e=Fo(o.el),i=zo(o.el);t.preventDefault(),t.stopPropagation(),o.el.classList.remove(o.classNames.dragging),e.removeEventListener("mousemove",o.drag,!0),e.removeEventListener("mouseup",o.onEndDrag,!0),o.removePreventClickId=i.setTimeout(function(){e.removeEventListener("click",o.preventClick,!0),e.removeEventListener("dblclick",o.preventClick,!0),o.removePreventClickId=null})},this.preventClick=function(t){t.preventDefault(),t.stopPropagation()},this.el=t,this.minScrollbarWidth=20,this.options=Object.assign({},$.defaultOptions,e),this.classNames=Object.assign({},$.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,$.instances.has(this.el)||(this.recalculate=Cs(this.recalculate.bind(this),64),this.onMouseMove=Cs(this.onMouseMove.bind(this),64),this.hideScrollbars=js(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=js(this.onWindowResize.bind(this),64,{leading:!0}),$.getRtlHelpers=nr($.getRtlHelpers),this.init())}return I.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},I.instances=new WeakMap,I.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){"init"===t.getAttribute("data-simplebar")||I.instances.has(t)||new I(t,Zr(t.attributes))})},I.removeObserver=function(){this.globalObserver.disconnect()},I.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(I.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},I.handleMutations=function(t){t.forEach(function(t){Array.prototype.forEach.call(t.addedNodes,function(t){1===t.nodeType&&(t.hasAttribute("data-simplebar")?!I.instances.has(t)&&document.documentElement.contains(t)&&new I(t,Zr(t.attributes)):Array.prototype.forEach.call(t.querySelectorAll("[data-simplebar]"),function(t){"init"!==t.getAttribute("data-simplebar")&&!I.instances.has(t)&&document.documentElement.contains(t)&&new I(t,Zr(t.attributes))}))}),Array.prototype.forEach.call(t.removedNodes,function(t){1===t.nodeType&&("init"===t.getAttribute("data-simplebar")?I.instances.has(t)&&!document.documentElement.contains(t)&&I.instances.get(t).unMount():Array.prototype.forEach.call(t.querySelectorAll('[data-simplebar="init"]'),function(t){I.instances.has(t)&&!document.documentElement.contains(t)&&I.instances.get(t).unMount()}))})})},I.getOptions=Zr,$e&&I.initHtmlApi(),I}),!function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof module&&module.exports?module.exports=function(t,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),i(e),e}:i(jQuery)}(function(e){(t=e&&e.fn&&e.fn.select2&&e.fn.select2.amd?e.fn.select2.amd:t)&&t.requirejs||(t?a=t:t={},g={},m={},v={},y={},i=Object.prototype.hasOwnProperty,n=[].slice,b=/\.js$/,p=function(t,e){var i,n,s=d(t),r=s[0],e=e[1];return t=s[1],r&&(i=_(r=c(r,e))),r?t=i&&i.normalize?i.normalize(t,(n=e,function(t){return c(t,n)})):c(t,e):(r=(s=d(t=c(t,e)))[0],t=s[1],r&&(i=_(r))),{f:r?r+"!"+t:t,n:t,pr:r,p:i}},f={require:function(t){return w(t)},exports:function(t){var e=g[t];return void 0!==e?e:g[t]={}},module:function(t){return{id:t,uri:"",exports:g[t],config:(e=t,function(){return v&&v.config&&v.config[e]||{}})};var e}},r=function(t,e,i,n){var s,r,o,a,l,c=[],d=typeof i,u=k(n=n||t);if("undefined"==d||"function"==d){for(e=!e.length&&i.length?["require","exports","module"]:e,a=0;a":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(t,e){var i;"1.7"===r.fn.jquery.substr(0,3)&&(i=r(),r.map(e,function(t){i=i.add(t)}),e=i),t.append(e)},n.__cache={};var i=0;return n.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++i),e=i.toString())),e},n.StoreData=function(t,e,i){t=n.GetUniqueElementId(t);n.__cache[t]||(n.__cache[t]={}),n.__cache[t][e]=i},n.GetData=function(t,e){var i=n.GetUniqueElementId(t);return e?n.__cache[i]&&null!=n.__cache[i][e]?n.__cache[i][e]:r(t).data(e):n.__cache[i]},n.RemoveData=function(t){var e=n.GetUniqueElementId(t);null!=n.__cache[e]&&delete n.__cache[e],t.removeAttribute("data-select2-id")},n}),t.define("select2/results",["jquery","./utils"],function(d,u){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return u.Extend(n,u.Observable),n.prototype.render=function(){var t=d('
    ');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup"),i=(this.clear(),this.hideLoading(),d('')),n=this.options.get("translations").get(t.message);i.append(e(n(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var i=0;i",{class:"select2-results__options select2-results__options--nested"});c.append(o),s.append(r),s.append(c)}else this.template(t,i);return u.StoreData(i,"data",t),i},n.prototype.bind=function(e,t){var s=this,i=e.id+"-results";this.$results.attr("id",i),e.on("results:all",function(t){s.clear(),s.append(t.data),e.isOpen()&&(s.setClasses(),s.highlightFirstItem())}),e.on("results:append",function(t){s.append(t.data),e.isOpen()&&s.setClasses()}),e.on("query",function(t){s.hideMessages(),s.showLoading(t)}),e.on("select",function(){e.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect"))&&s.highlightFirstItem()}),e.on("unselect",function(){e.isOpen()&&(s.setClasses(),s.options.get("scrollAfterSelect"))&&s.highlightFirstItem()}),e.on("open",function(){s.$results.attr("aria-expanded","true"),s.$results.attr("aria-hidden","false"),s.setClasses(),s.ensureHighlightVisible()}),e.on("close",function(){s.$results.attr("aria-expanded","false"),s.$results.attr("aria-hidden","true"),s.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=s.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t,e=s.getHighlightedResults();0!==e.length&&(t=u.GetData(e[0],"data"),"true"==e.attr("aria-selected")?s.trigger("close",{}):s.trigger("select",{data:t}))}),e.on("results:previous",function(){var t,e=s.getHighlightedResults(),i=s.$results.find("[aria-selected]"),n=i.index(e);n<=0||(n=n-1,0===e.length&&(n=0),(e=i.eq(n)).trigger("mouseenter"),i=s.$results.offset().top,e=e.offset().top,t=s.$results.scrollTop()+(e-i),0===n?s.$results.scrollTop(0):e-i<0&&s.$results.scrollTop(t))}),e.on("results:next",function(){var t,e,i=s.getHighlightedResults(),n=s.$results.find("[aria-selected]"),i=n.index(i)+1;i>=n.length||((n=n.eq(i)).trigger("mouseenter"),t=s.$results.offset().top+s.$results.outerHeight(!1),n=n.offset().top+n.outerHeight(!1),e=s.$results.scrollTop()+n-t,0===i?s.$results.scrollTop(0):tthis.$results.outerHeight()||n<0)&&this.$results.scrollTop(i))},n.prototype.template=function(t,e){var i=this.options.get("templateResult"),n=this.options.get("escapeMarkup"),i=i(t,e);null==i?e.style.display="none":"string"==typeof i?e.innerHTML=n(i):d(e).append(i)},n}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(i,n,s){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return n.Extend(r,n.Observable),r.prototype.render=function(){var t=i('');return this._tabindex=0,null!=n.GetData(this.$element[0],"old-tabindex")?this._tabindex=n.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),t.attr("aria-disabled","false"),this.$selection=t},r.prototype.bind=function(t,e){var i=this,n=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleBlur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===s.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",n),i._attachCloseHandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")}),t.on("disable",function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||i.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},r.prototype._attachCloseHandler=function(t){i(document.body).on("mousedown.select2."+t.id,function(t){var e=i(t.target).closest(".select2");i(".select2.select2-container--open").each(function(){this!=e[0]&&n.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(t){i(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(t,e){e.find(".selection").append(t)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,i,n){function s(){s.__super__.constructor.apply(this,arguments)}return i.Extend(s,e),s.prototype.render=function(){var t=s.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html(''),t},s.prototype.bind=function(e,t){var i=this,n=(s.__super__.bind.apply(this,arguments),e.id+"-container");this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(t){1===t.which&&i.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isOpen()||i.$selection.trigger("focus")})},s.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},s.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},s.prototype.selectionContainer=function(){return t("")},s.prototype.update=function(t){var e,i;0!==t.length?(t=t[0],e=this.$selection.find(".select2-selection__rendered"),i=this.display(t,e),e.empty().append(i),(i=t.title||t.text)?e.attr("title",i):e.removeAttr("title")):this.clear()},s}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(n,t,a){function s(t,e){s.__super__.constructor.apply(this,arguments)}return a.Extend(s,t),s.prototype.render=function(){var t=s.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('
      '),t},s.prototype.bind=function(t,e){var i=this;s.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){i.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){var e;i.isDisabled()||(e=n(this).parent(),e=a.GetData(e[0],"data"),i.trigger("unselect",{originalEvent:t,data:e}))})},s.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},s.prototype.display=function(t,e){var i=this.options.get("templateSelection");return this.options.get("escapeMarkup")(i(t,e))},s.prototype.selectionContainer=function(){return n('
    • ×
    • ')},s.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i×'),a.StoreData(t[0],"data",e),this.$selection.find(".select2-selection__rendered").prepend(t))},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(i,o,a){function t(t,e,i){t.call(this,e,i)}return t.prototype.render=function(t){var e=i(''),e=(this.$searchContainer=e,this.$search=e.find("input"),t.call(this));return this._transferTabIndex(),e},t.prototype.bind=function(t,e,i){var n=this,s=e.id+"-results",t=(t.call(this,e,i),e.on("open",function(){n.$search.attr("aria-controls",s),n.$search.trigger("focus")}),e.on("close",function(){n.$search.val(""),n.$search.removeAttr("aria-controls"),n.$search.removeAttr("aria-activedescendant"),n.$search.trigger("focus")}),e.on("enable",function(){n.$search.prop("disabled",!1),n._transferTabIndex()}),e.on("disable",function(){n.$search.prop("disabled",!0)}),e.on("focus",function(t){n.$search.trigger("focus")}),e.on("results:focus",function(t){t.data._resultId?n.$search.attr("aria-activedescendant",t.data._resultId):n.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){n.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){n._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){var e;t.stopPropagation(),n.trigger("keypress",t),n._keyUpPrevented=t.isDefaultPrevented(),t.which===a.BACKSPACE&&""===n.$search.val()&&0<(e=n.$searchContainer.prev(".select2-selection__choice")).length&&(e=o.GetData(e[0],"data"),n.searchRemoveChoice(e),t.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(t){n.$search.val()&&t.stopPropagation()}),document.documentMode),r=t&&t<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){r?n.$selection.off("input.search input.searchcheck"):n.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){var e;r&&"input"===t.type?n.$selection.off("input.search input.searchcheck"):(e=t.which)!=a.SHIFT&&e!=a.CTRL&&e!=a.ALT&&e!=a.TAB&&n.handleSearch(t)})},t.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},t.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},t.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&this.$search.trigger("focus")},t.prototype.handleSearch=function(){var t;this.resizeSearch(),this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},t.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},t.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="",t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},t}),t.define("select2/selection/eventRelay",["jquery"],function(o){function t(){}return t.prototype.bind=function(t,e,i){var n=this,s=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];t.call(this,e,i),e.on("*",function(t,e){var i;-1!==o.inArray(t,s)&&(i=o.Event("select2:"+t,{params:e=e||{}}),n.$element.trigger(i),-1!==o.inArray(t,r))&&(e.prevented=i.isDefaultPrevented())})},t}),t.define("select2/translation",["jquery","require"],function(e,i){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(t){var e;return t in n._cache||(e=i(t),n._cache[t]=e),new n(n._cache[t])},n}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),t.define("select2/data/base",["../utils"],function(i){function n(t,e){n.__super__.constructor.call(this)}return i.Extend(n,i.Observable),n.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(t,e){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(t,e){t=t.id+"-result-";return t+=i.generateChars(4),null!=e.id?t+="-"+e.id.toString():t+="-"+i.generateChars(4),t},n}),t.define("select2/data/select",["./base","../utils","jquery"],function(t,o,a){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return o.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=a(this),t=i.item(t);e.push(t)}),t(e)},i.prototype.select=function(s){var t,r=this;s.selected=!0,a(s.element).is("option")?(s.element.selected=!0,this.$element.trigger("input").trigger("change")):this.$element.prop("multiple")?this.current(function(t){var e=[];(s=[s]).push.apply(s,t);for(var i=0;ithis.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,i)},t}),t.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("select",function(){n._checkIfMaximumSelected()})},t.prototype.query=function(t,e,i){var n=this;this._checkIfMaximumSelected(function(){t.call(n,e,i)})},t.prototype._checkIfMaximumSelected=function(t,e){var i=this;this.current(function(t){t=null!=t?t.length:0;0=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):e&&e()})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),t.define("select2/dropdown/search",["jquery","../utils"],function(r,t){function e(){}return e.prototype.render=function(t){var t=t.call(this),e=r('');return this.$searchContainer=e,this.$search=e.find("input"),t.prepend(e),t},e.prototype.bind=function(t,e,i){var n=this,s=e.id+"-results";t.call(this,e,i),this.$search.on("keydown",function(t){n.trigger("keypress",t),n._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){r(this).off("keyup")}),this.$search.on("keyup input",function(t){n.handleSearch(t)}),e.on("open",function(){n.$search.attr("tabindex",0),n.$search.attr("aria-controls",s),n.$search.trigger("focus"),window.setTimeout(function(){n.$search.trigger("focus")},0)}),e.on("close",function(){n.$search.attr("tabindex",-1),n.$search.removeAttr("aria-controls"),n.$search.removeAttr("aria-activedescendant"),n.$search.val(""),n.$search.trigger("blur")}),e.on("focus",function(){e.isOpen()||n.$search.trigger("focus")}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(n.showSearch(t)?n.$searchContainer.removeClass("select2-search--hide"):n.$searchContainer.addClass("select2-search--hide"))}),e.on("results:focus",function(t){t.data._resultId?n.$search.attr("aria-activedescendant",t.data._resultId):n.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(t){var e;this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),t.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return e="string"==typeof e?{id:"",text:e}:e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;0<=n;n--){var s=e[n];this.placeholder.id===s.id&&i.splice(n,1)}return i},t}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(i){function t(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("query",function(t){n.lastParams=t,n.loading=!0}),e.on("query:append",function(t){n.lastParams=t,n.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=i.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&(t=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=i.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=i('
    • '),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(d,o){function t(t,e,i){this.$dropdownParent=d(i.get("dropdownParent")||document.body),t.call(this,e,i)}return t.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("open",function(){n._showDropdown(),n._attachPositioningHandler(e),n._bindContainerResultHandlers(e)}),e.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(t,e,i){e.attr("class",i.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=i},t.prototype.render=function(t){var e=d(""),t=t.call(this);return e.append(t),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._bindContainerResultHandlers=function(t,e){var i;this._containerResultsHandlersBound||(i=this,e.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("results:message",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("select",function(){i._positionDropdown(),i._resizeDropdown()}),e.on("unselect",function(){i._positionDropdown(),i._resizeDropdown()}),this._containerResultsHandlersBound=!0)},t.prototype._attachPositioningHandler=function(t,e){var i=this,n="scroll.select2."+e.id,s="resize.select2."+e.id,e="orientationchange.select2."+e.id,r=this.$container.parents().filter(o.hasScroll);r.each(function(){o.StoreData(this,"select2-scroll-position",{x:d(this).scrollLeft(),y:d(this).scrollTop()})}),r.on(n,function(t){var e=o.GetData(this,"select2-scroll-position");d(this).scrollTop(e.y)}),d(window).on(n+" "+s+" "+e,function(t){i._positionDropdown(),i._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var i="scroll.select2."+e.id,n="resize.select2."+e.id,e="orientationchange.select2."+e.id;this.$container.parents().filter(o.hasScroll).off(i),d(window).off(i+" "+n+" "+e)},t.prototype._positionDropdown=function(){var t=d(window),e=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),n=null,s=this.$container.offset(),r=(s.bottom=s.top+this.$container.outerHeight(!1),{height:this.$container.outerHeight(!1)}),o=(r.top=s.top,r.bottom=s.top+r.height,this.$dropdown.outerHeight(!1)),a=t.scrollTop(),t=t.scrollTop()+t.height(),a=as.bottom+o,s={left:s.left,top:r.bottom},l=this.$dropdownParent,c=("static"===l.css("position")&&(l=l.offsetParent()),{top:0,left:0});(d.contains(document.body,l[0])||l[0].isConnected)&&(c=l.offset()),s.top-=c.top,s.left-=c.left,e||i||(n="below"),t||!a||e?!a&&t&&e&&(n="below"):n="above",("above"==n||e&&"below"!==n)&&(s.top=r.top-c.top-o),null!=n&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+n),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+n)),this.$dropdownContainer.css(s)},t.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,i,n){this.minimumResultsForSearch=i.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,i,n)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var i=0,n=0;n');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),o.StoreData(t[0],"element",this.$element),t},a}),t.define("select2/compat/utils",["jquery"],function(o){return{syncCssClasses:function(t,e,i){var n,s,r=[];(n=o.trim(t.attr("class")))&&o((n=""+n).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&r.push(this)}),(n=o.trim(e.attr("class")))&&o((n=""+n).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(s=i(this))&&r.push(s)}),t.attr("class",r.join(" "))}}}),t.define("select2/compat/containerCss",["jquery","./utils"],function(r,o){function a(t){return null}function t(){}return t.prototype.render=function(t){var i,t=t.call(this),e=this.options.get("containerCssClass")||"",n=(r.isFunction(e)&&(e=e(this.$element)),this.options.get("adaptContainerCssClass")),s=(n=n||a,-1!==e.indexOf(":all:")&&(e=e.replace(":all:",""),i=n,n=function(t){var e=i(t);return null!=e?e+" "+t:t}),this.options.get("containerCss")||{});return r.isFunction(s)&&(s=s(this.$element)),o.syncCssClasses(t,this.$element,n),t.css(s),t.addClass(e),t},t}),t.define("select2/compat/dropdownCss",["jquery","./utils"],function(r,o){function a(t){return null}function t(){}return t.prototype.render=function(t){var i,t=t.call(this),e=this.options.get("dropdownCssClass")||"",n=(r.isFunction(e)&&(e=e(this.$element)),this.options.get("adaptDropdownCssClass")),s=(n=n||a,-1!==e.indexOf(":all:")&&(e=e.replace(":all:",""),i=n,n=function(t){var e=i(t);return null!=e?e+" "+t:t}),this.options.get("dropdownCss")||{});return r.isFunction(s)&&(s=s(this.$element)),o.syncCssClasses(t,this.$element,n),t.css(s),t.addClass(e),t},t}),t.define("select2/compat/initSelection",["jquery"],function(n){function t(t,e,i){i.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=i.get("initSelection"),this._isInitialized=!1,t.call(this,e,i)}return t.prototype.current=function(t,e){var i=this;this._isInitialized?t.call(this,e):this.initSelection.call(null,this.$element,function(t){i._isInitialized=!0,n.isArray(t)||(t=[t]),e(t)})},t}),t.define("select2/compat/inputData",["jquery","../utils"],function(r,i){function t(t,e,i){this._currentData=[],this._valueSeparator=i.get("valueSeparator")||",","hidden"===e.prop("type")&&i.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `\n \n
      \n \n \n
      \n \n
      \n \n \n
      \n \n
      \n \n \n
      \n
      \n
      \n
      \n
      \n \n').replace(/(^|\n)\s*/g,""),kt=function(t,e){if(t.jquery){var i=e,n=t;if(i.textContent="",0 in n)for(var s=0;s in n;s++)i.appendChild(n[s].cloneNode(!0));else i.appendChild(n.cloneNode(!0))}else m(e,t.toString())},L=function(){if(!bt()){var t,e=document.createElement("div"),i={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in i)if(Object.prototype.hasOwnProperty.call(i,t)&&void 0!==e.style[t])return i[t]}return!1}();function Ct(t,e,i){var n;gt(t,i["show".concat((n=e).charAt(0).toUpperCase()+n.slice(1),"Button")],"inline-block"),m(t,i["".concat(e,"ButtonText")]),t.setAttribute("aria-label",i["".concat(e,"ButtonAriaLabel")]),t.className=_[e],y(t,i,"".concat(e,"Button")),D(t,i["".concat(e,"ButtonClass")])}function St(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}function Tt(t){return t=_[t]||_.input,M(h(),t)}var I={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},Et=["input","file","range","select","radio","checkbox","textarea"],At=function(t){if(!s[t.input])return x('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=Tt(t.input),i=s[t.input](e,t);T(i),setTimeout(function(){ht(i)})},Dt=function(t,e){var i=ut(h(),t);if(i){{var n=i;for(var s=0;s=n.progressSteps.length&&b("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),n.progressSteps.forEach(function(t,e){t=t,i=document.createElement("li"),D(i,_["progress-step"]),m(i,t);var i,t=i;s.appendChild(t),e===r&&D(t,_["active-progress-step"]),e!==n.progressSteps.length-1&&(i=n,t=document.createElement("li"),D(t,_["progress-step-line"]),i.progressStepsDistance&&(t.style.width=i.progressStepsDistance),e=t,s.appendChild(e))})}(e),i=e,(t=I.innerParams.get(t))&&i.icon===t.icon&&G()?y(G(),i,"icon"):(Nt(),i.icon&&(-1!==Object.keys(r).indexOf(i.icon)?(T(t=n(".".concat(_.icon,".").concat(r[i.icon]))),jt(t,i),Rt(),y(t,i,"icon"),D(t,i.showClass.icon)):x('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(i.icon,'"')))),t=e,i=Q(),t.imageUrl?(T(i,""),i.setAttribute("src",t.imageUrl),i.setAttribute("alt",t.imageAlt),ft(i,"width",t.imageWidth),ft(i,"height",t.imageHeight),i.className=_.image,y(i,t,"image")):E(i),t=e,gt(i=K(),t.title||t.titleText),t.title&&xt(t.title,i),t.titleText&&(i.innerText=t.titleText),y(i,t,"title"),i=e,m(t=nt(),i.closeButtonHtml),y(t,i,"closeButton"),gt(t,i.showCloseButton),t.setAttribute("aria-label",i.closeButtonAriaLabel)}function Lt(t,e){var i,n,s,r,o,a,l,c=e,d=C();ft(d,"width",c.width),ft(d,"padding",c.padding),c.background&&(d.style.background=c.background),c=c,(d=d).className="".concat(_.popup," ").concat(P(d)?c.showClass.popup:""),c.toast?(D([document.documentElement,document.body],_["toast-shown"]),D(d,_.toast)):D(d,_.modal),y(d,c,"popup"),"string"==typeof c.customClass&&D(d,c.customClass),c.icon&&D(d,_["icon-".concat(c.icon)]),d=e,(c=k())&&("string"==typeof(a=d.backdrop)?c.style.background=a:a||D([document.documentElement,document.body],_["no-backdrop"]),!d.backdrop&&d.allowOutsideClick&&b('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),a=c,(l=d.position)in _?D(a,_[l]):(b('The "position" parameter is not valid, defaulting to "center"'),D(a,_.center)),l=c,(a=d.grow)&&"string"==typeof a&&(a="grow-".concat(a))in _&&D(l,_[a]),y(c,d,"container"),l=document.body.getAttribute("data-swal2-queue-step"))&&(c.setAttribute("data-queue-step",l),document.body.removeAttribute("data-swal2-queue-step")),Pt(t,e),a=t,d=e,c=h().querySelector("#".concat(_.content)),d.html?(xt(d.html,c),T(c,"block")):d.text?(c.textContent=d.text,T(c,"block")):E(c),c=a,s=d,r=h(),a=I.innerParams.get(c),o=!a||s.input!==a.input,Et.forEach(function(t){var e=_[t],i=M(r,e);Dt(t,s.inputAttributes),i.className=e,o&&E(i)}),s.input&&(o&&At(s),Ot(s)),y(h(),d,"content"),l=e,t=g(),c=p(),d=f(),l.showConfirmButton||l.showCancelButton||E(t),y(t,l,"actions"),Ct(c,"confirm",l),Ct(d,"cancel",l),l.buttonsStyling?(t=l,D([i=c,n=d],_.styled),t.confirmButtonColor&&(i.style.backgroundColor=t.confirmButtonColor),t.cancelButtonColor&&(n.style.backgroundColor=t.cancelButtonColor),ot()||(n=window.getComputedStyle(i).getPropertyValue("background-color"),i.style.borderLeftColor=n,i.style.borderRightColor=n)):(O([c,d],_.styled),c.style.backgroundColor=c.style.borderLeftColor=c.style.borderRightColor="",d.style.backgroundColor=d.style.borderLeftColor=d.style.borderRightColor=""),l.reverseButtons&&c.parentNode.insertBefore(d,c),t=e,gt(i=et(),t.footer),t.footer&&xt(t.footer,i),y(i,t,"footer"),"function"==typeof e.onRender&&e.onRender(C())}function It(){return p()&&p().click()}s.text=s.email=s.password=s.number=s.tel=s.url=function(t,e){return"string"==typeof e.inputValue||"number"==typeof e.inputValue?t.value=e.inputValue:U(e.inputValue)||b('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(c(e.inputValue),'"')),St(t,e),t.type=e.input,t},s.file=function(t,e){return St(t,e),t},s.range=function(t,e){var i=t.querySelector("input"),n=t.querySelector("output");return i.value=e.inputValue,i.type=e.input,n.value=e.inputValue,t},s.select=function(t,e){var i;return t.textContent="",e.inputPlaceholder&&(m(i=document.createElement("option"),e.inputPlaceholder),i.value="",i.disabled=!0,i.selected=!0,t.appendChild(i)),t},s.radio=function(t){return t.textContent="",t},s.checkbox=function(t,e){var i=ut(h(),"checkbox");return i.value=1,i.id=_.checkbox,i.checked=Boolean(e.inputValue),m(t.querySelector("span"),e.inputPlaceholder),t};function $t(t){return'
      ').concat(t,"
      ")}var Nt=function(){for(var t=X(),e=0;e\n \n
      \n
      \n '):"error"===e.icon?m(t,'\n \n \n \n \n '):m(t,$t({question:"?",warning:"!",info:"i"}[e.icon]))},$=[];function zt(){var t=C(),e=(t||o.fire(),t=C(),g()),i=p();T(e),T(i,"inline-block"),D([t,e],_.loading),i.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()}function Ft(){if(N.timeout)return t=it(),e=parseInt(window.getComputedStyle(t).width),t.style.removeProperty("transition"),t.style.width="100%",i=parseInt(window.getComputedStyle(t).width),e=parseInt(e/i*100),t.style.removeProperty("transition"),t.style.width="".concat(e,"%"),N.timeout.stop();var t,e,i}function Ht(){var t;if(N.timeout)return yt(t=N.timeout.start()),t}function Bt(t){return Object.prototype.hasOwnProperty.call(Vt,t)}function Wt(t){return Yt[t]}function qt(t){for(var e in t)Bt(i=e)||b('Unknown parameter "'.concat(i,'"')),t.toast&&(i=e,-1!==Xt.indexOf(i))&&b('The parameter "'.concat(i,'" is incompatible with toasts')),Wt(i=e)&&(e=i,i=Yt[i],e='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(i,'" instead.'),-1===lt.indexOf(e))&&(lt.push(e),b(e));var i}var N={},Vt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!(s.textarea=function(e,t){var i,n;return e.value=t.inputValue,St(e,t),"MutationObserver"in window&&(i=parseInt(window.getComputedStyle(C()).width),n=parseInt(window.getComputedStyle(C()).paddingLeft)+parseInt(window.getComputedStyle(C()).paddingRight),new MutationObserver(function(){var t=e.offsetWidth+n;C().style.width=iwindow.innerHeight-44&&(k().style.paddingBottom="".concat(44,"px"))},te=function(){var i,t=k();t.ontouchstart=function(t){var e;t=t.target,e=k(),i=t===e||!(mt(e)||"INPUT"===t.tagName||mt(h())&&h().contains(t))},t.ontouchmove=function(t){i&&(t.preventDefault(),t.stopPropagation())}},ee={swalPromiseResolve:new WeakMap};function ie(t,e,i,n){i?se(t,n):(new Promise(function(t){var e=window.scrollX,i=window.scrollY;N.restoreFocusTimeout=setTimeout(function(){N.previousActiveElement&&N.previousActiveElement.focus?(N.previousActiveElement.focus(),N.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==i&&window.scrollTo(e,i)}).then(function(){return se(t,n)}),N.keydownTarget.removeEventListener("keydown",N.keydownHandler,{capture:N.keydownListenerCapture}),N.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),rt()&&(null!==S.previousBodyPadding&&(document.body.style.paddingRight="".concat(S.previousBodyPadding,"px"),S.previousBodyPadding=null),v(document.body,_.iosfix)&&(i=parseInt(document.body.style.top,10),O(document.body,_.iosfix),document.body.style.top="",document.body.scrollTop=-1*i),"undefined"!=typeof window&&Qt()&&window.removeEventListener("resize",Zt),d(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})),O([document.documentElement,document.body],[_.shown,_["height-auto"],_["no-backdrop"],_["toast-shown"],_["toast-column"]])}function ne(t){var e,i,n,s,r,o,a,l=C();l&&(n=I.innerParams.get(this))&&!v(l,n.hideClass.popup)&&(e=ee.swalPromiseResolve.get(this),O(l,n.showClass.popup),D(l,n.hideClass.popup),i=k(),O(i,n.showClass.backdrop),D(i,n.hideClass.backdrop),i=this,l=l,n=n,r=k(),o=L&&vt(l),a=n.onClose,n=n.onAfterClose,null!==a&&"function"==typeof a&&a(l),o?(s=l,a=n,N.swalCloseEventFinishedCallback=ie.bind(null,i,r,dt(),a),s.addEventListener(L,function(t){t.target===s&&(N.swalCloseEventFinishedCallback(),delete N.swalCloseEventFinishedCallback)})):ie(i,r,dt(),n),void 0!==t?(t.isDismissed=void 0!==t.dismiss,t.isConfirmed=void 0===t.dismiss):t={isDismissed:!0,isConfirmed:!1},e(t||{}))}var se=function(t,e){setTimeout(function(){"function"==typeof e&&e(),t._destroy()})};function re(t,e,i){var n=I.domCache.get(t);e.forEach(function(t){n[t].disabled=i})}function oe(t,e){if(!t)return!1;if("radio"===t.type)for(var i=t.parentNode.parentNode.querySelectorAll("input"),n=0;n")),i=t,t=!!(t=k())&&(t.parentNode.removeChild(t),O([document.documentElement,document.body],[_["no-backdrop"],_["toast-shown"],_["has-column"]]),!0),bt()?x("SweetAlert2 requires document to initialize"):((n=document.createElement("div")).className=_.container,t&&D(n,_["no-transition"]),m(n,_t),(t="string"==typeof(t=i.target)?document.querySelector(t):t).appendChild(n),n=i,(i=C()).setAttribute("role",n.toast?"alert":"dialog"),i.setAttribute("aria-live",n.toast?"polite":"assertive"),n.toast||i.setAttribute("aria-modal","true"),n=t,"rtl"===window.getComputedStyle(n).direction&&D(k(),_.rtl),i=h(),t=M(i,_.input),n=M(i,_.file),s=i.querySelector(".".concat(_.range," input")),r=i.querySelector(".".concat(_.range," output")),o=M(i,_.select),a=i.querySelector(".".concat(_.checkbox," input")),i=M(i,_.textarea),t.oninput=A,n.onchange=A,o.onchange=A,a.onchange=A,i.oninput=A,s.oninput=function(t){A(t),r.value=s.value},s.onchange=function(t){A(t),s.nextSibling.value=s.value})}function ue(t){var e,i,n,s=k(),r=C(),o=("function"==typeof t.onBeforeOpen&&t.onBeforeOpen(r),window.getComputedStyle(document.body).overflowY);i=r,D(s,(n=t).showClass.backdrop),T(i),D(i,n.showClass.popup),D([document.documentElement,document.body],_.shown),n.heightAuto&&n.backdrop&&!n.toast&&D([document.documentElement,document.body],_["height-auto"]),i=s,n=r,L&&vt(n)?(i.style.overflowY="hidden",n.addEventListener(L,he)):i.style.overflowY="auto",rt()&&(e=s,n=t.scrollbarPadding,i=o,(/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&1window.innerHeight&&(S.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(S.previousBodyPadding+((o=document.createElement("div")).className=_["scrollbar-measure"],document.body.appendChild(o),n=o.getBoundingClientRect().width-o.clientWidth,document.body.removeChild(o),n),"px")),setTimeout(function(){e.scrollTop=0}),d(document.body.children).forEach(function(t){var e,i;t===k()||(e=t,i=k(),"function"==typeof e.contains&&e.contains(i))||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}));dt()||N.previousActiveElement||(N.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout(function(){return t.onOpen(r)}),O(s,_["no-transition"])}function he(t){var e=C();t.target===e&&(t=k(),e.removeEventListener(L,he),t.style.overflowY="auto")}function pe(t,e){var i,n,s,r,o,a;function l(t){Ee[o.input](a,Ae(t),o)}"select"===e.input||"radio"===e.input?(r=t,o=e,a=h(),V(o.inputOptions)||U(o.inputOptions)?(zt(),u(o.inputOptions).then(function(t){r.hideLoading(),l(t)})):"object"===c(o.inputOptions)?l(o.inputOptions):x("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(c(o.inputOptions)))):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&(V(e.inputValue)||U(e.inputValue))&&(n=e,E(s=(i=t).getInput()),u(n.inputValue).then(function(t){s.value="number"===n.input?parseFloat(t)||0:"".concat(t),T(s),s.focus(),i.hideLoading()}).catch(function(t){x("Error in inputValue promise: ".concat(t)),s.value="",T(s),s.focus(),i.hideLoading()}))}function fe(t,e){var i,n,s;t.disableButtons(),e.input?(i=t,s=function(t){var e=i.getInput();if(!e)return null;switch(t.input){case"checkbox":return Ce(e);case"radio":return Se(e);case"file":return Te(e);default:return t.inputAutoTrim?e.value.trim():e.value}}(n=e),n.inputValidator?(i.disableInput(),Promise.resolve().then(function(){return u(n.inputValidator(s,n.validationMessage))}).then(function(t){i.enableButtons(),i.enableInput(),t?i.showValidationMessage(t):De(i,n,s)})):i.getInput().checkValidity()?De(i,n,s):(i.enableButtons(),i.showValidationMessage(n.validationMessage))):De(t,e,!0)}function ge(t,e){t.closePopup({value:e})}function me(s,t,e,r){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),e.toast||(t.keydownHandler=function(t){return e=s,t=t,i=r,(n=I.innerParams.get(e)).stopKeydownPropagation&&t.stopPropagation(),void("Enter"===t.key?Pe(e,t,n):"Tab"===t.key?Le(t,n):-1!==Oe.indexOf(t.key)?Ie():-1!==Me.indexOf(t.key)&&$e(t,n,i));var e,i,n},t.keydownTarget=e.keydownListenerCapture?window:C(),t.keydownListenerCapture=e.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}function ve(t,e,i){var n=st();if(0").attr("id",e.containerId).addClass(e.positionClass)).appendTo(v(e.target))),_}function o(t,e,i){i=!(!i||!i.force)&&i.force;return t&&(i||0===v(":focus",t).length)&&(t[e.hideMethod]({duration:e.hideDuration,easing:e.hideEasing,complete:function(){w(t)}}),1)}function b(t){e&&e(t)}function n(i){function n(t){return(t=null==t?"":t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function t(){i.iconClass&&l.addClass(g.toastClass).addClass(m),i.title&&(t=i.title,g.escapeHtml&&(t=n(i.title)),c.append(t).addClass(g.titleClass),l.append(c)),i.message&&(t=i.message,g.escapeHtml&&(t=n(i.message)),d.append(t).addClass(g.messageClass),l.append(d)),g.closeButton&&(h.addClass(g.closeClass).attr("role","button"),l.prepend(h)),g.progressBar&&(u.addClass(g.progressClass),l.prepend(u)),g.rtl&&l.addClass("rtl"),g.newestOnTop?_.prepend(l):_.append(l);var t,e="";switch(i.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}l.attr("aria-live",e)}function e(t){var e=t&&!1!==g.closeMethod?g.closeMethod:g.hideMethod,i=t&&!1!==g.closeDuration?g.closeDuration:g.hideDuration,n=t&&!1!==g.closeEasing?g.closeEasing:g.hideEasing;if(!v(":focus",l).length||t)return clearTimeout(p.intervalId),l[e]({duration:i,easing:n,complete:function(){w(l),clearTimeout(a),g.onHidden&&"hidden"!==f.state&&g.onHidden(),f.state="hidden",f.endTime=new Date,b(f)}})}function s(){(0"),c=v("
      "),d=v("
      "),u=v("
      "),h=v(g.closeHtml),p={intervalId:null,hideEta:null,maxHideTime:null},f={toastId:C,state:"visible",startTime:new Date,options:g,map:i},t(),l.hide(),l[g.showMethod]({duration:g.showDuration,easing:g.showEasing,complete:g.onShown}),0×',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},t.options)}function w(t){_=_||y(),t.is(":visible")||(t.remove(),t=null,0===_.children().length&&(_.remove(),k=void 0))}var _,e,k,C,s,r,a,l,t}),!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(d){d.extend(d.fn,{validate:function(t){var n;if(this.length)return(n=d.data(this[0],"validator"))||(this.attr("novalidate","novalidate"),n=new d.validator(t,this[0]),d.data(this[0],"validator",n),n.settings.onsubmit&&(this.on("click.validate",":submit",function(t){n.submitButton=t.currentTarget,d(this).hasClass("cancel")&&(n.cancelSubmit=!0),void 0!==d(this).attr("formnovalidate")&&(n.cancelSubmit=!0)}),this.on("submit.validate",function(i){function t(){var t,e;return n.submitButton&&(n.settings.submitHandler||n.formSubmitted)&&(t=d("").attr("name",n.submitButton.name).val(d(n.submitButton).val()).appendTo(n.currentForm)),!(n.settings.submitHandler&&!n.settings.debug)||(e=n.settings.submitHandler.call(n,n.currentForm,i),t&&t.remove(),void 0!==e&&e)}return n.settings.debug&&i.preventDefault(),n.cancelSubmit?(n.cancelSubmit=!1,t()):n.form()?n.pendingRequest?!(n.formSubmitted=!0):t():(n.focusInvalid(),!1)})),n);t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,e,i;return d(this[0]).is("form")?t=this.validate().form():(i=[],t=!0,e=d(this[0].form).validate(),this.each(function(){(t=e.element(this)&&t)||(i=i.concat(e.errorList))}),e.errorList=i),t},rules:function(t,e){var i,n,s,r,o,a=this[0],l=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=a&&(!a.form&&l&&(a.form=this.closest("form")[0],a.name=this.attr("name")),null!=a.form)){if(t)switch(i=d.data(a.form,"validator").settings,n=i.rules,s=d.validator.staticRules(a),t){case"add":d.extend(s,d.validator.normalizeRule(e)),delete s.messages,n[a.name]=s,e.messages&&(i.messages[a.name]=d.extend(i.messages[a.name],e.messages));break;case"remove":return e?(o={},d.each(e.split(/\s/),function(t,e){o[e]=s[e],delete s[e]}),o):(delete n[a.name],s)}return(l=d.validator.normalizeRules(d.extend({},d.validator.classRules(a),d.validator.attributeRules(a),d.validator.dataRules(a),d.validator.staticRules(a)),a)).required&&(r=l.required,delete l.required,l=d.extend({required:r},l)),l.remote&&(r=l.remote,delete l.remote,l=d.extend(l,{remote:r})),l}}});function e(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var i;d.extend(d.expr.pseudos||d.expr[":"],{blank:function(t){return!e(""+d(t).val())},filled:function(t){t=d(t).val();return null!==t&&!!e(""+t)},unchecked:function(t){return!d(t).prop("checked")}}),d.validator=function(t,e){this.settings=d.extend(!0,{},d.validator.defaults,t),this.currentForm=e,this.init()},d.validator.format=function(i,t){return 1===arguments.length?function(){var t=d.makeArray(arguments);return t.unshift(i),d.validator.format.apply(this,t)}:(void 0===t||((t=2Warning: No message defined for "+t.name+""),n=/\$?\{(\d+)\}/g;return"function"==typeof i?i=i.call(this,e.parameters,t):n.test(i)&&(i=d.validator.format(i.replace(n,"{$1}"),e.parameters)),i},formatAndAdd:function(t,e){var i=this.defaultMessage(t,e);this.errorList.push({message:i,element:t,method:e.method}),this.errorMap[t.name]=i,this.submitted[t.name]=i},addWrapper:function(t){return t=this.settings.wrapper?t.add(t.parent(this.settings.wrapper)):t},defaultShowErrors:function(){for(var t,e,i=0;this.errorList[i];i++)e=this.errorList[i],this.settings.highlight&&this.settings.highlight.call(this,e.element,this.settings.errorClass,this.settings.validClass),this.showLabel(e.element,e.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(i=0;this.successList[i];i++)this.showLabel(this.successList[i]);if(this.settings.unhighlight)for(i=0,t=this.validElements();t[i];i++)this.settings.unhighlight.call(this,t[i],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return d(this.errorList).map(function(){return this.element})},showLabel:function(t,e){var i,n,s,r=this.errorsFor(t),o=this.idOrName(t),a=d(t).attr("aria-describedby");r.length?(r.removeClass(this.settings.validClass).addClass(this.settings.errorClass),r.html(e)):(n=r=d("<"+this.settings.errorElement+">").attr("id",o+"-error").addClass(this.settings.errorClass).html(e||""),this.settings.wrapper&&(n=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,d(t)):n.insertAfter(t),r.is("label")?r.attr("for",o):0===r.parents("label[for='"+this.escapeCssMeta(o)+"']").length&&(n=r.attr("id"),a?a.match(new RegExp("\\b"+this.escapeCssMeta(n)+"\\b"))||(a+=" "+n):a=n,d(t).attr("aria-describedby",a),i=this.groups[t.name])&&d.each((s=this).groups,function(t,e){e===i&&d("[name='"+s.escapeCssMeta(t)+"']",s.currentForm).attr("aria-describedby",r.attr("id"))})),!e&&this.settings.success&&(r.text(""),"string"==typeof this.settings.success?r.addClass(this.settings.success):this.settings.success(r,t)),this.toShow=this.toShow.add(r)},errorsFor:function(t){var e=this.escapeCssMeta(this.idOrName(t)),t=d(t).attr("aria-describedby"),e="label[for='"+e+"'], label[for='"+e+"'] *";return t&&(e=e+", #"+this.escapeCssMeta(t).replace(/\s+/g,", #")),this.errors().filter(e)},escapeCssMeta:function(t){return void 0===t?"":t.replace(/([\\!"#$%&'()*+,./:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(t){return this.groups[t.name]||!this.checkable(t)&&t.id||t.name},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),d(t).not(this.settings.ignore)[0]},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(t){return d(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,e){switch(e.nodeName.toLowerCase()){case"select":return d("option:selected",e).length;case"input":if(this.checkable(e))return this.findByName(e.name).filter(":checked").length}return t.length},depend:function(t,e){return!this.dependTypes[typeof t]||this.dependTypes[typeof t](t,e)},dependTypes:{boolean:function(t){return t},string:function(t,e){return!!d(t,e.form).length},function:function(t,e){return t(e)}},optional:function(t){var e=this.elementValue(t);return!d.validator.methods.required.call(this,e,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,d(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,e){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],d(t).removeClass(this.settings.pendingClass),e&&0===this.pendingRequest&&this.formSubmitted&&this.form()&&0===this.pendingRequest?(d(this.currentForm).trigger("submit"),this.submitButton&&d("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!e&&0===this.pendingRequest&&this.formSubmitted&&(d(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,e){return e="string"==typeof e&&e||"remote",d.data(t,"previousValue")||d.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:e})})},destroy:function(){this.resetForm(),d(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,e){t.constructor===String?this.classRuleSettings[t]=e:d.extend(this.classRuleSettings,t)},classRules:function(t){var e={},t=d(t).attr("class");return t&&d.each(t.split(" "),function(){this in d.validator.classRuleSettings&&d.extend(e,d.validator.classRuleSettings[this])}),e},normalizeAttributeRule:function(t,e,i,n){(n=/min|max|step/.test(i)&&(null===e||/number|range|text/.test(e))&&(n=Number(n),isNaN(n))?void 0:n)||0===n?t[i]=n:e===i&&"range"!==e&&(t["date"===e?"dateISO":i]=!0)},attributeRules:function(t){var e,i,n={},s=d(t),r=t.getAttribute("type");for(e in d.validator.methods)i="required"===e?(i=t.getAttribute(e),""===i&&(i=!0),!!i):s.attr(e),this.normalizeAttributeRule(n,r,e,i);return n.maxlength&&/-1|2147483647|524288/.test(n.maxlength)&&delete n.maxlength,n},dataRules:function(t){var e,i,n={},s=d(t),r=t.getAttribute("type");for(e in d.validator.methods)i=s.data("rule"+e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()),""===i&&(i=!0),this.normalizeAttributeRule(n,r,e,i);return n},staticRules:function(t){var e={},i=d.data(t.form,"validator");return e=i.settings.rules?d.validator.normalizeRule(i.settings.rules[t.name])||{}:e},normalizeRules:function(n,s){return d.each(n,function(t,e){if(!1===e)delete n[t];else if(e.param||e.depends){var i=!0;switch(typeof e.depends){case"string":i=!!d(e.depends,s.form).length;break;case"function":i=e.depends.call(s,s)}i?n[t]=void 0===e.param||e.param:(d.data(s.form,"validator").resetElements(d(s)),delete n[t])}}),d.each(n,function(t,e){n[t]="function"==typeof e&&"normalizer"!==t?e(s):e}),d.each(["minlength","maxlength"],function(){n[this]&&(n[this]=Number(n[this]))}),d.each(["rangelength","range"],function(){var t;n[this]&&(Array.isArray(n[this])?n[this]=[Number(n[this][0]),Number(n[this][1])]:"string"==typeof n[this]&&(t=n[this].replace(/[\[\]]/g,"").split(/[\s,]+/),n[this]=[Number(t[0]),Number(t[1])]))}),d.validator.autoCreateRanges&&(null!=n.min&&null!=n.max&&(n.range=[n.min,n.max],delete n.min,delete n.max),null!=n.minlength)&&null!=n.maxlength&&(n.rangelength=[n.minlength,n.maxlength],delete n.minlength,delete n.maxlength),n},normalizeRule:function(t){var e;return"string"==typeof t&&(e={},d.each(t.split(/\s/),function(){e[this]=!0}),t=e),t},addMethod:function(t,e,i){d.validator.methods[t]=e,d.validator.messages[t]=void 0!==i?i:d.validator.messages[t],e.length<3&&d.validator.addClassRules(t,d.validator.normalizeRule(t))},methods:{required:function(t,e,i){return this.depend(i,e)?"select"===e.nodeName.toLowerCase()?(i=d(e).val())&&0{ ]|%[0-9A-Fa-f]{2})+(?::(?:[^\]\[?\/<~#`!@$^&*()+=}|:";',>{ ]|%[0-9A-Fa-f]{2})*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t)},date:(i=!1,function(t,e){return i||(i=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(e)||!/Invalid|NaN/.test(new Date(t).toString())}),dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t)},number:function(t,e){return this.optional(e)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},minlength:function(t,e,i){t=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||i<=t},maxlength:function(t,e,i){t=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t<=i},rangelength:function(t,e,i){t=Array.isArray(t)?t.length:this.getLength(t,e);return this.optional(e)||t>=i[0]&&t<=i[1]},min:function(t,e,i){return this.optional(e)||i<=t},max:function(t,e,i){return this.optional(e)||t<=i},range:function(t,e,i){return this.optional(e)||t>=i[0]&&t<=i[1]},step:function(t,e,i){function n(t){return(t=(""+t).match(/(?:\.(\d+))?$/))&&t[1]?t[1].length:0}function s(t){return Math.round(t*Math.pow(10,r))}var r,o=d(e).attr("type"),a="Step attribute on input type "+o+" is not supported.",l=new RegExp("\\b"+o+"\\b"),c=!0;if(o&&!l.test(["text","number","range"].join()))throw new Error(a);return r=n(i),(n(t)>r||s(t)%s(i)!=0)&&(c=!1),this.optional(e)||c},equalTo:function(t,e,i){i=d(i);return this.settings.onfocusout&&i.not(".validate-equalTo-blur").length&&i.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){d(e).valid()}),t===i.val()},remote:function(n,s,t,r){if(this.optional(s))return"dependency-mismatch";r="string"==typeof r&&r||"remote";var o,e,a=this.previousValue(s,r);return this.settings.messages[s.name]||(this.settings.messages[s.name]={}),a.originalMessage=a.originalMessage||this.settings.messages[s.name][r],this.settings.messages[s.name][r]=a.message,e=d.param(d.extend({data:n},(t="string"==typeof t?{url:t}:t).data)),a.old===e?a.valid:(a.old=e,(o=this).startRequest(s),(e={})[s.name]=n,d.ajax(d.extend(!0,{mode:"abort",port:"validate"+s.name,dataType:"json",data:e,context:o.currentForm,success:function(t){var e,i=!0===t||"true"===t;o.settings.messages[s.name][r]=a.originalMessage,i?(e=o.formSubmitted,o.resetInternals(),o.toHide=o.errorsFor(s),o.formSubmitted=e,o.successList.push(s),o.invalid[s.name]=!1,o.showErrors()):(e={},t=t||o.defaultMessage(s,{method:r,parameters:n}),e[s.name]=a.message=t,o.invalid[s.name]=!0,o.showErrors(e)),a.valid=i,o.stopRequest(s,i)}},t)),"pending")}}});var n,s={};return d.ajaxPrefilter?d.ajaxPrefilter(function(t,e,i){var n=t.port;"abort"===t.mode&&(s[n]&&s[n].abort(),s[n]=i)}):(n=d.ajax,d.ajax=function(t){var e=("mode"in t?t:d.ajaxSettings).mode,i=("port"in t?t:d.ajaxSettings).port;return"abort"===e?(s[i]&&s[i].abort(),s[i]=n.apply(this,arguments),s[i]):n.apply(this,arguments)}),d}),!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(c){"use strict";var n,r=window.Slick||{};n=0,(r=function(t,e){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:c(t),appendDots:c(t),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,e){return c('
      ',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push(I),d("BeforeChange",function(t,e,i){e!==i&&(e===I?M():i===I&&M(!0))}),d(a+"."+I,function(){M()})},getIframe:function(t,e){var i=t.src,n=f.st.iframe,s=(c.each(n.patterns,function(){return-1',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=f.st.gallery,t=".mfp-gallery";return f.direction=!0,!(!r||!r.enabled)&&(m+=" mfp-gallery",d("Open"+t,function(){r.navigateByImgClick&&f.wrap.on("click"+t,".mfp-img",function(){return 1=f.index,f.index=t,f.updateItemHTML()},preloadNearbyImages:function(){for(var t=f.st.gallery.preload,e=Math.min(t[0],f.items.length),i=Math.min(t[1],f.items.length),n=1;n<=(f.direction?i:e);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?e:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(t){var e;t=P(t),f.items[t].preloaded||((e=f.items[t]).parsed||(e=f.parseEl(t)),h("LazyLoad",e),"image"===e.type&&(e.img=c('').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,h("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}}),"retina");c.magnificPopup.registerModule($,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var i,n;1r[0]&&(r[1]+1>r[0]&&i.push("-"),i.push(c(r[1])));return i.push("]"),i.join("")}(o):"\\"!==t&&(e[s]=o.replace(/[A-Za-z]/g,function(t){return t=t.charCodeAt(0),"["+String.fromCharCode(-33&t,32|t)+"]"}));return e.join("")}for(var a=0,d=!1,i=!1,n=0,s=t.length;n/,q])):e.push(["com",/^#[^\n\r]*/,q,"#"])),t.cStyleComments&&(i.push(["com",/^\/\/[^\n\r]*/,q]),i.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q])),t.regexLiterals&&i.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]),(n=t.types)&&i.push(["typ",n]),(t=(""+t.keywords).replace(/^ | $/g,"")).length&&i.push(["kwd",RegExp("^(?:"+t.replace(/[\s,]+/g,"|")+")\\b"),q]),e.push(["pln",/^\s+/,q," \r\n\t "]),i.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]),s(e,i)}function f(t,e){function r(t){for(;!t.nextSibling;)if(!(t=t.parentNode))return;for(var e,t=function t(e,i){i=i?e.cloneNode(!1):e;if(n=e.parentNode){var n=t(n,1),s=e.nextSibling;n.appendChild(i);for(var r=s;r;r=s)s=r.nextSibling,n.appendChild(r)}return i}(t.nextSibling,0);(e=t.parentNode)&&1===e.nodeType;)t=e;n.push(t)}for(var o=/(?:^|\s)nocode(?:\s|$)/,a=/\r\n?|\n/,l=t.ownerDocument,c=(t.currentStyle?i=t.currentStyle.whiteSpace:window.getComputedStyle&&(i=l.defaultView.getComputedStyle(t,q).getPropertyValue("white-space")),i&&"pre"===i.substring(0,3)),i=l.createElement("LI");t.firstChild;)i.appendChild(t.firstChild);for(var n=[i],s=0;s]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),e(s([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]),e(s([],[["atv",/^[\S\s]+/]]),["uq.val"]),e(t({keywords:r,hashComments:!0,cStyleComments:!0,types:u}),["c","cc","cpp","cxx","cyc","m"]),e(t({keywords:"null,true,false"}),["json"]),e(t({keywords:a,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:u}),["cs"]),e(t({keywords:o,cStyleComments:!0}),["java"]),e(t({keywords:i,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]),e(t({keywords:l,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py"]),e(t({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]),e(t({keywords:d,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]),e(t({keywords:n,cStyleComments:!0,regexLiterals:!0}),["js"]),e(t({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),e(s([],[["str",/^[\S\s]+/]]),["regex"]),window.prettyPrintOne=function(t,e,i){var n=document.createElement("PRE");return n.innerHTML=t,i&&f(n,i),g({g:e,i:i,h:n}),n.innerHTML},window.prettyPrint=function(c){for(var t=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],d=[],e=0;e",imageAnimation:"2000ms rotate_right",imageAutoResize:!0,imageResizeFactor:1,imageColor:"#202020",imageClass:"",imageOrder:1,fontawesome:"",fontawesomeAnimation:"",fontawesomeAutoResize:!0,fontawesomeResizeFactor:1,fontawesomeColor:"#202020",fontawesomeOrder:2,custom:"",customAnimation:"",customAutoResize:!0,customResizeFactor:1,customOrder:3,text:"",textAnimation:"",textAutoResize:!0,textResizeFactor:.5,textColor:"#202020",textClass:"",textOrder:4,progress:!1,progressAutoResize:!0,progressResizeFactor:.25,progressColor:"#a0a0a0",progressClass:"",progressOrder:5,progressFixedPosition:"",progressSpeed:200,progressMin:0,progressMax:100,size:50,maxSize:120,minSize:20,direction:"column",fade:!0,resizeInterval:50,zIndex:2147483647},l={overlay:{"box-sizing":"border-box",position:"relative",display:"flex","flex-wrap":"nowrap","align-items":"center","justify-content":"space-around"},element:{"box-sizing":"border-box",overflow:"visible",flex:"0 0 auto",display:"flex","justify-content":"center","align-items":"center"},element_svg:{width:"100%",height:"100%"},progress_fixed:{position:"absolute",left:"0",width:"100%"},progress_wrapper:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"},progress_bar:{position:"absolute",left:"0"}},o={count:0,container:n,settings:n,wholePage:n,resizeIntervalId:n,text:n,progress:n},e={animations:["rotate_right","rotate_left","fadein","pulse"],progressPosition:["top","bottom"]},c={animations:{name:"rotate_right",time:"2000ms"},fade:[400,200]};function s(t,e){t=a(t),e.size=x(e.size),e.maxSize=parseInt(e.maxSize,10)||0,e.minSize=parseInt(e.minSize,10)||0,e.resizeInterval=parseInt(e.resizeInterval,10)||0;var i,n,s=f(t),r=g(t);!1===r&&((r=a.extend({},o)).container=t,r.wholePage=t.is("body"),s=a("
      ",{class:"loadingoverlay"}).css(l.overlay).css("flex-direction","row"===e.direction.toLowerCase()?"row":"column"),e.backgroundClass?s.addClass(e.backgroundClass):s.css("background",e.background),r.wholePage&&s.css({position:"fixed",top:0,left:0,width:"100%",height:"100%"}),void 0!==e.zIndex&&s.css("z-index",e.zIndex),e.image&&(a.isArray(e.imageColor)?0===e.imageColor.length?e.imageColor=!1:1===e.imageColor.length?e.imageColor={fill:e.imageColor[0]}:e.imageColor={fill:e.imageColor[0],stroke:e.imageColor[1]}:e.imageColor&&(e.imageColor={fill:e.imageColor}),i=m(s,e.imageOrder,e.imageAutoResize,e.imageResizeFactor,e.imageAnimation),""===e.image.slice(-6).toLowerCase()?(i.append(e.image),i.children().css(l.element_svg),!e.imageClass&&e.imageColor&&i.find("*").css(e.imageColor)):".svg"===e.image.slice(-4).toLowerCase()||"data:image/svg"===e.image.slice(0,14).toLowerCase()?a.ajax({url:e.image,type:"GET",dataType:"html",global:!1}).done(function(t){i.html(t),i.children().css(l.element_svg),!e.imageClass&&e.imageColor&&i.find("*").css(e.imageColor)}):i.css({"background-image":"url("+e.image+")","background-position":"center","background-repeat":"no-repeat","background-size":"cover"}),e.imageClass)&&i.addClass(e.imageClass),e.fontawesome&&(i=m(s,e.fontawesomeOrder,e.fontawesomeAutoResize,e.fontawesomeResizeFactor,e.fontawesomeAnimation).addClass("loadingoverlay_fa"),a("
      ",{class:e.fontawesome}).appendTo(i),e.fontawesomeColor)&&i.css("color",e.fontawesomeColor),e.custom&&(i=m(s,e.customOrder,e.customAutoResize,e.customResizeFactor,e.customAnimation).append(e.custom)),e.text&&(r.text=m(s,e.textOrder,e.textAutoResize,e.textResizeFactor,e.textAnimation).addClass("loadingoverlay_text").text(e.text),e.textClass?r.text.addClass(e.textClass):e.textColor&&r.text.css("color",e.textColor)),e.progress&&(i=m(s,e.progressOrder,e.progressAutoResize,e.progressResizeFactor,!1).addClass("loadingoverlay_progress"),n=a("
      ").css(l.progress_wrapper).appendTo(i),r.progress={bar:a("
      ").css(l.progress_bar).appendTo(n),fixed:!1,margin:0,min:parseFloat(e.progressMin),max:parseFloat(e.progressMax),speed:parseInt(e.progressSpeed,10)},2===(n=(e.progressFixedPosition+"").replace(/\s\s+/g," ").toLowerCase().split(" ")).length&&b(n[0])?(r.progress.fixed=n[0],r.progress.margin=x(n[1])):2===n.length&&b(n[1])?(r.progress.fixed=n[1],r.progress.margin=x(n[0])):1===n.length&&b(n[0])&&(r.progress.fixed=n[0],r.progress.margin=0),"top"===r.progress.fixed?i.css(l.progress_fixed).css("top",r.progress.margin?r.progress.margin.value+(r.progress.margin.fixed?r.progress.margin.units:"%"):0):"bottom"===r.progress.fixed&&i.css(l.progress_fixed).css("top","auto"),e.progressClass?r.progress.bar.addClass(e.progressClass):e.progressColor&&r.progress.bar.css("background",e.progressColor)),e.fade?!0===e.fade?e.fade=c.fade:"string"==typeof e.fade||"number"==typeof e.fade?e.fade=[e.fade,e.fade]:a.isArray(e.fade)&&e.fade.length<2&&(e.fade=[e.fade[0],e.fade[0]]):e.fade=[0,0],e.fade=[parseInt(e.fade[0],10),parseInt(e.fade[1],10)],r.settings=e,s.data("loadingoverlay_data",r),t.data("loadingoverlay",s),s.fadeTo(0,.01).appendTo("body"),p(t,!0),0o.settings.maxSize&&(s=o.settings.maxSize),o.settings.minSize&&s",{class:"loadingoverlay_element",css:{order:e}}).css(l.element).data({loadingoverlay_autoresize:i,loadingoverlay_resizefactor:n}).appendTo(t);return"string"==typeof(s=!0===s?c.animations.time+" "+c.animations.name:s)&&(2===(i=s.replace(/\s\s+/g," ").toLowerCase().split(" ")).length&&v(i[0])&&y(i[1])?(r=i[1],o=i[0]):2===i.length&&v(i[1])&&y(i[0])?(r=i[0],o=i[1]):1===i.length&&v(i[0])?(r=c.animations.name,o=i[0]):1===i.length&&y(i[0])&&(r=i[0],o=c.animations.time),e.css({"animation-name":"loadingoverlay_animation__"+r,"animation-duration":o,"animation-timing-function":"linear","animation-iteration-count":"infinite"})),e}function v(t){return!isNaN(parseFloat(t))&&("s"===t.slice(-1)||"ms"===t.slice(-2))}function y(t){return-1","@-webkit-keyframes loadingoverlay_animation__rotate_right {","to {","-webkit-transform : rotate(360deg);","transform : rotate(360deg);","}","}","@keyframes loadingoverlay_animation__rotate_right {","to {","-webkit-transform : rotate(360deg);","transform : rotate(360deg);","}","}","@-webkit-keyframes loadingoverlay_animation__rotate_left {","to {","-webkit-transform : rotate(-360deg);","transform : rotate(-360deg);","}","}","@keyframes loadingoverlay_animation__rotate_left {","to {","-webkit-transform : rotate(-360deg);","transform : rotate(-360deg);","}","}","@-webkit-keyframes loadingoverlay_animation__fadein {","0% {","opacity : 0;","-webkit-transform : scale(0.1, 0.1);","transform : scale(0.1, 0.1);","}","50% {","opacity : 1;","}","100% {","opacity : 0;","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","}","@keyframes loadingoverlay_animation__fadein {","0% {","opacity : 0;","-webkit-transform : scale(0.1, 0.1);","transform : scale(0.1, 0.1);","}","50% {","opacity : 1;","}","100% {","opacity : 0;","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","}","@-webkit-keyframes loadingoverlay_animation__pulse {","0% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","50% {","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","100% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","}","@keyframes loadingoverlay_animation__pulse {","0% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","50% {","-webkit-transform : scale(1, 1);","transform : scale(1, 1);","}","100% {","-webkit-transform : scale(0, 0);","transform : scale(0, 0);","}","}",""].join(" "))})});