home
/
forge
/
roadtovirtuosity.com
/
public
/
js
➕ New
📤 Upload
✎ Editing:
codebase.app.js
← Back
/*! For license information please see codebase.app.js.LICENSE.txt */ (()=>{var e={1807:e=>{var t=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t},9662:(e,t,i)=>{var n=i(7854),r=i(614),o=i(6330),s=n.TypeError;e.exports=function(e){if(r(e))return e;throw s(o(e)+" is not a function")}},6077:(e,t,i)=>{var n=i(7854),r=i(614),o=n.String,s=n.TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw s("Can't set "+o(e)+" as a prototype")}},1223:(e,t,i)=>{var n=i(5112),r=i(30),o=i(3070),s=n("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),e.exports=function(e){a[s][e]=!0}},1530:(e,t,i)=>{"use strict";var n=i(8710).charAt;e.exports=function(e,t,i){return t+(i?n(e,t).length:1)}},5787:(e,t,i)=>{var n=i(7854),r=i(7976),o=n.TypeError;e.exports=function(e,t){if(r(t,e))return e;throw o("Incorrect invocation")}},9670:(e,t,i)=>{var n=i(7854),r=i(111),o=n.String,s=n.TypeError;e.exports=function(e){if(r(e))return e;throw s(o(e)+" is not an object")}},7556:(e,t,i)=>{var n=i(7293);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:(e,t,i)=>{"use strict";var n=i(2092).forEach,r=i(9341)("forEach");e.exports=r?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},1318:(e,t,i)=>{var n=i(5656),r=i(1400),o=i(6244),s=function(e){return function(t,i,s){var a,l=n(t),c=o(l),u=r(s,c);if(e&&i!=i){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===i)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},2092:(e,t,i)=>{var n=i(9974),r=i(1702),o=i(8361),s=i(7908),a=i(6244),l=i(5417),c=r([].push),u=function(e){var t=1==e,i=2==e,r=3==e,u=4==e,d=6==e,h=7==e,f=5==e||d;return function(p,g,m,v){for(var b,y,_=s(p),w=o(_),x=n(g,m),E=a(w),k=0,S=v||l,L=t?S(p,E):i||h?S(p,0):void 0;E>k;k++)if((f||k in w)&&(y=x(b=w[k],k,_),e))if(t)L[k]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return k;case 2:c(L,b)}else switch(e){case 4:return!1;case 7:c(L,b)}return d?-1:r||u?u:L}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},1194:(e,t,i)=>{var n=i(7293),r=i(5112),o=i(7392),s=r("species");e.exports=function(e){return o>=51||!n((function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:(e,t,i)=>{"use strict";var n=i(7293);e.exports=function(e,t){var i=[][e];return!!i&&n((function(){i.call(null,t||function(){throw 1},1)}))}},3671:(e,t,i)=>{var n=i(7854),r=i(9662),o=i(7908),s=i(8361),a=i(6244),l=n.TypeError,c=function(e){return function(t,i,n,c){r(i);var u=o(t),d=s(u),h=a(u),f=e?h-1:0,p=e?-1:1;if(n<2)for(;;){if(f in d){c=d[f],f+=p;break}if(f+=p,e?f<0:h<=f)throw l("Reduce of empty array with no initial value")}for(;e?f>=0:h>f;f+=p)f in d&&(c=i(c,d[f],f,u));return c}};e.exports={left:c(!1),right:c(!0)}},1589:(e,t,i)=>{var n=i(7854),r=i(1400),o=i(6244),s=i(6135),a=n.Array,l=Math.max;e.exports=function(e,t,i){for(var n=o(e),c=r(t,n),u=r(void 0===i?n:i,n),d=a(l(u-c,0)),h=0;c<u;c++,h++)s(d,h,e[c]);return d.length=h,d}},7475:(e,t,i)=>{var n=i(7854),r=i(3157),o=i(4411),s=i(111),a=i(5112)("species"),l=n.Array;e.exports=function(e){var t;return r(e)&&(t=e.constructor,(o(t)&&(t===l||r(t.prototype))||s(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?l:t}},5417:(e,t,i)=>{var n=i(7475);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},7072:(e,t,i)=>{var n=i(5112)("iterator"),r=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){r=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var i=!1;try{var o={};o[n]=function(){return{next:function(){return{done:i=!0}}}},e(o)}catch(e){}return i}},4326:(e,t,i)=>{var n=i(1702),r=n({}.toString),o=n("".slice);e.exports=function(e){return o(r(e),8,-1)}},648:(e,t,i)=>{var n=i(7854),r=i(1694),o=i(614),s=i(4326),a=i(5112)("toStringTag"),l=n.Object,c="Arguments"==s(function(){return arguments}());e.exports=r?s:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=l(e),a))?i:c?s(t):"Object"==(n=s(t))&&o(t.callee)?"Arguments":n}},9320:(e,t,i)=>{"use strict";var n=i(1702),r=i(2248),o=i(2423).getWeakData,s=i(9670),a=i(111),l=i(5787),c=i(408),u=i(2092),d=i(2597),h=i(9909),f=h.set,p=h.getterFor,g=u.find,m=u.findIndex,v=n([].splice),b=0,y=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},w=function(e,t){return g(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var i=w(this,e);i?i[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&v(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,i,n){var u=e((function(e,r){l(e,h),f(e,{type:t,id:b++,frozen:void 0}),null!=r&&c(r,e[n],{that:e,AS_ENTRIES:i})})),h=u.prototype,g=p(t),m=function(e,t,i){var n=g(e),r=o(s(t),!0);return!0===r?y(n).set(t,i):r[n.id]=i,e};return r(h,{delete:function(e){var t=g(this);if(!a(e))return!1;var i=o(e);return!0===i?y(t).delete(e):i&&d(i,t.id)&&delete i[t.id]},has:function(e){var t=g(this);if(!a(e))return!1;var i=o(e);return!0===i?y(t).has(e):i&&d(i,t.id)}}),r(h,i?{get:function(e){var t=g(this);if(a(e)){var i=o(e);return!0===i?y(t).get(e):i?i[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),u}}},7710:(e,t,i)=>{"use strict";var n=i(2109),r=i(7854),o=i(1702),s=i(4705),a=i(1320),l=i(2423),c=i(408),u=i(5787),d=i(614),h=i(111),f=i(7293),p=i(7072),g=i(8003),m=i(9587);e.exports=function(e,t,i){var v=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=v?"set":"add",_=r[e],w=_&&_.prototype,x=_,E={},k=function(e){var t=o(w[e]);a(w,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!h(e))&&t(this,0===e?0:e)}:function(e,i){return t(this,0===e?0:e,i),this})};if(s(e,!d(_)||!(b||w.forEach&&!f((function(){(new _).entries().next()})))))x=i.getConstructor(t,e,v,y),l.enable();else if(s(e,!0)){var S=new x,L=S[y](b?{}:-0,1)!=S,O=f((function(){S.has(1)})),A=p((function(e){new _(e)})),j=!b&&f((function(){for(var e=new _,t=5;t--;)e[y](t,t);return!e.has(-0)}));A||((x=t((function(e,t){u(e,w);var i=m(new _,e,x);return null!=t&&c(t,i[y],{that:i,AS_ENTRIES:v}),i}))).prototype=w,w.constructor=x),(O||j)&&(k("delete"),k("has"),v&&k("get")),(j||L)&&k(y),b&&w.clear&&delete w.clear}return E[e]=x,n({global:!0,forced:x!=_},E),g(x,e),b||i.setStrong(x,e,v),x}},9920:(e,t,i)=>{var n=i(2597),r=i(3887),o=i(1236),s=i(3070);e.exports=function(e,t,i){for(var a=r(t),l=s.f,c=o.f,u=0;u<a.length;u++){var d=a[u];n(e,d)||i&&n(i,d)||l(e,d,c(t,d))}}},8544:(e,t,i)=>{var n=i(7293);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:(e,t,i)=>{"use strict";var n=i(3383).IteratorPrototype,r=i(30),o=i(9114),s=i(8003),a=i(7497),l=function(){return this};e.exports=function(e,t,i,c){var u=t+" Iterator";return e.prototype=r(n,{next:o(+!c,i)}),s(e,u,!1,!0),a[u]=l,e}},8880:(e,t,i)=>{var n=i(9781),r=i(3070),o=i(9114);e.exports=n?function(e,t,i){return r.f(e,t,o(1,i))}:function(e,t,i){return e[t]=i,e}},9114:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:(e,t,i)=>{"use strict";var n=i(4948),r=i(3070),o=i(9114);e.exports=function(e,t,i){var s=n(t);s in e?r.f(e,s,o(0,i)):e[s]=i}},654:(e,t,i)=>{"use strict";var n=i(2109),r=i(6916),o=i(1913),s=i(6530),a=i(614),l=i(4994),c=i(9518),u=i(7674),d=i(8003),h=i(8880),f=i(1320),p=i(5112),g=i(7497),m=i(3383),v=s.PROPER,b=s.CONFIGURABLE,y=m.IteratorPrototype,_=m.BUGGY_SAFARI_ITERATORS,w=p("iterator"),x="keys",E="values",k="entries",S=function(){return this};e.exports=function(e,t,i,s,p,m,L){l(i,t,s);var O,A,j,T=function(e){if(e===p&&N)return N;if(!_&&e in D)return D[e];switch(e){case x:case E:case k:return function(){return new i(this,e)}}return function(){return new i(this)}},C=t+" Iterator",P=!1,D=e.prototype,I=D[w]||D["@@iterator"]||p&&D[p],N=!_&&I||T(p),M="Array"==t&&D.entries||I;if(M&&(O=c(M.call(new e)))!==Object.prototype&&O.next&&(o||c(O)===y||(u?u(O,y):a(O[w])||f(O,w,S)),d(O,C,!0,!0),o&&(g[C]=S)),v&&p==E&&I&&I.name!==E&&(!o&&b?h(D,"name",E):(P=!0,N=function(){return r(I,this)})),p)if(A={values:T(E),keys:m?N:T(x),entries:T(k)},L)for(j in A)(_||P||!(j in D))&&f(D,j,A[j]);else n({target:t,proto:!0,forced:_||P},A);return o&&!L||D[w]===N||f(D,w,N,{name:p}),g[t]=N,A}},9781:(e,t,i)=>{var n=i(7293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,t,i)=>{var n=i(7854),r=i(111),o=n.document,s=r(o)&&r(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,t,i)=>{var n=i(317)("span").classList,r=n&&n.constructor&&n.constructor.prototype;e.exports=r===Object.prototype?void 0:r},5268:(e,t,i)=>{var n=i(4326),r=i(7854);e.exports="process"==n(r.process)},8113:(e,t,i)=>{var n=i(5005);e.exports=n("navigator","userAgent")||""},7392:(e,t,i)=>{var n,r,o=i(7854),s=i(8113),a=o.process,l=o.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(r=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,t,i)=>{var n=i(7854),r=i(1236).f,o=i(8880),s=i(1320),a=i(3505),l=i(9920),c=i(4705);e.exports=function(e,t){var i,u,d,h,f,p=e.target,g=e.global,m=e.stat;if(i=g?n:m?n[p]||a(p,{}):(n[p]||{}).prototype)for(u in t){if(h=t[u],d=e.noTargetGet?(f=r(i,u))&&f.value:i[u],!c(g?u:p+(m?".":"#")+u,e.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(e.sham||d&&d.sham)&&o(h,"sham",!0),s(i,u,h,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,t,i)=>{"use strict";i(4916);var n=i(1702),r=i(1320),o=i(2261),s=i(7293),a=i(5112),l=i(8880),c=a("species"),u=RegExp.prototype;e.exports=function(e,t,i,d){var h=a(e),f=!s((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f&&!s((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[c]=function(){return i},i.flags="",i[h]=/./[h]),i.exec=function(){return t=!0,null},i[h](""),!t}));if(!f||!p||i){var g=n(/./[h]),m=t(h,""[e],(function(e,t,i,r,s){var a=n(e),l=t.exec;return l===o||l===u.exec?f&&!s?{done:!0,value:g(t,i,r)}:{done:!0,value:a(i,t,r)}:{done:!1}}));r(String.prototype,e,m[0]),r(u,h,m[1])}d&&l(u[h],"sham",!0)}},6677:(e,t,i)=>{var n=i(7293);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:(e,t,i)=>{var n=i(4374),r=Function.prototype,o=r.apply,s=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},9974:(e,t,i)=>{var n=i(1702),r=i(9662),o=i(4374),s=n(n.bind);e.exports=function(e,t){return r(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},4374:(e,t,i)=>{var n=i(7293);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:(e,t,i)=>{var n=i(4374),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},6530:(e,t,i)=>{var n=i(9781),r=i(2597),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=r(o,"name"),l=a&&"something"===function(){}.name,c=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:c}},1702:(e,t,i)=>{var n=i(4374),r=Function.prototype,o=r.bind,s=r.call,a=n&&o.bind(s,s);e.exports=n?function(e){return e&&a(e)}:function(e){return e&&function(){return s.apply(e,arguments)}}},5005:(e,t,i)=>{var n=i(7854),r=i(614),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},1246:(e,t,i)=>{var n=i(648),r=i(8173),o=i(7497),s=i(5112)("iterator");e.exports=function(e){if(null!=e)return r(e,s)||r(e,"@@iterator")||o[n(e)]}},8554:(e,t,i)=>{var n=i(7854),r=i(6916),o=i(9662),s=i(9670),a=i(6330),l=i(1246),c=n.TypeError;e.exports=function(e,t){var i=arguments.length<2?l(e):t;if(o(i))return s(r(i,e));throw c(a(e)+" is not iterable")}},8173:(e,t,i)=>{var n=i(9662);e.exports=function(e,t){var i=e[t];return null==i?void 0:n(i)}},647:(e,t,i)=>{var n=i(1702),r=i(7908),o=Math.floor,s=n("".charAt),a=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,i,n,d,h){var f=i+e.length,p=n.length,g=u;return void 0!==d&&(d=r(d),g=c),a(h,g,(function(r,a){var c;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,i);case"'":return l(t,f);case"<":c=d[l(a,1,-1)];break;default:var u=+a;if(0===u)return r;if(u>p){var h=o(u/10);return 0===h?r:h<=p?void 0===n[h-1]?s(a,1):n[h-1]+s(a,1):r}c=n[u-1]}return void 0===c?"":c}))}},7854:(e,t,i)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2597:(e,t,i)=>{var n=i(1702),r=i(7908),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},3501:e=>{e.exports={}},490:(e,t,i)=>{var n=i(5005);e.exports=n("document","documentElement")},4664:(e,t,i)=>{var n=i(9781),r=i(7293),o=i(317);e.exports=!n&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:(e,t,i)=>{var n=i(7854),r=i(1702),o=i(7293),s=i(4326),a=n.Object,l=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?l(e,""):a(e)}:a},9587:(e,t,i)=>{var n=i(614),r=i(111),o=i(7674);e.exports=function(e,t,i){var s,a;return o&&n(s=t.constructor)&&s!==i&&r(a=s.prototype)&&a!==i.prototype&&o(e,a),e}},2788:(e,t,i)=>{var n=i(1702),r=i(614),o=i(5465),s=n(Function.toString);r(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},2423:(e,t,i)=>{var n=i(2109),r=i(1702),o=i(3501),s=i(111),a=i(2597),l=i(3070).f,c=i(8006),u=i(1156),d=i(2050),h=i(9711),f=i(6677),p=!1,g=h("meta"),m=0,v=function(e){l(e,g,{value:{objectID:"O"+m++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},p=!0;var e=c.f,t=r([].splice),i={};i[g]=1,e(i).length&&(c.f=function(i){for(var n=e(i),r=0,o=n.length;r<o;r++)if(n[r]===g){t(n,r,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,g)){if(!d(e))return"F";if(!t)return"E";v(e)}return e[g].objectID},getWeakData:function(e,t){if(!a(e,g)){if(!d(e))return!0;if(!t)return!1;v(e)}return e[g].weakData},onFreeze:function(e){return f&&p&&d(e)&&!a(e,g)&&v(e),e}};o[g]=!0},9909:(e,t,i)=>{var n,r,o,s=i(8536),a=i(7854),l=i(1702),c=i(111),u=i(8880),d=i(2597),h=i(5465),f=i(6200),p=i(3501),g="Object already initialized",m=a.TypeError,v=a.WeakMap;if(s||h.state){var b=h.state||(h.state=new v),y=l(b.get),_=l(b.has),w=l(b.set);n=function(e,t){if(_(b,e))throw new m(g);return t.facade=e,w(b,e,t),t},r=function(e){return y(b,e)||{}},o=function(e){return _(b,e)}}else{var x=f("state");p[x]=!0,n=function(e,t){if(d(e,x))throw new m(g);return t.facade=e,u(e,x,t),t},r=function(e){return d(e,x)?e[x]:{}},o=function(e){return d(e,x)}}e.exports={set:n,get:r,has:o,enforce:function(e){return o(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!c(t)||(i=r(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return i}}}},7659:(e,t,i)=>{var n=i(5112),r=i(7497),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||s[o]===e)}},3157:(e,t,i)=>{var n=i(4326);e.exports=Array.isArray||function(e){return"Array"==n(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,t,i)=>{var n=i(1702),r=i(7293),o=i(614),s=i(648),a=i(5005),l=i(2788),c=function(){},u=[],d=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,f=n(h.exec),p=!h.exec(c),g=function(e){if(!o(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},m=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(h,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!d||r((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?m:g},4705:(e,t,i)=>{var n=i(7293),r=i(614),o=/#|\.prototype\./,s=function(e,t){var i=l[a(e)];return i==u||i!=c&&(r(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},111:(e,t,i)=>{var n=i(614);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},1913:e=>{e.exports=!1},2190:(e,t,i)=>{var n=i(7854),r=i(5005),o=i(614),s=i(7976),a=i(3307),l=n.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&s(t.prototype,l(e))}},408:(e,t,i)=>{var n=i(7854),r=i(9974),o=i(6916),s=i(9670),a=i(6330),l=i(7659),c=i(6244),u=i(7976),d=i(8554),h=i(1246),f=i(9212),p=n.TypeError,g=function(e,t){this.stopped=e,this.result=t},m=g.prototype;e.exports=function(e,t,i){var n,v,b,y,_,w,x,E=i&&i.that,k=!(!i||!i.AS_ENTRIES),S=!(!i||!i.IS_ITERATOR),L=!(!i||!i.INTERRUPTED),O=r(t,E),A=function(e){return n&&f(n,"normal",e),new g(!0,e)},j=function(e){return k?(s(e),L?O(e[0],e[1],A):O(e[0],e[1])):L?O(e,A):O(e)};if(S)n=e;else{if(!(v=h(e)))throw p(a(e)+" is not iterable");if(l(v)){for(b=0,y=c(e);y>b;b++)if((_=j(e[b]))&&u(m,_))return _;return new g(!1)}n=d(e,v)}for(w=n.next;!(x=o(w,n)).done;){try{_=j(x.value)}catch(e){f(n,"throw",e)}if("object"==typeof _&&_&&u(m,_))return _}return new g(!1)}},9212:(e,t,i)=>{var n=i(6916),r=i(9670),o=i(8173);e.exports=function(e,t,i){var s,a;r(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw i;return i}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw i;if(a)throw s;return r(s),i}},3383:(e,t,i)=>{"use strict";var n,r,o,s=i(7293),a=i(614),l=i(30),c=i(9518),u=i(1320),d=i(5112),h=i(1913),f=d("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(r=c(c(o)))!==Object.prototype&&(n=r):p=!0),null==n||s((function(){var e={};return n[f].call(e)!==e}))?n={}:h&&(n=l(n)),a(n[f])||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},7497:e=>{e.exports={}},6244:(e,t,i)=>{var n=i(7466);e.exports=function(e){return n(e.length)}},133:(e,t,i)=>{var n=i(7392),r=i(7293);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8536:(e,t,i)=>{var n=i(7854),r=i(614),o=i(2788),s=n.WeakMap;e.exports=r(s)&&/native code/.test(o(s))},3009:(e,t,i)=>{var n=i(7854),r=i(7293),o=i(1702),s=i(1340),a=i(3111).trim,l=i(1361),c=n.parseInt,u=n.Symbol,d=u&&u.iterator,h=/^[+-]?0x/i,f=o(h.exec),p=8!==c(l+"08")||22!==c(l+"0x16")||d&&!r((function(){c(Object(d))}));e.exports=p?function(e,t){var i=a(s(e));return c(i,t>>>0||(f(h,i)?16:10))}:c},1574:(e,t,i)=>{"use strict";var n=i(9781),r=i(1702),o=i(6916),s=i(7293),a=i(1956),l=i(5181),c=i(5296),u=i(7908),d=i(8361),h=Object.assign,f=Object.defineProperty,p=r([].concat);e.exports=!h||s((function(){if(n&&1!==h({b:1},h(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol(),r="abcdefghijklmnopqrst";return e[i]=7,r.split("").forEach((function(e){t[e]=e})),7!=h({},e)[i]||a(h({},t)).join("")!=r}))?function(e,t){for(var i=u(e),r=arguments.length,s=1,h=l.f,f=c.f;r>s;)for(var g,m=d(arguments[s++]),v=h?p(a(m),h(m)):a(m),b=v.length,y=0;b>y;)g=v[y++],n&&!o(f,m,g)||(i[g]=m[g]);return i}:h},30:(e,t,i)=>{var n,r=i(9670),o=i(6048),s=i(748),a=i(3501),l=i(490),c=i(317),u=i(6200),d=u("IE_PROTO"),h=function(){},f=function(e){return"<script>"+e+"</"+"script>"},p=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;g="undefined"!=typeof document?document.domain&&n?p(n):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):p(n);for(var i=s.length;i--;)delete g.prototype[s[i]];return g()};a[d]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(h.prototype=r(e),i=new h,h.prototype=null,i[d]=e):i=g(),void 0===t?i:o.f(i,t)}},6048:(e,t,i)=>{var n=i(9781),r=i(3353),o=i(3070),s=i(9670),a=i(5656),l=i(1956);t.f=n&&!r?Object.defineProperties:function(e,t){s(e);for(var i,n=a(t),r=l(t),c=r.length,u=0;c>u;)o.f(e,i=r[u++],n[i]);return e}},3070:(e,t,i)=>{var n=i(7854),r=i(9781),o=i(4664),s=i(3353),a=i(9670),l=i(4948),c=n.TypeError,u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h="enumerable",f="configurable",p="writable";t.f=r?s?function(e,t,i){if(a(e),t=l(t),a(i),"function"==typeof e&&"prototype"===t&&"value"in i&&p in i&&!i.writable){var n=d(e,t);n&&n.writable&&(e[t]=i.value,i={configurable:f in i?i.configurable:n.configurable,enumerable:h in i?i.enumerable:n.enumerable,writable:!1})}return u(e,t,i)}:u:function(e,t,i){if(a(e),t=l(t),a(i),o)try{return u(e,t,i)}catch(e){}if("get"in i||"set"in i)throw c("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},1236:(e,t,i)=>{var n=i(9781),r=i(6916),o=i(5296),s=i(9114),a=i(5656),l=i(4948),c=i(2597),u=i(4664),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return s(!r(o.f,e,t),e[t])}},1156:(e,t,i)=>{var n=i(4326),r=i(5656),o=i(8006).f,s=i(1589),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==n(e)?function(e){try{return o(e)}catch(e){return s(a)}}(e):o(r(e))}},8006:(e,t,i)=>{var n=i(6324),r=i(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},5181:(e,t)=>{t.f=Object.getOwnPropertySymbols},9518:(e,t,i)=>{var n=i(7854),r=i(2597),o=i(614),s=i(7908),a=i(6200),l=i(8544),c=a("IE_PROTO"),u=n.Object,d=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=s(e);if(r(t,c))return t[c];var i=t.constructor;return o(i)&&t instanceof i?i.prototype:t instanceof u?d:null}},2050:(e,t,i)=>{var n=i(7293),r=i(111),o=i(4326),s=i(7556),a=Object.isExtensible,l=n((function(){a(1)}));e.exports=l||s?function(e){return!!r(e)&&((!s||"ArrayBuffer"!=o(e))&&(!a||a(e)))}:a},7976:(e,t,i)=>{var n=i(1702);e.exports=n({}.isPrototypeOf)},6324:(e,t,i)=>{var n=i(1702),r=i(2597),o=i(5656),s=i(1318).indexOf,a=i(3501),l=n([].push);e.exports=function(e,t){var i,n=o(e),c=0,u=[];for(i in n)!r(a,i)&&r(n,i)&&l(u,i);for(;t.length>c;)r(n,i=t[c++])&&(~s(u,i)||l(u,i));return u}},1956:(e,t,i)=>{var n=i(6324),r=i(748);e.exports=Object.keys||function(e){return n(e,r)}},5296:(e,t)=>{"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);t.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},7674:(e,t,i)=>{var n=i(1702),r=i(9670),o=i(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return r(i),o(n),t?e(i,n):i.__proto__=n,i}}():void 0)},288:(e,t,i)=>{"use strict";var n=i(1694),r=i(648);e.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},2140:(e,t,i)=>{var n=i(7854),r=i(6916),o=i(614),s=i(111),a=n.TypeError;e.exports=function(e,t){var i,n;if("string"===t&&o(i=e.toString)&&!s(n=r(i,e)))return n;if(o(i=e.valueOf)&&!s(n=r(i,e)))return n;if("string"!==t&&o(i=e.toString)&&!s(n=r(i,e)))return n;throw a("Can't convert object to primitive value")}},3887:(e,t,i)=>{var n=i(5005),r=i(1702),o=i(8006),s=i(5181),a=i(9670),l=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),i=s.f;return i?l(t,i(e)):t}},2248:(e,t,i)=>{var n=i(1320);e.exports=function(e,t,i){for(var r in t)n(e,r,t[r],i);return e}},1320:(e,t,i)=>{var n=i(7854),r=i(614),o=i(2597),s=i(8880),a=i(3505),l=i(2788),c=i(9909),u=i(6530).CONFIGURABLE,d=c.get,h=c.enforce,f=String(String).split("String");(e.exports=function(e,t,i,l){var c,d=!!l&&!!l.unsafe,p=!!l&&!!l.enumerable,g=!!l&&!!l.noTargetGet,m=l&&void 0!==l.name?l.name:t;r(i)&&("Symbol("===String(m).slice(0,7)&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(i,"name")||u&&i.name!==m)&&s(i,"name",m),(c=h(i)).source||(c.source=f.join("string"==typeof m?m:""))),e!==n?(d?!g&&e[t]&&(p=!0):delete e[t],p?e[t]=i:s(e,t,i)):p?e[t]=i:a(t,i)})(Function.prototype,"toString",(function(){return r(this)&&d(this).source||l(this)}))},7651:(e,t,i)=>{var n=i(7854),r=i(6916),o=i(9670),s=i(614),a=i(4326),l=i(2261),c=n.TypeError;e.exports=function(e,t){var i=e.exec;if(s(i)){var n=r(i,e,t);return null!==n&&o(n),n}if("RegExp"===a(e))return r(l,e,t);throw c("RegExp#exec called on incompatible receiver")}},2261:(e,t,i)=>{"use strict";var n,r,o=i(6916),s=i(1702),a=i(1340),l=i(7066),c=i(2999),u=i(2309),d=i(30),h=i(9909).get,f=i(9441),p=i(7168),g=u("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,v=m,b=s("".charAt),y=s("".indexOf),_=s("".replace),w=s("".slice),x=(r=/b*/g,o(m,n=/a/,"a"),o(m,r,"a"),0!==n.lastIndex||0!==r.lastIndex),E=c.BROKEN_CARET,k=void 0!==/()??/.exec("")[1];(x||k||E||f||p)&&(v=function(e){var t,i,n,r,s,c,u,f=this,p=h(f),S=a(e),L=p.raw;if(L)return L.lastIndex=f.lastIndex,t=o(v,L,S),f.lastIndex=L.lastIndex,t;var O=p.groups,A=E&&f.sticky,j=o(l,f),T=f.source,C=0,P=S;if(A&&(j=_(j,"y",""),-1===y(j,"g")&&(j+="g"),P=w(S,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==b(S,f.lastIndex-1))&&(T="(?: "+T+")",P=" "+P,C++),i=new RegExp("^(?:"+T+")",j)),k&&(i=new RegExp("^"+T+"$(?!\\s)",j)),x&&(n=f.lastIndex),r=o(m,A?i:f,P),A?r?(r.input=w(r.input,C),r[0]=w(r[0],C),r.index=f.lastIndex,f.lastIndex+=r[0].length):f.lastIndex=0:x&&r&&(f.lastIndex=f.global?r.index+r[0].length:n),k&&r&&r.length>1&&o(g,r[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(r[s]=void 0)})),r&&O)for(r.groups=c=d(null),s=0;s<O.length;s++)c[(u=O[s])[0]]=r[u[1]];return r}),e.exports=v},7066:(e,t,i)=>{"use strict";var n=i(9670);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:(e,t,i)=>{var n=i(7293),r=i(7854).RegExp,o=n((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),s=o||n((function(){return!r("a","y").sticky})),a=o||n((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:o}},9441:(e,t,i)=>{var n=i(7293),r=i(7854).RegExp;e.exports=n((function(){var e=r(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:(e,t,i)=>{var n=i(7293),r=i(7854).RegExp;e.exports=n((function(){var e=r("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:(e,t,i)=>{var n=i(7854).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},3505:(e,t,i)=>{var n=i(7854),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},8003:(e,t,i)=>{var n=i(3070).f,r=i(2597),o=i(5112)("toStringTag");e.exports=function(e,t,i){e&&!i&&(e=e.prototype),e&&!r(e,o)&&n(e,o,{configurable:!0,value:t})}},6200:(e,t,i)=>{var n=i(2309),r=i(9711),o=n("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},5465:(e,t,i)=>{var n=i(7854),r=i(3505),o="__core-js_shared__",s=n[o]||r(o,{});e.exports=s},2309:(e,t,i)=>{var n=i(1913),r=i(5465);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.0",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8710:(e,t,i)=>{var n=i(1702),r=i(9303),o=i(1340),s=i(4488),a=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,i){var n,u,d=o(s(t)),h=r(i),f=d.length;return h<0||h>=f?e?"":void 0:(n=l(d,h))<55296||n>56319||h+1===f||(u=l(d,h+1))<56320||u>57343?e?a(d,h):n:e?c(d,h,h+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},3111:(e,t,i)=>{var n=i(1702),r=i(4488),o=i(1340),s=i(1361),a=n("".replace),l="["+s+"]",c=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),d=function(e){return function(t){var i=o(r(t));return 1&e&&(i=a(i,c,"")),2&e&&(i=a(i,u,"")),i}};e.exports={start:d(1),end:d(2),trim:d(3)}},1400:(e,t,i)=>{var n=i(9303),r=Math.max,o=Math.min;e.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):o(i,t)}},5656:(e,t,i)=>{var n=i(8361),r=i(4488);e.exports=function(e){return n(r(e))}},9303:e=>{var t=Math.ceil,i=Math.floor;e.exports=function(e){var n=+e;return n!=n||0===n?0:(n>0?i:t)(n)}},7466:(e,t,i)=>{var n=i(9303),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},7908:(e,t,i)=>{var n=i(7854),r=i(4488),o=n.Object;e.exports=function(e){return o(r(e))}},7593:(e,t,i)=>{var n=i(7854),r=i(6916),o=i(111),s=i(2190),a=i(8173),l=i(2140),c=i(5112),u=n.TypeError,d=c("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var i,n=a(e,d);if(n){if(void 0===t&&(t="default"),i=r(n,e,t),!o(i)||s(i))return i;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},4948:(e,t,i)=>{var n=i(7593),r=i(2190);e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},1694:(e,t,i)=>{var n={};n[i(5112)("toStringTag")]="z",e.exports="[object z]"===String(n)},1340:(e,t,i)=>{var n=i(7854),r=i(648),o=n.String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},6330:(e,t,i)=>{var n=i(7854).String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},9711:(e,t,i)=>{var n=i(1702),r=0,o=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++r+o,36)}},3307:(e,t,i)=>{var n=i(133);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:(e,t,i)=>{var n=i(9781),r=i(7293);e.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:(e,t,i)=>{var n=i(7854),r=i(2309),o=i(2597),s=i(9711),a=i(133),l=i(3307),c=r("wks"),u=n.Symbol,d=u&&u.for,h=l?u:u&&u.withoutSetter||s;e.exports=function(e){if(!o(c,e)||!a&&"string"!=typeof c[e]){var t="Symbol."+e;a&&o(u,e)?c[e]=u[e]:c[e]=l&&d?d(t):h(t)}return c[e]}},1361:e=>{e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},7327:(e,t,i)=>{"use strict";var n=i(2109),r=i(2092).filter;n({target:"Array",proto:!0,forced:!i(1194)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},9554:(e,t,i)=>{"use strict";var n=i(2109),r=i(8533);n({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},6992:(e,t,i)=>{"use strict";var n=i(5656),r=i(1223),o=i(7497),s=i(9909),a=i(3070).f,l=i(654),c=i(1913),u=i(9781),d="Array Iterator",h=s.set,f=s.getterFor(d);e.exports=l(Array,"Array",(function(e,t){h(this,{type:d,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,i=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:n,done:!1}:"values"==i?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var p=o.Arguments=o.Array;if(r("keys"),r("values"),r("entries"),!c&&u&&"values"!==p.name)try{a(p,"name",{value:"values"})}catch(e){}},5827:(e,t,i)=>{"use strict";var n=i(2109),r=i(3671).left,o=i(9341),s=i(7392),a=i(5268);n({target:"Array",proto:!0,forced:!o("reduce")||!a&&s>79&&s<83},{reduce:function(e){var t=arguments.length;return r(this,e,t,t>1?arguments[1]:void 0)}})},8309:(e,t,i)=>{var n=i(9781),r=i(6530).EXISTS,o=i(1702),s=i(3070).f,a=Function.prototype,l=o(a.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=o(c.exec);n&&!r&&s(a,"name",{configurable:!0,get:function(){try{return u(c,l(this))[1]}catch(e){return""}}})},9601:(e,t,i)=>{var n=i(2109),r=i(1574);n({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},1539:(e,t,i)=>{var n=i(1694),r=i(1320),o=i(288);n||r(Object.prototype,"toString",o,{unsafe:!0})},1058:(e,t,i)=>{var n=i(2109),r=i(3009);n({global:!0,forced:parseInt!=r},{parseInt:r})},4916:(e,t,i)=>{"use strict";var n=i(2109),r=i(2261);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},8783:(e,t,i)=>{"use strict";var n=i(8710).charAt,r=i(1340),o=i(9909),s=i(654),a="String Iterator",l=o.set,c=o.getterFor(a);s(String,"String",(function(e){l(this,{type:a,string:r(e),index:0})}),(function(){var e,t=c(this),i=t.string,r=t.index;return r>=i.length?{value:void 0,done:!0}:(e=n(i,r),t.index+=e.length,{value:e,done:!1})}))},4723:(e,t,i)=>{"use strict";var n=i(6916),r=i(7007),o=i(9670),s=i(7466),a=i(1340),l=i(4488),c=i(8173),u=i(1530),d=i(7651);r("match",(function(e,t,i){return[function(t){var i=l(this),r=null==t?void 0:c(t,e);return r?n(r,t,i):new RegExp(t)[e](a(i))},function(e){var n=o(this),r=a(e),l=i(t,n,r);if(l.done)return l.value;if(!n.global)return d(n,r);var c=n.unicode;n.lastIndex=0;for(var h,f=[],p=0;null!==(h=d(n,r));){var g=a(h[0]);f[p]=g,""===g&&(n.lastIndex=u(r,s(n.lastIndex),c)),p++}return 0===p?null:f}]}))},5306:(e,t,i)=>{"use strict";var n=i(2104),r=i(6916),o=i(1702),s=i(7007),a=i(7293),l=i(9670),c=i(614),u=i(9303),d=i(7466),h=i(1340),f=i(4488),p=i(1530),g=i(8173),m=i(647),v=i(7651),b=i(5112)("replace"),y=Math.max,_=Math.min,w=o([].concat),x=o([].push),E=o("".indexOf),k=o("".slice),S="$0"==="a".replace(/./,"$0"),L=!!/./[b]&&""===/./[b]("a","$0");s("replace",(function(e,t,i){var o=L?"$":"$0";return[function(e,i){var n=f(this),o=null==e?void 0:g(e,b);return o?r(o,e,n,i):r(t,h(n),e,i)},function(e,r){var s=l(this),a=h(e);if("string"==typeof r&&-1===E(r,o)&&-1===E(r,"$<")){var f=i(t,s,a,r);if(f.done)return f.value}var g=c(r);g||(r=h(r));var b=s.global;if(b){var S=s.unicode;s.lastIndex=0}for(var L=[];;){var O=v(s,a);if(null===O)break;if(x(L,O),!b)break;""===h(O[0])&&(s.lastIndex=p(a,d(s.lastIndex),S))}for(var A,j="",T=0,C=0;C<L.length;C++){for(var P=h((O=L[C])[0]),D=y(_(u(O.index),a.length),0),I=[],N=1;N<O.length;N++)x(I,void 0===(A=O[N])?A:String(A));var M=O.groups;if(g){var F=w([P],I,D,a);void 0!==M&&x(F,M);var R=h(n(r,void 0,F))}else R=m(P,a,D,I,M,r);D>=T&&(j+=k(a,T,D)+R,T=D+P.length)}return j+k(a,T)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||L)},4129:(e,t,i)=>{"use strict";var n,r=i(7854),o=i(1702),s=i(2248),a=i(2423),l=i(7710),c=i(9320),u=i(111),d=i(2050),h=i(9909).enforce,f=i(8536),p=!r.ActiveXObject&&"ActiveXObject"in r,g=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=l("WeakMap",g,c);if(f&&p){n=c.getConstructor(g,"WeakMap",!0),a.enable();var v=m.prototype,b=o(v.delete),y=o(v.has),_=o(v.get),w=o(v.set);s(v,{delete:function(e){if(u(e)&&!d(e)){var t=h(this);return t.frozen||(t.frozen=new n),b(this,e)||t.frozen.delete(e)}return b(this,e)},has:function(e){if(u(e)&&!d(e)){var t=h(this);return t.frozen||(t.frozen=new n),y(this,e)||t.frozen.has(e)}return y(this,e)},get:function(e){if(u(e)&&!d(e)){var t=h(this);return t.frozen||(t.frozen=new n),y(this,e)?_(this,e):t.frozen.get(e)}return _(this,e)},set:function(e,t){if(u(e)&&!d(e)){var i=h(this);i.frozen||(i.frozen=new n),y(this,e)?w(this,e,t):i.frozen.set(e,t)}else w(this,e,t);return this}})}},4747:(e,t,i)=>{var n=i(7854),r=i(8324),o=i(8509),s=i(8533),a=i(8880),l=function(e){if(e&&e.forEach!==s)try{a(e,"forEach",s)}catch(t){e.forEach=s}};for(var c in r)r[c]&&l(n[c]&&n[c].prototype);l(o)},3948:(e,t,i)=>{var n=i(7854),r=i(8324),o=i(8509),s=i(6992),a=i(8880),l=i(5112),c=l("iterator"),u=l("toStringTag"),d=s.values,h=function(e,t){if(e){if(e[c]!==d)try{a(e,c,d)}catch(t){e[c]=d}if(e[u]||a(e,u,t),r[t])for(var i in s)if(e[i]!==s[i])try{a(e,i,s[i])}catch(t){e[i]=s[i]}}};for(var f in r)h(n[f]&&n[f].prototype,f);h(o,"DOMTokenList")},1296:(e,t,i)=>{var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,a=parseInt,l="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,h=Math.max,f=Math.min,p=function(){return u.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(g(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=g(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var i=o.test(e);return i||s.test(e)?a(e.slice(2),i?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,i){var n,r,o,s,a,l,c=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var i=n,o=r;return n=r=void 0,c=t,s=e.apply(o,i)}function y(e){return c=e,a=setTimeout(w,t),u?b(e):s}function _(e){var i=e-l;return void 0===l||i>=t||i<0||d&&e-c>=o}function w(){var e=p();if(_(e))return x(e);a=setTimeout(w,function(e){var i=t-(e-l);return d?f(i,o-(e-c)):i}(e))}function x(e){return a=void 0,v&&n?b(e):(n=r=void 0,s)}function E(){var e=p(),i=_(e);if(n=arguments,r=this,l=e,i){if(void 0===a)return y(l);if(d)return a=setTimeout(w,t),b(l)}return void 0===a&&(a=setTimeout(w,t)),s}return t=m(t)||0,g(i)&&(u=!!i.leading,o=(d="maxWait"in i)?h(m(i.maxWait)||0,t):o,v="trailing"in i?!!i.trailing:v),E.cancel=function(){void 0!==a&&clearTimeout(a),c=0,n=l=r=a=void 0},E.flush=function(){return void 0===a?s:x(p())},E}},773:(e,t,i)=>{var n="__lodash_hash_undefined__",r="[object Function]",o="[object GeneratorFunction]",s=/^\[object .+?Constructor\]$/,a="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,l="object"==typeof self&&self&&self.Object===Object&&self,c=a||l||Function("return this")();var u,d=Array.prototype,h=Function.prototype,f=Object.prototype,p=c["__core-js_shared__"],g=(u=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+u:"",m=h.toString,v=f.hasOwnProperty,b=f.toString,y=RegExp("^"+m.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_=d.splice,w=j(c,"Map"),x=j(Object,"create");function E(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function k(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function S(e){var t=-1,i=e?e.length:0;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}function L(e,t){for(var i,n,r=e.length;r--;)if((i=e[r][0])===(n=t)||i!=i&&n!=n)return r;return-1}function O(e){if(!C(e)||(t=e,g&&g in t))return!1;var t,i=function(e){var t=C(e)?b.call(e):"";return t==r||t==o}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?y:s;return i.test(function(e){if(null!=e){try{return m.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function A(e,t){var i,n,r=e.__data__;return("string"==(n=typeof(i=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?r["string"==typeof t?"string":"hash"]:r.map}function j(e,t){var i=function(e,t){return null==e?void 0:e[t]}(e,t);return O(i)?i:void 0}function T(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=t?t.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var s=e.apply(this,n);return i.cache=o.set(r,s),s};return i.cache=new(T.Cache||S),i}function C(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}E.prototype.clear=function(){this.__data__=x?x(null):{}},E.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},E.prototype.get=function(e){var t=this.__data__;if(x){var i=t[e];return i===n?void 0:i}return v.call(t,e)?t[e]:void 0},E.prototype.has=function(e){var t=this.__data__;return x?void 0!==t[e]:v.call(t,e)},E.prototype.set=function(e,t){return this.__data__[e]=x&&void 0===t?n:t,this},k.prototype.clear=function(){this.__data__=[]},k.prototype.delete=function(e){var t=this.__data__,i=L(t,e);return!(i<0)&&(i==t.length-1?t.pop():_.call(t,i,1),!0)},k.prototype.get=function(e){var t=this.__data__,i=L(t,e);return i<0?void 0:t[i][1]},k.prototype.has=function(e){return L(this.__data__,e)>-1},k.prototype.set=function(e,t){var i=this.__data__,n=L(i,e);return n<0?i.push([e,t]):i[n][1]=t,this},S.prototype.clear=function(){this.__data__={hash:new E,map:new(w||k),string:new E}},S.prototype.delete=function(e){return A(this,e).delete(e)},S.prototype.get=function(e){return A(this,e).get(e)},S.prototype.has=function(e){return A(this,e).has(e)},S.prototype.set=function(e,t){return A(this,e).set(e,t),this},T.Cache=S,e.exports=T},3096:(e,t,i)=>{var n="Expected a function",r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,u="object"==typeof self&&self&&self.Object===Object&&self,d=c||u||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,g=function(){return d.Date.now()};function m(e,t,i){var r,o,s,a,l,c,u=0,d=!1,h=!1,m=!0;if("function"!=typeof e)throw new TypeError(n);function y(t){var i=r,n=o;return r=o=void 0,u=t,a=e.apply(n,i)}function _(e){return u=e,l=setTimeout(x,t),d?y(e):a}function w(e){var i=e-c;return void 0===c||i>=t||i<0||h&&e-u>=s}function x(){var e=g();if(w(e))return E(e);l=setTimeout(x,function(e){var i=t-(e-c);return h?p(i,s-(e-u)):i}(e))}function E(e){return l=void 0,m&&r?y(e):(r=o=void 0,a)}function k(){var e=g(),i=w(e);if(r=arguments,o=this,c=e,i){if(void 0===l)return _(c);if(h)return l=setTimeout(x,t),y(c)}return void 0===l&&(l=setTimeout(x,t)),a}return t=b(t)||0,v(i)&&(d=!!i.leading,s=(h="maxWait"in i)?f(b(i.maxWait)||0,t):s,m="trailing"in i?!!i.trailing:m),k.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=c=o=l=void 0},k.flush=function(){return void 0===l?a:E(g())},k}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var i=s.test(e);return i||a.test(e)?l(e.slice(2),i?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,i){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return v(i)&&(r="leading"in i?!!i.leading:r,o="trailing"in i?!!i.trailing:o),m(e,t,{leading:r,maxWait:t,trailing:o})}}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};i.r(e),i.d(e,{afterMain:()=>x,afterRead:()=>y,afterWrite:()=>S,applyStyles:()=>P,arrow:()=>K,auto:()=>a,basePlacements:()=>l,beforeMain:()=>_,beforeRead:()=>v,beforeWrite:()=>E,bottom:()=>r,clippingParents:()=>d,computeStyles:()=>ee,createPopper:()=>Te,createPopperBase:()=>je,createPopperLite:()=>Ce,detectOverflow:()=>me,end:()=>u,eventListeners:()=>ie,flip:()=>ve,hide:()=>_e,left:()=>s,main:()=>w,modifierPhases:()=>L,offset:()=>we,placements:()=>m,popper:()=>f,popperGenerator:()=>Ae,popperOffsets:()=>xe,preventOverflow:()=>Ee,read:()=>b,reference:()=>p,right:()=>o,start:()=>c,top:()=>n,variationPlacements:()=>g,viewport:()=>h,write:()=>k});var t={};i.r(t),i.d(t,{Alert:()=>bt,Button:()=>_t,Carousel:()=>Mt,Collapse:()=>Xt,Dropdown:()=>fi,Modal:()=>qi,Offcanvas:()=>Ui,Popover:()=>xn,ScrollSpy:()=>Pn,Tab:()=>Rn,Toast:()=>Vn,Tooltip:()=>bn});var n="top",r="bottom",o="right",s="left",a="auto",l=[n,r,o,s],c="start",u="end",d="clippingParents",h="viewport",f="popper",p="reference",g=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),m=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),v="beforeRead",b="read",y="afterRead",_="beforeMain",w="main",x="afterMain",E="beforeWrite",k="write",S="afterWrite",L=[v,b,y,_,w,x,E,k,S];function O(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function j(e){return e instanceof A(e).Element||e instanceof Element}function T(e){return e instanceof A(e).HTMLElement||e instanceof HTMLElement}function C(e){return"undefined"!=typeof ShadowRoot&&(e instanceof A(e).ShadowRoot||e instanceof ShadowRoot)}const P={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var i=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];T(r)&&O(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,i={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,i.popper),t.styles=i,t.elements.arrow&&Object.assign(t.elements.arrow.style,i.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:i[e]).reduce((function(e,t){return e[t]="",e}),{});T(n)&&O(n)&&(Object.assign(n.style,o),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]};function D(e){return e.split("-")[0]}var I=Math.max,N=Math.min,M=Math.round;function F(e,t){void 0===t&&(t=!1);var i=e.getBoundingClientRect(),n=1,r=1;if(T(e)&&t){var o=e.offsetHeight,s=e.offsetWidth;s>0&&(n=M(i.width)/s||1),o>0&&(r=M(i.height)/o||1)}return{width:i.width/n,height:i.height/r,top:i.top/r,right:i.right/n,bottom:i.bottom/r,left:i.left/n,x:i.left/n,y:i.top/r}}function R(e){var t=F(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function z(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&C(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function B(e){return A(e).getComputedStyle(e)}function W(e){return["table","td","th"].indexOf(O(e))>=0}function q(e){return((j(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(C(e)?e.host:null)||q(e)}function $(e){return T(e)&&"fixed"!==B(e).position?e.offsetParent:null}function V(e){for(var t=A(e),i=$(e);i&&W(i)&&"static"===B(i).position;)i=$(i);return i&&("html"===O(i)||"body"===O(i)&&"static"===B(i).position)?t:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&T(e)&&"fixed"===B(e).position)return null;for(var i=H(e);T(i)&&["html","body"].indexOf(O(i))<0;){var n=B(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e,t,i){return I(e,N(t,i))}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function U(e,t){return t.reduce((function(t,i){return t[i]=e,t}),{})}const K={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i=e.state,a=e.name,c=e.options,u=i.elements.arrow,d=i.modifiersData.popperOffsets,h=D(i.placement),f=Q(h),p=[s,o].indexOf(h)>=0?"height":"width";if(u&&d){var g=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:U(e,l))}(c.padding,i),m=R(u),v="y"===f?n:s,b="y"===f?r:o,y=i.rects.reference[p]+i.rects.reference[f]-d[f]-i.rects.popper[p],_=d[f]-i.rects.reference[f],w=V(u),x=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,E=y/2-_/2,k=g[v],S=x-m[p]-g[b],L=x/2-m[p]/2+E,O=X(k,L,S),A=f;i.modifiersData[a]=((t={})[A]=O,t.centerOffset=O-L,t)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&z(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function G(e){return e.split("-")[1]}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,i=e.popper,a=e.popperRect,l=e.placement,c=e.variation,d=e.offsets,h=e.position,f=e.gpuAcceleration,p=e.adaptive,g=e.roundOffsets,m=e.isFixed,v=d.x,b=void 0===v?0:v,y=d.y,_=void 0===y?0:y,w="function"==typeof g?g({x:b,y:_}):{x:b,y:_};b=w.x,_=w.y;var x=d.hasOwnProperty("x"),E=d.hasOwnProperty("y"),k=s,S=n,L=window;if(p){var O=V(i),j="clientHeight",T="clientWidth";if(O===A(i)&&"static"!==B(O=q(i)).position&&"absolute"===h&&(j="scrollHeight",T="scrollWidth"),O=O,l===n||(l===s||l===o)&&c===u)S=r,_-=(m&&L.visualViewport?L.visualViewport.height:O[j])-a.height,_*=f?1:-1;if(l===s||(l===n||l===r)&&c===u)k=o,b-=(m&&L.visualViewport?L.visualViewport.width:O[T])-a.width,b*=f?1:-1}var C,P=Object.assign({position:h},p&&J),D=!0===g?function(e){var t=e.x,i=e.y,n=window.devicePixelRatio||1;return{x:M(t*n)/n||0,y:M(i*n)/n||0}}({x:b,y:_}):{x:b,y:_};return b=D.x,_=D.y,f?Object.assign({},P,((C={})[S]=E?"0":"",C[k]=x?"0":"",C.transform=(L.devicePixelRatio||1)<=1?"translate("+b+"px, "+_+"px)":"translate3d("+b+"px, "+_+"px, 0)",C)):Object.assign({},P,((t={})[S]=E?_+"px":"",t[k]=x?b+"px":"",t.transform="",t))}const ee={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=e.options,n=i.gpuAcceleration,r=void 0===n||n,o=i.adaptive,s=void 0===o||o,a=i.roundOffsets,l=void 0===a||a,c={placement:D(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var te={passive:!0};const ie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=e.options,r=n.scroll,o=void 0===r||r,s=n.resize,a=void 0===s||s,l=A(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",i.update,te)})),a&&l.addEventListener("resize",i.update,te),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",i.update,te)})),a&&l.removeEventListener("resize",i.update,te)}},data:{}};var ne={left:"right",right:"left",bottom:"top",top:"bottom"};function re(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var oe={start:"end",end:"start"};function se(e){return e.replace(/start|end/g,(function(e){return oe[e]}))}function ae(e){var t=A(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function le(e){return F(q(e)).left+ae(e).scrollLeft}function ce(e){var t=B(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function ue(e){return["html","body","#document"].indexOf(O(e))>=0?e.ownerDocument.body:T(e)&&ce(e)?e:ue(H(e))}function de(e,t){var i;void 0===t&&(t=[]);var n=ue(e),r=n===(null==(i=e.ownerDocument)?void 0:i.body),o=A(n),s=r?[o].concat(o.visualViewport||[],ce(n)?n:[]):n,a=t.concat(s);return r?a:a.concat(de(H(s)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function fe(e,t){return t===h?he(function(e){var t=A(e),i=q(e),n=t.visualViewport,r=i.clientWidth,o=i.clientHeight,s=0,a=0;return n&&(r=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=n.offsetLeft,a=n.offsetTop)),{width:r,height:o,x:s+le(e),y:a}}(e)):j(t)?function(e){var t=F(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):he(function(e){var t,i=q(e),n=ae(e),r=null==(t=e.ownerDocument)?void 0:t.body,o=I(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=I(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-n.scrollLeft+le(e),l=-n.scrollTop;return"rtl"===B(r||i).direction&&(a+=I(i.clientWidth,r?r.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}(q(e)))}function pe(e,t,i){var n="clippingParents"===t?function(e){var t=de(H(e)),i=["absolute","fixed"].indexOf(B(e).position)>=0&&T(e)?V(e):e;return j(i)?t.filter((function(e){return j(e)&&z(e,i)&&"body"!==O(e)})):[]}(e):[].concat(t),r=[].concat(n,[i]),o=r[0],s=r.reduce((function(t,i){var n=fe(e,i);return t.top=I(n.top,t.top),t.right=N(n.right,t.right),t.bottom=N(n.bottom,t.bottom),t.left=I(n.left,t.left),t}),fe(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ge(e){var t,i=e.reference,a=e.element,l=e.placement,d=l?D(l):null,h=l?G(l):null,f=i.x+i.width/2-a.width/2,p=i.y+i.height/2-a.height/2;switch(d){case n:t={x:f,y:i.y-a.height};break;case r:t={x:f,y:i.y+i.height};break;case o:t={x:i.x+i.width,y:p};break;case s:t={x:i.x-a.width,y:p};break;default:t={x:i.x,y:i.y}}var g=d?Q(d):null;if(null!=g){var m="y"===g?"height":"width";switch(h){case c:t[g]=t[g]-(i[m]/2-a[m]/2);break;case u:t[g]=t[g]+(i[m]/2-a[m]/2)}}return t}function me(e,t){void 0===t&&(t={});var i=t,s=i.placement,a=void 0===s?e.placement:s,c=i.boundary,u=void 0===c?d:c,g=i.rootBoundary,m=void 0===g?h:g,v=i.elementContext,b=void 0===v?f:v,y=i.altBoundary,_=void 0!==y&&y,w=i.padding,x=void 0===w?0:w,E=Y("number"!=typeof x?x:U(x,l)),k=b===f?p:f,S=e.rects.popper,L=e.elements[_?k:b],O=pe(j(L)?L:L.contextElement||q(e.elements.popper),u,m),A=F(e.elements.reference),T=ge({reference:A,element:S,strategy:"absolute",placement:a}),C=he(Object.assign({},S,T)),P=b===f?C:A,D={top:O.top-P.top+E.top,bottom:P.bottom-O.bottom+E.bottom,left:O.left-P.left+E.left,right:P.right-O.right+E.right},I=e.modifiersData.offset;if(b===f&&I){var N=I[a];Object.keys(D).forEach((function(e){var t=[o,r].indexOf(e)>=0?1:-1,i=[n,r].indexOf(e)>=0?"y":"x";D[e]+=N[i]*t}))}return D}const ve={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=i.mainAxis,h=void 0===d||d,f=i.altAxis,p=void 0===f||f,v=i.fallbackPlacements,b=i.padding,y=i.boundary,_=i.rootBoundary,w=i.altBoundary,x=i.flipVariations,E=void 0===x||x,k=i.allowedAutoPlacements,S=t.options.placement,L=D(S),O=v||(L===S||!E?[re(S)]:function(e){if(D(e)===a)return[];var t=re(e);return[se(e),t,se(t)]}(S)),A=[S].concat(O).reduce((function(e,i){return e.concat(D(i)===a?function(e,t){void 0===t&&(t={});var i=t,n=i.placement,r=i.boundary,o=i.rootBoundary,s=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,u=void 0===c?m:c,d=G(n),h=d?a?g:g.filter((function(e){return G(e)===d})):l,f=h.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=h);var p=f.reduce((function(t,i){return t[i]=me(e,{placement:i,boundary:r,rootBoundary:o,padding:s})[D(i)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:i,boundary:y,rootBoundary:_,padding:b,flipVariations:E,allowedAutoPlacements:k}):i)}),[]),j=t.rects.reference,T=t.rects.popper,C=new Map,P=!0,I=A[0],N=0;N<A.length;N++){var M=A[N],F=D(M),R=G(M)===c,z=[n,r].indexOf(F)>=0,B=z?"width":"height",W=me(t,{placement:M,boundary:y,rootBoundary:_,altBoundary:w,padding:b}),q=z?R?o:s:R?r:n;j[B]>T[B]&&(q=re(q));var H=re(q),$=[];if(h&&$.push(W[F]<=0),p&&$.push(W[q]<=0,W[H]<=0),$.every((function(e){return e}))){I=M,P=!1;break}C.set(M,$)}if(P)for(var V=function(e){var t=A.find((function(t){var i=C.get(t);if(i)return i.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},Q=E?3:1;Q>0;Q--){if("break"===V(Q))break}t.placement!==I&&(t.modifiersData[u]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function be(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function ye(e){return[n,o,r,s].some((function(t){return e[t]>=0}))}const _e={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=me(t,{elementContext:"reference"}),a=me(t,{altBoundary:!0}),l=be(s,n),c=be(a,r,o),u=ye(l),d=ye(c);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};const we={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,i=e.options,r=e.name,a=i.offset,l=void 0===a?[0,0]:a,c=m.reduce((function(e,i){return e[i]=function(e,t,i){var r=D(e),a=[s,n].indexOf(r)>=0?-1:1,l="function"==typeof i?i(Object.assign({},t,{placement:e})):i,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[s,o].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}(i,t.rects,l),e}),{}),u=c[t.placement],d=u.x,h=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=h),t.modifiersData[r]=c}};const xe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,i=e.name;t.modifiersData[i]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const Ee={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,a=e.name,l=i.mainAxis,u=void 0===l||l,d=i.altAxis,h=void 0!==d&&d,f=i.boundary,p=i.rootBoundary,g=i.altBoundary,m=i.padding,v=i.tether,b=void 0===v||v,y=i.tetherOffset,_=void 0===y?0:y,w=me(t,{boundary:f,rootBoundary:p,padding:m,altBoundary:g}),x=D(t.placement),E=G(t.placement),k=!E,S=Q(x),L="x"===S?"y":"x",O=t.modifiersData.popperOffsets,A=t.rects.reference,j=t.rects.popper,T="function"==typeof _?_(Object.assign({},t.rects,{placement:t.placement})):_,C="number"==typeof T?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(O){if(u){var F,z="y"===S?n:s,B="y"===S?r:o,W="y"===S?"height":"width",q=O[S],H=q+w[z],$=q-w[B],Y=b?-j[W]/2:0,U=E===c?A[W]:j[W],K=E===c?-j[W]:-A[W],J=t.elements.arrow,Z=b&&J?R(J):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[z],ie=ee[B],ne=X(0,A[W],Z[W]),re=k?A[W]/2-Y-ne-te-C.mainAxis:U-ne-te-C.mainAxis,oe=k?-A[W]/2+Y+ne+ie+C.mainAxis:K+ne+ie+C.mainAxis,se=t.elements.arrow&&V(t.elements.arrow),ae=se?"y"===S?se.clientTop||0:se.clientLeft||0:0,le=null!=(F=null==P?void 0:P[S])?F:0,ce=q+oe-le,ue=X(b?N(H,q+re-le-ae):H,q,b?I($,ce):$);O[S]=ue,M[S]=ue-q}if(h){var de,he="x"===S?n:s,fe="x"===S?r:o,pe=O[L],ge="y"===L?"height":"width",ve=pe+w[he],be=pe-w[fe],ye=-1!==[n,s].indexOf(x),_e=null!=(de=null==P?void 0:P[L])?de:0,we=ye?ve:pe-A[ge]-j[ge]-_e+C.altAxis,xe=ye?pe+A[ge]+j[ge]-_e-C.altAxis:be,Ee=b&&ye?function(e,t,i){var n=X(e,t,i);return n>i?i:n}(we,pe,xe):X(b?we:ve,pe,b?xe:be);O[L]=Ee,M[L]=Ee-pe}t.modifiersData[a]=M}},requiresIfExists:["offset"]};function ke(e,t,i){void 0===i&&(i=!1);var n,r,o=T(t),s=T(t)&&function(e){var t=e.getBoundingClientRect(),i=M(t.width)/e.offsetWidth||1,n=M(t.height)/e.offsetHeight||1;return 1!==i||1!==n}(t),a=q(t),l=F(e,s),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!i)&&(("body"!==O(t)||ce(a))&&(c=(n=t)!==A(n)&&T(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:ae(n)),T(t)?((u=F(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=le(a))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Se(e){var t=new Map,i=new Set,n=[];function r(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!i.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){i.has(e.name)||r(e)})),n}var Le={placement:"bottom",modifiers:[],strategy:"absolute"};function Oe(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ae(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,r=t.defaultOptions,o=void 0===r?Le:r;return function(e,t,i){void 0===i&&(i=o);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Le,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(i){var r="function"==typeof i?i(a.options):i;d(),a.options=Object.assign({},o,a.options,r),a.scrollParents={reference:j(e)?de(e):e.contextElement?de(e.contextElement):[],popper:de(t)};var s=function(e){var t=Se(e);return L.reduce((function(e,i){return e.concat(t.filter((function(e){return e.phase===i})))}),[])}(function(e){var t=e.reduce((function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(n,a.options.modifiers)));return a.orderedModifiers=s.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,i=e.options,n=void 0===i?{}:i,r=e.effect;if("function"==typeof r){var o=r({state:a,name:t,instance:u,options:n}),s=function(){};l.push(o||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,i=e.popper;if(Oe(t,i)){a.rects={reference:ke(t,V(i),"fixed"===a.options.strategy),popper:R(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var r=a.orderedModifiers[n],o=r.fn,s=r.options,l=void 0===s?{}:s,d=r.name;"function"==typeof o&&(a=o({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,n=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){d(),c=!0}};if(!Oe(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(i).then((function(e){!c&&i.onFirstUpdate&&i.onFirstUpdate(e)})),u}}var je=Ae(),Te=Ae({defaultModifiers:[ie,xe,ee,P,we,ve,Ee,K,_e]}),Ce=Ae({defaultModifiers:[ie,xe,ee,P]});const Pe="transitionend",De=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let i=e.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i=`#${i.split("#")[1]}`),t=i&&"#"!==i?i.trim():null}return t},Ie=e=>{const t=De(e);return t&&document.querySelector(t)?t:null},Ne=e=>{const t=De(e);return t?document.querySelector(t):null},Me=e=>{e.dispatchEvent(new Event(Pe))},Fe=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),Re=e=>Fe(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,ze=(e,t,i)=>{Object.keys(i).forEach((n=>{const r=i[n],o=t[n],s=o&&Fe(o)?"element":null==(a=o)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(r).test(s))throw new TypeError(`${e.toUpperCase()}: Option "${n}" provided type "${s}" but expected type "${r}".`)}))},Be=e=>!(!Fe(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),We=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),qe=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?qe(e.parentNode):null},He=()=>{},$e=e=>{e.offsetHeight},Ve=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},Qe=[],Xe=()=>"rtl"===document.documentElement.dir,Ye=e=>{var t;t=()=>{const t=Ve();if(t){const i=e.NAME,n=t.fn[i];t.fn[i]=e.jQueryInterface,t.fn[i].Constructor=e,t.fn[i].noConflict=()=>(t.fn[i]=n,e.jQueryInterface)}},"loading"===document.readyState?(Qe.length||document.addEventListener("DOMContentLoaded",(()=>{Qe.forEach((e=>e()))})),Qe.push(t)):t()},Ue=e=>{"function"==typeof e&&e()},Ke=(e,t,i=!0)=>{if(!i)return void Ue(e);const n=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:i}=window.getComputedStyle(e);const n=Number.parseFloat(t),r=Number.parseFloat(i);return n||r?(t=t.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(i))):0})(t)+5;let r=!1;const o=({target:i})=>{i===t&&(r=!0,t.removeEventListener(Pe,o),Ue(e))};t.addEventListener(Pe,o),setTimeout((()=>{r||Me(t)}),n)},Ge=(e,t,i,n)=>{let r=e.indexOf(t);if(-1===r)return e[!i&&n?e.length-1:0];const o=e.length;return r+=i?1:-1,n&&(r=(r+o)%o),e[Math.max(0,Math.min(r,o-1))]},Je=/[^.]*(?=\..*)\.|.*/,Ze=/\..*/,et=/::\d+$/,tt={};let it=1;const nt={mouseenter:"mouseover",mouseleave:"mouseout"},rt=/^(mouseenter|mouseleave)/i,ot=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 st(e,t){return t&&`${t}::${it++}`||e.uidEvent||it++}function at(e){const t=st(e);return e.uidEvent=t,tt[t]=tt[t]||{},tt[t]}function lt(e,t,i=null){const n=Object.keys(e);for(let r=0,o=n.length;r<o;r++){const o=e[n[r]];if(o.originalHandler===t&&o.delegationSelector===i)return o}return null}function ct(e,t,i){const n="string"==typeof t,r=n?i:t;let o=ht(e);return ot.has(o)||(o=e),[n,r,o]}function ut(e,t,i,n,r){if("string"!=typeof t||!e)return;if(i||(i=n,n=null),rt.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};n?n=e(n):i=e(i)}const[o,s,a]=ct(t,i,n),l=at(e),c=l[a]||(l[a]={}),u=lt(c,s,o?i:null);if(u)return void(u.oneOff=u.oneOff&&r);const d=st(s,t.replace(Je,"")),h=o?function(e,t,i){return function n(r){const o=e.querySelectorAll(t);for(let{target:s}=r;s&&s!==this;s=s.parentNode)for(let a=o.length;a--;)if(o[a]===s)return r.delegateTarget=s,n.oneOff&&ft.off(e,r.type,t,i),i.apply(s,[r]);return null}}(e,i,n):function(e,t){return function i(n){return n.delegateTarget=e,i.oneOff&&ft.off(e,n.type,t),t.apply(e,[n])}}(e,i);h.delegationSelector=o?i:null,h.originalHandler=s,h.oneOff=r,h.uidEvent=d,c[d]=h,e.addEventListener(a,h,o)}function dt(e,t,i,n,r){const o=lt(t[i],n,r);o&&(e.removeEventListener(i,o,Boolean(r)),delete t[i][o.uidEvent])}function ht(e){return e=e.replace(Ze,""),nt[e]||e}const ft={on(e,t,i,n){ut(e,t,i,n,!1)},one(e,t,i,n){ut(e,t,i,n,!0)},off(e,t,i,n){if("string"!=typeof t||!e)return;const[r,o,s]=ct(t,i,n),a=s!==t,l=at(e),c=t.startsWith(".");if(void 0!==o){if(!l||!l[s])return;return void dt(e,l,s,o,r?i:null)}c&&Object.keys(l).forEach((i=>{!function(e,t,i,n){const r=t[i]||{};Object.keys(r).forEach((o=>{if(o.includes(n)){const n=r[o];dt(e,t,i,n.originalHandler,n.delegationSelector)}}))}(e,l,i,t.slice(1))}));const u=l[s]||{};Object.keys(u).forEach((i=>{const n=i.replace(et,"");if(!a||t.includes(n)){const t=u[i];dt(e,l,s,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,i){if("string"!=typeof t||!e)return null;const n=Ve(),r=ht(t),o=t!==r,s=ot.has(r);let a,l=!0,c=!0,u=!1,d=null;return o&&n&&(a=n.Event(t,i),n(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),s?(d=document.createEvent("HTMLEvents"),d.initEvent(r,l,!0)):d=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==i&&Object.keys(i).forEach((e=>{Object.defineProperty(d,e,{get:()=>i[e]})})),u&&d.preventDefault(),c&&e.dispatchEvent(d),d.defaultPrevented&&void 0!==a&&a.preventDefault(),d}},pt=new Map,gt={set(e,t,i){pt.has(e)||pt.set(e,new Map);const n=pt.get(e);n.has(t)||0===n.size?n.set(t,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(e,t)=>pt.has(e)&&pt.get(e).get(t)||null,remove(e,t){if(!pt.has(e))return;const i=pt.get(e);i.delete(t),0===i.size&&pt.delete(e)}};class mt{constructor(e){(e=Re(e))&&(this._element=e,gt.set(this._element,this.constructor.DATA_KEY,this))}dispose(){gt.remove(this._element,this.constructor.DATA_KEY),ft.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,i=!0){Ke(e,t,i)}static getInstance(e){return gt.get(Re(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const vt=(e,t="hide")=>{const i=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;ft.on(document,i,`[data-bs-dismiss="${n}"]`,(function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),We(this))return;const r=Ne(this)||this.closest(`.${n}`);e.getOrCreateInstance(r)[t]()}))};class bt extends mt{static get NAME(){return"alert"}close(){if(ft.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),ft.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=bt.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)}}))}}vt(bt,"close"),Ye(bt);const yt='[data-bs-toggle="button"]';class _t extends mt{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=_t.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}function wt(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function xt(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}ft.on(document,"click.bs.button.data-api",yt,(e=>{e.preventDefault();const t=e.target.closest(yt);_t.getOrCreateInstance(t).toggle()})),Ye(_t);const Et={setDataAttribute(e,t,i){e.setAttribute(`data-bs-${xt(t)}`,i)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${xt(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith("bs"))).forEach((i=>{let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=wt(e.dataset[i])})),t},getDataAttribute:(e,t)=>wt(e.getAttribute(`data-bs-${xt(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},kt={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const i=[];let n=e.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&i.push(n),n=n.parentNode;return i},prev(e,t){let i=e.previousElementSibling;for(;i;){if(i.matches(t))return[i];i=i.previousElementSibling}return[]},next(e,t){let i=e.nextElementSibling;for(;i;){if(i.matches(t))return[i];i=i.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!We(e)&&Be(e)))}},St="carousel",Lt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Ot={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},At="next",jt="prev",Tt="left",Ct="right",Pt={ArrowLeft:Ct,ArrowRight:Tt},Dt="slid.bs.carousel",It="active",Nt=".active.carousel-item";class Mt extends mt{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=kt.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return Lt}static get NAME(){return St}next(){this._slide(At)}nextWhenVisible(){!document.hidden&&Be(this._element)&&this.next()}prev(){this._slide(jt)}pause(e){e||(this._isPaused=!0),kt.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Me(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=kt.findOne(Nt,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void ft.one(this._element,Dt,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const i=e>t?At:jt;this._slide(i,this._items[e])}_getConfig(e){return e={...Lt,...Et.getDataAttributes(this._element),..."object"==typeof e?e:{}},ze(St,e,Ot),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Ct:Tt)}_addEventListeners(){this._config.keyboard&&ft.on(this._element,"keydown.bs.carousel",(e=>this._keydown(e))),"hover"===this._config.pause&&(ft.on(this._element,"mouseenter.bs.carousel",(e=>this.pause(e))),ft.on(this._element,"mouseleave.bs.carousel",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&("pen"===e.pointerType||"touch"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},i=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},n=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};kt.find(".carousel-item img",this._element).forEach((e=>{ft.on(e,"dragstart.bs.carousel",(e=>e.preventDefault()))})),this._pointerEvent?(ft.on(this._element,"pointerdown.bs.carousel",(e=>t(e))),ft.on(this._element,"pointerup.bs.carousel",(e=>n(e))),this._element.classList.add("pointer-event")):(ft.on(this._element,"touchstart.bs.carousel",(e=>t(e))),ft.on(this._element,"touchmove.bs.carousel",(e=>i(e))),ft.on(this._element,"touchend.bs.carousel",(e=>n(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Pt[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?kt.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const i=e===At;return Ge(this._items,t,i,this._config.wrap)}_triggerSlideEvent(e,t){const i=this._getItemIndex(e),n=this._getItemIndex(kt.findOne(Nt,this._element));return ft.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:n,to:i})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=kt.findOne(".active",this._indicatorsElement);t.classList.remove(It),t.removeAttribute("aria-current");const i=kt.find("[data-bs-target]",this._indicatorsElement);for(let t=0;t<i.length;t++)if(Number.parseInt(i[t].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){i[t].classList.add(It),i[t].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||kt.findOne(Nt,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const i=this._directionToOrder(e),n=kt.findOne(Nt,this._element),r=this._getItemIndex(n),o=t||this._getItemByOrder(i,n),s=this._getItemIndex(o),a=Boolean(this._interval),l=i===At,c=l?"carousel-item-start":"carousel-item-end",u=l?"carousel-item-next":"carousel-item-prev",d=this._orderToDirection(i);if(o&&o.classList.contains(It))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(o,d).defaultPrevented)return;if(!n||!o)return;this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const h=()=>{ft.trigger(this._element,Dt,{relatedTarget:o,direction:d,from:r,to:s})};if(this._element.classList.contains("slide")){o.classList.add(u),$e(o),n.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,u),o.classList.add(It),n.classList.remove(It,u,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,n,!0)}else n.classList.remove(It),o.classList.add(It),this._isSliding=!1,h();a&&this.cycle()}_directionToOrder(e){return[Ct,Tt].includes(e)?Xe()?e===Tt?jt:At:e===Tt?At:jt:e}_orderToDirection(e){return[At,jt].includes(e)?Xe()?e===jt?Tt:Ct:e===jt?Ct:Tt:e}static carouselInterface(e,t){const i=Mt.getOrCreateInstance(e,t);let{_config:n}=i;"object"==typeof t&&(n={...n,...t});const r="string"==typeof t?t:n.slide;if("number"==typeof t)i.to(t);else if("string"==typeof r){if(void 0===i[r])throw new TypeError(`No method named "${r}"`);i[r]()}else n.interval&&n.ride&&(i.pause(),i.cycle())}static jQueryInterface(e){return this.each((function(){Mt.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=Ne(this);if(!t||!t.classList.contains("carousel"))return;const i={...Et.getDataAttributes(t),...Et.getDataAttributes(this)},n=this.getAttribute("data-bs-slide-to");n&&(i.interval=!1),Mt.carouselInterface(t,i),n&&Mt.getInstance(t).to(n),e.preventDefault()}}ft.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Mt.dataApiClickHandler),ft.on(window,"load.bs.carousel.data-api",(()=>{const e=kt.find('[data-bs-ride="carousel"]');for(let t=0,i=e.length;t<i;t++)Mt.carouselInterface(e[t],Mt.getInstance(e[t]))})),Ye(Mt);const Ft="collapse",Rt="bs.collapse",zt={toggle:!0,parent:null},Bt={toggle:"boolean",parent:"(null|element)"},Wt="show",qt="collapse",Ht="collapsing",$t="collapsed",Vt=":scope .collapse .collapse",Qt='[data-bs-toggle="collapse"]';class Xt extends mt{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const i=kt.find(Qt);for(let e=0,t=i.length;e<t;e++){const t=i[e],n=Ie(t),r=kt.find(n).filter((e=>e===this._element));null!==n&&r.length&&(this._selector=n,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return zt}static get NAME(){return Ft}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=kt.find(Vt,this._config.parent);t=kt.find(".collapse.show, .collapse.collapsing",this._config.parent).filter((t=>!e.includes(t)))}const i=kt.findOne(this._selector);if(t.length){const n=t.find((e=>i!==e));if(e=n?Xt.getInstance(n):null,e&&e._isTransitioning)return}if(ft.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach((t=>{i!==t&&Xt.getOrCreateInstance(t,{toggle:!1}).hide(),e||gt.set(t,Rt,null)}));const n=this._getDimension();this._element.classList.remove(qt),this._element.classList.add(Ht),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ht),this._element.classList.add(qt,Wt),this._element.style[n]="",ft.trigger(this._element,"shown.bs.collapse")}),this._element,!0),this._element.style[n]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(ft.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,$e(this._element),this._element.classList.add(Ht),this._element.classList.remove(qt,Wt);const t=this._triggerArray.length;for(let e=0;e<t;e++){const t=this._triggerArray[e],i=Ne(t);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ht),this._element.classList.add(qt),ft.trigger(this._element,"hidden.bs.collapse")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Wt)}_getConfig(e){return(e={...zt,...Et.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=Re(e.parent),ze(Ft,e,Bt),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=kt.find(Vt,this._config.parent);kt.find(Qt,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=Ne(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove($t):e.classList.add($t),e.setAttribute("aria-expanded",t)}))}static jQueryInterface(e){return this.each((function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const i=Xt.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}}))}}ft.on(document,"click.bs.collapse.data-api",Qt,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=Ie(this);kt.find(t).forEach((e=>{Xt.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),Ye(Xt);const Yt="dropdown",Ut="Escape",Kt="Space",Gt="ArrowUp",Jt="ArrowDown",Zt=new RegExp("ArrowUp|ArrowDown|Escape"),ei="click.bs.dropdown.data-api",ti="keydown.bs.dropdown.data-api",ii="show",ni='[data-bs-toggle="dropdown"]',ri=".dropdown-menu",oi=Xe()?"top-end":"top-start",si=Xe()?"top-start":"top-end",ai=Xe()?"bottom-end":"bottom-start",li=Xe()?"bottom-start":"bottom-end",ci=Xe()?"left-start":"right-start",ui=Xe()?"right-start":"left-start",di={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},hi={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class fi extends mt{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return di}static get DefaultType(){return hi}static get NAME(){return Yt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(We(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(ft.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=fi.getParentFromElement(this._element);this._inNavbar?Et.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach((e=>ft.on(e,"mouseover",He))),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ii),this._element.classList.add(ii),ft.trigger(this._element,"shown.bs.dropdown",e)}hide(){if(We(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){ft.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ft.off(e,"mouseover",He))),this._popper&&this._popper.destroy(),this._menu.classList.remove(ii),this._element.classList.remove(ii),this._element.setAttribute("aria-expanded","false"),Et.removeDataAttribute(this._menu,"popper"),ft.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e={...this.constructor.Default,...Et.getDataAttributes(this._element),...e},ze(Yt,e,this.constructor.DefaultType),"object"==typeof e.reference&&!Fe(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Yt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(t){if(void 0===e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;"parent"===this._config.reference?i=t:Fe(this._config.reference)?i=Re(this._config.reference):"object"==typeof this._config.reference&&(i=this._config.reference);const n=this._getPopperConfig(),r=n.modifiers.find((e=>"applyStyles"===e.name&&!1===e.enabled));this._popper=Te(i,this._menu,n),r&&Et.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(ii)}_getMenuElement(){return kt.next(this._element,ri)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return ci;if(e.classList.contains("dropstart"))return ui;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?si:oi:t?li:ai}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const i=kt.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Be);i.length&&Ge(i,t,e===Jt,!i.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=fi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=kt.find(ni);for(let i=0,n=t.length;i<n;i++){const n=fi.getInstance(t[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const r={relatedTarget:n._element};if(e){const t=e.composedPath(),i=t.includes(n._menu);if(t.includes(n._element)||"inside"===n._config.autoClose&&!i||"outside"===n._config.autoClose&&i)continue;if(n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(r.clickEvent=e)}n._completeHide(r)}}static getParentFromElement(e){return Ne(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?e.key===Kt||e.key!==Ut&&(e.key!==Jt&&e.key!==Gt||e.target.closest(ri)):!Zt.test(e.key))return;const t=this.classList.contains(ii);if(!t&&e.key===Ut)return;if(e.preventDefault(),e.stopPropagation(),We(this))return;const i=this.matches(ni)?this:kt.prev(this,ni)[0],n=fi.getOrCreateInstance(i);if(e.key!==Ut)return e.key===Gt||e.key===Jt?(t||n.show(),void n._selectMenuItem(e)):void(t&&e.key!==Kt||fi.clearMenus());n.hide()}}ft.on(document,ti,ni,fi.dataApiKeydownHandler),ft.on(document,ti,ri,fi.dataApiKeydownHandler),ft.on(document,ei,fi.clearMenus),ft.on(document,"keyup.bs.dropdown.data-api",fi.clearMenus),ft.on(document,ei,ni,(function(e){e.preventDefault(),fi.getOrCreateInstance(this).toggle()})),Ye(fi);const pi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",gi=".sticky-top";class mi{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(t=>t+e)),this._setElementAttributes(pi,"paddingRight",(t=>t+e)),this._setElementAttributes(gi,"marginRight",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+n)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e)[t];e.style[t]=`${i(Number.parseFloat(r))}px`}))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(pi,"paddingRight"),this._resetElementAttributes(gi,"marginRight")}_saveInitialAttribute(e,t){const i=e.style[t];i&&Et.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const i=Et.getDataAttribute(e,t);void 0===i?e.style.removeProperty(t):(Et.removeDataAttribute(e,t),e.style[t]=i)}))}_applyManipulationCallback(e,t){Fe(e)?t(e):kt.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const vi={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},bi={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},yi="backdrop",_i="show",wi="mousedown.bs.backdrop";class xi{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&$e(this._getElement()),this._getElement().classList.add(_i),this._emulateAnimation((()=>{Ue(e)}))):Ue(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(_i),this._emulateAnimation((()=>{this.dispose(),Ue(e)}))):Ue(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e={...vi,..."object"==typeof e?e:{}}).rootElement=Re(e.rootElement),ze(yi,e,bi),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),ft.on(this._getElement(),wi,(()=>{Ue(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(ft.off(this._element,wi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Ke(e,this._getElement(),this._config.isAnimated)}}const Ei={trapElement:null,autofocus:!0},ki={trapElement:"element",autofocus:"boolean"},Si=".bs.focustrap",Li="backward";class Oi{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),ft.off(document,Si),ft.on(document,"focusin.bs.focustrap",(e=>this._handleFocusin(e))),ft.on(document,"keydown.tab.bs.focustrap",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ft.off(document,Si))}_handleFocusin(e){const{target:t}=e,{trapElement:i}=this._config;if(t===document||t===i||i.contains(t))return;const n=kt.focusableChildren(i);0===n.length?i.focus():this._lastTabNavDirection===Li?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?Li:"forward")}_getConfig(e){return e={...Ei,..."object"==typeof e?e:{}},ze("focustrap",e,ki),e}}const Ai="modal",ji=".bs.modal",Ti="Escape",Ci={backdrop:!0,keyboard:!0,focus:!0},Pi={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Di="hidden.bs.modal",Ii="show.bs.modal",Ni="resize.bs.modal",Mi="click.dismiss.bs.modal",Fi="keydown.dismiss.bs.modal",Ri="mousedown.dismiss.bs.modal",zi="modal-open",Bi="show",Wi="modal-static";class qi extends mt{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=kt.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new mi}static get Default(){return Ci}static get NAME(){return Ai}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;ft.trigger(this._element,Ii,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(zi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),ft.on(this._dialog,Ri,(()=>{ft.one(this._element,"mouseup.dismiss.bs.modal",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(ft.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(Bi),ft.off(this._element,Mi),ft.off(this._dialog,Ri),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>ft.off(e,ji))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new xi({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_getConfig(e){return e={...Ci,...Et.getDataAttributes(this._element),..."object"==typeof e?e:{}},ze(Ai,e,Pi),e}_showElement(e){const t=this._isAnimated(),i=kt.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,i&&(i.scrollTop=0),t&&$e(this._element),this._element.classList.add(Bi);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ft.trigger(this._element,"shown.bs.modal",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?ft.on(this._element,Fi,(e=>{this._config.keyboard&&e.key===Ti?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==Ti||this._triggerBackdropTransition()})):ft.off(this._element,Fi)}_setResizeEvent(){this._isShown?ft.on(window,Ni,(()=>this._adjustDialog())):ft.off(window,Ni)}_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(zi),this._resetAdjustments(),this._scrollBar.reset(),ft.trigger(this._element,Di)}))}_showBackdrop(e){ft.on(this._element,Mi,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(ft.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:i}=this._element,n=t>document.documentElement.clientHeight;!n&&"hidden"===i.overflowY||e.contains(Wi)||(n||(i.overflowY="hidden"),e.add(Wi),this._queueCallback((()=>{e.remove(Wi),n||this._queueCallback((()=>{i.overflowY=""}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;(!i&&e&&!Xe()||i&&!e&&Xe())&&(this._element.style.paddingLeft=`${t}px`),(i&&!e&&!Xe()||!i&&e&&Xe())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const i=qi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}}))}}ft.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',(function(e){const t=Ne(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),ft.one(t,Ii,(e=>{e.defaultPrevented||ft.one(t,Di,(()=>{Be(this)&&this.focus()}))}));const i=kt.findOne(".modal.show");i&&qi.getInstance(i).hide();qi.getOrCreateInstance(t).toggle(this)})),vt(qi),Ye(qi);const Hi="offcanvas",$i={backdrop:!0,keyboard:!0,scroll:!1},Vi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Qi="show",Xi=".offcanvas.show",Yi="hidden.bs.offcanvas";class Ui extends mt{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Hi}static get Default(){return $i}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(ft.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new mi).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Qi);this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),ft.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(ft.trigger(this._element,"hide.bs.offcanvas").defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Qi),this._backdrop.hide();this._queueCallback((()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new mi).reset(),ft.trigger(this._element,Yi)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...$i,...Et.getDataAttributes(this._element),..."object"==typeof e?e:{}},ze(Hi,e,Vi),e}_initializeBackDrop(){return new xi({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Oi({trapElement:this._element})}_addEventListeners(){ft.on(this._element,"keydown.dismiss.bs.offcanvas",(e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=Ui.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)}}))}}ft.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',(function(e){const t=Ne(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),We(this))return;ft.one(t,Yi,(()=>{Be(this)&&this.focus()}));const i=kt.findOne(Xi);i&&i!==t&&Ui.getInstance(i).hide();Ui.getOrCreateInstance(t).toggle(this)})),ft.on(window,"load.bs.offcanvas.data-api",(()=>kt.find(Xi).forEach((e=>Ui.getOrCreateInstance(e).show())))),vt(Ui),Ye(Ui);const Ki=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Gi=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Ji=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Zi=(e,t)=>{const i=e.nodeName.toLowerCase();if(t.includes(i))return!Ki.has(i)||Boolean(Gi.test(e.nodeValue)||Ji.test(e.nodeValue));const n=t.filter((e=>e instanceof RegExp));for(let e=0,t=n.length;e<t;e++)if(n[e].test(i))return!0;return!1},en={"*":["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:[]};function tn(e,t,i){if(!e.length)return e;if(i&&"function"==typeof i)return i(e);const n=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...n.body.querySelectorAll("*"));for(let e=0,i=r.length;e<i;e++){const i=r[e],n=i.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){i.remove();continue}const o=[].concat(...i.attributes),s=[].concat(t["*"]||[],t[n]||[]);o.forEach((e=>{Zi(e,s)||i.removeAttribute(e.nodeName)}))}return n.body.innerHTML}const nn="tooltip",rn=new Set(["sanitize","allowList","sanitizeFn"]),on={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},sn={AUTO:"auto",TOP:"top",RIGHT:Xe()?"left":"right",BOTTOM:"bottom",LEFT:Xe()?"right":"left"},an={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:en,popperConfig:null},ln={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},cn="fade",un="show",dn="show",hn="out",fn=".tooltip-inner",pn=".modal",gn="hide.bs.modal",mn="hover",vn="focus";class bn extends mt{constructor(t,i){if(void 0===e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(i),this.tip=null,this._setListeners()}static get Default(){return an}static get NAME(){return nn}static get Event(){return ln}static get DefaultType(){return on}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(un))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),ft.off(this._element.closest(pn),gn,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const e=ft.trigger(this._element,this.constructor.Event.SHOW),t=qe(this._element),i=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!i)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(fn).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const n=this.getTipElement(),r=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);n.setAttribute("id",r),this._element.setAttribute("aria-describedby",r),this._config.animation&&n.classList.add(cn);const o="function"==typeof this._config.placement?this._config.placement.call(this,n,this._element):this._config.placement,s=this._getAttachment(o);this._addAttachmentClass(s);const{container:a}=this._config;gt.set(n,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(n),ft.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Te(this._element,n,this._getPopperConfig(s)),n.classList.add(un);const l=this._resolvePossibleFunction(this._config.customClass);l&&n.classList.add(...l.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{ft.on(e,"mouseover",He)}));const c=this.tip.classList.contains(cn);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,ft.trigger(this._element,this.constructor.Event.SHOWN),e===hn&&this._leave(null,this)}),this.tip,c)}hide(){if(!this._popper)return;const e=this.getTipElement();if(ft.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(un),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach((e=>ft.off(e,"mouseover",He))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(cn);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==dn&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),ft.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(cn,un),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),fn)}_sanitizeAndSetContent(e,t,i){const n=kt.findOne(i,e);t||!n?this.setElementContent(n,t):n.remove()}setElementContent(e,t){if(null!==e)return Fe(t)?(t=Re(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=tn(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,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:"onChange",enabled:!0,phase:"afterWrite",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return sn[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach((e=>{if("click"===e)ft.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if("manual"!==e){const t=e===mn?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,i=e===mn?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;ft.on(this._element,t,this._config.selector,(e=>this._enter(e))),ft.on(this._element,i,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},ft.on(this._element.closest(pn),gn,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?vn:mn]=!0),t.getTipElement().classList.contains(un)||t._hoverState===dn?t._hoverState=dn:(clearTimeout(t._timeout),t._hoverState=dn,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===dn&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?vn:mn]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=hn,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===hn&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=Et.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{rn.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).container=!1===e.container?document.body:Re(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),ze(nn,e,this.constructor.DefaultType),e.sanitize&&(e.template=tn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),i=e.getAttribute("class").match(t);null!==i&&i.length>0&&i.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=bn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ye(bn);const yn={...bn.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},_n={...bn.DefaultType,content:"(string|element|function)"},wn={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class xn extends bn{static get Default(){return yn}static get NAME(){return"popover"}static get Event(){return wn}static get DefaultType(){return _n}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each((function(){const t=xn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}Ye(xn);const En="scrollspy",kn=".bs.scrollspy",Sn={offset:10,method:"auto",target:""},Ln={offset:"number",method:"string",target:"(string|element)"},On="dropdown-item",An="active",jn=".nav-link",Tn=".nav-link, .list-group-item, .dropdown-item",Cn="position";class Pn extends mt{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,ft.on(this._scrollElement,"scroll.bs.scrollspy",(()=>this._process())),this.refresh(),this._process()}static get Default(){return Sn}static get NAME(){return En}refresh(){const e=this._scrollElement===this._scrollElement.window?"offset":Cn,t="auto"===this._config.method?e:this._config.method,i=t===Cn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();kt.find(Tn,this._config.target).map((e=>{const n=Ie(e),r=n?kt.findOne(n):null;if(r){const e=r.getBoundingClientRect();if(e.width||e.height)return[Et[t](r).top+i,n]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){ft.off(this._scrollElement,kn),super.dispose()}_getConfig(e){return(e={...Sn,...Et.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}}).target=Re(e.target)||document.documentElement,ze(En,e,Ln),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;){this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e<this._offsets[t+1])&&this._activate(this._targets[t])}}}_activate(e){this._activeTarget=e,this._clear();const t=Tn.split(",").map((t=>`${t}[data-bs-target="${e}"],${t}[href="${e}"]`)),i=kt.findOne(t.join(","),this._config.target);i.classList.add(An),i.classList.contains(On)?kt.findOne(".dropdown-toggle",i.closest(".dropdown")).classList.add(An):kt.parents(i,".nav, .list-group").forEach((e=>{kt.prev(e,".nav-link, .list-group-item").forEach((e=>e.classList.add(An))),kt.prev(e,".nav-item").forEach((e=>{kt.children(e,jn).forEach((e=>e.classList.add(An)))}))})),ft.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){kt.find(Tn,this._config.target).filter((e=>e.classList.contains(An))).forEach((e=>e.classList.remove(An)))}static jQueryInterface(e){return this.each((function(){const t=Pn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ft.on(window,"load.bs.scrollspy.data-api",(()=>{kt.find('[data-bs-spy="scroll"]').forEach((e=>new Pn(e)))})),Ye(Pn);const Dn="active",In="fade",Nn="show",Mn=".active",Fn=":scope > li > .active";class Rn extends mt{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Dn))return;let e;const t=Ne(this._element),i=this._element.closest(".nav, .list-group");if(i){const t="UL"===i.nodeName||"OL"===i.nodeName?Fn:Mn;e=kt.find(t,i),e=e[e.length-1]}const n=e?ft.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(ft.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==n&&n.defaultPrevented)return;this._activate(this._element,i);const r=()=>{ft.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),ft.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,r):r()}_activate(e,t,i){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?kt.children(t,Mn):kt.find(Fn,t))[0],r=i&&n&&n.classList.contains(In),o=()=>this._transitionComplete(e,n,i);n&&r?(n.classList.remove(Nn),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,i){if(t){t.classList.remove(Dn);const e=kt.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Dn),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Dn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),$e(e),e.classList.contains(In)&&e.classList.add(Nn);let n=e.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&kt.find(".dropdown-toggle",t).forEach((e=>e.classList.add(Dn))),e.setAttribute("aria-expanded",!0)}i&&i()}static jQueryInterface(e){return this.each((function(){const t=Rn.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}ft.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),We(this))return;Rn.getOrCreateInstance(this).show()})),Ye(Rn);const zn="toast",Bn="hide",Wn="show",qn="showing",Hn={animation:"boolean",autohide:"boolean",delay:"number"},$n={animation:!0,autohide:!0,delay:5e3};class Vn extends mt{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Hn}static get Default(){return $n}static get NAME(){return zn}show(){if(ft.trigger(this._element,"show.bs.toast").defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Bn),$e(this._element),this._element.classList.add(Wn),this._element.classList.add(qn),this._queueCallback((()=>{this._element.classList.remove(qn),ft.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this._element.classList.contains(Wn))return;if(ft.trigger(this._element,"hide.bs.toast").defaultPrevented)return;this._element.classList.add(qn),this._queueCallback((()=>{this._element.classList.add(Bn),this._element.classList.remove(qn),this._element.classList.remove(Wn),ft.trigger(this._element,"hidden.bs.toast")}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(Wn)&&this._element.classList.remove(Wn),super.dispose()}_getConfig(e){return e={...$n,...Et.getDataAttributes(this._element),..."object"==typeof e&&e?e:{}},ze(zn,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){ft.on(this._element,"mouseover.bs.toast",(e=>this._onInteraction(e,!0))),ft.on(this._element,"mouseout.bs.toast",(e=>this._onInteraction(e,!1))),ft.on(this._element,"focusin.bs.toast",(e=>this._onInteraction(e,!0))),ft.on(this._element,"focusout.bs.toast",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=Vn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}vt(Vn),Ye(Vn);i(9554),i(4747);var Qn,Xn=i(1807),Yn=i.n(Xn),Un=(i(7327),i(6992),i(9601),i(1539),i(1058),i(8783),i(4129),i(3948),i(3096)),Kn=i.n(Un),Gn=i(1296),Jn=i.n(Gn),Zn=i(773),er=i.n(Zn),tr=[],ir="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(Qn||(Qn={}));var nr,rr=function(e){return Object.freeze(e)},or=function(e,t){this.inlineSize=e,this.blockSize=t,rr(this)},sr=function(){function e(e,t,i,n){return this.x=e,this.y=t,this.width=i,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,rr(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ar=function(e){return e instanceof SVGElement&&"getBBox"in e},lr=function(e){if(ar(e)){var t=e.getBBox(),i=t.width,n=t.height;return!i&&!n}var r=e,o=r.offsetWidth,s=r.offsetHeight;return!(o||s||e.getClientRects().length)},cr=function(e){var t,i;if(e instanceof Element)return!0;var n=null===(i=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===i?void 0:i.defaultView;return!!(n&&e instanceof n.Element)},ur="undefined"!=typeof window?window:{},dr=new WeakMap,hr=/auto|scroll/,fr=/^tb|vertical/,pr=/msie|trident/i.test(ur.navigator&&ur.navigator.userAgent),gr=function(e){return parseFloat(e||"0")},mr=function(e,t,i){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===i&&(i=!1),new or((i?t:e)||0,(i?e:t)||0)},vr=rr({devicePixelContentBoxSize:mr(),borderBoxSize:mr(),contentBoxSize:mr(),contentRect:new sr(0,0,0,0)}),br=function(e,t){if(void 0===t&&(t=!1),dr.has(e)&&!t)return dr.get(e);if(lr(e))return dr.set(e,vr),vr;var i=getComputedStyle(e),n=ar(e)&&e.ownerSVGElement&&e.getBBox(),r=!pr&&"border-box"===i.boxSizing,o=fr.test(i.writingMode||""),s=!n&&hr.test(i.overflowY||""),a=!n&&hr.test(i.overflowX||""),l=n?0:gr(i.paddingTop),c=n?0:gr(i.paddingRight),u=n?0:gr(i.paddingBottom),d=n?0:gr(i.paddingLeft),h=n?0:gr(i.borderTopWidth),f=n?0:gr(i.borderRightWidth),p=n?0:gr(i.borderBottomWidth),g=d+c,m=l+u,v=(n?0:gr(i.borderLeftWidth))+f,b=h+p,y=a?e.offsetHeight-b-e.clientHeight:0,_=s?e.offsetWidth-v-e.clientWidth:0,w=r?g+v:0,x=r?m+b:0,E=n?n.width:gr(i.width)-w-_,k=n?n.height:gr(i.height)-x-y,S=E+g+_+v,L=k+m+y+b,O=rr({devicePixelContentBoxSize:mr(Math.round(E*devicePixelRatio),Math.round(k*devicePixelRatio),o),borderBoxSize:mr(S,L,o),contentBoxSize:mr(E,k,o),contentRect:new sr(d,l,E,k)});return dr.set(e,O),O},yr=function(e,t,i){var n=br(e,i),r=n.borderBoxSize,o=n.contentBoxSize,s=n.devicePixelContentBoxSize;switch(t){case Qn.DEVICE_PIXEL_CONTENT_BOX:return s;case Qn.BORDER_BOX:return r;default:return o}},_r=function(e){var t=br(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=rr([t.borderBoxSize]),this.contentBoxSize=rr([t.contentBoxSize]),this.devicePixelContentBoxSize=rr([t.devicePixelContentBoxSize])},wr=function(e){if(lr(e))return 1/0;for(var t=0,i=e.parentNode;i;)t+=1,i=i.parentNode;return t},xr=function(){var e=1/0,t=[];tr.forEach((function(i){if(0!==i.activeTargets.length){var n=[];i.activeTargets.forEach((function(t){var i=new _r(t.target),r=wr(t.target);n.push(i),t.lastReportedSize=yr(t.target,t.observedBox),r<e&&(e=r)})),t.push((function(){i.callback.call(i.observer,n,i.observer)})),i.activeTargets.splice(0,i.activeTargets.length)}}));for(var i=0,n=t;i<n.length;i++){(0,n[i])()}return e},Er=function(e){tr.forEach((function(t){t.activeTargets.splice(0,t.activeTargets.length),t.skippedTargets.splice(0,t.skippedTargets.length),t.observationTargets.forEach((function(i){i.isActive()&&(wr(i.target)>e?t.activeTargets.push(i):t.skippedTargets.push(i))}))}))},kr=function(){var e,t=0;for(Er(t);tr.some((function(e){return e.activeTargets.length>0}));)t=xr(),Er(t);return tr.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:ir}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=ir),window.dispatchEvent(e)),t>0},Sr=[],Lr=function(e){if(!nr){var t=0,i=document.createTextNode("");new MutationObserver((function(){return Sr.splice(0).forEach((function(e){return e()}))})).observe(i,{characterData:!0}),nr=function(){i.textContent=""+(t?t--:t++)}}Sr.push(e),nr()},Or=0,Ar={attributes:!0,characterData:!0,childList:!0,subtree:!0},jr=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Tr=function(e){return void 0===e&&(e=0),Date.now()+e},Cr=!1,Pr=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!Cr){Cr=!0;var i,n=Tr(e);i=function(){var i=!1;try{i=kr()}finally{if(Cr=!1,e=n-Tr(),!Or)return;i?t.run(1e3):e>0?t.run(e):t.start()}},Lr((function(){requestAnimationFrame(i)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,Ar)};document.body?t():ur.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),jr.forEach((function(t){return ur.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),jr.forEach((function(t){return ur.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),Dr=function(e){!Or&&e>0&&Pr.start(),!(Or+=e)&&Pr.stop()},Ir=function(){function e(e,t){this.target=e,this.observedBox=t||Qn.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=yr(this.target,this.observedBox,!0);return e=this.target,ar(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Nr=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},Mr=new WeakMap,Fr=function(e,t){for(var i=0;i<e.length;i+=1)if(e[i].target===t)return i;return-1},Rr=function(){function e(){}return e.connect=function(e,t){var i=new Nr(e,t);Mr.set(e,i)},e.observe=function(e,t,i){var n=Mr.get(e),r=0===n.observationTargets.length;Fr(n.observationTargets,t)<0&&(r&&tr.push(n),n.observationTargets.push(new Ir(t,i&&i.box)),Dr(1),Pr.schedule())},e.unobserve=function(e,t){var i=Mr.get(e),n=Fr(i.observationTargets,t),r=1===i.observationTargets.length;n>=0&&(r&&tr.splice(tr.indexOf(i),1),i.observationTargets.splice(n,1),Dr(-1))},e.disconnect=function(e){var t=this,i=Mr.get(e);i.observationTargets.slice().forEach((function(i){return t.unobserve(e,i.target)})),i.activeTargets.splice(0,i.activeTargets.length)},e}(),zr=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Rr.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!cr(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Rr.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!cr(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Rr.unobserve(this,e)},e.prototype.disconnect=function(){Rr.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),Br=(i(5827),i(8309),i(4916),i(4723),i(5306),function(e){return Array.prototype.reduce.call(e,(function(e,t){var i=t.name.match(/data-simplebar-(.+)/);if(i){var n=i[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[n]=!0;break;case"false":e[n]=!1;break;case void 0:e[n]=!0;break;default:e[n]=t.value}}return e}),{})});function Wr(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function qr(e){return e&&e.ownerDocument?e.ownerDocument:document}var Hr=null,$r=null;function Vr(e){if(null===Hr){var t=qr(e);if(void 0===t)return Hr=0;var i=t.body,n=t.createElement("div");n.classList.add("simplebar-hide-scrollbar"),i.appendChild(n);var r=n.getBoundingClientRect().right;i.removeChild(n),Hr=r}return Hr}Yn()&&window.addEventListener("resize",(function(){$r!==window.devicePixelRatio&&($r=window.devicePixelRatio,Hr=null)}));var Qr=function(){function e(t,i){var n=this;this.onScroll=function(){var e=Wr(n.el);n.scrollXTicking||(e.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(e.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0)},this.scrollX=function(){n.axis.x.isOverflowing&&(n.showScrollbar("x"),n.positionScrollbar("x")),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&(n.showScrollbar("y"),n.positionScrollbar("y")),n.scrollYTicking=!1},this.onMouseEnter=function(){n.showScrollbar("x"),n.showScrollbar("y")},this.onMouseMove=function(e){n.mouseX=e.clientX,n.mouseY=e.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this.onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.hideScrollbars=function(){n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.track.rect)||(n.axis.y.scrollbar.el.classList.remove(n.classNames.visible),n.axis.y.isVisible=!1),n.isWithinBounds(n.axis.x.track.rect)||(n.axis.x.scrollbar.el.classList.remove(n.classNames.visible),n.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,i;n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(t=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(i=n.isWithinBounds(n.axis.y.track.rect)),(t||i)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(e,"x"):n.onTrackClick(e,"x")),i&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(e,"y"):n.onTrackClick(e,"y"))))},this.drag=function(t){var i=n.axis[n.draggedAxis].track,r=i.rect[n.axis[n.draggedAxis].sizeAttr],o=n.axis[n.draggedAxis].scrollbar,s=n.contentWrapperEl[n.axis[n.draggedAxis].scrollSizeAttr],a=parseInt(n.elStyles[n.axis[n.draggedAxis].sizeAttr],10);t.preventDefault(),t.stopPropagation();var l=(("y"===n.draggedAxis?t.pageY:t.pageX)-i.rect[n.axis[n.draggedAxis].offsetAttr]-n.axis[n.draggedAxis].dragOffset)/(r-o.size)*(s-a);"x"===n.draggedAxis&&(l=n.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?l-(r+o.size):l,l=n.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-l:l),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=l},this.onEndDrag=function(e){var t=qr(n.el),i=Wr(n.el);e.preventDefault(),e.stopPropagation(),n.el.classList.remove(n.classNames.dragging),t.removeEventListener("mousemove",n.drag,!0),t.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=i.setTimeout((function(){t.removeEventListener("click",n.preventClick,!0),t.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,{},i),this.classNames=Object.assign({},e.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,e.instances.has(this.el)||(this.recalculate=Kn()(this.recalculate.bind(this),64),this.onMouseMove=Kn()(this.onMouseMove.bind(this),64),this.hideScrollbars=Jn()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=Jn()(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=er()(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var i=t.firstElementChild;document.body.appendChild(i);var n=i.firstElementChild;i.scrollLeft=0;var r=e.getOffset(i),o=e.getOffset(n);i.scrollLeft=999;var s=e.getOffset(n);return{isRtlScrollingInverted:r.left!==o.left&&o.left-s.left!=0,isRtlScrollbarInverted:r.left!==o.left}},e.getOffset=function(e){var t=e.getBoundingClientRect(),i=qr(e),n=Wr(e);return{top:t.top+(n.pageYOffset||i.documentElement.scrollTop),left:t.left+(n.pageXOffset||i.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),Yn()&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,(function(t){return t.classList.contains(e.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)}if(!this.axis.x.track.el||!this.axis.y.track.el){var t=document.createElement("div"),i=document.createElement("div");t.classList.add(this.classNames.track),i.classList.add(this.classNames.scrollbar),t.appendChild(i),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")},t.setAccessibilityAttributes=function(){var e=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",e)},t.initListeners=function(){var e=this,t=Wr(this.el);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);var i=!1,n=t.ResizeObserver||zr;this.resizeObserver=new n((function(){i&&e.recalculate()})),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})},t.recalculate=function(){var e=Wr(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1,n=this.contentEl.offsetWidth,r=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,s=this.elStyles.overflowY;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;var a=this.contentEl.scrollHeight,l=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=i?n+"px":"auto",this.placeholderEl.style.height=a+"px";var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=l>n,this.axis.y.isOverflowing=a>c,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var u=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&l>r-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&a>c-u,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,i=this.contentEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el[this.axis[e].offsetSizeAttr],r=n/i;return t=Math.max(~~(r*n),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},t.positionScrollbar=function(t){if(void 0===t&&(t="y"),this.axis[t].isOverflowing){var i=this.contentWrapperEl[this.axis[t].scrollSizeAttr],n=this.axis[t].track.el[this.axis[t].offsetSizeAttr],r=parseInt(this.elStyles[this.axis[t].sizeAttr],10),o=this.axis[t].scrollbar,s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],a=(s="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-s:s)/(i-r),l=~~((n-o.size)*a);l="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?l+(n-o.size):l,o.el.style.transform="x"===t?"translate3d("+l+"px, 0, 0)":"translate3d(0, "+l+"px, 0)"}},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,i=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?i.style.display="block":i.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var i=qr(this.el),n=Wr(this.el),r=this.axis[t].scrollbar,o="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=o-r.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(n.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(e,t){var i=this;if(void 0===t&&(t="y"),this.options.clickOnTrack){var n=Wr(this.el);this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var r=this.axis[t].scrollbar.rect[this.axis[t].offsetAttr],o=parseInt(this.elStyles[this.axis[t].sizeAttr],10),s=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],a=("y"===t?this.mouseY-r:this.mouseX-r)<0?-1:1,l=-1===a?s-o:s+o;!function e(){var r,o;-1===a?s>l&&(s-=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo(((r={})[i.axis[t].offsetAttr]=s,r)),n.requestAnimationFrame(e)):s<l&&(s+=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo(((o={})[i.axis[t].offsetAttr]=s,o)),n.requestAnimationFrame(e))}()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Vr(this.el)}catch(e){return Vr(this.el)}},t.removeListeners=function(){var e=this,t=Wr(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.findChild=function(e,t){var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return i.call(e,t)}))[0]},e}();Qr.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},Qr.instances=new WeakMap,Qr.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),(function(e){"init"===e.getAttribute("data-simplebar")||Qr.instances.has(e)||new Qr(e,Br(e.attributes))}))},Qr.removeObserver=function(){this.globalObserver.disconnect()},Qr.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(Qr.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))},Qr.handleMutations=function(e){e.forEach((function(e){Array.prototype.forEach.call(e.addedNodes,(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!Qr.instances.has(e)&&document.documentElement.contains(e)&&new Qr(e,Br(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll("[data-simplebar]"),(function(e){"init"!==e.getAttribute("data-simplebar")&&!Qr.instances.has(e)&&document.documentElement.contains(e)&&new Qr(e,Br(e.attributes))})))})),Array.prototype.forEach.call(e.removedNodes,(function(e){1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?Qr.instances.has(e)&&!document.documentElement.contains(e)&&Qr.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),(function(e){Qr.instances.has(e)&&!document.documentElement.contains(e)&&Qr.instances.get(e).unMount()})))}))}))},Qr.getOptions=Br,Yn()&&Qr.initHtmlApi();const Xr=Qr;function Yr(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Ur,Kr=!1,Gr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,i,n;return t=e,n=[{key:"run",value:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={"bs-tooltip":function(){return t.bsTooltip()},"bs-popover":function(){return t.bsPopover()},"cb-toggle-class":function(){return t.cbToggleClass()},"cb-year-copy":function(){return t.cbYearCopy()},"cb-ripple":function(){return t.cbRipple()},"cb-print":function(){return t.cbPrint()},"cb-table-tools-sections":function(){return t.cbTableToolsSections()},"cb-table-tools-checkable":function(){return t.cbTableToolsCheckable()},"js-ckeditor":function(){return t.jsCkeditor()},"js-ckeditor5":function(){return t.jsCkeditor5()},"js-simplemde":function(){return t.jsSimpleMDE()},"js-highlightjs":function(){return t.jsHighlightjs()},"js-flatpickr":function(){return t.jsFlatpickr()},"jq-appear":function(){return t.jqAppear()},"jq-magnific-popup":function(){return t.jqMagnific()},"jq-slick":function(){return t.jqSlick()},"jq-datepicker":function(){return t.jqDatepicker()},"jq-colorpicker":function(){return t.jqColorpicker()},"jq-masked-inputs":function(){return t.jqMaskedInputs()},"jq-select2":function(){return t.jqSelect2()},"jq-notify":function(e){return t.jqNotify(e)},"jq-easy-pie-chart":function(){return t.jqEasyPieChart()},"jq-maxlength":function(){return t.jqMaxlength()},"jq-rangeslider":function(){return t.jqRangeslider()},"jq-pw-strength":function(){return t.jqPwStrength()},"jq-sparkline":function(){return t.jqSparkline()},"jq-validation":function(){return t.jqValidation()}};if(e instanceof Array)for(var r in e)n[e[r]]&&n[e[r]](i);else n[e]&&n[e](i)}},{key:"bsTooltip",value:function(){var e=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]:not(.js-bs-tooltip-enabled), .js-bs-tooltip:not(.js-bs-tooltip-enabled)'));window.helperBsTooltips=e.map((function(e){return e.classList.add("js-bs-tooltip-enabled"),new bootstrap.Tooltip(e,{container:e.dataset.bsContainer||"#page-container",animation:!(!e.dataset.bsAnimation||"true"!=e.dataset.bsAnimation.toLowerCase())})}))}},{key:"bsPopover",value:function(){var e=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]:not(.js-bs-popover-enabled), .js-bs-popover:not(.js-bs-popover-enabled)'));window.helperBsPopovers=e.map((function(e){return e.classList.add("js-bs-popover-enabled"),new bootstrap.Popover(e,{container:e.dataset.bsContainer||"#page-container",animation:!(!e.dataset.bsAnimation||"true"!=e.dataset.bsAnimation.toLowerCase()),trigger:e.dataset.bsTrigger||"hover focus"})}))}},{key:"cbToggleClass",value:function(){document.querySelectorAll('[data-toggle="class-toggle"]:not(.js-class-toggle-enabled), .js-class-toggle:not(.js-class-toggle-enabled)').forEach((function(e){e.addEventListener("click",(function(){e.classList.add("js-class-toggle-enabled");var t=!!e.dataset.class&&e.dataset.class.split(" ");document.querySelectorAll(e.dataset.target).forEach((function(e){t&&t.forEach((function(t){e.classList.toggle(t)}))}))}))}))}},{key:"cbYearCopy",value:function(){document.querySelectorAll('[data-toggle="year-copy"]:not(.js-year-copy-enabled)').forEach((function(e){var t=(new Date).getFullYear(),i=e.textContent||t;e.classList.add("js-year-copy-enabled"),e.textContent=parseInt(i)>=t?t:i+"-"+t.toString().substr(2,2)}))}},{key:"cbRipple",value:function(){document.querySelectorAll('[data-toggle="click-ripple"]:not(.js-click-ripple-enabled)').forEach((function(e){e.classList.add("js-click-ripple-enabled"),e.style.overflow="hidden",e.style.position="relative",e.style.zIndex=1,e.addEventListener("click",(function(t){var i,n,r,o="click-ripple",s=e.querySelector("."+o);if(s)s.classList.remove("animate");else{var a=document.createElement("span");a.classList.add(o),e.insertBefore(a,e.firstChild)}s=e.querySelector("."+o),"0px"!==getComputedStyle(s).height&&"0px"!==getComputedStyle(s).width||(i=Math.max(e.offsetWidth,e.offsetHeight),s.style.height=i+"px",s.style.width=i+"px"),n=t.pageX-(e.getBoundingClientRect().left+window.scrollX)-parseFloat(getComputedStyle(s).width.replace("px",""))/2,r=t.pageY-(e.getBoundingClientRect().top+window.scrollY)-parseFloat(getComputedStyle(s).height.replace("px",""))/2,s.style.top=r+"px",s.style.left=n+"px",s.classList.add("animate")}))}))}},{key:"cbPrint",value:function(){var e=document.getElementById("page-container"),t=e.className;console.log(t),e.classList="",window.print(),e.classList=t}},{key:"cbTableToolsSections",value:function(){document.querySelectorAll(".js-table-sections:not(.js-table-sections-enabled)").forEach((function(e){e.classList.add("js-table-sections-enabled"),e.querySelectorAll(".js-table-sections-header > tr").forEach((function(t){t.addEventListener("click",(function(i){if("checkbox"!==i.target.type&&"button"!==i.target.type&&"a"!==i.target.tagName.toLowerCase()&&"a"!==i.target.parentNode.nodeName.toLowerCase()&&"button"!==i.target.parentNode.nodeName.toLowerCase()&&"label"!==i.target.parentNode.nodeName.toLowerCase()&&!i.target.parentNode.classList.contains("custom-control")){var n=t.parentNode,r=e.querySelectorAll("tbody");n.classList.contains("show")||r&&r.forEach((function(e){e.classList.remove("show"),e.classList.remove("table-active")})),n.classList.toggle("show"),n.classList.toggle("table-active")}}))}))}))}},{key:"cbTableToolsCheckable",value:function(){var e=this;document.querySelectorAll(".js-table-checkable:not(.js-table-checkable-enabled)").forEach((function(t){t.classList.add("js-table-checkable-enabled"),t.querySelector("thead input[type=checkbox]").addEventListener("click",(function(i){t.querySelectorAll("tbody input[type=checkbox]").forEach((function(t){t.checked=i.currentTarget.checked,e.tableToolscheckRow(t,i.currentTarget.checked)}))})),t.querySelectorAll("tbody input[type=checkbox], tbody input + label").forEach((function(i){i.addEventListener("click",(function(n){var r=t.querySelector("thead input[type=checkbox]");i.checked?t.querySelectorAll("tbody input[type=checkbox]:checked").length===t.querySelectorAll("tbody input[type=checkbox]").length&&(r.checked=!0):r.checked=!1,e.tableToolscheckRow(i,i.checked)}))})),t.querySelectorAll("tbody > tr").forEach((function(i){i.addEventListener("click",(function(i){if("checkbox"!==i.target.type&&"button"!==i.target.type&&"a"!==i.target.tagName.toLowerCase()&&"a"!==i.target.parentNode.nodeName.toLowerCase()&&"button"!==i.target.parentNode.nodeName.toLowerCase()&&"label"!==i.target.parentNode.nodeName.toLowerCase()&&!i.target.parentNode.classList.contains("custom-control")){var n=t.querySelector("thead input[type=checkbox]"),r=i.currentTarget.querySelector("input[type=checkbox]");r.checked=!r.checked,e.tableToolscheckRow(r,r.checked),r.checked?t.querySelectorAll("tbody input[type=checkbox]:checked").length===t.querySelectorAll("tbody input[type=checkbox]").length&&(n.checked=!0):n.checked=!1}}))}))}))}},{key:"tableToolscheckRow",value:function(e,t){t?e.closest("tr").classList.add("table-active"):e.closest("tr").classList.remove("table-active")}},{key:"jsCkeditor",value:function(){var e=document.querySelector("#js-ckeditor-inline:not(.js-ckeditor-inline-enabled)"),t=document.querySelector("#js-ckeditor:not(.js-ckeditor-enabled)");e&&(e.setAttribute("contenteditable","true"),CKEDITOR.inline("js-ckeditor-inline"),e.classList.add("js-ckeditor-inline-enabled")),t&&(CKEDITOR.replace("js-ckeditor"),t.classList.add("js-ckeditor-enabled"))}},{key:"jsCkeditor5",value:function(){var e=document.querySelector("#js-ckeditor5-inline"),t=document.querySelector("#js-ckeditor5-classic");e&&InlineEditor.create(document.querySelector("#js-ckeditor5-inline")).then((function(e){window.editor=e})).catch((function(e){console.error("There was a problem initializing the inline editor.",e)})),t&&ClassicEditor.create(document.querySelector("#js-ckeditor5-classic")).then((function(e){window.editor=e})).catch((function(e){console.error("There was a problem initializing the classic editor.",e)}))}},{key:"jsSimpleMDE",value:function(){var e=document.querySelectorAll(".js-simplemde");e.forEach((function(e){new SimpleMDE({element:e,autoDownloadFontAwesome:!1})})),e&&(document.querySelector(".editor-toolbar > a.fa-header").classList.replace("fa-header","fa-heading"),document.querySelector(".editor-toolbar > a.fa-picture-o").classList.replace("fa-picture-o","fa-image"))}},{key:"jsHighlightjs",value:function(){hljs.isHighlighted||hljs.initHighlighting()}},{key:"jsFlatpickr",value:function(){document.querySelectorAll(".js-flatpickr:not(.js-flatpickr-enabled)").forEach((function(e){e.classList.add("js-flatpickr-enabled"),flatpickr(e)}))}},{key:"jqAppear",value:function(){jQuery('[data-toggle="appear"]:not(.js-appear-enabled)').each((function(e,t){var i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,n=jQuery(t),r=n.data("class")||"animated fadeIn",o=n.data("offset")||0,s=i<992?0:n.data("timeout")?n.data("timeout"):0;n.addClass("js-appear-enabled").appear((function(){setTimeout((function(){n.removeClass("invisible").addClass(r)}),s)}),{accY:o})}))}},{key:"jqMagnific",value:function(){jQuery(".js-gallery:not(.js-gallery-enabled)").each((function(e,t){jQuery(t).addClass("js-gallery-enabled").magnificPopup({delegate:"a.img-lightbox",type:"image",gallery:{enabled:!0}})}))}},{key:"jqSlick",value:function(){jQuery(".js-slider:not(.js-slider-enabled)").each((function(e,t){var i=jQuery(t);i.addClass("js-slider-enabled").slick({arrows:i.data("arrows")||!1,dots:i.data("dots")||!1,slidesToShow:i.data("slides-to-show")||1,centerMode:i.data("center-mode")||!1,autoplay:i.data("autoplay")||!1,autoplaySpeed:i.data("autoplay-speed")||3e3,infinite:void 0===i.data("infinite")||i.data("infinite")})}))}},{key:"jqDatepicker",value:function(){jQuery(".js-datepicker:not(.js-datepicker-enabled)").add(".input-daterange:not(.js-datepicker-enabled)").each((function(e,t){var i=jQuery(t);i.addClass("js-datepicker-enabled").datepicker({weekStart:i.data("week-start")||0,autoclose:i.data("autoclose")||!1,todayHighlight:i.data("today-highlight")||!1,container:i.data("container")||"#page-container",orientation:"bottom"})}))}},{key:"jqColorpicker",value:function(){jQuery(".js-colorpicker:not(.js-colorpicker-enabled)").each((function(e,t){setTimeout((function(){jQuery(t).addClass("js-colorpicker-enabled").colorpicker()}),500)}))}},{key:"jqMaskedInputs",value:function(){jQuery(".js-masked-date:not(.js-masked-enabled)").mask("99/99/9999"),jQuery(".js-masked-date-dash:not(.js-masked-enabled)").mask("99-99-9999"),jQuery(".js-masked-phone:not(.js-masked-enabled)").mask("(999) 999-9999"),jQuery(".js-masked-phone-ext:not(.js-masked-enabled)").mask("(999) 999-9999? x99999"),jQuery(".js-masked-taxid:not(.js-masked-enabled)").mask("99-9999999"),jQuery(".js-masked-ssn:not(.js-masked-enabled)").mask("999-99-9999"),jQuery(".js-masked-pkey:not(.js-masked-enabled)").mask("a*-999-a999"),jQuery(".js-masked-time:not(.js-masked-enabled)").mask("99:99"),jQuery(".js-masked-date").add(".js-masked-date-dash").add(".js-masked-phone").add(".js-masked-phone-ext").add(".js-masked-taxid").add(".js-masked-ssn").add(".js-masked-pkey").add(".js-masked-time").addClass("js-masked-enabled")}},{key:"jqSelect2",value:function(){jQuery(".js-select2:not(.js-select2-enabled)").each((function(e,t){var i=jQuery(t);i.addClass("js-select2-enabled").select2({placeholder:i.data("placeholder")||!1,dropdownParent:i.data("container")||document.getElementById("page-container")})}))}},{key:"jqNotify",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};jQuery.isEmptyObject(e)?jQuery(".js-notify:not(.js-notify-enabled)").each((function(e,t){jQuery(t).addClass("js-notify-enabled").on("click.pixelcave.helpers",(function(e){var t=jQuery(e.currentTarget);jQuery.notify({icon:t.data("icon")||"",message:t.data("message"),url:t.data("url")||""},{element:"body",type:t.data("type")||"info",placement:{from:t.data("from")||"top",align:t.data("align")||"right"},allow_dismiss:!0,newest_on_top:!0,showProgressbar:!1,offset:20,spacing:10,z_index:1033,delay:5e3,timer:1e3,animate:{enter:"animated fadeIn",exit:"animated fadeOutDown"},template:'<div data-notify="container" class="col-11 col-sm-4 alert alert-{0} alert-dismissible" role="alert">\n <p class="mb-0">\n <span data-notify="icon"></span>\n <span data-notify="title">{1}</span>\n <span data-notify="message">{2}</span>\n </p>\n <div class="progress" data-notify="progressbar">\n <div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>\n </div>\n <a href="{3}" target="{4}" data-notify="url"></a>\n <a class="p-2 m-1 text-dark" href="javascript:void(0)" aria-label="Close" data-notify="dismiss">\n <i class="fa fa-times"></i>\n </a>\n</div>'})}))})):jQuery.notify({icon:e.icon||"",message:e.message,url:e.url||""},{element:e.element||"body",type:e.type||"info",placement:{from:e.from||"top",align:e.align||"right"},allow_dismiss:!1!==e.allow_dismiss,newest_on_top:!1!==e.newest_on_top,showProgressbar:!!e.show_progress_bar,offset:e.offset||20,spacing:e.spacing||10,z_index:e.z_index||1033,delay:e.delay||5e3,timer:e.timer||1e3,animate:{enter:e.animate_enter||"animated fadeIn",exit:e.animate_exit||"animated fadeOutDown"},template:'<div data-notify="container" class="col-11 col-sm-4 alert alert-{0} alert-dismissible" role="alert">\n <p class="mb-0">\n <span data-notify="icon"></span>\n <span data-notify="title">{1}</span>\n <span data-notify="message">{2}</span>\n </p>\n <div class="progress" data-notify="progressbar">\n <div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>\n </div>\n <a href="{3}" target="{4}" data-notify="url"></a>\n <a class="p-2 m-1 text-dark" href="javascript:void(0)" aria-label="Close" data-notify="dismiss">\n <i class="fa fa-times"></i>\n </a>\n</div>'})}},{key:"jqEasyPieChart",value:function(){jQuery(".js-pie-chart:not(.js-pie-chart-enabled)").each((function(e,t){var i=jQuery(t);i.addClass("js-pie-chart-enabled").easyPieChart({barColor:i.data("bar-color")||"#777777",trackColor:i.data("track-color")||"#eeeeee",lineWidth:i.data("line-width")||3,size:i.data("size")||"80",animate:i.data("animate")||750,scaleColor:i.data("scale-color")||!1})}))}},{key:"jqMaxlength",value:function(){jQuery(".js-maxlength:not(.js-maxlength-enabled)").each((function(e,t){var i=jQuery(t);i.addClass("js-maxlength-enabled").maxlength({alwaysShow:!!i.data("always-show"),threshold:i.data("threshold")||10,warningClass:i.data("warning-class")||"badge bg-warning",limitReachedClass:i.data("limit-reached-class")||"badge bg-danger",placement:i.data("placement")||"bottom",preText:i.data("pre-text")||"",separator:i.data("separator")||"/",postText:i.data("post-text")||""})}))}},{key:"jqRangeslider",value:function(){jQuery(".js-rangeslider:not(.js-rangeslider-enabled)").each((function(e,t){var i=jQuery(t);jQuery(t).addClass("js-rangeslider-enabled").ionRangeSlider({input_values_separator:";",skin:i.data("skin")||"round"})}))}},{key:"jqPwStrength",value:function(){jQuery(".js-pw-strength:not(.js-pw-strength-enabled)").each((function(e,t){var i=jQuery(t),n=i.parents(".js-pw-strength-container"),r=jQuery(".js-pw-strength-progress",n),o=jQuery(".js-pw-strength-feedback",n);i.addClass("js-pw-strength-enabled").pwstrength({ui:{container:n,viewports:{progress:r,verdict:o}}})}))}},{key:"jqSparkline",value:function(){var e=this;jQuery(".js-sparkline:not(.js-sparkline-enabled)").each((function(t,i){var n=jQuery(i),r=n.data("type"),o={},s={line:function(){o.type=r,o.lineWidth=n.data("line-width")||2,o.lineColor=n.data("line-color")||"#0665d0",o.fillColor=n.data("fill-color")||"#0665d0",o.spotColor=n.data("spot-color")||"#495057",o.minSpotColor=n.data("min-spot-color")||"#495057",o.maxSpotColor=n.data("max-spot-color")||"#495057",o.highlightSpotColor=n.data("highlight-spot-color")||"#495057",o.highlightLineColor=n.data("highlight-line-color")||"#495057",o.spotRadius=n.data("spot-radius")||2,o.tooltipFormat="{{prefix}}{{y}}{{suffix}}"},bar:function(){o.type=r,o.barWidth=n.data("bar-width")||8,o.barSpacing=n.data("bar-spacing")||6,o.barColor=n.data("bar-color")||"#0665d0",o.tooltipFormat="{{prefix}}{{value}}{{suffix}}"},pie:function(){o.type=r,o.sliceColors=["#fadb7d","#faad7d","#75b0eb","#abe37d"],o.highlightLighten=n.data("highlight-lighten")||1.1,o.tooltipFormat="{{prefix}}{{value}}{{suffix}}"},tristate:function(){o.type=r,o.barWidth=n.data("bar-width")||8,o.barSpacing=n.data("bar-spacing")||6,o.posBarColor=n.data("pos-bar-color")||"#82b54b",o.negBarColor=n.data("neg-bar-color")||"#e04f1a"}};s[r]?(s[r](),"line"===r&&((n.data("chart-range-min")>=0||n.data("chart-range-min"))&&(o.chartRangeMin=n.data("chart-range-min")),(n.data("chart-range-max")>=0||n.data("chart-range-max"))&&(o.chartRangeMax=n.data("chart-range-max"))),o.width=n.data("width")||"120px",o.height=n.data("height")||"80px",o.tooltipPrefix=n.data("tooltip-prefix")?n.data("tooltip-prefix")+" ":"",o.tooltipSuffix=n.data("tooltip-suffix")?" "+n.data("tooltip-suffix"):"","100%"===o.width?Kr||(Kr=!0,jQuery(window).on("resize.pixelcave.helpers.sparkline",(function(t){clearTimeout(Ur),Ur=setTimeout((function(){e.sparkline()}),500)}))):jQuery(i).addClass("js-sparkline-enabled"),jQuery(i).sparkline(n.data("points")||[0],o)):console.log("[jQuery Sparkline JS Helper] Please add a correct type (line, bar, pie or tristate) in all your elements with 'js-sparkline' class.")}))}},{key:"jqValidation",value:function(){jQuery.validator.setDefaults({errorClass:"invalid-feedback animated fadeIn",errorElement:"div",errorPlacement:function(e,t){jQuery(t).addClass("is-invalid"),jQuery(t).parents("div:not(.input-group)").first().append(e)},highlight:function(e){jQuery(e).parents("div:not(.input-group)").first().find(".is-invalid").removeClass("is-invalid").addClass("is-invalid")},success:function(e){jQuery(e).parents("div:not(.input-group)").first().find(".is-invalid").removeClass("is-invalid"),jQuery(e).remove()}}),jQuery.validator.addMethod("emailWithDot",(function(e,t){return this.optional(t)||/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i.test(e)}),"Please enter a valid email address")}}],(i=null)&&Yr(t.prototype,i),n&&Yr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Jr(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Zr(e){return Zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zr(e)}function eo(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function to(e,t){return to=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},to(e,t)}function io(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var i,n=ro(e);if(t){var r=ro(this).constructor;i=Reflect.construct(n,arguments,r)}else i=n.apply(this,arguments);return no(this,i)}}function no(e,t){if(t&&("object"===Zr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ro(e){return ro=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ro(e)}window.bootstrap=t,window.SimpleBar=Xr;var oo=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&to(e,t)}(o,e);var t,i,n,r=io(o);function o(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),r.call(this)}return t=o,i&&eo(t.prototype,i),n&&eo(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.onLoad(this._uiInit())}var t,i,n;return t=e,i=[{key:"_uiInit",value:function(){this._lHtml=document.documentElement,this._lBody=document.body,this._lpageLoader=document.getElementById("page-loader"),this._lPage=document.getElementById("page-container"),this._lSidebar=document.getElementById("sidebar"),this._lSidebarScrollCon=this._lSidebar&&this._lSidebar.querySelector(".js-sidebar-scroll"),this._lSideOverlay=document.getElementById("side-overlay"),this._lResize=!1,this._lHeader=document.getElementById("page-header"),this._lHeaderSearch=document.getElementById("page-header-search"),this._lHeaderSearchInput=document.getElementById("page-header-search-input"),this._lHeaderLoader=document.getElementById("page-header-loader"),this._lMain=document.getElementById("main-container"),this._lFooter=document.getElementById("page-footer"),this._lSidebarScroll=!1,this._lSideOverlayScroll=!1,this._uiHandleTheme(),this._uiHandleDarkMode(),this._uiHandleSidebars(),this._uiHandleHeader(),this._uiHandleNav(),this._uiApiLayout(),this._uiApiBlocks(),this.helpers(["bs-tooltip","bs-popover","cb-toggle-class","cb-year-copy","cb-ripple"]),this._uiHandlePageLoader()}},{key:"_uiHandleSidebars",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",t=this;(t._lSidebar||t._lSideOverlay)&&("init"===e?(t._lPage.classList.add("side-trans-enabled"),window.addEventListener("resize",(function(){clearTimeout(t._lResize),t._lPage.classList.remove("side-trans-enabled"),t._lResize=setTimeout((function(){t._lPage.classList.add("side-trans-enabled")}),500)})),this._uiHandleSidebars("custom-scroll")):(e="custom-scroll")&&t._lPage.classList.contains("side-scroll")&&(t._lSidebar&&!t._lSidebarScroll&&(t._lSidebarScroll=new Xr(t._lSidebarScrollCon)),t._lSideOverlay&&!t._lSideOverlayScroll&&(t._lSideOverlayScroll=new Xr(t._lSideOverlay))))}},{key:"_uiHandleHeader",value:function(){var e=this;e._lPage.classList.contains("page-header-glass")&&e._lPage.classList.contains("page-header-fixed")&&(window.addEventListener("scroll",(function(t){window.scrollY>60?e._lPage.classList.add("page-header-scroll"):e._lPage.classList.remove("page-header-scroll")})),window.dispatchEvent(new CustomEvent("scroll")))}},{key:"_uiHandleNav",value:function(){var e=document.querySelectorAll('[data-toggle="submenu"]');e&&e.forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var i=e.closest(".nav-main");if(!((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>991&&i.classList.contains("nav-main-horizontal")&&i.classList.contains("nav-main-hover"))){var n=e.closest("li");n.classList.contains("open")?(n.classList.remove("open"),e.setAttribute("aria-expanded","false")):(Array.from(e.closest("ul").children).forEach((function(e){e.classList.remove("open")})),n.classList.add("open"),e.setAttribute("aria-expanded","true"))}return!1}))}))}},{key:"_uiHandlePageLoader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hide",t=arguments.length>1?arguments[1]:void 0;if("show"===e)if(this._lpageLoader)t&&(this._lpageLoader.className="",this._lpageLoader.classList.add(t)),this._lpageLoader.classList.add("show");else{var i=document.createElement("div");i.id="page-loader",t&&i.classList.add(t),i.classList.add("show"),this._lPage.insertBefore(i,this._lPage.firstChild),this._lpageLoader=document.getElementById("page-loader")}else"hide"===e&&this._lpageLoader&&this._lpageLoader.classList.remove("show")}},{key:"_uiHandleDarkMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",t=this;if("init"!==e||t._lPage.classList.contains("dark-mode")||(t._lPage.classList.contains("sidebar-dark")?localStorage.setItem("codebaseDefaultsSidebarDark",!0):localStorage.removeItem("codebaseDefaultsSidebarDark"),t._lPage.classList.contains("page-header-dark")?localStorage.setItem("codebaseDefaultsPageHeaderDark",!0):localStorage.removeItem("codebaseDefaultsPageHeaderDark")),t._lPage.classList.contains("remember-theme")){var i=localStorage.getItem("codebaseDarkMode")||!1;"init"===e?i?(t._lPage.classList.add("sidebar-dark"),t._lPage.classList.add("page-header-dark"),t._lPage.classList.add("dark-mode")):"init"===e&&t._lPage.classList.remove("dark-mode"):"on"===e?localStorage.setItem("codebaseDarkMode",!0):"off"===e&&localStorage.removeItem("codebaseDarkMode")}else"init"===e&&localStorage.removeItem("codebaseDarkMode")}},{key:"_uiHandleTheme",value:function(){var e=this,t=document.getElementById("css-theme"),i=!!this._lPage.classList.contains("remember-theme");if(i){var n=localStorage.getItem("codebaseThemeName")||!1;n&&e._uiUpdateTheme(t,n),t=document.getElementById("css-theme")}else localStorage.removeItem("codebaseThemeName");document.querySelectorAll('[data-toggle="theme"][data-theme="'+(t?t.getAttribute("href"):"default")+'"]').forEach((function(e){e.classList.add("active")})),document.querySelectorAll('[data-toggle="theme"]').forEach((function(n){n.addEventListener("click",(function(r){r.preventDefault();var o=n.dataset.theme;document.querySelectorAll('[data-toggle="theme"]').forEach((function(e){e.classList.remove("active")})),document.querySelector('[data-toggle="theme"][data-theme="'+o+'"]').classList.add("active"),e._uiUpdateTheme(t,o),t=document.getElementById("css-theme"),i&&localStorage.setItem("codebaseThemeName",o)}))}))}},{key:"_uiUpdateTheme",value:function(e,t){if("default"===t)e&&e.parentNode.removeChild(e);else if(e)e.setAttribute("href",t);else{var i=document.createElement("link");i.id="css-theme",i.setAttribute("rel","stylesheet"),i.setAttribute("href",t),document.getElementById("css-main").insertAdjacentElement("afterend",i)}}},{key:"_uiApiLayout",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",i=this,n={init:function(){var e=document.querySelectorAll('[data-toggle="layout"]');if(e&&e.forEach((function(e){e.addEventListener("click",(function(t){i._uiApiLayout(e.dataset.action)}))})),i._lPage.classList.contains("enable-page-overlay")){var t=document.createElement("div");t.id="page-overlay",i._lPage.insertBefore(t,i._lPage.firstChild),document.getElementById("page-overlay").addEventListener("click",(function(e){i._uiApiLayout("side_overlay_close")}))}},sidebar_pos_toggle:function(){i._lPage.classList.toggle("sidebar-r")},sidebar_pos_left:function(){i._lPage.classList.remove("sidebar-r")},sidebar_pos_right:function(){i._lPage.classList.add("sidebar-r")},sidebar_toggle:function(){window.innerWidth>991?i._lPage.classList.toggle("sidebar-o"):i._lPage.classList.toggle("sidebar-o-xs")},sidebar_open:function(){window.innerWidth>991?i._lPage.classList.add("sidebar-o"):i._lPage.classList.add("sidebar-o-xs")},sidebar_close:function(){window.innerWidth>991?i._lPage.classList.remove("sidebar-o"):i._lPage.classList.remove("sidebar-o-xs")},sidebar_mini_toggle:function(){window.innerWidth>991&&i._lPage.classList.toggle("sidebar-mini")},sidebar_mini_on:function(){window.innerWidth>991&&i._lPage.classList.add("sidebar-mini")},sidebar_mini_off:function(){window.innerWidth>991&&i._lPage.classList.remove("sidebar-mini")},sidebar_style_toggle:function(){i._lPage.classList.contains("sidebar-dark")?i._uiApiLayout("sidebar_style_light"):i._uiApiLayout("sidebar_style_dark")},sidebar_style_dark:function(){i._lPage.classList.add("sidebar-dark"),localStorage.setItem("codebaseDefaultsSidebarDark",!0)},sidebar_style_light:function(){i._lPage.classList.remove("sidebar-dark"),i._lPage.classList.remove("dark-mode"),localStorage.removeItem("codebaseDefaultsSidebarDark")},side_overlay_toggle:function(){i._lPage.classList.contains("side-overlay-o")?i._uiApiLayout("side_overlay_close"):i._uiApiLayout("side_overlay_open")},side_overlay_open:function(){document.addEventListener("keydown",(function(e){"Esc"!==e.key&&"Escape"!==e.key||i._uiApiLayout("side_overlay_close")})),i._lPage.classList.add("side-overlay-o")},side_overlay_close:function(){i._lPage.classList.remove("side-overlay-o")},side_overlay_mode_hover_toggle:function(){i._lPage.classList.toggle("side-overlay-hover")},side_overlay_mode_hover_on:function(){i._lPage.classList.add("side-overlay-hover")},side_overlay_mode_hover_off:function(){i._lPage.classList.remove("side-overlay-hover")},header_glass_toggle:function(){i._lPage.classList.contains("page-header-glass")?i._uiApiLayout("header_glass_off"):i._uiApiLayout("header_glass_on")},header_glass_on:function(){i._lPage.classList.add("page-header-glass"),i._lPage.classList.remove("page-header-modern"),i._uiHandleHeader()},header_glass_off:function(){i._lPage.classList.remove("page-header-glass"),i._uiHandleHeader()},header_modern_toggle:function(){i._lPage.classList.contains("page-header-modern")?i._uiApiLayout("header_modern_off"):i._uiApiLayout("header_modern_on")},header_modern_on:function(){i._lPage.classList.add("page-header-modern"),i._lPage.classList.remove("page-header-glass")},header_modern_off:function(){i._lPage.classList.remove("page-header-modern")},header_mode_toggle:function(){i._lPage.classList.toggle("page-header-fixed")},header_mode_static:function(){i._lPage.classList.remove("page-header-fixed")},header_mode_fixed:function(){i._lPage.classList.add("page-header-fixed")},header_style_toggle:function(){i._lPage.classList.contains("page-header-dark")?i._uiApiLayout("header_style_light"):i._uiApiLayout("header_style_dark")},header_style_dark:function(){i._lPage.classList.add("page-header-dark"),localStorage.setItem("codebaseDefaultsPageHeaderDark",!0)},header_style_light:function(){i._lPage.classList.remove("page-header-dark"),i._lPage.classList.remove("dark-mode"),localStorage.removeItem("codebaseDefaultsPageHeaderDark")},header_search_on:function(){i._lHeaderSearch.classList.add("show"),i._lHeaderSearchInput.focus(),document.addEventListener("keydown",(function(e){"Esc"!==e.key&&"Escape"!==e.key||i._uiApiLayout("header_search_off")}))},header_search_off:function(){i._lHeaderSearch.classList.remove("show"),i._lHeaderSearchInput.blur()},header_loader_on:function(){i._lHeaderLoader.classList.add("show")},header_loader_off:function(){i._lHeaderLoader.classList.remove("show")},dark_mode_toggle:function(){i._lPage.classList.contains("dark-mode")?i._uiApiLayout("dark_mode_off"):i._uiApiLayout("dark_mode_on")},dark_mode_on:function(){i._lPage.classList.add("sidebar-dark"),i._lPage.classList.add("page-header-dark"),i._lPage.classList.add("dark-mode"),e._uiHandleDarkMode("on")},dark_mode_off:function(){localStorage.getItem("codebaseDefaultsSidebarDark")||i._lPage.classList.remove("sidebar-dark"),localStorage.getItem("codebaseDefaultsPageHeaderDark")||i._lPage.classList.remove("page-header-dark"),i._lPage.classList.remove("dark-mode"),e._uiHandleDarkMode("off")},content_layout_toggle:function(){i._lPage.classList.contains("main-content-boxed")?i._uiApiLayout("content_layout_narrow"):i._lPage.classList.contains("main-content-narrow")?i._uiApiLayout("content_layout_full_width"):i._uiApiLayout("content_layout_boxed")},content_layout_boxed:function(){i._lPage.classList.remove("main-content-narrow"),i._lPage.classList.add("main-content-boxed")},content_layout_narrow:function(){i._lPage.classList.remove("main-content-boxed"),i._lPage.classList.add("main-content-narrow")},content_layout_full_width:function(){i._lPage.classList.remove("main-content-boxed"),i._lPage.classList.remove("main-content-narrow")}};n[t]&&n[t]()}},{key:"_uiApiBlocks",value:function(){var e,t,i,n=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"init",o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s="si",a="si-size-fullscreen",l="si-size-actual",c="si-arrow-up",u="si-arrow-down",d={init:function(){document.querySelectorAll('[data-toggle="block-option"][data-action="fullscreen_toggle"]').forEach((function(e){e.innerHTML='<i class="'+s+" "+(e.closest(".block").classList.contains("block-mode-fullscreen")?l:a)+'"></i>'})),document.querySelectorAll('[data-toggle="block-option"][data-action="content_toggle"]').forEach((function(e){e.innerHTML='<i class="'+s+" "+(e.closest(".block").classList.contains("block-mode-hidden")?u:c)+'"></i>'})),document.querySelectorAll('[data-toggle="block-option"]').forEach((function(e){e.addEventListener("click",(function(t){n._uiApiBlocks(e.dataset.action,e.closest(".block"))}))}))},fullscreen_toggle:function(){e.classList.remove("block-mode-pinned"),e.classList.toggle("block-mode-fullscreen"),t&&(e.classList.contains("block-mode-fullscreen")?t&&t.querySelector("i").classList.replace(a,l):t&&t.querySelector("i").classList.replace(l,a))},fullscreen_on:function(){e.classList.remove("block-mode-pinned"),e.classList.add("block-mode-fullscreen"),t&&t.querySelector("i").classList.replace(a,l)},fullscreen_off:function(){e.classList.remove("block-mode-fullscreen"),t&&t.querySelector("i").classList.replace(l,a)},content_toggle:function(){e.classList.toggle("block-mode-hidden"),i&&(e.classList.contains("block-mode-hidden")?i.querySelector("i").classList.replace(c,u):i.querySelector("i").classList.replace(u,c))},content_hide:function(){e.classList.add("block-mode-hidden"),i&&i.querySelector("i").classList.replace(c,u)},content_show:function(){e.classList.remove("block-mode-hidden"),i&&i.querySelector("i").classList.replace(u,c)},state_toggle:function(){e.classList.toggle("block-mode-loading"),e.querySelector('[data-toggle="block-option"][data-action="state_toggle"][data-action-mode="demo"]')&&setTimeout((function(){e.classList.remove("block-mode-loading")}),2e3)},state_loading:function(){e.classList.add("block-mode-loading")},state_normal:function(){e.classList.remove("block-mode-loading")},pinned_toggle:function(){e.classList.remove("block-mode-fullscreen"),e.classList.toggle("block-mode-pinned")},pinned_on:function(){e.classList.remove("block-mode-fullscreen"),e.classList.add("block-mode-pinned")},pinned_off:function(){e.classList.remove("block-mode-pinned")},close:function(){e.classList.add("d-none")},open:function(){e.classList.remove("d-none")}};"init"===r?d[r]():(e=o instanceof Element?o:document.querySelector("".concat(o)))&&(t=e.querySelector('[data-toggle="block-option"][data-action="fullscreen_toggle"]'),i=e.querySelector('[data-toggle="block-option"][data-action="content_toggle"]'),d[r]&&d[r]())}},{key:"onLoad",value:function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)}},{key:"init",value:function(){this._uiInit()}},{key:"layout",value:function(e){this._uiApiLayout(e)}},{key:"block",value:function(e,t){this._uiApiBlocks(e,t)}},{key:"loader",value:function(e,t){this._uiHandlePageLoader(e,t)}},{key:"helpers",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Gr.run(e,t)}},{key:"helpersOnLoad",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.onLoad((function(){return Gr.run(e,t)}))}}],i&&Jr(t.prototype,i),n&&Jr(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}());window.Codebase=new oo})()})();
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel